diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 6d2723c72..4b6cc3c89 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.45.0" + ".": "1.46.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index 372ce8332..5ff82d3b6 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 215 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-ead33c34bfbcc450c88d09e7d880fa5be57c504a66102e098ac03c5b220dea80.yml -openapi_spec_hash: 1544de50d73f80b843d5761009764ab6 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-b2b1b8766fa7146f21f8d4d52ff033e8650a6b25d1d161679959cca0d4153211.yml +openapi_spec_hash: 17af6a2d612ce076f58c585565f98c22 config_hash: 0b0a2503208283b283fc5bc6df6a07a5 diff --git a/CHANGELOG.md b/CHANGELOG.md index 1864b040a..87fc8758a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.46.0 (2025-08-22) + +Full Changelog: [v1.45.0...v1.46.0](https://github.com/Increase/increase-ruby/compare/v1.45.0...v1.46.0) + +### Features + +* **api:** api update ([ebaaba1](https://github.com/Increase/increase-ruby/commit/ebaaba1df36545cf5983eed1efa47bc4576ef690)) + ## 1.45.0 (2025-08-21) Full Changelog: [v1.44.0...v1.45.0](https://github.com/Increase/increase-ruby/compare/v1.44.0...v1.45.0) diff --git a/Gemfile.lock b/Gemfile.lock index d2590a6e6..3ffc9d55a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - increase (1.45.0) + increase (1.46.0) connection_pool GEM diff --git a/README.md b/README.md index eb05c5c02..fc3a44ab2 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.45.0" +gem "increase", "~> 1.46.0" ``` diff --git a/lib/increase/models/transaction.rb b/lib/increase/models/transaction.rb index d7e0852d1..e1d7b4021 100644 --- a/lib/increase/models/transaction.rb +++ b/lib/increase/models/transaction.rb @@ -389,16 +389,6 @@ class Source < Increase::Internal::Type::BaseModel -> { Increase::Transaction::Source::InboundRealTimePaymentsTransferConfirmation }, 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 - # `inbound_real_time_payments_transfer_decline`. - # - # @return [Increase::Models::Transaction::Source::InboundRealTimePaymentsTransferDecline, nil] - required :inbound_real_time_payments_transfer_decline, - -> { Increase::Transaction::Source::InboundRealTimePaymentsTransferDecline }, - nil?: true - # @!attribute inbound_wire_reversal # An Inbound Wire Reversal object. This field will be present in the JSON response # if and only if `category` is equal to `inbound_wire_reversal`. An Inbound Wire @@ -504,7 +494,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:, swift_transfer_return:, 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_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. # @@ -557,8 +547,6 @@ class Source < Increase::Internal::Type::BaseModel # # @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_real_time_payments_transfer_decline [Increase::Models::Transaction::Source::InboundRealTimePaymentsTransferDecline, nil] An Inbound Real-Time Payments Transfer Decline object. This field will be presen - # # @param inbound_wire_reversal [Increase::Models::Transaction::Source::InboundWireReversal, nil] An Inbound Wire Reversal object. This field will be present in the JSON response # # @param inbound_wire_transfer [Increase::Models::Transaction::Source::InboundWireTransfer, nil] An Inbound Wire Transfer Intention object. This field will be present in the JSO @@ -4211,9 +4199,6 @@ module Category # 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 - # 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 Wire Reversal: details will be under the `inbound_wire_reversal` object. INBOUND_WIRE_REVERSAL = :inbound_wire_reversal @@ -5096,161 +5081,6 @@ module Currency end end - # @see Increase::Models::Transaction::Source#inbound_real_time_payments_transfer_decline - class InboundRealTimePaymentsTransferDecline < Increase::Internal::Type::BaseModel - # @!attribute amount - # The declined amount in the minor unit of the destination account currency. For - # dollars, for example, this is cents. - # - # @return [Integer] - required :amount, Integer - - # @!attribute creditor_name - # The name the sender of the transfer specified as the recipient of the transfer. - # - # @return [String] - required :creditor_name, String - - # @!attribute currency - # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code of the declined - # transfer's currency. This will always be "USD" for a Real-Time Payments - # transfer. - # - # @return [Symbol, Increase::Models::Transaction::Source::InboundRealTimePaymentsTransferDecline::Currency] - required :currency, - enum: -> { Increase::Transaction::Source::InboundRealTimePaymentsTransferDecline::Currency } - - # @!attribute debtor_account_number - # The account number of the account that sent the transfer. - # - # @return [String] - required :debtor_account_number, String - - # @!attribute debtor_name - # The name provided by the sender of the transfer. - # - # @return [String] - required :debtor_name, String - - # @!attribute debtor_routing_number - # The routing number of the account that sent the transfer. - # - # @return [String] - required :debtor_routing_number, String - - # @!attribute reason - # Why the transfer was declined. - # - # @return [Symbol, Increase::Models::Transaction::Source::InboundRealTimePaymentsTransferDecline::Reason] - required :reason, - enum: -> { Increase::Transaction::Source::InboundRealTimePaymentsTransferDecline::Reason } - - # @!attribute remittance_information - # Additional information included with the transfer. - # - # @return [String, nil] - required :remittance_information, String, nil?: true - - # @!attribute transaction_identification - # The Real-Time Payments network identification of the declined transfer. - # - # @return [String] - required :transaction_identification, String - - # @!attribute transfer_id - # The identifier of the Real-Time Payments Transfer that led to this Transaction. - # - # @return [String] - required :transfer_id, String - - # @!method initialize(amount:, creditor_name:, currency:, debtor_account_number:, debtor_name:, debtor_routing_number:, reason:, remittance_information:, transaction_identification:, transfer_id:) - # Some parameter documentations has been truncated, see - # {Increase::Models::Transaction::Source::InboundRealTimePaymentsTransferDecline} - # for more details. - # - # 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`. - # - # @param amount [Integer] The declined amount in the minor unit of the destination account currency. For d - # - # @param creditor_name [String] The name the sender of the transfer specified as the recipient of the transfer. - # - # @param currency [Symbol, Increase::Models::Transaction::Source::InboundRealTimePaymentsTransferDecline::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code of the declined tran - # - # @param debtor_account_number [String] The account number of the account that sent the transfer. - # - # @param debtor_name [String] The name provided by the sender of the transfer. - # - # @param debtor_routing_number [String] The routing number of the account that sent the transfer. - # - # @param reason [Symbol, Increase::Models::Transaction::Source::InboundRealTimePaymentsTransferDecline::Reason] Why the transfer was declined. - # - # @param remittance_information [String, nil] Additional information included with the transfer. - # - # @param transaction_identification [String] The Real-Time Payments network identification of the declined transfer. - # - # @param transfer_id [String] The identifier of the Real-Time Payments Transfer that led to this Transaction. - - # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code of the declined - # transfer's currency. This will always be "USD" for a Real-Time Payments - # transfer. - # - # @see Increase::Models::Transaction::Source::InboundRealTimePaymentsTransferDecline#currency - module Currency - extend Increase::Internal::Type::Enum - - # Canadian Dollar (CAD) - CAD = :CAD - - # Swiss Franc (CHF) - CHF = :CHF - - # Euro (EUR) - EUR = :EUR - - # British Pound (GBP) - GBP = :GBP - - # Japanese Yen (JPY) - JPY = :JPY - - # US Dollar (USD) - USD = :USD - - # @!method self.values - # @return [Array] - end - - # Why the transfer was declined. - # - # @see Increase::Models::Transaction::Source::InboundRealTimePaymentsTransferDecline#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 Real-Time Payments transfers. - REAL_TIME_PAYMENTS_NOT_ENABLED = :real_time_payments_not_enabled - - # @!method self.values - # @return [Array] - end - end - # @see Increase::Models::Transaction::Source#inbound_wire_reversal class InboundWireReversal < 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 a1a360517..16b1e0b52 100644 --- a/lib/increase/models/transaction_list_params.rb +++ b/lib/increase/models/transaction_list_params.rb @@ -142,9 +142,6 @@ module In # 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 - # 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 Wire Reversal: details will be under the `inbound_wire_reversal` object. INBOUND_WIRE_REVERSAL = :inbound_wire_reversal diff --git a/lib/increase/version.rb b/lib/increase/version.rb index 5a4b9c5f1..83554fa8d 100644 --- a/lib/increase/version.rb +++ b/lib/increase/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Increase - VERSION = "1.45.0" + VERSION = "1.46.0" end diff --git a/rbi/increase/models/transaction.rbi b/rbi/increase/models/transaction.rbi index c0034725e..51b21b6f7 100644 --- a/rbi/increase/models/transaction.rbi +++ b/rbi/increase/models/transaction.rbi @@ -630,28 +630,6 @@ module Increase end attr_writer :inbound_real_time_payments_transfer_confirmation - # 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`. - sig do - returns( - T.nilable( - Increase::Transaction::Source::InboundRealTimePaymentsTransferDecline - ) - ) - end - attr_reader :inbound_real_time_payments_transfer_decline - - sig do - params( - inbound_real_time_payments_transfer_decline: - T.nilable( - Increase::Transaction::Source::InboundRealTimePaymentsTransferDecline::OrHash - ) - ).void - end - attr_writer :inbound_real_time_payments_transfer_decline - # An Inbound Wire Reversal object. This field will be present in the JSON response # if and only if `category` is equal to `inbound_wire_reversal`. An Inbound Wire # Reversal represents a reversal of a wire transfer that was initiated via @@ -930,10 +908,6 @@ module Increase T.nilable( Increase::Transaction::Source::InboundRealTimePaymentsTransferConfirmation::OrHash ), - inbound_real_time_payments_transfer_decline: - T.nilable( - Increase::Transaction::Source::InboundRealTimePaymentsTransferDecline::OrHash - ), inbound_wire_reversal: T.nilable( Increase::Transaction::Source::InboundWireReversal::OrHash @@ -1085,10 +1059,6 @@ module Increase # Payments Transfer Confirmation is created when a Real-Time Payments transfer is # initiated at another bank and received by Increase. inbound_real_time_payments_transfer_confirmation:, - # 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`. - inbound_real_time_payments_transfer_decline:, # An Inbound Wire Reversal object. This field will be present in the JSON response # if and only if `category` is equal to `inbound_wire_reversal`. An Inbound Wire # Reversal represents a reversal of a wire transfer that was initiated via @@ -1201,10 +1171,6 @@ module Increase T.nilable( Increase::Transaction::Source::InboundRealTimePaymentsTransferConfirmation ), - inbound_real_time_payments_transfer_decline: - T.nilable( - Increase::Transaction::Source::InboundRealTimePaymentsTransferDecline - ), inbound_wire_reversal: T.nilable(Increase::Transaction::Source::InboundWireReversal), inbound_wire_transfer: @@ -7841,13 +7807,6 @@ module Increase Increase::Transaction::Source::Category::TaggedSymbol ) - # Inbound Real-Time Payments Transfer Decline: details will be under the `inbound_real_time_payments_transfer_decline` object. - INBOUND_REAL_TIME_PAYMENTS_TRANSFER_DECLINE = - T.let( - :inbound_real_time_payments_transfer_decline, - Increase::Transaction::Source::Category::TaggedSymbol - ) - # Inbound Wire Reversal: details will be under the `inbound_wire_reversal` object. INBOUND_WIRE_REVERSAL = T.let( @@ -9474,268 +9433,6 @@ module Increase end end - class InboundRealTimePaymentsTransferDecline < Increase::Internal::Type::BaseModel - OrHash = - T.type_alias do - T.any( - Increase::Transaction::Source::InboundRealTimePaymentsTransferDecline, - Increase::Internal::AnyHash - ) - end - - # The declined amount in the minor unit of the destination account currency. For - # dollars, for example, this is cents. - sig { returns(Integer) } - attr_accessor :amount - - # The name the sender of the transfer specified as the recipient of the transfer. - sig { returns(String) } - attr_accessor :creditor_name - - # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code of the declined - # transfer's currency. This will always be "USD" for a Real-Time Payments - # transfer. - sig do - returns( - Increase::Transaction::Source::InboundRealTimePaymentsTransferDecline::Currency::TaggedSymbol - ) - end - attr_accessor :currency - - # The account number of the account that sent the transfer. - sig { returns(String) } - attr_accessor :debtor_account_number - - # The name provided by the sender of the transfer. - sig { returns(String) } - attr_accessor :debtor_name - - # The routing number of the account that sent the transfer. - sig { returns(String) } - attr_accessor :debtor_routing_number - - # Why the transfer was declined. - sig do - returns( - Increase::Transaction::Source::InboundRealTimePaymentsTransferDecline::Reason::TaggedSymbol - ) - end - attr_accessor :reason - - # Additional information included with the transfer. - sig { returns(T.nilable(String)) } - attr_accessor :remittance_information - - # The Real-Time Payments network identification of the declined transfer. - sig { returns(String) } - attr_accessor :transaction_identification - - # The identifier of the Real-Time Payments Transfer that led to this Transaction. - sig { returns(String) } - attr_accessor :transfer_id - - # 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`. - sig do - params( - amount: Integer, - creditor_name: String, - currency: - Increase::Transaction::Source::InboundRealTimePaymentsTransferDecline::Currency::OrSymbol, - debtor_account_number: String, - debtor_name: String, - debtor_routing_number: String, - reason: - Increase::Transaction::Source::InboundRealTimePaymentsTransferDecline::Reason::OrSymbol, - remittance_information: T.nilable(String), - transaction_identification: String, - transfer_id: String - ).returns(T.attached_class) - end - def self.new( - # The declined amount in the minor unit of the destination account currency. For - # dollars, for example, this is cents. - amount:, - # The name the sender of the transfer specified as the recipient of the transfer. - creditor_name:, - # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code of the declined - # transfer's currency. This will always be "USD" for a Real-Time Payments - # transfer. - currency:, - # The account number of the account that sent the transfer. - debtor_account_number:, - # The name provided by the sender of the transfer. - debtor_name:, - # The routing number of the account that sent the transfer. - debtor_routing_number:, - # Why the transfer was declined. - reason:, - # Additional information included with the transfer. - remittance_information:, - # The Real-Time Payments network identification of the declined transfer. - transaction_identification:, - # The identifier of the Real-Time Payments Transfer that led to this Transaction. - transfer_id: - ) - end - - sig do - override.returns( - { - amount: Integer, - creditor_name: String, - currency: - Increase::Transaction::Source::InboundRealTimePaymentsTransferDecline::Currency::TaggedSymbol, - debtor_account_number: String, - debtor_name: String, - debtor_routing_number: String, - reason: - Increase::Transaction::Source::InboundRealTimePaymentsTransferDecline::Reason::TaggedSymbol, - remittance_information: T.nilable(String), - transaction_identification: String, - transfer_id: String - } - ) - end - def to_hash - end - - # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code of the declined - # transfer's currency. This will always be "USD" for a Real-Time Payments - # transfer. - module Currency - extend Increase::Internal::Type::Enum - - TaggedSymbol = - T.type_alias do - T.all( - Symbol, - Increase::Transaction::Source::InboundRealTimePaymentsTransferDecline::Currency - ) - end - OrSymbol = T.type_alias { T.any(Symbol, String) } - - # Canadian Dollar (CAD) - CAD = - T.let( - :CAD, - Increase::Transaction::Source::InboundRealTimePaymentsTransferDecline::Currency::TaggedSymbol - ) - - # Swiss Franc (CHF) - CHF = - T.let( - :CHF, - Increase::Transaction::Source::InboundRealTimePaymentsTransferDecline::Currency::TaggedSymbol - ) - - # Euro (EUR) - EUR = - T.let( - :EUR, - Increase::Transaction::Source::InboundRealTimePaymentsTransferDecline::Currency::TaggedSymbol - ) - - # British Pound (GBP) - GBP = - T.let( - :GBP, - Increase::Transaction::Source::InboundRealTimePaymentsTransferDecline::Currency::TaggedSymbol - ) - - # Japanese Yen (JPY) - JPY = - T.let( - :JPY, - Increase::Transaction::Source::InboundRealTimePaymentsTransferDecline::Currency::TaggedSymbol - ) - - # US Dollar (USD) - USD = - T.let( - :USD, - Increase::Transaction::Source::InboundRealTimePaymentsTransferDecline::Currency::TaggedSymbol - ) - - sig do - override.returns( - T::Array[ - Increase::Transaction::Source::InboundRealTimePaymentsTransferDecline::Currency::TaggedSymbol - ] - ) - end - def self.values - end - end - - # Why the transfer was declined. - module Reason - extend Increase::Internal::Type::Enum - - TaggedSymbol = - T.type_alias do - T.all( - Symbol, - Increase::Transaction::Source::InboundRealTimePaymentsTransferDecline::Reason - ) - end - OrSymbol = T.type_alias { T.any(Symbol, String) } - - # The account number is canceled. - ACCOUNT_NUMBER_CANCELED = - T.let( - :account_number_canceled, - Increase::Transaction::Source::InboundRealTimePaymentsTransferDecline::Reason::TaggedSymbol - ) - - # The account number is disabled. - ACCOUNT_NUMBER_DISABLED = - T.let( - :account_number_disabled, - Increase::Transaction::Source::InboundRealTimePaymentsTransferDecline::Reason::TaggedSymbol - ) - - # Your account is restricted. - ACCOUNT_RESTRICTED = - T.let( - :account_restricted, - Increase::Transaction::Source::InboundRealTimePaymentsTransferDecline::Reason::TaggedSymbol - ) - - # Your account is inactive. - GROUP_LOCKED = - T.let( - :group_locked, - Increase::Transaction::Source::InboundRealTimePaymentsTransferDecline::Reason::TaggedSymbol - ) - - # The account's entity is not active. - ENTITY_NOT_ACTIVE = - T.let( - :entity_not_active, - Increase::Transaction::Source::InboundRealTimePaymentsTransferDecline::Reason::TaggedSymbol - ) - - # Your account is not enabled to receive Real-Time Payments transfers. - REAL_TIME_PAYMENTS_NOT_ENABLED = - T.let( - :real_time_payments_not_enabled, - Increase::Transaction::Source::InboundRealTimePaymentsTransferDecline::Reason::TaggedSymbol - ) - - sig do - override.returns( - T::Array[ - Increase::Transaction::Source::InboundRealTimePaymentsTransferDecline::Reason::TaggedSymbol - ] - ) - end - def self.values - end - end - end - class InboundWireReversal < 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 dc6230530..b7d7f9c90 100644 --- a/rbi/increase/models/transaction_list_params.rbi +++ b/rbi/increase/models/transaction_list_params.rbi @@ -306,13 +306,6 @@ module Increase Increase::TransactionListParams::Category::In::TaggedSymbol ) - # Inbound Real-Time Payments Transfer Decline: details will be under the `inbound_real_time_payments_transfer_decline` object. - INBOUND_REAL_TIME_PAYMENTS_TRANSFER_DECLINE = - T.let( - :inbound_real_time_payments_transfer_decline, - Increase::TransactionListParams::Category::In::TaggedSymbol - ) - # Inbound Wire Reversal: details will be under the `inbound_wire_reversal` object. INBOUND_WIRE_REVERSAL = T.let( diff --git a/sig/increase/models/transaction.rbs b/sig/increase/models/transaction.rbs index a9c5f8329..adc24dffb 100644 --- a/sig/increase/models/transaction.rbs +++ b/sig/increase/models/transaction.rbs @@ -128,7 +128,6 @@ module Increase inbound_check_adjustment: Increase::Transaction::Source::InboundCheckAdjustment?, inbound_check_deposit_return_intention: Increase::Transaction::Source::InboundCheckDepositReturnIntention?, inbound_real_time_payments_transfer_confirmation: Increase::Transaction::Source::InboundRealTimePaymentsTransferConfirmation?, - inbound_real_time_payments_transfer_decline: Increase::Transaction::Source::InboundRealTimePaymentsTransferDecline?, inbound_wire_reversal: Increase::Transaction::Source::InboundWireReversal?, inbound_wire_transfer: Increase::Transaction::Source::InboundWireTransfer?, inbound_wire_transfer_reversal: Increase::Transaction::Source::InboundWireTransferReversal?, @@ -187,8 +186,6 @@ module Increase attr_accessor inbound_real_time_payments_transfer_confirmation: Increase::Transaction::Source::InboundRealTimePaymentsTransferConfirmation? - attr_accessor inbound_real_time_payments_transfer_decline: Increase::Transaction::Source::InboundRealTimePaymentsTransferDecline? - attr_accessor inbound_wire_reversal: Increase::Transaction::Source::InboundWireReversal? attr_accessor inbound_wire_transfer: Increase::Transaction::Source::InboundWireTransfer? @@ -234,7 +231,6 @@ module Increase inbound_check_adjustment: Increase::Transaction::Source::InboundCheckAdjustment?, inbound_check_deposit_return_intention: Increase::Transaction::Source::InboundCheckDepositReturnIntention?, inbound_real_time_payments_transfer_confirmation: Increase::Transaction::Source::InboundRealTimePaymentsTransferConfirmation?, - inbound_real_time_payments_transfer_decline: Increase::Transaction::Source::InboundRealTimePaymentsTransferDecline?, inbound_wire_reversal: Increase::Transaction::Source::InboundWireReversal?, inbound_wire_transfer: Increase::Transaction::Source::InboundWireTransfer?, inbound_wire_transfer_reversal: Increase::Transaction::Source::InboundWireTransferReversal?, @@ -271,7 +267,6 @@ module Increase inbound_check_adjustment: Increase::Transaction::Source::InboundCheckAdjustment?, inbound_check_deposit_return_intention: Increase::Transaction::Source::InboundCheckDepositReturnIntention?, inbound_real_time_payments_transfer_confirmation: Increase::Transaction::Source::InboundRealTimePaymentsTransferConfirmation?, - inbound_real_time_payments_transfer_decline: Increase::Transaction::Source::InboundRealTimePaymentsTransferDecline?, inbound_wire_reversal: Increase::Transaction::Source::InboundWireReversal?, inbound_wire_transfer: Increase::Transaction::Source::InboundWireTransfer?, inbound_wire_transfer_reversal: Increase::Transaction::Source::InboundWireTransferReversal?, @@ -3108,7 +3103,6 @@ module Increase | :inbound_check_deposit_return_intention | :inbound_check_adjustment | :inbound_real_time_payments_transfer_confirmation - | :inbound_real_time_payments_transfer_decline | :inbound_wire_reversal | :inbound_wire_transfer | :inbound_wire_transfer_reversal @@ -3185,9 +3179,6 @@ module Increase # 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 - # 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 Wire Reversal: details will be under the `inbound_wire_reversal` object. INBOUND_WIRE_REVERSAL: :inbound_wire_reversal @@ -3891,126 +3882,6 @@ module Increase end end - type inbound_real_time_payments_transfer_decline = - { - amount: Integer, - creditor_name: String, - currency: Increase::Models::Transaction::Source::InboundRealTimePaymentsTransferDecline::currency, - debtor_account_number: String, - debtor_name: String, - debtor_routing_number: String, - reason: Increase::Models::Transaction::Source::InboundRealTimePaymentsTransferDecline::reason, - remittance_information: String?, - transaction_identification: String, - transfer_id: String - } - - class InboundRealTimePaymentsTransferDecline < Increase::Internal::Type::BaseModel - attr_accessor amount: Integer - - attr_accessor creditor_name: String - - attr_accessor currency: Increase::Models::Transaction::Source::InboundRealTimePaymentsTransferDecline::currency - - attr_accessor debtor_account_number: String - - attr_accessor debtor_name: String - - attr_accessor debtor_routing_number: String - - attr_accessor reason: Increase::Models::Transaction::Source::InboundRealTimePaymentsTransferDecline::reason - - attr_accessor remittance_information: String? - - attr_accessor transaction_identification: String - - attr_accessor transfer_id: String - - def initialize: ( - amount: Integer, - creditor_name: String, - currency: Increase::Models::Transaction::Source::InboundRealTimePaymentsTransferDecline::currency, - debtor_account_number: String, - debtor_name: String, - debtor_routing_number: String, - reason: Increase::Models::Transaction::Source::InboundRealTimePaymentsTransferDecline::reason, - remittance_information: String?, - transaction_identification: String, - transfer_id: String - ) -> void - - def to_hash: -> { - amount: Integer, - creditor_name: String, - currency: Increase::Models::Transaction::Source::InboundRealTimePaymentsTransferDecline::currency, - debtor_account_number: String, - debtor_name: String, - debtor_routing_number: String, - reason: Increase::Models::Transaction::Source::InboundRealTimePaymentsTransferDecline::reason, - remittance_information: String?, - transaction_identification: String, - transfer_id: String - } - - type currency = :CAD | :CHF | :EUR | :GBP | :JPY | :USD - - module Currency - extend Increase::Internal::Type::Enum - - # Canadian Dollar (CAD) - CAD: :CAD - - # Swiss Franc (CHF) - CHF: :CHF - - # Euro (EUR) - EUR: :EUR - - # British Pound (GBP) - GBP: :GBP - - # Japanese Yen (JPY) - JPY: :JPY - - # US Dollar (USD) - USD: :USD - - def self?.values: -> ::Array[Increase::Models::Transaction::Source::InboundRealTimePaymentsTransferDecline::currency] - end - - type reason = - :account_number_canceled - | :account_number_disabled - | :account_restricted - | :group_locked - | :entity_not_active - | :real_time_payments_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 Real-Time Payments transfers. - REAL_TIME_PAYMENTS_NOT_ENABLED: :real_time_payments_not_enabled - - def self?.values: -> ::Array[Increase::Models::Transaction::Source::InboundRealTimePaymentsTransferDecline::reason] - end - end - type inbound_wire_reversal = { amount: Integer, diff --git a/sig/increase/models/transaction_list_params.rbs b/sig/increase/models/transaction_list_params.rbs index 37766ea7d..fca9a5113 100644 --- a/sig/increase/models/transaction_list_params.rbs +++ b/sig/increase/models/transaction_list_params.rbs @@ -102,7 +102,6 @@ module Increase | :inbound_check_deposit_return_intention | :inbound_check_adjustment | :inbound_real_time_payments_transfer_confirmation - | :inbound_real_time_payments_transfer_decline | :inbound_wire_reversal | :inbound_wire_transfer | :inbound_wire_transfer_reversal @@ -179,9 +178,6 @@ module Increase # 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 - # 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 Wire Reversal: details will be under the `inbound_wire_reversal` object. INBOUND_WIRE_REVERSAL: :inbound_wire_reversal