diff --git a/.release-please-manifest.json b/.release-please-manifest.json index fa1c44bbb..455667671 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.66.0" + ".": "1.67.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index 11b34180d..675fc1658 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-e74540ca75fc4e7a0e28d2c41c53c6131dff74e1e3c1472601db19509bb77451.yml -openapi_spec_hash: 4030ac2965b556670d1b427ffc5c554b +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-a91424eba488276a87e396d4172d7381d22e9ff38639a98aafdbcc2f8b53d000.yml +openapi_spec_hash: 52c779ffbbb1e3a46738d374849ca92b config_hash: e1885b38eded054b77308a024c5d80cc diff --git a/CHANGELOG.md b/CHANGELOG.md index 6809babf8..93a1c39f3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.67.0 (2025-09-05) + +Full Changelog: [v1.66.0...v1.67.0](https://github.com/Increase/increase-ruby/compare/v1.66.0...v1.67.0) + +### Features + +* **api:** api update ([d2435db](https://github.com/Increase/increase-ruby/commit/d2435dbe228b43ad2a5169303898d45f09005908)) + ## 1.66.0 (2025-09-05) Full Changelog: [v1.65.0...v1.66.0](https://github.com/Increase/increase-ruby/compare/v1.65.0...v1.66.0) diff --git a/Gemfile.lock b/Gemfile.lock index af3f50eb6..7f6a7bf45 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - increase (1.66.0) + increase (1.67.0) connection_pool GEM diff --git a/README.md b/README.md index e21003600..0c31b9138 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.66.0" +gem "increase", "~> 1.67.0" ``` diff --git a/lib/increase/models/entity_update_params.rb b/lib/increase/models/entity_update_params.rb index f60cfbb36..212e04d83 100644 --- a/lib/increase/models/entity_update_params.rb +++ b/lib/increase/models/entity_update_params.rb @@ -8,19 +8,22 @@ class EntityUpdateParams < Increase::Internal::Type::BaseModel include Increase::Internal::Type::RequestParameters # @!attribute corporation - # Details of the corporation entity to update. + # Details of the corporation entity to update. If you specify this parameter and + # the entity is not a corporation, the request will fail. # # @return [Increase::Models::EntityUpdateParams::Corporation, nil] optional :corporation, -> { Increase::EntityUpdateParams::Corporation } # @!attribute government_authority - # Details of the government authority entity to update. + # 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. # # @return [Increase::Models::EntityUpdateParams::GovernmentAuthority, nil] optional :government_authority, -> { Increase::EntityUpdateParams::GovernmentAuthority } # @!attribute natural_person - # Details of the natural person entity to update. + # Details of the natural person entity to update. If you specify this parameter + # and the entity is not a natural person, the request will fail. # # @return [Increase::Models::EntityUpdateParams::NaturalPerson, nil] optional :natural_person, -> { Increase::EntityUpdateParams::NaturalPerson } @@ -40,7 +43,8 @@ class EntityUpdateParams < Increase::Internal::Type::BaseModel optional :third_party_verification, -> { Increase::EntityUpdateParams::ThirdPartyVerification } # @!attribute trust - # Details of the trust entity to update. + # Details of the trust entity to update. If you specify this parameter and the + # entity is not a trust, the request will fail. # # @return [Increase::Models::EntityUpdateParams::Trust, nil] optional :trust, -> { Increase::EntityUpdateParams::Trust } @@ -49,17 +53,17 @@ class EntityUpdateParams < Increase::Internal::Type::BaseModel # 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. + # @param corporation [Increase::Models::EntityUpdateParams::Corporation] Details of the corporation entity to update. If you specify this parameter and t # - # @param government_authority [Increase::Models::EntityUpdateParams::GovernmentAuthority] Details of the government authority entity to update. + # @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. + # @param natural_person [Increase::Models::EntityUpdateParams::NaturalPerson] Details of the natural person entity to update. If you specify this parameter an # # @param risk_rating [Increase::Models::EntityUpdateParams::RiskRating] An assessment of the entity’s potential risk of involvement in financial crimes, # # @param third_party_verification [Increase::Models::EntityUpdateParams::ThirdPartyVerification] A reference to data stored in a third-party verification service. Your integrati # - # @param trust [Increase::Models::EntityUpdateParams::Trust] Details of the trust entity to update. + # @param trust [Increase::Models::EntityUpdateParams::Trust] Details of the trust entity to update. If you specify this parameter and the ent # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}] @@ -71,7 +75,8 @@ class Corporation < Increase::Internal::Type::BaseModel optional :name, String # @!method initialize(name: nil) - # Details of the corporation entity to update. + # Details of the corporation entity to update. If you specify this parameter and + # the entity is not a corporation, the request will fail. # # @param name [String] The legal name of the corporation. end @@ -84,7 +89,8 @@ class GovernmentAuthority < Increase::Internal::Type::BaseModel optional :name, String # @!method initialize(name: nil) - # Details of the government authority entity to update. + # 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. # # @param name [String] The legal name of the government authority. end @@ -97,7 +103,8 @@ class NaturalPerson < Increase::Internal::Type::BaseModel optional :name, String # @!method initialize(name: nil) - # Details of the natural person entity to update. + # Details of the natural person entity to update. If you specify this parameter + # and the entity is not a natural person, the request will fail. # # @param name [String] The legal name of the natural person. end @@ -196,7 +203,8 @@ class Trust < Increase::Internal::Type::BaseModel optional :name, String # @!method initialize(name: nil) - # Details of the trust entity to update. + # Details of the trust entity to update. If you specify this parameter and the + # entity is not a trust, the request will fail. # # @param name [String] The legal name of the trust. end diff --git a/lib/increase/resources/entities.rb b/lib/increase/resources/entities.rb index 4d7139b58..504d84085 100644 --- a/lib/increase/resources/entities.rb +++ b/lib/increase/resources/entities.rb @@ -75,17 +75,17 @@ def retrieve(entity_id, params = {}) # # @param entity_id [String] The entity identifier. # - # @param corporation [Increase::Models::EntityUpdateParams::Corporation] Details of the corporation entity to update. + # @param corporation [Increase::Models::EntityUpdateParams::Corporation] Details of the corporation entity to update. If you specify this parameter and t # - # @param government_authority [Increase::Models::EntityUpdateParams::GovernmentAuthority] Details of the government authority entity to update. + # @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. + # @param natural_person [Increase::Models::EntityUpdateParams::NaturalPerson] Details of the natural person entity to update. If you specify this parameter an # # @param risk_rating [Increase::Models::EntityUpdateParams::RiskRating] An assessment of the entity’s potential risk of involvement in financial crimes, # # @param third_party_verification [Increase::Models::EntityUpdateParams::ThirdPartyVerification] A reference to data stored in a third-party verification service. Your integrati # - # @param trust [Increase::Models::EntityUpdateParams::Trust] Details of the trust entity to update. + # @param trust [Increase::Models::EntityUpdateParams::Trust] Details of the trust entity to update. If you specify this parameter and the ent # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # diff --git a/lib/increase/version.rb b/lib/increase/version.rb index ee4cb74e6..5abd89bbd 100644 --- a/lib/increase/version.rb +++ b/lib/increase/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Increase - VERSION = "1.66.0" + VERSION = "1.67.0" end diff --git a/rbi/increase/models/entity_update_params.rbi b/rbi/increase/models/entity_update_params.rbi index ea7a59a87..4e5b70126 100644 --- a/rbi/increase/models/entity_update_params.rbi +++ b/rbi/increase/models/entity_update_params.rbi @@ -11,7 +11,8 @@ module Increase T.any(Increase::EntityUpdateParams, Increase::Internal::AnyHash) end - # Details of the corporation entity to update. + # Details of the corporation entity to update. If you specify this parameter and + # the entity is not a corporation, the request will fail. sig { returns(T.nilable(Increase::EntityUpdateParams::Corporation)) } attr_reader :corporation @@ -22,7 +23,8 @@ module Increase end attr_writer :corporation - # Details of the government authority entity to update. + # 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 returns(T.nilable(Increase::EntityUpdateParams::GovernmentAuthority)) end @@ -36,7 +38,8 @@ module Increase end attr_writer :government_authority - # Details of the natural person entity to update. + # Details of the natural person entity to update. If you specify this parameter + # and the entity is not a natural person, the request will fail. sig { returns(T.nilable(Increase::EntityUpdateParams::NaturalPerson)) } attr_reader :natural_person @@ -74,7 +77,8 @@ module Increase end attr_writer :third_party_verification - # Details of the trust entity to update. + # Details of the trust entity to update. If you specify this parameter and the + # entity is not a trust, the request will fail. sig { returns(T.nilable(Increase::EntityUpdateParams::Trust)) } attr_reader :trust @@ -95,11 +99,14 @@ module Increase ).returns(T.attached_class) end def self.new( - # Details of the corporation entity to update. + # 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, - # Details of the government authority entity to update. + # 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, - # Details of the natural person entity to update. + # Details of the natural person entity to update. If you specify this parameter + # and the entity is not a natural person, the request will fail. natural_person: nil, # An assessment of the entity’s potential risk of involvement in financial crimes, # such as money laundering. @@ -107,7 +114,8 @@ module Increase # A reference to data stored in a third-party verification service. Your # integration may or may not use this field. third_party_verification: nil, - # Details of the trust entity to update. + # Details of the trust entity to update. If you specify this parameter and the + # entity is not a trust, the request will fail. trust: nil, request_options: {} ) @@ -147,7 +155,8 @@ module Increase sig { params(name: String).void } attr_writer :name - # Details of the corporation entity to update. + # Details of the corporation entity to update. If you specify this parameter and + # the entity is not a corporation, the request will fail. sig { params(name: String).returns(T.attached_class) } def self.new( # The legal name of the corporation. @@ -176,7 +185,8 @@ module Increase sig { params(name: String).void } attr_writer :name - # Details of the government authority entity to update. + # 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 { params(name: String).returns(T.attached_class) } def self.new( # The legal name of the government authority. @@ -205,7 +215,8 @@ module Increase sig { params(name: String).void } attr_writer :name - # Details of the natural person entity to update. + # Details of the natural person entity to update. If you specify this parameter + # and the entity is not a natural person, the request will fail. sig { params(name: String).returns(T.attached_class) } def self.new( # The legal name of the natural person. @@ -421,7 +432,8 @@ module Increase sig { params(name: String).void } attr_writer :name - # Details of the trust entity to update. + # Details of the trust entity to update. If you specify this parameter and the + # entity is not a trust, the request will fail. sig { params(name: String).returns(T.attached_class) } def self.new( # The legal name of the trust. diff --git a/rbi/increase/resources/entities.rbi b/rbi/increase/resources/entities.rbi index 4da68b315..3745e650d 100644 --- a/rbi/increase/resources/entities.rbi +++ b/rbi/increase/resources/entities.rbi @@ -90,11 +90,14 @@ module Increase def update( # The entity identifier. entity_id, - # Details of the corporation entity to update. + # 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, - # Details of the government authority entity to update. + # 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, - # Details of the natural person entity to update. + # Details of the natural person entity to update. If you specify this parameter + # and the entity is not a natural person, the request will fail. natural_person: nil, # An assessment of the entity’s potential risk of involvement in financial crimes, # such as money laundering. @@ -102,7 +105,8 @@ module Increase # A reference to data stored in a third-party verification service. Your # integration may or may not use this field. third_party_verification: nil, - # Details of the trust entity to update. + # Details of the trust entity to update. If you specify this parameter and the + # entity is not a trust, the request will fail. trust: nil, request_options: {} )