diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 5df3c6496..ba5cbfb62 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.69.0" + ".": "1.70.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index 94d9b0a5f..8b661a7b8 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 217 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-17c08bdd306c9bcf444a3d09db8878f633ec996cd2f091e1173742f6f3ffc5a5.yml -openapi_spec_hash: 70c131085fc22b07df6bac0f70fcf468 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-438f2a4d4f35670ae5692a6a9a36711af7944ac975bf309a6d50c02a28b13a70.yml +openapi_spec_hash: e4930cc26be238707449872070607e64 config_hash: e1885b38eded054b77308a024c5d80cc diff --git a/CHANGELOG.md b/CHANGELOG.md index 3450253b4..bca2aa334 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.70.0 (2025-09-08) + +Full Changelog: [v1.69.0...v1.70.0](https://github.com/Increase/increase-ruby/compare/v1.69.0...v1.70.0) + +### Features + +* **api:** api update ([2bcd14c](https://github.com/Increase/increase-ruby/commit/2bcd14c3c9056a995fdc7dc4e96d48bb2c2f06f0)) + ## 1.69.0 (2025-09-08) Full Changelog: [v1.68.0...v1.69.0](https://github.com/Increase/increase-ruby/compare/v1.68.0...v1.69.0) diff --git a/Gemfile.lock b/Gemfile.lock index 3cb5acd51..3d57150bd 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - increase (1.69.0) + increase (1.70.0) connection_pool GEM diff --git a/README.md b/README.md index 38bbb60b1..46daec356 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.69.0" +gem "increase", "~> 1.70.0" ``` diff --git a/lib/increase/models/entity_update_params.rb b/lib/increase/models/entity_update_params.rb index c8cb7a23e..4c0b7c38c 100644 --- a/lib/increase/models/entity_update_params.rb +++ b/lib/increase/models/entity_update_params.rb @@ -75,13 +75,22 @@ class Corporation < Increase::Internal::Type::BaseModel # @return [Increase::Models::EntityUpdateParams::Corporation::Address, nil] optional :address, -> { Increase::EntityUpdateParams::Corporation::Address } + # @!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 + # `Software Publishers`. A full list of classification codes is available + # [here](https://increase.com/documentation/data-dictionary#north-american-industry-classification-system-codes). + # + # @return [String, nil] + optional :industry_code, String + # @!attribute name # The legal name of the corporation. # # @return [String, nil] optional :name, String - # @!method initialize(address: nil, name: nil) + # @!method initialize(address: nil, industry_code: nil, name: nil) # Some parameter documentations has been truncated, see # {Increase::Models::EntityUpdateParams::Corporation} for more details. # @@ -90,6 +99,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 industry_code [String] The North American Industry Classification System (NAICS) code for the corporati + # # @param name [String] The legal name of the corporation. # @see Increase::Models::EntityUpdateParams::Corporation#address diff --git a/lib/increase/version.rb b/lib/increase/version.rb index 292df8e2c..a2a40e20a 100644 --- a/lib/increase/version.rb +++ b/lib/increase/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Increase - VERSION = "1.69.0" + VERSION = "1.70.0" end diff --git a/rbi/increase/models/entity_update_params.rbi b/rbi/increase/models/entity_update_params.rbi index a159ae419..db8749e92 100644 --- a/rbi/increase/models/entity_update_params.rbi +++ b/rbi/increase/models/entity_update_params.rbi @@ -162,6 +162,16 @@ module Increase end attr_writer :address + # 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 + # [here](https://increase.com/documentation/data-dictionary#north-american-industry-classification-system-codes). + sig { returns(T.nilable(String)) } + attr_reader :industry_code + + sig { params(industry_code: String).void } + attr_writer :industry_code + # The legal name of the corporation. sig { returns(T.nilable(String)) } attr_reader :name @@ -174,6 +184,7 @@ module Increase sig do params( address: Increase::EntityUpdateParams::Corporation::Address::OrHash, + industry_code: String, name: String ).returns(T.attached_class) end @@ -181,6 +192,11 @@ module Increase # The entity's physical address. Mail receiving locations like PO Boxes and PMB's # are disallowed. address: 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 + # [here](https://increase.com/documentation/data-dictionary#north-american-industry-classification-system-codes). + industry_code: nil, # The legal name of the corporation. name: nil ) @@ -190,6 +206,7 @@ module Increase override.returns( { address: Increase::EntityUpdateParams::Corporation::Address, + industry_code: String, name: String } ) diff --git a/sig/increase/models/entity_update_params.rbs b/sig/increase/models/entity_update_params.rbs index 8c7a5d104..ea1f3c94d 100644 --- a/sig/increase/models/entity_update_params.rbs +++ b/sig/increase/models/entity_update_params.rbs @@ -74,6 +74,7 @@ module Increase type corporation = { address: Increase::EntityUpdateParams::Corporation::Address, + industry_code: String, name: String } @@ -84,17 +85,23 @@ module Increase Increase::EntityUpdateParams::Corporation::Address ) -> Increase::EntityUpdateParams::Corporation::Address + attr_reader industry_code: String? + + def industry_code=: (String) -> String + attr_reader name: String? def name=: (String) -> String def initialize: ( ?address: Increase::EntityUpdateParams::Corporation::Address, + ?industry_code: String, ?name: String ) -> void def to_hash: -> { address: Increase::EntityUpdateParams::Corporation::Address, + industry_code: String, name: String }