diff --git a/.release-please-manifest.json b/.release-please-manifest.json index c7704ce95..e6484623c 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.71.0" + ".": "1.72.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index dc28c5ae5..0ece17005 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 217 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-5d85239e5d724254ab22d922c6cad05e1c361c791ef4a578e1165158bd967753.yml -openapi_spec_hash: b2c90485c02d643ad09954f4d88dbc25 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-387c9e5ff5305d470ddf290a424b9d0f087fa295b56cf82265f2dfe8355a589a.yml +openapi_spec_hash: 2c624b8535be90329028f6b10281a313 config_hash: e1885b38eded054b77308a024c5d80cc diff --git a/CHANGELOG.md b/CHANGELOG.md index 9d9c25f4e..a1a414c36 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.72.0 (2025-09-08) + +Full Changelog: [v1.71.0...v1.72.0](https://github.com/Increase/increase-ruby/compare/v1.71.0...v1.72.0) + +### Features + +* **api:** api update ([a403346](https://github.com/Increase/increase-ruby/commit/a4033467d8e63b6a28308ee936f44052c26ad6a1)) + ## 1.71.0 (2025-09-08) Full Changelog: [v1.70.0...v1.71.0](https://github.com/Increase/increase-ruby/compare/v1.70.0...v1.71.0) diff --git a/Gemfile.lock b/Gemfile.lock index 57f74cd91..9fca8e8c9 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - increase (1.71.0) + increase (1.72.0) connection_pool GEM diff --git a/README.md b/README.md index 9f39953a8..f0b2b54de 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application ```ruby -gem "increase", "~> 1.71.0" +gem "increase", "~> 1.72.0" ``` diff --git a/lib/increase/models/entity_update_params.rb b/lib/increase/models/entity_update_params.rb index dcdb451c9..06f319481 100644 --- a/lib/increase/models/entity_update_params.rb +++ b/lib/increase/models/entity_update_params.rb @@ -14,6 +14,14 @@ class EntityUpdateParams < Increase::Internal::Type::BaseModel # @return [Increase::Models::EntityUpdateParams::Corporation, nil] optional :corporation, -> { Increase::EntityUpdateParams::Corporation } + # @!attribute details_confirmed_at + # When your user last confirmed the Entity's details. Depending on your program, + # you may be required to affirmatively confirm details with your users on an + # annual basis. + # + # @return [Time, nil] + optional :details_confirmed_at, Time + # @!attribute government_authority # Details of the government authority entity to update. If you specify this # parameter and the entity is not a government authority, the request will fail. @@ -50,12 +58,14 @@ class EntityUpdateParams < Increase::Internal::Type::BaseModel # @return [Increase::Models::EntityUpdateParams::Trust, nil] optional :trust, -> { Increase::EntityUpdateParams::Trust } - # @!method initialize(corporation: nil, government_authority: nil, natural_person: nil, risk_rating: nil, third_party_verification: nil, trust: nil, request_options: {}) + # @!method initialize(corporation: nil, details_confirmed_at: nil, government_authority: nil, natural_person: nil, risk_rating: nil, third_party_verification: nil, trust: nil, request_options: {}) # Some parameter documentations has been truncated, see # {Increase::Models::EntityUpdateParams} for more details. # # @param corporation [Increase::Models::EntityUpdateParams::Corporation] Details of the corporation entity to update. If you specify this parameter and t # + # @param details_confirmed_at [Time] When your user last confirmed the Entity's details. Depending on your program, y + # # @param government_authority [Increase::Models::EntityUpdateParams::GovernmentAuthority] Details of the government authority entity to update. If you specify this parame # # @param natural_person [Increase::Models::EntityUpdateParams::NaturalPerson] Details of the natural person entity to update. If you specify this parameter an diff --git a/lib/increase/resources/entities.rb b/lib/increase/resources/entities.rb index 1358d5d81..e9893693c 100644 --- a/lib/increase/resources/entities.rb +++ b/lib/increase/resources/entities.rb @@ -71,12 +71,14 @@ def retrieve(entity_id, params = {}) # # Update an Entity # - # @overload update(entity_id, corporation: nil, government_authority: nil, natural_person: nil, risk_rating: nil, third_party_verification: nil, trust: nil, request_options: {}) + # @overload update(entity_id, corporation: nil, details_confirmed_at: nil, government_authority: nil, natural_person: nil, risk_rating: nil, third_party_verification: nil, trust: nil, request_options: {}) # # @param entity_id [String] The entity identifier. # # @param corporation [Increase::Models::EntityUpdateParams::Corporation] Details of the corporation entity to update. If you specify this parameter and t # + # @param details_confirmed_at [Time] When your user last confirmed the Entity's details. Depending on your program, y + # # @param government_authority [Increase::Models::EntityUpdateParams::GovernmentAuthority] Details of the government authority entity to update. If you specify this parame # # @param natural_person [Increase::Models::EntityUpdateParams::NaturalPerson] Details of the natural person entity to update. If you specify this parameter an diff --git a/lib/increase/version.rb b/lib/increase/version.rb index 4674d6c50..7b24db378 100644 --- a/lib/increase/version.rb +++ b/lib/increase/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Increase - VERSION = "1.71.0" + VERSION = "1.72.0" end diff --git a/rbi/increase/models/entity_update_params.rbi b/rbi/increase/models/entity_update_params.rbi index 0a8352f9d..c86f20aa0 100644 --- a/rbi/increase/models/entity_update_params.rbi +++ b/rbi/increase/models/entity_update_params.rbi @@ -23,6 +23,15 @@ module Increase end attr_writer :corporation + # When your user last confirmed the Entity's details. Depending on your program, + # you may be required to affirmatively confirm details with your users on an + # annual basis. + sig { returns(T.nilable(Time)) } + attr_reader :details_confirmed_at + + sig { params(details_confirmed_at: Time).void } + attr_writer :details_confirmed_at + # Details of the government authority entity to update. If you specify this # parameter and the entity is not a government authority, the request will fail. sig do @@ -89,6 +98,7 @@ module Increase sig do params( corporation: Increase::EntityUpdateParams::Corporation::OrHash, + details_confirmed_at: Time, government_authority: Increase::EntityUpdateParams::GovernmentAuthority::OrHash, natural_person: Increase::EntityUpdateParams::NaturalPerson::OrHash, @@ -103,6 +113,10 @@ module Increase # Details of the corporation entity to update. If you specify this parameter and # the entity is not a corporation, the request will fail. corporation: nil, + # When your user last confirmed the Entity's details. Depending on your program, + # you may be required to affirmatively confirm details with your users on an + # annual basis. + details_confirmed_at: nil, # Details of the government authority entity to update. If you specify this # parameter and the entity is not a government authority, the request will fail. government_authority: nil, @@ -127,6 +141,7 @@ module Increase override.returns( { corporation: Increase::EntityUpdateParams::Corporation, + details_confirmed_at: Time, government_authority: Increase::EntityUpdateParams::GovernmentAuthority, natural_person: Increase::EntityUpdateParams::NaturalPerson, diff --git a/rbi/increase/resources/entities.rbi b/rbi/increase/resources/entities.rbi index 85063f6e5..cfc592221 100644 --- a/rbi/increase/resources/entities.rbi +++ b/rbi/increase/resources/entities.rbi @@ -78,6 +78,7 @@ module Increase params( entity_id: String, corporation: Increase::EntityUpdateParams::Corporation::OrHash, + details_confirmed_at: Time, government_authority: Increase::EntityUpdateParams::GovernmentAuthority::OrHash, natural_person: Increase::EntityUpdateParams::NaturalPerson::OrHash, @@ -94,6 +95,10 @@ module Increase # Details of the corporation entity to update. If you specify this parameter and # the entity is not a corporation, the request will fail. corporation: nil, + # When your user last confirmed the Entity's details. Depending on your program, + # you may be required to affirmatively confirm details with your users on an + # annual basis. + details_confirmed_at: nil, # Details of the government authority entity to update. If you specify this # parameter and the entity is not a government authority, the request will fail. government_authority: nil, diff --git a/sig/increase/models/entity_update_params.rbs b/sig/increase/models/entity_update_params.rbs index 4d10781f7..b2994a70a 100644 --- a/sig/increase/models/entity_update_params.rbs +++ b/sig/increase/models/entity_update_params.rbs @@ -3,6 +3,7 @@ module Increase type entity_update_params = { corporation: Increase::EntityUpdateParams::Corporation, + details_confirmed_at: Time, government_authority: Increase::EntityUpdateParams::GovernmentAuthority, natural_person: Increase::EntityUpdateParams::NaturalPerson, risk_rating: Increase::EntityUpdateParams::RiskRating, @@ -21,6 +22,10 @@ module Increase Increase::EntityUpdateParams::Corporation ) -> Increase::EntityUpdateParams::Corporation + attr_reader details_confirmed_at: Time? + + def details_confirmed_at=: (Time) -> Time + attr_reader government_authority: Increase::EntityUpdateParams::GovernmentAuthority? def government_authority=: ( @@ -53,6 +58,7 @@ module Increase def initialize: ( ?corporation: Increase::EntityUpdateParams::Corporation, + ?details_confirmed_at: Time, ?government_authority: Increase::EntityUpdateParams::GovernmentAuthority, ?natural_person: Increase::EntityUpdateParams::NaturalPerson, ?risk_rating: Increase::EntityUpdateParams::RiskRating, @@ -63,6 +69,7 @@ module Increase def to_hash: -> { corporation: Increase::EntityUpdateParams::Corporation, + details_confirmed_at: Time, government_authority: Increase::EntityUpdateParams::GovernmentAuthority, natural_person: Increase::EntityUpdateParams::NaturalPerson, risk_rating: Increase::EntityUpdateParams::RiskRating, diff --git a/sig/increase/resources/entities.rbs b/sig/increase/resources/entities.rbs index 6155ca454..ae8fcf1e2 100644 --- a/sig/increase/resources/entities.rbs +++ b/sig/increase/resources/entities.rbs @@ -23,6 +23,7 @@ module Increase def update: ( String entity_id, ?corporation: Increase::EntityUpdateParams::Corporation, + ?details_confirmed_at: Time, ?government_authority: Increase::EntityUpdateParams::GovernmentAuthority, ?natural_person: Increase::EntityUpdateParams::NaturalPerson, ?risk_rating: Increase::EntityUpdateParams::RiskRating,