From eff785b7d070c3e1b99d60b8f2e04d73b99229aa Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 12 Aug 2025 19:01:36 +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 70b3003b4..23af125ad 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 202 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-2ed4af5a2141f4524ffc8306c747f21c77e00fc5d478e08df7cbe53c92764038.yml -openapi_spec_hash: f693361a7fb14090da484e6a02b86021 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-024f3386be8ca056f950169a65db9117e03b79351fe4a6dcaa950751f4d87338.yml +openapi_spec_hash: b129bc67ffdb2e1bd0fb1bab639dba76 config_hash: a185e9a72778cc4658ea73fb3a7f1354 From 638ef4ffd5129aa4ddb501e6ca399143e03365b6 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 13 Aug 2025 20:55:56 +0000 Subject: [PATCH 2/3] feat(api): api update --- .stats.yml | 4 ++-- lib/increase/models/account.rb | 6 +++--- rbi/increase/models/account.rbi | 6 +++--- sig/increase/models/account.rbs | 8 ++++---- test/increase/resources/accounts_test.rb | 10 +++++----- 5 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.stats.yml b/.stats.yml index 23af125ad..4e2a1cd4e 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 202 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-024f3386be8ca056f950169a65db9117e03b79351fe4a6dcaa950751f4d87338.yml -openapi_spec_hash: b129bc67ffdb2e1bd0fb1bab639dba76 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-86536168d84b951766d3c56adf7b371f15e15de83fff1de4b8052f55bb98034d.yml +openapi_spec_hash: 28053671bf8df1b93086dbe6123f8163 config_hash: a185e9a72778cc4658ea73fb3a7f1354 diff --git a/lib/increase/models/account.rb b/lib/increase/models/account.rb index 6d154e0ce..1d6bedb3f 100644 --- a/lib/increase/models/account.rb +++ b/lib/increase/models/account.rb @@ -40,8 +40,8 @@ class Account < Increase::Internal::Type::BaseModel # @!attribute entity_id # The identifier for the Entity the Account belongs to. # - # @return [String, nil] - required :entity_id, String, nil?: true + # @return [String] + required :entity_id, String # @!attribute idempotency_key # The idempotency key you chose for this object. This value is unique across @@ -123,7 +123,7 @@ class Account < Increase::Internal::Type::BaseModel # # @param currency [Symbol, Increase::Models::Account::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the Account curr # - # @param entity_id [String, nil] The identifier for the Entity the Account belongs to. + # @param entity_id [String] The identifier for the Entity the Account belongs to. # # @param idempotency_key [String, nil] The idempotency key you chose for this object. This value is unique across Incre # diff --git a/rbi/increase/models/account.rbi b/rbi/increase/models/account.rbi index 5dd4d6fbe..20e2ca6a9 100644 --- a/rbi/increase/models/account.rbi +++ b/rbi/increase/models/account.rbi @@ -30,7 +30,7 @@ module Increase attr_accessor :currency # The identifier for the Entity the Account belongs to. - sig { returns(T.nilable(String)) } + sig { returns(String) } attr_accessor :entity_id # The idempotency key you chose for this object. This value is unique across @@ -87,7 +87,7 @@ module Increase closed_at: T.nilable(Time), created_at: Time, currency: Increase::Account::Currency::OrSymbol, - entity_id: T.nilable(String), + entity_id: String, idempotency_key: T.nilable(String), informational_entity_id: T.nilable(String), interest_accrued: String, @@ -153,7 +153,7 @@ module Increase closed_at: T.nilable(Time), created_at: Time, currency: Increase::Account::Currency::TaggedSymbol, - entity_id: T.nilable(String), + entity_id: String, idempotency_key: T.nilable(String), informational_entity_id: T.nilable(String), interest_accrued: String, diff --git a/sig/increase/models/account.rbs b/sig/increase/models/account.rbs index dfb578409..88c11de58 100644 --- a/sig/increase/models/account.rbs +++ b/sig/increase/models/account.rbs @@ -7,7 +7,7 @@ module Increase closed_at: Time?, created_at: Time, currency: Increase::Models::Account::currency, - entity_id: String?, + entity_id: String, idempotency_key: String?, informational_entity_id: String?, interest_accrued: String, @@ -30,7 +30,7 @@ module Increase attr_accessor currency: Increase::Models::Account::currency - attr_accessor entity_id: String? + attr_accessor entity_id: String attr_accessor idempotency_key: String? @@ -56,7 +56,7 @@ module Increase closed_at: Time?, created_at: Time, currency: Increase::Models::Account::currency, - entity_id: String?, + entity_id: String, idempotency_key: String?, informational_entity_id: String?, interest_accrued: String, @@ -74,7 +74,7 @@ module Increase closed_at: Time?, created_at: Time, currency: Increase::Models::Account::currency, - entity_id: String?, + entity_id: String, idempotency_key: String?, informational_entity_id: String?, interest_accrued: String, diff --git a/test/increase/resources/accounts_test.rb b/test/increase/resources/accounts_test.rb index 272abd3da..8031c0d9a 100644 --- a/test/increase/resources/accounts_test.rb +++ b/test/increase/resources/accounts_test.rb @@ -17,7 +17,7 @@ def test_create_required_params closed_at: Time | nil, created_at: Time, currency: Increase::Account::Currency, - entity_id: String | nil, + entity_id: String, idempotency_key: String | nil, informational_entity_id: String | nil, interest_accrued: String, @@ -45,7 +45,7 @@ def test_retrieve closed_at: Time | nil, created_at: Time, currency: Increase::Account::Currency, - entity_id: String | nil, + entity_id: String, idempotency_key: String | nil, informational_entity_id: String | nil, interest_accrued: String, @@ -73,7 +73,7 @@ def test_update closed_at: Time | nil, created_at: Time, currency: Increase::Account::Currency, - entity_id: String | nil, + entity_id: String, idempotency_key: String | nil, informational_entity_id: String | nil, interest_accrued: String, @@ -108,7 +108,7 @@ def test_list closed_at: Time | nil, created_at: Time, currency: Increase::Account::Currency, - entity_id: String | nil, + entity_id: String, idempotency_key: String | nil, informational_entity_id: String | nil, interest_accrued: String, @@ -153,7 +153,7 @@ def test_close closed_at: Time | nil, created_at: Time, currency: Increase::Account::Currency, - entity_id: String | nil, + entity_id: String, idempotency_key: String | nil, informational_entity_id: String | nil, interest_accrued: String, From fcf687a8f3addad0ee2be1ec870cc172edd2c2cc Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 13 Aug 2025 20:56:18 +0000 Subject: [PATCH 3/3] release: 1.32.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 81d2de2d2..592b0e152 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.31.0" + ".": "1.32.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 1658486fd..3ec8beadd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.32.0 (2025-08-13) + +Full Changelog: [v1.31.0...v1.32.0](https://github.com/Increase/increase-ruby/compare/v1.31.0...v1.32.0) + +### Features + +* **api:** api update ([638ef4f](https://github.com/Increase/increase-ruby/commit/638ef4ffd5129aa4ddb501e6ca399143e03365b6)) + ## 1.31.0 (2025-08-12) Full Changelog: [v1.30.0...v1.31.0](https://github.com/Increase/increase-ruby/compare/v1.30.0...v1.31.0) diff --git a/Gemfile.lock b/Gemfile.lock index 421a09884..aed35f317 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - increase (1.31.0) + increase (1.32.0) connection_pool GEM diff --git a/README.md b/README.md index 765d1d865..55c5aa258 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.31.0" +gem "increase", "~> 1.32.0" ``` diff --git a/lib/increase/version.rb b/lib/increase/version.rb index 304022840..e8f681e33 100644 --- a/lib/increase/version.rb +++ b/lib/increase/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Increase - VERSION = "1.31.0" + VERSION = "1.32.0" end