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.250.0"
".": "1.251.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: 237
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-2c11248a841117464c3d87ee8069761f8fdf1a235557bbc885bcfa13de4107c4.yml
openapi_spec_hash: 6bcd6b02eaff96080fc9f57fd5942502
config_hash: 81fdd83e44056d1f623e280bc106245d
configured_endpoints: 236
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-842d7a1e6cff968c70110dc90a9e51da05e2f781e902d6f5ca71940e4b9688e1.yml
openapi_spec_hash: c3aabecf5bb2135391d6b8faef4ac1b3
config_hash: 25d7d7aa4882db6189b4b53e8e249e80
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

## 1.251.0 (2026-03-12)

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

### Features

* **api:** api update ([126d145](https://github.com/Increase/increase-ruby/commit/126d145166fd0f4da6a9e5ec8e5c7a6569053b40))
* **api:** api update ([8dd3d2c](https://github.com/Increase/increase-ruby/commit/8dd3d2ccf94223fcae18ecc4511be427e699d54c))
* **api:** api update ([0612b83](https://github.com/Increase/increase-ruby/commit/0612b830875e4ad90e04d28b6c84c9222f5c0d43))
* **api:** api update ([dbebe41](https://github.com/Increase/increase-ruby/commit/dbebe4189586870bb68e3987ba30a5827438670c))

## 1.250.0 (2026-03-12)

Full Changelog: [v1.249.0...v1.250.0](https://github.com/Increase/increase-ruby/compare/v1.249.0...v1.250.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.250.0)
increase (1.251.0)
cgi
connection_pool
standardwebhooks
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.250.0"
gem "increase", "~> 1.251.0"
```

<!-- x-release-please-end -->
Expand Down
1 change: 0 additions & 1 deletion lib/increase.rb
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@
require_relative "increase/models/entity"
require_relative "increase/models/entity_archive_params"
require_relative "increase/models/entity_beneficial_owner"
require_relative "increase/models/entity_create_beneficial_owner_params"
require_relative "increase/models/entity_create_params"
require_relative "increase/models/entity_list_params"
require_relative "increase/models/entity_retrieve_params"
Expand Down
2 changes: 0 additions & 2 deletions lib/increase/models.rb
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,6 @@ module Increase

EntityBeneficialOwner = Increase::Models::EntityBeneficialOwner

EntityCreateBeneficialOwnerParams = Increase::Models::EntityCreateBeneficialOwnerParams

EntityCreateParams = Increase::Models::EntityCreateParams

EntityListParams = Increase::Models::EntityListParams
Expand Down
10 changes: 9 additions & 1 deletion lib/increase/models/card_push_transfer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ class CardPushTransfer < Increase::Internal::Type::BaseModel
# @return [Increase::Models::CardPushTransfer::Cancellation, nil]
required :cancellation, -> { Increase::CardPushTransfer::Cancellation }, nil?: true

# @!attribute card_token_id
# The ID of the Card Token that was used to validate the card.
#
# @return [String]
required :card_token_id, String

# @!attribute created_at
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
# the transfer was created.
Expand Down Expand Up @@ -186,7 +192,7 @@ class CardPushTransfer < Increase::Internal::Type::BaseModel
# @return [Symbol, Increase::Models::CardPushTransfer::Type]
required :type, enum: -> { Increase::CardPushTransfer::Type }

# @!method initialize(id:, acceptance:, account_id:, approval:, business_application_identifier:, cancellation:, created_at:, created_by:, decline:, idempotency_key:, merchant_category_code:, merchant_city_name:, merchant_name:, merchant_name_prefix:, merchant_postal_code:, merchant_state:, presentment_amount:, recipient_name:, sender_address_city:, sender_address_line1:, sender_address_postal_code:, sender_address_state:, sender_name:, source_account_number_id:, status:, submission:, type:)
# @!method initialize(id:, acceptance:, account_id:, approval:, business_application_identifier:, cancellation:, card_token_id:, created_at:, created_by:, decline:, idempotency_key:, merchant_category_code:, merchant_city_name:, merchant_name:, merchant_name_prefix:, merchant_postal_code:, merchant_state:, presentment_amount:, recipient_name:, sender_address_city:, sender_address_line1:, sender_address_postal_code:, sender_address_state:, sender_name:, source_account_number_id:, status:, submission:, type:)
# Some parameter documentations has been truncated, see
# {Increase::Models::CardPushTransfer} for more details.
#
Expand All @@ -204,6 +210,8 @@ class CardPushTransfer < Increase::Internal::Type::BaseModel
#
# @param cancellation [Increase::Models::CardPushTransfer::Cancellation, nil] If your account requires approvals for transfers and the transfer was not approv
#
# @param card_token_id [String] The ID of the Card Token that was used to validate the card.
#
# @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which th
#
# @param created_by [Increase::Models::CardPushTransfer::CreatedBy, nil] What object created the transfer, either via the API or the dashboard.
Expand Down
210 changes: 207 additions & 3 deletions lib/increase/models/entity.rb
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,9 @@ class Corporation < Increase::Internal::Type::BaseModel
# The identifying details of anyone controlling or owning 25% or more of the
# corporation.
#
# @return [Array<Increase::Models::EntityBeneficialOwner>]
required :beneficial_owners, -> { Increase::Internal::Type::ArrayOf[Increase::EntityBeneficialOwner] }
# @return [Array<Increase::Models::Entity::Corporation::BeneficialOwner>]
required :beneficial_owners,
-> { Increase::Internal::Type::ArrayOf[Increase::Entity::Corporation::BeneficialOwner] }

# @!attribute email
# An email address for the business.
Expand Down Expand Up @@ -224,7 +225,7 @@ class Corporation < Increase::Internal::Type::BaseModel
#
# @param address [Increase::Models::Entity::Corporation::Address] The corporation's address.
#
# @param beneficial_owners [Array<Increase::Models::EntityBeneficialOwner>] The identifying details of anyone controlling or owning 25% or more of the corpo
# @param beneficial_owners [Array<Increase::Models::Entity::Corporation::BeneficialOwner>] The identifying details of anyone controlling or owning 25% or more of the corpo
#
# @param email [String, nil] An email address for the business.
#
Expand Down Expand Up @@ -287,6 +288,209 @@ class Address < Increase::Internal::Type::BaseModel
#
# @param zip [String] The ZIP code of the address.
end

class BeneficialOwner < Increase::Internal::Type::BaseModel
# @!attribute id
# The identifier of this beneficial owner.
#
# @return [String]
required :id, String

# @!attribute company_title
# This person's role or title within the entity.
#
# @return [String, nil]
required :company_title, String, nil?: true

# @!attribute individual
# Personal details for the beneficial owner.
#
# @return [Increase::Models::Entity::Corporation::BeneficialOwner::Individual]
required :individual, -> { Increase::Entity::Corporation::BeneficialOwner::Individual }

# @!attribute prongs
# Why this person is considered a beneficial owner of the entity.
#
# @return [Array<Symbol, Increase::Models::Entity::Corporation::BeneficialOwner::Prong>]
required :prongs,
-> { Increase::Internal::Type::ArrayOf[enum: Increase::Entity::Corporation::BeneficialOwner::Prong] }

# @!method initialize(id:, company_title:, individual:, prongs:)
# @param id [String] The identifier of this beneficial owner.
#
# @param company_title [String, nil] This person's role or title within the entity.
#
# @param individual [Increase::Models::Entity::Corporation::BeneficialOwner::Individual] Personal details for the beneficial owner.
#
# @param prongs [Array<Symbol, Increase::Models::Entity::Corporation::BeneficialOwner::Prong>] Why this person is considered a beneficial owner of the entity.

# @see Increase::Models::Entity::Corporation::BeneficialOwner#individual
class Individual < Increase::Internal::Type::BaseModel
# @!attribute address
# The person's address.
#
# @return [Increase::Models::Entity::Corporation::BeneficialOwner::Individual::Address]
required :address, -> { Increase::Entity::Corporation::BeneficialOwner::Individual::Address }

# @!attribute date_of_birth
# The person's date of birth in YYYY-MM-DD format.
#
# @return [Date]
required :date_of_birth, Date

# @!attribute identification
# A means of verifying the person's identity.
#
# @return [Increase::Models::Entity::Corporation::BeneficialOwner::Individual::Identification]
required :identification,
-> { Increase::Entity::Corporation::BeneficialOwner::Individual::Identification }

# @!attribute name
# The person's legal name.
#
# @return [String]
required :name, String

# @!method initialize(address:, date_of_birth:, identification:, name:)
# Personal details for the beneficial owner.
#
# @param address [Increase::Models::Entity::Corporation::BeneficialOwner::Individual::Address] The person's address.
#
# @param date_of_birth [Date] The person's date of birth in YYYY-MM-DD format.
#
# @param identification [Increase::Models::Entity::Corporation::BeneficialOwner::Individual::Identification] A means of verifying the person's identity.
#
# @param name [String] The person's legal name.

# @see Increase::Models::Entity::Corporation::BeneficialOwner::Individual#address
class Address < Increase::Internal::Type::BaseModel
# @!attribute city
# The city, district, town, or village of the address.
#
# @return [String, nil]
required :city, String, nil?: true

# @!attribute country
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
#
# @return [String]
required :country, String

# @!attribute line1
# The first line of the address.
#
# @return [String]
required :line1, String

# @!attribute line2
# The second line of the address.
#
# @return [String, nil]
required :line2, String, nil?: true

# @!attribute state
# The two-letter United States Postal Service (USPS) abbreviation for the US
# state, province, or region of the address.
#
# @return [String, nil]
required :state, String, nil?: true

# @!attribute zip
# The ZIP or postal code of the address.
#
# @return [String, nil]
required :zip, String, nil?: true

# @!method initialize(city:, country:, line1:, line2:, state:, zip:)
# Some parameter documentations has been truncated, see
# {Increase::Models::Entity::Corporation::BeneficialOwner::Individual::Address}
# for more details.
#
# The person's address.
#
# @param city [String, nil] The city, district, town, or village of the address.
#
# @param country [String] The two-letter ISO 3166-1 alpha-2 code for the country of the address.
#
# @param line1 [String] The first line of the address.
#
# @param line2 [String, nil] The second line of the address.
#
# @param state [String, nil] The two-letter United States Postal Service (USPS) abbreviation for the US state
#
# @param zip [String, nil] The ZIP or postal code of the address.
end

# @see Increase::Models::Entity::Corporation::BeneficialOwner::Individual#identification
class Identification < Increase::Internal::Type::BaseModel
# @!attribute method_
# A method that can be used to verify the individual's identity.
#
# @return [Symbol, Increase::Models::Entity::Corporation::BeneficialOwner::Individual::Identification::Method]
required :method_,
enum: -> {
Increase::Entity::Corporation::BeneficialOwner::Individual::Identification::Method
},
api_name: :method

# @!attribute number_last4
# The last 4 digits of the identification number that can be used to verify the
# individual's identity.
#
# @return [String]
required :number_last4, String

# @!method initialize(method_:, number_last4:)
# Some parameter documentations has been truncated, see
# {Increase::Models::Entity::Corporation::BeneficialOwner::Individual::Identification}
# for more details.
#
# A means of verifying the person's identity.
#
# @param method_ [Symbol, Increase::Models::Entity::Corporation::BeneficialOwner::Individual::Identification::Method] A method that can be used to verify the individual's identity.
#
# @param number_last4 [String] The last 4 digits of the identification number that can be used to verify the in

# A method that can be used to verify the individual's identity.
#
# @see Increase::Models::Entity::Corporation::BeneficialOwner::Individual::Identification#method_
module Method
extend Increase::Internal::Type::Enum

# A social security number.
SOCIAL_SECURITY_NUMBER = :social_security_number

# An individual taxpayer identification number (ITIN).
INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER = :individual_taxpayer_identification_number

# A passport number.
PASSPORT = :passport

# A driver's license number.
DRIVERS_LICENSE = :drivers_license

# Another identifying document.
OTHER = :other

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

module Prong
extend Increase::Internal::Type::Enum

# A person with 25% or greater direct or indirect ownership of the entity.
OWNERSHIP = :ownership

# A person who manages, directs, or has significant control of the entity.
CONTROL = :control

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

# @see Increase::Models::Entity#government_authority
Expand Down
10 changes: 9 additions & 1 deletion lib/increase/models/entity_beneficial_owner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ class EntityBeneficialOwner < Increase::Internal::Type::BaseModel
# @return [Time]
required :created_at, Time

# @!attribute entity_id
# The identifier of the Entity to which this beneficial owner belongs.
#
# @return [String]
required :entity_id, String

# @!attribute idempotency_key
# The idempotency key you chose for this object. This value is unique across
# Increase and is used to ensure that a request is only processed once. Learn more
Expand Down Expand Up @@ -50,7 +56,7 @@ class EntityBeneficialOwner < Increase::Internal::Type::BaseModel
# @return [Symbol, Increase::Models::EntityBeneficialOwner::Type]
required :type, enum: -> { Increase::EntityBeneficialOwner::Type }

# @!method initialize(id:, company_title:, created_at:, idempotency_key:, individual:, prongs:, type:)
# @!method initialize(id:, company_title:, created_at:, entity_id:, idempotency_key:, individual:, prongs:, type:)
# Some parameter documentations has been truncated, see
# {Increase::Models::EntityBeneficialOwner} for more details.
#
Expand All @@ -66,6 +72,8 @@ class EntityBeneficialOwner < Increase::Internal::Type::BaseModel
#
# @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the Benefic
#
# @param entity_id [String] The identifier of the Entity to which this beneficial owner belongs.
#
# @param idempotency_key [String, nil] The idempotency key you chose for this object. This value is unique across Incre
#
# @param individual [Increase::Models::EntityBeneficialOwner::Individual] Personal details for the beneficial owner.
Expand Down
Loading