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.74.0"
".": "1.75.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: 217
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-94d559b14c3611637885b103aa75adb26dff816369b1fdb758440e288d1ea83b.yml
openapi_spec_hash: 4e257b20b410526bc54fd6ced9db3a5d
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-0099e03e7fa522327e05de8b00e0d0f8873c9267bbb39a29d22b2aa6bb571d16.yml
openapi_spec_hash: 8691ea0b11ed2570986fadb52e6b87db
config_hash: e1885b38eded054b77308a024c5d80cc
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 1.75.0 (2025-09-12)

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

### Features

* **api:** api update ([21b0ffb](https://github.com/Increase/increase-ruby/commit/21b0ffbca60d9fabfde03cec0620a98e39bffe19))

## 1.74.0 (2025-09-12)

Full Changelog: [v1.73.0...v1.74.0](https://github.com/Increase/increase-ruby/compare/v1.73.0...v1.74.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.74.0)
increase (1.75.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.74.0"
gem "increase", "~> 1.75.0"
```

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

# @!attribute fed_now_transfer_instruction
# A FedNow Transfer Instruction object. This field will be present in the JSON
# response if and only if `category` is equal to `fed_now_transfer_instruction`.
#
# @return [Increase::Models::PendingTransaction::Source::FedNowTransferInstruction, nil]
required :fed_now_transfer_instruction,
-> { Increase::PendingTransaction::Source::FedNowTransferInstruction },
nil?: true

# @!attribute inbound_funds_hold
# An Inbound Funds Hold object. This field will be present in the JSON response if
# and only if `category` is equal to `inbound_funds_hold`. We hold funds for
Expand Down Expand Up @@ -330,7 +339,7 @@ class Source < Increase::Internal::Type::BaseModel
-> { Increase::PendingTransaction::Source::WireTransferInstruction },
nil?: true

# @!method initialize(account_transfer_instruction:, ach_transfer_instruction:, card_authorization:, card_push_transfer_instruction:, category:, check_deposit_instruction:, check_transfer_instruction:, inbound_funds_hold:, inbound_wire_transfer_reversal:, other:, real_time_payments_transfer_instruction:, swift_transfer_instruction:, user_initiated_hold:, wire_transfer_instruction:)
# @!method initialize(account_transfer_instruction:, ach_transfer_instruction:, card_authorization:, card_push_transfer_instruction:, category:, check_deposit_instruction:, check_transfer_instruction:, fed_now_transfer_instruction:, inbound_funds_hold:, inbound_wire_transfer_reversal:, other:, real_time_payments_transfer_instruction:, swift_transfer_instruction:, user_initiated_hold:, wire_transfer_instruction:)
# Some parameter documentations has been truncated, see
# {Increase::Models::PendingTransaction::Source} for more details.
#
Expand All @@ -352,6 +361,8 @@ class Source < Increase::Internal::Type::BaseModel
#
# @param check_transfer_instruction [Increase::Models::PendingTransaction::Source::CheckTransferInstruction, nil] A Check Transfer Instruction object. This field will be present in the JSON resp
#
# @param fed_now_transfer_instruction [Increase::Models::PendingTransaction::Source::FedNowTransferInstruction, nil] A FedNow Transfer Instruction object. This field will be present in the JSON res
#
# @param inbound_funds_hold [Increase::Models::PendingTransaction::Source::InboundFundsHold, nil] An Inbound Funds Hold object. This field will be present in the JSON response if
#
# @param inbound_wire_transfer_reversal [Increase::Models::PendingTransaction::Source::InboundWireTransferReversal, nil] An Inbound Wire Transfer Reversal object. This field will be present in the JSON
Expand Down Expand Up @@ -1623,6 +1634,9 @@ module Category
# Check Transfer Instruction: details will be under the `check_transfer_instruction` object.
CHECK_TRANSFER_INSTRUCTION = :check_transfer_instruction

# FedNow Transfer Instruction: details will be under the `fed_now_transfer_instruction` object.
FED_NOW_TRANSFER_INSTRUCTION = :fed_now_transfer_instruction

# Inbound Funds Hold: details will be under the `inbound_funds_hold` object.
INBOUND_FUNDS_HOLD = :inbound_funds_hold

Expand Down Expand Up @@ -1799,6 +1813,21 @@ module Currency
end
end

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

# @!method initialize(transfer_id:)
# A FedNow Transfer Instruction object. This field will be present in the JSON
# response if and only if `category` is equal to `fed_now_transfer_instruction`.
#
# @param transfer_id [String] The identifier of the FedNow Transfer that led to this Pending Transaction.
end

# @see Increase::Models::PendingTransaction::Source#inbound_funds_hold
class InboundFundsHold < Increase::Internal::Type::BaseModel
# @!attribute amount
Expand Down
3 changes: 3 additions & 0 deletions lib/increase/models/pending_transaction_list_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ module In
# Check Transfer Instruction: details will be under the `check_transfer_instruction` object.
CHECK_TRANSFER_INSTRUCTION = :check_transfer_instruction

# FedNow Transfer Instruction: details will be under the `fed_now_transfer_instruction` object.
FED_NOW_TRANSFER_INSTRUCTION = :fed_now_transfer_instruction

# Inbound Funds Hold: details will be under the `inbound_funds_hold` object.
INBOUND_FUNDS_HOLD = :inbound_funds_hold

Expand Down
35 changes: 34 additions & 1 deletion lib/increase/models/transaction.rb
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,17 @@ class Source < Increase::Internal::Type::BaseModel
},
nil?: true

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

# @!attribute fee_payment
# A Fee Payment object. This field will be present in the JSON response if and
# only if `category` is equal to `fee_payment`. A Fee Payment represents a payment
Expand Down Expand Up @@ -507,7 +518,7 @@ class Source < Increase::Internal::Type::BaseModel
},
nil?: true

# @!method initialize(account_revenue_payment:, 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_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:)
# @!method initialize(account_revenue_payment:, 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:, fed_now_transfer_acknowledgement:, 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_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 @@ -550,6 +561,8 @@ class Source < Increase::Internal::Type::BaseModel
#
# @param check_transfer_deposit [Increase::Models::Transaction::Source::CheckTransferDeposit, nil] A Check Transfer Deposit object. This field will be present in the JSON response
#
# @param fed_now_transfer_acknowledgement [Increase::Models::Transaction::Source::FedNowTransferAcknowledgement, nil] A FedNow Transfer Acknowledgement object. This field will be present in the JSON
#
# @param fee_payment [Increase::Models::Transaction::Source::FeePayment, nil] A Fee Payment object. This field will be present in the JSON response if and onl
#
# @param inbound_ach_transfer [Increase::Models::Transaction::Source::InboundACHTransfer, nil] An Inbound ACH Transfer Intention object. This field will be present in the JSON
Expand Down Expand Up @@ -4247,6 +4260,9 @@ module Category
# Check Deposit Return: details will be under the `check_deposit_return` object.
CHECK_DEPOSIT_RETURN = :check_deposit_return

# FedNow Transfer Acknowledgement: details will be under the `fed_now_transfer_acknowledgement` object.
FED_NOW_TRANSFER_ACKNOWLEDGEMENT = :fed_now_transfer_acknowledgement

# Check Transfer Deposit: details will be under the `check_transfer_deposit` object.
CHECK_TRANSFER_DEPOSIT = :check_transfer_deposit

Expand Down Expand Up @@ -4693,6 +4709,23 @@ module Type
end
end

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

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

# @see Increase::Models::Transaction::Source#fee_payment
class FeePayment < Increase::Internal::Type::BaseModel
# @!attribute amount
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 @@ -121,6 +121,9 @@ module In
# Check Deposit Return: details will be under the `check_deposit_return` object.
CHECK_DEPOSIT_RETURN = :check_deposit_return

# FedNow Transfer Acknowledgement: details will be under the `fed_now_transfer_acknowledgement` object.
FED_NOW_TRANSFER_ACKNOWLEDGEMENT = :fed_now_transfer_acknowledgement

# Check Transfer Deposit: details will be under the `check_transfer_deposit` object.
CHECK_TRANSFER_DEPOSIT = :check_transfer_deposit

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.74.0"
VERSION = "1.75.0"
end
66 changes: 66 additions & 0 deletions rbi/increase/models/pending_transaction.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,27 @@ module Increase
end
attr_writer :check_transfer_instruction

# A FedNow Transfer Instruction object. This field will be present in the JSON
# response if and only if `category` is equal to `fed_now_transfer_instruction`.
sig do
returns(
T.nilable(
Increase::PendingTransaction::Source::FedNowTransferInstruction
)
)
end
attr_reader :fed_now_transfer_instruction

sig do
params(
fed_now_transfer_instruction:
T.nilable(
Increase::PendingTransaction::Source::FedNowTransferInstruction::OrHash
)
).void
end
attr_writer :fed_now_transfer_instruction

# An Inbound Funds Hold object. This field will be present in the JSON response if
# and only if `category` is equal to `inbound_funds_hold`. We hold funds for
# certain transaction types to account for return windows where funds might still
Expand Down Expand Up @@ -565,6 +586,10 @@ module Increase
T.nilable(
Increase::PendingTransaction::Source::CheckTransferInstruction::OrHash
),
fed_now_transfer_instruction:
T.nilable(
Increase::PendingTransaction::Source::FedNowTransferInstruction::OrHash
),
inbound_funds_hold:
T.nilable(
Increase::PendingTransaction::Source::InboundFundsHold::OrHash
Expand Down Expand Up @@ -613,6 +638,9 @@ module Increase
# A Check Transfer Instruction object. This field will be present in the JSON
# response if and only if `category` is equal to `check_transfer_instruction`.
check_transfer_instruction:,
# A FedNow Transfer Instruction object. This field will be present in the JSON
# response if and only if `category` is equal to `fed_now_transfer_instruction`.
fed_now_transfer_instruction:,
# An Inbound Funds Hold object. This field will be present in the JSON response if
# and only if `category` is equal to `inbound_funds_hold`. We hold funds for
# certain transaction types to account for return windows where funds might still
Expand Down Expand Up @@ -672,6 +700,10 @@ module Increase
T.nilable(
Increase::PendingTransaction::Source::CheckTransferInstruction
),
fed_now_transfer_instruction:
T.nilable(
Increase::PendingTransaction::Source::FedNowTransferInstruction
),
inbound_funds_hold:
T.nilable(
Increase::PendingTransaction::Source::InboundFundsHold
Expand Down Expand Up @@ -3057,6 +3089,13 @@ module Increase
Increase::PendingTransaction::Source::Category::TaggedSymbol
)

# FedNow Transfer Instruction: details will be under the `fed_now_transfer_instruction` object.
FED_NOW_TRANSFER_INSTRUCTION =
T.let(
:fed_now_transfer_instruction,
Increase::PendingTransaction::Source::Category::TaggedSymbol
)

# Inbound Funds Hold: details will be under the `inbound_funds_hold` object.
INBOUND_FUNDS_HOLD =
T.let(
Expand Down Expand Up @@ -3400,6 +3439,33 @@ module Increase
end
end

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

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

# A FedNow Transfer Instruction object. This field will be present in the JSON
# response if and only if `category` is equal to `fed_now_transfer_instruction`.
sig { params(transfer_id: String).returns(T.attached_class) }
def self.new(
# The identifier of the FedNow Transfer that led to this Pending Transaction.
transfer_id:
)
end

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

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

# FedNow Transfer Instruction: details will be under the `fed_now_transfer_instruction` object.
FED_NOW_TRANSFER_INSTRUCTION =
T.let(
:fed_now_transfer_instruction,
Increase::PendingTransactionListParams::Category::In::TaggedSymbol
)

# Inbound Funds Hold: details will be under the `inbound_funds_hold` object.
INBOUND_FUNDS_HOLD =
T.let(
Expand Down
Loading