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.24.0"
".": "1.25.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: 202
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-aceb2cce1f9a46b1059a04de979b4c40210190639a4c264944b4402042168804.yml
openapi_spec_hash: 5b4ea7615676e742cea44d107b8038ca
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-147712ba3a72b1dea9a966f9b0ebc99ccebe38e1789426115f3b4c8977ed03c8.yml
openapi_spec_hash: 6c6fc01c8ea4f34b3c2553928945c100
config_hash: a185e9a72778cc4658ea73fb3a7f1354
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 1.25.0 (2025-08-06)

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

### Features

* **api:** api update ([4df799b](https://github.com/Increase/increase-ruby/commit/4df799b8e62c9c406aec3ff033fa514b6180275b))

## 1.24.0 (2025-08-04)

Full Changelog: [v1.23.0...v1.24.0](https://github.com/Increase/increase-ruby/compare/v1.23.0...v1.24.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.24.0)
increase (1.25.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.24.0"
gem "increase", "~> 1.25.0"
```

<!-- x-release-please-end -->
Expand Down
133 changes: 132 additions & 1 deletion lib/increase/models/transaction.rb
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,18 @@ class Source < Increase::Internal::Type::BaseModel
},
nil?: true

# @!attribute card_dispute_financial
# A Card Dispute Financial object. This field will be present in the JSON response
# if and only if `category` is equal to `card_dispute_financial`. Financial event
# related to a Card Dispute.
#
# @return [Increase::Models::Transaction::Source::CardDisputeFinancial, nil]
required :card_dispute_financial,
-> {
Increase::Transaction::Source::CardDisputeFinancial
},
nil?: true

# @!attribute card_dispute_loss
# A Card Dispute Loss object. This field will be present in the JSON response if
# and only if `category` is equal to `card_dispute_loss`. Contains the details of
Expand Down Expand Up @@ -484,7 +496,7 @@ class Source < Increase::Internal::Type::BaseModel
},
nil?: true

# @!method initialize(account_transfer_intention:, ach_transfer_intention:, ach_transfer_rejection:, ach_transfer_return:, card_dispute_acceptance:, card_dispute_loss:, card_push_transfer_acceptance:, card_refund:, card_revenue_payment:, card_settlement:, cashback_payment:, category:, check_deposit_acceptance:, check_deposit_return:, check_transfer_deposit:, fee_payment:, inbound_ach_transfer:, inbound_ach_transfer_return_intention:, inbound_check_adjustment:, inbound_check_deposit_return_intention:, inbound_real_time_payments_transfer_confirmation:, inbound_real_time_payments_transfer_decline:, inbound_wire_reversal:, inbound_wire_transfer:, inbound_wire_transfer_reversal:, interest_payment:, internal_source:, other:, real_time_payments_transfer_acknowledgement:, sample_funds:, swift_transfer_intention:, wire_transfer_intention:)
# @!method initialize(account_transfer_intention:, ach_transfer_intention:, ach_transfer_rejection:, ach_transfer_return:, card_dispute_acceptance:, card_dispute_financial:, card_dispute_loss:, card_push_transfer_acceptance:, card_refund:, card_revenue_payment:, card_settlement:, cashback_payment:, category:, check_deposit_acceptance:, check_deposit_return:, check_transfer_deposit:, fee_payment:, inbound_ach_transfer:, inbound_ach_transfer_return_intention:, inbound_check_adjustment:, inbound_check_deposit_return_intention:, inbound_real_time_payments_transfer_confirmation:, inbound_real_time_payments_transfer_decline:, inbound_wire_reversal:, inbound_wire_transfer:, inbound_wire_transfer_reversal:, interest_payment:, internal_source:, other:, real_time_payments_transfer_acknowledgement:, sample_funds:, swift_transfer_intention:, wire_transfer_intention:)
# Some parameter documentations has been truncated, see
# {Increase::Models::Transaction::Source} for more details.
#
Expand All @@ -503,6 +515,8 @@ class Source < Increase::Internal::Type::BaseModel
#
# @param card_dispute_acceptance [Increase::Models::Transaction::Source::CardDisputeAcceptance, nil] A Card Dispute Acceptance object. This field will be present in the JSON respons
#
# @param card_dispute_financial [Increase::Models::Transaction::Source::CardDisputeFinancial, nil] A Card Dispute Financial object. This field will be present in the JSON response
#
# @param card_dispute_loss [Increase::Models::Transaction::Source::CardDisputeLoss, nil] A Card Dispute Loss object. This field will be present in the JSON response if a
#
# @param card_push_transfer_acceptance [Increase::Models::Transaction::Source::CardPushTransferAcceptance, nil] A Card Push Transfer Acceptance object. This field will be present in the JSON r
Expand Down Expand Up @@ -1049,6 +1063,120 @@ class CardDisputeAcceptance < Increase::Internal::Type::BaseModel
# @param transaction_id [String] The identifier of the Transaction that was created to return the disputed funds
end

# @see Increase::Models::Transaction::Source#card_dispute_financial
class CardDisputeFinancial < Increase::Internal::Type::BaseModel
# @!attribute amount
# The amount of the financial event.
#
# @return [Integer]
required :amount, Integer

# @!attribute card_dispute_id
# The identifier of the Card Dispute the financial event is associated with.
#
# @return [String]
required :card_dispute_id, String

# @!attribute network
# The network that the Card Dispute is associated with.
#
# @return [Symbol, Increase::Models::Transaction::Source::CardDisputeFinancial::Network]
required :network, enum: -> { Increase::Transaction::Source::CardDisputeFinancial::Network }

# @!attribute transaction_id
# The identifier of the Transaction that was created to credit or debit the
# disputed funds to or from your account.
#
# @return [String]
required :transaction_id, String

# @!attribute visa
# Information for events related to card dispute for card payments processed over
# Visa's network. This field will be present in the JSON response if and only if
# `network` is equal to `visa`.
#
# @return [Increase::Models::Transaction::Source::CardDisputeFinancial::Visa, nil]
required :visa, -> { Increase::Transaction::Source::CardDisputeFinancial::Visa }, nil?: true

# @!method initialize(amount:, card_dispute_id:, network:, transaction_id:, visa:)
# Some parameter documentations has been truncated, see
# {Increase::Models::Transaction::Source::CardDisputeFinancial} for more details.
#
# A Card Dispute Financial object. This field will be present in the JSON response
# if and only if `category` is equal to `card_dispute_financial`. Financial event
# related to a Card Dispute.
#
# @param amount [Integer] The amount of the financial event.
#
# @param card_dispute_id [String] The identifier of the Card Dispute the financial event is associated with.
#
# @param network [Symbol, Increase::Models::Transaction::Source::CardDisputeFinancial::Network] The network that the Card Dispute is associated with.
#
# @param transaction_id [String] The identifier of the Transaction that was created to credit or debit the disput
#
# @param visa [Increase::Models::Transaction::Source::CardDisputeFinancial::Visa, nil] Information for events related to card dispute for card payments processed over

# The network that the Card Dispute is associated with.
#
# @see Increase::Models::Transaction::Source::CardDisputeFinancial#network
module Network
extend Increase::Internal::Type::Enum

# Visa: details will be under the `visa` object.
VISA = :visa

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

# @see Increase::Models::Transaction::Source::CardDisputeFinancial#visa
class Visa < Increase::Internal::Type::BaseModel
# @!attribute event_type
# The type of card dispute financial event.
#
# @return [Symbol, Increase::Models::Transaction::Source::CardDisputeFinancial::Visa::EventType]
required :event_type,
enum: -> {
Increase::Transaction::Source::CardDisputeFinancial::Visa::EventType
}

# @!method initialize(event_type:)
# Information for events related to card dispute for card payments processed over
# Visa's network. This field will be present in the JSON response if and only if
# `network` is equal to `visa`.
#
# @param event_type [Symbol, Increase::Models::Transaction::Source::CardDisputeFinancial::Visa::EventType] The type of card dispute financial event.

# The type of card dispute financial event.
#
# @see Increase::Models::Transaction::Source::CardDisputeFinancial::Visa#event_type
module EventType
extend Increase::Internal::Type::Enum

# The user's chargeback was submitted.
CHARGEBACK_SUBMITTED = :chargeback_submitted

# The user declined the merchant's request for pre-arbitration.
MERCHANT_PREARBITRATION_DECLINED = :merchant_prearbitration_declined

# The merchant's request for pre-arbitration was received.
MERCHANT_PREARBITRATION_RECEIVED = :merchant_prearbitration_received

# The transaction was represented by the merchant.
REPRESENTED = :represented

# The user's request for pre-arbitration was declined.
USER_PREARBITRATION_DECLINED = :user_prearbitration_declined

# The user's request for pre-arbitration was submitted.
USER_PREARBITRATION_SUBMITTED = :user_prearbitration_submitted

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

# @see Increase::Models::Transaction::Source#card_dispute_loss
class CardDisputeLoss < Increase::Internal::Type::BaseModel
# @!attribute card_dispute_id
Expand Down Expand Up @@ -4041,6 +4169,9 @@ module Category
# Card Dispute Acceptance: details will be under the `card_dispute_acceptance` object.
CARD_DISPUTE_ACCEPTANCE = :card_dispute_acceptance

# Card Dispute Financial: details will be under the `card_dispute_financial` object.
CARD_DISPUTE_FINANCIAL = :card_dispute_financial

# Card Dispute Loss: details will be under the `card_dispute_loss` object.
CARD_DISPUTE_LOSS = :card_dispute_loss

Expand Down
3 changes: 3 additions & 0 deletions lib/increase/models/transaction_list_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ module In
# Card Dispute Acceptance: details will be under the `card_dispute_acceptance` object.
CARD_DISPUTE_ACCEPTANCE = :card_dispute_acceptance

# Card Dispute Financial: details will be under the `card_dispute_financial` object.
CARD_DISPUTE_FINANCIAL = :card_dispute_financial

# Card Dispute Loss: details will be under the `card_dispute_loss` object.
CARD_DISPUTE_LOSS = :card_dispute_loss

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.24.0"
VERSION = "1.25.0"
end
Loading