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
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
Expand All @@ -36,7 +36,7 @@ jobs:
runs-on: ${{ github.repository == 'stainless-sdks/increase-ruby' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-gem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-doctor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
if: github.repository == 'Increase/increase-ruby' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Check release environment
run: |
Expand Down
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.177.0"
".": "1.178.0"
}
6 changes: 3 additions & 3 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 232
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-a559a6a1a1f3781fad8db5bcb96c40b69a78b952d659395840accce782098e0c.yml
openapi_spec_hash: 2ae62041468e5cf6fe653d65b1b7a58a
config_hash: 3ccb2793be25ae0b15e05dc9ef5da09c
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-6726a464abac2e26549c692dba99ba448d4e8c8761df6b395ad50b348aa25a26.yml
openapi_spec_hash: 275356a13559aed985c8c5c67b819d7d
config_hash: 27e44ed36b9c5617b580ead7231a594a
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog

## 1.178.0 (2026-01-21)

Full Changelog: [v1.177.0...v1.178.0](https://github.com/Increase/increase-ruby/compare/v1.177.0...v1.178.0)

### Features

* **api:** api update ([36361bc](https://github.com/Increase/increase-ruby/commit/36361bcbef8213d9aeb54e6f4b90dae74bcb21e0))


### Chores

* **internal:** update `actions/checkout` version ([3a61451](https://github.com/Increase/increase-ruby/commit/3a61451c76a17f7b56580c139e06db98bf4ea402))

## 1.177.0 (2026-01-16)

Full Changelog: [v1.176.0...v1.177.0](https://github.com/Increase/increase-ruby/compare/v1.176.0...v1.177.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.177.0)
increase (1.178.0)
cgi
connection_pool

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.177.0"
gem "increase", "~> 1.178.0"
```

<!-- x-release-please-end -->
Expand Down
43 changes: 3 additions & 40 deletions lib/increase/models/check_transfer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -913,16 +913,6 @@ module Type

# @see Increase::Models::CheckTransfer#submission
class Submission < Increase::Internal::Type::BaseModel
# @!attribute address_correction_action
# Per USPS requirements, Increase will standardize the address to USPS standards
# and check it against the USPS National Change of Address (NCOA) database before
# mailing it. This indicates what modifications, if any, were made to the address
# before printing and mailing the check.
#
# @return [Symbol, Increase::Models::CheckTransfer::Submission::AddressCorrectionAction]
required :address_correction_action,
enum: -> { Increase::CheckTransfer::Submission::AddressCorrectionAction }

# @!attribute submitted_address
# The address we submitted to the printer. This is what is physically printed on
# the check.
Expand All @@ -931,47 +921,20 @@ class Submission < Increase::Internal::Type::BaseModel
required :submitted_address, -> { Increase::CheckTransfer::Submission::SubmittedAddress }

# @!attribute submitted_at
# When this check transfer was submitted to our check printer.
# When this check was submitted to our check printer.
#
# @return [Time]
required :submitted_at, Time

# @!method initialize(address_correction_action:, submitted_address:, submitted_at:)
# @!method initialize(submitted_address:, submitted_at:)
# Some parameter documentations has been truncated, see
# {Increase::Models::CheckTransfer::Submission} for more details.
#
# After the transfer is submitted, this will contain supplemental details.
#
# @param address_correction_action [Symbol, Increase::Models::CheckTransfer::Submission::AddressCorrectionAction] Per USPS requirements, Increase will standardize the address to USPS standards a
#
# @param submitted_address [Increase::Models::CheckTransfer::Submission::SubmittedAddress] The address we submitted to the printer. This is what is physically printed on t
#
# @param submitted_at [Time] When this check transfer was submitted to our check printer.

# Per USPS requirements, Increase will standardize the address to USPS standards
# and check it against the USPS National Change of Address (NCOA) database before
# mailing it. This indicates what modifications, if any, were made to the address
# before printing and mailing the check.
#
# @see Increase::Models::CheckTransfer::Submission#address_correction_action
module AddressCorrectionAction
extend Increase::Internal::Type::Enum

# No address correction took place.
NONE = :none

# The address was standardized.
STANDARDIZATION = :standardization

# The address was first standardized and then changed because the recipient moved.
STANDARDIZATION_WITH_ADDRESS_CHANGE = :standardization_with_address_change

# An error occurred while correcting the address. This typically means the USPS could not find that address. The address was not changed.
ERROR = :error

# @!method self.values
# @return [Array<Symbol>]
end
# @param submitted_at [Time] When this check was submitted to our check printer.

# @see Increase::Models::CheckTransfer::Submission#submitted_address
class SubmittedAddress < Increase::Internal::Type::BaseModel
Expand Down
6 changes: 6 additions & 0 deletions lib/increase/models/event.rb
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,12 @@ module Category
# Occurs whenever a Physical Card Profile is updated.
PHYSICAL_CARD_PROFILE_UPDATED = :"physical_card_profile.updated"

# Occurs whenever a Physical Check is created.
PHYSICAL_CHECK_CREATED = :"physical_check.created"

# Occurs whenever a Physical Check is updated.
PHYSICAL_CHECK_UPDATED = :"physical_check.updated"

# Occurs whenever a Program is created.
PROGRAM_CREATED = :"program.created"

Expand Down
6 changes: 6 additions & 0 deletions lib/increase/models/event_list_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,12 @@ module In
# Occurs whenever a Physical Card Profile is updated.
PHYSICAL_CARD_PROFILE_UPDATED = :"physical_card_profile.updated"

# Occurs whenever a Physical Check is created.
PHYSICAL_CHECK_CREATED = :"physical_check.created"

# Occurs whenever a Physical Check is updated.
PHYSICAL_CHECK_UPDATED = :"physical_check.updated"

# Occurs whenever a Program is created.
PROGRAM_CREATED = :"program.created"

Expand Down
6 changes: 6 additions & 0 deletions lib/increase/models/event_subscription.rb
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,12 @@ module SelectedEventCategory
# Occurs whenever a Physical Card Profile is updated.
PHYSICAL_CARD_PROFILE_UPDATED = :"physical_card_profile.updated"

# Occurs whenever a Physical Check is created.
PHYSICAL_CHECK_CREATED = :"physical_check.created"

# Occurs whenever a Physical Check is updated.
PHYSICAL_CHECK_UPDATED = :"physical_check.updated"

# Occurs whenever a Program is created.
PROGRAM_CREATED = :"program.created"

Expand Down
6 changes: 6 additions & 0 deletions lib/increase/models/event_subscription_create_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,12 @@ module SelectedEventCategory
# Occurs whenever a Physical Card Profile is updated.
PHYSICAL_CARD_PROFILE_UPDATED = :"physical_card_profile.updated"

# Occurs whenever a Physical Check is created.
PHYSICAL_CHECK_CREATED = :"physical_check.created"

# Occurs whenever a Physical Check is updated.
PHYSICAL_CHECK_UPDATED = :"physical_check.updated"

# Occurs whenever a Program is created.
PROGRAM_CREATED = :"program.created"

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.177.0"
VERSION = "1.178.0"
end
79 changes: 2 additions & 77 deletions rbi/increase/models/check_transfer.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -1529,17 +1529,6 @@ module Increase
)
end

# Per USPS requirements, Increase will standardize the address to USPS standards
# and check it against the USPS National Change of Address (NCOA) database before
# mailing it. This indicates what modifications, if any, were made to the address
# before printing and mailing the check.
sig do
returns(
Increase::CheckTransfer::Submission::AddressCorrectionAction::TaggedSymbol
)
end
attr_accessor :address_correction_action

# The address we submitted to the printer. This is what is physically printed on
# the check.
sig { returns(Increase::CheckTransfer::Submission::SubmittedAddress) }
Expand All @@ -1553,39 +1542,30 @@ module Increase
end
attr_writer :submitted_address

# When this check transfer was submitted to our check printer.
# When this check was submitted to our check printer.
sig { returns(Time) }
attr_accessor :submitted_at

# After the transfer is submitted, this will contain supplemental details.
sig do
params(
address_correction_action:
Increase::CheckTransfer::Submission::AddressCorrectionAction::OrSymbol,
submitted_address:
Increase::CheckTransfer::Submission::SubmittedAddress::OrHash,
submitted_at: Time
).returns(T.attached_class)
end
def self.new(
# Per USPS requirements, Increase will standardize the address to USPS standards
# and check it against the USPS National Change of Address (NCOA) database before
# mailing it. This indicates what modifications, if any, were made to the address
# before printing and mailing the check.
address_correction_action:,
# The address we submitted to the printer. This is what is physically printed on
# the check.
submitted_address:,
# When this check transfer was submitted to our check printer.
# When this check was submitted to our check printer.
submitted_at:
)
end

sig do
override.returns(
{
address_correction_action:
Increase::CheckTransfer::Submission::AddressCorrectionAction::TaggedSymbol,
submitted_address:
Increase::CheckTransfer::Submission::SubmittedAddress,
submitted_at: Time
Expand All @@ -1595,61 +1575,6 @@ module Increase
def to_hash
end

# Per USPS requirements, Increase will standardize the address to USPS standards
# and check it against the USPS National Change of Address (NCOA) database before
# mailing it. This indicates what modifications, if any, were made to the address
# before printing and mailing the check.
module AddressCorrectionAction
extend Increase::Internal::Type::Enum

TaggedSymbol =
T.type_alias do
T.all(
Symbol,
Increase::CheckTransfer::Submission::AddressCorrectionAction
)
end
OrSymbol = T.type_alias { T.any(Symbol, String) }

# No address correction took place.
NONE =
T.let(
:none,
Increase::CheckTransfer::Submission::AddressCorrectionAction::TaggedSymbol
)

# The address was standardized.
STANDARDIZATION =
T.let(
:standardization,
Increase::CheckTransfer::Submission::AddressCorrectionAction::TaggedSymbol
)

# The address was first standardized and then changed because the recipient moved.
STANDARDIZATION_WITH_ADDRESS_CHANGE =
T.let(
:standardization_with_address_change,
Increase::CheckTransfer::Submission::AddressCorrectionAction::TaggedSymbol
)

# An error occurred while correcting the address. This typically means the USPS could not find that address. The address was not changed.
ERROR =
T.let(
:error,
Increase::CheckTransfer::Submission::AddressCorrectionAction::TaggedSymbol
)

sig do
override.returns(
T::Array[
Increase::CheckTransfer::Submission::AddressCorrectionAction::TaggedSymbol
]
)
end
def self.values
end
end

class SubmittedAddress < Increase::Internal::Type::BaseModel
OrHash =
T.type_alias do
Expand Down
14 changes: 14 additions & 0 deletions rbi/increase/models/event.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -605,6 +605,20 @@ module Increase
Increase::Event::Category::TaggedSymbol
)

# Occurs whenever a Physical Check is created.
PHYSICAL_CHECK_CREATED =
T.let(
:"physical_check.created",
Increase::Event::Category::TaggedSymbol
)

# Occurs whenever a Physical Check is updated.
PHYSICAL_CHECK_UPDATED =
T.let(
:"physical_check.updated",
Increase::Event::Category::TaggedSymbol
)

# Occurs whenever a Program is created.
PROGRAM_CREATED =
T.let(:"program.created", Increase::Event::Category::TaggedSymbol)
Expand Down
14 changes: 14 additions & 0 deletions rbi/increase/models/event_list_params.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,20 @@ module Increase
Increase::EventListParams::Category::In::TaggedSymbol
)

# Occurs whenever a Physical Check is created.
PHYSICAL_CHECK_CREATED =
T.let(
:"physical_check.created",
Increase::EventListParams::Category::In::TaggedSymbol
)

# Occurs whenever a Physical Check is updated.
PHYSICAL_CHECK_UPDATED =
T.let(
:"physical_check.updated",
Increase::EventListParams::Category::In::TaggedSymbol
)

# Occurs whenever a Program is created.
PROGRAM_CREATED =
T.let(
Expand Down
14 changes: 14 additions & 0 deletions rbi/increase/models/event_subscription.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -688,6 +688,20 @@ module Increase
Increase::EventSubscription::SelectedEventCategory::TaggedSymbol
)

# Occurs whenever a Physical Check is created.
PHYSICAL_CHECK_CREATED =
T.let(
:"physical_check.created",
Increase::EventSubscription::SelectedEventCategory::TaggedSymbol
)

# Occurs whenever a Physical Check is updated.
PHYSICAL_CHECK_UPDATED =
T.let(
:"physical_check.updated",
Increase::EventSubscription::SelectedEventCategory::TaggedSymbol
)

# Occurs whenever a Program is created.
PROGRAM_CREATED =
T.let(
Expand Down
Loading