Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "1.69.0"
".": "1.70.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -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
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ GIT
PATH
remote: .
specs:
increase (1.69.0)
increase (1.70.0)
connection_pool

GEM
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
<!-- x-release-please-start-version -->

```ruby
gem "increase", "~> 1.69.0"
gem "increase", "~> 1.70.0"
```

<!-- x-release-please-end -->
Expand Down
13 changes: 12 additions & 1 deletion lib/increase/models/entity_update_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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.
#
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/increase/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Increase
VERSION = "1.69.0"
VERSION = "1.70.0"
end
17 changes: 17 additions & 0 deletions rbi/increase/models/entity_update_params.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -174,13 +184,19 @@ module Increase
sig do
params(
address: Increase::EntityUpdateParams::Corporation::Address::OrHash,
industry_code: String,
name: String
).returns(T.attached_class)
end
def self.new(
# 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
)
Expand All @@ -190,6 +206,7 @@ module Increase
override.returns(
{
address: Increase::EntityUpdateParams::Corporation::Address,
industry_code: String,
name: String
}
)
Expand Down
7 changes: 7 additions & 0 deletions sig/increase/models/entity_update_params.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ module Increase
type corporation =
{
address: Increase::EntityUpdateParams::Corporation::Address,
industry_code: String,
name: String
}

Expand All @@ -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
}

Expand Down