From 16fe1558aeff7263c3cb1cf49cf42e919dd55a73 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 1 Aug 2025 16:35:16 +0000 Subject: [PATCH 1/2] feat(api): api update --- .stats.yml | 4 ++-- lib/increase/models/entity.rb | 11 +++++++++- lib/increase/models/entity_create_params.rb | 11 +++++++++- rbi/increase/models/entity.rbi | 23 +++++++++++++++++++- rbi/increase/models/entity_create_params.rbi | 23 +++++++++++++++++++- sig/increase/models/entity.rbs | 14 ++++++++++-- sig/increase/models/entity_create_params.rbs | 14 ++++++++++-- 7 files changed, 90 insertions(+), 10 deletions(-) diff --git a/.stats.yml b/.stats.yml index 9c25f999b..00b0b5aa0 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-d7dabd389c8b061d384ec0a57cc7c8a426f12c87dabce0989af22a192a5fcfa9.yml -openapi_spec_hash: 35af34c9cffe387af0519e2df596d145 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-5afe14a5606cebef2ccc6c4781d566b43509e01513e8e02e41adbdeaf3275f48.yml +openapi_spec_hash: 56857e37c0c6131096bf519d91ef76d2 config_hash: a185e9a72778cc4658ea73fb3a7f1354 diff --git a/lib/increase/models/entity.rb b/lib/increase/models/entity.rb index 62e19ce4f..e66368fb0 100644 --- a/lib/increase/models/entity.rb +++ b/lib/increase/models/entity.rb @@ -600,9 +600,18 @@ class AuthorizedPerson < Increase::Internal::Type::BaseModel module Category extend Increase::Internal::Type::Enum - # The Public Entity is a Municipality. + # A municipality. MUNICIPALITY = :municipality + # A state agency. + STATE_AGENCY = :state_agency + + # A state government. + STATE_GOVERNMENT = :state_government + + # A federal agency. + FEDERAL_AGENCY = :federal_agency + # @!method self.values # @return [Array] end diff --git a/lib/increase/models/entity_create_params.rb b/lib/increase/models/entity_create_params.rb index 44b8b33f5..d3cb94ef5 100644 --- a/lib/increase/models/entity_create_params.rb +++ b/lib/increase/models/entity_create_params.rb @@ -794,9 +794,18 @@ class AuthorizedPerson < Increase::Internal::Type::BaseModel module Category extend Increase::Internal::Type::Enum - # The Public Entity is a Municipality. + # A municipality. MUNICIPALITY = :municipality + # A state agency. + STATE_AGENCY = :state_agency + + # A state government. + STATE_GOVERNMENT = :state_government + + # A federal agency. + FEDERAL_AGENCY = :federal_agency + # @!method self.values # @return [Array] end diff --git a/rbi/increase/models/entity.rbi b/rbi/increase/models/entity.rbi index e9674698a..1e73844e8 100644 --- a/rbi/increase/models/entity.rbi +++ b/rbi/increase/models/entity.rbi @@ -981,13 +981,34 @@ module Increase end OrSymbol = T.type_alias { T.any(Symbol, String) } - # The Public Entity is a Municipality. + # A municipality. MUNICIPALITY = T.let( :municipality, Increase::Entity::GovernmentAuthority::Category::TaggedSymbol ) + # A state agency. + STATE_AGENCY = + T.let( + :state_agency, + Increase::Entity::GovernmentAuthority::Category::TaggedSymbol + ) + + # A state government. + STATE_GOVERNMENT = + T.let( + :state_government, + Increase::Entity::GovernmentAuthority::Category::TaggedSymbol + ) + + # A federal agency. + FEDERAL_AGENCY = + T.let( + :federal_agency, + Increase::Entity::GovernmentAuthority::Category::TaggedSymbol + ) + sig do override.returns( T::Array[ diff --git a/rbi/increase/models/entity_create_params.rbi b/rbi/increase/models/entity_create_params.rbi index 49a47fc6b..be3febee3 100644 --- a/rbi/increase/models/entity_create_params.rbi +++ b/rbi/increase/models/entity_create_params.rbi @@ -1433,13 +1433,34 @@ module Increase end OrSymbol = T.type_alias { T.any(Symbol, String) } - # The Public Entity is a Municipality. + # A municipality. MUNICIPALITY = T.let( :municipality, Increase::EntityCreateParams::GovernmentAuthority::Category::TaggedSymbol ) + # A state agency. + STATE_AGENCY = + T.let( + :state_agency, + Increase::EntityCreateParams::GovernmentAuthority::Category::TaggedSymbol + ) + + # A state government. + STATE_GOVERNMENT = + T.let( + :state_government, + Increase::EntityCreateParams::GovernmentAuthority::Category::TaggedSymbol + ) + + # A federal agency. + FEDERAL_AGENCY = + T.let( + :federal_agency, + Increase::EntityCreateParams::GovernmentAuthority::Category::TaggedSymbol + ) + sig do override.returns( T::Array[ diff --git a/sig/increase/models/entity.rbs b/sig/increase/models/entity.rbs index ed1f9585d..8d32618cd 100644 --- a/sig/increase/models/entity.rbs +++ b/sig/increase/models/entity.rbs @@ -430,14 +430,24 @@ module Increase def to_hash: -> { authorized_person_id: String, name: String } end - type category = :municipality + type category = + :municipality | :state_agency | :state_government | :federal_agency module Category extend Increase::Internal::Type::Enum - # The Public Entity is a Municipality. + # A municipality. MUNICIPALITY: :municipality + # A state agency. + STATE_AGENCY: :state_agency + + # A state government. + STATE_GOVERNMENT: :state_government + + # A federal agency. + FEDERAL_AGENCY: :federal_agency + def self?.values: -> ::Array[Increase::Models::Entity::GovernmentAuthority::category] end end diff --git a/sig/increase/models/entity_create_params.rbs b/sig/increase/models/entity_create_params.rbs index da2585376..bd883fd1b 100644 --- a/sig/increase/models/entity_create_params.rbs +++ b/sig/increase/models/entity_create_params.rbs @@ -636,14 +636,24 @@ module Increase def to_hash: -> { name: String } end - type category = :municipality + type category = + :municipality | :state_agency | :state_government | :federal_agency module Category extend Increase::Internal::Type::Enum - # The Public Entity is a Municipality. + # A municipality. MUNICIPALITY: :municipality + # A state agency. + STATE_AGENCY: :state_agency + + # A state government. + STATE_GOVERNMENT: :state_government + + # A federal agency. + FEDERAL_AGENCY: :federal_agency + def self?.values: -> ::Array[Increase::Models::EntityCreateParams::GovernmentAuthority::category] end end From 423ddcb555fc3bf3c352cb0b3afcb2b322f8c34a Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 1 Aug 2025 16:35:37 +0000 Subject: [PATCH 2/2] release: 1.23.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 397c4203e..cdcf20eb7 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.22.0" + ".": "1.23.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index e5254ae3e..2e6c4d042 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.23.0 (2025-08-01) + +Full Changelog: [v1.22.0...v1.23.0](https://github.com/Increase/increase-ruby/compare/v1.22.0...v1.23.0) + +### Features + +* **api:** api update ([16fe155](https://github.com/Increase/increase-ruby/commit/16fe1558aeff7263c3cb1cf49cf42e919dd55a73)) + ## 1.22.0 (2025-08-01) Full Changelog: [v1.21.0...v1.22.0](https://github.com/Increase/increase-ruby/compare/v1.21.0...v1.22.0) diff --git a/Gemfile.lock b/Gemfile.lock index 6c89d1b72..21f1bb5ff 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - increase (1.22.0) + increase (1.23.0) connection_pool GEM diff --git a/README.md b/README.md index 3b0c903e4..0260bbb2f 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.22.0" +gem "increase", "~> 1.23.0" ``` diff --git a/lib/increase/version.rb b/lib/increase/version.rb index 5d1f9b701..7db80af5d 100644 --- a/lib/increase/version.rb +++ b/lib/increase/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Increase - VERSION = "1.22.0" + VERSION = "1.23.0" end