From 511b176e578dd8e400e6a85ebe050b2a19d306bd Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 19 Nov 2025 01:43:53 +0000 Subject: [PATCH 1/4] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 973bfab0..bc38a1bc 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-fadbd087449a336a91be2645c64e2fe1e81e0f52d9810ab5f830af7e1c727138.yml -openapi_spec_hash: 7e44d91e713fb44925a3565b882248d7 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-fa7f1c130db072a3fd9444e369ddd66b343a2eea05410569cd703e59cf510ecc.yml +openapi_spec_hash: ae67858752ea4652bc009a4b617c5dcd config_hash: ca1425272e17fa23d4466d33492334fa From c05d43e30d1cbc9139f453be1f347ef874659795 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 20 Nov 2025 19:50:59 +0000 Subject: [PATCH 2/4] chore: explicitly require "base64" gem --- lib/increase.rb | 1 + manifest.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/increase.rb b/lib/increase.rb index 81c0754d..e8d5b5a4 100644 --- a/lib/increase.rb +++ b/lib/increase.rb @@ -3,6 +3,7 @@ # Standard libraries. # rubocop:disable Lint/RedundantRequireStatement require "English" +require "base64" require "cgi" require "date" require "erb" diff --git a/manifest.yaml b/manifest.yaml index 7853f4ab..a1fd74a9 100644 --- a/manifest.yaml +++ b/manifest.yaml @@ -1,5 +1,6 @@ dependencies: - English + - base64 - cgi - date - erb From 23e90fabd425c1c2a443a37a2da93d95e946db28 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 20 Nov 2025 23:18:20 +0000 Subject: [PATCH 3/4] feat(api): api update --- .stats.yml | 4 ++-- .../models/check_transfer_create_params.rb | 15 ++++++++++++++- .../models/check_transfer_create_params.rbi | 19 ++++++++++++++++--- .../models/check_transfer_create_params.rbs | 13 ++++++++++--- 4 files changed, 42 insertions(+), 9 deletions(-) diff --git a/.stats.yml b/.stats.yml index bc38a1bc..d979adc2 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-fa7f1c130db072a3fd9444e369ddd66b343a2eea05410569cd703e59cf510ecc.yml -openapi_spec_hash: ae67858752ea4652bc009a4b617c5dcd +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-3ef3456ba39c18b7b1228fd167c74b4d344057e133ef4abd3e130471b9e19ed3.yml +openapi_spec_hash: a55adf2eae6cbe811937dd7b0691939e config_hash: ca1425272e17fa23d4466d33492334fa diff --git a/lib/increase/models/check_transfer_create_params.rb b/lib/increase/models/check_transfer_create_params.rb index a6414b7a..af6ba0e2 100644 --- a/lib/increase/models/check_transfer_create_params.rb +++ b/lib/increase/models/check_transfer_create_params.rb @@ -255,7 +255,18 @@ class MailingAddress < Increase::Internal::Type::BaseModel # @return [String, nil] optional :line2, String - # @!method initialize(city:, line1:, postal_code:, state:, line2: nil) + # @!attribute name + # The name component of the check's destination address. Defaults to the provided + # `recipient_name` parameter if `name` is not provided. + # + # @return [String, nil] + optional :name, String + + # @!method initialize(city:, line1:, postal_code:, state:, line2: nil, name: nil) + # Some parameter documentations has been truncated, see + # {Increase::Models::CheckTransferCreateParams::PhysicalCheck::MailingAddress} for + # more details. + # # Details for where Increase will mail the check. # # @param city [String] The city component of the check's destination address. @@ -267,6 +278,8 @@ class MailingAddress < Increase::Internal::Type::BaseModel # @param state [String] The US state component of the check's destination address. # # @param line2 [String] The second line of the address component of the check's destination address. + # + # @param name [String] The name component of the check's destination address. Defaults to the provided end class Payer < Increase::Internal::Type::BaseModel diff --git a/rbi/increase/models/check_transfer_create_params.rbi b/rbi/increase/models/check_transfer_create_params.rbi index 650c7870..7e6fe8a5 100644 --- a/rbi/increase/models/check_transfer_create_params.rbi +++ b/rbi/increase/models/check_transfer_create_params.rbi @@ -487,6 +487,14 @@ module Increase sig { params(line2: String).void } attr_writer :line2 + # The name component of the check's destination address. Defaults to the provided + # `recipient_name` parameter if `name` is not provided. + sig { returns(T.nilable(String)) } + attr_reader :name + + sig { params(name: String).void } + attr_writer :name + # Details for where Increase will mail the check. sig do params( @@ -494,7 +502,8 @@ module Increase line1: String, postal_code: String, state: String, - line2: String + line2: String, + name: String ).returns(T.attached_class) end def self.new( @@ -507,7 +516,10 @@ module Increase # The US state component of the check's destination address. state:, # The second line of the address component of the check's destination address. - line2: nil + line2: nil, + # The name component of the check's destination address. Defaults to the provided + # `recipient_name` parameter if `name` is not provided. + name: nil ) end @@ -518,7 +530,8 @@ module Increase line1: String, postal_code: String, state: String, - line2: String + line2: String, + name: String } ) end diff --git a/sig/increase/models/check_transfer_create_params.rbs b/sig/increase/models/check_transfer_create_params.rbs index 11fa5bb5..29a52d40 100644 --- a/sig/increase/models/check_transfer_create_params.rbs +++ b/sig/increase/models/check_transfer_create_params.rbs @@ -193,7 +193,8 @@ module Increase :line1 => String, postal_code: String, state: String, - :line2 => String + :line2 => String, + name: String } class MailingAddress < Increase::Internal::Type::BaseModel @@ -209,12 +210,17 @@ module Increase def line2=: (String) -> String + attr_reader name: String? + + def name=: (String) -> String + def initialize: ( city: String, line1: String, postal_code: String, state: String, - ?line2: String + ?line2: String, + ?name: String ) -> void def to_hash: -> { @@ -222,7 +228,8 @@ module Increase :line1 => String, postal_code: String, state: String, - :line2 => String + :line2 => String, + name: String } end From ac78085906e09ae456bbbe626f35ae9ca0c8332a Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 20 Nov 2025 23:18:42 +0000 Subject: [PATCH 4/4] release: 1.145.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 13 +++++++++++++ Gemfile.lock | 2 +- README.md | 2 +- lib/increase/version.rb | 2 +- 5 files changed, 17 insertions(+), 4 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 5e144b20..d537e869 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.144.0" + ".": "1.145.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 76589447..13d9fdb2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## 1.145.0 (2025-11-20) + +Full Changelog: [v1.144.0...v1.145.0](https://github.com/Increase/increase-ruby/compare/v1.144.0...v1.145.0) + +### Features + +* **api:** api update ([23e90fa](https://github.com/Increase/increase-ruby/commit/23e90fabd425c1c2a443a37a2da93d95e946db28)) + + +### Chores + +* explicitly require "base64" gem ([c05d43e](https://github.com/Increase/increase-ruby/commit/c05d43e30d1cbc9139f453be1f347ef874659795)) + ## 1.144.0 (2025-11-18) Full Changelog: [v1.143.0...v1.144.0](https://github.com/Increase/increase-ruby/compare/v1.143.0...v1.144.0) diff --git a/Gemfile.lock b/Gemfile.lock index b72f3729..6dd3cc16 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - increase (1.144.0) + increase (1.145.0) connection_pool GEM diff --git a/README.md b/README.md index aae8703c..9ca49d10 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.144.0" +gem "increase", "~> 1.145.0" ``` diff --git a/lib/increase/version.rb b/lib/increase/version.rb index 9ec23f9e..edc64405 100644 --- a/lib/increase/version.rb +++ b/lib/increase/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Increase - VERSION = "1.144.0" + VERSION = "1.145.0" end