diff --git a/.release-please-manifest.json b/.release-please-manifest.json index f958bb84..af9e3839 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.160.0" + ".": "1.161.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index beed026f..989a349b 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 230 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-6b5ac6804e3261a05214c5891c95222ef1b5e9003f211ab32db1d03a7531835a.yml -openapi_spec_hash: 611c8d38ba7122a428f57f3069aac84a +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-e2b7de6202d48efc0e77fd72d2788987e6e3ecf2dfff8a491b88fe9a838f0bd5.yml +openapi_spec_hash: 5af8bcd38aae780c364688cb048d258b config_hash: ff2eb5f192b4de36611b37b27961c2d8 diff --git a/CHANGELOG.md b/CHANGELOG.md index 6665dabe..61f7ec93 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.161.0 (2025-12-15) + +Full Changelog: [v1.160.0...v1.161.0](https://github.com/Increase/increase-ruby/compare/v1.160.0...v1.161.0) + +### Features + +* **api:** api update ([888afde](https://github.com/Increase/increase-ruby/commit/888afdeaee1e7c956b33c3de1861a8d735293a66)) + ## 1.160.0 (2025-12-15) Full Changelog: [v1.159.0...v1.160.0](https://github.com/Increase/increase-ruby/compare/v1.159.0...v1.160.0) diff --git a/Gemfile.lock b/Gemfile.lock index 180ff22f..84395e84 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - increase (1.160.0) + increase (1.161.0) connection_pool GEM diff --git a/README.md b/README.md index ccda5cb0..1d450522 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.160.0" +gem "increase", "~> 1.161.0" ``` diff --git a/lib/increase/models/check_transfer.rb b/lib/increase/models/check_transfer.rb index ffcf8834..066d6fbb 100644 --- a/lib/increase/models/check_transfer.rb +++ b/lib/increase/models/check_transfer.rb @@ -675,6 +675,13 @@ class ReturnAddress < Increase::Internal::Type::BaseModel # @return [String, nil] required :name, String, nil?: true + # @!attribute phone + # The shipper's phone number to be used in case of delivery issues. 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. # @@ -687,7 +694,11 @@ class ReturnAddress < 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::ReturnAddress} for more + # details. + # # The return address to be printed on the check. # # @param city [String, nil] The city of the check's destination. @@ -698,6 +709,8 @@ class ReturnAddress < Increase::Internal::Type::BaseModel # # @param name [String, nil] The name component of the check's return address. # + # @param phone [String, nil] The shipper's phone number to be used in case of delivery issues. Only used for + # # @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 e6c8a858..78e9f397 100644 --- a/lib/increase/models/check_transfer_create_params.rb +++ b/lib/increase/models/check_transfer_create_params.rb @@ -273,9 +273,9 @@ class MailingAddress < Increase::Internal::Type::BaseModel optional :name, String # @!attribute phone - # The phone number to associate with the check's destination address. The number - # is only used when `shipping_method` is `fedex_overnight` and will be supplied to - # FedEx to be used in case of delivery issues. + # The phone number to associate with the check's destination address. The phone + # number is only used when `shipping_method` is `fedex_overnight` and will be + # supplied to FedEx to be used in case of delivery issues. # # @return [String, nil] optional :phone, String @@ -299,7 +299,7 @@ class MailingAddress < Increase::Internal::Type::BaseModel # # @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. The number i + # @param phone [String] The phone number to associate with the check's destination address. The phone nu end class Payer < Increase::Internal::Type::BaseModel @@ -351,7 +351,19 @@ class ReturnAddress < Increase::Internal::Type::BaseModel # @return [String, nil] optional :line2, String - # @!method initialize(city:, line1:, name:, postal_code:, state:, line2: nil) + # @!attribute phone + # The phone number to associate with the shipper. The phone number is only used + # when `shipping_method` is `fedex_overnight` and will be supplied to FedEx to be + # used in case of delivery issues. + # + # @return [String, nil] + optional :phone, String + + # @!method initialize(city:, line1:, name:, postal_code:, state:, line2: nil, phone: nil) + # Some parameter documentations has been truncated, see + # {Increase::Models::CheckTransferCreateParams::PhysicalCheck::ReturnAddress} for + # more details. + # # The return address to be printed on the check. If omitted this will default to # an Increase-owned address that will mark checks as delivery failed and shred # them. @@ -367,6 +379,8 @@ class ReturnAddress < Increase::Internal::Type::BaseModel # @param state [String] The US state of the return address. # # @param line2 [String] The second line of the return address. + # + # @param phone [String] The phone number to associate with the shipper. The phone number is only used wh end # How to ship the check. For details on pricing, timing, and restrictions, see diff --git a/lib/increase/version.rb b/lib/increase/version.rb index a3f3888c..a220edc3 100644 --- a/lib/increase/version.rb +++ b/lib/increase/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Increase - VERSION = "1.160.0" + VERSION = "1.161.0" end diff --git a/rbi/increase/models/check_transfer.rbi b/rbi/increase/models/check_transfer.rbi index 4f3f7f06..799f7663 100644 --- a/rbi/increase/models/check_transfer.rbi +++ b/rbi/increase/models/check_transfer.rbi @@ -1080,6 +1080,11 @@ module Increase sig { returns(T.nilable(String)) } attr_accessor :name + # The shipper's phone number to be used in case of delivery issues. 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 @@ -1095,6 +1100,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) @@ -1108,6 +1114,9 @@ module Increase line2:, # The name component of the check's return address. name:, + # The shipper's phone number to be used in case of delivery issues. Only used for + # FedEx overnight shipping. + phone:, # The postal code of the check's destination. postal_code:, # The state of the check's destination. @@ -1122,6 +1131,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 ebe967c6..a042ebd9 100644 --- a/rbi/increase/models/check_transfer_create_params.rbi +++ b/rbi/increase/models/check_transfer_create_params.rbi @@ -510,9 +510,9 @@ module Increase sig { params(name: String).void } attr_writer :name - # The phone number to associate with the check's destination address. The number - # is only used when `shipping_method` is `fedex_overnight` and will be supplied to - # FedEx to be used in case of delivery issues. + # The phone number to associate with the check's destination address. The phone + # number is only used when `shipping_method` is `fedex_overnight` and will be + # supplied to FedEx to be used in case of delivery issues. sig { returns(T.nilable(String)) } attr_reader :phone @@ -545,9 +545,9 @@ module Increase # The name component of the check's destination address. Defaults to the provided # `recipient_name` parameter if `name` is not provided. name: nil, - # The phone number to associate with the check's destination address. The number - # is only used when `shipping_method` is `fedex_overnight` and will be supplied to - # FedEx to be used in case of delivery issues. + # The phone number to associate with the check's destination address. The phone + # number is only used when `shipping_method` is `fedex_overnight` and will be + # supplied to FedEx to be used in case of delivery issues. phone: nil ) end @@ -630,6 +630,15 @@ module Increase sig { params(line2: String).void } attr_writer :line2 + # The phone number to associate with the shipper. The phone number is only used + # when `shipping_method` is `fedex_overnight` and will be supplied to FedEx to be + # used in case of delivery issues. + sig { returns(T.nilable(String)) } + attr_reader :phone + + sig { params(phone: String).void } + attr_writer :phone + # The return address to be printed on the check. If omitted this will default to # an Increase-owned address that will mark checks as delivery failed and shred # them. @@ -640,7 +649,8 @@ module Increase name: String, postal_code: String, state: String, - line2: String + line2: String, + phone: String ).returns(T.attached_class) end def self.new( @@ -655,7 +665,11 @@ module Increase # The US state of the return address. state:, # The second line of the return address. - line2: nil + line2: nil, + # The phone number to associate with the shipper. The phone number is only used + # when `shipping_method` is `fedex_overnight` and will be supplied to FedEx to be + # used in case of delivery issues. + phone: nil ) end @@ -667,7 +681,8 @@ module Increase name: String, postal_code: String, state: String, - line2: String + line2: String, + phone: String } ) end diff --git a/sig/increase/models/check_transfer.rbs b/sig/increase/models/check_transfer.rbs index 243a0ece..e4b8cc0c 100644 --- a/sig/increase/models/check_transfer.rbs +++ b/sig/increase/models/check_transfer.rbs @@ -430,6 +430,7 @@ module Increase :line1 => String?, :line2 => String?, name: String?, + phone: String?, postal_code: String?, state: String? } @@ -443,6 +444,8 @@ module Increase attr_accessor name: String? + attr_accessor phone: String? + attr_accessor postal_code: String? attr_accessor state: String? @@ -452,6 +455,7 @@ module Increase line1: String?, line2: String?, name: String?, + phone: String?, postal_code: String?, state: String? ) -> void @@ -461,6 +465,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 26a0c4fb..90eb4c1a 100644 --- a/sig/increase/models/check_transfer_create_params.rbs +++ b/sig/increase/models/check_transfer_create_params.rbs @@ -264,7 +264,8 @@ module Increase name: String, postal_code: String, state: String, - :line2 => String + :line2 => String, + phone: String } class ReturnAddress < Increase::Internal::Type::BaseModel @@ -282,13 +283,18 @@ module Increase def line2=: (String) -> String + attr_reader phone: String? + + def phone=: (String) -> String + def initialize: ( city: String, line1: String, name: String, postal_code: String, state: String, - ?line2: String + ?line2: String, + ?phone: String ) -> void def to_hash: -> { @@ -297,7 +303,8 @@ module Increase name: String, postal_code: String, state: String, - :line2 => String + :line2 => String, + phone: String } end