From 366839db0542271c41e67015d04d20c4b993cdf2 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 11 Dec 2025 20:35:55 +0000 Subject: [PATCH 1/3] codegen metadata --- .stats.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.stats.yml b/.stats.yml index f4cd3049..d4f74e2f 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 230 openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-6f7d8729d517e528b4a2bad402f49122fdf982be7b2df213c393e0d692cef7e7.yml openapi_spec_hash: bd048174c7a122d23818810434e7881d -config_hash: dd86da070cc89eb6d3868bf23764c847 +config_hash: ff2eb5f192b4de36611b37b27961c2d8 From 5d1d46157b5a707fc910c14e60061e4b89c1f52d Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 15 Dec 2025 04:47:20 +0000 Subject: [PATCH 2/3] feat(api): api update --- .stats.yml | 4 ++-- lib/increase/models/entity.rb | 10 +++++++++- lib/increase/models/entity_create_params.rb | 11 ++++++++++- lib/increase/models/entity_update_params.rb | 11 ++++++++++- rbi/increase/models/entity.rbi | 8 ++++++++ rbi/increase/models/entity_create_params.rbi | 13 +++++++++++++ rbi/increase/models/entity_update_params.rbi | 13 +++++++++++++ sig/increase/models/entity.rbs | 5 +++++ sig/increase/models/entity_create_params.rbs | 7 +++++++ sig/increase/models/entity_update_params.rbs | 7 +++++++ 10 files changed, 84 insertions(+), 5 deletions(-) diff --git a/.stats.yml b/.stats.yml index d4f74e2f..beed026f 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 230 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-6f7d8729d517e528b4a2bad402f49122fdf982be7b2df213c393e0d692cef7e7.yml -openapi_spec_hash: bd048174c7a122d23818810434e7881d +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-6b5ac6804e3261a05214c5891c95222ef1b5e9003f211ab32db1d03a7531835a.yml +openapi_spec_hash: 611c8d38ba7122a428f57f3069aac84a config_hash: ff2eb5f192b4de36611b37b27961c2d8 diff --git a/lib/increase/models/entity.rb b/lib/increase/models/entity.rb index cf0d63b9..88c1f294 100644 --- a/lib/increase/models/entity.rb +++ b/lib/increase/models/entity.rb @@ -169,6 +169,12 @@ class Corporation < Increase::Internal::Type::BaseModel required :beneficial_owners, -> { Increase::Internal::Type::ArrayOf[Increase::Entity::Corporation::BeneficialOwner] } + # @!attribute email + # An email address for the business. + # + # @return [String, nil] + required :email, String, nil?: true + # @!attribute incorporation_state # The two-letter United States Postal Service (USPS) abbreviation for the # corporation's state of incorporation. @@ -201,7 +207,7 @@ class Corporation < Increase::Internal::Type::BaseModel # @return [String, nil] required :website, String, nil?: true - # @!method initialize(address:, beneficial_owners:, incorporation_state:, industry_code:, name:, tax_identifier:, website:) + # @!method initialize(address:, beneficial_owners:, email:, incorporation_state:, industry_code:, name:, tax_identifier:, website:) # Some parameter documentations has been truncated, see # {Increase::Models::Entity::Corporation} for more details. # @@ -212,6 +218,8 @@ class Corporation < Increase::Internal::Type::BaseModel # # @param beneficial_owners [Array] The identifying details of anyone controlling or owning 25% or more of the corpo # + # @param email [String, nil] An email address for the business. + # # @param incorporation_state [String, nil] The two-letter United States Postal Service (USPS) abbreviation for the corporat # # @param industry_code [String, nil] The numeric North American Industry Classification System (NAICS) code submitted diff --git a/lib/increase/models/entity_create_params.rb b/lib/increase/models/entity_create_params.rb index dc825033..24a3a1f2 100644 --- a/lib/increase/models/entity_create_params.rb +++ b/lib/increase/models/entity_create_params.rb @@ -165,6 +165,13 @@ class Corporation < Increase::Internal::Type::BaseModel optional :beneficial_ownership_exemption_reason, enum: -> { Increase::EntityCreateParams::Corporation::BeneficialOwnershipExemptionReason } + # @!attribute email + # An email address for the business. Not every program requires an email for + # submitted Entities. + # + # @return [String, nil] + optional :email, String + # @!attribute incorporation_state # The two-letter United States Postal Service (USPS) abbreviation for the # corporation's state of incorporation. @@ -187,7 +194,7 @@ class Corporation < Increase::Internal::Type::BaseModel # @return [String, nil] optional :website, String - # @!method initialize(address:, beneficial_owners:, name:, tax_identifier:, beneficial_ownership_exemption_reason: nil, incorporation_state: nil, industry_code: nil, website: nil) + # @!method initialize(address:, beneficial_owners:, name:, tax_identifier:, beneficial_ownership_exemption_reason: nil, email: nil, incorporation_state: nil, industry_code: nil, website: nil) # Some parameter documentations has been truncated, see # {Increase::Models::EntityCreateParams::Corporation} for more details. # @@ -204,6 +211,8 @@ class Corporation < Increase::Internal::Type::BaseModel # # @param beneficial_ownership_exemption_reason [Symbol, Increase::Models::EntityCreateParams::Corporation::BeneficialOwnershipExemptionReason] If the entity is exempt from the requirement to submit beneficial owners, provid # + # @param email [String] An email address for the business. Not every program requires an email for submi + # # @param incorporation_state [String] The two-letter United States Postal Service (USPS) abbreviation for the corporat # # @param industry_code [String] The North American Industry Classification System (NAICS) code for the corporati diff --git a/lib/increase/models/entity_update_params.rb b/lib/increase/models/entity_update_params.rb index 6dfe5fe1..90e1db3b 100644 --- a/lib/increase/models/entity_update_params.rb +++ b/lib/increase/models/entity_update_params.rb @@ -86,6 +86,13 @@ class Corporation < Increase::Internal::Type::BaseModel # @return [Increase::Models::EntityUpdateParams::Corporation::Address, nil] optional :address, -> { Increase::EntityUpdateParams::Corporation::Address } + # @!attribute email + # An email address for the business. Not every program requires an email for + # submitted Entities. + # + # @return [String, nil] + optional :email, String + # @!attribute industry_code # The North American Industry Classification System (NAICS) code for the # corporation's primary line of business. This is a number, like `5132` for @@ -101,7 +108,7 @@ class Corporation < Increase::Internal::Type::BaseModel # @return [String, nil] optional :name, String - # @!method initialize(address: nil, industry_code: nil, name: nil) + # @!method initialize(address: nil, email: nil, industry_code: nil, name: nil) # Some parameter documentations has been truncated, see # {Increase::Models::EntityUpdateParams::Corporation} for more details. # @@ -110,6 +117,8 @@ class Corporation < Increase::Internal::Type::BaseModel # # @param address [Increase::Models::EntityUpdateParams::Corporation::Address] The entity's physical address. Mail receiving locations like PO Boxes and PMB's # + # @param email [String] An email address for the business. Not every program requires an email for submi + # # @param industry_code [String] The North American Industry Classification System (NAICS) code for the corporati # # @param name [String] The legal name of the corporation. diff --git a/rbi/increase/models/entity.rbi b/rbi/increase/models/entity.rbi index bd2ea7b5..27576158 100644 --- a/rbi/increase/models/entity.rbi +++ b/rbi/increase/models/entity.rbi @@ -250,6 +250,10 @@ module Increase end attr_accessor :beneficial_owners + # An email address for the business. + sig { returns(T.nilable(String)) } + attr_accessor :email + # The two-letter United States Postal Service (USPS) abbreviation for the # corporation's state of incorporation. sig { returns(T.nilable(String)) } @@ -279,6 +283,7 @@ module Increase address: Increase::Entity::Corporation::Address::OrHash, beneficial_owners: T::Array[Increase::Entity::Corporation::BeneficialOwner::OrHash], + email: T.nilable(String), incorporation_state: T.nilable(String), industry_code: T.nilable(String), name: String, @@ -292,6 +297,8 @@ module Increase # The identifying details of anyone controlling or owning 25% or more of the # corporation. beneficial_owners:, + # An email address for the business. + email:, # The two-letter United States Postal Service (USPS) abbreviation for the # corporation's state of incorporation. incorporation_state:, @@ -313,6 +320,7 @@ module Increase address: Increase::Entity::Corporation::Address, beneficial_owners: T::Array[Increase::Entity::Corporation::BeneficialOwner], + email: T.nilable(String), incorporation_state: T.nilable(String), industry_code: T.nilable(String), name: String, diff --git a/rbi/increase/models/entity_create_params.rbi b/rbi/increase/models/entity_create_params.rbi index bc01e1de..8722e6ea 100644 --- a/rbi/increase/models/entity_create_params.rbi +++ b/rbi/increase/models/entity_create_params.rbi @@ -310,6 +310,14 @@ module Increase end attr_writer :beneficial_ownership_exemption_reason + # An email address for the business. Not every program requires an email for + # submitted Entities. + sig { returns(T.nilable(String)) } + attr_reader :email + + sig { params(email: String).void } + attr_writer :email + # The two-letter United States Postal Service (USPS) abbreviation for the # corporation's state of incorporation. sig { returns(T.nilable(String)) } @@ -348,6 +356,7 @@ module Increase tax_identifier: String, beneficial_ownership_exemption_reason: Increase::EntityCreateParams::Corporation::BeneficialOwnershipExemptionReason::OrSymbol, + email: String, incorporation_state: String, industry_code: String, website: String @@ -369,6 +378,9 @@ module Increase # provide the justification. If a reason is provided, you do not need to submit a # list of beneficial owners. beneficial_ownership_exemption_reason: nil, + # An email address for the business. Not every program requires an email for + # submitted Entities. + email: nil, # The two-letter United States Postal Service (USPS) abbreviation for the # corporation's state of incorporation. incorporation_state: nil, @@ -394,6 +406,7 @@ module Increase tax_identifier: String, beneficial_ownership_exemption_reason: Increase::EntityCreateParams::Corporation::BeneficialOwnershipExemptionReason::OrSymbol, + email: String, incorporation_state: String, industry_code: String, website: String diff --git a/rbi/increase/models/entity_update_params.rbi b/rbi/increase/models/entity_update_params.rbi index de8f3ce5..61bf10ad 100644 --- a/rbi/increase/models/entity_update_params.rbi +++ b/rbi/increase/models/entity_update_params.rbi @@ -179,6 +179,14 @@ module Increase end attr_writer :address + # An email address for the business. Not every program requires an email for + # submitted Entities. + sig { returns(T.nilable(String)) } + attr_reader :email + + sig { params(email: String).void } + attr_writer :email + # The North American Industry Classification System (NAICS) code for the # corporation's primary line of business. This is a number, like `5132` for # `Software Publishers`. A full list of classification codes is available @@ -201,6 +209,7 @@ module Increase sig do params( address: Increase::EntityUpdateParams::Corporation::Address::OrHash, + email: String, industry_code: String, name: String ).returns(T.attached_class) @@ -209,6 +218,9 @@ module Increase # The entity's physical address. Mail receiving locations like PO Boxes and PMB's # are disallowed. address: nil, + # An email address for the business. Not every program requires an email for + # submitted Entities. + email: nil, # The North American Industry Classification System (NAICS) code for the # corporation's primary line of business. This is a number, like `5132` for # `Software Publishers`. A full list of classification codes is available @@ -223,6 +235,7 @@ module Increase override.returns( { address: Increase::EntityUpdateParams::Corporation::Address, + email: String, industry_code: String, name: String } diff --git a/sig/increase/models/entity.rbs b/sig/increase/models/entity.rbs index 4fb784b5..26e8c657 100644 --- a/sig/increase/models/entity.rbs +++ b/sig/increase/models/entity.rbs @@ -95,6 +95,7 @@ module Increase { address: Increase::Entity::Corporation::Address, beneficial_owners: ::Array[Increase::Entity::Corporation::BeneficialOwner], + email: String?, incorporation_state: String?, industry_code: String?, name: String, @@ -107,6 +108,8 @@ module Increase attr_accessor beneficial_owners: ::Array[Increase::Entity::Corporation::BeneficialOwner] + attr_accessor email: String? + attr_accessor incorporation_state: String? attr_accessor industry_code: String? @@ -120,6 +123,7 @@ module Increase def initialize: ( address: Increase::Entity::Corporation::Address, beneficial_owners: ::Array[Increase::Entity::Corporation::BeneficialOwner], + email: String?, incorporation_state: String?, industry_code: String?, name: String, @@ -130,6 +134,7 @@ module Increase def to_hash: -> { address: Increase::Entity::Corporation::Address, beneficial_owners: ::Array[Increase::Entity::Corporation::BeneficialOwner], + email: String?, incorporation_state: String?, industry_code: String?, name: String, diff --git a/sig/increase/models/entity_create_params.rbs b/sig/increase/models/entity_create_params.rbs index 3a5b2596..5646a32c 100644 --- a/sig/increase/models/entity_create_params.rbs +++ b/sig/increase/models/entity_create_params.rbs @@ -132,6 +132,7 @@ module Increase name: String, tax_identifier: String, beneficial_ownership_exemption_reason: Increase::Models::EntityCreateParams::Corporation::beneficial_ownership_exemption_reason, + email: String, incorporation_state: String, industry_code: String, website: String @@ -152,6 +153,10 @@ module Increase Increase::Models::EntityCreateParams::Corporation::beneficial_ownership_exemption_reason ) -> Increase::Models::EntityCreateParams::Corporation::beneficial_ownership_exemption_reason + attr_reader email: String? + + def email=: (String) -> String + attr_reader incorporation_state: String? def incorporation_state=: (String) -> String @@ -170,6 +175,7 @@ module Increase name: String, tax_identifier: String, ?beneficial_ownership_exemption_reason: Increase::Models::EntityCreateParams::Corporation::beneficial_ownership_exemption_reason, + ?email: String, ?incorporation_state: String, ?industry_code: String, ?website: String @@ -181,6 +187,7 @@ module Increase name: String, tax_identifier: String, beneficial_ownership_exemption_reason: Increase::Models::EntityCreateParams::Corporation::beneficial_ownership_exemption_reason, + email: String, incorporation_state: String, industry_code: String, website: String diff --git a/sig/increase/models/entity_update_params.rbs b/sig/increase/models/entity_update_params.rbs index 93f3d4fa..b648ae04 100644 --- a/sig/increase/models/entity_update_params.rbs +++ b/sig/increase/models/entity_update_params.rbs @@ -81,6 +81,7 @@ module Increase type corporation = { address: Increase::EntityUpdateParams::Corporation::Address, + email: String, industry_code: String, name: String } @@ -92,6 +93,10 @@ module Increase Increase::EntityUpdateParams::Corporation::Address ) -> Increase::EntityUpdateParams::Corporation::Address + attr_reader email: String? + + def email=: (String) -> String + attr_reader industry_code: String? def industry_code=: (String) -> String @@ -102,12 +107,14 @@ module Increase def initialize: ( ?address: Increase::EntityUpdateParams::Corporation::Address, + ?email: String, ?industry_code: String, ?name: String ) -> void def to_hash: -> { address: Increase::EntityUpdateParams::Corporation::Address, + email: String, industry_code: String, name: String } From e2c187a85a2399d8503c24555693d0574dab3183 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 15 Dec 2025 04:47:43 +0000 Subject: [PATCH 3/3] release: 1.160.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 4e7ddc44..f958bb84 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.159.0" + ".": "1.160.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 26b2891b..6665dabe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.160.0 (2025-12-15) + +Full Changelog: [v1.159.0...v1.160.0](https://github.com/Increase/increase-ruby/compare/v1.159.0...v1.160.0) + +### Features + +* **api:** api update ([5d1d461](https://github.com/Increase/increase-ruby/commit/5d1d46157b5a707fc910c14e60061e4b89c1f52d)) + ## 1.159.0 (2025-12-09) Full Changelog: [v1.158.0...v1.159.0](https://github.com/Increase/increase-ruby/compare/v1.158.0...v1.159.0) diff --git a/Gemfile.lock b/Gemfile.lock index 7fa09a3d..180ff22f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - increase (1.159.0) + increase (1.160.0) connection_pool GEM diff --git a/README.md b/README.md index 1b67e596..ccda5cb0 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.159.0" +gem "increase", "~> 1.160.0" ``` diff --git a/lib/increase/version.rb b/lib/increase/version.rb index 251a059f..a3f3888c 100644 --- a/lib/increase/version.rb +++ b/lib/increase/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Increase - VERSION = "1.159.0" + VERSION = "1.160.0" end