From 93c421b5b622dd3429757f728a7b4205657173bc Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 17 Feb 2026 23:51:18 +0000 Subject: [PATCH 1/3] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 9bcba9df..4c9e8f9b 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 232 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-1127bb6ee64bebab1bbf8ecbd9ec71c0deb5ca8552fd454fa2ec120fd9eac14a.yml -openapi_spec_hash: 9fedc9dc133202e4d39bf7bffe4839d9 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-b27417de2b11e1ed32ccf399f6b52acd599a75ba910d7709028972960e12ba67.yml +openapi_spec_hash: 82ef00d2d4f3a796ba181d2546c424bb config_hash: 4b562e97b3d8b4cba758a87d4927a76d From 94b287fcab61f856bc45512b38346d33d943771f Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 18 Feb 2026 02:51:39 +0000 Subject: [PATCH 2/3] feat(api): api update --- .stats.yml | 4 +- .../check_deposit_submit_params.rb | 39 +++++++- .../resources/simulations/check_deposits.rb | 8 +- .../check_deposit_submit_params.rbi | 90 ++++++++++++++++++- .../resources/simulations/check_deposits.rbi | 3 + .../check_deposit_submit_params.rbs | 48 +++++++++- .../resources/simulations/check_deposits.rbs | 1 + 7 files changed, 181 insertions(+), 12 deletions(-) diff --git a/.stats.yml b/.stats.yml index 4c9e8f9b..9cbf59fe 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 232 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-b27417de2b11e1ed32ccf399f6b52acd599a75ba910d7709028972960e12ba67.yml -openapi_spec_hash: 82ef00d2d4f3a796ba181d2546c424bb +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-7da80155087dd9d883acaa10229e34ed5a3097f884c77b5f28c4c76a62b82432.yml +openapi_spec_hash: c5050ba45eb587316583060c1efef8a8 config_hash: 4b562e97b3d8b4cba758a87d4927a76d diff --git a/lib/increase/models/simulations/check_deposit_submit_params.rb b/lib/increase/models/simulations/check_deposit_submit_params.rb index 6a7041a6..7615f617 100644 --- a/lib/increase/models/simulations/check_deposit_submit_params.rb +++ b/lib/increase/models/simulations/check_deposit_submit_params.rb @@ -8,8 +8,45 @@ class CheckDepositSubmitParams < Increase::Internal::Type::BaseModel extend Increase::Internal::Type::RequestParameters::Converter include Increase::Internal::Type::RequestParameters - # @!method initialize(request_options: {}) + # @!attribute scan + # If set, the simulation will use these values for the check's scanned MICR data. + # + # @return [Increase::Models::Simulations::CheckDepositSubmitParams::Scan, nil] + optional :scan, -> { Increase::Simulations::CheckDepositSubmitParams::Scan } + + # @!method initialize(scan: nil, request_options: {}) + # @param scan [Increase::Models::Simulations::CheckDepositSubmitParams::Scan] If set, the simulation will use these values for the check's scanned MICR data. + # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}] + + class Scan < Increase::Internal::Type::BaseModel + # @!attribute account_number + # The account number to be returned in the check deposit's scan data. + # + # @return [String] + required :account_number, String + + # @!attribute routing_number + # The routing number to be returned in the check deposit's scan data. + # + # @return [String] + required :routing_number, String + + # @!attribute auxiliary_on_us + # The auxiliary on-us data to be returned in the check deposit's scan data. + # + # @return [String, nil] + optional :auxiliary_on_us, String + + # @!method initialize(account_number:, routing_number:, auxiliary_on_us: nil) + # If set, the simulation will use these values for the check's scanned MICR data. + # + # @param account_number [String] The account number to be returned in the check deposit's scan data. + # + # @param routing_number [String] The routing number to be returned in the check deposit's scan data. + # + # @param auxiliary_on_us [String] The auxiliary on-us data to be returned in the check deposit's scan data. + end end end end diff --git a/lib/increase/resources/simulations/check_deposits.rb b/lib/increase/resources/simulations/check_deposits.rb index d2a838e7..4dcf3995 100644 --- a/lib/increase/resources/simulations/check_deposits.rb +++ b/lib/increase/resources/simulations/check_deposits.rb @@ -50,21 +50,25 @@ def return_(check_deposit_id, params = {}) # Simulates the submission of a [Check Deposit](#check-deposits) to the Federal # Reserve. This Check Deposit must first have a `status` of `pending`. # - # @overload submit(check_deposit_id, request_options: {}) + # @overload submit(check_deposit_id, scan: nil, request_options: {}) # # @param check_deposit_id [String] The identifier of the Check Deposit you wish to submit. # + # @param scan [Increase::Models::Simulations::CheckDepositSubmitParams::Scan] If set, the simulation will use these values for the check's scanned MICR data. + # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # # @return [Increase::Models::CheckDeposit] # # @see Increase::Models::Simulations::CheckDepositSubmitParams def submit(check_deposit_id, params = {}) + parsed, options = Increase::Simulations::CheckDepositSubmitParams.dump_request(params) @client.request( method: :post, path: ["simulations/check_deposits/%1$s/submit", check_deposit_id], + body: parsed, model: Increase::CheckDeposit, - options: params[:request_options] + options: options ) end diff --git a/rbi/increase/models/simulations/check_deposit_submit_params.rbi b/rbi/increase/models/simulations/check_deposit_submit_params.rbi index e8bdc721..d7261c38 100644 --- a/rbi/increase/models/simulations/check_deposit_submit_params.rbi +++ b/rbi/increase/models/simulations/check_deposit_submit_params.rbi @@ -15,17 +15,99 @@ module Increase ) end + # If set, the simulation will use these values for the check's scanned MICR data. sig do - params(request_options: Increase::RequestOptions::OrHash).returns( - T.attached_class + returns( + T.nilable(Increase::Simulations::CheckDepositSubmitParams::Scan) ) end - def self.new(request_options: {}) + attr_reader :scan + + sig do + params( + scan: Increase::Simulations::CheckDepositSubmitParams::Scan::OrHash + ).void + end + attr_writer :scan + + sig do + params( + scan: Increase::Simulations::CheckDepositSubmitParams::Scan::OrHash, + request_options: Increase::RequestOptions::OrHash + ).returns(T.attached_class) + end + def self.new( + # If set, the simulation will use these values for the check's scanned MICR data. + scan: nil, + request_options: {} + ) end - sig { override.returns({ request_options: Increase::RequestOptions }) } + sig do + override.returns( + { + scan: Increase::Simulations::CheckDepositSubmitParams::Scan, + request_options: Increase::RequestOptions + } + ) + end def to_hash end + + class Scan < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Simulations::CheckDepositSubmitParams::Scan, + Increase::Internal::AnyHash + ) + end + + # The account number to be returned in the check deposit's scan data. + sig { returns(String) } + attr_accessor :account_number + + # The routing number to be returned in the check deposit's scan data. + sig { returns(String) } + attr_accessor :routing_number + + # The auxiliary on-us data to be returned in the check deposit's scan data. + sig { returns(T.nilable(String)) } + attr_reader :auxiliary_on_us + + sig { params(auxiliary_on_us: String).void } + attr_writer :auxiliary_on_us + + # If set, the simulation will use these values for the check's scanned MICR data. + sig do + params( + account_number: String, + routing_number: String, + auxiliary_on_us: String + ).returns(T.attached_class) + end + def self.new( + # The account number to be returned in the check deposit's scan data. + account_number:, + # The routing number to be returned in the check deposit's scan data. + routing_number:, + # The auxiliary on-us data to be returned in the check deposit's scan data. + auxiliary_on_us: nil + ) + end + + sig do + override.returns( + { + account_number: String, + routing_number: String, + auxiliary_on_us: String + } + ) + end + def to_hash + end + end end end end diff --git a/rbi/increase/resources/simulations/check_deposits.rbi b/rbi/increase/resources/simulations/check_deposits.rbi index 5fc1ac81..07ebf18b 100644 --- a/rbi/increase/resources/simulations/check_deposits.rbi +++ b/rbi/increase/resources/simulations/check_deposits.rbi @@ -40,12 +40,15 @@ module Increase sig do params( check_deposit_id: String, + scan: Increase::Simulations::CheckDepositSubmitParams::Scan::OrHash, request_options: Increase::RequestOptions::OrHash ).returns(Increase::CheckDeposit) end def submit( # The identifier of the Check Deposit you wish to submit. check_deposit_id, + # If set, the simulation will use these values for the check's scanned MICR data. + scan: nil, request_options: {} ) end diff --git a/sig/increase/models/simulations/check_deposit_submit_params.rbs b/sig/increase/models/simulations/check_deposit_submit_params.rbs index 93ec144a..a0bb646d 100644 --- a/sig/increase/models/simulations/check_deposit_submit_params.rbs +++ b/sig/increase/models/simulations/check_deposit_submit_params.rbs @@ -2,15 +2,57 @@ module Increase module Models module Simulations type check_deposit_submit_params = - { } & Increase::Internal::Type::request_parameters + { scan: Increase::Simulations::CheckDepositSubmitParams::Scan } + & Increase::Internal::Type::request_parameters class CheckDepositSubmitParams < Increase::Internal::Type::BaseModel extend Increase::Internal::Type::RequestParameters::Converter include Increase::Internal::Type::RequestParameters - def initialize: (?request_options: Increase::request_opts) -> void + attr_reader scan: Increase::Simulations::CheckDepositSubmitParams::Scan? - def to_hash: -> { request_options: Increase::RequestOptions } + def scan=: ( + Increase::Simulations::CheckDepositSubmitParams::Scan + ) -> Increase::Simulations::CheckDepositSubmitParams::Scan + + def initialize: ( + ?scan: Increase::Simulations::CheckDepositSubmitParams::Scan, + ?request_options: Increase::request_opts + ) -> void + + def to_hash: -> { + scan: Increase::Simulations::CheckDepositSubmitParams::Scan, + request_options: Increase::RequestOptions + } + + type scan = + { + account_number: String, + routing_number: String, + auxiliary_on_us: String + } + + class Scan < Increase::Internal::Type::BaseModel + attr_accessor account_number: String + + attr_accessor routing_number: String + + attr_reader auxiliary_on_us: String? + + def auxiliary_on_us=: (String) -> String + + def initialize: ( + account_number: String, + routing_number: String, + ?auxiliary_on_us: String + ) -> void + + def to_hash: -> { + account_number: String, + routing_number: String, + auxiliary_on_us: String + } + end end end end diff --git a/sig/increase/resources/simulations/check_deposits.rbs b/sig/increase/resources/simulations/check_deposits.rbs index 0d7f003d..bef66a0e 100644 --- a/sig/increase/resources/simulations/check_deposits.rbs +++ b/sig/increase/resources/simulations/check_deposits.rbs @@ -14,6 +14,7 @@ module Increase def submit: ( String check_deposit_id, + ?scan: Increase::Simulations::CheckDepositSubmitParams::Scan, ?request_options: Increase::request_opts ) -> Increase::CheckDeposit From 3d57c34a39e8b85eff165b30e6fbd8016809f46a Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 18 Feb 2026 02:52:03 +0000 Subject: [PATCH 3/3] release: 1.210.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ Gemfile.lock | 2 +- README.md | 2 +- lib/increase/version.rb | 2 +- 5 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index b16605fb..42c185f8 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.209.0" + ".": "1.210.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 5b662d85..e87e4ff8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.210.0 (2026-02-18) + +Full Changelog: [v1.209.0...v1.210.0](https://github.com/Increase/increase-ruby/compare/v1.209.0...v1.210.0) + +### Features + +* **api:** api update ([94b287f](https://github.com/Increase/increase-ruby/commit/94b287fcab61f856bc45512b38346d33d943771f)) + ## 1.209.0 (2026-02-14) Full Changelog: [v1.208.0...v1.209.0](https://github.com/Increase/increase-ruby/compare/v1.208.0...v1.209.0) diff --git a/Gemfile.lock b/Gemfile.lock index 1878f190..6c218b87 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - increase (1.209.0) + increase (1.210.0) cgi connection_pool diff --git a/README.md b/README.md index e73bc1ce..2b0037f3 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application ```ruby -gem "increase", "~> 1.209.0" +gem "increase", "~> 1.210.0" ``` diff --git a/lib/increase/version.rb b/lib/increase/version.rb index 07e3c780..a71ff849 100644 --- a/lib/increase/version.rb +++ b/lib/increase/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Increase - VERSION = "1.209.0" + VERSION = "1.210.0" end