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.127.0"
".": "1.128.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: 228
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-f07048979577d746042198f73c1bac07529dd48f26402f60def922a12b6e01e0.yml
openapi_spec_hash: 6d1ca8aa0b64f414db957540bbeab5ee
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-e9e51b3c9b5c8d9e6e0267b62a12a00fedbce419b765192aa4e2470984192e1f.yml
openapi_spec_hash: 84bc91dd8b8a80edf447dddad15c23fc
config_hash: eb2035151c7b49c2f12caf55469b8f9a
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 1.128.0 (2025-10-31)

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

### Features

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

## 1.127.0 (2025-10-31)

Full Changelog: [v1.126.0...v1.127.0](https://github.com/Increase/increase-ruby/compare/v1.126.0...v1.127.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.127.0)
increase (1.128.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.127.0"
gem "increase", "~> 1.128.0"
```

<!-- x-release-please-end -->
Expand Down
377 changes: 311 additions & 66 deletions lib/increase/models/card_dispute.rb

Large diffs are not rendered by default.

132 changes: 102 additions & 30 deletions lib/increase/models/card_dispute_create_params.rb

Large diffs are not rendered by default.

134 changes: 104 additions & 30 deletions lib/increase/models/card_dispute_submit_user_submission_params.rb

Large diffs are not rendered by default.

75 changes: 60 additions & 15 deletions lib/increase/models/card_payment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,8 @@ class Element < Increase::Internal::Type::BaseModel
# If the category of this Transaction source is equal to `other`, this field will
# contain an empty object, otherwise it will contain null.
#
# @return [Object, nil]
required :other, Increase::Internal::Type::Unknown, nil?: true
# @return [Increase::Models::CardPayment::Element::Other, nil]
required :other, -> { Increase::CardPayment::Element::Other }, nil?: true

# @!method initialize(card_authentication:, card_authorization:, card_authorization_expiration:, card_decline:, card_financial:, card_fuel_confirmation:, card_increment:, card_refund:, card_reversal:, card_settlement:, card_validation:, category:, created_at:, other:)
# Some parameter documentations has been truncated, see
Expand Down Expand Up @@ -238,7 +238,7 @@ class Element < Increase::Internal::Type::BaseModel
#
# @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which th
#
# @param other [Object, nil] If the category of this Transaction source is equal to `other`, this field will
# @param other [Increase::Models::CardPayment::Element::Other, nil] If the category of this Transaction source is equal to `other`, this field will

# @see Increase::Models::CardPayment::Element#card_authentication
class CardAuthentication < Increase::Internal::Type::BaseModel
Expand Down Expand Up @@ -1374,8 +1374,10 @@ class NetworkDetails < Increase::Internal::Type::BaseModel
# @!attribute pulse
# Fields specific to the `pulse` network.
#
# @return [Object, nil]
required :pulse, Increase::Internal::Type::Unknown, nil?: true
# @return [Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Pulse, nil]
required :pulse,
-> { Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Pulse },
nil?: true

# @!attribute visa
# Fields specific to the `visa` network.
Expand All @@ -1392,7 +1394,7 @@ class NetworkDetails < Increase::Internal::Type::BaseModel
#
# @param category [Symbol, Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Category] The payment network used to process this card authorization.
#
# @param pulse [Object, nil] Fields specific to the `pulse` network.
# @param pulse [Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Pulse, nil] Fields specific to the `pulse` network.
#
# @param visa [Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa, nil] Fields specific to the `visa` network.

Expand All @@ -1412,6 +1414,12 @@ module Category
# @return [Array<Symbol>]
end

# @see Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails#pulse
class Pulse < Increase::Internal::Type::BaseModel
# @!method initialize
# Fields specific to the `pulse` network.
end

# @see Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails#visa
class Visa < Increase::Internal::Type::BaseModel
# @!attribute electronic_commerce_indicator
Expand Down Expand Up @@ -2684,8 +2692,12 @@ class NetworkDetails < Increase::Internal::Type::BaseModel
# @!attribute pulse
# Fields specific to the `pulse` network.
#
# @return [Object, nil]
required :pulse, Increase::Internal::Type::Unknown, nil?: true
# @return [Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Pulse, nil]
required :pulse,
-> {
Increase::CardPayment::Element::CardDecline::NetworkDetails::Pulse
},
nil?: true

# @!attribute visa
# Fields specific to the `visa` network.
Expand All @@ -2702,7 +2714,7 @@ class NetworkDetails < Increase::Internal::Type::BaseModel
#
# @param category [Symbol, Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Category] The payment network used to process this card authorization.
#
# @param pulse [Object, nil] Fields specific to the `pulse` network.
# @param pulse [Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Pulse, nil] Fields specific to the `pulse` network.
#
# @param visa [Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa, nil] Fields specific to the `visa` network.

Expand All @@ -2722,6 +2734,12 @@ module Category
# @return [Array<Symbol>]
end

# @see Increase::Models::CardPayment::Element::CardDecline::NetworkDetails#pulse
class Pulse < Increase::Internal::Type::BaseModel
# @!method initialize
# Fields specific to the `pulse` network.
end

# @see Increase::Models::CardPayment::Element::CardDecline::NetworkDetails#visa
class Visa < Increase::Internal::Type::BaseModel
# @!attribute electronic_commerce_indicator
Expand Down Expand Up @@ -3940,8 +3958,12 @@ class NetworkDetails < Increase::Internal::Type::BaseModel
# @!attribute pulse
# Fields specific to the `pulse` network.
#
# @return [Object, nil]
required :pulse, Increase::Internal::Type::Unknown, nil?: true
# @return [Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Pulse, nil]
required :pulse,
-> {
Increase::CardPayment::Element::CardFinancial::NetworkDetails::Pulse
},
nil?: true

# @!attribute visa
# Fields specific to the `visa` network.
Expand All @@ -3958,7 +3980,7 @@ class NetworkDetails < Increase::Internal::Type::BaseModel
#
# @param category [Symbol, Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Category] The payment network used to process this card authorization.
#
# @param pulse [Object, nil] Fields specific to the `pulse` network.
# @param pulse [Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Pulse, nil] Fields specific to the `pulse` network.
#
# @param visa [Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Visa, nil] Fields specific to the `visa` network.

Expand All @@ -3978,6 +4000,12 @@ module Category
# @return [Array<Symbol>]
end

# @see Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails#pulse
class Pulse < Increase::Internal::Type::BaseModel
# @!method initialize
# Fields specific to the `pulse` network.
end

# @see Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails#visa
class Visa < Increase::Internal::Type::BaseModel
# @!attribute electronic_commerce_indicator
Expand Down Expand Up @@ -9026,8 +9054,12 @@ class NetworkDetails < Increase::Internal::Type::BaseModel
# @!attribute pulse
# Fields specific to the `pulse` network.
#
# @return [Object, nil]
required :pulse, Increase::Internal::Type::Unknown, nil?: true
# @return [Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Pulse, nil]
required :pulse,
-> {
Increase::CardPayment::Element::CardValidation::NetworkDetails::Pulse
},
nil?: true

# @!attribute visa
# Fields specific to the `visa` network.
Expand All @@ -9044,7 +9076,7 @@ class NetworkDetails < Increase::Internal::Type::BaseModel
#
# @param category [Symbol, Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Category] The payment network used to process this card authorization.
#
# @param pulse [Object, nil] Fields specific to the `pulse` network.
# @param pulse [Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Pulse, nil] Fields specific to the `pulse` network.
#
# @param visa [Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Visa, nil] Fields specific to the `visa` network.

Expand All @@ -9064,6 +9096,12 @@ module Category
# @return [Array<Symbol>]
end

# @see Increase::Models::CardPayment::Element::CardValidation::NetworkDetails#pulse
class Pulse < Increase::Internal::Type::BaseModel
# @!method initialize
# Fields specific to the `pulse` network.
end

# @see Increase::Models::CardPayment::Element::CardValidation::NetworkDetails#visa
class Visa < Increase::Internal::Type::BaseModel
# @!attribute electronic_commerce_indicator
Expand Down Expand Up @@ -9480,6 +9518,13 @@ module Category
# @!method self.values
# @return [Array<Symbol>]
end

# @see Increase::Models::CardPayment::Element#other
class Other < Increase::Internal::Type::BaseModel
# @!method initialize
# If the category of this Transaction source is equal to `other`, this field will
# contain an empty object, otherwise it will contain null.
end
end

# @see Increase::Models::CardPayment#state
Expand Down
27 changes: 21 additions & 6 deletions lib/increase/models/declined_transaction.rb
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,8 @@ class Source < Increase::Internal::Type::BaseModel
# If the category of this Transaction source is equal to `other`, this field will
# contain an empty object, otherwise it will contain null.
#
# @return [Object, nil]
required :other, Increase::Internal::Type::Unknown, nil?: true
# @return [Increase::Models::DeclinedTransaction::Source::Other, nil]
required :other, -> { Increase::DeclinedTransaction::Source::Other }, nil?: true

# @!attribute wire_decline
# A Wire Decline object. This field will be present in the JSON response if and
Expand Down Expand Up @@ -248,7 +248,7 @@ class Source < Increase::Internal::Type::BaseModel
#
# @param inbound_real_time_payments_transfer_decline [Increase::Models::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline, nil] An Inbound Real-Time Payments Transfer Decline object. This field will be presen
#
# @param other [Object, nil] If the category of this Transaction source is equal to `other`, this field will
# @param other [Increase::Models::DeclinedTransaction::Source::Other, nil] If the category of this Transaction source is equal to `other`, this field will
#
# @param wire_decline [Increase::Models::DeclinedTransaction::Source::WireDecline, nil] A Wire Decline object. This field will be present in the JSON response if and on

Expand Down Expand Up @@ -1185,8 +1185,10 @@ class NetworkDetails < Increase::Internal::Type::BaseModel
# @!attribute pulse
# Fields specific to the `pulse` network.
#
# @return [Object, nil]
required :pulse, Increase::Internal::Type::Unknown, nil?: true
# @return [Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails::Pulse, nil]
required :pulse,
-> { Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Pulse },
nil?: true

# @!attribute visa
# Fields specific to the `visa` network.
Expand All @@ -1201,7 +1203,7 @@ class NetworkDetails < Increase::Internal::Type::BaseModel
#
# @param category [Symbol, Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails::Category] The payment network used to process this card authorization.
#
# @param pulse [Object, nil] Fields specific to the `pulse` network.
# @param pulse [Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails::Pulse, nil] Fields specific to the `pulse` network.
#
# @param visa [Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa, nil] Fields specific to the `visa` network.

Expand All @@ -1221,6 +1223,12 @@ module Category
# @return [Array<Symbol>]
end

# @see Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails#pulse
class Pulse < Increase::Internal::Type::BaseModel
# @!method initialize
# Fields specific to the `pulse` network.
end

# @see Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails#visa
class Visa < Increase::Internal::Type::BaseModel
# @!attribute electronic_commerce_indicator
Expand Down Expand Up @@ -2225,6 +2233,13 @@ module Reason
end
end

# @see Increase::Models::DeclinedTransaction::Source#other
class Other < Increase::Internal::Type::BaseModel
# @!method initialize
# If the category of this Transaction source is equal to `other`, this field will
# contain an empty object, otherwise it will contain null.
end

# @see Increase::Models::DeclinedTransaction::Source#wire_decline
class WireDecline < Increase::Internal::Type::BaseModel
# @!attribute inbound_wire_transfer_id
Expand Down
11 changes: 8 additions & 3 deletions lib/increase/models/export_create_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ class ExportCreateParams < Increase::Internal::Type::BaseModel
# @!attribute vendor_csv
# Options for the created export. Required if `category` is equal to `vendor_csv`.
#
# @return [Object, nil]
optional :vendor_csv, Increase::Internal::Type::Unknown
# @return [Increase::Models::ExportCreateParams::VendorCsv, nil]
optional :vendor_csv, -> { Increase::ExportCreateParams::VendorCsv }

# @!method initialize(category:, account_statement_bai2: nil, account_statement_ofx: nil, balance_csv: nil, bookkeeping_account_balance_csv: nil, entity_csv: nil, transaction_csv: nil, vendor_csv: nil, request_options: {})
# Some parameter documentations has been truncated, see
Expand All @@ -81,7 +81,7 @@ class ExportCreateParams < Increase::Internal::Type::BaseModel
# @param transaction_csv [Increase::Models::ExportCreateParams::TransactionCsv] Options for the created export. Required if `category` is equal to
# `transaction\_
#
# @param vendor_csv [Object] Options for the created export. Required if `category` is equal to `vendor_csv`.
# @param vendor_csv [Increase::Models::ExportCreateParams::VendorCsv] Options for the created export. Required if `category` is equal to `vendor_csv`.
#
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]

Expand Down Expand Up @@ -489,6 +489,11 @@ class CreatedAt < Increase::Internal::Type::BaseModel
# @param on_or_before [Time] Return results on or before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_86
end
end

class VendorCsv < Increase::Internal::Type::BaseModel
# @!method initialize
# Options for the created export. Required if `category` is equal to `vendor_csv`.
end
end
end
end
Loading