From c0ff18c03231449f0ca49b9902e606528d4a8c3d Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 29 Aug 2025 17:13:45 +0000 Subject: [PATCH 1/2] feat(api): api update --- .stats.yml | 4 ++-- lib/increase/models/transaction.rb | 20 +++++++++++++++++++- lib/increase/models/wire_transfer.rb | 20 +++++++++++++++++++- rbi/increase/models/transaction.rbi | 20 ++++++++++++++++++++ rbi/increase/models/wire_transfer.rbi | 20 ++++++++++++++++++++ sig/increase/models/transaction.rbs | 10 ++++++++++ sig/increase/models/wire_transfer.rbs | 10 ++++++++++ 7 files changed, 100 insertions(+), 4 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7d655a6dd..76d80ce71 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-7d240ad280fc9ed22a8bbe219835ed737b075963291d84b75efbbb38195eff8b.yml -openapi_spec_hash: f2a2cad4f01bf5ab66e1f3dcb719315a +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-a3db5141ad8a06aca3ec4fbc0a4414af61ffea1bbd6470b4a9ad13f8b24ed9eb.yml +openapi_spec_hash: 1192108447914f9233f6e0933dd36033 config_hash: 632b628b59d8f0b717153b3d8133f6cb diff --git a/lib/increase/models/transaction.rb b/lib/increase/models/transaction.rb index fa4ab929b..b6886fcfe 100644 --- a/lib/increase/models/transaction.rb +++ b/lib/increase/models/transaction.rb @@ -5217,6 +5217,20 @@ class InboundWireReversal < Increase::Internal::Type::BaseModel # @return [String, nil] required :return_reason_additional_information, String, nil?: true + # @!attribute return_reason_code + # A code provided by the sending bank giving a reason for the reversal. It will + # generally be one of the codes defined in the ISO20022 + # `ExternalReturnReason1Code` code set, but this is not enforced by the network. + # + # @return [String, nil] + required :return_reason_code, String, nil?: true + + # @!attribute return_reason_code_description + # An Increase-generated description of the `return_reason_code`. + # + # @return [String, nil] + required :return_reason_code_description, String, nil?: true + # @!attribute transaction_id # The ID for the Transaction associated with the transfer reversal. # @@ -5229,7 +5243,7 @@ class InboundWireReversal < Increase::Internal::Type::BaseModel # @return [String] required :wire_transfer_id, String - # @!method initialize(amount:, created_at:, debtor_routing_number:, description:, input_cycle_date:, input_message_accountability_data:, input_sequence_number:, input_source:, instruction_identification:, return_reason_additional_information:, transaction_id:, wire_transfer_id:) + # @!method initialize(amount:, created_at:, debtor_routing_number:, description:, input_cycle_date:, input_message_accountability_data:, input_sequence_number:, input_source:, instruction_identification:, return_reason_additional_information:, return_reason_code:, return_reason_code_description:, transaction_id:, wire_transfer_id:) # Some parameter documentations has been truncated, see # {Increase::Models::Transaction::Source::InboundWireReversal} for more details. # @@ -5259,6 +5273,10 @@ class InboundWireReversal < Increase::Internal::Type::BaseModel # # @param return_reason_additional_information [String, nil] Additional information about the reason for the reversal. # + # @param return_reason_code [String, nil] A code provided by the sending bank giving a reason for the reversal. It will ge + # + # @param return_reason_code_description [String, nil] An Increase-generated description of the `return_reason_code`. + # # @param transaction_id [String] The ID for the Transaction associated with the transfer reversal. # # @param wire_transfer_id [String] The ID for the Wire Transfer that is being reversed. diff --git a/lib/increase/models/wire_transfer.rb b/lib/increase/models/wire_transfer.rb index 35c01a026..4919eac63 100644 --- a/lib/increase/models/wire_transfer.rb +++ b/lib/increase/models/wire_transfer.rb @@ -523,6 +523,20 @@ class Reversal < Increase::Internal::Type::BaseModel # @return [String, nil] required :return_reason_additional_information, String, nil?: true + # @!attribute return_reason_code + # A code provided by the sending bank giving a reason for the reversal. It will + # generally be one of the codes defined in the ISO20022 + # `ExternalReturnReason1Code` code set, but this is not enforced by the network. + # + # @return [String, nil] + required :return_reason_code, String, nil?: true + + # @!attribute return_reason_code_description + # An Increase-generated description of the `return_reason_code`. + # + # @return [String, nil] + required :return_reason_code_description, String, nil?: true + # @!attribute transaction_id # The ID for the Transaction associated with the transfer reversal. # @@ -535,7 +549,7 @@ class Reversal < Increase::Internal::Type::BaseModel # @return [String] required :wire_transfer_id, String - # @!method initialize(amount:, created_at:, debtor_routing_number:, description:, input_cycle_date:, input_message_accountability_data:, input_sequence_number:, input_source:, instruction_identification:, return_reason_additional_information:, transaction_id:, wire_transfer_id:) + # @!method initialize(amount:, created_at:, debtor_routing_number:, description:, input_cycle_date:, input_message_accountability_data:, input_sequence_number:, input_source:, instruction_identification:, return_reason_additional_information:, return_reason_code:, return_reason_code_description:, transaction_id:, wire_transfer_id:) # Some parameter documentations has been truncated, see # {Increase::Models::WireTransfer::Reversal} for more details. # @@ -561,6 +575,10 @@ class Reversal < Increase::Internal::Type::BaseModel # # @param return_reason_additional_information [String, nil] Additional information about the reason for the reversal. # + # @param return_reason_code [String, nil] A code provided by the sending bank giving a reason for the reversal. It will ge + # + # @param return_reason_code_description [String, nil] An Increase-generated description of the `return_reason_code`. + # # @param transaction_id [String] The ID for the Transaction associated with the transfer reversal. # # @param wire_transfer_id [String] The ID for the Wire Transfer that is being reversed. diff --git a/rbi/increase/models/transaction.rbi b/rbi/increase/models/transaction.rbi index 7ef397b23..f5bf101d4 100644 --- a/rbi/increase/models/transaction.rbi +++ b/rbi/increase/models/transaction.rbi @@ -9623,6 +9623,16 @@ module Increase sig { returns(T.nilable(String)) } attr_accessor :return_reason_additional_information + # A code provided by the sending bank giving a reason for the reversal. It will + # generally be one of the codes defined in the ISO20022 + # `ExternalReturnReason1Code` code set, but this is not enforced by the network. + sig { returns(T.nilable(String)) } + attr_accessor :return_reason_code + + # An Increase-generated description of the `return_reason_code`. + sig { returns(T.nilable(String)) } + attr_accessor :return_reason_code_description + # The ID for the Transaction associated with the transfer reversal. sig { returns(String) } attr_accessor :transaction_id @@ -9648,6 +9658,8 @@ module Increase input_source: String, instruction_identification: T.nilable(String), return_reason_additional_information: T.nilable(String), + return_reason_code: T.nilable(String), + return_reason_code_description: T.nilable(String), transaction_id: String, wire_transfer_id: String ).returns(T.attached_class) @@ -9675,6 +9687,12 @@ module Increase instruction_identification:, # Additional information about the reason for the reversal. return_reason_additional_information:, + # A code provided by the sending bank giving a reason for the reversal. It will + # generally be one of the codes defined in the ISO20022 + # `ExternalReturnReason1Code` code set, but this is not enforced by the network. + return_reason_code:, + # An Increase-generated description of the `return_reason_code`. + return_reason_code_description:, # The ID for the Transaction associated with the transfer reversal. transaction_id:, # The ID for the Wire Transfer that is being reversed. @@ -9695,6 +9713,8 @@ module Increase input_source: String, instruction_identification: T.nilable(String), return_reason_additional_information: T.nilable(String), + return_reason_code: T.nilable(String), + return_reason_code_description: T.nilable(String), transaction_id: String, wire_transfer_id: String } diff --git a/rbi/increase/models/wire_transfer.rbi b/rbi/increase/models/wire_transfer.rbi index 51ff6eb5e..7c79978ee 100644 --- a/rbi/increase/models/wire_transfer.rbi +++ b/rbi/increase/models/wire_transfer.rbi @@ -735,6 +735,16 @@ module Increase sig { returns(T.nilable(String)) } attr_accessor :return_reason_additional_information + # A code provided by the sending bank giving a reason for the reversal. It will + # generally be one of the codes defined in the ISO20022 + # `ExternalReturnReason1Code` code set, but this is not enforced by the network. + sig { returns(T.nilable(String)) } + attr_accessor :return_reason_code + + # An Increase-generated description of the `return_reason_code`. + sig { returns(T.nilable(String)) } + attr_accessor :return_reason_code_description + # The ID for the Transaction associated with the transfer reversal. sig { returns(String) } attr_accessor :transaction_id @@ -756,6 +766,8 @@ module Increase input_source: String, instruction_identification: T.nilable(String), return_reason_additional_information: T.nilable(String), + return_reason_code: T.nilable(String), + return_reason_code_description: T.nilable(String), transaction_id: String, wire_transfer_id: String ).returns(T.attached_class) @@ -783,6 +795,12 @@ module Increase instruction_identification:, # Additional information about the reason for the reversal. return_reason_additional_information:, + # A code provided by the sending bank giving a reason for the reversal. It will + # generally be one of the codes defined in the ISO20022 + # `ExternalReturnReason1Code` code set, but this is not enforced by the network. + return_reason_code:, + # An Increase-generated description of the `return_reason_code`. + return_reason_code_description:, # The ID for the Transaction associated with the transfer reversal. transaction_id:, # The ID for the Wire Transfer that is being reversed. @@ -803,6 +821,8 @@ module Increase input_source: String, instruction_identification: T.nilable(String), return_reason_additional_information: T.nilable(String), + return_reason_code: T.nilable(String), + return_reason_code_description: T.nilable(String), transaction_id: String, wire_transfer_id: String } diff --git a/sig/increase/models/transaction.rbs b/sig/increase/models/transaction.rbs index b692f47f4..52c83d1da 100644 --- a/sig/increase/models/transaction.rbs +++ b/sig/increase/models/transaction.rbs @@ -3946,6 +3946,8 @@ module Increase input_source: String, instruction_identification: String?, return_reason_additional_information: String?, + return_reason_code: String?, + return_reason_code_description: String?, transaction_id: String, wire_transfer_id: String } @@ -3971,6 +3973,10 @@ module Increase attr_accessor return_reason_additional_information: String? + attr_accessor return_reason_code: String? + + attr_accessor return_reason_code_description: String? + attr_accessor transaction_id: String attr_accessor wire_transfer_id: String @@ -3986,6 +3992,8 @@ module Increase input_source: String, instruction_identification: String?, return_reason_additional_information: String?, + return_reason_code: String?, + return_reason_code_description: String?, transaction_id: String, wire_transfer_id: String ) -> void @@ -4001,6 +4009,8 @@ module Increase input_source: String, instruction_identification: String?, return_reason_additional_information: String?, + return_reason_code: String?, + return_reason_code_description: String?, transaction_id: String, wire_transfer_id: String } diff --git a/sig/increase/models/wire_transfer.rbs b/sig/increase/models/wire_transfer.rbs index c7232b17b..5c8c67920 100644 --- a/sig/increase/models/wire_transfer.rbs +++ b/sig/increase/models/wire_transfer.rbs @@ -312,6 +312,8 @@ module Increase input_source: String, instruction_identification: String?, return_reason_additional_information: String?, + return_reason_code: String?, + return_reason_code_description: String?, transaction_id: String, wire_transfer_id: String } @@ -337,6 +339,10 @@ module Increase attr_accessor return_reason_additional_information: String? + attr_accessor return_reason_code: String? + + attr_accessor return_reason_code_description: String? + attr_accessor transaction_id: String attr_accessor wire_transfer_id: String @@ -352,6 +358,8 @@ module Increase input_source: String, instruction_identification: String?, return_reason_additional_information: String?, + return_reason_code: String?, + return_reason_code_description: String?, transaction_id: String, wire_transfer_id: String ) -> void @@ -367,6 +375,8 @@ module Increase input_source: String, instruction_identification: String?, return_reason_additional_information: String?, + return_reason_code: String?, + return_reason_code_description: String?, transaction_id: String, wire_transfer_id: String } From 314a353080167c8e987b0780ca8b21ce935aa005 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 29 Aug 2025 17:14:04 +0000 Subject: [PATCH 2/2] release: 1.61.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ Gemfile.lock | 2 +- README.md | 2 +- lib/increase/version.rb | 2 +- 5 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 88c2f6498..68804e4da 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.60.0" + ".": "1.61.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 8e5483491..0cd942a61 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.61.0 (2025-08-29) + +Full Changelog: [v1.60.0...v1.61.0](https://github.com/Increase/increase-ruby/compare/v1.60.0...v1.61.0) + +### Features + +* **api:** api update ([c0ff18c](https://github.com/Increase/increase-ruby/commit/c0ff18c03231449f0ca49b9902e606528d4a8c3d)) + ## 1.60.0 (2025-08-29) Full Changelog: [v1.59.0...v1.60.0](https://github.com/Increase/increase-ruby/compare/v1.59.0...v1.60.0) diff --git a/Gemfile.lock b/Gemfile.lock index 0983177fe..5ef789c56 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - increase (1.60.0) + increase (1.61.0) connection_pool GEM diff --git a/README.md b/README.md index ab9f55bd6..3d19c058f 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.60.0" +gem "increase", "~> 1.61.0" ``` diff --git a/lib/increase/version.rb b/lib/increase/version.rb index e90462ce0..22ea4e663 100644 --- a/lib/increase/version.rb +++ b/lib/increase/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Increase - VERSION = "1.60.0" + VERSION = "1.61.0" end