increase 1.273.0 → 1.274.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1370e7e135405ee51eed703e228cfd3ff84dfd6512b4f6c0a5f54808b4963f13
4
- data.tar.gz: 707d0dabe7b19967c30d4c220ee8a5e68b49b663c457e2c33f80e149b908b96c
3
+ metadata.gz: c35619317fe72a4ede5f3214a7f73749f76a30d01a42b6a546cbf078e57bc827
4
+ data.tar.gz: 38ca809bcf8027adfaf609f94e7bb835039f4a14d2eb502087813c95683c5cab
5
5
  SHA512:
6
- metadata.gz: df06e439ab9ccb20ec7345fef7653a372ede392cc8f76a4673892dbadc1948046ce376d2f2f4646de1b8a307b9eb7421130bc4f605d035a6f0381a9187a2a253
7
- data.tar.gz: 073a5420d9a1f04bdf0c883af5454b5502fda0a325f5adfd9a850ac67e7f3fa0b01e977783f9372183ad7734df86f5ddf2f08d171101ac7bb97a812575d915f5
6
+ metadata.gz: ecba2473e9b8371aa408255786e62f3a848dfaa84cc660783e8234a7da4628c9e03c67edab9684a3a4bceafb7dceb306a9adf4be77d1eac5d8009cdcda377570
7
+ data.tar.gz: 5356376a78dd1a05e2d5bdaabe2ed85a8e7ed9b89ec4558da0408a22f6ea83d0436606b4c364ea9712f90ed0eebace93f88b5bc4d6f4eeeeb0a075499e86994e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.274.0 (2026-03-27)
4
+
5
+ Full Changelog: [v1.273.0...v1.274.0](https://github.com/Increase/increase-ruby/compare/v1.273.0...v1.274.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([c97e84a](https://github.com/Increase/increase-ruby/commit/c97e84a225a22d2bb38919222893a5082bd75fd7))
10
+
3
11
  ## 1.273.0 (2026-03-26)
4
12
 
5
13
  Full Changelog: [v1.272.0...v1.273.0](https://github.com/Increase/increase-ruby/compare/v1.272.0...v1.273.0)
data/README.md CHANGED
@@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
15
15
  <!-- x-release-please-start-version -->
16
16
 
17
17
  ```ruby
18
- gem "increase", "~> 1.273.0"
18
+ gem "increase", "~> 1.274.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -1825,7 +1825,7 @@ module Increase
1825
1825
  module Category
1826
1826
  extend Increase::Internal::Type::Enum
1827
1827
 
1828
- # The entity's tax identifier could not be validated. Update the tax ID with the [update an entity API](/documentation/api/entities#update-an-entity.corporation.tax_identifier).
1828
+ # The entity's tax identifier could not be validated. Update the tax ID with the [update an entity API](/documentation/api/entities#update-an-entity.corporation.legal_identifier).
1829
1829
  ENTITY_TAX_IDENTIFIER = :entity_tax_identifier
1830
1830
 
1831
1831
  # The entity's address could not be validated. Update the address with the [update an entity API](/documentation/api/entities#update-an-entity.corporation.address).
@@ -117,19 +117,20 @@ module Increase
117
117
  # @return [String, nil]
118
118
  optional :industry_code, String
119
119
 
120
+ # @!attribute legal_identifier
121
+ # The legal identifier of the corporation. This is usually the Employer
122
+ # Identification Number (EIN).
123
+ #
124
+ # @return [Increase::Models::EntityUpdateParams::Corporation::LegalIdentifier, nil]
125
+ optional :legal_identifier, -> { Increase::EntityUpdateParams::Corporation::LegalIdentifier }
126
+
120
127
  # @!attribute name
121
128
  # The legal name of the corporation.
122
129
  #
123
130
  # @return [String, nil]
124
131
  optional :name, String
125
132
 
126
- # @!attribute tax_identifier
127
- # The Employer Identification Number (EIN) for the corporation.
128
- #
129
- # @return [String, nil]
130
- optional :tax_identifier, String
131
-
132
- # @!method initialize(address: nil, email: nil, incorporation_state: nil, industry_code: nil, name: nil, tax_identifier: nil)
133
+ # @!method initialize(address: nil, email: nil, incorporation_state: nil, industry_code: nil, legal_identifier: nil, name: nil)
133
134
  # Some parameter documentations has been truncated, see
134
135
  # {Increase::Models::EntityUpdateParams::Corporation} for more details.
135
136
  #
@@ -144,9 +145,9 @@ module Increase
144
145
  #
145
146
  # @param industry_code [String] The North American Industry Classification System (NAICS) code for the corporati
146
147
  #
147
- # @param name [String] The legal name of the corporation.
148
+ # @param legal_identifier [Increase::Models::EntityUpdateParams::Corporation::LegalIdentifier] The legal identifier of the corporation. This is usually the Employer Identifica
148
149
  #
149
- # @param tax_identifier [String] The Employer Identification Number (EIN) for the corporation.
150
+ # @param name [String] The legal name of the corporation.
150
151
 
151
152
  # @see Increase::Models::EntityUpdateParams::Corporation#address
152
153
  class Address < Increase::Internal::Type::BaseModel
@@ -206,6 +207,45 @@ module Increase
206
207
  #
207
208
  # @param zip [String] The ZIP or postal code of the address. Required in certain countries.
208
209
  end
210
+
211
+ # @see Increase::Models::EntityUpdateParams::Corporation#legal_identifier
212
+ class LegalIdentifier < Increase::Internal::Type::BaseModel
213
+ # @!attribute value
214
+ # The identifier of the legal identifier.
215
+ #
216
+ # @return [String]
217
+ required :value, String
218
+
219
+ # @!attribute category
220
+ # The category of the legal identifier.
221
+ #
222
+ # @return [Symbol, Increase::Models::EntityUpdateParams::Corporation::LegalIdentifier::Category, nil]
223
+ optional :category, enum: -> { Increase::EntityUpdateParams::Corporation::LegalIdentifier::Category }
224
+
225
+ # @!method initialize(value:, category: nil)
226
+ # The legal identifier of the corporation. This is usually the Employer
227
+ # Identification Number (EIN).
228
+ #
229
+ # @param value [String] The identifier of the legal identifier.
230
+ #
231
+ # @param category [Symbol, Increase::Models::EntityUpdateParams::Corporation::LegalIdentifier::Category] The category of the legal identifier.
232
+
233
+ # The category of the legal identifier.
234
+ #
235
+ # @see Increase::Models::EntityUpdateParams::Corporation::LegalIdentifier#category
236
+ module Category
237
+ extend Increase::Internal::Type::Enum
238
+
239
+ # The Employer Identification Number (EIN) for the company. The EIN is a 9-digit number assigned by the IRS.
240
+ US_EMPLOYER_IDENTIFICATION_NUMBER = :us_employer_identification_number
241
+
242
+ # A legal identifier issued by a foreign government, like a tax identification number or registration number.
243
+ OTHER = :other
244
+
245
+ # @!method self.values
246
+ # @return [Array<Symbol>]
247
+ end
248
+ end
209
249
  end
210
250
 
211
251
  class GovernmentAuthority < Increase::Internal::Type::BaseModel
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.273.0"
4
+ VERSION = "1.274.0"
5
5
  end
@@ -3211,7 +3211,7 @@ module Increase
3211
3211
  end
3212
3212
  OrSymbol = T.type_alias { T.any(Symbol, String) }
3213
3213
 
3214
- # The entity's tax identifier could not be validated. Update the tax ID with the [update an entity API](/documentation/api/entities#update-an-entity.corporation.tax_identifier).
3214
+ # The entity's tax identifier could not be validated. Update the tax ID with the [update an entity API](/documentation/api/entities#update-an-entity.corporation.legal_identifier).
3215
3215
  ENTITY_TAX_IDENTIFIER =
3216
3216
  T.let(
3217
3217
  :entity_tax_identifier,
@@ -213,6 +213,25 @@ module Increase
213
213
  sig { params(industry_code: String).void }
214
214
  attr_writer :industry_code
215
215
 
216
+ # The legal identifier of the corporation. This is usually the Employer
217
+ # Identification Number (EIN).
218
+ sig do
219
+ returns(
220
+ T.nilable(
221
+ Increase::EntityUpdateParams::Corporation::LegalIdentifier
222
+ )
223
+ )
224
+ end
225
+ attr_reader :legal_identifier
226
+
227
+ sig do
228
+ params(
229
+ legal_identifier:
230
+ Increase::EntityUpdateParams::Corporation::LegalIdentifier::OrHash
231
+ ).void
232
+ end
233
+ attr_writer :legal_identifier
234
+
216
235
  # The legal name of the corporation.
217
236
  sig { returns(T.nilable(String)) }
218
237
  attr_reader :name
@@ -220,13 +239,6 @@ module Increase
220
239
  sig { params(name: String).void }
221
240
  attr_writer :name
222
241
 
223
- # The Employer Identification Number (EIN) for the corporation.
224
- sig { returns(T.nilable(String)) }
225
- attr_reader :tax_identifier
226
-
227
- sig { params(tax_identifier: String).void }
228
- attr_writer :tax_identifier
229
-
230
242
  # Details of the corporation entity to update. If you specify this parameter and
231
243
  # the entity is not a corporation, the request will fail.
232
244
  sig do
@@ -235,8 +247,9 @@ module Increase
235
247
  email: String,
236
248
  incorporation_state: String,
237
249
  industry_code: String,
238
- name: String,
239
- tax_identifier: String
250
+ legal_identifier:
251
+ Increase::EntityUpdateParams::Corporation::LegalIdentifier::OrHash,
252
+ name: String
240
253
  ).returns(T.attached_class)
241
254
  end
242
255
  def self.new(
@@ -254,10 +267,11 @@ module Increase
254
267
  # `Software Publishers`. A full list of classification codes is available
255
268
  # [here](https://increase.com/documentation/data-dictionary#north-american-industry-classification-system-codes).
256
269
  industry_code: nil,
270
+ # The legal identifier of the corporation. This is usually the Employer
271
+ # Identification Number (EIN).
272
+ legal_identifier: nil,
257
273
  # The legal name of the corporation.
258
- name: nil,
259
- # The Employer Identification Number (EIN) for the corporation.
260
- tax_identifier: nil
274
+ name: nil
261
275
  )
262
276
  end
263
277
 
@@ -268,8 +282,9 @@ module Increase
268
282
  email: String,
269
283
  incorporation_state: String,
270
284
  industry_code: String,
271
- name: String,
272
- tax_identifier: String
285
+ legal_identifier:
286
+ Increase::EntityUpdateParams::Corporation::LegalIdentifier,
287
+ name: String
273
288
  }
274
289
  )
275
290
  end
@@ -363,6 +378,105 @@ module Increase
363
378
  def to_hash
364
379
  end
365
380
  end
381
+
382
+ class LegalIdentifier < Increase::Internal::Type::BaseModel
383
+ OrHash =
384
+ T.type_alias do
385
+ T.any(
386
+ Increase::EntityUpdateParams::Corporation::LegalIdentifier,
387
+ Increase::Internal::AnyHash
388
+ )
389
+ end
390
+
391
+ # The identifier of the legal identifier.
392
+ sig { returns(String) }
393
+ attr_accessor :value
394
+
395
+ # The category of the legal identifier.
396
+ sig do
397
+ returns(
398
+ T.nilable(
399
+ Increase::EntityUpdateParams::Corporation::LegalIdentifier::Category::OrSymbol
400
+ )
401
+ )
402
+ end
403
+ attr_reader :category
404
+
405
+ sig do
406
+ params(
407
+ category:
408
+ Increase::EntityUpdateParams::Corporation::LegalIdentifier::Category::OrSymbol
409
+ ).void
410
+ end
411
+ attr_writer :category
412
+
413
+ # The legal identifier of the corporation. This is usually the Employer
414
+ # Identification Number (EIN).
415
+ sig do
416
+ params(
417
+ value: String,
418
+ category:
419
+ Increase::EntityUpdateParams::Corporation::LegalIdentifier::Category::OrSymbol
420
+ ).returns(T.attached_class)
421
+ end
422
+ def self.new(
423
+ # The identifier of the legal identifier.
424
+ value:,
425
+ # The category of the legal identifier.
426
+ category: nil
427
+ )
428
+ end
429
+
430
+ sig do
431
+ override.returns(
432
+ {
433
+ value: String,
434
+ category:
435
+ Increase::EntityUpdateParams::Corporation::LegalIdentifier::Category::OrSymbol
436
+ }
437
+ )
438
+ end
439
+ def to_hash
440
+ end
441
+
442
+ # The category of the legal identifier.
443
+ module Category
444
+ extend Increase::Internal::Type::Enum
445
+
446
+ TaggedSymbol =
447
+ T.type_alias do
448
+ T.all(
449
+ Symbol,
450
+ Increase::EntityUpdateParams::Corporation::LegalIdentifier::Category
451
+ )
452
+ end
453
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
454
+
455
+ # The Employer Identification Number (EIN) for the company. The EIN is a 9-digit number assigned by the IRS.
456
+ US_EMPLOYER_IDENTIFICATION_NUMBER =
457
+ T.let(
458
+ :us_employer_identification_number,
459
+ Increase::EntityUpdateParams::Corporation::LegalIdentifier::Category::TaggedSymbol
460
+ )
461
+
462
+ # A legal identifier issued by a foreign government, like a tax identification number or registration number.
463
+ OTHER =
464
+ T.let(
465
+ :other,
466
+ Increase::EntityUpdateParams::Corporation::LegalIdentifier::Category::TaggedSymbol
467
+ )
468
+
469
+ sig do
470
+ override.returns(
471
+ T::Array[
472
+ Increase::EntityUpdateParams::Corporation::LegalIdentifier::Category::TaggedSymbol
473
+ ]
474
+ )
475
+ end
476
+ def self.values
477
+ end
478
+ end
479
+ end
366
480
  end
367
481
 
368
482
  class GovernmentAuthority < Increase::Internal::Type::BaseModel
@@ -1441,7 +1441,7 @@ module Increase
1441
1441
  module Category
1442
1442
  extend Increase::Internal::Type::Enum
1443
1443
 
1444
- # The entity's tax identifier could not be validated. Update the tax ID with the [update an entity API](/documentation/api/entities#update-an-entity.corporation.tax_identifier).
1444
+ # The entity's tax identifier could not be validated. Update the tax ID with the [update an entity API](/documentation/api/entities#update-an-entity.corporation.legal_identifier).
1445
1445
  ENTITY_TAX_IDENTIFIER: :entity_tax_identifier
1446
1446
 
1447
1447
  # The entity's address could not be validated. Update the address with the [update an entity API](/documentation/api/entities#update-an-entity.corporation.address).
@@ -89,8 +89,8 @@ module Increase
89
89
  email: String,
90
90
  incorporation_state: String,
91
91
  industry_code: String,
92
- name: String,
93
- tax_identifier: String
92
+ legal_identifier: Increase::EntityUpdateParams::Corporation::LegalIdentifier,
93
+ name: String
94
94
  }
95
95
 
96
96
  class Corporation < Increase::Internal::Type::BaseModel
@@ -112,21 +112,23 @@ module Increase
112
112
 
113
113
  def industry_code=: (String) -> String
114
114
 
115
- attr_reader name: String?
115
+ attr_reader legal_identifier: Increase::EntityUpdateParams::Corporation::LegalIdentifier?
116
116
 
117
- def name=: (String) -> String
117
+ def legal_identifier=: (
118
+ Increase::EntityUpdateParams::Corporation::LegalIdentifier
119
+ ) -> Increase::EntityUpdateParams::Corporation::LegalIdentifier
118
120
 
119
- attr_reader tax_identifier: String?
121
+ attr_reader name: String?
120
122
 
121
- def tax_identifier=: (String) -> String
123
+ def name=: (String) -> String
122
124
 
123
125
  def initialize: (
124
126
  ?address: Increase::EntityUpdateParams::Corporation::Address,
125
127
  ?email: String,
126
128
  ?incorporation_state: String,
127
129
  ?industry_code: String,
128
- ?name: String,
129
- ?tax_identifier: String
130
+ ?legal_identifier: Increase::EntityUpdateParams::Corporation::LegalIdentifier,
131
+ ?name: String
130
132
  ) -> void
131
133
 
132
134
  def to_hash: -> {
@@ -134,8 +136,8 @@ module Increase
134
136
  email: String,
135
137
  incorporation_state: String,
136
138
  industry_code: String,
137
- name: String,
138
- tax_identifier: String
139
+ legal_identifier: Increase::EntityUpdateParams::Corporation::LegalIdentifier,
140
+ name: String
139
141
  }
140
142
 
141
143
  type address =
@@ -185,6 +187,46 @@ module Increase
185
187
  zip: String
186
188
  }
187
189
  end
190
+
191
+ type legal_identifier =
192
+ {
193
+ value: String,
194
+ category: Increase::Models::EntityUpdateParams::Corporation::LegalIdentifier::category
195
+ }
196
+
197
+ class LegalIdentifier < Increase::Internal::Type::BaseModel
198
+ attr_accessor value: String
199
+
200
+ attr_reader category: Increase::Models::EntityUpdateParams::Corporation::LegalIdentifier::category?
201
+
202
+ def category=: (
203
+ Increase::Models::EntityUpdateParams::Corporation::LegalIdentifier::category
204
+ ) -> Increase::Models::EntityUpdateParams::Corporation::LegalIdentifier::category
205
+
206
+ def initialize: (
207
+ value: String,
208
+ ?category: Increase::Models::EntityUpdateParams::Corporation::LegalIdentifier::category
209
+ ) -> void
210
+
211
+ def to_hash: -> {
212
+ value: String,
213
+ category: Increase::Models::EntityUpdateParams::Corporation::LegalIdentifier::category
214
+ }
215
+
216
+ type category = :us_employer_identification_number | :other
217
+
218
+ module Category
219
+ extend Increase::Internal::Type::Enum
220
+
221
+ # The Employer Identification Number (EIN) for the company. The EIN is a 9-digit number assigned by the IRS.
222
+ US_EMPLOYER_IDENTIFICATION_NUMBER: :us_employer_identification_number
223
+
224
+ # A legal identifier issued by a foreign government, like a tax identification number or registration number.
225
+ OTHER: :other
226
+
227
+ def self?.values: -> ::Array[Increase::Models::EntityUpdateParams::Corporation::LegalIdentifier::category]
228
+ end
229
+ end
188
230
  end
189
231
 
190
232
  type government_authority =
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: increase
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.273.0
4
+ version: 1.274.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Increase
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-03-26 00:00:00.000000000 Z
11
+ date: 2026-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi