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.64.0"
".": "1.65.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-166f5a60acb9f1b94415e641215f0988dc14a8bce6a0e1a95e521fdbb0b91243.yml
openapi_spec_hash: adbd71ae90ad4559759517a17c4fec08
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-6d1cfc3f93b6829318d0905c04d24008ab3576d5c00d8eb17c7d55fc34beef9e.yml
openapi_spec_hash: 12f331a1ebc9c7c8465a850736a8d8c6
config_hash: 2a4a1945e6eefa24fa5b0590cf580fb4
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 1.65.0 (2025-09-05)

Full Changelog: [v1.64.0...v1.65.0](https://github.com/Increase/increase-ruby/compare/v1.64.0...v1.65.0)

### Features

* **api:** api update ([ebb31b6](https://github.com/Increase/increase-ruby/commit/ebb31b6d4f44e5148de250a6231a96bdd2d978bd))

## 1.64.0 (2025-09-04)

Full Changelog: [v1.63.0...v1.64.0](https://github.com/Increase/increase-ruby/compare/v1.63.0...v1.64.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.64.0)
increase (1.65.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.64.0"
gem "increase", "~> 1.65.0"
```

<!-- x-release-please-end -->
Expand Down
86 changes: 85 additions & 1 deletion lib/increase/models/entity_update_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,24 @@ class EntityUpdateParams < Increase::Internal::Type::BaseModel
extend Increase::Internal::Type::RequestParameters::Converter
include Increase::Internal::Type::RequestParameters

# @!attribute corporation
# Details of the corporation entity to update.
#
# @return [Increase::Models::EntityUpdateParams::Corporation, nil]
optional :corporation, -> { Increase::EntityUpdateParams::Corporation }

# @!attribute government_authority
# Details of the government authority entity to update.
#
# @return [Increase::Models::EntityUpdateParams::GovernmentAuthority, nil]
optional :government_authority, -> { Increase::EntityUpdateParams::GovernmentAuthority }

# @!attribute natural_person
# Details of the natural person entity to update.
#
# @return [Increase::Models::EntityUpdateParams::NaturalPerson, nil]
optional :natural_person, -> { Increase::EntityUpdateParams::NaturalPerson }

# @!attribute risk_rating
# An assessment of the entity’s potential risk of involvement in financial crimes,
# such as money laundering.
Expand All @@ -21,16 +39,69 @@ class EntityUpdateParams < Increase::Internal::Type::BaseModel
# @return [Increase::Models::EntityUpdateParams::ThirdPartyVerification, nil]
optional :third_party_verification, -> { Increase::EntityUpdateParams::ThirdPartyVerification }

# @!method initialize(risk_rating: nil, third_party_verification: nil, request_options: {})
# @!attribute trust
# Details of the trust entity to update.
#
# @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: {})
# 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 government_authority [Increase::Models::EntityUpdateParams::GovernmentAuthority] Details of the government authority entity to update.
#
# @param natural_person [Increase::Models::EntityUpdateParams::NaturalPerson] Details of the natural person entity to update.
#
# @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 request_options [Increase::RequestOptions, Hash{Symbol=>Object}]

class Corporation < Increase::Internal::Type::BaseModel
# @!attribute name
# The legal name of the corporation.
#
# @return [String, nil]
optional :name, String

# @!method initialize(name: nil)
# Details of the corporation entity to update.
#
# @param name [String] The legal name of the corporation.
end

class GovernmentAuthority < Increase::Internal::Type::BaseModel
# @!attribute name
# The legal name of the government authority.
#
# @return [String, nil]
optional :name, String

# @!method initialize(name: nil)
# Details of the government authority entity to update.
#
# @param name [String] The legal name of the government authority.
end

class NaturalPerson < Increase::Internal::Type::BaseModel
# @!attribute name
# The legal name of the natural person.
#
# @return [String, nil]
optional :name, String

# @!method initialize(name: nil)
# Details of the natural person entity to update.
#
# @param name [String] The legal name of the natural person.
end

class RiskRating < Increase::Internal::Type::BaseModel
# @!attribute rated_at
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the risk
Expand Down Expand Up @@ -116,6 +187,19 @@ module Vendor
# @return [Array<Symbol>]
end
end

class Trust < Increase::Internal::Type::BaseModel
# @!attribute name
# The legal name of the trust.
#
# @return [String, nil]
optional :name, String

# @!method initialize(name: nil)
# Details of the trust entity to update.
#
# @param name [String] The legal name of the trust.
end
end
end
end
10 changes: 9 additions & 1 deletion lib/increase/resources/entities.rb
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,22 @@ def retrieve(entity_id, params = {})
#
# Update an Entity
#
# @overload update(entity_id, risk_rating: nil, third_party_verification: nil, request_options: {})
# @overload update(entity_id, corporation: 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.
#
# @param government_authority [Increase::Models::EntityUpdateParams::GovernmentAuthority] Details of the government authority entity to update.
#
# @param natural_person [Increase::Models::EntityUpdateParams::NaturalPerson] Details of the natural person entity to update.
#
# @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 request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
#
# @return [Increase::Models::Entity]
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.64.0"
VERSION = "1.65.0"
end
Loading