From d27029d6e3d7ba98ea5c378f9734487164820732 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 24 Nov 2025 22:21:58 +0000 Subject: [PATCH 1/2] feat(api): api update --- .stats.yml | 4 ++-- lib/increase/models/check_transfer.rb | 10 +++++++++- .../models/check_transfer_create_params.rb | 12 +++++++++++- lib/increase/models/file.rb | 3 +++ lib/increase/models/file_create_params.rb | 3 +++ lib/increase/models/file_list_params.rb | 3 +++ rbi/increase/models/check_transfer.rbi | 8 ++++++++ .../models/check_transfer_create_params.rbi | 15 +++++++++++++++ rbi/increase/models/file.rbi | 4 ++++ rbi/increase/models/file_create_params.rbi | 7 +++++++ rbi/increase/models/file_list_params.rbi | 7 +++++++ sig/increase/models/check_transfer.rbs | 5 +++++ .../models/check_transfer_create_params.rbs | 7 +++++++ sig/increase/models/file.rbs | 4 ++++ sig/increase/models/file_create_params.rbs | 4 ++++ sig/increase/models/file_list_params.rbs | 4 ++++ 16 files changed, 96 insertions(+), 4 deletions(-) diff --git a/.stats.yml b/.stats.yml index 94f44024..b52e8c7d 100644 --- a/.stats.yml +++ b/.stats.yml @@ -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 diff --git a/lib/increase/models/check_transfer.rb b/lib/increase/models/check_transfer.rb index f5a3457c..ffcf8834 100644 --- a/lib/increase/models/check_transfer.rb +++ b/lib/increase/models/check_transfer.rb @@ -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. # @@ -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. # @@ -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. diff --git a/lib/increase/models/check_transfer_create_params.rb b/lib/increase/models/check_transfer_create_params.rb index f60d4754..a67a28a6 100644 --- a/lib/increase/models/check_transfer_create_params.rb +++ b/lib/increase/models/check_transfer_create_params.rb @@ -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. # @@ -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. # @@ -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] The payer of the check. This will be printed on the top-left portion of the chec diff --git a/lib/increase/models/file.rb b/lib/increase/models/file.rb index 1b5602f1..3da893a6 100644 --- a/lib/increase/models/file.rb +++ b/lib/increase/models/file.rb @@ -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 diff --git a/lib/increase/models/file_create_params.rb b/lib/increase/models/file_create_params.rb index 6a3c46b7..62de2106 100644 --- a/lib/increase/models/file_create_params.rb +++ b/lib/increase/models/file_create_params.rb @@ -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 diff --git a/lib/increase/models/file_list_params.rb b/lib/increase/models/file_list_params.rb index a3a12f10..8aa5111b 100644 --- a/lib/increase/models/file_list_params.rb +++ b/lib/increase/models/file_list_params.rb @@ -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 diff --git a/rbi/increase/models/check_transfer.rbi b/rbi/increase/models/check_transfer.rbi index ac664bb7..4f3f7f06 100644 --- a/rbi/increase/models/check_transfer.rbi +++ b/rbi/increase/models/check_transfer.rbi @@ -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 @@ -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), @@ -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. @@ -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), diff --git a/rbi/increase/models/check_transfer_create_params.rbi b/rbi/increase/models/check_transfer_create_params.rbi index 304a83cc..d4e4d126 100644 --- a/rbi/increase/models/check_transfer_create_params.rbi +++ b/rbi/increase/models/check_transfer_create_params.rbi @@ -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 @@ -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[ @@ -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 @@ -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[ diff --git a/rbi/increase/models/file.rbi b/rbi/increase/models/file.rbi index f3dcb06b..ed87d6f4 100644 --- a/rbi/increase/models/file.rbi +++ b/rbi/increase/models/file.rbi @@ -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) diff --git a/rbi/increase/models/file_create_params.rbi b/rbi/increase/models/file_create_params.rbi index cb86d3c9..6eb61a81 100644 --- a/rbi/increase/models/file_create_params.rbi +++ b/rbi/increase/models/file_create_params.rbi @@ -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) diff --git a/rbi/increase/models/file_list_params.rbi b/rbi/increase/models/file_list_params.rbi index 82f66adf..83897845 100644 --- a/rbi/increase/models/file_list_params.rbi +++ b/rbi/increase/models/file_list_params.rbi @@ -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( diff --git a/sig/increase/models/check_transfer.rbs b/sig/increase/models/check_transfer.rbs index a9bf4a34..243a0ece 100644 --- a/sig/increase/models/check_transfer.rbs +++ b/sig/increase/models/check_transfer.rbs @@ -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?, @@ -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? @@ -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?, @@ -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?, diff --git a/sig/increase/models/check_transfer_create_params.rbs b/sig/increase/models/check_transfer_create_params.rbs index 2336ad78..26a0c4fb 100644 --- a/sig/increase/models/check_transfer_create_params.rbs +++ b/sig/increase/models/check_transfer_create_params.rbs @@ -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, @@ -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 @@ -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, @@ -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, diff --git a/sig/increase/models/file.rbs b/sig/increase/models/file.rbs index 851ca4f5..988a41dd 100644 --- a/sig/increase/models/file.rbs +++ b/sig/increase/models/file.rbs @@ -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 @@ -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 diff --git a/sig/increase/models/file_create_params.rbs b/sig/increase/models/file_create_params.rbs index 85c1c134..a8dcf887 100644 --- a/sig/increase/models/file_create_params.rbs +++ b/sig/increase/models/file_create_params.rbs @@ -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 @@ -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 diff --git a/sig/increase/models/file_list_params.rbs b/sig/increase/models/file_list_params.rbs index cabe3cd7..1fc8fcbe 100644 --- a/sig/increase/models/file_list_params.rbs +++ b/sig/increase/models/file_list_params.rbs @@ -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 @@ -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 From feafd7bb337abb36e7ce94185a774a18467acf75 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 24 Nov 2025 22:22:20 +0000 Subject: [PATCH 2/2] release: 1.149.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 2b131771..8138f974 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.148.0" + ".": "1.149.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index c735ab75..4e1699dd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/Gemfile.lock b/Gemfile.lock index fde214c8..d6c6cb4f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - increase (1.148.0) + increase (1.149.0) connection_pool GEM diff --git a/README.md b/README.md index 72ef11a6..0af52329 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.148.0" +gem "increase", "~> 1.149.0" ``` diff --git a/lib/increase/version.rb b/lib/increase/version.rb index 27f489c8..0654799d 100644 --- a/lib/increase/version.rb +++ b/lib/increase/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Increase - VERSION = "1.148.0" + VERSION = "1.149.0" end