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.179.0"
".": "1.180.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: 232
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-4df3552a635fafa2af8caa70f7daed96996b4263da92fb96e03cbf3c1b4931b4.yml
openapi_spec_hash: 77a141ca0b0c00f8117cea15374a734d
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-cc66158bcd1307d07051dcfd43d73dad380a7d8eb637620b21ff4a59e6073b68.yml
openapi_spec_hash: add50aa92e44e568b1efa8dba7bdb2d5
config_hash: 27e44ed36b9c5617b580ead7231a594a
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 1.180.0 (2026-01-23)

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

### Features

* **api:** api update ([d5d4377](https://github.com/Increase/increase-ruby/commit/d5d4377c1a31303f23e021568166f7cd03e88766))

## 1.179.0 (2026-01-22)

Full Changelog: [v1.178.0...v1.179.0](https://github.com/Increase/increase-ruby/compare/v1.178.0...v1.179.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.179.0)
increase (1.180.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.179.0"
gem "increase", "~> 1.180.0"
```

<!-- x-release-please-end -->
Expand Down
38 changes: 19 additions & 19 deletions lib/increase/models/check_transfer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -433,38 +433,21 @@ module FulfillmentMethod

# @see Increase::Models::CheckTransfer#mailing
class Mailing < Increase::Internal::Type::BaseModel
# @!attribute image_id
# The ID of the file corresponding to an image of the check that was mailed, if
# available.
#
# @return [String, nil]
required :image_id, String, nil?: true

# @!attribute mailed_at
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
# the check was mailed.
#
# @return [Time]
required :mailed_at, Time

# @!attribute tracking_number
# The tracking number of the shipment, if available for the shipping method.
#
# @return [String, nil]
required :tracking_number, String, nil?: true

# @!method initialize(image_id:, mailed_at:, tracking_number:)
# @!method initialize(mailed_at:)
# Some parameter documentations has been truncated, see
# {Increase::Models::CheckTransfer::Mailing} for more details.
#
# If the check has been mailed by Increase, this will contain details of the
# shipment.
#
# @param image_id [String, nil] The ID of the file corresponding to an image of the check that was mailed, if av
#
# @param mailed_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which th
#
# @param tracking_number [String, nil] The tracking number of the shipment, if available for the shipping method.
end

# @see Increase::Models::CheckTransfer#physical_check
Expand Down Expand Up @@ -913,6 +896,13 @@ module Type

# @see Increase::Models::CheckTransfer#submission
class Submission < Increase::Internal::Type::BaseModel
# @!attribute preview_file_id
# The ID of the file corresponding to an image of the check that was mailed, if
# available.
#
# @return [String, nil]
required :preview_file_id, String, nil?: true

# @!attribute submitted_address
# The address we submitted to the printer. This is what is physically printed on
# the check.
Expand All @@ -926,15 +916,25 @@ class Submission < Increase::Internal::Type::BaseModel
# @return [Time]
required :submitted_at, Time

# @!method initialize(submitted_address:, submitted_at:)
# @!attribute tracking_number
# The tracking number for the check shipment.
#
# @return [String, nil]
required :tracking_number, String, nil?: true

# @!method initialize(preview_file_id:, submitted_address:, submitted_at:, tracking_number:)
# 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 preview_file_id [String, nil] The ID of the file corresponding to an image of the check that was mailed, if av
#
# @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 was submitted to our check printer.
#
# @param tracking_number [String, nil] The tracking number for the check shipment.

# @see Increase::Models::CheckTransfer::Submission#submitted_address
class SubmittedAddress < 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.179.0"
VERSION = "1.180.0"
end
58 changes: 24 additions & 34 deletions rbi/increase/models/check_transfer.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -725,50 +725,22 @@ module Increase
T.any(Increase::CheckTransfer::Mailing, Increase::Internal::AnyHash)
end

# The ID of the file corresponding to an image of the check that was mailed, if
# available.
sig { returns(T.nilable(String)) }
attr_accessor :image_id

# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
# the check was mailed.
sig { returns(Time) }
attr_accessor :mailed_at

# The tracking number of the shipment, if available for the shipping method.
sig { returns(T.nilable(String)) }
attr_accessor :tracking_number

# If the check has been mailed by Increase, this will contain details of the
# shipment.
sig do
params(
image_id: T.nilable(String),
mailed_at: Time,
tracking_number: T.nilable(String)
).returns(T.attached_class)
end
sig { params(mailed_at: Time).returns(T.attached_class) }
def self.new(
# The ID of the file corresponding to an image of the check that was mailed, if
# available.
image_id:,
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
# the check was mailed.
mailed_at:,
# The tracking number of the shipment, if available for the shipping method.
tracking_number:
mailed_at:
)
end

sig do
override.returns(
{
image_id: T.nilable(String),
mailed_at: Time,
tracking_number: T.nilable(String)
}
)
end
sig { override.returns({ mailed_at: Time }) }
def to_hash
end
end
Expand Down Expand Up @@ -1529,6 +1501,11 @@ module Increase
)
end

# The ID of the file corresponding to an image of the check that was mailed, if
# available.
sig { returns(T.nilable(String)) }
attr_accessor :preview_file_id

# The address we submitted to the printer. This is what is physically printed on
# the check.
sig { returns(Increase::CheckTransfer::Submission::SubmittedAddress) }
Expand All @@ -1546,29 +1523,42 @@ module Increase
sig { returns(Time) }
attr_accessor :submitted_at

# The tracking number for the check shipment.
sig { returns(T.nilable(String)) }
attr_accessor :tracking_number

# After the transfer is submitted, this will contain supplemental details.
sig do
params(
preview_file_id: T.nilable(String),
submitted_address:
Increase::CheckTransfer::Submission::SubmittedAddress::OrHash,
submitted_at: Time
submitted_at: Time,
tracking_number: T.nilable(String)
).returns(T.attached_class)
end
def self.new(
# The ID of the file corresponding to an image of the check that was mailed, if
# available.
preview_file_id:,
# The address we submitted to the printer. This is what is physically printed on
# the check.
submitted_address:,
# When this check was submitted to our check printer.
submitted_at:
submitted_at:,
# The tracking number for the check shipment.
tracking_number:
)
end

sig do
override.returns(
{
preview_file_id: T.nilable(String),
submitted_address:
Increase::CheckTransfer::Submission::SubmittedAddress,
submitted_at: Time
submitted_at: Time,
tracking_number: T.nilable(String)
}
)
end
Expand Down
35 changes: 16 additions & 19 deletions sig/increase/models/check_transfer.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -278,27 +278,14 @@ module Increase
def self?.values: -> ::Array[Increase::Models::CheckTransfer::fulfillment_method]
end

type mailing =
{ image_id: String?, mailed_at: Time, tracking_number: String? }
type mailing = { mailed_at: Time }

class Mailing < Increase::Internal::Type::BaseModel
attr_accessor image_id: String?

attr_accessor mailed_at: Time

attr_accessor tracking_number: String?

def initialize: (
image_id: String?,
mailed_at: Time,
tracking_number: String?
) -> void
def initialize: (mailed_at: Time) -> void

def to_hash: -> {
image_id: String?,
mailed_at: Time,
tracking_number: String?
}
def to_hash: -> { mailed_at: Time }
end

type physical_check =
Expand Down Expand Up @@ -661,23 +648,33 @@ module Increase

type submission =
{
preview_file_id: String?,
submitted_address: Increase::CheckTransfer::Submission::SubmittedAddress,
submitted_at: Time
submitted_at: Time,
tracking_number: String?
}

class Submission < Increase::Internal::Type::BaseModel
attr_accessor preview_file_id: String?

attr_accessor submitted_address: Increase::CheckTransfer::Submission::SubmittedAddress

attr_accessor submitted_at: Time

attr_accessor tracking_number: String?

def initialize: (
preview_file_id: String?,
submitted_address: Increase::CheckTransfer::Submission::SubmittedAddress,
submitted_at: Time
submitted_at: Time,
tracking_number: String?
) -> void

def to_hash: -> {
preview_file_id: String?,
submitted_address: Increase::CheckTransfer::Submission::SubmittedAddress,
submitted_at: Time
submitted_at: Time,
tracking_number: String?
}

type submitted_address =
Expand Down