increase 1.270.0 → 1.273.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.
@@ -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,
@@ -449,22 +463,17 @@ module Increase
449
463
  )
450
464
  end
451
465
 
452
- # The city of the address.
466
+ # The city, district, town, or village of the address.
453
467
  sig { returns(String) }
454
468
  attr_accessor :city
455
469
 
456
- # The first line of the address. This is usually the street number and street.
470
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address.
457
471
  sig { returns(String) }
458
- attr_accessor :line1
459
-
460
- # The two-letter United States Postal Service (USPS) abbreviation for the state of
461
- # the address.
462
- sig { returns(String) }
463
- attr_accessor :state
472
+ attr_accessor :country
464
473
 
465
- # The ZIP code of the address.
474
+ # The first line of the address. This is usually the street number and street.
466
475
  sig { returns(String) }
467
- attr_accessor :zip
476
+ attr_accessor :line1
468
477
 
469
478
  # The second line of the address. This might be the floor or room number.
470
479
  sig { returns(T.nilable(String)) }
@@ -473,29 +482,47 @@ module Increase
473
482
  sig { params(line2: String).void }
474
483
  attr_writer :line2
475
484
 
485
+ # The two-letter United States Postal Service (USPS) abbreviation for the US
486
+ # state, province, or region of the address. Required in certain countries.
487
+ sig { returns(T.nilable(String)) }
488
+ attr_reader :state
489
+
490
+ sig { params(state: String).void }
491
+ attr_writer :state
492
+
493
+ # The ZIP or postal code of the address. Required in certain countries.
494
+ sig { returns(T.nilable(String)) }
495
+ attr_reader :zip
496
+
497
+ sig { params(zip: String).void }
498
+ attr_writer :zip
499
+
476
500
  # The entity's physical address. Mail receiving locations like PO Boxes and PMB's
477
501
  # are disallowed.
478
502
  sig do
479
503
  params(
480
504
  city: String,
505
+ country: String,
481
506
  line1: String,
507
+ line2: String,
482
508
  state: String,
483
- zip: String,
484
- line2: String
509
+ zip: String
485
510
  ).returns(T.attached_class)
486
511
  end
487
512
  def self.new(
488
- # The city of the address.
513
+ # The city, district, town, or village of the address.
489
514
  city:,
515
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address.
516
+ country:,
490
517
  # The first line of the address. This is usually the street number and street.
491
518
  line1:,
492
- # The two-letter United States Postal Service (USPS) abbreviation for the state of
493
- # the address.
494
- state:,
495
- # The ZIP code of the address.
496
- zip:,
497
519
  # The second line of the address. This might be the floor or room number.
498
- line2: nil
520
+ line2: nil,
521
+ # The two-letter United States Postal Service (USPS) abbreviation for the US
522
+ # state, province, or region of the address. Required in certain countries.
523
+ state: nil,
524
+ # The ZIP or postal code of the address. Required in certain countries.
525
+ zip: nil
499
526
  )
500
527
  end
501
528
 
@@ -503,10 +530,11 @@ module Increase
503
530
  override.returns(
504
531
  {
505
532
  city: String,
533
+ country: String,
506
534
  line1: String,
535
+ line2: String,
507
536
  state: String,
508
- zip: String,
509
- line2: String
537
+ zip: String
510
538
  }
511
539
  )
512
540
  end
@@ -1213,6 +1241,108 @@ module Increase
1213
1241
  end
1214
1242
  end
1215
1243
 
1244
+ class LegalIdentifier < Increase::Internal::Type::BaseModel
1245
+ OrHash =
1246
+ T.type_alias do
1247
+ T.any(
1248
+ Increase::EntityCreateParams::Corporation::LegalIdentifier,
1249
+ Increase::Internal::AnyHash
1250
+ )
1251
+ end
1252
+
1253
+ # The legal identifier.
1254
+ sig { returns(String) }
1255
+ attr_accessor :value
1256
+
1257
+ # The category of the legal identifier. If not provided, the default is
1258
+ # `us_employer_identification_number`.
1259
+ sig do
1260
+ returns(
1261
+ T.nilable(
1262
+ Increase::EntityCreateParams::Corporation::LegalIdentifier::Category::OrSymbol
1263
+ )
1264
+ )
1265
+ end
1266
+ attr_reader :category
1267
+
1268
+ sig do
1269
+ params(
1270
+ category:
1271
+ Increase::EntityCreateParams::Corporation::LegalIdentifier::Category::OrSymbol
1272
+ ).void
1273
+ end
1274
+ attr_writer :category
1275
+
1276
+ # The legal identifier of the corporation. This is usually the Employer
1277
+ # Identification Number (EIN).
1278
+ sig do
1279
+ params(
1280
+ value: String,
1281
+ category:
1282
+ Increase::EntityCreateParams::Corporation::LegalIdentifier::Category::OrSymbol
1283
+ ).returns(T.attached_class)
1284
+ end
1285
+ def self.new(
1286
+ # The legal identifier.
1287
+ value:,
1288
+ # The category of the legal identifier. If not provided, the default is
1289
+ # `us_employer_identification_number`.
1290
+ category: nil
1291
+ )
1292
+ end
1293
+
1294
+ sig do
1295
+ override.returns(
1296
+ {
1297
+ value: String,
1298
+ category:
1299
+ Increase::EntityCreateParams::Corporation::LegalIdentifier::Category::OrSymbol
1300
+ }
1301
+ )
1302
+ end
1303
+ def to_hash
1304
+ end
1305
+
1306
+ # The category of the legal identifier. If not provided, the default is
1307
+ # `us_employer_identification_number`.
1308
+ module Category
1309
+ extend Increase::Internal::Type::Enum
1310
+
1311
+ TaggedSymbol =
1312
+ T.type_alias do
1313
+ T.all(
1314
+ Symbol,
1315
+ Increase::EntityCreateParams::Corporation::LegalIdentifier::Category
1316
+ )
1317
+ end
1318
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
1319
+
1320
+ # The Employer Identification Number (EIN) for the company. The EIN is a 9-digit number assigned by the IRS.
1321
+ US_EMPLOYER_IDENTIFICATION_NUMBER =
1322
+ T.let(
1323
+ :us_employer_identification_number,
1324
+ Increase::EntityCreateParams::Corporation::LegalIdentifier::Category::TaggedSymbol
1325
+ )
1326
+
1327
+ # A legal identifier issued by a foreign government, like a tax identification number or registration number.
1328
+ OTHER =
1329
+ T.let(
1330
+ :other,
1331
+ Increase::EntityCreateParams::Corporation::LegalIdentifier::Category::TaggedSymbol
1332
+ )
1333
+
1334
+ sig do
1335
+ override.returns(
1336
+ T::Array[
1337
+ Increase::EntityCreateParams::Corporation::LegalIdentifier::Category::TaggedSymbol
1338
+ ]
1339
+ )
1340
+ end
1341
+ def self.values
1342
+ end
1343
+ end
1344
+ end
1345
+
1216
1346
  # If the entity is exempt from the requirement to submit beneficial owners,
1217
1347
  # provide the justification. If a reason is provided, you do not need to submit a
1218
1348
  # list of beneficial owners.
@@ -1683,22 +1813,17 @@ module Increase
1683
1813
  )
1684
1814
  end
1685
1815
 
1686
- # The city of the address.
1816
+ # The city, district, town, or village of the address.
1687
1817
  sig { returns(String) }
1688
1818
  attr_accessor :city
1689
1819
 
1690
- # The first line of the address. This is usually the street number and street.
1820
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address.
1691
1821
  sig { returns(String) }
1692
- attr_accessor :line1
1693
-
1694
- # The two-letter United States Postal Service (USPS) abbreviation for the state of
1695
- # the address.
1696
- sig { returns(String) }
1697
- attr_accessor :state
1822
+ attr_accessor :country
1698
1823
 
1699
- # The ZIP code of the address.
1824
+ # The first line of the address. This is usually the street number and street.
1700
1825
  sig { returns(String) }
1701
- attr_accessor :zip
1826
+ attr_accessor :line1
1702
1827
 
1703
1828
  # The second line of the address. This might be the floor or room number.
1704
1829
  sig { returns(T.nilable(String)) }
@@ -1707,29 +1832,47 @@ module Increase
1707
1832
  sig { params(line2: String).void }
1708
1833
  attr_writer :line2
1709
1834
 
1835
+ # The two-letter United States Postal Service (USPS) abbreviation for the US
1836
+ # state, province, or region of the address. Required in certain countries.
1837
+ sig { returns(T.nilable(String)) }
1838
+ attr_reader :state
1839
+
1840
+ sig { params(state: String).void }
1841
+ attr_writer :state
1842
+
1843
+ # The ZIP or postal code of the address. Required in certain countries.
1844
+ sig { returns(T.nilable(String)) }
1845
+ attr_reader :zip
1846
+
1847
+ sig { params(zip: String).void }
1848
+ attr_writer :zip
1849
+
1710
1850
  # The individual's physical address. Mail receiving locations like PO Boxes and
1711
1851
  # PMB's are disallowed.
1712
1852
  sig do
1713
1853
  params(
1714
1854
  city: String,
1855
+ country: String,
1715
1856
  line1: String,
1857
+ line2: String,
1716
1858
  state: String,
1717
- zip: String,
1718
- line2: String
1859
+ zip: String
1719
1860
  ).returns(T.attached_class)
1720
1861
  end
1721
1862
  def self.new(
1722
- # The city of the address.
1863
+ # The city, district, town, or village of the address.
1723
1864
  city:,
1865
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address.
1866
+ country:,
1724
1867
  # The first line of the address. This is usually the street number and street.
1725
1868
  line1:,
1726
- # The two-letter United States Postal Service (USPS) abbreviation for the state of
1727
- # the address.
1728
- state:,
1729
- # The ZIP code of the address.
1730
- zip:,
1731
1869
  # The second line of the address. This might be the floor or room number.
1732
- line2: nil
1870
+ line2: nil,
1871
+ # The two-letter United States Postal Service (USPS) abbreviation for the US
1872
+ # state, province, or region of the address. Required in certain countries.
1873
+ state: nil,
1874
+ # The ZIP or postal code of the address. Required in certain countries.
1875
+ zip: nil
1733
1876
  )
1734
1877
  end
1735
1878
 
@@ -1737,10 +1880,11 @@ module Increase
1737
1880
  override.returns(
1738
1881
  {
1739
1882
  city: String,
1883
+ country: String,
1740
1884
  line1: String,
1885
+ line2: String,
1741
1886
  state: String,
1742
- zip: String,
1743
- line2: String
1887
+ zip: String
1744
1888
  }
1745
1889
  )
1746
1890
  end
@@ -2244,22 +2388,17 @@ module Increase
2244
2388
  )
2245
2389
  end
2246
2390
 
2247
- # The city of the address.
2391
+ # The city, district, town, or village of the address.
2248
2392
  sig { returns(String) }
2249
2393
  attr_accessor :city
2250
2394
 
2251
- # The first line of the address. This is usually the street number and street.
2395
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address.
2252
2396
  sig { returns(String) }
2253
- attr_accessor :line1
2397
+ attr_accessor :country
2254
2398
 
2255
- # The two-letter United States Postal Service (USPS) abbreviation for the state of
2256
- # the address.
2257
- sig { returns(String) }
2258
- attr_accessor :state
2259
-
2260
- # The ZIP code of the address.
2399
+ # The first line of the address. This is usually the street number and street.
2261
2400
  sig { returns(String) }
2262
- attr_accessor :zip
2401
+ attr_accessor :line1
2263
2402
 
2264
2403
  # The second line of the address. This might be the floor or room number.
2265
2404
  sig { returns(T.nilable(String)) }
@@ -2268,29 +2407,47 @@ module Increase
2268
2407
  sig { params(line2: String).void }
2269
2408
  attr_writer :line2
2270
2409
 
2410
+ # The two-letter United States Postal Service (USPS) abbreviation for the US
2411
+ # state, province, or region of the address. Required in certain countries.
2412
+ sig { returns(T.nilable(String)) }
2413
+ attr_reader :state
2414
+
2415
+ sig { params(state: String).void }
2416
+ attr_writer :state
2417
+
2418
+ # The ZIP or postal code of the address. Required in certain countries.
2419
+ sig { returns(T.nilable(String)) }
2420
+ attr_reader :zip
2421
+
2422
+ sig { params(zip: String).void }
2423
+ attr_writer :zip
2424
+
2271
2425
  # The individual's physical address. Mail receiving locations like PO Boxes and
2272
2426
  # PMB's are disallowed.
2273
2427
  sig do
2274
2428
  params(
2275
2429
  city: String,
2430
+ country: String,
2276
2431
  line1: String,
2432
+ line2: String,
2277
2433
  state: String,
2278
- zip: String,
2279
- line2: String
2434
+ zip: String
2280
2435
  ).returns(T.attached_class)
2281
2436
  end
2282
2437
  def self.new(
2283
- # The city of the address.
2438
+ # The city, district, town, or village of the address.
2284
2439
  city:,
2440
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address.
2441
+ country:,
2285
2442
  # The first line of the address. This is usually the street number and street.
2286
2443
  line1:,
2287
- # The two-letter United States Postal Service (USPS) abbreviation for the state of
2288
- # the address.
2289
- state:,
2290
- # The ZIP code of the address.
2291
- zip:,
2292
2444
  # The second line of the address. This might be the floor or room number.
2293
- line2: nil
2445
+ line2: nil,
2446
+ # The two-letter United States Postal Service (USPS) abbreviation for the US
2447
+ # state, province, or region of the address. Required in certain countries.
2448
+ state: nil,
2449
+ # The ZIP or postal code of the address. Required in certain countries.
2450
+ zip: nil
2294
2451
  )
2295
2452
  end
2296
2453
 
@@ -2298,10 +2455,11 @@ module Increase
2298
2455
  override.returns(
2299
2456
  {
2300
2457
  city: String,
2458
+ country: String,
2301
2459
  line1: String,
2460
+ line2: String,
2302
2461
  state: String,
2303
- zip: String,
2304
- line2: String
2462
+ zip: String
2305
2463
  }
2306
2464
  )
2307
2465
  end
@@ -3417,22 +3575,17 @@ module Increase
3417
3575
  )
3418
3576
  end
3419
3577
 
3420
- # The city of the address.
3578
+ # The city, district, town, or village of the address.
3421
3579
  sig { returns(String) }
3422
3580
  attr_accessor :city
3423
3581
 
3424
- # The first line of the address. This is usually the street number and street.
3425
- sig { returns(String) }
3426
- attr_accessor :line1
3427
-
3428
- # The two-letter United States Postal Service (USPS) abbreviation for the state of
3429
- # the address.
3582
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address.
3430
3583
  sig { returns(String) }
3431
- attr_accessor :state
3584
+ attr_accessor :country
3432
3585
 
3433
- # The ZIP code of the address.
3586
+ # The first line of the address. This is usually the street number and street.
3434
3587
  sig { returns(String) }
3435
- attr_accessor :zip
3588
+ attr_accessor :line1
3436
3589
 
3437
3590
  # The second line of the address. This might be the floor or room number.
3438
3591
  sig { returns(T.nilable(String)) }
@@ -3441,29 +3594,47 @@ module Increase
3441
3594
  sig { params(line2: String).void }
3442
3595
  attr_writer :line2
3443
3596
 
3597
+ # The two-letter United States Postal Service (USPS) abbreviation for the US
3598
+ # state, province, or region of the address. Required in certain countries.
3599
+ sig { returns(T.nilable(String)) }
3600
+ attr_reader :state
3601
+
3602
+ sig { params(state: String).void }
3603
+ attr_writer :state
3604
+
3605
+ # The ZIP or postal code of the address. Required in certain countries.
3606
+ sig { returns(T.nilable(String)) }
3607
+ attr_reader :zip
3608
+
3609
+ sig { params(zip: String).void }
3610
+ attr_writer :zip
3611
+
3444
3612
  # The individual's physical address. Mail receiving locations like PO Boxes and
3445
3613
  # PMB's are disallowed.
3446
3614
  sig do
3447
3615
  params(
3448
3616
  city: String,
3617
+ country: String,
3449
3618
  line1: String,
3619
+ line2: String,
3450
3620
  state: String,
3451
- zip: String,
3452
- line2: String
3621
+ zip: String
3453
3622
  ).returns(T.attached_class)
3454
3623
  end
3455
3624
  def self.new(
3456
- # The city of the address.
3625
+ # The city, district, town, or village of the address.
3457
3626
  city:,
3627
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address.
3628
+ country:,
3458
3629
  # The first line of the address. This is usually the street number and street.
3459
3630
  line1:,
3460
- # The two-letter United States Postal Service (USPS) abbreviation for the state of
3461
- # the address.
3462
- state:,
3463
- # The ZIP code of the address.
3464
- zip:,
3465
3631
  # The second line of the address. This might be the floor or room number.
3466
- line2: nil
3632
+ line2: nil,
3633
+ # The two-letter United States Postal Service (USPS) abbreviation for the US
3634
+ # state, province, or region of the address. Required in certain countries.
3635
+ state: nil,
3636
+ # The ZIP or postal code of the address. Required in certain countries.
3637
+ zip: nil
3467
3638
  )
3468
3639
  end
3469
3640
 
@@ -3471,10 +3642,11 @@ module Increase
3471
3642
  override.returns(
3472
3643
  {
3473
3644
  city: String,
3645
+ country: String,
3474
3646
  line1: String,
3647
+ line2: String,
3475
3648
  state: String,
3476
- zip: String,
3477
- line2: String
3649
+ zip: String
3478
3650
  }
3479
3651
  )
3480
3652
  end
@@ -3977,22 +4149,17 @@ module Increase
3977
4149
  )
3978
4150
  end
3979
4151
 
3980
- # The city of the address.
4152
+ # The city, district, town, or village of the address.
3981
4153
  sig { returns(String) }
3982
4154
  attr_accessor :city
3983
4155
 
3984
- # The first line of the address. This is usually the street number and street.
3985
- sig { returns(String) }
3986
- attr_accessor :line1
3987
-
3988
- # The two-letter United States Postal Service (USPS) abbreviation for the state of
3989
- # the address.
4156
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address.
3990
4157
  sig { returns(String) }
3991
- attr_accessor :state
4158
+ attr_accessor :country
3992
4159
 
3993
- # The ZIP code of the address.
4160
+ # The first line of the address. This is usually the street number and street.
3994
4161
  sig { returns(String) }
3995
- attr_accessor :zip
4162
+ attr_accessor :line1
3996
4163
 
3997
4164
  # The second line of the address. This might be the floor or room number.
3998
4165
  sig { returns(T.nilable(String)) }
@@ -4001,29 +4168,47 @@ module Increase
4001
4168
  sig { params(line2: String).void }
4002
4169
  attr_writer :line2
4003
4170
 
4171
+ # The two-letter United States Postal Service (USPS) abbreviation for the US
4172
+ # state, province, or region of the address. Required in certain countries.
4173
+ sig { returns(T.nilable(String)) }
4174
+ attr_reader :state
4175
+
4176
+ sig { params(state: String).void }
4177
+ attr_writer :state
4178
+
4179
+ # The ZIP or postal code of the address. Required in certain countries.
4180
+ sig { returns(T.nilable(String)) }
4181
+ attr_reader :zip
4182
+
4183
+ sig { params(zip: String).void }
4184
+ attr_writer :zip
4185
+
4004
4186
  # The individual's physical address. Mail receiving locations like PO Boxes and
4005
4187
  # PMB's are disallowed.
4006
4188
  sig do
4007
4189
  params(
4008
4190
  city: String,
4191
+ country: String,
4009
4192
  line1: String,
4193
+ line2: String,
4010
4194
  state: String,
4011
- zip: String,
4012
- line2: String
4195
+ zip: String
4013
4196
  ).returns(T.attached_class)
4014
4197
  end
4015
4198
  def self.new(
4016
- # The city of the address.
4199
+ # The city, district, town, or village of the address.
4017
4200
  city:,
4201
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address.
4202
+ country:,
4018
4203
  # The first line of the address. This is usually the street number and street.
4019
4204
  line1:,
4020
- # The two-letter United States Postal Service (USPS) abbreviation for the state of
4021
- # the address.
4022
- state:,
4023
- # The ZIP code of the address.
4024
- zip:,
4025
4205
  # The second line of the address. This might be the floor or room number.
4026
- line2: nil
4206
+ line2: nil,
4207
+ # The two-letter United States Postal Service (USPS) abbreviation for the US
4208
+ # state, province, or region of the address. Required in certain countries.
4209
+ state: nil,
4210
+ # The ZIP or postal code of the address. Required in certain countries.
4211
+ zip: nil
4027
4212
  )
4028
4213
  end
4029
4214
 
@@ -4031,10 +4216,11 @@ module Increase
4031
4216
  override.returns(
4032
4217
  {
4033
4218
  city: String,
4219
+ country: String,
4034
4220
  line1: String,
4221
+ line2: String,
4035
4222
  state: String,
4036
- zip: String,
4037
- line2: String
4223
+ zip: String
4038
4224
  }
4039
4225
  )
4040
4226
  end