Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "1.66.0"
".": "1.67.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -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
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ GIT
PATH
remote: .
specs:
increase (1.66.0)
increase (1.67.0)
connection_pool

GEM
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
<!-- x-release-please-start-version -->

```ruby
gem "increase", "~> 1.66.0"
gem "increase", "~> 1.67.0"
```

<!-- x-release-please-end -->
Expand Down
32 changes: 20 additions & 12 deletions lib/increase/models/entity_update_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand All @@ -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 }
Expand All @@ -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}]

Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions lib/increase/resources/entities.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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]
#
Expand Down
2 changes: 1 addition & 1 deletion lib/increase/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Increase
VERSION = "1.66.0"
VERSION = "1.67.0"
end
36 changes: 24 additions & 12 deletions rbi/increase/models/entity_update_params.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand All @@ -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

Expand Down Expand Up @@ -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

Expand All @@ -95,19 +99,23 @@ 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.
risk_rating: nil,
# 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: {}
)
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down
12 changes: 8 additions & 4 deletions rbi/increase/resources/entities.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -90,19 +90,23 @@ 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.
risk_rating: nil,
# 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: {}
)
Expand Down