From c01948c26453851b126a8924618a0b8b345007ae Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 22 Oct 2025 00:07:33 +0000 Subject: [PATCH 1/2] feat(api): api update --- .stats.yml | 4 ++-- lib/increase/models/card_payment.rb | 11 ++++++++++- rbi/increase/models/card_payment.rbi | 10 ++++++++++ sig/increase/models/card_payment.rbs | 5 +++++ 4 files changed, 27 insertions(+), 3 deletions(-) diff --git a/.stats.yml b/.stats.yml index ffbf262f..f6d731d7 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 220 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-d7cf5ee0996fbe47611e26c72b8bd36151ce065c410488583977102f1812b84d.yml -openapi_spec_hash: 8c0f2a172afc0eb0f9fae50250c89216 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-b4cda5505a0662dcbad16dabc86715b5353a90685fa9047384e60156f898f3b8.yml +openapi_spec_hash: 0c831296b6f59e535c73162e0e18c175 config_hash: f0b80170c2ea09811aeae3f1e94bc422 diff --git a/lib/increase/models/card_payment.rb b/lib/increase/models/card_payment.rb index f3470280..cbd4a303 100644 --- a/lib/increase/models/card_payment.rb +++ b/lib/increase/models/card_payment.rb @@ -8163,6 +8163,13 @@ class State < Increase::Internal::Type::BaseModel # @return [Integer] required :incremented_amount, Integer + # @!attribute refund_authorized_amount + # The total refund authorized amount in the minor unit of the transaction's + # currency. For dollars, for example, this is cents. + # + # @return [Integer] + required :refund_authorized_amount, Integer + # @!attribute refunded_amount # The total refunded amount in the minor unit of the transaction's currency. For # dollars, for example, this is cents. @@ -8184,7 +8191,7 @@ class State < Increase::Internal::Type::BaseModel # @return [Integer] required :settled_amount, Integer - # @!method initialize(authorized_amount:, fuel_confirmed_amount:, incremented_amount:, refunded_amount:, reversed_amount:, settled_amount:) + # @!method initialize(authorized_amount:, fuel_confirmed_amount:, incremented_amount:, refund_authorized_amount:, refunded_amount:, reversed_amount:, settled_amount:) # Some parameter documentations has been truncated, see # {Increase::Models::CardPayment::State} for more details. # @@ -8196,6 +8203,8 @@ class State < Increase::Internal::Type::BaseModel # # @param incremented_amount [Integer] The total incrementally updated authorized amount in the minor unit of the trans # + # @param refund_authorized_amount [Integer] The total refund authorized amount in the minor unit of the transaction's curren + # # @param refunded_amount [Integer] The total refunded amount in the minor unit of the transaction's currency. For d # # @param reversed_amount [Integer] The total reversed amount in the minor unit of the transaction's currency. For d diff --git a/rbi/increase/models/card_payment.rbi b/rbi/increase/models/card_payment.rbi index 3a02b583..0792aba0 100644 --- a/rbi/increase/models/card_payment.rbi +++ b/rbi/increase/models/card_payment.rbi @@ -15078,6 +15078,11 @@ module Increase sig { returns(Integer) } attr_accessor :incremented_amount + # The total refund authorized amount in the minor unit of the transaction's + # currency. For dollars, for example, this is cents. + sig { returns(Integer) } + attr_accessor :refund_authorized_amount + # The total refunded amount in the minor unit of the transaction's currency. For # dollars, for example, this is cents. sig { returns(Integer) } @@ -15099,6 +15104,7 @@ module Increase authorized_amount: Integer, fuel_confirmed_amount: Integer, incremented_amount: Integer, + refund_authorized_amount: Integer, refunded_amount: Integer, reversed_amount: Integer, settled_amount: Integer @@ -15114,6 +15120,9 @@ module Increase # The total incrementally updated authorized amount in the minor unit of the # transaction's currency. For dollars, for example, this is cents. incremented_amount:, + # The total refund authorized amount in the minor unit of the transaction's + # currency. For dollars, for example, this is cents. + refund_authorized_amount:, # The total refunded amount in the minor unit of the transaction's currency. For # dollars, for example, this is cents. refunded_amount:, @@ -15132,6 +15141,7 @@ module Increase authorized_amount: Integer, fuel_confirmed_amount: Integer, incremented_amount: Integer, + refund_authorized_amount: Integer, refunded_amount: Integer, reversed_amount: Integer, settled_amount: Integer diff --git a/sig/increase/models/card_payment.rbs b/sig/increase/models/card_payment.rbs index 16b16533..8b17e016 100644 --- a/sig/increase/models/card_payment.rbs +++ b/sig/increase/models/card_payment.rbs @@ -5758,6 +5758,7 @@ module Increase authorized_amount: Integer, fuel_confirmed_amount: Integer, incremented_amount: Integer, + refund_authorized_amount: Integer, refunded_amount: Integer, reversed_amount: Integer, settled_amount: Integer @@ -5770,6 +5771,8 @@ module Increase attr_accessor incremented_amount: Integer + attr_accessor refund_authorized_amount: Integer + attr_accessor refunded_amount: Integer attr_accessor reversed_amount: Integer @@ -5780,6 +5783,7 @@ module Increase authorized_amount: Integer, fuel_confirmed_amount: Integer, incremented_amount: Integer, + refund_authorized_amount: Integer, refunded_amount: Integer, reversed_amount: Integer, settled_amount: Integer @@ -5789,6 +5793,7 @@ module Increase authorized_amount: Integer, fuel_confirmed_amount: Integer, incremented_amount: Integer, + refund_authorized_amount: Integer, refunded_amount: Integer, reversed_amount: Integer, settled_amount: Integer From c051eafbf25bb9a2a0d373f6f1dd299c65c0d0df Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 22 Oct 2025 00:07:55 +0000 Subject: [PATCH 2/2] release: 1.111.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 eede6d21..c2cf90d8 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.110.0" + ".": "1.111.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index aee67f39..4164040d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.111.0 (2025-10-22) + +Full Changelog: [v1.110.0...v1.111.0](https://github.com/Increase/increase-ruby/compare/v1.110.0...v1.111.0) + +### Features + +* **api:** api update ([c01948c](https://github.com/Increase/increase-ruby/commit/c01948c26453851b126a8924618a0b8b345007ae)) + ## 1.110.0 (2025-10-16) Full Changelog: [v1.109.1...v1.110.0](https://github.com/Increase/increase-ruby/compare/v1.109.1...v1.110.0) diff --git a/Gemfile.lock b/Gemfile.lock index f6956720..96d6da23 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - increase (1.110.0) + increase (1.111.0) connection_pool GEM diff --git a/README.md b/README.md index 43f250cb..a0f25418 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.110.0" +gem "increase", "~> 1.111.0" ``` diff --git a/lib/increase/version.rb b/lib/increase/version.rb index c1210c16..1c822ac7 100644 --- a/lib/increase/version.rb +++ b/lib/increase/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Increase - VERSION = "1.110.0" + VERSION = "1.111.0" end