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.159.0"
".": "1.160.0"
}
6 changes: 3 additions & 3 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -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
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-6b5ac6804e3261a05214c5891c95222ef1b5e9003f211ab32db1d03a7531835a.yml
openapi_spec_hash: 611c8d38ba7122a428f57f3069aac84a
config_hash: ff2eb5f192b4de36611b37b27961c2d8
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
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.159.0)
increase (1.160.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.159.0"
gem "increase", "~> 1.160.0"
```

<!-- x-release-please-end -->
Expand Down
10 changes: 9 additions & 1 deletion lib/increase/models/entity.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
#
Expand All @@ -212,6 +218,8 @@ class Corporation < Increase::Internal::Type::BaseModel
#
# @param beneficial_owners [Array<Increase::Models::Entity::Corporation::BeneficialOwner>] 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
Expand Down
11 changes: 10 additions & 1 deletion lib/increase/models/entity_create_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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.
#
Expand All @@ -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
Expand Down
11 changes: 10 additions & 1 deletion lib/increase/models/entity_update_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
#
Expand All @@ -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.
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.159.0"
VERSION = "1.160.0"
end
8 changes: 8 additions & 0 deletions rbi/increase/models/entity.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -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)) }
Expand Down Expand Up @@ -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,
Expand All @@ -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:,
Expand All @@ -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,
Expand Down
13 changes: 13 additions & 0 deletions rbi/increase/models/entity_create_params.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -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)) }
Expand Down Expand Up @@ -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
Expand All @@ -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,
Expand All @@ -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
Expand Down
13 changes: 13 additions & 0 deletions rbi/increase/models/entity_update_params.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
Expand All @@ -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
Expand All @@ -223,6 +235,7 @@ module Increase
override.returns(
{
address: Increase::EntityUpdateParams::Corporation::Address,
email: String,
industry_code: String,
name: String
}
Expand Down
5 changes: 5 additions & 0 deletions sig/increase/models/entity.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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?
Expand All @@ -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,
Expand All @@ -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,
Expand Down
7 changes: 7 additions & 0 deletions sig/increase/models/entity_create_params.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
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 @@ -81,6 +81,7 @@ module Increase
type corporation =
{
address: Increase::EntityUpdateParams::Corporation::Address,
email: String,
industry_code: String,
name: String
}
Expand All @@ -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
Expand All @@ -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
}
Expand Down