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.148.0"
".": "1.149.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: 229
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-a66f039751a4ffdebbbf533f24f55cd2c42708b9cf105512849849fddaafb5e8.yml
openapi_spec_hash: c265609bceb053f898ea14b1191fe927
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-bd464d151612058d8029150b376949b22d5515af23621465c0ce1c1069b91644.yml
openapi_spec_hash: e60e1548c523a0ee7c9daa1bd988cbc5
config_hash: ca1425272e17fa23d4466d33492334fa
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 1.149.0 (2025-11-24)

Full Changelog: [v1.148.0...v1.149.0](https://github.com/Increase/increase-ruby/compare/v1.148.0...v1.149.0)

### Features

* **api:** api update ([d27029d](https://github.com/Increase/increase-ruby/commit/d27029d6e3d7ba98ea5c378f9734487164820732))

## 1.148.0 (2025-11-24)

Full Changelog: [v1.147.0...v1.148.0](https://github.com/Increase/increase-ruby/compare/v1.147.0...v1.148.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.148.0)
increase (1.149.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.148.0"
gem "increase", "~> 1.149.0"
```

<!-- x-release-please-end -->
Expand Down
10 changes: 9 additions & 1 deletion lib/increase/models/check_transfer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,12 @@ class PhysicalCheck < Increase::Internal::Type::BaseModel
# @return [String, nil]
required :attachment_file_id, String, nil?: true

# @!attribute check_voucher_image_file_id
# The ID of the file for the check voucher image.
#
# @return [String, nil]
required :check_voucher_image_file_id, String, nil?: true

# @!attribute mailing_address
# Details for where Increase will mail the check.
#
Expand Down Expand Up @@ -536,7 +542,7 @@ class PhysicalCheck < Increase::Internal::Type::BaseModel
required :tracking_updates,
-> { Increase::Internal::Type::ArrayOf[Increase::CheckTransfer::PhysicalCheck::TrackingUpdate] }

# @!method initialize(attachment_file_id:, mailing_address:, memo:, note:, payer:, recipient_name:, return_address:, shipping_method:, signature_text:, tracking_updates:)
# @!method initialize(attachment_file_id:, check_voucher_image_file_id:, mailing_address:, memo:, note:, payer:, recipient_name:, return_address:, shipping_method:, signature_text:, tracking_updates:)
# Some parameter documentations has been truncated, see
# {Increase::Models::CheckTransfer::PhysicalCheck} for more details.
#
Expand All @@ -545,6 +551,8 @@ class PhysicalCheck < Increase::Internal::Type::BaseModel
#
# @param attachment_file_id [String, nil] The ID of the file for the check attachment.
#
# @param check_voucher_image_file_id [String, nil] The ID of the file for the check voucher image.
#
# @param mailing_address [Increase::Models::CheckTransfer::PhysicalCheck::MailingAddress] Details for where Increase will mail the check.
#
# @param memo [String, nil] The descriptor that will be printed on the memo field on the check.
Expand Down
12 changes: 11 additions & 1 deletion lib/increase/models/check_transfer_create_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,14 @@ class PhysicalCheck < Increase::Internal::Type::BaseModel
# @return [String, nil]
optional :attachment_file_id, String

# @!attribute check_voucher_image_file_id
# The ID of a File to be used as the check voucher image. This must have
# `purpose: check_voucher_image`. For details on pricing and restrictions, see
# https://increase.com/documentation/originating-checks#printing-checks .
#
# @return [String, nil]
optional :check_voucher_image_file_id, String

# @!attribute note
# The descriptor that will be printed on the letter included with the check.
#
Expand Down Expand Up @@ -197,7 +205,7 @@ class PhysicalCheck < Increase::Internal::Type::BaseModel
# @return [String, nil]
optional :signature_text, String

# @!method initialize(mailing_address:, memo:, recipient_name:, attachment_file_id: nil, note: nil, payer: nil, return_address: nil, shipping_method: nil, signature_text: nil)
# @!method initialize(mailing_address:, memo:, recipient_name:, attachment_file_id: nil, check_voucher_image_file_id: nil, note: nil, payer: nil, return_address: nil, shipping_method: nil, signature_text: nil)
# Some parameter documentations has been truncated, see
# {Increase::Models::CheckTransferCreateParams::PhysicalCheck} for more details.
#
Expand All @@ -213,6 +221,8 @@ class PhysicalCheck < Increase::Internal::Type::BaseModel
#
# @param attachment_file_id [String] The ID of a File to be attached to the check. This must have `purpose: check_att
#
# @param check_voucher_image_file_id [String] The ID of a File to be used as the check voucher image. This must have `purpose:
#
# @param note [String] The descriptor that will be printed on the letter included with the check.
#
# @param payer [Array<Increase::Models::CheckTransferCreateParams::PhysicalCheck::Payer>] The payer of the check. This will be printed on the top-left portion of the chec
Expand Down
3 changes: 3 additions & 0 deletions lib/increase/models/file.rb
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,9 @@ module Purpose
# A document to be printed on an additional page and mailed with a check that you've requested Increase print.
CHECK_ATTACHMENT = :check_attachment

# An image to be used as the check voucher image, which is printed in the middle of the trifold area of a check. This must be a 2550x1100 pixel PNG.
CHECK_VOUCHER_IMAGE = :check_voucher_image

# A scanned mail item sent to Increase.
INBOUND_MAIL_ITEM = :inbound_mail_item

Expand Down
3 changes: 3 additions & 0 deletions lib/increase/models/file_create_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ module Purpose
# A document to be printed on an additional page and mailed with a check that you've requested Increase print.
CHECK_ATTACHMENT = :check_attachment

# An image to be used as the check voucher image, which is printed in the middle of the trifold area of a check. This must be a 2550x1100 pixel PNG.
CHECK_VOUCHER_IMAGE = :check_voucher_image

# IRS Form SS-4.
FORM_SS_4 = :form_ss_4

Expand Down
3 changes: 3 additions & 0 deletions lib/increase/models/file_list_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@ module In
# A document to be printed on an additional page and mailed with a check that you've requested Increase print.
CHECK_ATTACHMENT = :check_attachment

# An image to be used as the check voucher image, which is printed in the middle of the trifold area of a check. This must be a 2550x1100 pixel PNG.
CHECK_VOUCHER_IMAGE = :check_voucher_image

# A scanned mail item sent to Increase.
INBOUND_MAIL_ITEM = :inbound_mail_item

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.148.0"
VERSION = "1.149.0"
end
8 changes: 8 additions & 0 deletions rbi/increase/models/check_transfer.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -786,6 +786,10 @@ module Increase
sig { returns(T.nilable(String)) }
attr_accessor :attachment_file_id

# The ID of the file for the check voucher image.
sig { returns(T.nilable(String)) }
attr_accessor :check_voucher_image_file_id

# Details for where Increase will mail the check.
sig { returns(Increase::CheckTransfer::PhysicalCheck::MailingAddress) }
attr_reader :mailing_address
Expand Down Expand Up @@ -861,6 +865,7 @@ module Increase
sig do
params(
attachment_file_id: T.nilable(String),
check_voucher_image_file_id: T.nilable(String),
mailing_address:
Increase::CheckTransfer::PhysicalCheck::MailingAddress::OrHash,
memo: T.nilable(String),
Expand All @@ -886,6 +891,8 @@ module Increase
def self.new(
# The ID of the file for the check attachment.
attachment_file_id:,
# The ID of the file for the check voucher image.
check_voucher_image_file_id:,
# Details for where Increase will mail the check.
mailing_address:,
# The descriptor that will be printed on the memo field on the check.
Expand Down Expand Up @@ -913,6 +920,7 @@ module Increase
override.returns(
{
attachment_file_id: T.nilable(String),
check_voucher_image_file_id: T.nilable(String),
mailing_address:
Increase::CheckTransfer::PhysicalCheck::MailingAddress,
memo: T.nilable(String),
Expand Down
15 changes: 15 additions & 0 deletions rbi/increase/models/check_transfer_create_params.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,15 @@ module Increase
sig { params(attachment_file_id: String).void }
attr_writer :attachment_file_id

# The ID of a File to be used as the check voucher image. This must have
# `purpose: check_voucher_image`. For details on pricing and restrictions, see
# https://increase.com/documentation/originating-checks#printing-checks .
sig { returns(T.nilable(String)) }
attr_reader :check_voucher_image_file_id

sig { params(check_voucher_image_file_id: String).void }
attr_writer :check_voucher_image_file_id

# The descriptor that will be printed on the letter included with the check.
sig { returns(T.nilable(String)) }
attr_reader :note
Expand Down Expand Up @@ -389,6 +398,7 @@ module Increase
memo: String,
recipient_name: String,
attachment_file_id: String,
check_voucher_image_file_id: String,
note: String,
payer:
T::Array[
Expand All @@ -412,6 +422,10 @@ module Increase
# `purpose: check_attachment`. For details on pricing and restrictions, see
# https://increase.com/documentation/originating-checks#printing-checks .
attachment_file_id: nil,
# The ID of a File to be used as the check voucher image. This must have
# `purpose: check_voucher_image`. For details on pricing and restrictions, see
# https://increase.com/documentation/originating-checks#printing-checks .
check_voucher_image_file_id: nil,
# The descriptor that will be printed on the letter included with the check.
note: nil,
# The payer of the check. This will be printed on the top-left portion of the
Expand Down Expand Up @@ -439,6 +453,7 @@ module Increase
memo: String,
recipient_name: String,
attachment_file_id: String,
check_voucher_image_file_id: String,
note: String,
payer:
T::Array[
Expand Down
4 changes: 4 additions & 0 deletions rbi/increase/models/file.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,10 @@ module Increase
CHECK_ATTACHMENT =
T.let(:check_attachment, Increase::File::Purpose::TaggedSymbol)

# An image to be used as the check voucher image, which is printed in the middle of the trifold area of a check. This must be a 2550x1100 pixel PNG.
CHECK_VOUCHER_IMAGE =
T.let(:check_voucher_image, Increase::File::Purpose::TaggedSymbol)

# A scanned mail item sent to Increase.
INBOUND_MAIL_ITEM =
T.let(:inbound_mail_item, Increase::File::Purpose::TaggedSymbol)
Expand Down
7 changes: 7 additions & 0 deletions rbi/increase/models/file_create_params.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,13 @@ module Increase
Increase::FileCreateParams::Purpose::TaggedSymbol
)

# An image to be used as the check voucher image, which is printed in the middle of the trifold area of a check. This must be a 2550x1100 pixel PNG.
CHECK_VOUCHER_IMAGE =
T.let(
:check_voucher_image,
Increase::FileCreateParams::Purpose::TaggedSymbol
)

# IRS Form SS-4.
FORM_SS_4 =
T.let(:form_ss_4, Increase::FileCreateParams::Purpose::TaggedSymbol)
Expand Down
7 changes: 7 additions & 0 deletions rbi/increase/models/file_list_params.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,13 @@ module Increase
Increase::FileListParams::Purpose::In::TaggedSymbol
)

# An image to be used as the check voucher image, which is printed in the middle of the trifold area of a check. This must be a 2550x1100 pixel PNG.
CHECK_VOUCHER_IMAGE =
T.let(
:check_voucher_image,
Increase::FileListParams::Purpose::In::TaggedSymbol
)

# A scanned mail item sent to Increase.
INBOUND_MAIL_ITEM =
T.let(
Expand Down
5 changes: 5 additions & 0 deletions sig/increase/models/check_transfer.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@ module Increase
type physical_check =
{
attachment_file_id: String?,
check_voucher_image_file_id: String?,
mailing_address: Increase::CheckTransfer::PhysicalCheck::MailingAddress,
memo: String?,
note: String?,
Expand All @@ -318,6 +319,8 @@ module Increase
class PhysicalCheck < Increase::Internal::Type::BaseModel
attr_accessor attachment_file_id: String?

attr_accessor check_voucher_image_file_id: String?

attr_accessor mailing_address: Increase::CheckTransfer::PhysicalCheck::MailingAddress

attr_accessor memo: String?
Expand All @@ -338,6 +341,7 @@ module Increase

def initialize: (
attachment_file_id: String?,
check_voucher_image_file_id: String?,
mailing_address: Increase::CheckTransfer::PhysicalCheck::MailingAddress,
memo: String?,
note: String?,
Expand All @@ -351,6 +355,7 @@ module Increase

def to_hash: -> {
attachment_file_id: String?,
check_voucher_image_file_id: String?,
mailing_address: Increase::CheckTransfer::PhysicalCheck::MailingAddress,
memo: String?,
note: String?,
Expand Down
7 changes: 7 additions & 0 deletions sig/increase/models/check_transfer_create_params.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ module Increase
memo: String,
recipient_name: String,
attachment_file_id: String,
check_voucher_image_file_id: String,
note: String,
payer: ::Array[Increase::CheckTransferCreateParams::PhysicalCheck::Payer],
return_address: Increase::CheckTransferCreateParams::PhysicalCheck::ReturnAddress,
Expand All @@ -137,6 +138,10 @@ module Increase

def attachment_file_id=: (String) -> String

attr_reader check_voucher_image_file_id: String?

def check_voucher_image_file_id=: (String) -> String

attr_reader note: String?

def note=: (String) -> String
Expand Down Expand Up @@ -168,6 +173,7 @@ module Increase
memo: String,
recipient_name: String,
?attachment_file_id: String,
?check_voucher_image_file_id: String,
?note: String,
?payer: ::Array[Increase::CheckTransferCreateParams::PhysicalCheck::Payer],
?return_address: Increase::CheckTransferCreateParams::PhysicalCheck::ReturnAddress,
Expand All @@ -180,6 +186,7 @@ module Increase
memo: String,
recipient_name: String,
attachment_file_id: String,
check_voucher_image_file_id: String,
note: String,
payer: ::Array[Increase::CheckTransferCreateParams::PhysicalCheck::Payer],
return_address: Increase::CheckTransferCreateParams::PhysicalCheck::ReturnAddress,
Expand Down
4 changes: 4 additions & 0 deletions sig/increase/models/file.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ module Increase
| :processed_check_image_back
| :mailed_check_image
| :check_attachment
| :check_voucher_image
| :inbound_mail_item
| :form_1099_int
| :form_1099_misc
Expand Down Expand Up @@ -126,6 +127,9 @@ module Increase
# A document to be printed on an additional page and mailed with a check that you've requested Increase print.
CHECK_ATTACHMENT: :check_attachment

# An image to be used as the check voucher image, which is printed in the middle of the trifold area of a check. This must be a 2550x1100 pixel PNG.
CHECK_VOUCHER_IMAGE: :check_voucher_image

# A scanned mail item sent to Increase.
INBOUND_MAIL_ITEM: :inbound_mail_item

Expand Down
4 changes: 4 additions & 0 deletions sig/increase/models/file_create_params.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ module Increase
| :check_image_back
| :mailed_check_image
| :check_attachment
| :check_voucher_image
| :form_ss_4
| :identity_document
| :loan_application_supplemental_document
Expand Down Expand Up @@ -72,6 +73,9 @@ module Increase
# A document to be printed on an additional page and mailed with a check that you've requested Increase print.
CHECK_ATTACHMENT: :check_attachment

# An image to be used as the check voucher image, which is printed in the middle of the trifold area of a check. This must be a 2550x1100 pixel PNG.
CHECK_VOUCHER_IMAGE: :check_voucher_image

# IRS Form SS-4.
FORM_SS_4: :form_ss_4

Expand Down
4 changes: 4 additions & 0 deletions sig/increase/models/file_list_params.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ module Increase
| :processed_check_image_back
| :mailed_check_image
| :check_attachment
| :check_voucher_image
| :inbound_mail_item
| :form_1099_int
| :form_1099_misc
Expand Down Expand Up @@ -165,6 +166,9 @@ module Increase
# A document to be printed on an additional page and mailed with a check that you've requested Increase print.
CHECK_ATTACHMENT: :check_attachment

# An image to be used as the check voucher image, which is printed in the middle of the trifold area of a check. This must be a 2550x1100 pixel PNG.
CHECK_VOUCHER_IMAGE: :check_voucher_image

# A scanned mail item sent to Increase.
INBOUND_MAIL_ITEM: :inbound_mail_item

Expand Down