increase 1.270.0 → 1.271.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: 9810bec20a0581c5123686f866337bcad786487dd19fb755a93a7168e5ccc0fa
4
- data.tar.gz: d7f641485de3fbc2ab14677c70634d758e1c60a4846f5fbea5e49820f94b4781
3
+ metadata.gz: fc76d34f7a1a64f3e3ef4c8c5f3007d578c990f6a06ccdc40eae691debb4c2d2
4
+ data.tar.gz: 66eed09be0f3b0c19e5a69ca677b2d4523b39b6b9db1f7708d169e7344d32c99
5
5
  SHA512:
6
- metadata.gz: ad76bb8fc909c2c1b0fb8e245ce2d9bef3426d34d6f2e8334c2e8286eeef68bd6d2546a97deaf0c82e78f51cd6cbc8d6078f2e145bab1348464342c5a2c22196
7
- data.tar.gz: 208eb7838cea02bfc67fede515c220105b74c8499e72e5133ce21a74ff33bc20954ef93c2ef523b6d2d9dee6cba95b784faa0f9ed9d3b7b19af7d6e7a7ed836a
6
+ metadata.gz: 4cc793998c694151cd475c64bf4e1ab1a4d3f56409ef94d2d289b2837d7e70c842dcf6a5540e21a03ce70c85bece9ad3d6c4c991e8fa8a7cd3a426196ab88d21
7
+ data.tar.gz: ac7dbb2d85b3d0bc5fa5db7df816ed795fc08b70576666b124a064a9dd739a767213519211be29b5bf609ba8f6c141cb57a62087ebbe9c480e2df2a232eeae1c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.271.0 (2026-03-25)
4
+
5
+ Full Changelog: [v1.270.0...v1.271.0](https://github.com/Increase/increase-ruby/compare/v1.270.0...v1.271.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([c842962](https://github.com/Increase/increase-ruby/commit/c842962434294d2c84984a7c0b4315e0195e1a3a))
10
+
3
11
  ## 1.270.0 (2026-03-25)
4
12
 
5
13
  Full Changelog: [v1.269.0...v1.270.0](https://github.com/Increase/increase-ruby/compare/v1.269.0...v1.270.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.270.0"
18
+ gem "increase", "~> 1.271.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -208,25 +208,25 @@ module Increase
208
208
  # @return [String, nil]
209
209
  required :industry_code, String, nil?: true
210
210
 
211
+ # @!attribute legal_identifier
212
+ # The legal identifier of the corporation.
213
+ #
214
+ # @return [Increase::Models::Entity::Corporation::LegalIdentifier, nil]
215
+ required :legal_identifier, -> { Increase::Entity::Corporation::LegalIdentifier }, nil?: true
216
+
211
217
  # @!attribute name
212
218
  # The legal name of the corporation.
213
219
  #
214
220
  # @return [String]
215
221
  required :name, String
216
222
 
217
- # @!attribute tax_identifier
218
- # The Employer Identification Number (EIN) for the corporation.
219
- #
220
- # @return [String, nil]
221
- required :tax_identifier, String, nil?: true
222
-
223
223
  # @!attribute website
224
224
  # The website of the corporation.
225
225
  #
226
226
  # @return [String, nil]
227
227
  required :website, String, nil?: true
228
228
 
229
- # @!method initialize(address:, beneficial_owners:, email:, incorporation_state:, industry_code:, name:, tax_identifier:, website:)
229
+ # @!method initialize(address:, beneficial_owners:, email:, incorporation_state:, industry_code:, legal_identifier:, name:, website:)
230
230
  # Some parameter documentations has been truncated, see
231
231
  # {Increase::Models::Entity::Corporation} for more details.
232
232
  #
@@ -243,9 +243,9 @@ module Increase
243
243
  #
244
244
  # @param industry_code [String, nil] The numeric North American Industry Classification System (NAICS) code submitted
245
245
  #
246
- # @param name [String] The legal name of the corporation.
246
+ # @param legal_identifier [Increase::Models::Entity::Corporation::LegalIdentifier, nil] The legal identifier of the corporation.
247
247
  #
248
- # @param tax_identifier [String, nil] The Employer Identification Number (EIN) for the corporation.
248
+ # @param name [String] The legal name of the corporation.
249
249
  #
250
250
  # @param website [String, nil] The website of the corporation.
251
251
 
@@ -501,6 +501,44 @@ module Increase
501
501
  # @return [Array<Symbol>]
502
502
  end
503
503
  end
504
+
505
+ # @see Increase::Models::Entity::Corporation#legal_identifier
506
+ class LegalIdentifier < Increase::Internal::Type::BaseModel
507
+ # @!attribute category
508
+ # The category of the legal identifier.
509
+ #
510
+ # @return [Symbol, Increase::Models::Entity::Corporation::LegalIdentifier::Category]
511
+ required :category, enum: -> { Increase::Entity::Corporation::LegalIdentifier::Category }
512
+
513
+ # @!attribute value
514
+ # The identifier of the legal identifier.
515
+ #
516
+ # @return [String]
517
+ required :value, String
518
+
519
+ # @!method initialize(category:, value:)
520
+ # The legal identifier of the corporation.
521
+ #
522
+ # @param category [Symbol, Increase::Models::Entity::Corporation::LegalIdentifier::Category] The category of the legal identifier.
523
+ #
524
+ # @param value [String] The identifier of the legal identifier.
525
+
526
+ # The category of the legal identifier.
527
+ #
528
+ # @see Increase::Models::Entity::Corporation::LegalIdentifier#category
529
+ module Category
530
+ extend Increase::Internal::Type::Enum
531
+
532
+ # The Employer Identification Number (EIN) for the company. The EIN is a 9-digit number assigned by the IRS.
533
+ US_EMPLOYER_IDENTIFICATION_NUMBER = :us_employer_identification_number
534
+
535
+ # A legal identifier issued by a foreign government, like a tax identification number or registration number.
536
+ OTHER = :other
537
+
538
+ # @!method self.values
539
+ # @return [Array<Symbol>]
540
+ end
541
+ end
504
542
  end
505
543
 
506
544
  # @see Increase::Models::Entity#government_authority
@@ -154,18 +154,19 @@ module Increase
154
154
  required :beneficial_owners,
155
155
  -> { Increase::Internal::Type::ArrayOf[Increase::EntityCreateParams::Corporation::BeneficialOwner] }
156
156
 
157
+ # @!attribute legal_identifier
158
+ # The legal identifier of the corporation. This is usually the Employer
159
+ # Identification Number (EIN).
160
+ #
161
+ # @return [Increase::Models::EntityCreateParams::Corporation::LegalIdentifier]
162
+ required :legal_identifier, -> { Increase::EntityCreateParams::Corporation::LegalIdentifier }
163
+
157
164
  # @!attribute name
158
165
  # The legal name of the corporation.
159
166
  #
160
167
  # @return [String]
161
168
  required :name, String
162
169
 
163
- # @!attribute tax_identifier
164
- # The Employer Identification Number (EIN) for the corporation.
165
- #
166
- # @return [String]
167
- required :tax_identifier, String
168
-
169
170
  # @!attribute beneficial_ownership_exemption_reason
170
171
  # If the entity is exempt from the requirement to submit beneficial owners,
171
172
  # provide the justification. If a reason is provided, you do not need to submit a
@@ -204,7 +205,7 @@ module Increase
204
205
  # @return [String, nil]
205
206
  optional :website, String
206
207
 
207
- # @!method initialize(address:, beneficial_owners:, name:, tax_identifier:, beneficial_ownership_exemption_reason: nil, email: nil, incorporation_state: nil, industry_code: nil, website: nil)
208
+ # @!method initialize(address:, beneficial_owners:, legal_identifier:, name:, beneficial_ownership_exemption_reason: nil, email: nil, incorporation_state: nil, industry_code: nil, website: nil)
208
209
  # Some parameter documentations has been truncated, see
209
210
  # {Increase::Models::EntityCreateParams::Corporation} for more details.
210
211
  #
@@ -215,9 +216,9 @@ module Increase
215
216
  #
216
217
  # @param beneficial_owners [Array<Increase::Models::EntityCreateParams::Corporation::BeneficialOwner>] The identifying details of each person who owns 25% or more of the business and
217
218
  #
218
- # @param name [String] The legal name of the corporation.
219
+ # @param legal_identifier [Increase::Models::EntityCreateParams::Corporation::LegalIdentifier] The legal identifier of the corporation. This is usually the Employer Identifica
219
220
  #
220
- # @param tax_identifier [String] The Employer Identification Number (EIN) for the corporation.
221
+ # @param name [String] The legal name of the corporation.
221
222
  #
222
223
  # @param beneficial_ownership_exemption_reason [Symbol, Increase::Models::EntityCreateParams::Corporation::BeneficialOwnershipExemptionReason] If the entity is exempt from the requirement to submit beneficial owners, provid
223
224
  #
@@ -656,6 +657,51 @@ module Increase
656
657
  end
657
658
  end
658
659
 
660
+ # @see Increase::Models::EntityCreateParams::Corporation#legal_identifier
661
+ class LegalIdentifier < Increase::Internal::Type::BaseModel
662
+ # @!attribute value
663
+ # The legal identifier.
664
+ #
665
+ # @return [String]
666
+ required :value, String
667
+
668
+ # @!attribute category
669
+ # The category of the legal identifier. If not provided, the default is
670
+ # `us_employer_identification_number`.
671
+ #
672
+ # @return [Symbol, Increase::Models::EntityCreateParams::Corporation::LegalIdentifier::Category, nil]
673
+ optional :category, enum: -> { Increase::EntityCreateParams::Corporation::LegalIdentifier::Category }
674
+
675
+ # @!method initialize(value:, category: nil)
676
+ # Some parameter documentations has been truncated, see
677
+ # {Increase::Models::EntityCreateParams::Corporation::LegalIdentifier} for more
678
+ # details.
679
+ #
680
+ # The legal identifier of the corporation. This is usually the Employer
681
+ # Identification Number (EIN).
682
+ #
683
+ # @param value [String] The legal identifier.
684
+ #
685
+ # @param category [Symbol, Increase::Models::EntityCreateParams::Corporation::LegalIdentifier::Category] The category of the legal identifier. If not provided, the default is `us_employ
686
+
687
+ # The category of the legal identifier. If not provided, the default is
688
+ # `us_employer_identification_number`.
689
+ #
690
+ # @see Increase::Models::EntityCreateParams::Corporation::LegalIdentifier#category
691
+ module Category
692
+ extend Increase::Internal::Type::Enum
693
+
694
+ # The Employer Identification Number (EIN) for the company. The EIN is a 9-digit number assigned by the IRS.
695
+ US_EMPLOYER_IDENTIFICATION_NUMBER = :us_employer_identification_number
696
+
697
+ # A legal identifier issued by a foreign government, like a tax identification number or registration number.
698
+ OTHER = :other
699
+
700
+ # @!method self.values
701
+ # @return [Array<Symbol>]
702
+ end
703
+ end
704
+
659
705
  # If the entity is exempt from the requirement to submit beneficial owners,
660
706
  # provide the justification. If a reason is provided, you do not need to submit a
661
707
  # list of beneficial owners.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.270.0"
4
+ VERSION = "1.271.0"
5
5
  end
@@ -290,14 +290,24 @@ module Increase
290
290
  sig { returns(T.nilable(String)) }
291
291
  attr_accessor :industry_code
292
292
 
293
+ # The legal identifier of the corporation.
294
+ sig do
295
+ returns(T.nilable(Increase::Entity::Corporation::LegalIdentifier))
296
+ end
297
+ attr_reader :legal_identifier
298
+
299
+ sig do
300
+ params(
301
+ legal_identifier:
302
+ T.nilable(Increase::Entity::Corporation::LegalIdentifier::OrHash)
303
+ ).void
304
+ end
305
+ attr_writer :legal_identifier
306
+
293
307
  # The legal name of the corporation.
294
308
  sig { returns(String) }
295
309
  attr_accessor :name
296
310
 
297
- # The Employer Identification Number (EIN) for the corporation.
298
- sig { returns(T.nilable(String)) }
299
- attr_accessor :tax_identifier
300
-
301
311
  # The website of the corporation.
302
312
  sig { returns(T.nilable(String)) }
303
313
  attr_accessor :website
@@ -312,8 +322,9 @@ module Increase
312
322
  email: T.nilable(String),
313
323
  incorporation_state: T.nilable(String),
314
324
  industry_code: T.nilable(String),
325
+ legal_identifier:
326
+ T.nilable(Increase::Entity::Corporation::LegalIdentifier::OrHash),
315
327
  name: String,
316
- tax_identifier: T.nilable(String),
317
328
  website: T.nilable(String)
318
329
  ).returns(T.attached_class)
319
330
  end
@@ -331,10 +342,10 @@ module Increase
331
342
  # The numeric North American Industry Classification System (NAICS) code submitted
332
343
  # for the corporation.
333
344
  industry_code:,
345
+ # The legal identifier of the corporation.
346
+ legal_identifier:,
334
347
  # The legal name of the corporation.
335
348
  name:,
336
- # The Employer Identification Number (EIN) for the corporation.
337
- tax_identifier:,
338
349
  # The website of the corporation.
339
350
  website:
340
351
  )
@@ -349,8 +360,9 @@ module Increase
349
360
  email: T.nilable(String),
350
361
  incorporation_state: T.nilable(String),
351
362
  industry_code: T.nilable(String),
363
+ legal_identifier:
364
+ T.nilable(Increase::Entity::Corporation::LegalIdentifier),
352
365
  name: String,
353
- tax_identifier: T.nilable(String),
354
366
  website: T.nilable(String)
355
367
  }
356
368
  )
@@ -824,6 +836,94 @@ module Increase
824
836
  end
825
837
  end
826
838
  end
839
+
840
+ class LegalIdentifier < Increase::Internal::Type::BaseModel
841
+ OrHash =
842
+ T.type_alias do
843
+ T.any(
844
+ Increase::Entity::Corporation::LegalIdentifier,
845
+ Increase::Internal::AnyHash
846
+ )
847
+ end
848
+
849
+ # The category of the legal identifier.
850
+ sig do
851
+ returns(
852
+ Increase::Entity::Corporation::LegalIdentifier::Category::TaggedSymbol
853
+ )
854
+ end
855
+ attr_accessor :category
856
+
857
+ # The identifier of the legal identifier.
858
+ sig { returns(String) }
859
+ attr_accessor :value
860
+
861
+ # The legal identifier of the corporation.
862
+ sig do
863
+ params(
864
+ category:
865
+ Increase::Entity::Corporation::LegalIdentifier::Category::OrSymbol,
866
+ value: String
867
+ ).returns(T.attached_class)
868
+ end
869
+ def self.new(
870
+ # The category of the legal identifier.
871
+ category:,
872
+ # The identifier of the legal identifier.
873
+ value:
874
+ )
875
+ end
876
+
877
+ sig do
878
+ override.returns(
879
+ {
880
+ category:
881
+ Increase::Entity::Corporation::LegalIdentifier::Category::TaggedSymbol,
882
+ value: String
883
+ }
884
+ )
885
+ end
886
+ def to_hash
887
+ end
888
+
889
+ # The category of the legal identifier.
890
+ module Category
891
+ extend Increase::Internal::Type::Enum
892
+
893
+ TaggedSymbol =
894
+ T.type_alias do
895
+ T.all(
896
+ Symbol,
897
+ Increase::Entity::Corporation::LegalIdentifier::Category
898
+ )
899
+ end
900
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
901
+
902
+ # The Employer Identification Number (EIN) for the company. The EIN is a 9-digit number assigned by the IRS.
903
+ US_EMPLOYER_IDENTIFICATION_NUMBER =
904
+ T.let(
905
+ :us_employer_identification_number,
906
+ Increase::Entity::Corporation::LegalIdentifier::Category::TaggedSymbol
907
+ )
908
+
909
+ # A legal identifier issued by a foreign government, like a tax identification number or registration number.
910
+ OTHER =
911
+ T.let(
912
+ :other,
913
+ Increase::Entity::Corporation::LegalIdentifier::Category::TaggedSymbol
914
+ )
915
+
916
+ sig do
917
+ override.returns(
918
+ T::Array[
919
+ Increase::Entity::Corporation::LegalIdentifier::Category::TaggedSymbol
920
+ ]
921
+ )
922
+ end
923
+ def self.values
924
+ end
925
+ end
926
+ end
827
927
  end
828
928
 
829
929
  class GovernmentAuthority < Increase::Internal::Type::BaseModel
@@ -306,14 +306,25 @@ module Increase
306
306
  end
307
307
  attr_accessor :beneficial_owners
308
308
 
309
+ # The legal identifier of the corporation. This is usually the Employer
310
+ # Identification Number (EIN).
311
+ sig do
312
+ returns(Increase::EntityCreateParams::Corporation::LegalIdentifier)
313
+ end
314
+ attr_reader :legal_identifier
315
+
316
+ sig do
317
+ params(
318
+ legal_identifier:
319
+ Increase::EntityCreateParams::Corporation::LegalIdentifier::OrHash
320
+ ).void
321
+ end
322
+ attr_writer :legal_identifier
323
+
309
324
  # The legal name of the corporation.
310
325
  sig { returns(String) }
311
326
  attr_accessor :name
312
327
 
313
- # The Employer Identification Number (EIN) for the corporation.
314
- sig { returns(String) }
315
- attr_accessor :tax_identifier
316
-
317
328
  # If the entity is exempt from the requirement to submit beneficial owners,
318
329
  # provide the justification. If a reason is provided, you do not need to submit a
319
330
  # list of beneficial owners.
@@ -376,8 +387,9 @@ module Increase
376
387
  T::Array[
377
388
  Increase::EntityCreateParams::Corporation::BeneficialOwner::OrHash
378
389
  ],
390
+ legal_identifier:
391
+ Increase::EntityCreateParams::Corporation::LegalIdentifier::OrHash,
379
392
  name: String,
380
- tax_identifier: String,
381
393
  beneficial_ownership_exemption_reason:
382
394
  Increase::EntityCreateParams::Corporation::BeneficialOwnershipExemptionReason::OrSymbol,
383
395
  email: String,
@@ -394,10 +406,11 @@ module Increase
394
406
  # one control person, like the CEO, CFO, or other executive. You can submit
395
407
  # between 1 and 5 people to this list.
396
408
  beneficial_owners:,
409
+ # The legal identifier of the corporation. This is usually the Employer
410
+ # Identification Number (EIN).
411
+ legal_identifier:,
397
412
  # The legal name of the corporation.
398
413
  name:,
399
- # The Employer Identification Number (EIN) for the corporation.
400
- tax_identifier:,
401
414
  # If the entity is exempt from the requirement to submit beneficial owners,
402
415
  # provide the justification. If a reason is provided, you do not need to submit a
403
416
  # list of beneficial owners.
@@ -426,8 +439,9 @@ module Increase
426
439
  T::Array[
427
440
  Increase::EntityCreateParams::Corporation::BeneficialOwner
428
441
  ],
442
+ legal_identifier:
443
+ Increase::EntityCreateParams::Corporation::LegalIdentifier,
429
444
  name: String,
430
- tax_identifier: String,
431
445
  beneficial_ownership_exemption_reason:
432
446
  Increase::EntityCreateParams::Corporation::BeneficialOwnershipExemptionReason::OrSymbol,
433
447
  email: String,
@@ -1213,6 +1227,108 @@ module Increase
1213
1227
  end
1214
1228
  end
1215
1229
 
1230
+ class LegalIdentifier < Increase::Internal::Type::BaseModel
1231
+ OrHash =
1232
+ T.type_alias do
1233
+ T.any(
1234
+ Increase::EntityCreateParams::Corporation::LegalIdentifier,
1235
+ Increase::Internal::AnyHash
1236
+ )
1237
+ end
1238
+
1239
+ # The legal identifier.
1240
+ sig { returns(String) }
1241
+ attr_accessor :value
1242
+
1243
+ # The category of the legal identifier. If not provided, the default is
1244
+ # `us_employer_identification_number`.
1245
+ sig do
1246
+ returns(
1247
+ T.nilable(
1248
+ Increase::EntityCreateParams::Corporation::LegalIdentifier::Category::OrSymbol
1249
+ )
1250
+ )
1251
+ end
1252
+ attr_reader :category
1253
+
1254
+ sig do
1255
+ params(
1256
+ category:
1257
+ Increase::EntityCreateParams::Corporation::LegalIdentifier::Category::OrSymbol
1258
+ ).void
1259
+ end
1260
+ attr_writer :category
1261
+
1262
+ # The legal identifier of the corporation. This is usually the Employer
1263
+ # Identification Number (EIN).
1264
+ sig do
1265
+ params(
1266
+ value: String,
1267
+ category:
1268
+ Increase::EntityCreateParams::Corporation::LegalIdentifier::Category::OrSymbol
1269
+ ).returns(T.attached_class)
1270
+ end
1271
+ def self.new(
1272
+ # The legal identifier.
1273
+ value:,
1274
+ # The category of the legal identifier. If not provided, the default is
1275
+ # `us_employer_identification_number`.
1276
+ category: nil
1277
+ )
1278
+ end
1279
+
1280
+ sig do
1281
+ override.returns(
1282
+ {
1283
+ value: String,
1284
+ category:
1285
+ Increase::EntityCreateParams::Corporation::LegalIdentifier::Category::OrSymbol
1286
+ }
1287
+ )
1288
+ end
1289
+ def to_hash
1290
+ end
1291
+
1292
+ # The category of the legal identifier. If not provided, the default is
1293
+ # `us_employer_identification_number`.
1294
+ module Category
1295
+ extend Increase::Internal::Type::Enum
1296
+
1297
+ TaggedSymbol =
1298
+ T.type_alias do
1299
+ T.all(
1300
+ Symbol,
1301
+ Increase::EntityCreateParams::Corporation::LegalIdentifier::Category
1302
+ )
1303
+ end
1304
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
1305
+
1306
+ # The Employer Identification Number (EIN) for the company. The EIN is a 9-digit number assigned by the IRS.
1307
+ US_EMPLOYER_IDENTIFICATION_NUMBER =
1308
+ T.let(
1309
+ :us_employer_identification_number,
1310
+ Increase::EntityCreateParams::Corporation::LegalIdentifier::Category::TaggedSymbol
1311
+ )
1312
+
1313
+ # A legal identifier issued by a foreign government, like a tax identification number or registration number.
1314
+ OTHER =
1315
+ T.let(
1316
+ :other,
1317
+ Increase::EntityCreateParams::Corporation::LegalIdentifier::Category::TaggedSymbol
1318
+ )
1319
+
1320
+ sig do
1321
+ override.returns(
1322
+ T::Array[
1323
+ Increase::EntityCreateParams::Corporation::LegalIdentifier::Category::TaggedSymbol
1324
+ ]
1325
+ )
1326
+ end
1327
+ def self.values
1328
+ end
1329
+ end
1330
+ end
1331
+
1216
1332
  # If the entity is exempt from the requirement to submit beneficial owners,
1217
1333
  # provide the justification. If a reason is provided, you do not need to submit a
1218
1334
  # list of beneficial owners.
@@ -108,8 +108,8 @@ module Increase
108
108
  email: String?,
109
109
  incorporation_state: String?,
110
110
  industry_code: String?,
111
+ legal_identifier: Increase::Entity::Corporation::LegalIdentifier?,
111
112
  name: String,
112
- tax_identifier: String?,
113
113
  website: String?
114
114
  }
115
115
 
@@ -124,9 +124,9 @@ module Increase
124
124
 
125
125
  attr_accessor industry_code: String?
126
126
 
127
- attr_accessor name: String
127
+ attr_accessor legal_identifier: Increase::Entity::Corporation::LegalIdentifier?
128
128
 
129
- attr_accessor tax_identifier: String?
129
+ attr_accessor name: String
130
130
 
131
131
  attr_accessor website: String?
132
132
 
@@ -136,8 +136,8 @@ module Increase
136
136
  email: String?,
137
137
  incorporation_state: String?,
138
138
  industry_code: String?,
139
+ legal_identifier: Increase::Entity::Corporation::LegalIdentifier?,
139
140
  name: String,
140
- tax_identifier: String?,
141
141
  website: String?
142
142
  ) -> void
143
143
 
@@ -147,8 +147,8 @@ module Increase
147
147
  email: String?,
148
148
  incorporation_state: String?,
149
149
  industry_code: String?,
150
+ legal_identifier: Increase::Entity::Corporation::LegalIdentifier?,
150
151
  name: String,
151
- tax_identifier: String?,
152
152
  website: String?
153
153
  }
154
154
 
@@ -358,6 +358,42 @@ module Increase
358
358
  def self?.values: -> ::Array[Increase::Models::Entity::Corporation::BeneficialOwner::prong]
359
359
  end
360
360
  end
361
+
362
+ type legal_identifier =
363
+ {
364
+ category: Increase::Models::Entity::Corporation::LegalIdentifier::category,
365
+ value: String
366
+ }
367
+
368
+ class LegalIdentifier < Increase::Internal::Type::BaseModel
369
+ attr_accessor category: Increase::Models::Entity::Corporation::LegalIdentifier::category
370
+
371
+ attr_accessor value: String
372
+
373
+ def initialize: (
374
+ category: Increase::Models::Entity::Corporation::LegalIdentifier::category,
375
+ value: String
376
+ ) -> void
377
+
378
+ def to_hash: -> {
379
+ category: Increase::Models::Entity::Corporation::LegalIdentifier::category,
380
+ value: String
381
+ }
382
+
383
+ type category = :us_employer_identification_number | :other
384
+
385
+ module Category
386
+ extend Increase::Internal::Type::Enum
387
+
388
+ # The Employer Identification Number (EIN) for the company. The EIN is a 9-digit number assigned by the IRS.
389
+ US_EMPLOYER_IDENTIFICATION_NUMBER: :us_employer_identification_number
390
+
391
+ # A legal identifier issued by a foreign government, like a tax identification number or registration number.
392
+ OTHER: :other
393
+
394
+ def self?.values: -> ::Array[Increase::Models::Entity::Corporation::LegalIdentifier::category]
395
+ end
396
+ end
361
397
  end
362
398
 
363
399
  type government_authority =
@@ -138,8 +138,8 @@ module Increase
138
138
  {
139
139
  address: Increase::EntityCreateParams::Corporation::Address,
140
140
  beneficial_owners: ::Array[Increase::EntityCreateParams::Corporation::BeneficialOwner],
141
+ legal_identifier: Increase::EntityCreateParams::Corporation::LegalIdentifier,
141
142
  name: String,
142
- tax_identifier: String,
143
143
  beneficial_ownership_exemption_reason: Increase::Models::EntityCreateParams::Corporation::beneficial_ownership_exemption_reason,
144
144
  email: String,
145
145
  incorporation_state: String,
@@ -152,9 +152,9 @@ module Increase
152
152
 
153
153
  attr_accessor beneficial_owners: ::Array[Increase::EntityCreateParams::Corporation::BeneficialOwner]
154
154
 
155
- attr_accessor name: String
155
+ attr_accessor legal_identifier: Increase::EntityCreateParams::Corporation::LegalIdentifier
156
156
 
157
- attr_accessor tax_identifier: String
157
+ attr_accessor name: String
158
158
 
159
159
  attr_reader beneficial_ownership_exemption_reason: Increase::Models::EntityCreateParams::Corporation::beneficial_ownership_exemption_reason?
160
160
 
@@ -181,8 +181,8 @@ module Increase
181
181
  def initialize: (
182
182
  address: Increase::EntityCreateParams::Corporation::Address,
183
183
  beneficial_owners: ::Array[Increase::EntityCreateParams::Corporation::BeneficialOwner],
184
+ legal_identifier: Increase::EntityCreateParams::Corporation::LegalIdentifier,
184
185
  name: String,
185
- tax_identifier: String,
186
186
  ?beneficial_ownership_exemption_reason: Increase::Models::EntityCreateParams::Corporation::beneficial_ownership_exemption_reason,
187
187
  ?email: String,
188
188
  ?incorporation_state: String,
@@ -193,8 +193,8 @@ module Increase
193
193
  def to_hash: -> {
194
194
  address: Increase::EntityCreateParams::Corporation::Address,
195
195
  beneficial_owners: ::Array[Increase::EntityCreateParams::Corporation::BeneficialOwner],
196
+ legal_identifier: Increase::EntityCreateParams::Corporation::LegalIdentifier,
196
197
  name: String,
197
- tax_identifier: String,
198
198
  beneficial_ownership_exemption_reason: Increase::Models::EntityCreateParams::Corporation::beneficial_ownership_exemption_reason,
199
199
  email: String,
200
200
  incorporation_state: String,
@@ -546,6 +546,46 @@ module Increase
546
546
  end
547
547
  end
548
548
 
549
+ type legal_identifier =
550
+ {
551
+ value: String,
552
+ category: Increase::Models::EntityCreateParams::Corporation::LegalIdentifier::category
553
+ }
554
+
555
+ class LegalIdentifier < Increase::Internal::Type::BaseModel
556
+ attr_accessor value: String
557
+
558
+ attr_reader category: Increase::Models::EntityCreateParams::Corporation::LegalIdentifier::category?
559
+
560
+ def category=: (
561
+ Increase::Models::EntityCreateParams::Corporation::LegalIdentifier::category
562
+ ) -> Increase::Models::EntityCreateParams::Corporation::LegalIdentifier::category
563
+
564
+ def initialize: (
565
+ value: String,
566
+ ?category: Increase::Models::EntityCreateParams::Corporation::LegalIdentifier::category
567
+ ) -> void
568
+
569
+ def to_hash: -> {
570
+ value: String,
571
+ category: Increase::Models::EntityCreateParams::Corporation::LegalIdentifier::category
572
+ }
573
+
574
+ type category = :us_employer_identification_number | :other
575
+
576
+ module Category
577
+ extend Increase::Internal::Type::Enum
578
+
579
+ # The Employer Identification Number (EIN) for the company. The EIN is a 9-digit number assigned by the IRS.
580
+ US_EMPLOYER_IDENTIFICATION_NUMBER: :us_employer_identification_number
581
+
582
+ # A legal identifier issued by a foreign government, like a tax identification number or registration number.
583
+ OTHER: :other
584
+
585
+ def self?.values: -> ::Array[Increase::Models::EntityCreateParams::Corporation::LegalIdentifier::category]
586
+ end
587
+ end
588
+
549
589
  type beneficial_ownership_exemption_reason =
550
590
  :regulated_financial_institution
551
591
  | :publicly_traded_company
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: increase
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.270.0
4
+ version: 1.271.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Increase