From c64de918f9abb0fbe0eb7dfbaee91f3f773331c7 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 17 Sep 2025 01:30:12 +0000 Subject: [PATCH 1/2] feat(api): api update --- .stats.yml | 4 +- lib/increase/models/declined_transaction.rb | 69 +++++++- .../declined_transaction_list_params.rb | 3 + lib/increase/models/event.rb | 6 + lib/increase/models/event_list_params.rb | 6 + lib/increase/models/event_subscription.rb | 6 + .../event_subscription_create_params.rb | 6 + lib/increase/models/transaction.rb | 37 +++- .../models/transaction_list_params.rb | 3 + rbi/increase/models/declined_transaction.rbi | 159 ++++++++++++++++++ .../declined_transaction_list_params.rbi | 7 + rbi/increase/models/event.rbi | 14 ++ rbi/increase/models/event_list_params.rbi | 14 ++ rbi/increase/models/event_subscription.rbi | 14 ++ .../event_subscription_create_params.rbi | 14 ++ rbi/increase/models/transaction.rbi | 75 +++++++++ .../models/transaction_list_params.rbi | 7 + sig/increase/models/declined_transaction.rbs | 63 +++++++ .../declined_transaction_list_params.rbs | 4 + sig/increase/models/event.rbs | 8 + sig/increase/models/event_list_params.rbs | 8 + sig/increase/models/event_subscription.rbs | 8 + .../event_subscription_create_params.rbs | 8 + sig/increase/models/transaction.rbs | 19 +++ .../models/transaction_list_params.rbs | 4 + 25 files changed, 562 insertions(+), 4 deletions(-) diff --git a/.stats.yml b/.stats.yml index 018fcf798..14e640b1e 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 217 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-6d19e08b9b1b9aa23a3a0c86db6eb3500b3a4aaf2d9f549a0177c5bebe67d098.yml -openapi_spec_hash: eec4190f1aca04351de8891c6a9b37da +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-61210b27ac135ed841515ad3c3dfedaf42dc1398b0a3ed63bbd6c154d1b31a6a.yml +openapi_spec_hash: b0d2957f6269776252f0ddaa6489772a config_hash: e1885b38eded054b77308a024c5d80cc diff --git a/lib/increase/models/declined_transaction.rb b/lib/increase/models/declined_transaction.rb index aa653bbcf..c86ac0e4d 100644 --- a/lib/increase/models/declined_transaction.rb +++ b/lib/increase/models/declined_transaction.rb @@ -190,6 +190,16 @@ class Source < Increase::Internal::Type::BaseModel -> { Increase::DeclinedTransaction::Source::CheckDepositRejection }, nil?: true + # @!attribute inbound_fednow_transfer_decline + # An Inbound FedNow Transfer Decline object. This field will be present in the + # JSON response if and only if `category` is equal to + # `inbound_fednow_transfer_decline`. + # + # @return [Increase::Models::DeclinedTransaction::Source::InboundFednowTransferDecline, nil] + required :inbound_fednow_transfer_decline, + -> { Increase::DeclinedTransaction::Source::InboundFednowTransferDecline }, + nil?: true + # @!attribute inbound_real_time_payments_transfer_decline # An Inbound Real-Time Payments Transfer Decline object. This field will be # present in the JSON response if and only if `category` is equal to @@ -214,7 +224,7 @@ class Source < Increase::Internal::Type::BaseModel # @return [Increase::Models::DeclinedTransaction::Source::WireDecline, nil] required :wire_decline, -> { Increase::DeclinedTransaction::Source::WireDecline }, nil?: true - # @!method initialize(ach_decline:, card_decline:, category:, check_decline:, check_deposit_rejection:, inbound_real_time_payments_transfer_decline:, other:, wire_decline:) + # @!method initialize(ach_decline:, card_decline:, category:, check_decline:, check_deposit_rejection:, inbound_fednow_transfer_decline:, inbound_real_time_payments_transfer_decline:, other:, wire_decline:) # Some parameter documentations has been truncated, see # {Increase::Models::DeclinedTransaction::Source} for more details. # @@ -234,6 +244,8 @@ class Source < Increase::Internal::Type::BaseModel # # @param check_deposit_rejection [Increase::Models::DeclinedTransaction::Source::CheckDepositRejection, nil] A Check Deposit Rejection object. This field will be present in the JSON respons # + # @param inbound_fednow_transfer_decline [Increase::Models::DeclinedTransaction::Source::InboundFednowTransferDecline, nil] An Inbound FedNow Transfer Decline object. This field will be present in the JSO + # # @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 @@ -1644,6 +1656,9 @@ module Category # Inbound Real-Time Payments Transfer Decline: details will be under the `inbound_real_time_payments_transfer_decline` object. INBOUND_REAL_TIME_PAYMENTS_TRANSFER_DECLINE = :inbound_real_time_payments_transfer_decline + # Inbound FedNow Transfer Decline: details will be under the `inbound_fednow_transfer_decline` object. + INBOUND_FEDNOW_TRANSFER_DECLINE = :inbound_fednow_transfer_decline + # Wire Decline: details will be under the `wire_decline` object. WIRE_DECLINE = :wire_decline @@ -1925,6 +1940,58 @@ module Reason end end + # @see Increase::Models::DeclinedTransaction::Source#inbound_fednow_transfer_decline + class InboundFednowTransferDecline < Increase::Internal::Type::BaseModel + # @!attribute reason + # Why the transfer was declined. + # + # @return [Symbol, Increase::Models::DeclinedTransaction::Source::InboundFednowTransferDecline::Reason] + required :reason, enum: -> { Increase::DeclinedTransaction::Source::InboundFednowTransferDecline::Reason } + + # @!attribute transfer_id + # The identifier of the FedNow Transfer that led to this declined transaction. + # + # @return [String] + required :transfer_id, String + + # @!method initialize(reason:, transfer_id:) + # An Inbound FedNow Transfer Decline object. This field will be present in the + # JSON response if and only if `category` is equal to + # `inbound_fednow_transfer_decline`. + # + # @param reason [Symbol, Increase::Models::DeclinedTransaction::Source::InboundFednowTransferDecline::Reason] Why the transfer was declined. + # + # @param transfer_id [String] The identifier of the FedNow Transfer that led to this declined transaction. + + # Why the transfer was declined. + # + # @see Increase::Models::DeclinedTransaction::Source::InboundFednowTransferDecline#reason + module Reason + extend Increase::Internal::Type::Enum + + # The account number is canceled. + ACCOUNT_NUMBER_CANCELED = :account_number_canceled + + # The account number is disabled. + ACCOUNT_NUMBER_DISABLED = :account_number_disabled + + # Your account is restricted. + ACCOUNT_RESTRICTED = :account_restricted + + # Your account is inactive. + GROUP_LOCKED = :group_locked + + # The account's entity is not active. + ENTITY_NOT_ACTIVE = :entity_not_active + + # Your account is not enabled to receive FedNow transfers. + FEDNOW_NOT_ENABLED = :fednow_not_enabled + + # @!method self.values + # @return [Array] + end + end + # @see Increase::Models::DeclinedTransaction::Source#inbound_real_time_payments_transfer_decline class InboundRealTimePaymentsTransferDecline < Increase::Internal::Type::BaseModel # @!attribute amount diff --git a/lib/increase/models/declined_transaction_list_params.rb b/lib/increase/models/declined_transaction_list_params.rb index c7ecd84a9..5ff149e52 100644 --- a/lib/increase/models/declined_transaction_list_params.rb +++ b/lib/increase/models/declined_transaction_list_params.rb @@ -93,6 +93,9 @@ module In # Inbound Real-Time Payments Transfer Decline: details will be under the `inbound_real_time_payments_transfer_decline` object. INBOUND_REAL_TIME_PAYMENTS_TRANSFER_DECLINE = :inbound_real_time_payments_transfer_decline + # Inbound FedNow Transfer Decline: details will be under the `inbound_fednow_transfer_decline` object. + INBOUND_FEDNOW_TRANSFER_DECLINE = :inbound_fednow_transfer_decline + # Wire Decline: details will be under the `wire_decline` object. WIRE_DECLINE = :wire_decline diff --git a/lib/increase/models/event.rb b/lib/increase/models/event.rb index 638228f60..ea68fe5a4 100644 --- a/lib/increase/models/event.rb +++ b/lib/increase/models/event.rb @@ -223,6 +223,12 @@ module Category # Occurs whenever an Inbound Check Deposit is updated. INBOUND_CHECK_DEPOSIT_UPDATED = :"inbound_check_deposit.updated" + # Occurs whenever an Inbound FedNow Transfer is created. + INBOUND_FEDNOW_TRANSFER_CREATED = :"inbound_fednow_transfer.created" + + # Occurs whenever an Inbound FedNow Transfer is updated. + INBOUND_FEDNOW_TRANSFER_UPDATED = :"inbound_fednow_transfer.updated" + # Occurs whenever an Inbound Mail Item is created. INBOUND_MAIL_ITEM_CREATED = :"inbound_mail_item.created" diff --git a/lib/increase/models/event_list_params.rb b/lib/increase/models/event_list_params.rb index 5b138bdeb..3cc090661 100644 --- a/lib/increase/models/event_list_params.rb +++ b/lib/increase/models/event_list_params.rb @@ -225,6 +225,12 @@ module In # Occurs whenever an Inbound Check Deposit is updated. INBOUND_CHECK_DEPOSIT_UPDATED = :"inbound_check_deposit.updated" + # Occurs whenever an Inbound FedNow Transfer is created. + INBOUND_FEDNOW_TRANSFER_CREATED = :"inbound_fednow_transfer.created" + + # Occurs whenever an Inbound FedNow Transfer is updated. + INBOUND_FEDNOW_TRANSFER_UPDATED = :"inbound_fednow_transfer.updated" + # Occurs whenever an Inbound Mail Item is created. INBOUND_MAIL_ITEM_CREATED = :"inbound_mail_item.created" diff --git a/lib/increase/models/event_subscription.rb b/lib/increase/models/event_subscription.rb index 3b7488ebf..45c6bab66 100644 --- a/lib/increase/models/event_subscription.rb +++ b/lib/increase/models/event_subscription.rb @@ -246,6 +246,12 @@ module SelectedEventCategory # Occurs whenever an Inbound Check Deposit is updated. INBOUND_CHECK_DEPOSIT_UPDATED = :"inbound_check_deposit.updated" + # Occurs whenever an Inbound FedNow Transfer is created. + INBOUND_FEDNOW_TRANSFER_CREATED = :"inbound_fednow_transfer.created" + + # Occurs whenever an Inbound FedNow Transfer is updated. + INBOUND_FEDNOW_TRANSFER_UPDATED = :"inbound_fednow_transfer.updated" + # Occurs whenever an Inbound Mail Item is created. INBOUND_MAIL_ITEM_CREATED = :"inbound_mail_item.created" diff --git a/lib/increase/models/event_subscription_create_params.rb b/lib/increase/models/event_subscription_create_params.rb index 63f89a706..ea85f5f4d 100644 --- a/lib/increase/models/event_subscription_create_params.rb +++ b/lib/increase/models/event_subscription_create_params.rb @@ -207,6 +207,12 @@ module SelectedEventCategory # Occurs whenever an Inbound Check Deposit is updated. INBOUND_CHECK_DEPOSIT_UPDATED = :"inbound_check_deposit.updated" + # Occurs whenever an Inbound FedNow Transfer is created. + INBOUND_FEDNOW_TRANSFER_CREATED = :"inbound_fednow_transfer.created" + + # Occurs whenever an Inbound FedNow Transfer is updated. + INBOUND_FEDNOW_TRANSFER_UPDATED = :"inbound_fednow_transfer.updated" + # Occurs whenever an Inbound Mail Item is created. INBOUND_MAIL_ITEM_CREATED = :"inbound_mail_item.created" diff --git a/lib/increase/models/transaction.rb b/lib/increase/models/transaction.rb index 6d6e01324..0a0081a5d 100644 --- a/lib/increase/models/transaction.rb +++ b/lib/increase/models/transaction.rb @@ -401,6 +401,18 @@ class Source < Increase::Internal::Type::BaseModel -> { Increase::Transaction::Source::InboundCheckDepositReturnIntention }, nil?: true + # @!attribute inbound_fednow_transfer_confirmation + # An Inbound FedNow Transfer Confirmation object. This field will be present in + # the JSON response if and only if `category` is equal to + # `inbound_fednow_transfer_confirmation`. An Inbound FedNow Transfer Confirmation + # is created when a FedNow transfer is initiated at another bank and received by + # Increase. + # + # @return [Increase::Models::Transaction::Source::InboundFednowTransferConfirmation, nil] + required :inbound_fednow_transfer_confirmation, + -> { Increase::Transaction::Source::InboundFednowTransferConfirmation }, + nil?: true + # @!attribute inbound_real_time_payments_transfer_confirmation # An Inbound Real-Time Payments Transfer Confirmation object. This field will be # present in the JSON response if and only if `category` is equal to @@ -518,7 +530,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:, fednow_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:) + # @!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:, fednow_transfer_acknowledgement:, fee_payment:, inbound_ach_transfer:, inbound_ach_transfer_return_intention:, inbound_check_adjustment:, inbound_check_deposit_return_intention:, inbound_fednow_transfer_confirmation:, 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. # @@ -573,6 +585,8 @@ class Source < Increase::Internal::Type::BaseModel # # @param inbound_check_deposit_return_intention [Increase::Models::Transaction::Source::InboundCheckDepositReturnIntention, nil] An Inbound Check Deposit Return Intention object. This field will be present in # + # @param inbound_fednow_transfer_confirmation [Increase::Models::Transaction::Source::InboundFednowTransferConfirmation, nil] An Inbound FedNow Transfer Confirmation object. This field will be present in th + # # @param inbound_real_time_payments_transfer_confirmation [Increase::Models::Transaction::Source::InboundRealTimePaymentsTransferConfirmation, nil] An Inbound Real-Time Payments Transfer Confirmation object. This field will be p # # @param inbound_wire_reversal [Increase::Models::Transaction::Source::InboundWireReversal, nil] An Inbound Wire Reversal object. This field will be present in the JSON response @@ -4281,6 +4295,9 @@ module Category # Inbound Check Adjustment: details will be under the `inbound_check_adjustment` object. INBOUND_CHECK_ADJUSTMENT = :inbound_check_adjustment + # Inbound FedNow Transfer Confirmation: details will be under the `inbound_fednow_transfer_confirmation` object. + INBOUND_FEDNOW_TRANSFER_CONFIRMATION = :inbound_fednow_transfer_confirmation + # Inbound Real-Time Payments Transfer Confirmation: details will be under the `inbound_real_time_payments_transfer_confirmation` object. INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CONFIRMATION = :inbound_real_time_payments_transfer_confirmation @@ -5068,6 +5085,24 @@ class InboundCheckDepositReturnIntention < Increase::Internal::Type::BaseModel # @param transfer_id [String, nil] The identifier of the Check Transfer object that was deposited. end + # @see Increase::Models::Transaction::Source#inbound_fednow_transfer_confirmation + class InboundFednowTransferConfirmation < 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:) + # An Inbound FedNow Transfer Confirmation object. This field will be present in + # the JSON response if and only if `category` is equal to + # `inbound_fednow_transfer_confirmation`. An Inbound FedNow Transfer Confirmation + # is created when a FedNow transfer is initiated at another bank and received by + # Increase. + # + # @param transfer_id [String] The identifier of the FedNow Transfer that led to this Transaction. + end + # @see Increase::Models::Transaction::Source#inbound_real_time_payments_transfer_confirmation class InboundRealTimePaymentsTransferConfirmation < Increase::Internal::Type::BaseModel # @!attribute amount diff --git a/lib/increase/models/transaction_list_params.rb b/lib/increase/models/transaction_list_params.rb index cf779cdd3..ac79b5f12 100644 --- a/lib/increase/models/transaction_list_params.rb +++ b/lib/increase/models/transaction_list_params.rb @@ -142,6 +142,9 @@ module In # Inbound Check Adjustment: details will be under the `inbound_check_adjustment` object. INBOUND_CHECK_ADJUSTMENT = :inbound_check_adjustment + # Inbound FedNow Transfer Confirmation: details will be under the `inbound_fednow_transfer_confirmation` object. + INBOUND_FEDNOW_TRANSFER_CONFIRMATION = :inbound_fednow_transfer_confirmation + # Inbound Real-Time Payments Transfer Confirmation: details will be under the `inbound_real_time_payments_transfer_confirmation` object. INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CONFIRMATION = :inbound_real_time_payments_transfer_confirmation diff --git a/rbi/increase/models/declined_transaction.rbi b/rbi/increase/models/declined_transaction.rbi index cb36507d0..82f7dda84 100644 --- a/rbi/increase/models/declined_transaction.rbi +++ b/rbi/increase/models/declined_transaction.rbi @@ -303,6 +303,28 @@ module Increase end attr_writer :check_deposit_rejection + # An Inbound FedNow Transfer Decline object. This field will be present in the + # JSON response if and only if `category` is equal to + # `inbound_fednow_transfer_decline`. + sig do + returns( + T.nilable( + Increase::DeclinedTransaction::Source::InboundFednowTransferDecline + ) + ) + end + attr_reader :inbound_fednow_transfer_decline + + sig do + params( + inbound_fednow_transfer_decline: + T.nilable( + Increase::DeclinedTransaction::Source::InboundFednowTransferDecline::OrHash + ) + ).void + end + attr_writer :inbound_fednow_transfer_decline + # An Inbound Real-Time Payments Transfer Decline object. This field will be # present in the JSON response if and only if `category` is equal to # `inbound_real_time_payments_transfer_decline`. @@ -371,6 +393,10 @@ module Increase T.nilable( Increase::DeclinedTransaction::Source::CheckDepositRejection::OrHash ), + inbound_fednow_transfer_decline: + T.nilable( + Increase::DeclinedTransaction::Source::InboundFednowTransferDecline::OrHash + ), inbound_real_time_payments_transfer_decline: T.nilable( Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::OrHash @@ -398,6 +424,10 @@ module Increase # A Check Deposit Rejection object. This field will be present in the JSON # response if and only if `category` is equal to `check_deposit_rejection`. check_deposit_rejection:, + # An Inbound FedNow Transfer Decline object. This field will be present in the + # JSON response if and only if `category` is equal to + # `inbound_fednow_transfer_decline`. + inbound_fednow_transfer_decline:, # An Inbound Real-Time Payments Transfer Decline object. This field will be # present in the JSON response if and only if `category` is equal to # `inbound_real_time_payments_transfer_decline`. @@ -426,6 +456,10 @@ module Increase T.nilable( Increase::DeclinedTransaction::Source::CheckDepositRejection ), + inbound_fednow_transfer_decline: + T.nilable( + Increase::DeclinedTransaction::Source::InboundFednowTransferDecline + ), inbound_real_time_payments_transfer_decline: T.nilable( Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline @@ -3116,6 +3150,13 @@ module Increase Increase::DeclinedTransaction::Source::Category::TaggedSymbol ) + # Inbound FedNow Transfer Decline: details will be under the `inbound_fednow_transfer_decline` object. + INBOUND_FEDNOW_TRANSFER_DECLINE = + T.let( + :inbound_fednow_transfer_decline, + Increase::DeclinedTransaction::Source::Category::TaggedSymbol + ) + # Wire Decline: details will be under the `wire_decline` object. WIRE_DECLINE = T.let( @@ -3660,6 +3701,124 @@ module Increase end end + class InboundFednowTransferDecline < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::DeclinedTransaction::Source::InboundFednowTransferDecline, + Increase::Internal::AnyHash + ) + end + + # Why the transfer was declined. + sig do + returns( + Increase::DeclinedTransaction::Source::InboundFednowTransferDecline::Reason::TaggedSymbol + ) + end + attr_accessor :reason + + # The identifier of the FedNow Transfer that led to this declined transaction. + sig { returns(String) } + attr_accessor :transfer_id + + # An Inbound FedNow Transfer Decline object. This field will be present in the + # JSON response if and only if `category` is equal to + # `inbound_fednow_transfer_decline`. + sig do + params( + reason: + Increase::DeclinedTransaction::Source::InboundFednowTransferDecline::Reason::OrSymbol, + transfer_id: String + ).returns(T.attached_class) + end + def self.new( + # Why the transfer was declined. + reason:, + # The identifier of the FedNow Transfer that led to this declined transaction. + transfer_id: + ) + end + + sig do + override.returns( + { + reason: + Increase::DeclinedTransaction::Source::InboundFednowTransferDecline::Reason::TaggedSymbol, + transfer_id: String + } + ) + end + def to_hash + end + + # Why the transfer was declined. + module Reason + extend Increase::Internal::Type::Enum + + TaggedSymbol = + T.type_alias do + T.all( + Symbol, + Increase::DeclinedTransaction::Source::InboundFednowTransferDecline::Reason + ) + end + OrSymbol = T.type_alias { T.any(Symbol, String) } + + # The account number is canceled. + ACCOUNT_NUMBER_CANCELED = + T.let( + :account_number_canceled, + Increase::DeclinedTransaction::Source::InboundFednowTransferDecline::Reason::TaggedSymbol + ) + + # The account number is disabled. + ACCOUNT_NUMBER_DISABLED = + T.let( + :account_number_disabled, + Increase::DeclinedTransaction::Source::InboundFednowTransferDecline::Reason::TaggedSymbol + ) + + # Your account is restricted. + ACCOUNT_RESTRICTED = + T.let( + :account_restricted, + Increase::DeclinedTransaction::Source::InboundFednowTransferDecline::Reason::TaggedSymbol + ) + + # Your account is inactive. + GROUP_LOCKED = + T.let( + :group_locked, + Increase::DeclinedTransaction::Source::InboundFednowTransferDecline::Reason::TaggedSymbol + ) + + # The account's entity is not active. + ENTITY_NOT_ACTIVE = + T.let( + :entity_not_active, + Increase::DeclinedTransaction::Source::InboundFednowTransferDecline::Reason::TaggedSymbol + ) + + # Your account is not enabled to receive FedNow transfers. + FEDNOW_NOT_ENABLED = + T.let( + :fednow_not_enabled, + Increase::DeclinedTransaction::Source::InboundFednowTransferDecline::Reason::TaggedSymbol + ) + + sig do + override.returns( + T::Array[ + Increase::DeclinedTransaction::Source::InboundFednowTransferDecline::Reason::TaggedSymbol + ] + ) + end + def self.values + end + end + end + class InboundRealTimePaymentsTransferDecline < Increase::Internal::Type::BaseModel OrHash = T.type_alias do diff --git a/rbi/increase/models/declined_transaction_list_params.rbi b/rbi/increase/models/declined_transaction_list_params.rbi index 1048f5ced..3e32ae167 100644 --- a/rbi/increase/models/declined_transaction_list_params.rbi +++ b/rbi/increase/models/declined_transaction_list_params.rbi @@ -211,6 +211,13 @@ module Increase Increase::DeclinedTransactionListParams::Category::In::TaggedSymbol ) + # Inbound FedNow Transfer Decline: details will be under the `inbound_fednow_transfer_decline` object. + INBOUND_FEDNOW_TRANSFER_DECLINE = + T.let( + :inbound_fednow_transfer_decline, + Increase::DeclinedTransactionListParams::Category::In::TaggedSymbol + ) + # Wire Decline: details will be under the `wire_decline` object. WIRE_DECLINE = T.let( diff --git a/rbi/increase/models/event.rbi b/rbi/increase/models/event.rbi index 98bdff2a9..57678e36c 100644 --- a/rbi/increase/models/event.rbi +++ b/rbi/increase/models/event.rbi @@ -408,6 +408,20 @@ module Increase Increase::Event::Category::TaggedSymbol ) + # Occurs whenever an Inbound FedNow Transfer is created. + INBOUND_FEDNOW_TRANSFER_CREATED = + T.let( + :"inbound_fednow_transfer.created", + Increase::Event::Category::TaggedSymbol + ) + + # Occurs whenever an Inbound FedNow Transfer is updated. + INBOUND_FEDNOW_TRANSFER_UPDATED = + T.let( + :"inbound_fednow_transfer.updated", + Increase::Event::Category::TaggedSymbol + ) + # Occurs whenever an Inbound Mail Item is created. INBOUND_MAIL_ITEM_CREATED = T.let( diff --git a/rbi/increase/models/event_list_params.rbi b/rbi/increase/models/event_list_params.rbi index 3a9fd85bb..78d964b7d 100644 --- a/rbi/increase/models/event_list_params.rbi +++ b/rbi/increase/models/event_list_params.rbi @@ -501,6 +501,20 @@ module Increase Increase::EventListParams::Category::In::TaggedSymbol ) + # Occurs whenever an Inbound FedNow Transfer is created. + INBOUND_FEDNOW_TRANSFER_CREATED = + T.let( + :"inbound_fednow_transfer.created", + Increase::EventListParams::Category::In::TaggedSymbol + ) + + # Occurs whenever an Inbound FedNow Transfer is updated. + INBOUND_FEDNOW_TRANSFER_UPDATED = + T.let( + :"inbound_fednow_transfer.updated", + Increase::EventListParams::Category::In::TaggedSymbol + ) + # Occurs whenever an Inbound Mail Item is created. INBOUND_MAIL_ITEM_CREATED = T.let( diff --git a/rbi/increase/models/event_subscription.rbi b/rbi/increase/models/event_subscription.rbi index 4b3b3915f..90af35fa7 100644 --- a/rbi/increase/models/event_subscription.rbi +++ b/rbi/increase/models/event_subscription.rbi @@ -485,6 +485,20 @@ module Increase Increase::EventSubscription::SelectedEventCategory::TaggedSymbol ) + # Occurs whenever an Inbound FedNow Transfer is created. + INBOUND_FEDNOW_TRANSFER_CREATED = + T.let( + :"inbound_fednow_transfer.created", + Increase::EventSubscription::SelectedEventCategory::TaggedSymbol + ) + + # Occurs whenever an Inbound FedNow Transfer is updated. + INBOUND_FEDNOW_TRANSFER_UPDATED = + T.let( + :"inbound_fednow_transfer.updated", + Increase::EventSubscription::SelectedEventCategory::TaggedSymbol + ) + # Occurs whenever an Inbound Mail Item is created. INBOUND_MAIL_ITEM_CREATED = T.let( diff --git a/rbi/increase/models/event_subscription_create_params.rbi b/rbi/increase/models/event_subscription_create_params.rbi index e0b29d5c3..3f2801f4e 100644 --- a/rbi/increase/models/event_subscription_create_params.rbi +++ b/rbi/increase/models/event_subscription_create_params.rbi @@ -465,6 +465,20 @@ module Increase Increase::EventSubscriptionCreateParams::SelectedEventCategory::TaggedSymbol ) + # Occurs whenever an Inbound FedNow Transfer is created. + INBOUND_FEDNOW_TRANSFER_CREATED = + T.let( + :"inbound_fednow_transfer.created", + Increase::EventSubscriptionCreateParams::SelectedEventCategory::TaggedSymbol + ) + + # Occurs whenever an Inbound FedNow Transfer is updated. + INBOUND_FEDNOW_TRANSFER_UPDATED = + T.let( + :"inbound_fednow_transfer.updated", + Increase::EventSubscriptionCreateParams::SelectedEventCategory::TaggedSymbol + ) + # Occurs whenever an Inbound Mail Item is created. INBOUND_MAIL_ITEM_CREATED = T.let( diff --git a/rbi/increase/models/transaction.rbi b/rbi/increase/models/transaction.rbi index 46a5708c0..c1be566e1 100644 --- a/rbi/increase/models/transaction.rbi +++ b/rbi/increase/models/transaction.rbi @@ -650,6 +650,30 @@ module Increase end attr_writer :inbound_check_deposit_return_intention + # An Inbound FedNow Transfer Confirmation object. This field will be present in + # the JSON response if and only if `category` is equal to + # `inbound_fednow_transfer_confirmation`. An Inbound FedNow Transfer Confirmation + # is created when a FedNow transfer is initiated at another bank and received by + # Increase. + sig do + returns( + T.nilable( + Increase::Transaction::Source::InboundFednowTransferConfirmation + ) + ) + end + attr_reader :inbound_fednow_transfer_confirmation + + sig do + params( + inbound_fednow_transfer_confirmation: + T.nilable( + Increase::Transaction::Source::InboundFednowTransferConfirmation::OrHash + ) + ).void + end + attr_writer :inbound_fednow_transfer_confirmation + # An Inbound Real-Time Payments Transfer Confirmation object. This field will be # present in the JSON response if and only if `category` is equal to # `inbound_real_time_payments_transfer_confirmation`. An Inbound Real-Time @@ -956,6 +980,10 @@ module Increase T.nilable( Increase::Transaction::Source::InboundCheckDepositReturnIntention::OrHash ), + inbound_fednow_transfer_confirmation: + T.nilable( + Increase::Transaction::Source::InboundFednowTransferConfirmation::OrHash + ), inbound_real_time_payments_transfer_confirmation: T.nilable( Increase::Transaction::Source::InboundRealTimePaymentsTransferConfirmation::OrHash @@ -1115,6 +1143,12 @@ module Increase # Intention is created when Increase receives an Inbound Check and the User # requests that it be returned. inbound_check_deposit_return_intention:, + # An Inbound FedNow Transfer Confirmation object. This field will be present in + # the JSON response if and only if `category` is equal to + # `inbound_fednow_transfer_confirmation`. An Inbound FedNow Transfer Confirmation + # is created when a FedNow transfer is initiated at another bank and received by + # Increase. + inbound_fednow_transfer_confirmation:, # An Inbound Real-Time Payments Transfer Confirmation object. This field will be # present in the JSON response if and only if `category` is equal to # `inbound_real_time_payments_transfer_confirmation`. An Inbound Real-Time @@ -1235,6 +1269,10 @@ module Increase T.nilable( Increase::Transaction::Source::InboundCheckDepositReturnIntention ), + inbound_fednow_transfer_confirmation: + T.nilable( + Increase::Transaction::Source::InboundFednowTransferConfirmation + ), inbound_real_time_payments_transfer_confirmation: T.nilable( Increase::Transaction::Source::InboundRealTimePaymentsTransferConfirmation @@ -7975,6 +8013,13 @@ module Increase Increase::Transaction::Source::Category::TaggedSymbol ) + # Inbound FedNow Transfer Confirmation: details will be under the `inbound_fednow_transfer_confirmation` object. + INBOUND_FEDNOW_TRANSFER_CONFIRMATION = + T.let( + :inbound_fednow_transfer_confirmation, + Increase::Transaction::Source::Category::TaggedSymbol + ) + # Inbound Real-Time Payments Transfer Confirmation: details will be under the `inbound_real_time_payments_transfer_confirmation` object. INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CONFIRMATION = T.let( @@ -9463,6 +9508,36 @@ module Increase end end + class InboundFednowTransferConfirmation < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Transaction::Source::InboundFednowTransferConfirmation, + Increase::Internal::AnyHash + ) + end + + # The identifier of the FedNow Transfer that led to this Transaction. + sig { returns(String) } + attr_accessor :transfer_id + + # An Inbound FedNow Transfer Confirmation object. This field will be present in + # the JSON response if and only if `category` is equal to + # `inbound_fednow_transfer_confirmation`. An Inbound FedNow Transfer Confirmation + # is created when a FedNow transfer is initiated at another bank and received by + # Increase. + sig { params(transfer_id: String).returns(T.attached_class) } + def self.new( + # The identifier of the FedNow Transfer that led to this Transaction. + transfer_id: + ) + end + + sig { override.returns({ transfer_id: String }) } + def to_hash + end + end + class InboundRealTimePaymentsTransferConfirmation < Increase::Internal::Type::BaseModel OrHash = T.type_alias do diff --git a/rbi/increase/models/transaction_list_params.rbi b/rbi/increase/models/transaction_list_params.rbi index b7f30dd6d..6f1441426 100644 --- a/rbi/increase/models/transaction_list_params.rbi +++ b/rbi/increase/models/transaction_list_params.rbi @@ -306,6 +306,13 @@ module Increase Increase::TransactionListParams::Category::In::TaggedSymbol ) + # Inbound FedNow Transfer Confirmation: details will be under the `inbound_fednow_transfer_confirmation` object. + INBOUND_FEDNOW_TRANSFER_CONFIRMATION = + T.let( + :inbound_fednow_transfer_confirmation, + Increase::TransactionListParams::Category::In::TaggedSymbol + ) + # Inbound Real-Time Payments Transfer Confirmation: details will be under the `inbound_real_time_payments_transfer_confirmation` object. INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CONFIRMATION = T.let( diff --git a/sig/increase/models/declined_transaction.rbs b/sig/increase/models/declined_transaction.rbs index dac1c15e8..020b5516d 100644 --- a/sig/increase/models/declined_transaction.rbs +++ b/sig/increase/models/declined_transaction.rbs @@ -111,6 +111,7 @@ module Increase category: Increase::Models::DeclinedTransaction::Source::category, check_decline: Increase::DeclinedTransaction::Source::CheckDecline?, check_deposit_rejection: Increase::DeclinedTransaction::Source::CheckDepositRejection?, + inbound_fednow_transfer_decline: Increase::DeclinedTransaction::Source::InboundFednowTransferDecline?, inbound_real_time_payments_transfer_decline: Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline?, other: top?, wire_decline: Increase::DeclinedTransaction::Source::WireDecline? @@ -127,6 +128,8 @@ module Increase attr_accessor check_deposit_rejection: Increase::DeclinedTransaction::Source::CheckDepositRejection? + attr_accessor inbound_fednow_transfer_decline: Increase::DeclinedTransaction::Source::InboundFednowTransferDecline? + attr_accessor inbound_real_time_payments_transfer_decline: Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline? attr_accessor other: top? @@ -139,6 +142,7 @@ module Increase category: Increase::Models::DeclinedTransaction::Source::category, check_decline: Increase::DeclinedTransaction::Source::CheckDecline?, check_deposit_rejection: Increase::DeclinedTransaction::Source::CheckDepositRejection?, + inbound_fednow_transfer_decline: Increase::DeclinedTransaction::Source::InboundFednowTransferDecline?, inbound_real_time_payments_transfer_decline: Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline?, other: top?, wire_decline: Increase::DeclinedTransaction::Source::WireDecline? @@ -150,6 +154,7 @@ module Increase category: Increase::Models::DeclinedTransaction::Source::category, check_decline: Increase::DeclinedTransaction::Source::CheckDecline?, check_deposit_rejection: Increase::DeclinedTransaction::Source::CheckDepositRejection?, + inbound_fednow_transfer_decline: Increase::DeclinedTransaction::Source::InboundFednowTransferDecline?, inbound_real_time_payments_transfer_decline: Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline?, other: top?, wire_decline: Increase::DeclinedTransaction::Source::WireDecline? @@ -1197,6 +1202,7 @@ module Increase | :card_decline | :check_decline | :inbound_real_time_payments_transfer_decline + | :inbound_fednow_transfer_decline | :wire_decline | :check_deposit_rejection | :other @@ -1216,6 +1222,9 @@ module Increase # Inbound Real-Time Payments Transfer Decline: details will be under the `inbound_real_time_payments_transfer_decline` object. INBOUND_REAL_TIME_PAYMENTS_TRANSFER_DECLINE: :inbound_real_time_payments_transfer_decline + # Inbound FedNow Transfer Decline: details will be under the `inbound_fednow_transfer_decline` object. + INBOUND_FEDNOW_TRANSFER_DECLINE: :inbound_fednow_transfer_decline + # Wire Decline: details will be under the `wire_decline` object. WIRE_DECLINE: :wire_decline @@ -1475,6 +1484,60 @@ module Increase end end + type inbound_fednow_transfer_decline = + { + reason: Increase::Models::DeclinedTransaction::Source::InboundFednowTransferDecline::reason, + transfer_id: String + } + + class InboundFednowTransferDecline < Increase::Internal::Type::BaseModel + attr_accessor reason: Increase::Models::DeclinedTransaction::Source::InboundFednowTransferDecline::reason + + attr_accessor transfer_id: String + + def initialize: ( + reason: Increase::Models::DeclinedTransaction::Source::InboundFednowTransferDecline::reason, + transfer_id: String + ) -> void + + def to_hash: -> { + reason: Increase::Models::DeclinedTransaction::Source::InboundFednowTransferDecline::reason, + transfer_id: String + } + + type reason = + :account_number_canceled + | :account_number_disabled + | :account_restricted + | :group_locked + | :entity_not_active + | :fednow_not_enabled + + module Reason + extend Increase::Internal::Type::Enum + + # The account number is canceled. + ACCOUNT_NUMBER_CANCELED: :account_number_canceled + + # The account number is disabled. + ACCOUNT_NUMBER_DISABLED: :account_number_disabled + + # Your account is restricted. + ACCOUNT_RESTRICTED: :account_restricted + + # Your account is inactive. + GROUP_LOCKED: :group_locked + + # The account's entity is not active. + ENTITY_NOT_ACTIVE: :entity_not_active + + # Your account is not enabled to receive FedNow transfers. + FEDNOW_NOT_ENABLED: :fednow_not_enabled + + def self?.values: -> ::Array[Increase::Models::DeclinedTransaction::Source::InboundFednowTransferDecline::reason] + end + end + type inbound_real_time_payments_transfer_decline = { amount: Integer, diff --git a/sig/increase/models/declined_transaction_list_params.rbs b/sig/increase/models/declined_transaction_list_params.rbs index 8c7e04f16..bf1f8b45f 100644 --- a/sig/increase/models/declined_transaction_list_params.rbs +++ b/sig/increase/models/declined_transaction_list_params.rbs @@ -88,6 +88,7 @@ module Increase | :card_decline | :check_decline | :inbound_real_time_payments_transfer_decline + | :inbound_fednow_transfer_decline | :wire_decline | :check_deposit_rejection | :other @@ -107,6 +108,9 @@ module Increase # Inbound Real-Time Payments Transfer Decline: details will be under the `inbound_real_time_payments_transfer_decline` object. INBOUND_REAL_TIME_PAYMENTS_TRANSFER_DECLINE: :inbound_real_time_payments_transfer_decline + # Inbound FedNow Transfer Decline: details will be under the `inbound_fednow_transfer_decline` object. + INBOUND_FEDNOW_TRANSFER_DECLINE: :inbound_fednow_transfer_decline + # Wire Decline: details will be under the `wire_decline` object. WIRE_DECLINE: :wire_decline diff --git a/sig/increase/models/event.rbs b/sig/increase/models/event.rbs index 0fbf3a737..63653066a 100644 --- a/sig/increase/models/event.rbs +++ b/sig/increase/models/event.rbs @@ -93,6 +93,8 @@ module Increase | :"inbound_ach_transfer_return.updated" | :"inbound_check_deposit.created" | :"inbound_check_deposit.updated" + | :"inbound_fednow_transfer.created" + | :"inbound_fednow_transfer.updated" | :"inbound_mail_item.created" | :"inbound_mail_item.updated" | :"inbound_real_time_payments_transfer.created" @@ -301,6 +303,12 @@ module Increase # Occurs whenever an Inbound Check Deposit is updated. INBOUND_CHECK_DEPOSIT_UPDATED: :"inbound_check_deposit.updated" + # Occurs whenever an Inbound FedNow Transfer is created. + INBOUND_FEDNOW_TRANSFER_CREATED: :"inbound_fednow_transfer.created" + + # Occurs whenever an Inbound FedNow Transfer is updated. + INBOUND_FEDNOW_TRANSFER_UPDATED: :"inbound_fednow_transfer.updated" + # Occurs whenever an Inbound Mail Item is created. INBOUND_MAIL_ITEM_CREATED: :"inbound_mail_item.created" diff --git a/sig/increase/models/event_list_params.rbs b/sig/increase/models/event_list_params.rbs index 0812e66fe..8cf92b542 100644 --- a/sig/increase/models/event_list_params.rbs +++ b/sig/increase/models/event_list_params.rbs @@ -126,6 +126,8 @@ module Increase | :"inbound_ach_transfer_return.updated" | :"inbound_check_deposit.created" | :"inbound_check_deposit.updated" + | :"inbound_fednow_transfer.created" + | :"inbound_fednow_transfer.updated" | :"inbound_mail_item.created" | :"inbound_mail_item.updated" | :"inbound_real_time_payments_transfer.created" @@ -334,6 +336,12 @@ module Increase # Occurs whenever an Inbound Check Deposit is updated. INBOUND_CHECK_DEPOSIT_UPDATED: :"inbound_check_deposit.updated" + # Occurs whenever an Inbound FedNow Transfer is created. + INBOUND_FEDNOW_TRANSFER_CREATED: :"inbound_fednow_transfer.created" + + # Occurs whenever an Inbound FedNow Transfer is updated. + INBOUND_FEDNOW_TRANSFER_UPDATED: :"inbound_fednow_transfer.updated" + # Occurs whenever an Inbound Mail Item is created. INBOUND_MAIL_ITEM_CREATED: :"inbound_mail_item.created" diff --git a/sig/increase/models/event_subscription.rbs b/sig/increase/models/event_subscription.rbs index 43efa81f9..f83462a56 100644 --- a/sig/increase/models/event_subscription.rbs +++ b/sig/increase/models/event_subscription.rbs @@ -103,6 +103,8 @@ module Increase | :"inbound_ach_transfer_return.updated" | :"inbound_check_deposit.created" | :"inbound_check_deposit.updated" + | :"inbound_fednow_transfer.created" + | :"inbound_fednow_transfer.updated" | :"inbound_mail_item.created" | :"inbound_mail_item.updated" | :"inbound_real_time_payments_transfer.created" @@ -311,6 +313,12 @@ module Increase # Occurs whenever an Inbound Check Deposit is updated. INBOUND_CHECK_DEPOSIT_UPDATED: :"inbound_check_deposit.updated" + # Occurs whenever an Inbound FedNow Transfer is created. + INBOUND_FEDNOW_TRANSFER_CREATED: :"inbound_fednow_transfer.created" + + # Occurs whenever an Inbound FedNow Transfer is updated. + INBOUND_FEDNOW_TRANSFER_UPDATED: :"inbound_fednow_transfer.updated" + # Occurs whenever an Inbound Mail Item is created. INBOUND_MAIL_ITEM_CREATED: :"inbound_mail_item.created" diff --git a/sig/increase/models/event_subscription_create_params.rbs b/sig/increase/models/event_subscription_create_params.rbs index 077714dab..764053d56 100644 --- a/sig/increase/models/event_subscription_create_params.rbs +++ b/sig/increase/models/event_subscription_create_params.rbs @@ -97,6 +97,8 @@ module Increase | :"inbound_ach_transfer_return.updated" | :"inbound_check_deposit.created" | :"inbound_check_deposit.updated" + | :"inbound_fednow_transfer.created" + | :"inbound_fednow_transfer.updated" | :"inbound_mail_item.created" | :"inbound_mail_item.updated" | :"inbound_real_time_payments_transfer.created" @@ -305,6 +307,12 @@ module Increase # Occurs whenever an Inbound Check Deposit is updated. INBOUND_CHECK_DEPOSIT_UPDATED: :"inbound_check_deposit.updated" + # Occurs whenever an Inbound FedNow Transfer is created. + INBOUND_FEDNOW_TRANSFER_CREATED: :"inbound_fednow_transfer.created" + + # Occurs whenever an Inbound FedNow Transfer is updated. + INBOUND_FEDNOW_TRANSFER_UPDATED: :"inbound_fednow_transfer.updated" + # Occurs whenever an Inbound Mail Item is created. INBOUND_MAIL_ITEM_CREATED: :"inbound_mail_item.created" diff --git a/sig/increase/models/transaction.rbs b/sig/increase/models/transaction.rbs index 8d9ae3f67..6b1966573 100644 --- a/sig/increase/models/transaction.rbs +++ b/sig/increase/models/transaction.rbs @@ -129,6 +129,7 @@ module Increase inbound_ach_transfer_return_intention: Increase::Transaction::Source::InboundACHTransferReturnIntention?, inbound_check_adjustment: Increase::Transaction::Source::InboundCheckAdjustment?, inbound_check_deposit_return_intention: Increase::Transaction::Source::InboundCheckDepositReturnIntention?, + inbound_fednow_transfer_confirmation: Increase::Transaction::Source::InboundFednowTransferConfirmation?, inbound_real_time_payments_transfer_confirmation: Increase::Transaction::Source::InboundRealTimePaymentsTransferConfirmation?, inbound_wire_reversal: Increase::Transaction::Source::InboundWireReversal?, inbound_wire_transfer: Increase::Transaction::Source::InboundWireTransfer?, @@ -190,6 +191,8 @@ module Increase attr_accessor inbound_check_deposit_return_intention: Increase::Transaction::Source::InboundCheckDepositReturnIntention? + attr_accessor inbound_fednow_transfer_confirmation: Increase::Transaction::Source::InboundFednowTransferConfirmation? + attr_accessor inbound_real_time_payments_transfer_confirmation: Increase::Transaction::Source::InboundRealTimePaymentsTransferConfirmation? attr_accessor inbound_wire_reversal: Increase::Transaction::Source::InboundWireReversal? @@ -238,6 +241,7 @@ module Increase inbound_ach_transfer_return_intention: Increase::Transaction::Source::InboundACHTransferReturnIntention?, inbound_check_adjustment: Increase::Transaction::Source::InboundCheckAdjustment?, inbound_check_deposit_return_intention: Increase::Transaction::Source::InboundCheckDepositReturnIntention?, + inbound_fednow_transfer_confirmation: Increase::Transaction::Source::InboundFednowTransferConfirmation?, inbound_real_time_payments_transfer_confirmation: Increase::Transaction::Source::InboundRealTimePaymentsTransferConfirmation?, inbound_wire_reversal: Increase::Transaction::Source::InboundWireReversal?, inbound_wire_transfer: Increase::Transaction::Source::InboundWireTransfer?, @@ -276,6 +280,7 @@ module Increase inbound_ach_transfer_return_intention: Increase::Transaction::Source::InboundACHTransferReturnIntention?, inbound_check_adjustment: Increase::Transaction::Source::InboundCheckAdjustment?, inbound_check_deposit_return_intention: Increase::Transaction::Source::InboundCheckDepositReturnIntention?, + inbound_fednow_transfer_confirmation: Increase::Transaction::Source::InboundFednowTransferConfirmation?, inbound_real_time_payments_transfer_confirmation: Increase::Transaction::Source::InboundRealTimePaymentsTransferConfirmation?, inbound_wire_reversal: Increase::Transaction::Source::InboundWireReversal?, inbound_wire_transfer: Increase::Transaction::Source::InboundWireTransfer?, @@ -3156,6 +3161,7 @@ module Increase | :inbound_ach_transfer_return_intention | :inbound_check_deposit_return_intention | :inbound_check_adjustment + | :inbound_fednow_transfer_confirmation | :inbound_real_time_payments_transfer_confirmation | :inbound_wire_reversal | :inbound_wire_transfer @@ -3234,6 +3240,9 @@ module Increase # Inbound Check Adjustment: details will be under the `inbound_check_adjustment` object. INBOUND_CHECK_ADJUSTMENT: :inbound_check_adjustment + # Inbound FedNow Transfer Confirmation: details will be under the `inbound_fednow_transfer_confirmation` object. + INBOUND_FEDNOW_TRANSFER_CONFIRMATION: :inbound_fednow_transfer_confirmation + # Inbound Real-Time Payments Transfer Confirmation: details will be under the `inbound_real_time_payments_transfer_confirmation` object. INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CONFIRMATION: :inbound_real_time_payments_transfer_confirmation @@ -3870,6 +3879,16 @@ module Increase } end + type inbound_fednow_transfer_confirmation = { transfer_id: String } + + class InboundFednowTransferConfirmation < Increase::Internal::Type::BaseModel + attr_accessor transfer_id: String + + def initialize: (transfer_id: String) -> void + + def to_hash: -> { transfer_id: String } + end + type inbound_real_time_payments_transfer_confirmation = { amount: Integer, diff --git a/sig/increase/models/transaction_list_params.rbs b/sig/increase/models/transaction_list_params.rbs index 20a08a03d..6ccbc6022 100644 --- a/sig/increase/models/transaction_list_params.rbs +++ b/sig/increase/models/transaction_list_params.rbs @@ -102,6 +102,7 @@ module Increase | :inbound_ach_transfer_return_intention | :inbound_check_deposit_return_intention | :inbound_check_adjustment + | :inbound_fednow_transfer_confirmation | :inbound_real_time_payments_transfer_confirmation | :inbound_wire_reversal | :inbound_wire_transfer @@ -180,6 +181,9 @@ module Increase # Inbound Check Adjustment: details will be under the `inbound_check_adjustment` object. INBOUND_CHECK_ADJUSTMENT: :inbound_check_adjustment + # Inbound FedNow Transfer Confirmation: details will be under the `inbound_fednow_transfer_confirmation` object. + INBOUND_FEDNOW_TRANSFER_CONFIRMATION: :inbound_fednow_transfer_confirmation + # Inbound Real-Time Payments Transfer Confirmation: details will be under the `inbound_real_time_payments_transfer_confirmation` object. INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CONFIRMATION: :inbound_real_time_payments_transfer_confirmation From 5772320a8d33d7579e24c19556f6d4804e55ccc6 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 17 Sep 2025 01:30:34 +0000 Subject: [PATCH 2/2] release: 1.79.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ Gemfile.lock | 2 +- README.md | 2 +- lib/increase/version.rb | 2 +- 5 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 21621582f..36925cfe9 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.78.0" + ".": "1.79.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index d32fa1c48..b2f1971f1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.79.0 (2025-09-17) + +Full Changelog: [v1.78.0...v1.79.0](https://github.com/Increase/increase-ruby/compare/v1.78.0...v1.79.0) + +### Features + +* **api:** api update ([c64de91](https://github.com/Increase/increase-ruby/commit/c64de918f9abb0fbe0eb7dfbaee91f3f773331c7)) + ## 1.78.0 (2025-09-16) Full Changelog: [v1.77.0...v1.78.0](https://github.com/Increase/increase-ruby/compare/v1.77.0...v1.78.0) diff --git a/Gemfile.lock b/Gemfile.lock index c566e5233..8045d3e19 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - increase (1.78.0) + increase (1.79.0) connection_pool GEM diff --git a/README.md b/README.md index eefa3fb1b..1a5744aa6 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application ```ruby -gem "increase", "~> 1.78.0" +gem "increase", "~> 1.79.0" ``` diff --git a/lib/increase/version.rb b/lib/increase/version.rb index 9ad91b759..dbf8cfef0 100644 --- a/lib/increase/version.rb +++ b/lib/increase/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Increase - VERSION = "1.78.0" + VERSION = "1.79.0" end