From 36d98ac3cab20bfeac3e8d36297779bb75d1c155 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 21 Nov 2025 06:12:57 +0000 Subject: [PATCH 1/2] feat(api): api update --- .stats.yml | 4 ++-- lib/increase/models/check_transfer.rb | 15 ++++++++++++- .../models/check_transfer_create_params.rb | 12 ++++++++++- rbi/increase/models/check_transfer.rbi | 10 +++++++++ .../models/check_transfer_create_params.rbi | 21 ++++++++++++++++--- sig/increase/models/check_transfer.rbs | 5 +++++ .../models/check_transfer_create_params.rbs | 13 +++++++++--- 7 files changed, 70 insertions(+), 10 deletions(-) diff --git a/.stats.yml b/.stats.yml index d979adc2..75b8da62 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-3ef3456ba39c18b7b1228fd167c74b4d344057e133ef4abd3e130471b9e19ed3.yml -openapi_spec_hash: a55adf2eae6cbe811937dd7b0691939e +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-cea252dc0453b92916edc9d8fc79e120d049068b86fb4a554e91709483a5f97f.yml +openapi_spec_hash: 7d34811e865a82a1ce2117d75a04d3ac config_hash: ca1425272e17fa23d4466d33492334fa diff --git a/lib/increase/models/check_transfer.rb b/lib/increase/models/check_transfer.rb index f3d78cbd..f5a3457c 100644 --- a/lib/increase/models/check_transfer.rb +++ b/lib/increase/models/check_transfer.rb @@ -589,6 +589,13 @@ class MailingAddress < Increase::Internal::Type::BaseModel # @return [String, nil] required :name, String, nil?: true + # @!attribute phone + # The phone number to be used in case of delivery issues at the check's mailing + # address. Only used for FedEx overnight shipping. + # + # @return [String, nil] + required :phone, String, nil?: true + # @!attribute postal_code # The postal code of the check's destination. # @@ -601,7 +608,11 @@ class MailingAddress < Increase::Internal::Type::BaseModel # @return [String, nil] required :state, String, nil?: true - # @!method initialize(city:, line1:, line2:, name:, postal_code:, state:) + # @!method initialize(city:, line1:, line2:, name:, phone:, postal_code:, state:) + # Some parameter documentations has been truncated, see + # {Increase::Models::CheckTransfer::PhysicalCheck::MailingAddress} for more + # details. + # # Details for where Increase will mail the check. # # @param city [String, nil] The city of the check's destination. @@ -612,6 +623,8 @@ class MailingAddress < Increase::Internal::Type::BaseModel # # @param name [String, nil] The name component of the check's mailing address. # + # @param phone [String, nil] The phone number to be used in case of delivery issues at the check's mailing ad + # # @param postal_code [String, nil] The postal code of the check's destination. # # @param state [String, nil] The state of the check's destination. diff --git a/lib/increase/models/check_transfer_create_params.rb b/lib/increase/models/check_transfer_create_params.rb index af6ba0e2..8ccb39b6 100644 --- a/lib/increase/models/check_transfer_create_params.rb +++ b/lib/increase/models/check_transfer_create_params.rb @@ -262,7 +262,15 @@ class MailingAddress < Increase::Internal::Type::BaseModel # @return [String, nil] optional :name, String - # @!method initialize(city:, line1:, postal_code:, state:, line2: nil, name: nil) + # @!attribute phone + # The phone number to associate with the check's destination address. Will be + # supplied to FedEx as the contact phone number for the recipient to be used in + # case of delivery issues. + # + # @return [String, nil] + optional :phone, String + + # @!method initialize(city:, line1:, postal_code:, state:, line2: nil, name: nil, phone: nil) # Some parameter documentations has been truncated, see # {Increase::Models::CheckTransferCreateParams::PhysicalCheck::MailingAddress} for # more details. @@ -280,6 +288,8 @@ class MailingAddress < Increase::Internal::Type::BaseModel # @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 + # + # @param phone [String] The phone number to associate with the check's destination address. Will be supp end class Payer < Increase::Internal::Type::BaseModel diff --git a/rbi/increase/models/check_transfer.rbi b/rbi/increase/models/check_transfer.rbi index 1ccf49d0..ac664bb7 100644 --- a/rbi/increase/models/check_transfer.rbi +++ b/rbi/increase/models/check_transfer.rbi @@ -961,6 +961,11 @@ module Increase sig { returns(T.nilable(String)) } attr_accessor :name + # The phone number to be used in case of delivery issues at the check's mailing + # address. Only used for FedEx overnight shipping. + sig { returns(T.nilable(String)) } + attr_accessor :phone + # The postal code of the check's destination. sig { returns(T.nilable(String)) } attr_accessor :postal_code @@ -976,6 +981,7 @@ module Increase line1: T.nilable(String), line2: T.nilable(String), name: T.nilable(String), + phone: T.nilable(String), postal_code: T.nilable(String), state: T.nilable(String) ).returns(T.attached_class) @@ -989,6 +995,9 @@ module Increase line2:, # The name component of the check's mailing address. name:, + # The phone number to be used in case of delivery issues at the check's mailing + # address. Only used for FedEx overnight shipping. + phone:, # The postal code of the check's destination. postal_code:, # The state of the check's destination. @@ -1003,6 +1012,7 @@ module Increase line1: T.nilable(String), line2: T.nilable(String), name: T.nilable(String), + phone: T.nilable(String), postal_code: T.nilable(String), state: T.nilable(String) } diff --git a/rbi/increase/models/check_transfer_create_params.rbi b/rbi/increase/models/check_transfer_create_params.rbi index 7e6fe8a5..0ceeeded 100644 --- a/rbi/increase/models/check_transfer_create_params.rbi +++ b/rbi/increase/models/check_transfer_create_params.rbi @@ -495,6 +495,15 @@ module Increase sig { params(name: String).void } attr_writer :name + # The phone number to associate with the check's destination address. Will be + # supplied to FedEx as the contact phone number for the recipient to be used in + # case of delivery issues. + sig { returns(T.nilable(String)) } + attr_reader :phone + + sig { params(phone: String).void } + attr_writer :phone + # Details for where Increase will mail the check. sig do params( @@ -503,7 +512,8 @@ module Increase postal_code: String, state: String, line2: String, - name: String + name: String, + phone: String ).returns(T.attached_class) end def self.new( @@ -519,7 +529,11 @@ module Increase 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 + name: nil, + # The phone number to associate with the check's destination address. Will be + # supplied to FedEx as the contact phone number for the recipient to be used in + # case of delivery issues. + phone: nil ) end @@ -531,7 +545,8 @@ module Increase postal_code: String, state: String, line2: String, - name: String + name: String, + phone: String } ) end diff --git a/sig/increase/models/check_transfer.rbs b/sig/increase/models/check_transfer.rbs index 3653aa3e..a9bf4a34 100644 --- a/sig/increase/models/check_transfer.rbs +++ b/sig/increase/models/check_transfer.rbs @@ -368,6 +368,7 @@ module Increase :line1 => String?, :line2 => String?, name: String?, + phone: String?, postal_code: String?, state: String? } @@ -381,6 +382,8 @@ module Increase attr_accessor name: String? + attr_accessor phone: String? + attr_accessor postal_code: String? attr_accessor state: String? @@ -390,6 +393,7 @@ module Increase line1: String?, line2: String?, name: String?, + phone: String?, postal_code: String?, state: String? ) -> void @@ -399,6 +403,7 @@ module Increase :line1 => String?, :line2 => String?, name: String?, + phone: String?, postal_code: String?, state: String? } diff --git a/sig/increase/models/check_transfer_create_params.rbs b/sig/increase/models/check_transfer_create_params.rbs index 29a52d40..2336ad78 100644 --- a/sig/increase/models/check_transfer_create_params.rbs +++ b/sig/increase/models/check_transfer_create_params.rbs @@ -194,7 +194,8 @@ module Increase postal_code: String, state: String, :line2 => String, - name: String + name: String, + phone: String } class MailingAddress < Increase::Internal::Type::BaseModel @@ -214,13 +215,18 @@ module Increase def name=: (String) -> String + attr_reader phone: String? + + def phone=: (String) -> String + def initialize: ( city: String, line1: String, postal_code: String, state: String, ?line2: String, - ?name: String + ?name: String, + ?phone: String ) -> void def to_hash: -> { @@ -229,7 +235,8 @@ module Increase postal_code: String, state: String, :line2 => String, - name: String + name: String, + phone: String } end From f1c2fb863f2eb7fe63eb3b97731a6c543c103563 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 21 Nov 2025 06:13:19 +0000 Subject: [PATCH 2/2] release: 1.146.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 d537e869..d09f548f 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.145.0" + ".": "1.146.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 13d9fdb2..353b50f8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.146.0 (2025-11-21) + +Full Changelog: [v1.145.0...v1.146.0](https://github.com/Increase/increase-ruby/compare/v1.145.0...v1.146.0) + +### Features + +* **api:** api update ([36d98ac](https://github.com/Increase/increase-ruby/commit/36d98ac3cab20bfeac3e8d36297779bb75d1c155)) + ## 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) diff --git a/Gemfile.lock b/Gemfile.lock index 6dd3cc16..50a4170f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - increase (1.145.0) + increase (1.146.0) connection_pool GEM diff --git a/README.md b/README.md index 9ca49d10..878ac68b 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.145.0" +gem "increase", "~> 1.146.0" ``` diff --git a/lib/increase/version.rb b/lib/increase/version.rb index edc64405..647e3157 100644 --- a/lib/increase/version.rb +++ b/lib/increase/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Increase - VERSION = "1.145.0" + VERSION = "1.146.0" end