diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 3f47f4bc2..5153ca9d4 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.48.0" + ".": "1.49.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index f4bfa5a9c..c4ea22888 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 216 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-e692ae6a744df0b2e6df643237f2338fb9afc9f55d456afde4fc392bc61ac438.yml -openapi_spec_hash: 121549528ff41d1a1f7ddb76a3c391de +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-658e39148e80216f2f6064ec405b424afb64c63842e8f6c61f14100bb149d069.yml +openapi_spec_hash: 38618257a4272f341695cd522f3e6dce config_hash: 29e452035e915a07cd64333b10a83077 diff --git a/CHANGELOG.md b/CHANGELOG.md index 5722f0725..2ad4730b2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.49.0 (2025-08-25) + +Full Changelog: [v1.48.0...v1.49.0](https://github.com/Increase/increase-ruby/compare/v1.48.0...v1.49.0) + +### Features + +* **api:** api update ([3d186a4](https://github.com/Increase/increase-ruby/commit/3d186a4d0c5af826417f3cf8c821bd8e46991f00)) + ## 1.48.0 (2025-08-25) Full Changelog: [v1.47.0...v1.48.0](https://github.com/Increase/increase-ruby/compare/v1.47.0...v1.48.0) diff --git a/Gemfile.lock b/Gemfile.lock index 18eba3ee3..819cf2205 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - increase (1.48.0) + increase (1.49.0) connection_pool GEM diff --git a/README.md b/README.md index 50d216795..19dea67a3 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.48.0" +gem "increase", "~> 1.49.0" ``` diff --git a/lib/increase/models/inbound_wire_drawdown_request.rb b/lib/increase/models/inbound_wire_drawdown_request.rb index 839cc01af..a9a302606 100644 --- a/lib/increase/models/inbound_wire_drawdown_request.rb +++ b/lib/increase/models/inbound_wire_drawdown_request.rb @@ -16,48 +16,48 @@ class InboundWireDrawdownRequest < Increase::Internal::Type::BaseModel # @return [Integer] required :amount, Integer - # @!attribute beneficiary_account_number - # The drawdown request's beneficiary's account number. + # @!attribute created_at + # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which + # the inbound wire drawdown requested was created. + # + # @return [Time] + required :created_at, Time + + # @!attribute creditor_account_number + # The creditor's account number. # # @return [String] - required :beneficiary_account_number, String + required :creditor_account_number, String - # @!attribute beneficiary_address_line1 - # Line 1 of the drawdown request's beneficiary's address. + # @!attribute creditor_address_line1 + # A free-form address field set by the sender. # # @return [String, nil] - required :beneficiary_address_line1, String, nil?: true + required :creditor_address_line1, String, nil?: true - # @!attribute beneficiary_address_line2 - # Line 2 of the drawdown request's beneficiary's address. + # @!attribute creditor_address_line2 + # A free-form address field set by the sender. # # @return [String, nil] - required :beneficiary_address_line2, String, nil?: true + required :creditor_address_line2, String, nil?: true - # @!attribute beneficiary_address_line3 - # Line 3 of the drawdown request's beneficiary's address. + # @!attribute creditor_address_line3 + # A free-form address field set by the sender. # # @return [String, nil] - required :beneficiary_address_line3, String, nil?: true + required :creditor_address_line3, String, nil?: true - # @!attribute beneficiary_name - # The drawdown request's beneficiary's name. + # @!attribute creditor_name + # A name set by the sender. # # @return [String, nil] - required :beneficiary_name, String, nil?: true + required :creditor_name, String, nil?: true - # @!attribute beneficiary_routing_number - # The drawdown request's beneficiary's routing number. + # @!attribute creditor_routing_number + # The creditor's routing number. # # @return [String] - required :beneficiary_routing_number, String - - # @!attribute created_at - # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which - # the inbound wire drawdown requested was created. - # - # @return [Time] - required :created_at, Time + required :creditor_routing_number, String # @!attribute currency # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the amount being @@ -66,75 +66,50 @@ class InboundWireDrawdownRequest < Increase::Internal::Type::BaseModel # @return [String] required :currency, String - # @!attribute message_to_recipient - # A message from the drawdown request's originator. - # - # @return [String, nil] - required :message_to_recipient, String, nil?: true - - # @!attribute originator_account_number - # The drawdown request's originator's account number. - # - # @return [String, nil] - required :originator_account_number, String, nil?: true - - # @!attribute originator_address_line1 - # Line 1 of the drawdown request's originator's address. + # @!attribute debtor_address_line1 + # A free-form address field set by the sender. # # @return [String, nil] - required :originator_address_line1, String, nil?: true + required :debtor_address_line1, String, nil?: true - # @!attribute originator_address_line2 - # Line 2 of the drawdown request's originator's address. + # @!attribute debtor_address_line2 + # A free-form address field set by the sender. # # @return [String, nil] - required :originator_address_line2, String, nil?: true + required :debtor_address_line2, String, nil?: true - # @!attribute originator_address_line3 - # Line 3 of the drawdown request's originator's address. + # @!attribute debtor_address_line3 + # A free-form address field set by the sender. # # @return [String, nil] - required :originator_address_line3, String, nil?: true + required :debtor_address_line3, String, nil?: true - # @!attribute originator_name - # The drawdown request's originator's name. + # @!attribute debtor_name + # A name set by the sender. # # @return [String, nil] - required :originator_name, String, nil?: true + required :debtor_name, String, nil?: true - # @!attribute originator_routing_number - # The drawdown request's originator's routing number. - # - # @return [String] - required :originator_routing_number, String - - # @!attribute originator_to_beneficiary_information_line1 - # Line 1 of the information conveyed from the originator of the message to the - # beneficiary. - # - # @return [String, nil] - required :originator_to_beneficiary_information_line1, String, nil?: true - - # @!attribute originator_to_beneficiary_information_line2 - # Line 2 of the information conveyed from the originator of the message to the - # beneficiary. + # @!attribute end_to_end_identification + # A free-form reference string set by the sender, to help identify the drawdown + # request. # # @return [String, nil] - required :originator_to_beneficiary_information_line2, String, nil?: true + required :end_to_end_identification, String, nil?: true - # @!attribute originator_to_beneficiary_information_line3 - # Line 3 of the information conveyed from the originator of the message to the - # beneficiary. + # @!attribute input_message_accountability_data + # A unique identifier available to the originating and receiving banks, commonly + # abbreviated as IMAD. It is created when the wire is submitted to the Fedwire + # service and is helpful when debugging wires with the originating bank. # # @return [String, nil] - required :originator_to_beneficiary_information_line3, String, nil?: true + required :input_message_accountability_data, String, nil?: true - # @!attribute originator_to_beneficiary_information_line4 - # Line 4 of the information conveyed from the originator of the message to the - # beneficiary. + # @!attribute instruction_identification + # The sending bank's identifier for the drawdown request. # # @return [String, nil] - required :originator_to_beneficiary_information_line4, String, nil?: true + required :instruction_identification, String, nil?: true # @!attribute recipient_account_number_id # The Account Number from which the recipient of this request is being requested @@ -150,7 +125,21 @@ class InboundWireDrawdownRequest < Increase::Internal::Type::BaseModel # @return [Symbol, Increase::Models::InboundWireDrawdownRequest::Type] required :type, enum: -> { Increase::InboundWireDrawdownRequest::Type } - # @!method initialize(id:, amount:, beneficiary_account_number:, beneficiary_address_line1:, beneficiary_address_line2:, beneficiary_address_line3:, beneficiary_name:, beneficiary_routing_number:, created_at:, currency:, message_to_recipient:, originator_account_number:, originator_address_line1:, originator_address_line2:, originator_address_line3:, originator_name:, originator_routing_number:, originator_to_beneficiary_information_line1:, originator_to_beneficiary_information_line2:, originator_to_beneficiary_information_line3:, originator_to_beneficiary_information_line4:, recipient_account_number_id:, type:) + # @!attribute unique_end_to_end_transaction_reference + # The Unique End-to-end Transaction Reference + # ([UETR](https://www.swift.com/payments/what-unique-end-end-transaction-reference-uetr)) + # of the drawdown request. + # + # @return [String, nil] + required :unique_end_to_end_transaction_reference, String, nil?: true + + # @!attribute unstructured_remittance_information + # A free-form message set by the sender. + # + # @return [String, nil] + required :unstructured_remittance_information, String, nil?: true + + # @!method initialize(id:, amount:, created_at:, creditor_account_number:, creditor_address_line1:, creditor_address_line2:, creditor_address_line3:, creditor_name:, creditor_routing_number:, currency:, debtor_address_line1:, debtor_address_line2:, debtor_address_line3:, debtor_name:, end_to_end_identification:, input_message_accountability_data:, instruction_identification:, recipient_account_number_id:, type:, unique_end_to_end_transaction_reference:, unstructured_remittance_information:) # Some parameter documentations has been truncated, see # {Increase::Models::InboundWireDrawdownRequest} for more details. # @@ -162,47 +151,43 @@ class InboundWireDrawdownRequest < Increase::Internal::Type::BaseModel # # @param amount [Integer] The amount being requested in cents. # - # @param beneficiary_account_number [String] The drawdown request's beneficiary's account number. + # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which th # - # @param beneficiary_address_line1 [String, nil] Line 1 of the drawdown request's beneficiary's address. + # @param creditor_account_number [String] The creditor's account number. # - # @param beneficiary_address_line2 [String, nil] Line 2 of the drawdown request's beneficiary's address. + # @param creditor_address_line1 [String, nil] A free-form address field set by the sender. # - # @param beneficiary_address_line3 [String, nil] Line 3 of the drawdown request's beneficiary's address. + # @param creditor_address_line2 [String, nil] A free-form address field set by the sender. # - # @param beneficiary_name [String, nil] The drawdown request's beneficiary's name. + # @param creditor_address_line3 [String, nil] A free-form address field set by the sender. # - # @param beneficiary_routing_number [String] The drawdown request's beneficiary's routing number. + # @param creditor_name [String, nil] A name set by the sender. # - # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which th + # @param creditor_routing_number [String] The creditor's routing number. # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the amount being # - # @param message_to_recipient [String, nil] A message from the drawdown request's originator. - # - # @param originator_account_number [String, nil] The drawdown request's originator's account number. + # @param debtor_address_line1 [String, nil] A free-form address field set by the sender. # - # @param originator_address_line1 [String, nil] Line 1 of the drawdown request's originator's address. + # @param debtor_address_line2 [String, nil] A free-form address field set by the sender. # - # @param originator_address_line2 [String, nil] Line 2 of the drawdown request's originator's address. + # @param debtor_address_line3 [String, nil] A free-form address field set by the sender. # - # @param originator_address_line3 [String, nil] Line 3 of the drawdown request's originator's address. + # @param debtor_name [String, nil] A name set by the sender. # - # @param originator_name [String, nil] The drawdown request's originator's name. + # @param end_to_end_identification [String, nil] A free-form reference string set by the sender, to help identify the drawdown re # - # @param originator_routing_number [String] The drawdown request's originator's routing number. + # @param input_message_accountability_data [String, nil] A unique identifier available to the originating and receiving banks, commonly a # - # @param originator_to_beneficiary_information_line1 [String, nil] Line 1 of the information conveyed from the originator of the message to the ben - # - # @param originator_to_beneficiary_information_line2 [String, nil] Line 2 of the information conveyed from the originator of the message to the ben - # - # @param originator_to_beneficiary_information_line3 [String, nil] Line 3 of the information conveyed from the originator of the message to the ben - # - # @param originator_to_beneficiary_information_line4 [String, nil] Line 4 of the information conveyed from the originator of the message to the ben + # @param instruction_identification [String, nil] The sending bank's identifier for the drawdown request. # # @param recipient_account_number_id [String] The Account Number from which the recipient of this request is being requested t # # @param type [Symbol, Increase::Models::InboundWireDrawdownRequest::Type] A constant representing the object's type. For this resource it will always be ` + # + # @param unique_end_to_end_transaction_reference [String, nil] The Unique End-to-end Transaction Reference ([UETR](https://www.swift.com/paymen + # + # @param unstructured_remittance_information [String, nil] A free-form message set by the sender. # A constant representing the object's type. For this resource it will always be # `inbound_wire_drawdown_request`. diff --git a/lib/increase/models/simulations/inbound_wire_drawdown_request_create_params.rb b/lib/increase/models/simulations/inbound_wire_drawdown_request_create_params.rb index dcd57a3b2..ff7cf70bf 100644 --- a/lib/increase/models/simulations/inbound_wire_drawdown_request_create_params.rb +++ b/lib/increase/models/simulations/inbound_wire_drawdown_request_create_params.rb @@ -14,17 +14,17 @@ class InboundWireDrawdownRequestCreateParams < Increase::Internal::Type::BaseMod # @return [Integer] required :amount, Integer - # @!attribute beneficiary_account_number - # The drawdown request's beneficiary's account number. + # @!attribute creditor_account_number + # The creditor's account number. # # @return [String] - required :beneficiary_account_number, String + required :creditor_account_number, String - # @!attribute beneficiary_routing_number - # The drawdown request's beneficiary's routing number. + # @!attribute creditor_routing_number + # The creditor's routing number. # # @return [String] - required :beneficiary_routing_number, String + required :creditor_routing_number, String # @!attribute currency # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the amount being @@ -33,24 +33,6 @@ class InboundWireDrawdownRequestCreateParams < Increase::Internal::Type::BaseMod # @return [String] required :currency, String - # @!attribute message_to_recipient - # A message from the drawdown request's originator. - # - # @return [String] - required :message_to_recipient, String - - # @!attribute originator_account_number - # The drawdown request's originator's account number. - # - # @return [String] - required :originator_account_number, String - - # @!attribute originator_routing_number - # The drawdown request's originator's routing number. - # - # @return [String] - required :originator_routing_number, String - # @!attribute recipient_account_number_id # The Account Number to which the recipient of this request is being requested to # send funds from. @@ -58,126 +40,139 @@ class InboundWireDrawdownRequestCreateParams < Increase::Internal::Type::BaseMod # @return [String] required :recipient_account_number_id, String - # @!attribute beneficiary_address_line1 - # Line 1 of the drawdown request's beneficiary's address. + # @!attribute creditor_address_line1 + # A free-form address field set by the sender representing the first line of the + # creditor's address. # # @return [String, nil] - optional :beneficiary_address_line1, String + optional :creditor_address_line1, String - # @!attribute beneficiary_address_line2 - # Line 2 of the drawdown request's beneficiary's address. + # @!attribute creditor_address_line2 + # A free-form address field set by the sender representing the second line of the + # creditor's address. # # @return [String, nil] - optional :beneficiary_address_line2, String + optional :creditor_address_line2, String - # @!attribute beneficiary_address_line3 - # Line 3 of the drawdown request's beneficiary's address. + # @!attribute creditor_address_line3 + # A free-form address field set by the sender representing the third line of the + # creditor's address. # # @return [String, nil] - optional :beneficiary_address_line3, String + optional :creditor_address_line3, String - # @!attribute beneficiary_name - # The drawdown request's beneficiary's name. + # @!attribute creditor_name + # A free-form name field set by the sender representing the creditor's name. # # @return [String, nil] - optional :beneficiary_name, String + optional :creditor_name, String - # @!attribute originator_address_line1 - # Line 1 of the drawdown request's originator's address. + # @!attribute debtor_account_number + # The debtor's account number. # # @return [String, nil] - optional :originator_address_line1, String + optional :debtor_account_number, String - # @!attribute originator_address_line2 - # Line 2 of the drawdown request's originator's address. + # @!attribute debtor_address_line1 + # A free-form address field set by the sender representing the first line of the + # debtor's address. # # @return [String, nil] - optional :originator_address_line2, String + optional :debtor_address_line1, String - # @!attribute originator_address_line3 - # Line 3 of the drawdown request's originator's address. + # @!attribute debtor_address_line2 + # A free-form address field set by the sender representing the second line of the + # debtor's address. # # @return [String, nil] - optional :originator_address_line3, String + optional :debtor_address_line2, String - # @!attribute originator_name - # The drawdown request's originator's name. + # @!attribute debtor_address_line3 + # A free-form address field set by the sender. # # @return [String, nil] - optional :originator_name, String + optional :debtor_address_line3, String - # @!attribute originator_to_beneficiary_information_line1 - # Line 1 of the information conveyed from the originator of the message to the - # beneficiary. + # @!attribute debtor_name + # A free-form name field set by the sender representing the debtor's name. # # @return [String, nil] - optional :originator_to_beneficiary_information_line1, String + optional :debtor_name, String - # @!attribute originator_to_beneficiary_information_line2 - # Line 2 of the information conveyed from the originator of the message to the - # beneficiary. + # @!attribute debtor_routing_number + # The debtor's routing number. # # @return [String, nil] - optional :originator_to_beneficiary_information_line2, String + optional :debtor_routing_number, String - # @!attribute originator_to_beneficiary_information_line3 - # Line 3 of the information conveyed from the originator of the message to the - # beneficiary. + # @!attribute end_to_end_identification + # A free-form reference string set by the sender, to help identify the transfer. # # @return [String, nil] - optional :originator_to_beneficiary_information_line3, String + optional :end_to_end_identification, String - # @!attribute originator_to_beneficiary_information_line4 - # Line 4 of the information conveyed from the originator of the message to the - # beneficiary. + # @!attribute instruction_identification + # The sending bank's identifier for the wire transfer. # # @return [String, nil] - optional :originator_to_beneficiary_information_line4, String + optional :instruction_identification, String - # @!method initialize(amount:, beneficiary_account_number:, beneficiary_routing_number:, currency:, message_to_recipient:, originator_account_number:, originator_routing_number:, recipient_account_number_id:, beneficiary_address_line1: nil, beneficiary_address_line2: nil, beneficiary_address_line3: nil, beneficiary_name: nil, originator_address_line1: nil, originator_address_line2: nil, originator_address_line3: nil, originator_name: nil, originator_to_beneficiary_information_line1: nil, originator_to_beneficiary_information_line2: nil, originator_to_beneficiary_information_line3: nil, originator_to_beneficiary_information_line4: nil, request_options: {}) + # @!attribute unique_end_to_end_transaction_reference + # The Unique End-to-end Transaction Reference + # ([UETR](https://www.swift.com/payments/what-unique-end-end-transaction-reference-uetr)) + # of the transfer. + # + # @return [String, nil] + optional :unique_end_to_end_transaction_reference, String + + # @!attribute unstructured_remittance_information + # A free-form message set by the sender. + # + # @return [String, nil] + optional :unstructured_remittance_information, String + + # @!method initialize(amount:, creditor_account_number:, creditor_routing_number:, currency:, recipient_account_number_id:, creditor_address_line1: nil, creditor_address_line2: nil, creditor_address_line3: nil, creditor_name: nil, debtor_account_number: nil, debtor_address_line1: nil, debtor_address_line2: nil, debtor_address_line3: nil, debtor_name: nil, debtor_routing_number: nil, end_to_end_identification: nil, instruction_identification: nil, unique_end_to_end_transaction_reference: nil, unstructured_remittance_information: nil, request_options: {}) # Some parameter documentations has been truncated, see # {Increase::Models::Simulations::InboundWireDrawdownRequestCreateParams} for more # details. # # @param amount [Integer] The amount being requested in cents. # - # @param beneficiary_account_number [String] The drawdown request's beneficiary's account number. + # @param creditor_account_number [String] The creditor's account number. # - # @param beneficiary_routing_number [String] The drawdown request's beneficiary's routing number. + # @param creditor_routing_number [String] The creditor's routing number. # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the amount being # - # @param message_to_recipient [String] A message from the drawdown request's originator. - # - # @param originator_account_number [String] The drawdown request's originator's account number. + # @param recipient_account_number_id [String] The Account Number to which the recipient of this request is being requested to # - # @param originator_routing_number [String] The drawdown request's originator's routing number. + # @param creditor_address_line1 [String] A free-form address field set by the sender representing the first line of the c # - # @param recipient_account_number_id [String] The Account Number to which the recipient of this request is being requested to + # @param creditor_address_line2 [String] A free-form address field set by the sender representing the second line of the # - # @param beneficiary_address_line1 [String] Line 1 of the drawdown request's beneficiary's address. + # @param creditor_address_line3 [String] A free-form address field set by the sender representing the third line of the c # - # @param beneficiary_address_line2 [String] Line 2 of the drawdown request's beneficiary's address. + # @param creditor_name [String] A free-form name field set by the sender representing the creditor's name. # - # @param beneficiary_address_line3 [String] Line 3 of the drawdown request's beneficiary's address. + # @param debtor_account_number [String] The debtor's account number. # - # @param beneficiary_name [String] The drawdown request's beneficiary's name. + # @param debtor_address_line1 [String] A free-form address field set by the sender representing the first line of the d # - # @param originator_address_line1 [String] Line 1 of the drawdown request's originator's address. + # @param debtor_address_line2 [String] A free-form address field set by the sender representing the second line of the # - # @param originator_address_line2 [String] Line 2 of the drawdown request's originator's address. + # @param debtor_address_line3 [String] A free-form address field set by the sender. # - # @param originator_address_line3 [String] Line 3 of the drawdown request's originator's address. + # @param debtor_name [String] A free-form name field set by the sender representing the debtor's name. # - # @param originator_name [String] The drawdown request's originator's name. + # @param debtor_routing_number [String] The debtor's routing number. # - # @param originator_to_beneficiary_information_line1 [String] Line 1 of the information conveyed from the originator of the message to the ben + # @param end_to_end_identification [String] A free-form reference string set by the sender, to help identify the transfer. # - # @param originator_to_beneficiary_information_line2 [String] Line 2 of the information conveyed from the originator of the message to the ben + # @param instruction_identification [String] The sending bank's identifier for the wire transfer. # - # @param originator_to_beneficiary_information_line3 [String] Line 3 of the information conveyed from the originator of the message to the ben + # @param unique_end_to_end_transaction_reference [String] The Unique End-to-end Transaction Reference ([UETR](https://www.swift.com/paymen # - # @param originator_to_beneficiary_information_line4 [String] Line 4 of the information conveyed from the originator of the message to the ben + # @param unstructured_remittance_information [String] A free-form message set by the sender. # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}] end diff --git a/lib/increase/resources/simulations/inbound_wire_drawdown_requests.rb b/lib/increase/resources/simulations/inbound_wire_drawdown_requests.rb index a0b50ea32..17ef62cef 100644 --- a/lib/increase/resources/simulations/inbound_wire_drawdown_requests.rb +++ b/lib/increase/resources/simulations/inbound_wire_drawdown_requests.rb @@ -11,47 +11,45 @@ class InboundWireDrawdownRequests # Simulates receiving an # [Inbound Wire Drawdown Request](#inbound-wire-drawdown-requests). # - # @overload create(amount:, beneficiary_account_number:, beneficiary_routing_number:, currency:, message_to_recipient:, originator_account_number:, originator_routing_number:, recipient_account_number_id:, beneficiary_address_line1: nil, beneficiary_address_line2: nil, beneficiary_address_line3: nil, beneficiary_name: nil, originator_address_line1: nil, originator_address_line2: nil, originator_address_line3: nil, originator_name: nil, originator_to_beneficiary_information_line1: nil, originator_to_beneficiary_information_line2: nil, originator_to_beneficiary_information_line3: nil, originator_to_beneficiary_information_line4: nil, request_options: {}) + # @overload create(amount:, creditor_account_number:, creditor_routing_number:, currency:, recipient_account_number_id:, creditor_address_line1: nil, creditor_address_line2: nil, creditor_address_line3: nil, creditor_name: nil, debtor_account_number: nil, debtor_address_line1: nil, debtor_address_line2: nil, debtor_address_line3: nil, debtor_name: nil, debtor_routing_number: nil, end_to_end_identification: nil, instruction_identification: nil, unique_end_to_end_transaction_reference: nil, unstructured_remittance_information: nil, request_options: {}) # # @param amount [Integer] The amount being requested in cents. # - # @param beneficiary_account_number [String] The drawdown request's beneficiary's account number. + # @param creditor_account_number [String] The creditor's account number. # - # @param beneficiary_routing_number [String] The drawdown request's beneficiary's routing number. + # @param creditor_routing_number [String] The creditor's routing number. # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the amount being # - # @param message_to_recipient [String] A message from the drawdown request's originator. - # - # @param originator_account_number [String] The drawdown request's originator's account number. + # @param recipient_account_number_id [String] The Account Number to which the recipient of this request is being requested to # - # @param originator_routing_number [String] The drawdown request's originator's routing number. + # @param creditor_address_line1 [String] A free-form address field set by the sender representing the first line of the c # - # @param recipient_account_number_id [String] The Account Number to which the recipient of this request is being requested to + # @param creditor_address_line2 [String] A free-form address field set by the sender representing the second line of the # - # @param beneficiary_address_line1 [String] Line 1 of the drawdown request's beneficiary's address. + # @param creditor_address_line3 [String] A free-form address field set by the sender representing the third line of the c # - # @param beneficiary_address_line2 [String] Line 2 of the drawdown request's beneficiary's address. + # @param creditor_name [String] A free-form name field set by the sender representing the creditor's name. # - # @param beneficiary_address_line3 [String] Line 3 of the drawdown request's beneficiary's address. + # @param debtor_account_number [String] The debtor's account number. # - # @param beneficiary_name [String] The drawdown request's beneficiary's name. + # @param debtor_address_line1 [String] A free-form address field set by the sender representing the first line of the d # - # @param originator_address_line1 [String] Line 1 of the drawdown request's originator's address. + # @param debtor_address_line2 [String] A free-form address field set by the sender representing the second line of the # - # @param originator_address_line2 [String] Line 2 of the drawdown request's originator's address. + # @param debtor_address_line3 [String] A free-form address field set by the sender. # - # @param originator_address_line3 [String] Line 3 of the drawdown request's originator's address. + # @param debtor_name [String] A free-form name field set by the sender representing the debtor's name. # - # @param originator_name [String] The drawdown request's originator's name. + # @param debtor_routing_number [String] The debtor's routing number. # - # @param originator_to_beneficiary_information_line1 [String] Line 1 of the information conveyed from the originator of the message to the ben + # @param end_to_end_identification [String] A free-form reference string set by the sender, to help identify the transfer. # - # @param originator_to_beneficiary_information_line2 [String] Line 2 of the information conveyed from the originator of the message to the ben + # @param instruction_identification [String] The sending bank's identifier for the wire transfer. # - # @param originator_to_beneficiary_information_line3 [String] Line 3 of the information conveyed from the originator of the message to the ben + # @param unique_end_to_end_transaction_reference [String] The Unique End-to-end Transaction Reference ([UETR](https://www.swift.com/paymen # - # @param originator_to_beneficiary_information_line4 [String] Line 4 of the information conveyed from the originator of the message to the ben + # @param unstructured_remittance_information [String] A free-form message set by the sender. # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # diff --git a/lib/increase/version.rb b/lib/increase/version.rb index 8c8249339..fa2ecddc6 100644 --- a/lib/increase/version.rb +++ b/lib/increase/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Increase - VERSION = "1.48.0" + VERSION = "1.49.0" end diff --git a/rbi/increase/models/inbound_wire_drawdown_request.rbi b/rbi/increase/models/inbound_wire_drawdown_request.rbi index 230fdb13c..3129be1d9 100644 --- a/rbi/increase/models/inbound_wire_drawdown_request.rbi +++ b/rbi/increase/models/inbound_wire_drawdown_request.rbi @@ -19,87 +19,70 @@ module Increase sig { returns(Integer) } attr_accessor :amount - # The drawdown request's beneficiary's account number. + # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which + # the inbound wire drawdown requested was created. + sig { returns(Time) } + attr_accessor :created_at + + # The creditor's account number. sig { returns(String) } - attr_accessor :beneficiary_account_number + attr_accessor :creditor_account_number - # Line 1 of the drawdown request's beneficiary's address. + # A free-form address field set by the sender. sig { returns(T.nilable(String)) } - attr_accessor :beneficiary_address_line1 + attr_accessor :creditor_address_line1 - # Line 2 of the drawdown request's beneficiary's address. + # A free-form address field set by the sender. sig { returns(T.nilable(String)) } - attr_accessor :beneficiary_address_line2 + attr_accessor :creditor_address_line2 - # Line 3 of the drawdown request's beneficiary's address. + # A free-form address field set by the sender. sig { returns(T.nilable(String)) } - attr_accessor :beneficiary_address_line3 + attr_accessor :creditor_address_line3 - # The drawdown request's beneficiary's name. + # A name set by the sender. sig { returns(T.nilable(String)) } - attr_accessor :beneficiary_name + attr_accessor :creditor_name - # The drawdown request's beneficiary's routing number. + # The creditor's routing number. sig { returns(String) } - attr_accessor :beneficiary_routing_number - - # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which - # the inbound wire drawdown requested was created. - sig { returns(Time) } - attr_accessor :created_at + attr_accessor :creditor_routing_number # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the amount being # requested. Will always be "USD". sig { returns(String) } attr_accessor :currency - # A message from the drawdown request's originator. - sig { returns(T.nilable(String)) } - attr_accessor :message_to_recipient - - # The drawdown request's originator's account number. - sig { returns(T.nilable(String)) } - attr_accessor :originator_account_number - - # Line 1 of the drawdown request's originator's address. + # A free-form address field set by the sender. sig { returns(T.nilable(String)) } - attr_accessor :originator_address_line1 + attr_accessor :debtor_address_line1 - # Line 2 of the drawdown request's originator's address. + # A free-form address field set by the sender. sig { returns(T.nilable(String)) } - attr_accessor :originator_address_line2 + attr_accessor :debtor_address_line2 - # Line 3 of the drawdown request's originator's address. + # A free-form address field set by the sender. sig { returns(T.nilable(String)) } - attr_accessor :originator_address_line3 + attr_accessor :debtor_address_line3 - # The drawdown request's originator's name. + # A name set by the sender. sig { returns(T.nilable(String)) } - attr_accessor :originator_name + attr_accessor :debtor_name - # The drawdown request's originator's routing number. - sig { returns(String) } - attr_accessor :originator_routing_number - - # Line 1 of the information conveyed from the originator of the message to the - # beneficiary. + # A free-form reference string set by the sender, to help identify the drawdown + # request. sig { returns(T.nilable(String)) } - attr_accessor :originator_to_beneficiary_information_line1 + attr_accessor :end_to_end_identification - # Line 2 of the information conveyed from the originator of the message to the - # beneficiary. + # A unique identifier available to the originating and receiving banks, commonly + # abbreviated as IMAD. It is created when the wire is submitted to the Fedwire + # service and is helpful when debugging wires with the originating bank. sig { returns(T.nilable(String)) } - attr_accessor :originator_to_beneficiary_information_line2 + attr_accessor :input_message_accountability_data - # Line 3 of the information conveyed from the originator of the message to the - # beneficiary. + # The sending bank's identifier for the drawdown request. sig { returns(T.nilable(String)) } - attr_accessor :originator_to_beneficiary_information_line3 - - # Line 4 of the information conveyed from the originator of the message to the - # beneficiary. - sig { returns(T.nilable(String)) } - attr_accessor :originator_to_beneficiary_information_line4 + attr_accessor :instruction_identification # The Account Number from which the recipient of this request is being requested # to send funds. @@ -111,6 +94,16 @@ module Increase sig { returns(Increase::InboundWireDrawdownRequest::Type::TaggedSymbol) } attr_accessor :type + # The Unique End-to-end Transaction Reference + # ([UETR](https://www.swift.com/payments/what-unique-end-end-transaction-reference-uetr)) + # of the drawdown request. + sig { returns(T.nilable(String)) } + attr_accessor :unique_end_to_end_transaction_reference + + # A free-form message set by the sender. + sig { returns(T.nilable(String)) } + attr_accessor :unstructured_remittance_information + # Inbound wire drawdown requests are requests from someone else to send them a # wire. For more information, see our # [Wire Drawdown Requests documentation](/documentation/wire-drawdown-requests). @@ -118,27 +111,25 @@ module Increase params( id: String, amount: Integer, - beneficiary_account_number: String, - beneficiary_address_line1: T.nilable(String), - beneficiary_address_line2: T.nilable(String), - beneficiary_address_line3: T.nilable(String), - beneficiary_name: T.nilable(String), - beneficiary_routing_number: String, created_at: Time, + creditor_account_number: String, + creditor_address_line1: T.nilable(String), + creditor_address_line2: T.nilable(String), + creditor_address_line3: T.nilable(String), + creditor_name: T.nilable(String), + creditor_routing_number: String, currency: String, - message_to_recipient: T.nilable(String), - originator_account_number: T.nilable(String), - originator_address_line1: T.nilable(String), - originator_address_line2: T.nilable(String), - originator_address_line3: T.nilable(String), - originator_name: T.nilable(String), - originator_routing_number: String, - originator_to_beneficiary_information_line1: T.nilable(String), - originator_to_beneficiary_information_line2: T.nilable(String), - originator_to_beneficiary_information_line3: T.nilable(String), - originator_to_beneficiary_information_line4: T.nilable(String), + debtor_address_line1: T.nilable(String), + debtor_address_line2: T.nilable(String), + debtor_address_line3: T.nilable(String), + debtor_name: T.nilable(String), + end_to_end_identification: T.nilable(String), + input_message_accountability_data: T.nilable(String), + instruction_identification: T.nilable(String), recipient_account_number_id: String, - type: Increase::InboundWireDrawdownRequest::Type::OrSymbol + type: Increase::InboundWireDrawdownRequest::Type::OrSymbol, + unique_end_to_end_transaction_reference: T.nilable(String), + unstructured_remittance_information: T.nilable(String) ).returns(T.attached_class) end def self.new( @@ -146,56 +137,53 @@ module Increase id:, # The amount being requested in cents. amount:, - # The drawdown request's beneficiary's account number. - beneficiary_account_number:, - # Line 1 of the drawdown request's beneficiary's address. - beneficiary_address_line1:, - # Line 2 of the drawdown request's beneficiary's address. - beneficiary_address_line2:, - # Line 3 of the drawdown request's beneficiary's address. - beneficiary_address_line3:, - # The drawdown request's beneficiary's name. - beneficiary_name:, - # The drawdown request's beneficiary's routing number. - beneficiary_routing_number:, # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which # the inbound wire drawdown requested was created. created_at:, + # The creditor's account number. + creditor_account_number:, + # A free-form address field set by the sender. + creditor_address_line1:, + # A free-form address field set by the sender. + creditor_address_line2:, + # A free-form address field set by the sender. + creditor_address_line3:, + # A name set by the sender. + creditor_name:, + # The creditor's routing number. + creditor_routing_number:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the amount being # requested. Will always be "USD". currency:, - # A message from the drawdown request's originator. - message_to_recipient:, - # The drawdown request's originator's account number. - originator_account_number:, - # Line 1 of the drawdown request's originator's address. - originator_address_line1:, - # Line 2 of the drawdown request's originator's address. - originator_address_line2:, - # Line 3 of the drawdown request's originator's address. - originator_address_line3:, - # The drawdown request's originator's name. - originator_name:, - # The drawdown request's originator's routing number. - originator_routing_number:, - # Line 1 of the information conveyed from the originator of the message to the - # beneficiary. - originator_to_beneficiary_information_line1:, - # Line 2 of the information conveyed from the originator of the message to the - # beneficiary. - originator_to_beneficiary_information_line2:, - # Line 3 of the information conveyed from the originator of the message to the - # beneficiary. - originator_to_beneficiary_information_line3:, - # Line 4 of the information conveyed from the originator of the message to the - # beneficiary. - originator_to_beneficiary_information_line4:, + # A free-form address field set by the sender. + debtor_address_line1:, + # A free-form address field set by the sender. + debtor_address_line2:, + # A free-form address field set by the sender. + debtor_address_line3:, + # A name set by the sender. + debtor_name:, + # A free-form reference string set by the sender, to help identify the drawdown + # request. + end_to_end_identification:, + # A unique identifier available to the originating and receiving banks, commonly + # abbreviated as IMAD. It is created when the wire is submitted to the Fedwire + # service and is helpful when debugging wires with the originating bank. + input_message_accountability_data:, + # The sending bank's identifier for the drawdown request. + instruction_identification:, # The Account Number from which the recipient of this request is being requested # to send funds. recipient_account_number_id:, # A constant representing the object's type. For this resource it will always be # `inbound_wire_drawdown_request`. - type: + type:, + # The Unique End-to-end Transaction Reference + # ([UETR](https://www.swift.com/payments/what-unique-end-end-transaction-reference-uetr)) + # of the drawdown request. + unique_end_to_end_transaction_reference:, + # A free-form message set by the sender. + unstructured_remittance_information: ) end @@ -204,27 +192,25 @@ module Increase { id: String, amount: Integer, - beneficiary_account_number: String, - beneficiary_address_line1: T.nilable(String), - beneficiary_address_line2: T.nilable(String), - beneficiary_address_line3: T.nilable(String), - beneficiary_name: T.nilable(String), - beneficiary_routing_number: String, created_at: Time, + creditor_account_number: String, + creditor_address_line1: T.nilable(String), + creditor_address_line2: T.nilable(String), + creditor_address_line3: T.nilable(String), + creditor_name: T.nilable(String), + creditor_routing_number: String, currency: String, - message_to_recipient: T.nilable(String), - originator_account_number: T.nilable(String), - originator_address_line1: T.nilable(String), - originator_address_line2: T.nilable(String), - originator_address_line3: T.nilable(String), - originator_name: T.nilable(String), - originator_routing_number: String, - originator_to_beneficiary_information_line1: T.nilable(String), - originator_to_beneficiary_information_line2: T.nilable(String), - originator_to_beneficiary_information_line3: T.nilable(String), - originator_to_beneficiary_information_line4: T.nilable(String), + debtor_address_line1: T.nilable(String), + debtor_address_line2: T.nilable(String), + debtor_address_line3: T.nilable(String), + debtor_name: T.nilable(String), + end_to_end_identification: T.nilable(String), + input_message_accountability_data: T.nilable(String), + instruction_identification: T.nilable(String), recipient_account_number_id: String, - type: Increase::InboundWireDrawdownRequest::Type::TaggedSymbol + type: Increase::InboundWireDrawdownRequest::Type::TaggedSymbol, + unique_end_to_end_transaction_reference: T.nilable(String), + unstructured_remittance_information: T.nilable(String) } ) end diff --git a/rbi/increase/models/simulations/inbound_wire_drawdown_request_create_params.rbi b/rbi/increase/models/simulations/inbound_wire_drawdown_request_create_params.rbi index da572f3bd..62b973223 100644 --- a/rbi/increase/models/simulations/inbound_wire_drawdown_request_create_params.rbi +++ b/rbi/increase/models/simulations/inbound_wire_drawdown_request_create_params.rbi @@ -19,196 +19,201 @@ module Increase sig { returns(Integer) } attr_accessor :amount - # The drawdown request's beneficiary's account number. + # The creditor's account number. sig { returns(String) } - attr_accessor :beneficiary_account_number + attr_accessor :creditor_account_number - # The drawdown request's beneficiary's routing number. + # The creditor's routing number. sig { returns(String) } - attr_accessor :beneficiary_routing_number + attr_accessor :creditor_routing_number # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the amount being # requested. Will always be "USD". sig { returns(String) } attr_accessor :currency - # A message from the drawdown request's originator. - sig { returns(String) } - attr_accessor :message_to_recipient - - # The drawdown request's originator's account number. - sig { returns(String) } - attr_accessor :originator_account_number - - # The drawdown request's originator's routing number. - sig { returns(String) } - attr_accessor :originator_routing_number - # The Account Number to which the recipient of this request is being requested to # send funds from. sig { returns(String) } attr_accessor :recipient_account_number_id - # Line 1 of the drawdown request's beneficiary's address. + # A free-form address field set by the sender representing the first line of the + # creditor's address. + sig { returns(T.nilable(String)) } + attr_reader :creditor_address_line1 + + sig { params(creditor_address_line1: String).void } + attr_writer :creditor_address_line1 + + # A free-form address field set by the sender representing the second line of the + # creditor's address. + sig { returns(T.nilable(String)) } + attr_reader :creditor_address_line2 + + sig { params(creditor_address_line2: String).void } + attr_writer :creditor_address_line2 + + # A free-form address field set by the sender representing the third line of the + # creditor's address. sig { returns(T.nilable(String)) } - attr_reader :beneficiary_address_line1 + attr_reader :creditor_address_line3 - sig { params(beneficiary_address_line1: String).void } - attr_writer :beneficiary_address_line1 + sig { params(creditor_address_line3: String).void } + attr_writer :creditor_address_line3 - # Line 2 of the drawdown request's beneficiary's address. + # A free-form name field set by the sender representing the creditor's name. sig { returns(T.nilable(String)) } - attr_reader :beneficiary_address_line2 + attr_reader :creditor_name - sig { params(beneficiary_address_line2: String).void } - attr_writer :beneficiary_address_line2 + sig { params(creditor_name: String).void } + attr_writer :creditor_name - # Line 3 of the drawdown request's beneficiary's address. + # The debtor's account number. sig { returns(T.nilable(String)) } - attr_reader :beneficiary_address_line3 + attr_reader :debtor_account_number - sig { params(beneficiary_address_line3: String).void } - attr_writer :beneficiary_address_line3 + sig { params(debtor_account_number: String).void } + attr_writer :debtor_account_number - # The drawdown request's beneficiary's name. + # A free-form address field set by the sender representing the first line of the + # debtor's address. sig { returns(T.nilable(String)) } - attr_reader :beneficiary_name + attr_reader :debtor_address_line1 - sig { params(beneficiary_name: String).void } - attr_writer :beneficiary_name + sig { params(debtor_address_line1: String).void } + attr_writer :debtor_address_line1 - # Line 1 of the drawdown request's originator's address. + # A free-form address field set by the sender representing the second line of the + # debtor's address. sig { returns(T.nilable(String)) } - attr_reader :originator_address_line1 + attr_reader :debtor_address_line2 - sig { params(originator_address_line1: String).void } - attr_writer :originator_address_line1 + sig { params(debtor_address_line2: String).void } + attr_writer :debtor_address_line2 - # Line 2 of the drawdown request's originator's address. + # A free-form address field set by the sender. sig { returns(T.nilable(String)) } - attr_reader :originator_address_line2 + attr_reader :debtor_address_line3 - sig { params(originator_address_line2: String).void } - attr_writer :originator_address_line2 + sig { params(debtor_address_line3: String).void } + attr_writer :debtor_address_line3 - # Line 3 of the drawdown request's originator's address. + # A free-form name field set by the sender representing the debtor's name. sig { returns(T.nilable(String)) } - attr_reader :originator_address_line3 + attr_reader :debtor_name - sig { params(originator_address_line3: String).void } - attr_writer :originator_address_line3 + sig { params(debtor_name: String).void } + attr_writer :debtor_name - # The drawdown request's originator's name. + # The debtor's routing number. sig { returns(T.nilable(String)) } - attr_reader :originator_name + attr_reader :debtor_routing_number - sig { params(originator_name: String).void } - attr_writer :originator_name + sig { params(debtor_routing_number: String).void } + attr_writer :debtor_routing_number - # Line 1 of the information conveyed from the originator of the message to the - # beneficiary. + # A free-form reference string set by the sender, to help identify the transfer. sig { returns(T.nilable(String)) } - attr_reader :originator_to_beneficiary_information_line1 + attr_reader :end_to_end_identification - sig { params(originator_to_beneficiary_information_line1: String).void } - attr_writer :originator_to_beneficiary_information_line1 + sig { params(end_to_end_identification: String).void } + attr_writer :end_to_end_identification - # Line 2 of the information conveyed from the originator of the message to the - # beneficiary. + # The sending bank's identifier for the wire transfer. sig { returns(T.nilable(String)) } - attr_reader :originator_to_beneficiary_information_line2 + attr_reader :instruction_identification - sig { params(originator_to_beneficiary_information_line2: String).void } - attr_writer :originator_to_beneficiary_information_line2 + sig { params(instruction_identification: String).void } + attr_writer :instruction_identification - # Line 3 of the information conveyed from the originator of the message to the - # beneficiary. + # The Unique End-to-end Transaction Reference + # ([UETR](https://www.swift.com/payments/what-unique-end-end-transaction-reference-uetr)) + # of the transfer. sig { returns(T.nilable(String)) } - attr_reader :originator_to_beneficiary_information_line3 + attr_reader :unique_end_to_end_transaction_reference - sig { params(originator_to_beneficiary_information_line3: String).void } - attr_writer :originator_to_beneficiary_information_line3 + sig { params(unique_end_to_end_transaction_reference: String).void } + attr_writer :unique_end_to_end_transaction_reference - # Line 4 of the information conveyed from the originator of the message to the - # beneficiary. + # A free-form message set by the sender. sig { returns(T.nilable(String)) } - attr_reader :originator_to_beneficiary_information_line4 + attr_reader :unstructured_remittance_information - sig { params(originator_to_beneficiary_information_line4: String).void } - attr_writer :originator_to_beneficiary_information_line4 + sig { params(unstructured_remittance_information: String).void } + attr_writer :unstructured_remittance_information sig do params( amount: Integer, - beneficiary_account_number: String, - beneficiary_routing_number: String, + creditor_account_number: String, + creditor_routing_number: String, currency: String, - message_to_recipient: String, - originator_account_number: String, - originator_routing_number: String, recipient_account_number_id: String, - beneficiary_address_line1: String, - beneficiary_address_line2: String, - beneficiary_address_line3: String, - beneficiary_name: String, - originator_address_line1: String, - originator_address_line2: String, - originator_address_line3: String, - originator_name: String, - originator_to_beneficiary_information_line1: String, - originator_to_beneficiary_information_line2: String, - originator_to_beneficiary_information_line3: String, - originator_to_beneficiary_information_line4: String, + creditor_address_line1: String, + creditor_address_line2: String, + creditor_address_line3: String, + creditor_name: String, + debtor_account_number: String, + debtor_address_line1: String, + debtor_address_line2: String, + debtor_address_line3: String, + debtor_name: String, + debtor_routing_number: String, + end_to_end_identification: String, + instruction_identification: String, + unique_end_to_end_transaction_reference: String, + unstructured_remittance_information: String, request_options: Increase::RequestOptions::OrHash ).returns(T.attached_class) end def self.new( # The amount being requested in cents. amount:, - # The drawdown request's beneficiary's account number. - beneficiary_account_number:, - # The drawdown request's beneficiary's routing number. - beneficiary_routing_number:, + # The creditor's account number. + creditor_account_number:, + # The creditor's routing number. + creditor_routing_number:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the amount being # requested. Will always be "USD". currency:, - # A message from the drawdown request's originator. - message_to_recipient:, - # The drawdown request's originator's account number. - originator_account_number:, - # The drawdown request's originator's routing number. - originator_routing_number:, # The Account Number to which the recipient of this request is being requested to # send funds from. recipient_account_number_id:, - # Line 1 of the drawdown request's beneficiary's address. - beneficiary_address_line1: nil, - # Line 2 of the drawdown request's beneficiary's address. - beneficiary_address_line2: nil, - # Line 3 of the drawdown request's beneficiary's address. - beneficiary_address_line3: nil, - # The drawdown request's beneficiary's name. - beneficiary_name: nil, - # Line 1 of the drawdown request's originator's address. - originator_address_line1: nil, - # Line 2 of the drawdown request's originator's address. - originator_address_line2: nil, - # Line 3 of the drawdown request's originator's address. - originator_address_line3: nil, - # The drawdown request's originator's name. - originator_name: nil, - # Line 1 of the information conveyed from the originator of the message to the - # beneficiary. - originator_to_beneficiary_information_line1: nil, - # Line 2 of the information conveyed from the originator of the message to the - # beneficiary. - originator_to_beneficiary_information_line2: nil, - # Line 3 of the information conveyed from the originator of the message to the - # beneficiary. - originator_to_beneficiary_information_line3: nil, - # Line 4 of the information conveyed from the originator of the message to the - # beneficiary. - originator_to_beneficiary_information_line4: nil, + # A free-form address field set by the sender representing the first line of the + # creditor's address. + creditor_address_line1: nil, + # A free-form address field set by the sender representing the second line of the + # creditor's address. + creditor_address_line2: nil, + # A free-form address field set by the sender representing the third line of the + # creditor's address. + creditor_address_line3: nil, + # A free-form name field set by the sender representing the creditor's name. + creditor_name: nil, + # The debtor's account number. + debtor_account_number: nil, + # A free-form address field set by the sender representing the first line of the + # debtor's address. + debtor_address_line1: nil, + # A free-form address field set by the sender representing the second line of the + # debtor's address. + debtor_address_line2: nil, + # A free-form address field set by the sender. + debtor_address_line3: nil, + # A free-form name field set by the sender representing the debtor's name. + debtor_name: nil, + # The debtor's routing number. + debtor_routing_number: nil, + # A free-form reference string set by the sender, to help identify the transfer. + end_to_end_identification: nil, + # The sending bank's identifier for the wire transfer. + instruction_identification: nil, + # The Unique End-to-end Transaction Reference + # ([UETR](https://www.swift.com/payments/what-unique-end-end-transaction-reference-uetr)) + # of the transfer. + unique_end_to_end_transaction_reference: nil, + # A free-form message set by the sender. + unstructured_remittance_information: nil, request_options: {} ) end @@ -217,25 +222,24 @@ module Increase override.returns( { amount: Integer, - beneficiary_account_number: String, - beneficiary_routing_number: String, + creditor_account_number: String, + creditor_routing_number: String, currency: String, - message_to_recipient: String, - originator_account_number: String, - originator_routing_number: String, recipient_account_number_id: String, - beneficiary_address_line1: String, - beneficiary_address_line2: String, - beneficiary_address_line3: String, - beneficiary_name: String, - originator_address_line1: String, - originator_address_line2: String, - originator_address_line3: String, - originator_name: String, - originator_to_beneficiary_information_line1: String, - originator_to_beneficiary_information_line2: String, - originator_to_beneficiary_information_line3: String, - originator_to_beneficiary_information_line4: String, + creditor_address_line1: String, + creditor_address_line2: String, + creditor_address_line3: String, + creditor_name: String, + debtor_account_number: String, + debtor_address_line1: String, + debtor_address_line2: String, + debtor_address_line3: String, + debtor_name: String, + debtor_routing_number: String, + end_to_end_identification: String, + instruction_identification: String, + unique_end_to_end_transaction_reference: String, + unstructured_remittance_information: String, request_options: Increase::RequestOptions } ) diff --git a/rbi/increase/resources/simulations/inbound_wire_drawdown_requests.rbi b/rbi/increase/resources/simulations/inbound_wire_drawdown_requests.rbi index 1b7ec845d..6f9379106 100644 --- a/rbi/increase/resources/simulations/inbound_wire_drawdown_requests.rbi +++ b/rbi/increase/resources/simulations/inbound_wire_drawdown_requests.rbi @@ -9,75 +9,75 @@ module Increase sig do params( amount: Integer, - beneficiary_account_number: String, - beneficiary_routing_number: String, + creditor_account_number: String, + creditor_routing_number: String, currency: String, - message_to_recipient: String, - originator_account_number: String, - originator_routing_number: String, recipient_account_number_id: String, - beneficiary_address_line1: String, - beneficiary_address_line2: String, - beneficiary_address_line3: String, - beneficiary_name: String, - originator_address_line1: String, - originator_address_line2: String, - originator_address_line3: String, - originator_name: String, - originator_to_beneficiary_information_line1: String, - originator_to_beneficiary_information_line2: String, - originator_to_beneficiary_information_line3: String, - originator_to_beneficiary_information_line4: String, + creditor_address_line1: String, + creditor_address_line2: String, + creditor_address_line3: String, + creditor_name: String, + debtor_account_number: String, + debtor_address_line1: String, + debtor_address_line2: String, + debtor_address_line3: String, + debtor_name: String, + debtor_routing_number: String, + end_to_end_identification: String, + instruction_identification: String, + unique_end_to_end_transaction_reference: String, + unstructured_remittance_information: String, request_options: Increase::RequestOptions::OrHash ).returns(Increase::InboundWireDrawdownRequest) end def create( # The amount being requested in cents. amount:, - # The drawdown request's beneficiary's account number. - beneficiary_account_number:, - # The drawdown request's beneficiary's routing number. - beneficiary_routing_number:, + # The creditor's account number. + creditor_account_number:, + # The creditor's routing number. + creditor_routing_number:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the amount being # requested. Will always be "USD". currency:, - # A message from the drawdown request's originator. - message_to_recipient:, - # The drawdown request's originator's account number. - originator_account_number:, - # The drawdown request's originator's routing number. - originator_routing_number:, # The Account Number to which the recipient of this request is being requested to # send funds from. recipient_account_number_id:, - # Line 1 of the drawdown request's beneficiary's address. - beneficiary_address_line1: nil, - # Line 2 of the drawdown request's beneficiary's address. - beneficiary_address_line2: nil, - # Line 3 of the drawdown request's beneficiary's address. - beneficiary_address_line3: nil, - # The drawdown request's beneficiary's name. - beneficiary_name: nil, - # Line 1 of the drawdown request's originator's address. - originator_address_line1: nil, - # Line 2 of the drawdown request's originator's address. - originator_address_line2: nil, - # Line 3 of the drawdown request's originator's address. - originator_address_line3: nil, - # The drawdown request's originator's name. - originator_name: nil, - # Line 1 of the information conveyed from the originator of the message to the - # beneficiary. - originator_to_beneficiary_information_line1: nil, - # Line 2 of the information conveyed from the originator of the message to the - # beneficiary. - originator_to_beneficiary_information_line2: nil, - # Line 3 of the information conveyed from the originator of the message to the - # beneficiary. - originator_to_beneficiary_information_line3: nil, - # Line 4 of the information conveyed from the originator of the message to the - # beneficiary. - originator_to_beneficiary_information_line4: nil, + # A free-form address field set by the sender representing the first line of the + # creditor's address. + creditor_address_line1: nil, + # A free-form address field set by the sender representing the second line of the + # creditor's address. + creditor_address_line2: nil, + # A free-form address field set by the sender representing the third line of the + # creditor's address. + creditor_address_line3: nil, + # A free-form name field set by the sender representing the creditor's name. + creditor_name: nil, + # The debtor's account number. + debtor_account_number: nil, + # A free-form address field set by the sender representing the first line of the + # debtor's address. + debtor_address_line1: nil, + # A free-form address field set by the sender representing the second line of the + # debtor's address. + debtor_address_line2: nil, + # A free-form address field set by the sender. + debtor_address_line3: nil, + # A free-form name field set by the sender representing the debtor's name. + debtor_name: nil, + # The debtor's routing number. + debtor_routing_number: nil, + # A free-form reference string set by the sender, to help identify the transfer. + end_to_end_identification: nil, + # The sending bank's identifier for the wire transfer. + instruction_identification: nil, + # The Unique End-to-end Transaction Reference + # ([UETR](https://www.swift.com/payments/what-unique-end-end-transaction-reference-uetr)) + # of the transfer. + unique_end_to_end_transaction_reference: nil, + # A free-form message set by the sender. + unstructured_remittance_information: nil, request_options: {} ) end diff --git a/sig/increase/models/inbound_wire_drawdown_request.rbs b/sig/increase/models/inbound_wire_drawdown_request.rbs index 2b884777e..441d86180 100644 --- a/sig/increase/models/inbound_wire_drawdown_request.rbs +++ b/sig/increase/models/inbound_wire_drawdown_request.rbs @@ -4,27 +4,25 @@ module Increase { id: String, amount: Integer, - beneficiary_account_number: String, - :beneficiary_address_line1 => String?, - :beneficiary_address_line2 => String?, - :beneficiary_address_line3 => String?, - beneficiary_name: String?, - beneficiary_routing_number: String, created_at: Time, + creditor_account_number: String, + :creditor_address_line1 => String?, + :creditor_address_line2 => String?, + :creditor_address_line3 => String?, + creditor_name: String?, + creditor_routing_number: String, currency: String, - message_to_recipient: String?, - originator_account_number: String?, - :originator_address_line1 => String?, - :originator_address_line2 => String?, - :originator_address_line3 => String?, - originator_name: String?, - originator_routing_number: String, - :originator_to_beneficiary_information_line1 => String?, - :originator_to_beneficiary_information_line2 => String?, - :originator_to_beneficiary_information_line3 => String?, - :originator_to_beneficiary_information_line4 => String?, + :debtor_address_line1 => String?, + :debtor_address_line2 => String?, + :debtor_address_line3 => String?, + debtor_name: String?, + end_to_end_identification: String?, + input_message_accountability_data: String?, + instruction_identification: String?, recipient_account_number_id: String, - type: Increase::Models::InboundWireDrawdownRequest::type_ + type: Increase::Models::InboundWireDrawdownRequest::type_, + unique_end_to_end_transaction_reference: String?, + unstructured_remittance_information: String? } class InboundWireDrawdownRequest < Increase::Internal::Type::BaseModel @@ -32,98 +30,90 @@ module Increase attr_accessor amount: Integer - attr_accessor beneficiary_account_number: String + attr_accessor created_at: Time - attr_accessor beneficiary_address_line1: String? + attr_accessor creditor_account_number: String - attr_accessor beneficiary_address_line2: String? + attr_accessor creditor_address_line1: String? - attr_accessor beneficiary_address_line3: String? + attr_accessor creditor_address_line2: String? - attr_accessor beneficiary_name: String? + attr_accessor creditor_address_line3: String? - attr_accessor beneficiary_routing_number: String + attr_accessor creditor_name: String? - attr_accessor created_at: Time + attr_accessor creditor_routing_number: String attr_accessor currency: String - attr_accessor message_to_recipient: String? - - attr_accessor originator_account_number: String? - - attr_accessor originator_address_line1: String? + attr_accessor debtor_address_line1: String? - attr_accessor originator_address_line2: String? + attr_accessor debtor_address_line2: String? - attr_accessor originator_address_line3: String? + attr_accessor debtor_address_line3: String? - attr_accessor originator_name: String? + attr_accessor debtor_name: String? - attr_accessor originator_routing_number: String + attr_accessor end_to_end_identification: String? - attr_accessor originator_to_beneficiary_information_line1: String? + attr_accessor input_message_accountability_data: String? - attr_accessor originator_to_beneficiary_information_line2: String? - - attr_accessor originator_to_beneficiary_information_line3: String? - - attr_accessor originator_to_beneficiary_information_line4: String? + attr_accessor instruction_identification: String? attr_accessor recipient_account_number_id: String attr_accessor type: Increase::Models::InboundWireDrawdownRequest::type_ + attr_accessor unique_end_to_end_transaction_reference: String? + + attr_accessor unstructured_remittance_information: String? + def initialize: ( id: String, amount: Integer, - beneficiary_account_number: String, - beneficiary_address_line1: String?, - beneficiary_address_line2: String?, - beneficiary_address_line3: String?, - beneficiary_name: String?, - beneficiary_routing_number: String, created_at: Time, + creditor_account_number: String, + creditor_address_line1: String?, + creditor_address_line2: String?, + creditor_address_line3: String?, + creditor_name: String?, + creditor_routing_number: String, currency: String, - message_to_recipient: String?, - originator_account_number: String?, - originator_address_line1: String?, - originator_address_line2: String?, - originator_address_line3: String?, - originator_name: String?, - originator_routing_number: String, - originator_to_beneficiary_information_line1: String?, - originator_to_beneficiary_information_line2: String?, - originator_to_beneficiary_information_line3: String?, - originator_to_beneficiary_information_line4: String?, + debtor_address_line1: String?, + debtor_address_line2: String?, + debtor_address_line3: String?, + debtor_name: String?, + end_to_end_identification: String?, + input_message_accountability_data: String?, + instruction_identification: String?, recipient_account_number_id: String, - type: Increase::Models::InboundWireDrawdownRequest::type_ + type: Increase::Models::InboundWireDrawdownRequest::type_, + unique_end_to_end_transaction_reference: String?, + unstructured_remittance_information: String? ) -> void def to_hash: -> { id: String, amount: Integer, - beneficiary_account_number: String, - :beneficiary_address_line1 => String?, - :beneficiary_address_line2 => String?, - :beneficiary_address_line3 => String?, - beneficiary_name: String?, - beneficiary_routing_number: String, created_at: Time, + creditor_account_number: String, + :creditor_address_line1 => String?, + :creditor_address_line2 => String?, + :creditor_address_line3 => String?, + creditor_name: String?, + creditor_routing_number: String, currency: String, - message_to_recipient: String?, - originator_account_number: String?, - :originator_address_line1 => String?, - :originator_address_line2 => String?, - :originator_address_line3 => String?, - originator_name: String?, - originator_routing_number: String, - :originator_to_beneficiary_information_line1 => String?, - :originator_to_beneficiary_information_line2 => String?, - :originator_to_beneficiary_information_line3 => String?, - :originator_to_beneficiary_information_line4 => String?, + :debtor_address_line1 => String?, + :debtor_address_line2 => String?, + :debtor_address_line3 => String?, + debtor_name: String?, + end_to_end_identification: String?, + input_message_accountability_data: String?, + instruction_identification: String?, recipient_account_number_id: String, - type: Increase::Models::InboundWireDrawdownRequest::type_ + type: Increase::Models::InboundWireDrawdownRequest::type_, + unique_end_to_end_transaction_reference: String?, + unstructured_remittance_information: String? } type type_ = :inbound_wire_drawdown_request diff --git a/sig/increase/models/simulations/inbound_wire_drawdown_request_create_params.rbs b/sig/increase/models/simulations/inbound_wire_drawdown_request_create_params.rbs index 00e11d5ff..9e00a2567 100644 --- a/sig/increase/models/simulations/inbound_wire_drawdown_request_create_params.rbs +++ b/sig/increase/models/simulations/inbound_wire_drawdown_request_create_params.rbs @@ -4,25 +4,24 @@ module Increase type inbound_wire_drawdown_request_create_params = { amount: Integer, - beneficiary_account_number: String, - beneficiary_routing_number: String, + creditor_account_number: String, + creditor_routing_number: String, currency: String, - message_to_recipient: String, - originator_account_number: String, - originator_routing_number: String, recipient_account_number_id: String, - :beneficiary_address_line1 => String, - :beneficiary_address_line2 => String, - :beneficiary_address_line3 => String, - beneficiary_name: String, - :originator_address_line1 => String, - :originator_address_line2 => String, - :originator_address_line3 => String, - originator_name: String, - :originator_to_beneficiary_information_line1 => String, - :originator_to_beneficiary_information_line2 => String, - :originator_to_beneficiary_information_line3 => String, - :originator_to_beneficiary_information_line4 => String + :creditor_address_line1 => String, + :creditor_address_line2 => String, + :creditor_address_line3 => String, + creditor_name: String, + debtor_account_number: String, + :debtor_address_line1 => String, + :debtor_address_line2 => String, + :debtor_address_line3 => String, + debtor_name: String, + debtor_routing_number: String, + end_to_end_identification: String, + instruction_identification: String, + unique_end_to_end_transaction_reference: String, + unstructured_remittance_information: String } & Increase::Internal::Type::request_parameters @@ -32,113 +31,113 @@ module Increase attr_accessor amount: Integer - attr_accessor beneficiary_account_number: String + attr_accessor creditor_account_number: String - attr_accessor beneficiary_routing_number: String + attr_accessor creditor_routing_number: String attr_accessor currency: String - attr_accessor message_to_recipient: String + attr_accessor recipient_account_number_id: String - attr_accessor originator_account_number: String + attr_reader creditor_address_line1: String? - attr_accessor originator_routing_number: String + def creditor_address_line1=: (String) -> String - attr_accessor recipient_account_number_id: String + attr_reader creditor_address_line2: String? + + def creditor_address_line2=: (String) -> String - attr_reader beneficiary_address_line1: String? + attr_reader creditor_address_line3: String? - def beneficiary_address_line1=: (String) -> String + def creditor_address_line3=: (String) -> String - attr_reader beneficiary_address_line2: String? + attr_reader creditor_name: String? - def beneficiary_address_line2=: (String) -> String + def creditor_name=: (String) -> String - attr_reader beneficiary_address_line3: String? + attr_reader debtor_account_number: String? - def beneficiary_address_line3=: (String) -> String + def debtor_account_number=: (String) -> String - attr_reader beneficiary_name: String? + attr_reader debtor_address_line1: String? - def beneficiary_name=: (String) -> String + def debtor_address_line1=: (String) -> String - attr_reader originator_address_line1: String? + attr_reader debtor_address_line2: String? - def originator_address_line1=: (String) -> String + def debtor_address_line2=: (String) -> String - attr_reader originator_address_line2: String? + attr_reader debtor_address_line3: String? - def originator_address_line2=: (String) -> String + def debtor_address_line3=: (String) -> String - attr_reader originator_address_line3: String? + attr_reader debtor_name: String? - def originator_address_line3=: (String) -> String + def debtor_name=: (String) -> String - attr_reader originator_name: String? + attr_reader debtor_routing_number: String? - def originator_name=: (String) -> String + def debtor_routing_number=: (String) -> String - attr_reader originator_to_beneficiary_information_line1: String? + attr_reader end_to_end_identification: String? - def originator_to_beneficiary_information_line1=: (String) -> String + def end_to_end_identification=: (String) -> String - attr_reader originator_to_beneficiary_information_line2: String? + attr_reader instruction_identification: String? - def originator_to_beneficiary_information_line2=: (String) -> String + def instruction_identification=: (String) -> String - attr_reader originator_to_beneficiary_information_line3: String? + attr_reader unique_end_to_end_transaction_reference: String? - def originator_to_beneficiary_information_line3=: (String) -> String + def unique_end_to_end_transaction_reference=: (String) -> String - attr_reader originator_to_beneficiary_information_line4: String? + attr_reader unstructured_remittance_information: String? - def originator_to_beneficiary_information_line4=: (String) -> String + def unstructured_remittance_information=: (String) -> String def initialize: ( amount: Integer, - beneficiary_account_number: String, - beneficiary_routing_number: String, + creditor_account_number: String, + creditor_routing_number: String, currency: String, - message_to_recipient: String, - originator_account_number: String, - originator_routing_number: String, recipient_account_number_id: String, - ?beneficiary_address_line1: String, - ?beneficiary_address_line2: String, - ?beneficiary_address_line3: String, - ?beneficiary_name: String, - ?originator_address_line1: String, - ?originator_address_line2: String, - ?originator_address_line3: String, - ?originator_name: String, - ?originator_to_beneficiary_information_line1: String, - ?originator_to_beneficiary_information_line2: String, - ?originator_to_beneficiary_information_line3: String, - ?originator_to_beneficiary_information_line4: String, + ?creditor_address_line1: String, + ?creditor_address_line2: String, + ?creditor_address_line3: String, + ?creditor_name: String, + ?debtor_account_number: String, + ?debtor_address_line1: String, + ?debtor_address_line2: String, + ?debtor_address_line3: String, + ?debtor_name: String, + ?debtor_routing_number: String, + ?end_to_end_identification: String, + ?instruction_identification: String, + ?unique_end_to_end_transaction_reference: String, + ?unstructured_remittance_information: String, ?request_options: Increase::request_opts ) -> void def to_hash: -> { amount: Integer, - beneficiary_account_number: String, - beneficiary_routing_number: String, + creditor_account_number: String, + creditor_routing_number: String, currency: String, - message_to_recipient: String, - originator_account_number: String, - originator_routing_number: String, recipient_account_number_id: String, - :beneficiary_address_line1 => String, - :beneficiary_address_line2 => String, - :beneficiary_address_line3 => String, - beneficiary_name: String, - :originator_address_line1 => String, - :originator_address_line2 => String, - :originator_address_line3 => String, - originator_name: String, - :originator_to_beneficiary_information_line1 => String, - :originator_to_beneficiary_information_line2 => String, - :originator_to_beneficiary_information_line3 => String, - :originator_to_beneficiary_information_line4 => String, + :creditor_address_line1 => String, + :creditor_address_line2 => String, + :creditor_address_line3 => String, + creditor_name: String, + debtor_account_number: String, + :debtor_address_line1 => String, + :debtor_address_line2 => String, + :debtor_address_line3 => String, + debtor_name: String, + debtor_routing_number: String, + end_to_end_identification: String, + instruction_identification: String, + unique_end_to_end_transaction_reference: String, + unstructured_remittance_information: String, request_options: Increase::RequestOptions } end diff --git a/sig/increase/resources/simulations/inbound_wire_drawdown_requests.rbs b/sig/increase/resources/simulations/inbound_wire_drawdown_requests.rbs index 69d01e9d0..e14f8f1a5 100644 --- a/sig/increase/resources/simulations/inbound_wire_drawdown_requests.rbs +++ b/sig/increase/resources/simulations/inbound_wire_drawdown_requests.rbs @@ -4,25 +4,24 @@ module Increase class InboundWireDrawdownRequests def create: ( amount: Integer, - beneficiary_account_number: String, - beneficiary_routing_number: String, + creditor_account_number: String, + creditor_routing_number: String, currency: String, - message_to_recipient: String, - originator_account_number: String, - originator_routing_number: String, recipient_account_number_id: String, - ?beneficiary_address_line1: String, - ?beneficiary_address_line2: String, - ?beneficiary_address_line3: String, - ?beneficiary_name: String, - ?originator_address_line1: String, - ?originator_address_line2: String, - ?originator_address_line3: String, - ?originator_name: String, - ?originator_to_beneficiary_information_line1: String, - ?originator_to_beneficiary_information_line2: String, - ?originator_to_beneficiary_information_line3: String, - ?originator_to_beneficiary_information_line4: String, + ?creditor_address_line1: String, + ?creditor_address_line2: String, + ?creditor_address_line3: String, + ?creditor_name: String, + ?debtor_account_number: String, + ?debtor_address_line1: String, + ?debtor_address_line2: String, + ?debtor_address_line3: String, + ?debtor_name: String, + ?debtor_routing_number: String, + ?end_to_end_identification: String, + ?instruction_identification: String, + ?unique_end_to_end_transaction_reference: String, + ?unstructured_remittance_information: String, ?request_options: Increase::request_opts ) -> Increase::InboundWireDrawdownRequest diff --git a/test/increase/resources/inbound_wire_drawdown_requests_test.rb b/test/increase/resources/inbound_wire_drawdown_requests_test.rb index 5a72c42b4..83e9b0569 100644 --- a/test/increase/resources/inbound_wire_drawdown_requests_test.rb +++ b/test/increase/resources/inbound_wire_drawdown_requests_test.rb @@ -14,27 +14,25 @@ def test_retrieve response => { id: String, amount: Integer, - beneficiary_account_number: String, - beneficiary_address_line1: String | nil, - beneficiary_address_line2: String | nil, - beneficiary_address_line3: String | nil, - beneficiary_name: String | nil, - beneficiary_routing_number: String, created_at: Time, + creditor_account_number: String, + creditor_address_line1: String | nil, + creditor_address_line2: String | nil, + creditor_address_line3: String | nil, + creditor_name: String | nil, + creditor_routing_number: String, currency: String, - message_to_recipient: String | nil, - originator_account_number: String | nil, - originator_address_line1: String | nil, - originator_address_line2: String | nil, - originator_address_line3: String | nil, - originator_name: String | nil, - originator_routing_number: String, - originator_to_beneficiary_information_line1: String | nil, - originator_to_beneficiary_information_line2: String | nil, - originator_to_beneficiary_information_line3: String | nil, - originator_to_beneficiary_information_line4: String | nil, + debtor_address_line1: String | nil, + debtor_address_line2: String | nil, + debtor_address_line3: String | nil, + debtor_name: String | nil, + end_to_end_identification: String | nil, + input_message_accountability_data: String | nil, + instruction_identification: String | nil, recipient_account_number_id: String, - type: Increase::InboundWireDrawdownRequest::Type + type: Increase::InboundWireDrawdownRequest::Type, + unique_end_to_end_transaction_reference: String | nil, + unstructured_remittance_information: String | nil } end end @@ -57,27 +55,25 @@ def test_list row => { id: String, amount: Integer, - beneficiary_account_number: String, - beneficiary_address_line1: String | nil, - beneficiary_address_line2: String | nil, - beneficiary_address_line3: String | nil, - beneficiary_name: String | nil, - beneficiary_routing_number: String, created_at: Time, + creditor_account_number: String, + creditor_address_line1: String | nil, + creditor_address_line2: String | nil, + creditor_address_line3: String | nil, + creditor_name: String | nil, + creditor_routing_number: String, currency: String, - message_to_recipient: String | nil, - originator_account_number: String | nil, - originator_address_line1: String | nil, - originator_address_line2: String | nil, - originator_address_line3: String | nil, - originator_name: String | nil, - originator_routing_number: String, - originator_to_beneficiary_information_line1: String | nil, - originator_to_beneficiary_information_line2: String | nil, - originator_to_beneficiary_information_line3: String | nil, - originator_to_beneficiary_information_line4: String | nil, + debtor_address_line1: String | nil, + debtor_address_line2: String | nil, + debtor_address_line3: String | nil, + debtor_name: String | nil, + end_to_end_identification: String | nil, + input_message_accountability_data: String | nil, + instruction_identification: String | nil, recipient_account_number_id: String, - type: Increase::InboundWireDrawdownRequest::Type + type: Increase::InboundWireDrawdownRequest::Type, + unique_end_to_end_transaction_reference: String | nil, + unstructured_remittance_information: String | nil } end end diff --git a/test/increase/resources/simulations/inbound_wire_drawdown_requests_test.rb b/test/increase/resources/simulations/inbound_wire_drawdown_requests_test.rb index cce19a172..b3e3e0c13 100644 --- a/test/increase/resources/simulations/inbound_wire_drawdown_requests_test.rb +++ b/test/increase/resources/simulations/inbound_wire_drawdown_requests_test.rb @@ -7,12 +7,9 @@ def test_create_required_params response = @increase.simulations.inbound_wire_drawdown_requests.create( amount: 10_000, - beneficiary_account_number: "987654321", - beneficiary_routing_number: "101050001", + creditor_account_number: "987654321", + creditor_routing_number: "101050001", currency: "USD", - message_to_recipient: "Invoice 29582", - originator_account_number: "987654321", - originator_routing_number: "101050001", recipient_account_number_id: "account_number_v18nkfqm6afpsrvy82b2" ) @@ -24,27 +21,25 @@ def test_create_required_params response => { id: String, amount: Integer, - beneficiary_account_number: String, - beneficiary_address_line1: String | nil, - beneficiary_address_line2: String | nil, - beneficiary_address_line3: String | nil, - beneficiary_name: String | nil, - beneficiary_routing_number: String, created_at: Time, + creditor_account_number: String, + creditor_address_line1: String | nil, + creditor_address_line2: String | nil, + creditor_address_line3: String | nil, + creditor_name: String | nil, + creditor_routing_number: String, currency: String, - message_to_recipient: String | nil, - originator_account_number: String | nil, - originator_address_line1: String | nil, - originator_address_line2: String | nil, - originator_address_line3: String | nil, - originator_name: String | nil, - originator_routing_number: String, - originator_to_beneficiary_information_line1: String | nil, - originator_to_beneficiary_information_line2: String | nil, - originator_to_beneficiary_information_line3: String | nil, - originator_to_beneficiary_information_line4: String | nil, + debtor_address_line1: String | nil, + debtor_address_line2: String | nil, + debtor_address_line3: String | nil, + debtor_name: String | nil, + end_to_end_identification: String | nil, + input_message_accountability_data: String | nil, + instruction_identification: String | nil, recipient_account_number_id: String, - type: Increase::InboundWireDrawdownRequest::Type + type: Increase::InboundWireDrawdownRequest::Type, + unique_end_to_end_transaction_reference: String | nil, + unstructured_remittance_information: String | nil } end end