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.144.0"
".": "1.145.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-fadbd087449a336a91be2645c64e2fe1e81e0f52d9810ab5f830af7e1c727138.yml
openapi_spec_hash: 7e44d91e713fb44925a3565b882248d7
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-3ef3456ba39c18b7b1228fd167c74b4d344057e133ef4abd3e130471b9e19ed3.yml
openapi_spec_hash: a55adf2eae6cbe811937dd7b0691939e
config_hash: ca1425272e17fa23d4466d33492334fa
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
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.144.0)
increase (1.145.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.144.0"
gem "increase", "~> 1.145.0"
```

<!-- x-release-please-end -->
Expand Down
1 change: 1 addition & 0 deletions lib/increase.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# Standard libraries.
# rubocop:disable Lint/RedundantRequireStatement
require "English"
require "base64"
require "cgi"
require "date"
require "erb"
Expand Down
15 changes: 14 additions & 1 deletion lib/increase/models/check_transfer_create_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
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.144.0"
VERSION = "1.145.0"
end
1 change: 1 addition & 0 deletions manifest.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
dependencies:
- English
- base64
- cgi
- date
- erb
Expand Down
19 changes: 16 additions & 3 deletions rbi/increase/models/check_transfer_create_params.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -487,14 +487,23 @@ 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(
city: String,
line1: String,
postal_code: String,
state: String,
line2: String
line2: String,
name: String
).returns(T.attached_class)
end
def self.new(
Expand All @@ -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

Expand All @@ -518,7 +530,8 @@ module Increase
line1: String,
postal_code: String,
state: String,
line2: String
line2: String,
name: String
}
)
end
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 @@ -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
Expand All @@ -209,20 +210,26 @@ 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: -> {
city: String,
:line1 => String,
postal_code: String,
state: String,
:line2 => String
:line2 => String,
name: String
}
end

Expand Down