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.145.0"
".": "1.146.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: 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
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
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.145.0)
increase (1.146.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.145.0"
gem "increase", "~> 1.146.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 @@ -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.
#
Expand All @@ -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.
Expand All @@ -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.
Expand Down
12 changes: 11 additions & 1 deletion lib/increase/models/check_transfer_create_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
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.145.0"
VERSION = "1.146.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 @@ -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
Expand All @@ -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)
Expand All @@ -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.
Expand All @@ -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)
}
Expand Down
21 changes: 18 additions & 3 deletions rbi/increase/models/check_transfer_create_params.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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(
Expand All @@ -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

Expand All @@ -531,7 +545,8 @@ module Increase
postal_code: String,
state: String,
line2: String,
name: String
name: 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 @@ -368,6 +368,7 @@ module Increase
:line1 => String?,
:line2 => String?,
name: String?,
phone: String?,
postal_code: String?,
state: String?
}
Expand All @@ -381,6 +382,8 @@ module Increase

attr_accessor name: String?

attr_accessor phone: String?

attr_accessor postal_code: String?

attr_accessor state: String?
Expand All @@ -390,6 +393,7 @@ module Increase
line1: String?,
line2: String?,
name: String?,
phone: String?,
postal_code: String?,
state: String?
) -> void
Expand All @@ -399,6 +403,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 @@ -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
Expand All @@ -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: -> {
Expand All @@ -229,7 +235,8 @@ module Increase
postal_code: String,
state: String,
:line2 => String,
name: String
name: String,
phone: String
}
end

Expand Down