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.40.0"
".": "1.41.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: 215
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-9a5905fe541badfa11ad0641e7aea625c9fb0bc59ba33b1d43d8e88cbbdd71b2.yml
openapi_spec_hash: 4347de40c3142cd56c2185aac9a6739e
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-289025fcb79a47841395734231b11fd75ad3d80dec533e0eb4533e6afaf82cdf.yml
openapi_spec_hash: 511ad2e7d8c798641f073775ccdab523
config_hash: 0b0a2503208283b283fc5bc6df6a07a5
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 1.41.0 (2025-08-20)

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

### Features

* **api:** api update ([94299db](https://github.com/Increase/increase-ruby/commit/94299db1b856eb40e9a504c7e0cbd582bdf1936b))

## 1.40.0 (2025-08-20)

Full Changelog: [v1.39.0...v1.40.0](https://github.com/Increase/increase-ruby/compare/v1.39.0...v1.40.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.40.0)
increase (1.41.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.40.0"
gem "increase", "~> 1.41.0"
```

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

# @!attribute swift_transfer_return
# A Swift Transfer Return object. This field will be present in the JSON response
# if and only if `category` is equal to `swift_transfer_return`. A Swift Transfer
# Return is created when a Swift Transfer is returned by the receiving bank.
#
# @return [Increase::Models::Transaction::Source::SwiftTransferReturn, nil]
required :swift_transfer_return, -> { Increase::Transaction::Source::SwiftTransferReturn }, nil?: true

# @!attribute wire_transfer_intention
# A Wire Transfer Intention object. This field will be present in the JSON
# response if and only if `category` is equal to `wire_transfer_intention`. A Wire
Expand All @@ -496,7 +504,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_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:)
# @!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:, swift_transfer_return:, wire_transfer_intention:)
# Some parameter documentations has been truncated, see
# {Increase::Models::Transaction::Source} for more details.
#
Expand Down Expand Up @@ -569,6 +577,8 @@ class Source < Increase::Internal::Type::BaseModel
#
# @param swift_transfer_intention [Increase::Models::Transaction::Source::SwiftTransferIntention, nil] A Swift Transfer Intention object. This field will be present in the JSON respon
#
# @param swift_transfer_return [Increase::Models::Transaction::Source::SwiftTransferReturn, nil] A Swift Transfer Return object. This field will be present in the JSON response
#
# @param wire_transfer_intention [Increase::Models::Transaction::Source::WireTransferIntention, nil] A Wire Transfer Intention object. This field will be present in the JSON respons

# @see Increase::Models::Transaction::Source#account_transfer_intention
Expand Down Expand Up @@ -4231,6 +4241,9 @@ module Category
# Swift Transfer Intention: details will be under the `swift_transfer_intention` object.
SWIFT_TRANSFER_INTENTION = :swift_transfer_intention

# Swift Transfer Return: details will be under the `swift_transfer_return` object.
SWIFT_TRANSFER_RETURN = :swift_transfer_return

# Card Push Transfer Acceptance: details will be under the `card_push_transfer_acceptance` object.
CARD_PUSH_TRANSFER_ACCEPTANCE = :card_push_transfer_acceptance

Expand Down Expand Up @@ -5873,6 +5886,22 @@ class SwiftTransferIntention < Increase::Internal::Type::BaseModel
# @param transfer_id [String] The identifier of the Swift Transfer that led to this Transaction.
end

# @see Increase::Models::Transaction::Source#swift_transfer_return
class SwiftTransferReturn < Increase::Internal::Type::BaseModel
# @!attribute transfer_id
# The identifier of the Swift Transfer that led to this Transaction.
#
# @return [String]
required :transfer_id, String

# @!method initialize(transfer_id:)
# A Swift Transfer Return object. This field will be present in the JSON response
# if and only if `category` is equal to `swift_transfer_return`. A Swift Transfer
# Return is created when a Swift Transfer is returned by the receiving bank.
#
# @param transfer_id [String] The identifier of the Swift Transfer that led to this Transaction.
end

# @see Increase::Models::Transaction::Source#wire_transfer_intention
class WireTransferIntention < Increase::Internal::Type::BaseModel
# @!attribute account_number
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 @@ -172,6 +172,9 @@ module In
# Swift Transfer Intention: details will be under the `swift_transfer_intention` object.
SWIFT_TRANSFER_INTENTION = :swift_transfer_intention

# Swift Transfer Return: details will be under the `swift_transfer_return` object.
SWIFT_TRANSFER_RETURN = :swift_transfer_return

# Card Push Transfer Acceptance: details will be under the `card_push_transfer_acceptance` object.
CARD_PUSH_TRANSFER_ACCEPTANCE = :card_push_transfer_acceptance

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.40.0"
VERSION = "1.41.0"
end
63 changes: 63 additions & 0 deletions rbi/increase/models/transaction.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -811,6 +811,24 @@ module Increase
end
attr_writer :swift_transfer_intention

# A Swift Transfer Return object. This field will be present in the JSON response
# if and only if `category` is equal to `swift_transfer_return`. A Swift Transfer
# Return is created when a Swift Transfer is returned by the receiving bank.
sig do
returns(T.nilable(Increase::Transaction::Source::SwiftTransferReturn))
end
attr_reader :swift_transfer_return

sig do
params(
swift_transfer_return:
T.nilable(
Increase::Transaction::Source::SwiftTransferReturn::OrHash
)
).void
end
attr_writer :swift_transfer_return

# A Wire Transfer Intention object. This field will be present in the JSON
# response if and only if `category` is equal to `wire_transfer_intention`. A Wire
# Transfer initiated via Increase and sent to a different bank.
Expand Down Expand Up @@ -943,6 +961,10 @@ module Increase
T.nilable(
Increase::Transaction::Source::SwiftTransferIntention::OrHash
),
swift_transfer_return:
T.nilable(
Increase::Transaction::Source::SwiftTransferReturn::OrHash
),
wire_transfer_intention:
T.nilable(
Increase::Transaction::Source::WireTransferIntention::OrHash
Expand Down Expand Up @@ -1110,6 +1132,10 @@ module Increase
# response if and only if `category` is equal to `swift_transfer_intention`. A
# Swift Transfer initiated via Increase.
swift_transfer_intention:,
# A Swift Transfer Return object. This field will be present in the JSON response
# if and only if `category` is equal to `swift_transfer_return`. A Swift Transfer
# Return is created when a Swift Transfer is returned by the receiving bank.
swift_transfer_return:,
# A Wire Transfer Intention object. This field will be present in the JSON
# response if and only if `category` is equal to `wire_transfer_intention`. A Wire
# Transfer initiated via Increase and sent to a different bank.
Expand Down Expand Up @@ -1202,6 +1228,8 @@ module Increase
T.nilable(
Increase::Transaction::Source::SwiftTransferIntention
),
swift_transfer_return:
T.nilable(Increase::Transaction::Source::SwiftTransferReturn),
wire_transfer_intention:
T.nilable(Increase::Transaction::Source::WireTransferIntention)
}
Expand Down Expand Up @@ -7883,6 +7911,13 @@ module Increase
Increase::Transaction::Source::Category::TaggedSymbol
)

# Swift Transfer Return: details will be under the `swift_transfer_return` object.
SWIFT_TRANSFER_RETURN =
T.let(
:swift_transfer_return,
Increase::Transaction::Source::Category::TaggedSymbol
)

# Card Push Transfer Acceptance: details will be under the `card_push_transfer_acceptance` object.
CARD_PUSH_TRANSFER_ACCEPTANCE =
T.let(
Expand Down Expand Up @@ -10655,6 +10690,34 @@ module Increase
end
end

class SwiftTransferReturn < Increase::Internal::Type::BaseModel
OrHash =
T.type_alias do
T.any(
Increase::Transaction::Source::SwiftTransferReturn,
Increase::Internal::AnyHash
)
end

# The identifier of the Swift Transfer that led to this Transaction.
sig { returns(String) }
attr_accessor :transfer_id

# A Swift Transfer Return object. This field will be present in the JSON response
# if and only if `category` is equal to `swift_transfer_return`. A Swift Transfer
# Return is created when a Swift Transfer is returned by the receiving bank.
sig { params(transfer_id: String).returns(T.attached_class) }
def self.new(
# The identifier of the Swift Transfer that led to this Transaction.
transfer_id:
)
end

sig { override.returns({ transfer_id: String }) }
def to_hash
end
end

class WireTransferIntention < Increase::Internal::Type::BaseModel
OrHash =
T.type_alias do
Expand Down
7 changes: 7 additions & 0 deletions rbi/increase/models/transaction_list_params.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,13 @@ module Increase
Increase::TransactionListParams::Category::In::TaggedSymbol
)

# Swift Transfer Return: details will be under the `swift_transfer_return` object.
SWIFT_TRANSFER_RETURN =
T.let(
:swift_transfer_return,
Increase::TransactionListParams::Category::In::TaggedSymbol
)

# Card Push Transfer Acceptance: details will be under the `card_push_transfer_acceptance` object.
CARD_PUSH_TRANSFER_ACCEPTANCE =
T.let(
Expand Down
19 changes: 19 additions & 0 deletions sig/increase/models/transaction.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ module Increase
real_time_payments_transfer_acknowledgement: Increase::Transaction::Source::RealTimePaymentsTransferAcknowledgement?,
sample_funds: Increase::Transaction::Source::SampleFunds?,
swift_transfer_intention: Increase::Transaction::Source::SwiftTransferIntention?,
swift_transfer_return: Increase::Transaction::Source::SwiftTransferReturn?,
wire_transfer_intention: Increase::Transaction::Source::WireTransferIntention?
}

Expand Down Expand Up @@ -206,6 +207,8 @@ module Increase

attr_accessor swift_transfer_intention: Increase::Transaction::Source::SwiftTransferIntention?

attr_accessor swift_transfer_return: Increase::Transaction::Source::SwiftTransferReturn?

attr_accessor wire_transfer_intention: Increase::Transaction::Source::WireTransferIntention?

def initialize: (
Expand Down Expand Up @@ -241,6 +244,7 @@ module Increase
real_time_payments_transfer_acknowledgement: Increase::Transaction::Source::RealTimePaymentsTransferAcknowledgement?,
sample_funds: Increase::Transaction::Source::SampleFunds?,
swift_transfer_intention: Increase::Transaction::Source::SwiftTransferIntention?,
swift_transfer_return: Increase::Transaction::Source::SwiftTransferReturn?,
wire_transfer_intention: Increase::Transaction::Source::WireTransferIntention?
) -> void

Expand Down Expand Up @@ -277,6 +281,7 @@ module Increase
real_time_payments_transfer_acknowledgement: Increase::Transaction::Source::RealTimePaymentsTransferAcknowledgement?,
sample_funds: Increase::Transaction::Source::SampleFunds?,
swift_transfer_intention: Increase::Transaction::Source::SwiftTransferIntention?,
swift_transfer_return: Increase::Transaction::Source::SwiftTransferReturn?,
wire_transfer_intention: Increase::Transaction::Source::WireTransferIntention?
}

Expand Down Expand Up @@ -3113,6 +3118,7 @@ module Increase
| :sample_funds
| :wire_transfer_intention
| :swift_transfer_intention
| :swift_transfer_return
| :card_push_transfer_acceptance
| :other

Expand Down Expand Up @@ -3209,6 +3215,9 @@ module Increase
# Swift Transfer Intention: details will be under the `swift_transfer_intention` object.
SWIFT_TRANSFER_INTENTION: :swift_transfer_intention

# Swift Transfer Return: details will be under the `swift_transfer_return` object.
SWIFT_TRANSFER_RETURN: :swift_transfer_return

# Card Push Transfer Acceptance: details will be under the `card_push_transfer_acceptance` object.
CARD_PUSH_TRANSFER_ACCEPTANCE: :card_push_transfer_acceptance

Expand Down Expand Up @@ -4463,6 +4472,16 @@ module Increase
def to_hash: -> { transfer_id: String }
end

type swift_transfer_return = { transfer_id: String }

class SwiftTransferReturn < Increase::Internal::Type::BaseModel
attr_accessor transfer_id: String

def initialize: (transfer_id: String) -> void

def to_hash: -> { transfer_id: String }
end

type wire_transfer_intention =
{
account_number: String,
Expand Down
4 changes: 4 additions & 0 deletions sig/increase/models/transaction_list_params.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ module Increase
| :sample_funds
| :wire_transfer_intention
| :swift_transfer_intention
| :swift_transfer_return
| :card_push_transfer_acceptance
| :other

Expand Down Expand Up @@ -208,6 +209,9 @@ module Increase
# Swift Transfer Intention: details will be under the `swift_transfer_intention` object.
SWIFT_TRANSFER_INTENTION: :swift_transfer_intention

# Swift Transfer Return: details will be under the `swift_transfer_return` object.
SWIFT_TRANSFER_RETURN: :swift_transfer_return

# Card Push Transfer Acceptance: details will be under the `card_push_transfer_acceptance` object.
CARD_PUSH_TRANSFER_ACCEPTANCE: :card_push_transfer_acceptance

Expand Down