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.63.0"
".": "1.64.0"
}
8 changes: 4 additions & 4 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 216
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-fbdfb5721d0c46a176ee6d81936d2710556c39cc486c5de246cc17b0503ee408.yml
openapi_spec_hash: 66c900a94b458e5b796ac1d2a5fceb13
config_hash: 632b628b59d8f0b717153b3d8133f6cb
configured_endpoints: 217
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-166f5a60acb9f1b94415e641215f0988dc14a8bce6a0e1a95e521fdbb0b91243.yml
openapi_spec_hash: adbd71ae90ad4559759517a17c4fec08
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.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)

### Features

* **api:** api update ([8a7c3b9](https://github.com/Increase/increase-ruby/commit/8a7c3b9792f9aa78a9193f3594ab20f3793de872))

## 1.63.0 (2025-09-04)

Full Changelog: [v1.62.0...v1.63.0](https://github.com/Increase/increase-ruby/compare/v1.62.0...v1.63.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.63.0)
increase (1.64.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.63.0"
gem "increase", "~> 1.64.0"
```

<!-- x-release-please-end -->
Expand Down
1 change: 1 addition & 0 deletions lib/increase.rb
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@
require_relative "increase/models/entity_update_address_params"
require_relative "increase/models/entity_update_beneficial_owner_address_params"
require_relative "increase/models/entity_update_industry_code_params"
require_relative "increase/models/entity_update_params"
require_relative "increase/models/event"
require_relative "increase/models/event_list_params"
require_relative "increase/models/event_retrieve_params"
Expand Down
2 changes: 2 additions & 0 deletions lib/increase/models.rb
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,8 @@ module Increase

EntityUpdateIndustryCodeParams = Increase::Models::EntityUpdateIndustryCodeParams

EntityUpdateParams = Increase::Models::EntityUpdateParams

Event = Increase::Models::Event

EventListParams = Increase::Models::EventListParams
Expand Down
57 changes: 56 additions & 1 deletion lib/increase/models/entity.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,13 @@ class Entity < Increase::Internal::Type::BaseModel
# @return [Increase::Models::Entity::NaturalPerson, nil]
required :natural_person, -> { Increase::Entity::NaturalPerson }, nil?: true

# @!attribute risk_rating
# An assessment of the entity’s potential risk of involvement in financial crimes,
# such as money laundering.
#
# @return [Increase::Models::Entity::RiskRating, nil]
required :risk_rating, -> { Increase::Entity::RiskRating }, nil?: true

# @!attribute status
# The status of the entity.
#
Expand Down Expand Up @@ -106,7 +113,7 @@ class Entity < Increase::Internal::Type::BaseModel
# @return [Symbol, Increase::Models::Entity::Type]
required :type, enum: -> { Increase::Entity::Type }

# @!method initialize(id:, corporation:, created_at:, description:, details_confirmed_at:, government_authority:, idempotency_key:, joint:, natural_person:, status:, structure:, supplemental_documents:, third_party_verification:, trust:, type:)
# @!method initialize(id:, corporation:, created_at:, description:, details_confirmed_at:, government_authority:, idempotency_key:, joint:, natural_person:, risk_rating:, status:, structure:, supplemental_documents:, third_party_verification:, trust:, type:)
# Some parameter documentations has been truncated, see {Increase::Models::Entity}
# for more details.
#
Expand All @@ -131,6 +138,8 @@ class Entity < Increase::Internal::Type::BaseModel
#
# @param natural_person [Increase::Models::Entity::NaturalPerson, nil] Details of the natural person entity. Will be present if `structure` is equal to
#
# @param risk_rating [Increase::Models::Entity::RiskRating, nil] An assessment of the entity’s potential risk of involvement in financial crimes,
#
# @param status [Symbol, Increase::Models::Entity::Status] The status of the entity.
#
# @param structure [Symbol, Increase::Models::Entity::Structure] The entity's legal structure.
Expand Down Expand Up @@ -919,6 +928,52 @@ module Method
end
end

# @see Increase::Models::Entity#risk_rating
class RiskRating < Increase::Internal::Type::BaseModel
# @!attribute rated_at
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the risk
# rating was performed.
#
# @return [Time]
required :rated_at, Time

# @!attribute rating
# The rating given to this entity.
#
# @return [Symbol, Increase::Models::Entity::RiskRating::Rating]
required :rating, enum: -> { Increase::Entity::RiskRating::Rating }

# @!method initialize(rated_at:, rating:)
# Some parameter documentations has been truncated, see
# {Increase::Models::Entity::RiskRating} for more details.
#
# An assessment of the entity’s potential risk of involvement in financial crimes,
# such as money laundering.
#
# @param rated_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the risk ra
#
# @param rating [Symbol, Increase::Models::Entity::RiskRating::Rating] The rating given to this entity.

# The rating given to this entity.
#
# @see Increase::Models::Entity::RiskRating#rating
module Rating
extend Increase::Internal::Type::Enum

# Low
LOW = :low

# Medium
MEDIUM = :medium

# High
HIGH = :high

# @!method self.values
# @return [Array<Symbol>]
end
end

# The status of the entity.
#
# @see Increase::Models::Entity#status
Expand Down
56 changes: 55 additions & 1 deletion lib/increase/models/entity_create_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,13 @@ class EntityCreateParams < Increase::Internal::Type::BaseModel
# @return [Increase::Models::EntityCreateParams::NaturalPerson, nil]
optional :natural_person, -> { Increase::EntityCreateParams::NaturalPerson }

# @!attribute risk_rating
# An assessment of the entity’s potential risk of involvement in financial crimes,
# such as money laundering.
#
# @return [Increase::Models::EntityCreateParams::RiskRating, nil]
optional :risk_rating, -> { Increase::EntityCreateParams::RiskRating }

# @!attribute supplemental_documents
# Additional documentation associated with the entity.
#
Expand All @@ -70,7 +77,7 @@ class EntityCreateParams < Increase::Internal::Type::BaseModel
# @return [Increase::Models::EntityCreateParams::Trust, nil]
optional :trust, -> { Increase::EntityCreateParams::Trust }

# @!method initialize(structure:, corporation: nil, description: nil, government_authority: nil, joint: nil, natural_person: nil, supplemental_documents: nil, third_party_verification: nil, trust: nil, request_options: {})
# @!method initialize(structure:, corporation: nil, description: nil, government_authority: nil, joint: nil, natural_person: nil, risk_rating: nil, supplemental_documents: nil, third_party_verification: nil, trust: nil, request_options: {})
# Some parameter documentations has been truncated, see
# {Increase::Models::EntityCreateParams} for more details.
#
Expand All @@ -86,6 +93,8 @@ class EntityCreateParams < Increase::Internal::Type::BaseModel
#
# @param natural_person [Increase::Models::EntityCreateParams::NaturalPerson] Details of the natural person entity to create. Required if `structure` is equal
#
# @param risk_rating [Increase::Models::EntityCreateParams::RiskRating] An assessment of the entity’s potential risk of involvement in financial crimes,
#
# @param supplemental_documents [Array<Increase::Models::EntityCreateParams::SupplementalDocument>] Additional documentation associated with the entity.
#
# @param third_party_verification [Increase::Models::EntityCreateParams::ThirdPartyVerification] A reference to data stored in a third-party verification service. Your integrati
Expand Down Expand Up @@ -1436,6 +1445,51 @@ class Passport < Increase::Internal::Type::BaseModel
end
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
# rating was performed.
#
# @return [Time]
required :rated_at, Time

# @!attribute rating
# The rating given to this entity.
#
# @return [Symbol, Increase::Models::EntityCreateParams::RiskRating::Rating]
required :rating, enum: -> { Increase::EntityCreateParams::RiskRating::Rating }

# @!method initialize(rated_at:, rating:)
# Some parameter documentations has been truncated, see
# {Increase::Models::EntityCreateParams::RiskRating} for more details.
#
# An assessment of the entity’s potential risk of involvement in financial crimes,
# such as money laundering.
#
# @param rated_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the risk ra
#
# @param rating [Symbol, Increase::Models::EntityCreateParams::RiskRating::Rating] The rating given to this entity.

# The rating given to this entity.
#
# @see Increase::Models::EntityCreateParams::RiskRating#rating
module Rating
extend Increase::Internal::Type::Enum

# Low
LOW = :low

# Medium
MEDIUM = :medium

# High
HIGH = :high

# @!method self.values
# @return [Array<Symbol>]
end
end

class SupplementalDocument < Increase::Internal::Type::BaseModel
# @!attribute file_id
# The identifier of the File containing the document.
Expand Down
121 changes: 121 additions & 0 deletions lib/increase/models/entity_update_params.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
# frozen_string_literal: true

module Increase
module Models
# @see Increase::Resources::Entities#update
class EntityUpdateParams < Increase::Internal::Type::BaseModel
extend Increase::Internal::Type::RequestParameters::Converter
include Increase::Internal::Type::RequestParameters

# @!attribute risk_rating
# An assessment of the entity’s potential risk of involvement in financial crimes,
# such as money laundering.
#
# @return [Increase::Models::EntityUpdateParams::RiskRating, nil]
optional :risk_rating, -> { Increase::EntityUpdateParams::RiskRating }

# @!attribute third_party_verification
# A reference to data stored in a third-party verification service. Your
# integration may or may not use this field.
#
# @return [Increase::Models::EntityUpdateParams::ThirdPartyVerification, nil]
optional :third_party_verification, -> { Increase::EntityUpdateParams::ThirdPartyVerification }

# @!method initialize(risk_rating: nil, third_party_verification: nil, request_options: {})
# Some parameter documentations has been truncated, see
# {Increase::Models::EntityUpdateParams} for more details.
#
# @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 request_options [Increase::RequestOptions, Hash{Symbol=>Object}]

class RiskRating < Increase::Internal::Type::BaseModel
# @!attribute rated_at
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the risk
# rating was performed.
#
# @return [Time]
required :rated_at, Time

# @!attribute rating
# The rating given to this entity.
#
# @return [Symbol, Increase::Models::EntityUpdateParams::RiskRating::Rating]
required :rating, enum: -> { Increase::EntityUpdateParams::RiskRating::Rating }

# @!method initialize(rated_at:, rating:)
# Some parameter documentations has been truncated, see
# {Increase::Models::EntityUpdateParams::RiskRating} for more details.
#
# An assessment of the entity’s potential risk of involvement in financial crimes,
# such as money laundering.
#
# @param rated_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the risk ra
#
# @param rating [Symbol, Increase::Models::EntityUpdateParams::RiskRating::Rating] The rating given to this entity.

# The rating given to this entity.
#
# @see Increase::Models::EntityUpdateParams::RiskRating#rating
module Rating
extend Increase::Internal::Type::Enum

# Low
LOW = :low

# Medium
MEDIUM = :medium

# High
HIGH = :high

# @!method self.values
# @return [Array<Symbol>]
end
end

class ThirdPartyVerification < Increase::Internal::Type::BaseModel
# @!attribute reference
# The reference identifier for the third party verification.
#
# @return [String]
required :reference, String

# @!attribute vendor
# The vendor that was used to perform the verification.
#
# @return [Symbol, Increase::Models::EntityUpdateParams::ThirdPartyVerification::Vendor]
required :vendor, enum: -> { Increase::EntityUpdateParams::ThirdPartyVerification::Vendor }

# @!method initialize(reference:, vendor:)
# A reference to data stored in a third-party verification service. Your
# integration may or may not use this field.
#
# @param reference [String] The reference identifier for the third party verification.
#
# @param vendor [Symbol, Increase::Models::EntityUpdateParams::ThirdPartyVerification::Vendor] The vendor that was used to perform the verification.

# The vendor that was used to perform the verification.
#
# @see Increase::Models::EntityUpdateParams::ThirdPartyVerification#vendor
module Vendor
extend Increase::Internal::Type::Enum

# Alloy. See https://alloy.com for more information.
ALLOY = :alloy

# Middesk. See https://middesk.com for more information.
MIDDESK = :middesk

# Oscilar. See https://oscilar.com for more information.
OSCILAR = :oscilar

# @!method self.values
# @return [Array<Symbol>]
end
end
end
end
end
Loading