From 4fa817db198c0c75226d288d97957ebf58bd2cb1 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 1 Oct 2025 07:11:14 +0000 Subject: [PATCH 1/2] feat(api): api update --- .stats.yml | 4 +-- lib/increase/models/transaction.rb | 24 ++++++++-------- .../models/transaction_list_params.rb | 4 +-- rbi/increase/models/transaction.rbi | 28 +++++++++---------- .../models/transaction_list_params.rbi | 4 +-- sig/increase/models/transaction.rbs | 4 +-- .../models/transaction_list_params.rbs | 4 +-- 7 files changed, 36 insertions(+), 36 deletions(-) diff --git a/.stats.yml b/.stats.yml index f51f792c..d2b407e6 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 214 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-878472ce6c3df1541bd6f2924ca987acc43fec7409cb06e6fe129638f9b6fb72.yml -openapi_spec_hash: 69facc862aa08df8ca458569028663e7 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-1084eee4a06751b960309c5854bc2af4d20e8022359fda84882ea67495bdce1b.yml +openapi_spec_hash: 90bed8cf565ade10b60b33d5ca70e6d0 config_hash: a143293c5450ae8f52acad08f3102575 diff --git a/lib/increase/models/transaction.rb b/lib/increase/models/transaction.rb index eb71c7fc..67473123 100644 --- a/lib/increase/models/transaction.rb +++ b/lib/increase/models/transaction.rb @@ -216,7 +216,7 @@ class Source < Increase::Internal::Type::BaseModel required :ach_transfer_return, -> { Increase::Transaction::Source::ACHTransferReturn }, nil?: true # @!attribute card_dispute_acceptance - # A Card Dispute Acceptance object. This field will be present in the JSON + # A Legacy Card Dispute Acceptance object. This field will be present in the JSON # response if and only if `category` is equal to `card_dispute_acceptance`. # Contains the details of a successful Card Dispute. # @@ -240,9 +240,9 @@ class Source < Increase::Internal::Type::BaseModel nil?: true # @!attribute card_dispute_loss - # A Card Dispute Loss object. This field will be present in the JSON response if - # and only if `category` is equal to `card_dispute_loss`. Contains the details of - # a lost Card Dispute. + # A Legacy Card Dispute Loss object. This field will be present in the JSON + # response if and only if `category` is equal to `card_dispute_loss`. Contains the + # details of a lost Card Dispute. # # @return [Increase::Models::Transaction::Source::CardDisputeLoss, nil] required :card_dispute_loss, -> { Increase::Transaction::Source::CardDisputeLoss }, nil?: true @@ -557,11 +557,11 @@ class Source < Increase::Internal::Type::BaseModel # # @param ach_transfer_return [Increase::Models::Transaction::Source::ACHTransferReturn, nil] An ACH Transfer Return object. This field will be present in the JSON response i # - # @param card_dispute_acceptance [Increase::Models::Transaction::Source::CardDisputeAcceptance, nil] A Card Dispute Acceptance object. This field will be present in the JSON respons + # @param card_dispute_acceptance [Increase::Models::Transaction::Source::CardDisputeAcceptance, nil] A Legacy Card Dispute Acceptance object. This field will be present in the JSON # # @param card_dispute_financial [Increase::Models::Transaction::Source::CardDisputeFinancial, nil] A Card Dispute Financial object. This field will be present in the JSON response # - # @param card_dispute_loss [Increase::Models::Transaction::Source::CardDisputeLoss, nil] A Card Dispute Loss object. This field will be present in the JSON response if a + # @param card_dispute_loss [Increase::Models::Transaction::Source::CardDisputeLoss, nil] A Legacy Card Dispute Loss object. This field will be present in the JSON respon # # @param card_financial [Increase::Models::Transaction::Source::CardFinancial, nil] A Card Financial object. This field will be present in the JSON response if and # @@ -1129,7 +1129,7 @@ class CardDisputeAcceptance < Increase::Internal::Type::BaseModel # Some parameter documentations has been truncated, see # {Increase::Models::Transaction::Source::CardDisputeAcceptance} for more details. # - # A Card Dispute Acceptance object. This field will be present in the JSON + # A Legacy Card Dispute Acceptance object. This field will be present in the JSON # response if and only if `category` is equal to `card_dispute_acceptance`. # Contains the details of a successful Card Dispute. # @@ -1270,9 +1270,9 @@ class CardDisputeLoss < Increase::Internal::Type::BaseModel # Some parameter documentations has been truncated, see # {Increase::Models::Transaction::Source::CardDisputeLoss} for more details. # - # A Card Dispute Loss object. This field will be present in the JSON response if - # and only if `category` is equal to `card_dispute_loss`. Contains the details of - # a lost Card Dispute. + # A Legacy Card Dispute Loss object. This field will be present in the JSON + # response if and only if `category` is equal to `card_dispute_loss`. Contains the + # details of a lost Card Dispute. # # @param explanation [String] Why the Card Dispute was lost. # @@ -5385,13 +5385,13 @@ module Category # Cashback Payment: details will be under the `cashback_payment` object. CASHBACK_PAYMENT = :cashback_payment - # Card Dispute Acceptance: details will be under the `card_dispute_acceptance` object. + # Legacy Card Dispute Acceptance: details will be under the `card_dispute_acceptance` object. CARD_DISPUTE_ACCEPTANCE = :card_dispute_acceptance # Card Dispute Financial: details will be under the `card_dispute_financial` object. CARD_DISPUTE_FINANCIAL = :card_dispute_financial - # Card Dispute Loss: details will be under the `card_dispute_loss` object. + # Legacy Card Dispute Loss: details will be under the `card_dispute_loss` object. CARD_DISPUTE_LOSS = :card_dispute_loss # Card Refund: details will be under the `card_refund` object. diff --git a/lib/increase/models/transaction_list_params.rb b/lib/increase/models/transaction_list_params.rb index 99cc75e3..40b6b96c 100644 --- a/lib/increase/models/transaction_list_params.rb +++ b/lib/increase/models/transaction_list_params.rb @@ -97,13 +97,13 @@ module In # Cashback Payment: details will be under the `cashback_payment` object. CASHBACK_PAYMENT = :cashback_payment - # Card Dispute Acceptance: details will be under the `card_dispute_acceptance` object. + # Legacy Card Dispute Acceptance: details will be under the `card_dispute_acceptance` object. CARD_DISPUTE_ACCEPTANCE = :card_dispute_acceptance # Card Dispute Financial: details will be under the `card_dispute_financial` object. CARD_DISPUTE_FINANCIAL = :card_dispute_financial - # Card Dispute Loss: details will be under the `card_dispute_loss` object. + # Legacy Card Dispute Loss: details will be under the `card_dispute_loss` object. CARD_DISPUTE_LOSS = :card_dispute_loss # Card Refund: details will be under the `card_refund` object. diff --git a/rbi/increase/models/transaction.rbi b/rbi/increase/models/transaction.rbi index c46802ab..b6ad0d65 100644 --- a/rbi/increase/models/transaction.rbi +++ b/rbi/increase/models/transaction.rbi @@ -310,7 +310,7 @@ module Increase end attr_writer :ach_transfer_return - # A Card Dispute Acceptance object. This field will be present in the JSON + # A Legacy Card Dispute Acceptance object. This field will be present in the JSON # response if and only if `category` is equal to `card_dispute_acceptance`. # Contains the details of a successful Card Dispute. sig do @@ -350,9 +350,9 @@ module Increase end attr_writer :card_dispute_financial - # A Card Dispute Loss object. This field will be present in the JSON response if - # and only if `category` is equal to `card_dispute_loss`. Contains the details of - # a lost Card Dispute. + # A Legacy Card Dispute Loss object. This field will be present in the JSON + # response if and only if `category` is equal to `card_dispute_loss`. Contains the + # details of a lost Card Dispute. sig do returns(T.nilable(Increase::Transaction::Source::CardDisputeLoss)) end @@ -1069,7 +1069,7 @@ module Increase # the first two business days after the transfer is initiated, but can occur much # later. ach_transfer_return:, - # A Card Dispute Acceptance object. This field will be present in the JSON + # A Legacy Card Dispute Acceptance object. This field will be present in the JSON # response if and only if `category` is equal to `card_dispute_acceptance`. # Contains the details of a successful Card Dispute. card_dispute_acceptance:, @@ -1077,9 +1077,9 @@ module Increase # if and only if `category` is equal to `card_dispute_financial`. Financial event # related to a Card Dispute. card_dispute_financial:, - # A Card Dispute Loss object. This field will be present in the JSON response if - # and only if `category` is equal to `card_dispute_loss`. Contains the details of - # a lost Card Dispute. + # A Legacy Card Dispute Loss object. This field will be present in the JSON + # response if and only if `category` is equal to `card_dispute_loss`. Contains the + # details of a lost Card Dispute. card_dispute_loss:, # A Card Financial object. This field will be present in the JSON response if and # only if `category` is equal to `card_financial`. Card Financials are temporary @@ -2278,7 +2278,7 @@ module Increase sig { returns(String) } attr_accessor :transaction_id - # A Card Dispute Acceptance object. This field will be present in the JSON + # A Legacy Card Dispute Acceptance object. This field will be present in the JSON # response if and only if `category` is equal to `card_dispute_acceptance`. # Contains the details of a successful Card Dispute. sig do @@ -2570,9 +2570,9 @@ module Increase sig { returns(String) } attr_accessor :transaction_id - # A Card Dispute Loss object. This field will be present in the JSON response if - # and only if `category` is equal to `card_dispute_loss`. Contains the details of - # a lost Card Dispute. + # A Legacy Card Dispute Loss object. This field will be present in the JSON + # response if and only if `category` is equal to `card_dispute_loss`. Contains the + # details of a lost Card Dispute. sig do params( explanation: String, @@ -10102,7 +10102,7 @@ module Increase Increase::Transaction::Source::Category::TaggedSymbol ) - # Card Dispute Acceptance: details will be under the `card_dispute_acceptance` object. + # Legacy Card Dispute Acceptance: details will be under the `card_dispute_acceptance` object. CARD_DISPUTE_ACCEPTANCE = T.let( :card_dispute_acceptance, @@ -10116,7 +10116,7 @@ module Increase Increase::Transaction::Source::Category::TaggedSymbol ) - # Card Dispute Loss: details will be under the `card_dispute_loss` object. + # Legacy Card Dispute Loss: details will be under the `card_dispute_loss` object. CARD_DISPUTE_LOSS = T.let( :card_dispute_loss, diff --git a/rbi/increase/models/transaction_list_params.rbi b/rbi/increase/models/transaction_list_params.rbi index 109d3d26..e6abadb4 100644 --- a/rbi/increase/models/transaction_list_params.rbi +++ b/rbi/increase/models/transaction_list_params.rbi @@ -201,7 +201,7 @@ module Increase Increase::TransactionListParams::Category::In::TaggedSymbol ) - # Card Dispute Acceptance: details will be under the `card_dispute_acceptance` object. + # Legacy Card Dispute Acceptance: details will be under the `card_dispute_acceptance` object. CARD_DISPUTE_ACCEPTANCE = T.let( :card_dispute_acceptance, @@ -215,7 +215,7 @@ module Increase Increase::TransactionListParams::Category::In::TaggedSymbol ) - # Card Dispute Loss: details will be under the `card_dispute_loss` object. + # Legacy Card Dispute Loss: details will be under the `card_dispute_loss` object. CARD_DISPUTE_LOSS = T.let( :card_dispute_loss, diff --git a/sig/increase/models/transaction.rbs b/sig/increase/models/transaction.rbs index ab63d7c3..8f790a3e 100644 --- a/sig/increase/models/transaction.rbs +++ b/sig/increase/models/transaction.rbs @@ -3956,13 +3956,13 @@ module Increase # Cashback Payment: details will be under the `cashback_payment` object. CASHBACK_PAYMENT: :cashback_payment - # Card Dispute Acceptance: details will be under the `card_dispute_acceptance` object. + # Legacy Card Dispute Acceptance: details will be under the `card_dispute_acceptance` object. CARD_DISPUTE_ACCEPTANCE: :card_dispute_acceptance # Card Dispute Financial: details will be under the `card_dispute_financial` object. CARD_DISPUTE_FINANCIAL: :card_dispute_financial - # Card Dispute Loss: details will be under the `card_dispute_loss` object. + # Legacy Card Dispute Loss: details will be under the `card_dispute_loss` object. CARD_DISPUTE_LOSS: :card_dispute_loss # Card Refund: details will be under the `card_refund` object. diff --git a/sig/increase/models/transaction_list_params.rbs b/sig/increase/models/transaction_list_params.rbs index 499f5bae..b96ed5b8 100644 --- a/sig/increase/models/transaction_list_params.rbs +++ b/sig/increase/models/transaction_list_params.rbs @@ -137,13 +137,13 @@ module Increase # Cashback Payment: details will be under the `cashback_payment` object. CASHBACK_PAYMENT: :cashback_payment - # Card Dispute Acceptance: details will be under the `card_dispute_acceptance` object. + # Legacy Card Dispute Acceptance: details will be under the `card_dispute_acceptance` object. CARD_DISPUTE_ACCEPTANCE: :card_dispute_acceptance # Card Dispute Financial: details will be under the `card_dispute_financial` object. CARD_DISPUTE_FINANCIAL: :card_dispute_financial - # Card Dispute Loss: details will be under the `card_dispute_loss` object. + # Legacy Card Dispute Loss: details will be under the `card_dispute_loss` object. CARD_DISPUTE_LOSS: :card_dispute_loss # Card Refund: details will be under the `card_refund` object. From 5a1ad67d47ed0a69b56a9891eb50e060da5ba37f Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 1 Oct 2025 07:11:35 +0000 Subject: [PATCH 2/2] release: 1.98.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 9cdfd7b0..d12300ea 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.97.1" + ".": "1.98.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index b5b8c964..1a6c6e70 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.98.0 (2025-10-01) + +Full Changelog: [v1.97.1...v1.98.0](https://github.com/Increase/increase-ruby/compare/v1.97.1...v1.98.0) + +### Features + +* **api:** api update ([4fa817d](https://github.com/Increase/increase-ruby/commit/4fa817db198c0c75226d288d97957ebf58bd2cb1)) + ## 1.97.1 (2025-09-30) Full Changelog: [v1.97.0...v1.97.1](https://github.com/Increase/increase-ruby/compare/v1.97.0...v1.97.1) diff --git a/Gemfile.lock b/Gemfile.lock index 42bf432a..7c7863a4 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - increase (1.97.1) + increase (1.98.0) connection_pool GEM diff --git a/README.md b/README.md index 8ab32c85..572e59a4 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.97.1" +gem "increase", "~> 1.98.0" ``` diff --git a/lib/increase/version.rb b/lib/increase/version.rb index bcdf7815..3604b0d4 100644 --- a/lib/increase/version.rb +++ b/lib/increase/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Increase - VERSION = "1.97.1" + VERSION = "1.98.0" end