diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 02a4b62f..ec9e600f 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.137.0" + ".": "1.138.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index 7a7a9db6..7ba77f51 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 228 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-20e1561a0d8d3d75c643376822d6e039bcc63f27fd1feff20b8b1e6aced1decd.yml -openapi_spec_hash: 225581a20e328afe5ebba8ee801e002b +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-8c1e7b6c76b828e1835e628850b33c7468a0db61db1df8e5b781868445ecf25c.yml +openapi_spec_hash: eff2b69771bdda576c42980ca05fdc79 config_hash: eb2035151c7b49c2f12caf55469b8f9a diff --git a/CHANGELOG.md b/CHANGELOG.md index a334d76f..e06e46fa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.138.0 (2025-11-07) + +Full Changelog: [v1.137.0...v1.138.0](https://github.com/Increase/increase-ruby/compare/v1.137.0...v1.138.0) + +### Features + +* **api:** api update ([66a5d25](https://github.com/Increase/increase-ruby/commit/66a5d25821ad616a45401f2cddd0fac13b89b091)) + ## 1.137.0 (2025-11-07) Full Changelog: [v1.136.0...v1.137.0](https://github.com/Increase/increase-ruby/compare/v1.136.0...v1.137.0) diff --git a/Gemfile.lock b/Gemfile.lock index d545ef4d..d364c866 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - increase (1.137.0) + increase (1.138.0) connection_pool GEM diff --git a/README.md b/README.md index ae46334c..b9768451 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.137.0" +gem "increase", "~> 1.138.0" ``` diff --git a/lib/increase/models/check_transfer.rb b/lib/increase/models/check_transfer.rb index 01f68d98..2dd54a74 100644 --- a/lib/increase/models/check_transfer.rb +++ b/lib/increase/models/check_transfer.rb @@ -166,8 +166,9 @@ class CheckTransfer < Increase::Internal::Type::BaseModel # @!attribute valid_until_date # If set, the check will be valid on or before this date. After this date, the - # check transfer will be stopped and deposits will not be accepted. For checks - # printed by Increase, this date is included on the check as its expiry. + # check transfer will be automatically stopped and deposits will not be accepted. + # For checks printed by Increase, this date is included on the check as its + # expiry. # # @return [Date, nil] required :valid_until_date, Date, nil?: true @@ -852,6 +853,9 @@ module Reason # The check was not authorized. NOT_AUTHORIZED = :not_authorized + # The check was stopped for `valid_until_date` being in the past. + VALID_UNTIL_DATE_PASSED = :valid_until_date_passed + # The check was stopped for another reason. UNKNOWN = :unknown diff --git a/lib/increase/models/check_transfer_create_params.rb b/lib/increase/models/check_transfer_create_params.rb index a3f084ed..a6414b7a 100644 --- a/lib/increase/models/check_transfer_create_params.rb +++ b/lib/increase/models/check_transfer_create_params.rb @@ -71,8 +71,9 @@ class CheckTransferCreateParams < Increase::Internal::Type::BaseModel # @!attribute valid_until_date # If provided, the check will be valid on or before this date. After this date, - # the check transfer will be stopped and deposits will not be accepted. For checks - # printed by Increase, this date is included on the check as its expiry. + # the check transfer will be automatically stopped and deposits will not be + # accepted. For checks printed by Increase, this date is included on the check as + # its expiry. # # @return [Date, nil] optional :valid_until_date, Date diff --git a/lib/increase/models/check_transfer_stop_payment_params.rb b/lib/increase/models/check_transfer_stop_payment_params.rb index 2fad5432..1239ac12 100644 --- a/lib/increase/models/check_transfer_stop_payment_params.rb +++ b/lib/increase/models/check_transfer_stop_payment_params.rb @@ -28,6 +28,9 @@ module Reason # The check was not authorized. NOT_AUTHORIZED = :not_authorized + # The check was stopped for `valid_until_date` being in the past. + VALID_UNTIL_DATE_PASSED = :valid_until_date_passed + # The check was stopped for another reason. UNKNOWN = :unknown diff --git a/lib/increase/version.rb b/lib/increase/version.rb index c3c8b187..bef3dd14 100644 --- a/lib/increase/version.rb +++ b/lib/increase/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Increase - VERSION = "1.137.0" + VERSION = "1.138.0" end diff --git a/rbi/increase/models/check_transfer.rbi b/rbi/increase/models/check_transfer.rbi index a59a4272..16a53683 100644 --- a/rbi/increase/models/check_transfer.rbi +++ b/rbi/increase/models/check_transfer.rbi @@ -181,8 +181,9 @@ module Increase attr_accessor :type # If set, the check will be valid on or before this date. After this date, the - # check transfer will be stopped and deposits will not be accepted. For checks - # printed by Increase, this date is included on the check as its expiry. + # check transfer will be automatically stopped and deposits will not be accepted. + # For checks printed by Increase, this date is included on the check as its + # expiry. sig { returns(T.nilable(Date)) } attr_accessor :valid_until_date @@ -288,8 +289,9 @@ module Increase # `check_transfer`. type:, # If set, the check will be valid on or before this date. After this date, the - # check transfer will be stopped and deposits will not be accepted. For checks - # printed by Increase, this date is included on the check as its expiry. + # check transfer will be automatically stopped and deposits will not be accepted. + # For checks printed by Increase, this date is included on the check as its + # expiry. valid_until_date: ) end @@ -1436,6 +1438,13 @@ module Increase Increase::CheckTransfer::StopPaymentRequest::Reason::TaggedSymbol ) + # The check was stopped for `valid_until_date` being in the past. + VALID_UNTIL_DATE_PASSED = + T.let( + :valid_until_date_passed, + Increase::CheckTransfer::StopPaymentRequest::Reason::TaggedSymbol + ) + # The check was stopped for another reason. UNKNOWN = T.let( diff --git a/rbi/increase/models/check_transfer_create_params.rbi b/rbi/increase/models/check_transfer_create_params.rbi index c30b53c3..650c7870 100644 --- a/rbi/increase/models/check_transfer_create_params.rbi +++ b/rbi/increase/models/check_transfer_create_params.rbi @@ -100,8 +100,9 @@ module Increase attr_writer :third_party # If provided, the check will be valid on or before this date. After this date, - # the check transfer will be stopped and deposits will not be accepted. For checks - # printed by Increase, this date is included on the check as its expiry. + # the check transfer will be automatically stopped and deposits will not be + # accepted. For checks printed by Increase, this date is included on the check as + # its expiry. sig { returns(T.nilable(Date)) } attr_reader :valid_until_date @@ -154,8 +155,9 @@ module Increase # other `fulfillment_method` is provided. third_party: nil, # If provided, the check will be valid on or before this date. After this date, - # the check transfer will be stopped and deposits will not be accepted. For checks - # printed by Increase, this date is included on the check as its expiry. + # the check transfer will be automatically stopped and deposits will not be + # accepted. For checks printed by Increase, this date is included on the check as + # its expiry. valid_until_date: nil, request_options: {} ) diff --git a/rbi/increase/models/check_transfer_stop_payment_params.rbi b/rbi/increase/models/check_transfer_stop_payment_params.rbi index 4a032dcb..ad12cae2 100644 --- a/rbi/increase/models/check_transfer_stop_payment_params.rbi +++ b/rbi/increase/models/check_transfer_stop_payment_params.rbi @@ -77,6 +77,13 @@ module Increase Increase::CheckTransferStopPaymentParams::Reason::TaggedSymbol ) + # The check was stopped for `valid_until_date` being in the past. + VALID_UNTIL_DATE_PASSED = + T.let( + :valid_until_date_passed, + Increase::CheckTransferStopPaymentParams::Reason::TaggedSymbol + ) + # The check was stopped for another reason. UNKNOWN = T.let( diff --git a/rbi/increase/resources/check_transfers.rbi b/rbi/increase/resources/check_transfers.rbi index 54458754..de5f473c 100644 --- a/rbi/increase/resources/check_transfers.rbi +++ b/rbi/increase/resources/check_transfers.rbi @@ -50,8 +50,9 @@ module Increase # other `fulfillment_method` is provided. third_party: nil, # If provided, the check will be valid on or before this date. After this date, - # the check transfer will be stopped and deposits will not be accepted. For checks - # printed by Increase, this date is included on the check as its expiry. + # the check transfer will be automatically stopped and deposits will not be + # accepted. For checks printed by Increase, this date is included on the check as + # its expiry. valid_until_date: nil, request_options: {} ) diff --git a/sig/increase/models/check_transfer.rbs b/sig/increase/models/check_transfer.rbs index 85d9cbfa..e58c35d7 100644 --- a/sig/increase/models/check_transfer.rbs +++ b/sig/increase/models/check_transfer.rbs @@ -609,6 +609,7 @@ module Increase :mail_delivery_failed | :rejected_by_increase | :not_authorized + | :valid_until_date_passed | :unknown module Reason @@ -623,6 +624,9 @@ module Increase # The check was not authorized. NOT_AUTHORIZED: :not_authorized + # The check was stopped for `valid_until_date` being in the past. + VALID_UNTIL_DATE_PASSED: :valid_until_date_passed + # The check was stopped for another reason. UNKNOWN: :unknown diff --git a/sig/increase/models/check_transfer_stop_payment_params.rbs b/sig/increase/models/check_transfer_stop_payment_params.rbs index ada1ae4f..5a13db73 100644 --- a/sig/increase/models/check_transfer_stop_payment_params.rbs +++ b/sig/increase/models/check_transfer_stop_payment_params.rbs @@ -24,7 +24,11 @@ module Increase request_options: Increase::RequestOptions } - type reason = :mail_delivery_failed | :not_authorized | :unknown + type reason = + :mail_delivery_failed + | :not_authorized + | :valid_until_date_passed + | :unknown module Reason extend Increase::Internal::Type::Enum @@ -35,6 +39,9 @@ module Increase # The check was not authorized. NOT_AUTHORIZED: :not_authorized + # The check was stopped for `valid_until_date` being in the past. + VALID_UNTIL_DATE_PASSED: :valid_until_date_passed + # The check was stopped for another reason. UNKNOWN: :unknown