From 1b9041ebed09f11adbf61839933f4892cbef9d71 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 20 Aug 2025 01:49:21 +0000 Subject: [PATCH 1/3] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 564ef9424..269d73dce 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 215 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-9a5905fe541badfa11ad0641e7aea625c9fb0bc59ba33b1d43d8e88cbbdd71b2.yml -openapi_spec_hash: 4347de40c3142cd56c2185aac9a6739e +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-4ee4bd7629047dec495946c846442763038ad4cf85d4fd51c97df7efb047df15.yml +openapi_spec_hash: d123ec2ac3a99520926a3dd8d6a98074 config_hash: 0b0a2503208283b283fc5bc6df6a07a5 From 94299db1b856eb40e9a504c7e0cbd582bdf1936b Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 20 Aug 2025 02:29:39 +0000 Subject: [PATCH 2/3] feat(api): api update --- .stats.yml | 4 +- lib/increase/models/transaction.rb | 31 ++++++++- .../models/transaction_list_params.rb | 3 + rbi/increase/models/transaction.rbi | 63 +++++++++++++++++++ .../models/transaction_list_params.rbi | 7 +++ sig/increase/models/transaction.rbs | 19 ++++++ .../models/transaction_list_params.rbs | 4 ++ 7 files changed, 128 insertions(+), 3 deletions(-) diff --git a/.stats.yml b/.stats.yml index 269d73dce..0b576c5e5 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 215 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-4ee4bd7629047dec495946c846442763038ad4cf85d4fd51c97df7efb047df15.yml -openapi_spec_hash: d123ec2ac3a99520926a3dd8d6a98074 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-289025fcb79a47841395734231b11fd75ad3d80dec533e0eb4533e6afaf82cdf.yml +openapi_spec_hash: 511ad2e7d8c798641f073775ccdab523 config_hash: 0b0a2503208283b283fc5bc6df6a07a5 diff --git a/lib/increase/models/transaction.rb b/lib/increase/models/transaction.rb index b4228ad08..fb0f04fdc 100644 --- a/lib/increase/models/transaction.rb +++ b/lib/increase/models/transaction.rb @@ -484,6 +484,14 @@ class Source < Increase::Internal::Type::BaseModel -> { Increase::Transaction::Source::SwiftTransferIntention }, nil?: true + # @!attribute swift_transfer_return + # A Swift Transfer Return object. This field will be present in the JSON response + # if and only if `category` is equal to `swift_transfer_return`. A Swift Transfer + # Return is created when a Swift Transfer is returned by the receiving bank. + # + # @return [Increase::Models::Transaction::Source::SwiftTransferReturn, nil] + required :swift_transfer_return, -> { Increase::Transaction::Source::SwiftTransferReturn }, nil?: true + # @!attribute wire_transfer_intention # A Wire Transfer Intention object. This field will be present in the JSON # response if and only if `category` is equal to `wire_transfer_intention`. A Wire @@ -496,7 +504,7 @@ class Source < Increase::Internal::Type::BaseModel }, nil?: true - # @!method initialize(account_transfer_intention:, ach_transfer_intention:, ach_transfer_rejection:, ach_transfer_return:, card_dispute_acceptance:, card_dispute_financial:, card_dispute_loss:, card_push_transfer_acceptance:, card_refund:, card_revenue_payment:, card_settlement:, cashback_payment:, category:, check_deposit_acceptance:, check_deposit_return:, check_transfer_deposit:, fee_payment:, inbound_ach_transfer:, inbound_ach_transfer_return_intention:, inbound_check_adjustment:, inbound_check_deposit_return_intention:, inbound_real_time_payments_transfer_confirmation:, inbound_real_time_payments_transfer_decline:, inbound_wire_reversal:, inbound_wire_transfer:, inbound_wire_transfer_reversal:, interest_payment:, internal_source:, other:, real_time_payments_transfer_acknowledgement:, sample_funds:, swift_transfer_intention:, wire_transfer_intention:) + # @!method initialize(account_transfer_intention:, ach_transfer_intention:, ach_transfer_rejection:, ach_transfer_return:, card_dispute_acceptance:, card_dispute_financial:, card_dispute_loss:, card_push_transfer_acceptance:, card_refund:, card_revenue_payment:, card_settlement:, cashback_payment:, category:, check_deposit_acceptance:, check_deposit_return:, check_transfer_deposit:, fee_payment:, inbound_ach_transfer:, inbound_ach_transfer_return_intention:, inbound_check_adjustment:, inbound_check_deposit_return_intention:, inbound_real_time_payments_transfer_confirmation:, inbound_real_time_payments_transfer_decline:, inbound_wire_reversal:, inbound_wire_transfer:, inbound_wire_transfer_reversal:, interest_payment:, internal_source:, other:, real_time_payments_transfer_acknowledgement:, sample_funds:, swift_transfer_intention:, swift_transfer_return:, wire_transfer_intention:) # Some parameter documentations has been truncated, see # {Increase::Models::Transaction::Source} for more details. # @@ -569,6 +577,8 @@ class Source < Increase::Internal::Type::BaseModel # # @param swift_transfer_intention [Increase::Models::Transaction::Source::SwiftTransferIntention, nil] A Swift Transfer Intention object. This field will be present in the JSON respon # + # @param swift_transfer_return [Increase::Models::Transaction::Source::SwiftTransferReturn, nil] A Swift Transfer Return object. This field will be present in the JSON response + # # @param wire_transfer_intention [Increase::Models::Transaction::Source::WireTransferIntention, nil] A Wire Transfer Intention object. This field will be present in the JSON respons # @see Increase::Models::Transaction::Source#account_transfer_intention @@ -4231,6 +4241,9 @@ module Category # Swift Transfer Intention: details will be under the `swift_transfer_intention` object. SWIFT_TRANSFER_INTENTION = :swift_transfer_intention + # Swift Transfer Return: details will be under the `swift_transfer_return` object. + SWIFT_TRANSFER_RETURN = :swift_transfer_return + # Card Push Transfer Acceptance: details will be under the `card_push_transfer_acceptance` object. CARD_PUSH_TRANSFER_ACCEPTANCE = :card_push_transfer_acceptance @@ -5873,6 +5886,22 @@ class SwiftTransferIntention < Increase::Internal::Type::BaseModel # @param transfer_id [String] The identifier of the Swift Transfer that led to this Transaction. end + # @see Increase::Models::Transaction::Source#swift_transfer_return + class SwiftTransferReturn < Increase::Internal::Type::BaseModel + # @!attribute transfer_id + # The identifier of the Swift Transfer that led to this Transaction. + # + # @return [String] + required :transfer_id, String + + # @!method initialize(transfer_id:) + # A Swift Transfer Return object. This field will be present in the JSON response + # if and only if `category` is equal to `swift_transfer_return`. A Swift Transfer + # Return is created when a Swift Transfer is returned by the receiving bank. + # + # @param transfer_id [String] The identifier of the Swift Transfer that led to this Transaction. + end + # @see Increase::Models::Transaction::Source#wire_transfer_intention class WireTransferIntention < Increase::Internal::Type::BaseModel # @!attribute account_number diff --git a/lib/increase/models/transaction_list_params.rb b/lib/increase/models/transaction_list_params.rb index d7b87f552..a1a360517 100644 --- a/lib/increase/models/transaction_list_params.rb +++ b/lib/increase/models/transaction_list_params.rb @@ -172,6 +172,9 @@ module In # Swift Transfer Intention: details will be under the `swift_transfer_intention` object. SWIFT_TRANSFER_INTENTION = :swift_transfer_intention + # Swift Transfer Return: details will be under the `swift_transfer_return` object. + SWIFT_TRANSFER_RETURN = :swift_transfer_return + # Card Push Transfer Acceptance: details will be under the `card_push_transfer_acceptance` object. CARD_PUSH_TRANSFER_ACCEPTANCE = :card_push_transfer_acceptance diff --git a/rbi/increase/models/transaction.rbi b/rbi/increase/models/transaction.rbi index c292cd81e..adca3b50d 100644 --- a/rbi/increase/models/transaction.rbi +++ b/rbi/increase/models/transaction.rbi @@ -811,6 +811,24 @@ module Increase end attr_writer :swift_transfer_intention + # A Swift Transfer Return object. This field will be present in the JSON response + # if and only if `category` is equal to `swift_transfer_return`. A Swift Transfer + # Return is created when a Swift Transfer is returned by the receiving bank. + sig do + returns(T.nilable(Increase::Transaction::Source::SwiftTransferReturn)) + end + attr_reader :swift_transfer_return + + sig do + params( + swift_transfer_return: + T.nilable( + Increase::Transaction::Source::SwiftTransferReturn::OrHash + ) + ).void + end + attr_writer :swift_transfer_return + # A Wire Transfer Intention object. This field will be present in the JSON # response if and only if `category` is equal to `wire_transfer_intention`. A Wire # Transfer initiated via Increase and sent to a different bank. @@ -943,6 +961,10 @@ module Increase T.nilable( Increase::Transaction::Source::SwiftTransferIntention::OrHash ), + swift_transfer_return: + T.nilable( + Increase::Transaction::Source::SwiftTransferReturn::OrHash + ), wire_transfer_intention: T.nilable( Increase::Transaction::Source::WireTransferIntention::OrHash @@ -1110,6 +1132,10 @@ module Increase # response if and only if `category` is equal to `swift_transfer_intention`. A # Swift Transfer initiated via Increase. swift_transfer_intention:, + # A Swift Transfer Return object. This field will be present in the JSON response + # if and only if `category` is equal to `swift_transfer_return`. A Swift Transfer + # Return is created when a Swift Transfer is returned by the receiving bank. + swift_transfer_return:, # A Wire Transfer Intention object. This field will be present in the JSON # response if and only if `category` is equal to `wire_transfer_intention`. A Wire # Transfer initiated via Increase and sent to a different bank. @@ -1202,6 +1228,8 @@ module Increase T.nilable( Increase::Transaction::Source::SwiftTransferIntention ), + swift_transfer_return: + T.nilable(Increase::Transaction::Source::SwiftTransferReturn), wire_transfer_intention: T.nilable(Increase::Transaction::Source::WireTransferIntention) } @@ -7883,6 +7911,13 @@ module Increase Increase::Transaction::Source::Category::TaggedSymbol ) + # Swift Transfer Return: details will be under the `swift_transfer_return` object. + SWIFT_TRANSFER_RETURN = + T.let( + :swift_transfer_return, + Increase::Transaction::Source::Category::TaggedSymbol + ) + # Card Push Transfer Acceptance: details will be under the `card_push_transfer_acceptance` object. CARD_PUSH_TRANSFER_ACCEPTANCE = T.let( @@ -10655,6 +10690,34 @@ module Increase end end + class SwiftTransferReturn < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Transaction::Source::SwiftTransferReturn, + Increase::Internal::AnyHash + ) + end + + # The identifier of the Swift Transfer that led to this Transaction. + sig { returns(String) } + attr_accessor :transfer_id + + # A Swift Transfer Return object. This field will be present in the JSON response + # if and only if `category` is equal to `swift_transfer_return`. A Swift Transfer + # Return is created when a Swift Transfer is returned by the receiving bank. + sig { params(transfer_id: String).returns(T.attached_class) } + def self.new( + # The identifier of the Swift Transfer that led to this Transaction. + transfer_id: + ) + end + + sig { override.returns({ transfer_id: String }) } + def to_hash + end + end + class WireTransferIntention < Increase::Internal::Type::BaseModel OrHash = T.type_alias do diff --git a/rbi/increase/models/transaction_list_params.rbi b/rbi/increase/models/transaction_list_params.rbi index 9871bc6cc..dc6230530 100644 --- a/rbi/increase/models/transaction_list_params.rbi +++ b/rbi/increase/models/transaction_list_params.rbi @@ -376,6 +376,13 @@ module Increase Increase::TransactionListParams::Category::In::TaggedSymbol ) + # Swift Transfer Return: details will be under the `swift_transfer_return` object. + SWIFT_TRANSFER_RETURN = + T.let( + :swift_transfer_return, + Increase::TransactionListParams::Category::In::TaggedSymbol + ) + # Card Push Transfer Acceptance: details will be under the `card_push_transfer_acceptance` object. CARD_PUSH_TRANSFER_ACCEPTANCE = T.let( diff --git a/sig/increase/models/transaction.rbs b/sig/increase/models/transaction.rbs index 54243f91b..42a4dcb6d 100644 --- a/sig/increase/models/transaction.rbs +++ b/sig/increase/models/transaction.rbs @@ -138,6 +138,7 @@ module Increase real_time_payments_transfer_acknowledgement: Increase::Transaction::Source::RealTimePaymentsTransferAcknowledgement?, sample_funds: Increase::Transaction::Source::SampleFunds?, swift_transfer_intention: Increase::Transaction::Source::SwiftTransferIntention?, + swift_transfer_return: Increase::Transaction::Source::SwiftTransferReturn?, wire_transfer_intention: Increase::Transaction::Source::WireTransferIntention? } @@ -206,6 +207,8 @@ module Increase attr_accessor swift_transfer_intention: Increase::Transaction::Source::SwiftTransferIntention? + attr_accessor swift_transfer_return: Increase::Transaction::Source::SwiftTransferReturn? + attr_accessor wire_transfer_intention: Increase::Transaction::Source::WireTransferIntention? def initialize: ( @@ -241,6 +244,7 @@ module Increase real_time_payments_transfer_acknowledgement: Increase::Transaction::Source::RealTimePaymentsTransferAcknowledgement?, sample_funds: Increase::Transaction::Source::SampleFunds?, swift_transfer_intention: Increase::Transaction::Source::SwiftTransferIntention?, + swift_transfer_return: Increase::Transaction::Source::SwiftTransferReturn?, wire_transfer_intention: Increase::Transaction::Source::WireTransferIntention? ) -> void @@ -277,6 +281,7 @@ module Increase real_time_payments_transfer_acknowledgement: Increase::Transaction::Source::RealTimePaymentsTransferAcknowledgement?, sample_funds: Increase::Transaction::Source::SampleFunds?, swift_transfer_intention: Increase::Transaction::Source::SwiftTransferIntention?, + swift_transfer_return: Increase::Transaction::Source::SwiftTransferReturn?, wire_transfer_intention: Increase::Transaction::Source::WireTransferIntention? } @@ -3113,6 +3118,7 @@ module Increase | :sample_funds | :wire_transfer_intention | :swift_transfer_intention + | :swift_transfer_return | :card_push_transfer_acceptance | :other @@ -3209,6 +3215,9 @@ module Increase # Swift Transfer Intention: details will be under the `swift_transfer_intention` object. SWIFT_TRANSFER_INTENTION: :swift_transfer_intention + # Swift Transfer Return: details will be under the `swift_transfer_return` object. + SWIFT_TRANSFER_RETURN: :swift_transfer_return + # Card Push Transfer Acceptance: details will be under the `card_push_transfer_acceptance` object. CARD_PUSH_TRANSFER_ACCEPTANCE: :card_push_transfer_acceptance @@ -4463,6 +4472,16 @@ module Increase def to_hash: -> { transfer_id: String } end + type swift_transfer_return = { transfer_id: String } + + class SwiftTransferReturn < Increase::Internal::Type::BaseModel + attr_accessor transfer_id: String + + def initialize: (transfer_id: String) -> void + + def to_hash: -> { transfer_id: String } + end + type wire_transfer_intention = { account_number: String, diff --git a/sig/increase/models/transaction_list_params.rbs b/sig/increase/models/transaction_list_params.rbs index e30e54054..37766ea7d 100644 --- a/sig/increase/models/transaction_list_params.rbs +++ b/sig/increase/models/transaction_list_params.rbs @@ -112,6 +112,7 @@ module Increase | :sample_funds | :wire_transfer_intention | :swift_transfer_intention + | :swift_transfer_return | :card_push_transfer_acceptance | :other @@ -208,6 +209,9 @@ module Increase # Swift Transfer Intention: details will be under the `swift_transfer_intention` object. SWIFT_TRANSFER_INTENTION: :swift_transfer_intention + # Swift Transfer Return: details will be under the `swift_transfer_return` object. + SWIFT_TRANSFER_RETURN: :swift_transfer_return + # Card Push Transfer Acceptance: details will be under the `card_push_transfer_acceptance` object. CARD_PUSH_TRANSFER_ACCEPTANCE: :card_push_transfer_acceptance From a20797e2ca47ba0b76f980c13c6dd23b29a8609a Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 20 Aug 2025 02:30:41 +0000 Subject: [PATCH 3/3] release: 1.41.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 0c37ae42c..4bce58a11 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.40.0" + ".": "1.41.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index add8563eb..605028cca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.41.0 (2025-08-20) + +Full Changelog: [v1.40.0...v1.41.0](https://github.com/Increase/increase-ruby/compare/v1.40.0...v1.41.0) + +### Features + +* **api:** api update ([94299db](https://github.com/Increase/increase-ruby/commit/94299db1b856eb40e9a504c7e0cbd582bdf1936b)) + ## 1.40.0 (2025-08-20) Full Changelog: [v1.39.0...v1.40.0](https://github.com/Increase/increase-ruby/compare/v1.39.0...v1.40.0) diff --git a/Gemfile.lock b/Gemfile.lock index 976271366..d1dc55d00 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - increase (1.40.0) + increase (1.41.0) connection_pool GEM diff --git a/README.md b/README.md index 2c4d032c4..eb1089eea 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.40.0" +gem "increase", "~> 1.41.0" ``` diff --git a/lib/increase/version.rb b/lib/increase/version.rb index 5fc92a7de..b4631c60f 100644 --- a/lib/increase/version.rb +++ b/lib/increase/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Increase - VERSION = "1.40.0" + VERSION = "1.41.0" end