Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "1.137.0"
".": "1.138.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -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
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ GIT
PATH
remote: .
specs:
increase (1.137.0)
increase (1.138.0)
connection_pool

GEM
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
<!-- x-release-please-start-version -->

```ruby
gem "increase", "~> 1.137.0"
gem "increase", "~> 1.138.0"
```

<!-- x-release-please-end -->
Expand Down
8 changes: 6 additions & 2 deletions lib/increase/models/check_transfer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down
5 changes: 3 additions & 2 deletions lib/increase/models/check_transfer_create_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions lib/increase/models/check_transfer_stop_payment_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion lib/increase/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Increase
VERSION = "1.137.0"
VERSION = "1.138.0"
end
17 changes: 13 additions & 4 deletions rbi/increase/models/check_transfer.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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(
Expand Down
10 changes: 6 additions & 4 deletions rbi/increase/models/check_transfer_create_params.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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: {}
)
Expand Down
7 changes: 7 additions & 0 deletions rbi/increase/models/check_transfer_stop_payment_params.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
5 changes: 3 additions & 2 deletions rbi/increase/resources/check_transfers.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -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: {}
)
Expand Down
4 changes: 4 additions & 0 deletions sig/increase/models/check_transfer.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -609,6 +609,7 @@ module Increase
:mail_delivery_failed
| :rejected_by_increase
| :not_authorized
| :valid_until_date_passed
| :unknown

module Reason
Expand All @@ -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

Expand Down
9 changes: 8 additions & 1 deletion sig/increase/models/check_transfer_stop_payment_params.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down