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.3.0"
".": "1.4.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: 201
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-26cf97b4b05afc71ff1d3546e3412c4e9d30c3ac2f05a3c76444a0c945c390ea.yml
openapi_spec_hash: 0a885f91c1947c633734f6702320f2e3
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-96d05b8e37bf249bf8308adae52fd62efc5a37bf7dff2911bdfddb89c503bb30.yml
openapi_spec_hash: 35c0fded197228fc0680fe6ce04f6c82
config_hash: 97774f946585cecb19181a1817870d0b
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## 1.4.0 (2025-06-25)

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

### Features

* **api:** api update ([5e84760](https://github.com/Increase/increase-ruby/commit/5e847601520f15c05af732d75fc3836a0db58e11))
* **api:** api update ([05ab542](https://github.com/Increase/increase-ruby/commit/05ab5422b9a7ca0fef94405a930ca991ae2b7b34))

## 1.3.0 (2025-06-24)

Full Changelog: [v1.2.0...v1.3.0](https://github.com/Increase/increase-ruby/compare/v1.2.0...v1.3.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.3.0)
increase (1.4.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.3.0"
gem "increase", "~> 1.4.0"
```

<!-- x-release-please-end -->
Expand Down
12 changes: 12 additions & 0 deletions lib/increase/models/card_payment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1207,6 +1207,12 @@ module ProcessingCategory
# A refund card authorization, sometimes referred to as a credit voucher authorization, where funds are credited to the cardholder.
REFUND = :refund

# Cash disbursement transactions are used to withdraw cash from an ATM or a point of sale.
CASH_DISBURSEMENT = :cash_disbursement

# The processing category is unknown.
UNKNOWN = :unknown

# @!method self.values
# @return [Array<Symbol>]
end
Expand Down Expand Up @@ -2081,6 +2087,12 @@ module ProcessingCategory
# A refund card authorization, sometimes referred to as a credit voucher authorization, where funds are credited to the cardholder.
REFUND = :refund

# Cash disbursement transactions are used to withdraw cash from an ATM or a point of sale.
CASH_DISBURSEMENT = :cash_disbursement

# The processing category is unknown.
UNKNOWN = :unknown

# @!method self.values
# @return [Array<Symbol>]
end
Expand Down
6 changes: 6 additions & 0 deletions lib/increase/models/declined_transaction.rb
Original file line number Diff line number Diff line change
Expand Up @@ -999,6 +999,12 @@ module ProcessingCategory
# A refund card authorization, sometimes referred to as a credit voucher authorization, where funds are credited to the cardholder.
REFUND = :refund

# Cash disbursement transactions are used to withdraw cash from an ATM or a point of sale.
CASH_DISBURSEMENT = :cash_disbursement

# The processing category is unknown.
UNKNOWN = :unknown

# @!method self.values
# @return [Array<Symbol>]
end
Expand Down
11 changes: 8 additions & 3 deletions lib/increase/models/entity_create_beneficial_owner_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ class DriversLicense < Increase::Internal::Type::BaseModel
class Other < Increase::Internal::Type::BaseModel
# @!attribute country
# The two-character ISO 3166-1 code representing the country that issued the
# document.
# document (e.g., `US`).
#
# @return [String]
required :country, String
Expand Down Expand Up @@ -364,7 +364,8 @@ class Other < Increase::Internal::Type::BaseModel
# @see Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification#passport
class Passport < Increase::Internal::Type::BaseModel
# @!attribute country
# The country that issued the passport.
# The two-character ISO 3166-1 code representing the country that issued the
# document (e.g., `US`).
#
# @return [String]
required :country, String
Expand All @@ -382,10 +383,14 @@ class Passport < Increase::Internal::Type::BaseModel
required :file_id, String

# @!method initialize(country:, expiration_date:, file_id:)
# Some parameter documentations has been truncated, see
# {Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::Passport}
# for more details.
#
# Information about the passport used for identification. Required if `method` is
# equal to `passport`.
#
# @param country [String] The country that issued the passport.
# @param country [String] The two-character ISO 3166-1 code representing the country that issued the docum
#
# @param expiration_date [Date] The passport's expiration date in YYYY-MM-DD format.
#
Expand Down
55 changes: 40 additions & 15 deletions lib/increase/models/entity_create_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ class DriversLicense < Increase::Internal::Type::BaseModel
class Other < Increase::Internal::Type::BaseModel
# @!attribute country
# The two-character ISO 3166-1 code representing the country that issued the
# document.
# document (e.g., `US`).
#
# @return [String]
required :country, String
Expand Down Expand Up @@ -594,7 +594,8 @@ class Other < Increase::Internal::Type::BaseModel
# @see Increase::Models::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification#passport
class Passport < Increase::Internal::Type::BaseModel
# @!attribute country
# The country that issued the passport.
# The two-character ISO 3166-1 code representing the country that issued the
# document (e.g., `US`).
#
# @return [String]
required :country, String
Expand All @@ -612,10 +613,14 @@ class Passport < Increase::Internal::Type::BaseModel
required :file_id, String

# @!method initialize(country:, expiration_date:, file_id:)
# Some parameter documentations has been truncated, see
# {Increase::Models::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification::Passport}
# for more details.
#
# Information about the passport used for identification. Required if `method` is
# equal to `passport`.
#
# @param country [String] The country that issued the passport.
# @param country [String] The two-character ISO 3166-1 code representing the country that issued the docum
#
# @param expiration_date [Date] The passport's expiration date in YYYY-MM-DD format.
#
Expand Down Expand Up @@ -1047,7 +1052,7 @@ class DriversLicense < Increase::Internal::Type::BaseModel
class Other < Increase::Internal::Type::BaseModel
# @!attribute country
# The two-character ISO 3166-1 code representing the country that issued the
# document.
# document (e.g., `US`).
#
# @return [String]
required :country, String
Expand Down Expand Up @@ -1099,7 +1104,8 @@ class Other < Increase::Internal::Type::BaseModel
# @see Increase::Models::EntityCreateParams::Joint::Individual::Identification#passport
class Passport < Increase::Internal::Type::BaseModel
# @!attribute country
# The country that issued the passport.
# The two-character ISO 3166-1 code representing the country that issued the
# passport (e.g., `US`).
#
# @return [String]
required :country, String
Expand All @@ -1117,10 +1123,14 @@ class Passport < Increase::Internal::Type::BaseModel
required :file_id, String

# @!method initialize(country:, expiration_date:, file_id:)
# Some parameter documentations has been truncated, see
# {Increase::Models::EntityCreateParams::Joint::Individual::Identification::Passport}
# for more details.
#
# Information about the passport used for identification. Required if `method` is
# equal to `passport`.
#
# @param country [String] The country that issued the passport.
# @param country [String] The two-character ISO 3166-1 code representing the country that issued the passp
#
# @param expiration_date [Date] The passport's expiration date in YYYY-MM-DD format.
#
Expand Down Expand Up @@ -1359,7 +1369,7 @@ class DriversLicense < Increase::Internal::Type::BaseModel
class Other < Increase::Internal::Type::BaseModel
# @!attribute country
# The two-character ISO 3166-1 code representing the country that issued the
# document.
# document (e.g., `US`).
#
# @return [String]
required :country, String
Expand Down Expand Up @@ -1411,7 +1421,8 @@ class Other < Increase::Internal::Type::BaseModel
# @see Increase::Models::EntityCreateParams::NaturalPerson::Identification#passport
class Passport < Increase::Internal::Type::BaseModel
# @!attribute country
# The country that issued the passport.
# The two-character ISO 3166-1 code representing the country that issued the
# passport (e.g., `US`).
#
# @return [String]
required :country, String
Expand All @@ -1429,10 +1440,14 @@ class Passport < Increase::Internal::Type::BaseModel
required :file_id, String

# @!method initialize(country:, expiration_date:, file_id:)
# Some parameter documentations has been truncated, see
# {Increase::Models::EntityCreateParams::NaturalPerson::Identification::Passport}
# for more details.
#
# Information about the passport used for identification. Required if `method` is
# equal to `passport`.
#
# @param country [String] The country that issued the passport.
# @param country [String] The two-character ISO 3166-1 code representing the country that issued the passp
#
# @param expiration_date [Date] The passport's expiration date in YYYY-MM-DD format.
#
Expand Down Expand Up @@ -1920,7 +1935,7 @@ class DriversLicense < Increase::Internal::Type::BaseModel
class Other < Increase::Internal::Type::BaseModel
# @!attribute country
# The two-character ISO 3166-1 code representing the country that issued the
# document.
# document (e.g., `US`).
#
# @return [String]
required :country, String
Expand Down Expand Up @@ -1972,7 +1987,8 @@ class Other < Increase::Internal::Type::BaseModel
# @see Increase::Models::EntityCreateParams::Trust::Trustee::Individual::Identification#passport
class Passport < Increase::Internal::Type::BaseModel
# @!attribute country
# The country that issued the passport.
# The two-character ISO 3166-1 code representing the country that issued the
# passport (e.g., `US`).
#
# @return [String]
required :country, String
Expand All @@ -1990,10 +2006,14 @@ class Passport < Increase::Internal::Type::BaseModel
required :file_id, String

# @!method initialize(country:, expiration_date:, file_id:)
# Some parameter documentations has been truncated, see
# {Increase::Models::EntityCreateParams::Trust::Trustee::Individual::Identification::Passport}
# for more details.
#
# Information about the passport used for identification. Required if `method` is
# equal to `passport`.
#
# @param country [String] The country that issued the passport.
# @param country [String] The two-character ISO 3166-1 code representing the country that issued the passp
#
# @param expiration_date [Date] The passport's expiration date in YYYY-MM-DD format.
#
Expand Down Expand Up @@ -2231,7 +2251,7 @@ class DriversLicense < Increase::Internal::Type::BaseModel
class Other < Increase::Internal::Type::BaseModel
# @!attribute country
# The two-character ISO 3166-1 code representing the country that issued the
# document.
# document (e.g., `US`).
#
# @return [String]
required :country, String
Expand Down Expand Up @@ -2283,7 +2303,8 @@ class Other < Increase::Internal::Type::BaseModel
# @see Increase::Models::EntityCreateParams::Trust::Grantor::Identification#passport
class Passport < Increase::Internal::Type::BaseModel
# @!attribute country
# The country that issued the passport.
# The two-character ISO 3166-1 code representing the country that issued the
# passport (e.g., `US`).
#
# @return [String]
required :country, String
Expand All @@ -2301,10 +2322,14 @@ class Passport < Increase::Internal::Type::BaseModel
required :file_id, String

# @!method initialize(country:, expiration_date:, file_id:)
# Some parameter documentations has been truncated, see
# {Increase::Models::EntityCreateParams::Trust::Grantor::Identification::Passport}
# for more details.
#
# Information about the passport used for identification. Required if `method` is
# equal to `passport`.
#
# @param country [String] The country that issued the passport.
# @param country [String] The two-character ISO 3166-1 code representing the country that issued the passp
#
# @param expiration_date [Date] The passport's expiration date in YYYY-MM-DD format.
#
Expand Down
6 changes: 6 additions & 0 deletions lib/increase/models/pending_transaction.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1039,6 +1039,12 @@ module ProcessingCategory
# A refund card authorization, sometimes referred to as a credit voucher authorization, where funds are credited to the cardholder.
REFUND = :refund

# Cash disbursement transactions are used to withdraw cash from an ATM or a point of sale.
CASH_DISBURSEMENT = :cash_disbursement

# The processing category is unknown.
UNKNOWN = :unknown

# @!method self.values
# @return [Array<Symbol>]
end
Expand Down
6 changes: 6 additions & 0 deletions lib/increase/models/real_time_decision.rb
Original file line number Diff line number Diff line change
Expand Up @@ -770,6 +770,12 @@ module ProcessingCategory
# A refund card authorization, sometimes referred to as a credit voucher authorization, where funds are credited to the cardholder.
REFUND = :refund

# Cash disbursement transactions are used to withdraw cash from an ATM or a point of sale.
CASH_DISBURSEMENT = :cash_disbursement

# The processing category is unknown.
UNKNOWN = :unknown

# @!method self.values
# @return [Array<Symbol>]
end
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.3.0"
VERSION = "1.4.0"
end
28 changes: 28 additions & 0 deletions rbi/increase/models/card_payment.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -2245,6 +2245,20 @@ module Increase
Increase::CardPayment::Element::CardAuthorization::ProcessingCategory::TaggedSymbol
)

# Cash disbursement transactions are used to withdraw cash from an ATM or a point of sale.
CASH_DISBURSEMENT =
T.let(
:cash_disbursement,
Increase::CardPayment::Element::CardAuthorization::ProcessingCategory::TaggedSymbol
)

# The processing category is unknown.
UNKNOWN =
T.let(
:unknown,
Increase::CardPayment::Element::CardAuthorization::ProcessingCategory::TaggedSymbol
)

sig do
override.returns(
T::Array[
Expand Down Expand Up @@ -3906,6 +3920,20 @@ module Increase
Increase::CardPayment::Element::CardDecline::ProcessingCategory::TaggedSymbol
)

# Cash disbursement transactions are used to withdraw cash from an ATM or a point of sale.
CASH_DISBURSEMENT =
T.let(
:cash_disbursement,
Increase::CardPayment::Element::CardDecline::ProcessingCategory::TaggedSymbol
)

# The processing category is unknown.
UNKNOWN =
T.let(
:unknown,
Increase::CardPayment::Element::CardDecline::ProcessingCategory::TaggedSymbol
)

sig do
override.returns(
T::Array[
Expand Down
14 changes: 14 additions & 0 deletions rbi/increase/models/declined_transaction.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -1835,6 +1835,20 @@ module Increase
Increase::DeclinedTransaction::Source::CardDecline::ProcessingCategory::TaggedSymbol
)

# Cash disbursement transactions are used to withdraw cash from an ATM or a point of sale.
CASH_DISBURSEMENT =
T.let(
:cash_disbursement,
Increase::DeclinedTransaction::Source::CardDecline::ProcessingCategory::TaggedSymbol
)

# The processing category is unknown.
UNKNOWN =
T.let(
:unknown,
Increase::DeclinedTransaction::Source::CardDecline::ProcessingCategory::TaggedSymbol
)

sig do
override.returns(
T::Array[
Expand Down
Loading