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.132.0"
".": "1.133.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: 228
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-39280e79454a4e6c0e7161b5d92520a3edfc335cce9b198565e57c94daa31b04.yml
openapi_spec_hash: f992030218a4415fcec934bf482cb7ae
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-c2b4fec66de664ded8acd9cbdd69566f17ca1d519136989a15bb67dcf039e793.yml
openapi_spec_hash: 4673ce2f217cc5598a122ad2d9404080
config_hash: eb2035151c7b49c2f12caf55469b8f9a
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 1.133.0 (2025-11-06)

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

### Features

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

## 1.132.0 (2025-11-06)

Full Changelog: [v1.131.0...v1.132.0](https://github.com/Increase/increase-ruby/compare/v1.131.0...v1.132.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.132.0)
increase (1.133.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.132.0"
gem "increase", "~> 1.133.0"
```

<!-- x-release-please-end -->
Expand Down
10 changes: 9 additions & 1 deletion lib/increase/models/inbound_mail_item.rb
Original file line number Diff line number Diff line change
Expand Up @@ -98,19 +98,27 @@ class Check < Increase::Internal::Type::BaseModel
# @return [String, nil]
required :back_file_id, String, nil?: true

# @!attribute check_deposit_id
# The identifier of the Check Deposit if this check was deposited.
#
# @return [String, nil]
required :check_deposit_id, String, nil?: true

# @!attribute front_file_id
# The identifier for the File containing the front of the check.
#
# @return [String, nil]
required :front_file_id, String, nil?: true

# @!method initialize(amount:, back_file_id:, front_file_id:)
# @!method initialize(amount:, back_file_id:, check_deposit_id:, front_file_id:)
# Inbound Mail Item Checks represent the checks in an Inbound Mail Item.
#
# @param amount [Integer] The amount of the check.
#
# @param back_file_id [String, nil] The identifier for the File containing the back of the check.
#
# @param check_deposit_id [String, nil] The identifier of the Check Deposit if this check was deposited.
#
# @param front_file_id [String, nil] The identifier for the File containing the front of the check.
end

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.132.0"
VERSION = "1.133.0"
end
8 changes: 8 additions & 0 deletions rbi/increase/models/inbound_mail_item.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,10 @@ module Increase
sig { returns(T.nilable(String)) }
attr_accessor :back_file_id

# The identifier of the Check Deposit if this check was deposited.
sig { returns(T.nilable(String)) }
attr_accessor :check_deposit_id

# The identifier for the File containing the front of the check.
sig { returns(T.nilable(String)) }
attr_accessor :front_file_id
Expand All @@ -135,6 +139,7 @@ module Increase
params(
amount: Integer,
back_file_id: T.nilable(String),
check_deposit_id: T.nilable(String),
front_file_id: T.nilable(String)
).returns(T.attached_class)
end
Expand All @@ -143,6 +148,8 @@ module Increase
amount:,
# The identifier for the File containing the back of the check.
back_file_id:,
# The identifier of the Check Deposit if this check was deposited.
check_deposit_id:,
# The identifier for the File containing the front of the check.
front_file_id:
)
Expand All @@ -153,6 +160,7 @@ module Increase
{
amount: Integer,
back_file_id: T.nilable(String),
check_deposit_id: T.nilable(String),
front_file_id: T.nilable(String)
}
)
Expand Down
11 changes: 10 additions & 1 deletion sig/increase/models/inbound_mail_item.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -57,24 +57,33 @@ module Increase
}

type check =
{ amount: Integer, back_file_id: String?, front_file_id: String? }
{
amount: Integer,
back_file_id: String?,
check_deposit_id: String?,
front_file_id: String?
}

class Check < Increase::Internal::Type::BaseModel
attr_accessor amount: Integer

attr_accessor back_file_id: String?

attr_accessor check_deposit_id: String?

attr_accessor front_file_id: String?

def initialize: (
amount: Integer,
back_file_id: String?,
check_deposit_id: String?,
front_file_id: String?
) -> void

def to_hash: -> {
amount: Integer,
back_file_id: String?,
check_deposit_id: String?,
front_file_id: String?
}
end
Expand Down