From 8aa37f3f48a32970bb8b33df798b30deaf30db2c Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 29 Jul 2025 20:31:44 +0000 Subject: [PATCH 1/2] feat(api): api update --- .stats.yml | 4 ++-- lib/increase/models/card_payment.rb | 11 ++++++++++- lib/increase/models/declined_transaction.rb | 11 ++++++++++- rbi/increase/models/card_payment.rbi | 10 ++++++++++ rbi/increase/models/declined_transaction.rbi | 10 ++++++++++ sig/increase/models/card_payment.rbs | 5 +++++ sig/increase/models/declined_transaction.rbs | 5 +++++ 7 files changed, 52 insertions(+), 4 deletions(-) diff --git a/.stats.yml b/.stats.yml index 1cc1a647b..931309613 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 202 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-5fa3dfeb071930598ed9243dd96db808cf54d4a455c99b1acceadc3335f1a387.yml -openapi_spec_hash: 18dfa4d31cd512dcd83b646e40fb2c86 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-743c412709d3e4ca1ed8b1e2107036c9658afe40dd538c0576f64ae302087b4f.yml +openapi_spec_hash: 2a5da3cdf8dfb91dbd0f875cc180a3a1 config_hash: a185e9a72778cc4658ea73fb3a7f1354 diff --git a/lib/increase/models/card_payment.rb b/lib/increase/models/card_payment.rb index b369bf0b9..68557664f 100644 --- a/lib/increase/models/card_payment.rb +++ b/lib/increase/models/card_payment.rb @@ -1932,6 +1932,13 @@ class CardDecline < Increase::Internal::Type::BaseModel # @return [Symbol, Increase::Models::CardPayment::Element::CardDecline::Direction] required :direction, enum: -> { Increase::CardPayment::Element::CardDecline::Direction } + # @!attribute incremented_card_authorization_id + # The identifier of the card authorization this request attempted to incrementally + # authorize. + # + # @return [String, nil] + required :incremented_card_authorization_id, String, nil?: true + # @!attribute merchant_acceptor_id # The merchant identifier (commonly abbreviated as MID) of the merchant the card # is transacting with. @@ -2062,7 +2069,7 @@ class CardDecline < Increase::Internal::Type::BaseModel # @return [Increase::Models::CardPayment::Element::CardDecline::Verification] required :verification, -> { Increase::CardPayment::Element::CardDecline::Verification } - # @!method initialize(id:, actioner:, additional_amounts:, amount:, card_payment_id:, currency:, declined_transaction_id:, digital_wallet_token_id:, direction:, merchant_acceptor_id:, merchant_category_code:, merchant_city:, merchant_country:, merchant_descriptor:, merchant_postal_code:, merchant_state:, network_details:, network_identifiers:, network_risk_score:, physical_card_id:, presentment_amount:, presentment_currency:, processing_category:, real_time_decision_id:, real_time_decision_reason:, reason:, terminal_id:, verification:) + # @!method initialize(id:, actioner:, additional_amounts:, amount:, card_payment_id:, currency:, declined_transaction_id:, digital_wallet_token_id:, direction:, incremented_card_authorization_id:, merchant_acceptor_id:, merchant_category_code:, merchant_city:, merchant_country:, merchant_descriptor:, merchant_postal_code:, merchant_state:, network_details:, network_identifiers:, network_risk_score:, physical_card_id:, presentment_amount:, presentment_currency:, processing_category:, real_time_decision_id:, real_time_decision_reason:, reason:, terminal_id:, verification:) # Some parameter documentations has been truncated, see # {Increase::Models::CardPayment::Element::CardDecline} for more details. # @@ -2087,6 +2094,8 @@ class CardDecline < Increase::Internal::Type::BaseModel # # @param direction [Symbol, Increase::Models::CardPayment::Element::CardDecline::Direction] The direction describes the direction the funds will move, either from the cardh # + # @param incremented_card_authorization_id [String, nil] The identifier of the card authorization this request attempted to incrementally + # # @param merchant_acceptor_id [String] The merchant identifier (commonly abbreviated as MID) of the merchant the card i # # @param merchant_category_code [String] The Merchant Category Code (commonly abbreviated as MCC) of the merchant the car diff --git a/lib/increase/models/declined_transaction.rb b/lib/increase/models/declined_transaction.rb index 2f55a0a3f..2d30f1442 100644 --- a/lib/increase/models/declined_transaction.rb +++ b/lib/increase/models/declined_transaction.rb @@ -489,6 +489,13 @@ class CardDecline < Increase::Internal::Type::BaseModel # @return [Symbol, Increase::Models::DeclinedTransaction::Source::CardDecline::Direction] required :direction, enum: -> { Increase::DeclinedTransaction::Source::CardDecline::Direction } + # @!attribute incremented_card_authorization_id + # The identifier of the card authorization this request attempted to incrementally + # authorize. + # + # @return [String, nil] + required :incremented_card_authorization_id, String, nil?: true + # @!attribute merchant_acceptor_id # The merchant identifier (commonly abbreviated as MID) of the merchant the card # is transacting with. @@ -617,7 +624,7 @@ class CardDecline < Increase::Internal::Type::BaseModel # @return [Increase::Models::DeclinedTransaction::Source::CardDecline::Verification] required :verification, -> { Increase::DeclinedTransaction::Source::CardDecline::Verification } - # @!method initialize(id:, actioner:, additional_amounts:, amount:, card_payment_id:, currency:, declined_transaction_id:, digital_wallet_token_id:, direction:, merchant_acceptor_id:, merchant_category_code:, merchant_city:, merchant_country:, merchant_descriptor:, merchant_postal_code:, merchant_state:, network_details:, network_identifiers:, network_risk_score:, physical_card_id:, presentment_amount:, presentment_currency:, processing_category:, real_time_decision_id:, real_time_decision_reason:, reason:, terminal_id:, verification:) + # @!method initialize(id:, actioner:, additional_amounts:, amount:, card_payment_id:, currency:, declined_transaction_id:, digital_wallet_token_id:, direction:, incremented_card_authorization_id:, merchant_acceptor_id:, merchant_category_code:, merchant_city:, merchant_country:, merchant_descriptor:, merchant_postal_code:, merchant_state:, network_details:, network_identifiers:, network_risk_score:, physical_card_id:, presentment_amount:, presentment_currency:, processing_category:, real_time_decision_id:, real_time_decision_reason:, reason:, terminal_id:, verification:) # Some parameter documentations has been truncated, see # {Increase::Models::DeclinedTransaction::Source::CardDecline} for more details. # @@ -642,6 +649,8 @@ class CardDecline < Increase::Internal::Type::BaseModel # # @param direction [Symbol, Increase::Models::DeclinedTransaction::Source::CardDecline::Direction] The direction describes the direction the funds will move, either from the cardh # + # @param incremented_card_authorization_id [String, nil] The identifier of the card authorization this request attempted to incrementally + # # @param merchant_acceptor_id [String] The merchant identifier (commonly abbreviated as MID) of the merchant the card i # # @param merchant_category_code [String] The Merchant Category Code (commonly abbreviated as MCC) of the merchant the car diff --git a/rbi/increase/models/card_payment.rbi b/rbi/increase/models/card_payment.rbi index ac0e20513..274f980ab 100644 --- a/rbi/increase/models/card_payment.rbi +++ b/rbi/increase/models/card_payment.rbi @@ -3585,6 +3585,11 @@ module Increase end attr_accessor :direction + # The identifier of the card authorization this request attempted to incrementally + # authorize. + sig { returns(T.nilable(String)) } + attr_accessor :incremented_card_authorization_id + # The merchant identifier (commonly abbreviated as MID) of the merchant the card # is transacting with. sig { returns(String) } @@ -3734,6 +3739,7 @@ module Increase digital_wallet_token_id: T.nilable(String), direction: Increase::CardPayment::Element::CardDecline::Direction::OrSymbol, + incremented_card_authorization_id: T.nilable(String), merchant_acceptor_id: String, merchant_category_code: String, merchant_city: T.nilable(String), @@ -3789,6 +3795,9 @@ module Increase # The direction describes the direction the funds will move, either from the # cardholder to the merchant or from the merchant to the cardholder. direction:, + # The identifier of the card authorization this request attempted to incrementally + # authorize. + incremented_card_authorization_id:, # The merchant identifier (commonly abbreviated as MID) of the merchant the card # is transacting with. merchant_acceptor_id:, @@ -3856,6 +3865,7 @@ module Increase digital_wallet_token_id: T.nilable(String), direction: Increase::CardPayment::Element::CardDecline::Direction::TaggedSymbol, + incremented_card_authorization_id: T.nilable(String), merchant_acceptor_id: String, merchant_category_code: String, merchant_city: T.nilable(String), diff --git a/rbi/increase/models/declined_transaction.rbi b/rbi/increase/models/declined_transaction.rbi index c208ab8f7..40946830b 100644 --- a/rbi/increase/models/declined_transaction.rbi +++ b/rbi/increase/models/declined_transaction.rbi @@ -828,6 +828,11 @@ module Increase end attr_accessor :direction + # The identifier of the card authorization this request attempted to incrementally + # authorize. + sig { returns(T.nilable(String)) } + attr_accessor :incremented_card_authorization_id + # The merchant identifier (commonly abbreviated as MID) of the merchant the card # is transacting with. sig { returns(String) } @@ -981,6 +986,7 @@ module Increase digital_wallet_token_id: T.nilable(String), direction: Increase::DeclinedTransaction::Source::CardDecline::Direction::OrSymbol, + incremented_card_authorization_id: T.nilable(String), merchant_acceptor_id: String, merchant_category_code: String, merchant_city: T.nilable(String), @@ -1036,6 +1042,9 @@ module Increase # The direction describes the direction the funds will move, either from the # cardholder to the merchant or from the merchant to the cardholder. direction:, + # The identifier of the card authorization this request attempted to incrementally + # authorize. + incremented_card_authorization_id:, # The merchant identifier (commonly abbreviated as MID) of the merchant the card # is transacting with. merchant_acceptor_id:, @@ -1103,6 +1112,7 @@ module Increase digital_wallet_token_id: T.nilable(String), direction: Increase::DeclinedTransaction::Source::CardDecline::Direction::TaggedSymbol, + incremented_card_authorization_id: T.nilable(String), merchant_acceptor_id: String, merchant_category_code: String, merchant_city: T.nilable(String), diff --git a/sig/increase/models/card_payment.rbs b/sig/increase/models/card_payment.rbs index 0ef006534..765ca24ea 100644 --- a/sig/increase/models/card_payment.rbs +++ b/sig/increase/models/card_payment.rbs @@ -1300,6 +1300,7 @@ module Increase declined_transaction_id: String, digital_wallet_token_id: String?, direction: Increase::Models::CardPayment::Element::CardDecline::direction, + incremented_card_authorization_id: String?, merchant_acceptor_id: String, merchant_category_code: String, merchant_city: String?, @@ -1340,6 +1341,8 @@ module Increase attr_accessor direction: Increase::Models::CardPayment::Element::CardDecline::direction + attr_accessor incremented_card_authorization_id: String? + attr_accessor merchant_acceptor_id: String attr_accessor merchant_category_code: String @@ -1388,6 +1391,7 @@ module Increase declined_transaction_id: String, digital_wallet_token_id: String?, direction: Increase::Models::CardPayment::Element::CardDecline::direction, + incremented_card_authorization_id: String?, merchant_acceptor_id: String, merchant_category_code: String, merchant_city: String?, @@ -1419,6 +1423,7 @@ module Increase declined_transaction_id: String, digital_wallet_token_id: String?, direction: Increase::Models::CardPayment::Element::CardDecline::direction, + incremented_card_authorization_id: String?, merchant_acceptor_id: String, merchant_category_code: String, merchant_city: String?, diff --git a/sig/increase/models/declined_transaction.rbs b/sig/increase/models/declined_transaction.rbs index 6c550e933..73dbe42d2 100644 --- a/sig/increase/models/declined_transaction.rbs +++ b/sig/increase/models/declined_transaction.rbs @@ -324,6 +324,7 @@ module Increase declined_transaction_id: String, digital_wallet_token_id: String?, direction: Increase::Models::DeclinedTransaction::Source::CardDecline::direction, + incremented_card_authorization_id: String?, merchant_acceptor_id: String, merchant_category_code: String, merchant_city: String?, @@ -364,6 +365,8 @@ module Increase attr_accessor direction: Increase::Models::DeclinedTransaction::Source::CardDecline::direction + attr_accessor incremented_card_authorization_id: String? + attr_accessor merchant_acceptor_id: String attr_accessor merchant_category_code: String @@ -412,6 +415,7 @@ module Increase declined_transaction_id: String, digital_wallet_token_id: String?, direction: Increase::Models::DeclinedTransaction::Source::CardDecline::direction, + incremented_card_authorization_id: String?, merchant_acceptor_id: String, merchant_category_code: String, merchant_city: String?, @@ -443,6 +447,7 @@ module Increase declined_transaction_id: String, digital_wallet_token_id: String?, direction: Increase::Models::DeclinedTransaction::Source::CardDecline::direction, + incremented_card_authorization_id: String?, merchant_acceptor_id: String, merchant_category_code: String, merchant_city: String?, From 1c4c12b11c72b489f1277fa3dba7f34589d6ac73 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 29 Jul 2025 20:32:02 +0000 Subject: [PATCH 2/2] release: 1.21.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 69eb19a7b..ba231b076 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.20.0" + ".": "1.21.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 7611e6750..847a636f7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.21.0 (2025-07-29) + +Full Changelog: [v1.20.0...v1.21.0](https://github.com/Increase/increase-ruby/compare/v1.20.0...v1.21.0) + +### Features + +* **api:** api update ([8aa37f3](https://github.com/Increase/increase-ruby/commit/8aa37f3f48a32970bb8b33df798b30deaf30db2c)) + ## 1.20.0 (2025-07-29) Full Changelog: [v1.19.0...v1.20.0](https://github.com/Increase/increase-ruby/compare/v1.19.0...v1.20.0) diff --git a/Gemfile.lock b/Gemfile.lock index 1d118919b..54667d266 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - increase (1.20.0) + increase (1.21.0) connection_pool GEM diff --git a/README.md b/README.md index 54dd880dd..53fac5a2c 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.20.0" +gem "increase", "~> 1.21.0" ``` diff --git a/lib/increase/version.rb b/lib/increase/version.rb index 9fcc3ef09..7065731d1 100644 --- a/lib/increase/version.rb +++ b/lib/increase/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Increase - VERSION = "1.20.0" + VERSION = "1.21.0" end