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.50.0"
".": "1.51.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: 216
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-f9cc7049ef70f37da85a196a822ee878a193af22d9894422fdc9100255b2a4c6.yml
openapi_spec_hash: efc2e40d9d10c87827994458d0101cd0
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-740517a6a575bb225c5bfa111ab83611c58533d5b1514f505aab22185f4a8992.yml
openapi_spec_hash: 8bfd6dcf11d076c24e4f092dc7e151ac
config_hash: 29e452035e915a07cd64333b10a83077
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 1.51.0 (2025-08-26)

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

### Features

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

## 1.50.0 (2025-08-26)

Full Changelog: [v1.49.0...v1.50.0](https://github.com/Increase/increase-ruby/compare/v1.49.0...v1.50.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.50.0)
increase (1.51.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.50.0"
gem "increase", "~> 1.51.0"
```

<!-- x-release-please-end -->
Expand Down
23 changes: 22 additions & 1 deletion lib/increase/models/card_payment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5577,6 +5577,12 @@ class CardSettlement < Increase::Internal::Type::BaseModel
# @return [String, nil]
required :merchant_state, String, nil?: true

# @!attribute network
# The card network on which this transaction was processed.
#
# @return [Symbol, Increase::Models::CardPayment::Element::CardSettlement::Network]
required :network, enum: -> { Increase::CardPayment::Element::CardSettlement::Network }

# @!attribute network_identifiers
# Network-specific identifiers for this refund.
#
Expand Down Expand Up @@ -5624,7 +5630,7 @@ class CardSettlement < Increase::Internal::Type::BaseModel
# @return [Symbol, Increase::Models::CardPayment::Element::CardSettlement::Type]
required :type, enum: -> { Increase::CardPayment::Element::CardSettlement::Type }

# @!method initialize(id:, amount:, card_authorization:, card_payment_id:, cashback:, currency:, interchange:, merchant_acceptor_id:, merchant_category_code:, merchant_city:, merchant_country:, merchant_name:, merchant_postal_code:, merchant_state:, network_identifiers:, pending_transaction_id:, presentment_amount:, presentment_currency:, purchase_details:, transaction_id:, type:)
# @!method initialize(id:, amount:, card_authorization:, card_payment_id:, cashback:, currency:, interchange:, merchant_acceptor_id:, merchant_category_code:, merchant_city:, merchant_country:, merchant_name:, merchant_postal_code:, merchant_state:, network:, network_identifiers:, pending_transaction_id:, presentment_amount:, presentment_currency:, purchase_details:, transaction_id:, type:)
# Some parameter documentations has been truncated, see
# {Increase::Models::CardPayment::Element::CardSettlement} for more details.
#
Expand Down Expand Up @@ -5662,6 +5668,8 @@ class CardSettlement < Increase::Internal::Type::BaseModel
#
# @param merchant_state [String, nil] The state the merchant resides in.
#
# @param network [Symbol, Increase::Models::CardPayment::Element::CardSettlement::Network] The card network on which this transaction was processed.
#
# @param network_identifiers [Increase::Models::CardPayment::Element::CardSettlement::NetworkIdentifiers] Network-specific identifiers for this refund.
#
# @param pending_transaction_id [String, nil] The identifier of the Pending Transaction associated with this Transaction.
Expand Down Expand Up @@ -5829,6 +5837,19 @@ module Currency
end
end

# The card network on which this transaction was processed.
#
# @see Increase::Models::CardPayment::Element::CardSettlement#network
module Network
extend Increase::Internal::Type::Enum

# Visa
VISA = :visa

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

# @see Increase::Models::CardPayment::Element::CardSettlement#network_identifiers
class NetworkIdentifiers < Increase::Internal::Type::BaseModel
# @!attribute acquirer_business_id
Expand Down
23 changes: 22 additions & 1 deletion lib/increase/models/transaction.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2772,6 +2772,12 @@ class CardSettlement < Increase::Internal::Type::BaseModel
# @return [String, nil]
required :merchant_state, String, nil?: true

# @!attribute network
# The card network on which this transaction was processed.
#
# @return [Symbol, Increase::Models::Transaction::Source::CardSettlement::Network]
required :network, enum: -> { Increase::Transaction::Source::CardSettlement::Network }

# @!attribute network_identifiers
# Network-specific identifiers for this refund.
#
Expand Down Expand Up @@ -2819,7 +2825,7 @@ class CardSettlement < Increase::Internal::Type::BaseModel
# @return [Symbol, Increase::Models::Transaction::Source::CardSettlement::Type]
required :type, enum: -> { Increase::Transaction::Source::CardSettlement::Type }

# @!method initialize(id:, amount:, card_authorization:, card_payment_id:, cashback:, currency:, interchange:, merchant_acceptor_id:, merchant_category_code:, merchant_city:, merchant_country:, merchant_name:, merchant_postal_code:, merchant_state:, network_identifiers:, pending_transaction_id:, presentment_amount:, presentment_currency:, purchase_details:, transaction_id:, type:)
# @!method initialize(id:, amount:, card_authorization:, card_payment_id:, cashback:, currency:, interchange:, merchant_acceptor_id:, merchant_category_code:, merchant_city:, merchant_country:, merchant_name:, merchant_postal_code:, merchant_state:, network:, network_identifiers:, pending_transaction_id:, presentment_amount:, presentment_currency:, purchase_details:, transaction_id:, type:)
# Some parameter documentations has been truncated, see
# {Increase::Models::Transaction::Source::CardSettlement} for more details.
#
Expand Down Expand Up @@ -2857,6 +2863,8 @@ class CardSettlement < Increase::Internal::Type::BaseModel
#
# @param merchant_state [String, nil] The state the merchant resides in.
#
# @param network [Symbol, Increase::Models::Transaction::Source::CardSettlement::Network] The card network on which this transaction was processed.
#
# @param network_identifiers [Increase::Models::Transaction::Source::CardSettlement::NetworkIdentifiers] Network-specific identifiers for this refund.
#
# @param pending_transaction_id [String, nil] The identifier of the Pending Transaction associated with this Transaction.
Expand Down Expand Up @@ -3024,6 +3032,19 @@ module Currency
end
end

# The card network on which this transaction was processed.
#
# @see Increase::Models::Transaction::Source::CardSettlement#network
module Network
extend Increase::Internal::Type::Enum

# Visa
VISA = :visa

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

# @see Increase::Models::Transaction::Source::CardSettlement#network_identifiers
class NetworkIdentifiers < Increase::Internal::Type::BaseModel
# @!attribute acquirer_business_id
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.50.0"
VERSION = "1.51.0"
end
45 changes: 45 additions & 0 deletions rbi/increase/models/card_payment.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -10289,6 +10289,14 @@ module Increase
sig { returns(T.nilable(String)) }
attr_accessor :merchant_state

# The card network on which this transaction was processed.
sig do
returns(
Increase::CardPayment::Element::CardSettlement::Network::TaggedSymbol
)
end
attr_accessor :network

# Network-specific identifiers for this refund.
sig do
returns(
Expand Down Expand Up @@ -10380,6 +10388,8 @@ module Increase
merchant_name: String,
merchant_postal_code: T.nilable(String),
merchant_state: T.nilable(String),
network:
Increase::CardPayment::Element::CardSettlement::Network::OrSymbol,
network_identifiers:
Increase::CardPayment::Element::CardSettlement::NetworkIdentifiers::OrHash,
pending_transaction_id: T.nilable(String),
Expand Down Expand Up @@ -10428,6 +10438,8 @@ module Increase
merchant_postal_code:,
# The state the merchant resides in.
merchant_state:,
# The card network on which this transaction was processed.
network:,
# Network-specific identifiers for this refund.
network_identifiers:,
# The identifier of the Pending Transaction associated with this Transaction.
Expand Down Expand Up @@ -10472,6 +10484,8 @@ module Increase
merchant_name: String,
merchant_postal_code: T.nilable(String),
merchant_state: T.nilable(String),
network:
Increase::CardPayment::Element::CardSettlement::Network::TaggedSymbol,
network_identifiers:
Increase::CardPayment::Element::CardSettlement::NetworkIdentifiers,
pending_transaction_id: T.nilable(String),
Expand Down Expand Up @@ -10811,6 +10825,37 @@ module Increase
end
end

# The card network on which this transaction was processed.
module Network
extend Increase::Internal::Type::Enum

TaggedSymbol =
T.type_alias do
T.all(
Symbol,
Increase::CardPayment::Element::CardSettlement::Network
)
end
OrSymbol = T.type_alias { T.any(Symbol, String) }

# Visa
VISA =
T.let(
:visa,
Increase::CardPayment::Element::CardSettlement::Network::TaggedSymbol
)

sig do
override.returns(
T::Array[
Increase::CardPayment::Element::CardSettlement::Network::TaggedSymbol
]
)
end
def self.values
end
end

class NetworkIdentifiers < Increase::Internal::Type::BaseModel
OrHash =
T.type_alias do
Expand Down
45 changes: 45 additions & 0 deletions rbi/increase/models/transaction.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -5165,6 +5165,14 @@ module Increase
sig { returns(T.nilable(String)) }
attr_accessor :merchant_state

# The card network on which this transaction was processed.
sig do
returns(
Increase::Transaction::Source::CardSettlement::Network::TaggedSymbol
)
end
attr_accessor :network

# Network-specific identifiers for this refund.
sig do
returns(
Expand Down Expand Up @@ -5256,6 +5264,8 @@ module Increase
merchant_name: String,
merchant_postal_code: T.nilable(String),
merchant_state: T.nilable(String),
network:
Increase::Transaction::Source::CardSettlement::Network::OrSymbol,
network_identifiers:
Increase::Transaction::Source::CardSettlement::NetworkIdentifiers::OrHash,
pending_transaction_id: T.nilable(String),
Expand Down Expand Up @@ -5304,6 +5314,8 @@ module Increase
merchant_postal_code:,
# The state the merchant resides in.
merchant_state:,
# The card network on which this transaction was processed.
network:,
# Network-specific identifiers for this refund.
network_identifiers:,
# The identifier of the Pending Transaction associated with this Transaction.
Expand Down Expand Up @@ -5348,6 +5360,8 @@ module Increase
merchant_name: String,
merchant_postal_code: T.nilable(String),
merchant_state: T.nilable(String),
network:
Increase::Transaction::Source::CardSettlement::Network::TaggedSymbol,
network_identifiers:
Increase::Transaction::Source::CardSettlement::NetworkIdentifiers,
pending_transaction_id: T.nilable(String),
Expand Down Expand Up @@ -5687,6 +5701,37 @@ module Increase
end
end

# The card network on which this transaction was processed.
module Network
extend Increase::Internal::Type::Enum

TaggedSymbol =
T.type_alias do
T.all(
Symbol,
Increase::Transaction::Source::CardSettlement::Network
)
end
OrSymbol = T.type_alias { T.any(Symbol, String) }

# Visa
VISA =
T.let(
:visa,
Increase::Transaction::Source::CardSettlement::Network::TaggedSymbol
)

sig do
override.returns(
T::Array[
Increase::Transaction::Source::CardSettlement::Network::TaggedSymbol
]
)
end
def self.values
end
end

class NetworkIdentifiers < Increase::Internal::Type::BaseModel
OrHash =
T.type_alias do
Expand Down
16 changes: 16 additions & 0 deletions sig/increase/models/card_payment.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -3894,6 +3894,7 @@ module Increase
merchant_name: String,
merchant_postal_code: String?,
merchant_state: String?,
network: Increase::Models::CardPayment::Element::CardSettlement::network,
network_identifiers: Increase::CardPayment::Element::CardSettlement::NetworkIdentifiers,
pending_transaction_id: String?,
presentment_amount: Integer,
Expand Down Expand Up @@ -3932,6 +3933,8 @@ module Increase

attr_accessor merchant_state: String?

attr_accessor network: Increase::Models::CardPayment::Element::CardSettlement::network

attr_accessor network_identifiers: Increase::CardPayment::Element::CardSettlement::NetworkIdentifiers

attr_accessor pending_transaction_id: String?
Expand Down Expand Up @@ -3961,6 +3964,7 @@ module Increase
merchant_name: String,
merchant_postal_code: String?,
merchant_state: String?,
network: Increase::Models::CardPayment::Element::CardSettlement::network,
network_identifiers: Increase::CardPayment::Element::CardSettlement::NetworkIdentifiers,
pending_transaction_id: String?,
presentment_amount: Integer,
Expand All @@ -3985,6 +3989,7 @@ module Increase
merchant_name: String,
merchant_postal_code: String?,
merchant_state: String?,
network: Increase::Models::CardPayment::Element::CardSettlement::network,
network_identifiers: Increase::CardPayment::Element::CardSettlement::NetworkIdentifiers,
pending_transaction_id: String?,
presentment_amount: Integer,
Expand Down Expand Up @@ -4121,6 +4126,17 @@ module Increase
end
end

type network = :visa

module Network
extend Increase::Internal::Type::Enum

# Visa
VISA: :visa

def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardSettlement::network]
end

type network_identifiers =
{
acquirer_business_id: String,
Expand Down
Loading