From a483d4d9c06403335ecb3d81f59f4046f25a682a Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 13 Mar 2026 00:54:35 +0000 Subject: [PATCH 1/2] feat(api): api update --- .stats.yml | 4 ++-- lib/increase/models/intrafi_balance.rb | 20 ++----------------- rbi/increase/models/intrafi_balance.rbi | 16 --------------- sig/increase/models/intrafi_balance.rbs | 10 ---------- .../resources/intrafi_balances_test.rb | 1 - 5 files changed, 4 insertions(+), 47 deletions(-) diff --git a/.stats.yml b/.stats.yml index 61f8a56f6..3edafa840 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 236 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-2d7155feee87cb1c64ae2b6f31d769c46725b615f1622558f998f2a637cfb57c.yml -openapi_spec_hash: c3117360164f38ece4a984800813813c +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-4a9671050881b7d7579bd118589b25ed43dccb69677f5ab8576df6f70de9a0dc.yml +openapi_spec_hash: b72da714aeef1e6652e6cc595ef65f94 config_hash: 25d7d7aa4882db6189b4b53e8e249e80 diff --git a/lib/increase/models/intrafi_balance.rb b/lib/increase/models/intrafi_balance.rb index c8f6ff106..24d2f9125 100644 --- a/lib/increase/models/intrafi_balance.rb +++ b/lib/increase/models/intrafi_balance.rb @@ -4,12 +4,6 @@ module Increase module Models # @see Increase::Resources::IntrafiBalances#intrafi_balance class IntrafiBalance < Increase::Internal::Type::BaseModel - # @!attribute id - # The identifier of this balance. - # - # @return [String] - required :id, String - # @!attribute balances # Each entry represents a balance held at a different bank. IntraFi separates the # total balance across many participating banks in the network. @@ -44,7 +38,7 @@ class IntrafiBalance < Increase::Internal::Type::BaseModel # @return [Symbol, Increase::Models::IntrafiBalance::Type] required :type, enum: -> { Increase::IntrafiBalance::Type } - # @!method initialize(id:, balances:, currency:, effective_date:, total_balance:, type:) + # @!method initialize(balances:, currency:, effective_date:, total_balance:, type:) # Some parameter documentations has been truncated, see # {Increase::Models::IntrafiBalance} for more details. # @@ -52,8 +46,6 @@ class IntrafiBalance < Increase::Internal::Type::BaseModel # amount is swept to various other institutions. Funds are rebalanced across banks # as needed once per business day. # - # @param id [String] The identifier of this balance. - # # @param balances [Array] Each entry represents a balance held at a different bank. IntraFi separates the # # @param currency [Symbol, Increase::Models::IntrafiBalance::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the account curr @@ -65,12 +57,6 @@ class IntrafiBalance < Increase::Internal::Type::BaseModel # @param type [Symbol, Increase::Models::IntrafiBalance::Type] A constant representing the object's type. For this resource it will always be ` class Balance < Increase::Internal::Type::BaseModel - # @!attribute id - # The identifier of this balance. - # - # @return [String] - required :id, String - # @!attribute balance # The balance, in minor units of `currency`, held with this bank. # @@ -97,12 +83,10 @@ class Balance < Increase::Internal::Type::BaseModel # @return [String] required :fdic_certificate_number, String - # @!method initialize(id:, balance:, bank:, bank_location:, fdic_certificate_number:) + # @!method initialize(balance:, bank:, bank_location:, fdic_certificate_number:) # Some parameter documentations has been truncated, see # {Increase::Models::IntrafiBalance::Balance} for more details. # - # @param id [String] The identifier of this balance. - # # @param balance [Integer] The balance, in minor units of `currency`, held with this bank. # # @param bank [String] The name of the bank holding these funds. diff --git a/rbi/increase/models/intrafi_balance.rbi b/rbi/increase/models/intrafi_balance.rbi index 91630c0ac..945ad0700 100644 --- a/rbi/increase/models/intrafi_balance.rbi +++ b/rbi/increase/models/intrafi_balance.rbi @@ -8,10 +8,6 @@ module Increase T.any(Increase::IntrafiBalance, Increase::Internal::AnyHash) end - # The identifier of this balance. - sig { returns(String) } - attr_accessor :id - # Each entry represents a balance held at a different bank. IntraFi separates the # total balance across many participating banks in the network. sig { returns(T::Array[Increase::IntrafiBalance::Balance]) } @@ -41,7 +37,6 @@ module Increase # as needed once per business day. sig do params( - id: String, balances: T::Array[Increase::IntrafiBalance::Balance::OrHash], currency: Increase::IntrafiBalance::Currency::OrSymbol, effective_date: Date, @@ -50,8 +45,6 @@ module Increase ).returns(T.attached_class) end def self.new( - # The identifier of this balance. - id:, # Each entry represents a balance held at a different bank. IntraFi separates the # total balance across many participating banks in the network. balances:, @@ -72,7 +65,6 @@ module Increase sig do override.returns( { - id: String, balances: T::Array[Increase::IntrafiBalance::Balance], currency: Increase::IntrafiBalance::Currency::TaggedSymbol, effective_date: Date, @@ -93,10 +85,6 @@ module Increase ) end - # The identifier of this balance. - sig { returns(String) } - attr_accessor :id - # The balance, in minor units of `currency`, held with this bank. sig { returns(Integer) } attr_accessor :balance @@ -127,7 +115,6 @@ module Increase sig do params( - id: String, balance: Integer, bank: String, bank_location: @@ -138,8 +125,6 @@ module Increase ).returns(T.attached_class) end def self.new( - # The identifier of this balance. - id:, # The balance, in minor units of `currency`, held with this bank. balance:, # The name of the bank holding these funds. @@ -156,7 +141,6 @@ module Increase sig do override.returns( { - id: String, balance: Integer, bank: String, bank_location: diff --git a/sig/increase/models/intrafi_balance.rbs b/sig/increase/models/intrafi_balance.rbs index df815e0be..47884af96 100644 --- a/sig/increase/models/intrafi_balance.rbs +++ b/sig/increase/models/intrafi_balance.rbs @@ -2,7 +2,6 @@ module Increase module Models type intrafi_balance = { - id: String, balances: ::Array[Increase::IntrafiBalance::Balance], currency: Increase::Models::IntrafiBalance::currency, effective_date: Date, @@ -11,8 +10,6 @@ module Increase } class IntrafiBalance < Increase::Internal::Type::BaseModel - attr_accessor id: String - attr_accessor balances: ::Array[Increase::IntrafiBalance::Balance] attr_accessor currency: Increase::Models::IntrafiBalance::currency @@ -24,7 +21,6 @@ module Increase attr_accessor type: Increase::Models::IntrafiBalance::type_ def initialize: ( - id: String, balances: ::Array[Increase::IntrafiBalance::Balance], currency: Increase::Models::IntrafiBalance::currency, effective_date: Date, @@ -33,7 +29,6 @@ module Increase ) -> void def to_hash: -> { - id: String, balances: ::Array[Increase::IntrafiBalance::Balance], currency: Increase::Models::IntrafiBalance::currency, effective_date: Date, @@ -43,7 +38,6 @@ module Increase type balance = { - id: String, balance: Integer, bank: String, bank_location: Increase::IntrafiBalance::Balance::BankLocation?, @@ -51,8 +45,6 @@ module Increase } class Balance < Increase::Internal::Type::BaseModel - attr_accessor id: String - attr_accessor balance: Integer attr_accessor bank: String @@ -62,7 +54,6 @@ module Increase attr_accessor fdic_certificate_number: String def initialize: ( - id: String, balance: Integer, bank: String, bank_location: Increase::IntrafiBalance::Balance::BankLocation?, @@ -70,7 +61,6 @@ module Increase ) -> void def to_hash: -> { - id: String, balance: Integer, bank: String, bank_location: Increase::IntrafiBalance::Balance::BankLocation?, diff --git a/test/increase/resources/intrafi_balances_test.rb b/test/increase/resources/intrafi_balances_test.rb index 9cd1b5b40..9319999e4 100644 --- a/test/increase/resources/intrafi_balances_test.rb +++ b/test/increase/resources/intrafi_balances_test.rb @@ -12,7 +12,6 @@ def test_intrafi_balance assert_pattern do response => { - id: String, balances: ^(Increase::Internal::Type::ArrayOf[Increase::IntrafiBalance::Balance]), currency: Increase::IntrafiBalance::Currency, effective_date: Date, From 414b3a9bbadbd7e0d8c8b208f7e5c309fce75f32 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 13 Mar 2026 00:55:02 +0000 Subject: [PATCH 2/2] release: 1.253.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 2cdd142e4..1b6b40da8 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.252.0" + ".": "1.253.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 1436e822e..957c10bb0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.253.0 (2026-03-13) + +Full Changelog: [v1.252.0...v1.253.0](https://github.com/Increase/increase-ruby/compare/v1.252.0...v1.253.0) + +### Features + +* **api:** api update ([a483d4d](https://github.com/Increase/increase-ruby/commit/a483d4d9c06403335ecb3d81f59f4046f25a682a)) + ## 1.252.0 (2026-03-12) Full Changelog: [v1.251.0...v1.252.0](https://github.com/Increase/increase-ruby/compare/v1.251.0...v1.252.0) diff --git a/Gemfile.lock b/Gemfile.lock index 619e69543..4ef5e755b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - increase (1.252.0) + increase (1.253.0) cgi connection_pool standardwebhooks diff --git a/README.md b/README.md index a7d673f87..fe27cc419 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.252.0" +gem "increase", "~> 1.253.0" ``` diff --git a/lib/increase/version.rb b/lib/increase/version.rb index 7353499d0..1cca1b9d0 100644 --- a/lib/increase/version.rb +++ b/lib/increase/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Increase - VERSION = "1.252.0" + VERSION = "1.253.0" end