diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 2824a11a..d6e9fb57 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.186.0" + ".": "1.187.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index 87e08670..91752aef 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-a822d0695f48967e594a88eef888b826cd51b62959bd4b3d0163b7d010bab969.yml -openapi_spec_hash: 95ea277ed84c04aefd25bcb63ae4e2e5 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-3309070d0c282e00842afa3021c80774f8e1f3a4517959927adfd9ffaa81c94c.yml +openapi_spec_hash: 57927271c019ee8ddd428afa8a57baaf config_hash: 27e44ed36b9c5617b580ead7231a594a diff --git a/CHANGELOG.md b/CHANGELOG.md index 7eb61ad8..2b3fc2a7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.187.0 (2026-01-30) + +Full Changelog: [v1.186.0...v1.187.0](https://github.com/Increase/increase-ruby/compare/v1.186.0...v1.187.0) + +### Features + +* **api:** api update ([47c0b0d](https://github.com/Increase/increase-ruby/commit/47c0b0d6d71c02b51d865906d17e645302e68069)) + ## 1.186.0 (2026-01-28) Full Changelog: [v1.185.0...v1.186.0](https://github.com/Increase/increase-ruby/compare/v1.185.0...v1.186.0) diff --git a/Gemfile.lock b/Gemfile.lock index fdb206af..40a32059 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - increase (1.186.0) + increase (1.187.0) cgi connection_pool diff --git a/README.md b/README.md index 26e2f07e..08ad48e5 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.186.0" +gem "increase", "~> 1.187.0" ``` diff --git a/lib/increase/models/account_update_params.rb b/lib/increase/models/account_update_params.rb index 8f75643d..344104bc 100644 --- a/lib/increase/models/account_update_params.rb +++ b/lib/increase/models/account_update_params.rb @@ -7,25 +7,13 @@ class AccountUpdateParams < Increase::Internal::Type::BaseModel extend Increase::Internal::Type::RequestParameters::Converter include Increase::Internal::Type::RequestParameters - # @!attribute credit_limit - # The new credit limit of the Account, if and only if the Account is a loan - # account. - # - # @return [Integer, nil] - optional :credit_limit, Integer - # @!attribute name # The new name of the Account. # # @return [String, nil] optional :name, String - # @!method initialize(credit_limit: nil, name: nil, request_options: {}) - # Some parameter documentations has been truncated, see - # {Increase::Models::AccountUpdateParams} for more details. - # - # @param credit_limit [Integer] The new credit limit of the Account, if and only if the Account is a loan accoun - # + # @!method initialize(name: nil, request_options: {}) # @param name [String] The new name of the Account. # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}] diff --git a/lib/increase/resources/accounts.rb b/lib/increase/resources/accounts.rb index 41270d80..067ab836 100644 --- a/lib/increase/resources/accounts.rb +++ b/lib/increase/resources/accounts.rb @@ -54,17 +54,12 @@ def retrieve(account_id, params = {}) ) end - # Some parameter documentations has been truncated, see - # {Increase::Models::AccountUpdateParams} for more details. - # # Update an Account # - # @overload update(account_id, credit_limit: nil, name: nil, request_options: {}) + # @overload update(account_id, name: nil, request_options: {}) # # @param account_id [String] The identifier of the Account to update. # - # @param credit_limit [Integer] The new credit limit of the Account, if and only if the Account is a loan accoun - # # @param name [String] The new name of the Account. # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] diff --git a/lib/increase/version.rb b/lib/increase/version.rb index d8f5934b..6e85ea7f 100644 --- a/lib/increase/version.rb +++ b/lib/increase/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Increase - VERSION = "1.186.0" + VERSION = "1.187.0" end diff --git a/rbi/increase/models/account_update_params.rbi b/rbi/increase/models/account_update_params.rbi index 33df42d2..81cf5c0a 100644 --- a/rbi/increase/models/account_update_params.rbi +++ b/rbi/increase/models/account_update_params.rbi @@ -11,14 +11,6 @@ module Increase T.any(Increase::AccountUpdateParams, Increase::Internal::AnyHash) end - # The new credit limit of the Account, if and only if the Account is a loan - # account. - sig { returns(T.nilable(Integer)) } - attr_reader :credit_limit - - sig { params(credit_limit: Integer).void } - attr_writer :credit_limit - # The new name of the Account. sig { returns(T.nilable(String)) } attr_reader :name @@ -28,15 +20,11 @@ module Increase sig do params( - credit_limit: Integer, name: String, request_options: Increase::RequestOptions::OrHash ).returns(T.attached_class) end def self.new( - # The new credit limit of the Account, if and only if the Account is a loan - # account. - credit_limit: nil, # The new name of the Account. name: nil, request_options: {} @@ -45,11 +33,7 @@ module Increase sig do override.returns( - { - credit_limit: Integer, - name: String, - request_options: Increase::RequestOptions - } + { name: String, request_options: Increase::RequestOptions } ) end def to_hash diff --git a/rbi/increase/resources/accounts.rbi b/rbi/increase/resources/accounts.rbi index 90dc90c6..119e3b16 100644 --- a/rbi/increase/resources/accounts.rbi +++ b/rbi/increase/resources/accounts.rbi @@ -46,7 +46,6 @@ module Increase sig do params( account_id: String, - credit_limit: Integer, name: String, request_options: Increase::RequestOptions::OrHash ).returns(Increase::Account) @@ -54,9 +53,6 @@ module Increase def update( # The identifier of the Account to update. account_id, - # The new credit limit of the Account, if and only if the Account is a loan - # account. - credit_limit: nil, # The new name of the Account. name: nil, request_options: {} diff --git a/sig/increase/models/account_update_params.rbs b/sig/increase/models/account_update_params.rbs index 33cb839e..c7244351 100644 --- a/sig/increase/models/account_update_params.rbs +++ b/sig/increase/models/account_update_params.rbs @@ -1,29 +1,22 @@ module Increase module Models type account_update_params = - { credit_limit: Integer, name: String } - & Increase::Internal::Type::request_parameters + { name: String } & Increase::Internal::Type::request_parameters class AccountUpdateParams < Increase::Internal::Type::BaseModel extend Increase::Internal::Type::RequestParameters::Converter include Increase::Internal::Type::RequestParameters - attr_reader credit_limit: Integer? - - def credit_limit=: (Integer) -> Integer - attr_reader name: String? def name=: (String) -> String def initialize: ( - ?credit_limit: Integer, ?name: String, ?request_options: Increase::request_opts ) -> void def to_hash: -> { - credit_limit: Integer, name: String, request_options: Increase::RequestOptions } diff --git a/sig/increase/resources/accounts.rbs b/sig/increase/resources/accounts.rbs index a9114738..99070a3a 100644 --- a/sig/increase/resources/accounts.rbs +++ b/sig/increase/resources/accounts.rbs @@ -16,7 +16,6 @@ module Increase def update: ( String account_id, - ?credit_limit: Integer, ?name: String, ?request_options: Increase::request_opts ) -> Increase::Account