From ead23ffebd18c71e3ae34fbec6ecbe20a0805586 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 6 Aug 2025 23:43:47 +0000 Subject: [PATCH 1/2] feat(api): api update --- .stats.yml | 4 ++-- lib/increase/models/transaction.rb | 11 +++++++---- rbi/increase/models/transaction.rbi | 23 +++++++++++++++-------- sig/increase/models/transaction.rbs | 20 ++++++++++++-------- 4 files changed, 36 insertions(+), 22 deletions(-) diff --git a/.stats.yml b/.stats.yml index a81891058..f77503ab4 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-147712ba3a72b1dea9a966f9b0ebc99ccebe38e1789426115f3b4c8977ed03c8.yml -openapi_spec_hash: 6c6fc01c8ea4f34b3c2553928945c100 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-aca6b5e100fcf8da7f6fc67bfbf47543f197f1c3fed52d5f1147b7cbad515546.yml +openapi_spec_hash: 369011703600762a5a5d701b4e843f7b config_hash: a185e9a72778cc4658ea73fb3a7f1354 diff --git a/lib/increase/models/transaction.rb b/lib/increase/models/transaction.rb index 3605e2e44..3e26bd64c 100644 --- a/lib/increase/models/transaction.rb +++ b/lib/increase/models/transaction.rb @@ -1157,19 +1157,22 @@ module EventType CHARGEBACK_SUBMITTED = :chargeback_submitted # The user declined the merchant's request for pre-arbitration. - MERCHANT_PREARBITRATION_DECLINED = :merchant_prearbitration_declined + MERCHANT_PREARBITRATION_REQUEST_DECLINE_SUBMITTED = :merchant_prearbitration_request_decline_submitted # The merchant's request for pre-arbitration was received. - MERCHANT_PREARBITRATION_RECEIVED = :merchant_prearbitration_received + MERCHANT_PREARBITRATION_REQUEST_RECEIVED = :merchant_prearbitration_request_received # The transaction was represented by the merchant. REPRESENTED = :represented # The user's request for pre-arbitration was declined. - USER_PREARBITRATION_DECLINED = :user_prearbitration_declined + USER_PREARBITRATION_REQUEST_DECLINE_RECEIVED = :user_prearbitration_request_decline_received # The user's request for pre-arbitration was submitted. - USER_PREARBITRATION_SUBMITTED = :user_prearbitration_submitted + USER_PREARBITRATION_REQUEST_SUBMITTED = :user_prearbitration_request_submitted + + # The user withdrew from the dispute. + USER_WITHDRAWAL_SUBMITTED = :user_withdrawal_submitted # @!method self.values # @return [Array] diff --git a/rbi/increase/models/transaction.rbi b/rbi/increase/models/transaction.rbi index f79ab7704..f65477c08 100644 --- a/rbi/increase/models/transaction.rbi +++ b/rbi/increase/models/transaction.rbi @@ -2338,16 +2338,16 @@ module Increase ) # The user declined the merchant's request for pre-arbitration. - MERCHANT_PREARBITRATION_DECLINED = + MERCHANT_PREARBITRATION_REQUEST_DECLINE_SUBMITTED = T.let( - :merchant_prearbitration_declined, + :merchant_prearbitration_request_decline_submitted, Increase::Transaction::Source::CardDisputeFinancial::Visa::EventType::TaggedSymbol ) # The merchant's request for pre-arbitration was received. - MERCHANT_PREARBITRATION_RECEIVED = + MERCHANT_PREARBITRATION_REQUEST_RECEIVED = T.let( - :merchant_prearbitration_received, + :merchant_prearbitration_request_received, Increase::Transaction::Source::CardDisputeFinancial::Visa::EventType::TaggedSymbol ) @@ -2359,16 +2359,23 @@ module Increase ) # The user's request for pre-arbitration was declined. - USER_PREARBITRATION_DECLINED = + USER_PREARBITRATION_REQUEST_DECLINE_RECEIVED = T.let( - :user_prearbitration_declined, + :user_prearbitration_request_decline_received, Increase::Transaction::Source::CardDisputeFinancial::Visa::EventType::TaggedSymbol ) # The user's request for pre-arbitration was submitted. - USER_PREARBITRATION_SUBMITTED = + USER_PREARBITRATION_REQUEST_SUBMITTED = T.let( - :user_prearbitration_submitted, + :user_prearbitration_request_submitted, + Increase::Transaction::Source::CardDisputeFinancial::Visa::EventType::TaggedSymbol + ) + + # The user withdrew from the dispute. + USER_WITHDRAWAL_SUBMITTED = + T.let( + :user_withdrawal_submitted, Increase::Transaction::Source::CardDisputeFinancial::Visa::EventType::TaggedSymbol ) diff --git a/sig/increase/models/transaction.rbs b/sig/increase/models/transaction.rbs index 0d5fbec8b..0a1f53a24 100644 --- a/sig/increase/models/transaction.rbs +++ b/sig/increase/models/transaction.rbs @@ -813,11 +813,12 @@ module Increase type event_type = :chargeback_submitted - | :merchant_prearbitration_declined - | :merchant_prearbitration_received + | :merchant_prearbitration_request_decline_submitted + | :merchant_prearbitration_request_received | :represented - | :user_prearbitration_declined - | :user_prearbitration_submitted + | :user_prearbitration_request_decline_received + | :user_prearbitration_request_submitted + | :user_withdrawal_submitted module EventType extend Increase::Internal::Type::Enum @@ -826,19 +827,22 @@ module Increase CHARGEBACK_SUBMITTED: :chargeback_submitted # The user declined the merchant's request for pre-arbitration. - MERCHANT_PREARBITRATION_DECLINED: :merchant_prearbitration_declined + MERCHANT_PREARBITRATION_REQUEST_DECLINE_SUBMITTED: :merchant_prearbitration_request_decline_submitted # The merchant's request for pre-arbitration was received. - MERCHANT_PREARBITRATION_RECEIVED: :merchant_prearbitration_received + MERCHANT_PREARBITRATION_REQUEST_RECEIVED: :merchant_prearbitration_request_received # The transaction was represented by the merchant. REPRESENTED: :represented # The user's request for pre-arbitration was declined. - USER_PREARBITRATION_DECLINED: :user_prearbitration_declined + USER_PREARBITRATION_REQUEST_DECLINE_RECEIVED: :user_prearbitration_request_decline_received # The user's request for pre-arbitration was submitted. - USER_PREARBITRATION_SUBMITTED: :user_prearbitration_submitted + USER_PREARBITRATION_REQUEST_SUBMITTED: :user_prearbitration_request_submitted + + # The user withdrew from the dispute. + USER_WITHDRAWAL_SUBMITTED: :user_withdrawal_submitted def self?.values: -> ::Array[Increase::Models::Transaction::Source::CardDisputeFinancial::Visa::event_type] end From e1d753d8fb03fce07163c27d90df9209fcd5e7a0 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 6 Aug 2025 23:44:05 +0000 Subject: [PATCH 2/2] release: 1.26.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 0c0c0c357..f3dbfd2ad 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.25.0" + ".": "1.26.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 010c84b7e..638f66cef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.26.0 (2025-08-06) + +Full Changelog: [v1.25.0...v1.26.0](https://github.com/Increase/increase-ruby/compare/v1.25.0...v1.26.0) + +### Features + +* **api:** api update ([ead23ff](https://github.com/Increase/increase-ruby/commit/ead23ffebd18c71e3ae34fbec6ecbe20a0805586)) + ## 1.25.0 (2025-08-06) Full Changelog: [v1.24.0...v1.25.0](https://github.com/Increase/increase-ruby/compare/v1.24.0...v1.25.0) diff --git a/Gemfile.lock b/Gemfile.lock index c2a31b249..831b9f104 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - increase (1.25.0) + increase (1.26.0) connection_pool GEM diff --git a/README.md b/README.md index f5f7791e8..2b2272a12 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.25.0" +gem "increase", "~> 1.26.0" ``` diff --git a/lib/increase/version.rb b/lib/increase/version.rb index 4746894ce..d8e7c5b51 100644 --- a/lib/increase/version.rb +++ b/lib/increase/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Increase - VERSION = "1.25.0" + VERSION = "1.26.0" end