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.160.0"
".": "1.161.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: 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
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
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.160.0)
increase (1.161.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.160.0"
gem "increase", "~> 1.161.0"
```

<!-- x-release-please-end -->
Expand Down
15 changes: 14 additions & 1 deletion lib/increase/models/check_transfer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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.
#
Expand All @@ -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.
Expand All @@ -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.
Expand Down
24 changes: 19 additions & 5 deletions lib/increase/models/check_transfer_create_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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.
Expand All @@ -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
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.160.0"
VERSION = "1.161.0"
end
10 changes: 10 additions & 0 deletions rbi/increase/models/check_transfer.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
Expand All @@ -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.
Expand All @@ -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)
}
Expand Down
33 changes: 24 additions & 9 deletions rbi/increase/models/check_transfer_create_params.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand All @@ -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(
Expand All @@ -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

Expand All @@ -667,7 +681,8 @@ module Increase
name: String,
postal_code: String,
state: String,
line2: String
line2: String,
phone: String
}
)
end
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 @@ -430,6 +430,7 @@ module Increase
:line1 => String?,
:line2 => String?,
name: String?,
phone: String?,
postal_code: String?,
state: String?
}
Expand All @@ -443,6 +444,8 @@ module Increase

attr_accessor name: String?

attr_accessor phone: String?

attr_accessor postal_code: String?

attr_accessor state: String?
Expand All @@ -452,6 +455,7 @@ module Increase
line1: String?,
line2: String?,
name: String?,
phone: String?,
postal_code: String?,
state: String?
) -> void
Expand All @@ -461,6 +465,7 @@ module Increase
:line1 => String?,
:line2 => String?,
name: String?,
phone: String?,
postal_code: String?,
state: String?
}
Expand Down
13 changes: 10 additions & 3 deletions sig/increase/models/check_transfer_create_params.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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: -> {
Expand All @@ -297,7 +303,8 @@ module Increase
name: String,
postal_code: String,
state: String,
:line2 => String
:line2 => String,
phone: String
}
end

Expand Down