increase 0.501.0 → 0.503.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.
@@ -199,17 +199,18 @@ export declare namespace Entity {
199
199
  */
200
200
  industry_code: string | null;
201
201
  /**
202
- * The legal name of the corporation.
202
+ * The legal identifier of the corporation.
203
203
  */
204
- name: string;
204
+ legal_identifier: Corporation.LegalIdentifier | null;
205
205
  /**
206
- * The Employer Identification Number (EIN) for the corporation.
206
+ * The legal name of the corporation.
207
207
  */
208
- tax_identifier: string | null;
208
+ name: string;
209
209
  /**
210
210
  * The website of the corporation.
211
211
  */
212
212
  website: string | null;
213
+ [k: string]: unknown;
213
214
  }
214
215
  namespace Corporation {
215
216
  /**
@@ -217,9 +218,13 @@ export declare namespace Entity {
217
218
  */
218
219
  interface Address {
219
220
  /**
220
- * The city of the address.
221
+ * The city, district, town, or village of the address.
221
222
  */
222
- city: string;
223
+ city: string | null;
224
+ /**
225
+ * The two-letter ISO 3166-1 alpha-2 code for the country of the address.
226
+ */
227
+ country: string;
223
228
  /**
224
229
  * The first line of the address.
225
230
  */
@@ -229,14 +234,14 @@ export declare namespace Entity {
229
234
  */
230
235
  line2: string | null;
231
236
  /**
232
- * The two-letter United States Postal Service (USPS) abbreviation for the state of
233
- * the address.
237
+ * The two-letter United States Postal Service (USPS) abbreviation for the US
238
+ * state, province, or region of the address.
234
239
  */
235
- state: string;
240
+ state: string | null;
236
241
  /**
237
- * The ZIP code of the address.
242
+ * The ZIP or postal code of the address.
238
243
  */
239
- zip: string;
244
+ zip: string | null;
240
245
  }
241
246
  interface BeneficialOwner {
242
247
  /**
@@ -334,6 +339,24 @@ export declare namespace Entity {
334
339
  }
335
340
  }
336
341
  }
342
+ /**
343
+ * The legal identifier of the corporation.
344
+ */
345
+ interface LegalIdentifier {
346
+ /**
347
+ * The category of the legal identifier.
348
+ *
349
+ * - `us_employer_identification_number` - The Employer Identification Number (EIN)
350
+ * for the company. The EIN is a 9-digit number assigned by the IRS.
351
+ * - `other` - A legal identifier issued by a foreign government, like a tax
352
+ * identification number or registration number.
353
+ */
354
+ category: 'us_employer_identification_number' | 'other';
355
+ /**
356
+ * The identifier of the legal identifier.
357
+ */
358
+ value: string;
359
+ }
337
360
  }
338
361
  /**
339
362
  * Details of the government authority entity. Will be present if `structure` is
@@ -376,9 +399,13 @@ export declare namespace Entity {
376
399
  */
377
400
  interface Address {
378
401
  /**
379
- * The city of the address.
402
+ * The city, district, town, or village of the address.
380
403
  */
381
- city: string;
404
+ city: string | null;
405
+ /**
406
+ * The two-letter ISO 3166-1 alpha-2 code for the country of the address.
407
+ */
408
+ country: string;
382
409
  /**
383
410
  * The first line of the address.
384
411
  */
@@ -388,14 +415,14 @@ export declare namespace Entity {
388
415
  */
389
416
  line2: string | null;
390
417
  /**
391
- * The two-letter United States Postal Service (USPS) abbreviation for the state of
392
- * the address.
418
+ * The two-letter United States Postal Service (USPS) abbreviation for the US
419
+ * state, province, or region of the address.
393
420
  */
394
- state: string;
421
+ state: string | null;
395
422
  /**
396
- * The ZIP code of the address.
423
+ * The ZIP or postal code of the address.
397
424
  */
398
- zip: string;
425
+ zip: string | null;
399
426
  }
400
427
  interface AuthorizedPerson {
401
428
  /**
@@ -446,9 +473,13 @@ export declare namespace Entity {
446
473
  */
447
474
  interface Address {
448
475
  /**
449
- * The city of the address.
476
+ * The city, district, town, or village of the address.
450
477
  */
451
- city: string;
478
+ city: string | null;
479
+ /**
480
+ * The two-letter ISO 3166-1 alpha-2 code for the country of the address.
481
+ */
482
+ country: string;
452
483
  /**
453
484
  * The first line of the address.
454
485
  */
@@ -458,14 +489,14 @@ export declare namespace Entity {
458
489
  */
459
490
  line2: string | null;
460
491
  /**
461
- * The two-letter United States Postal Service (USPS) abbreviation for the state of
462
- * the address.
492
+ * The two-letter United States Postal Service (USPS) abbreviation for the US
493
+ * state, province, or region of the address.
463
494
  */
464
- state: string;
495
+ state: string | null;
465
496
  /**
466
- * The ZIP code of the address.
497
+ * The ZIP or postal code of the address.
467
498
  */
468
- zip: string;
499
+ zip: string | null;
469
500
  }
470
501
  /**
471
502
  * A means of verifying the person's identity.
@@ -519,9 +550,13 @@ export declare namespace Entity {
519
550
  */
520
551
  interface Address {
521
552
  /**
522
- * The city of the address.
553
+ * The city, district, town, or village of the address.
523
554
  */
524
- city: string;
555
+ city: string | null;
556
+ /**
557
+ * The two-letter ISO 3166-1 alpha-2 code for the country of the address.
558
+ */
559
+ country: string;
525
560
  /**
526
561
  * The first line of the address.
527
562
  */
@@ -531,14 +566,14 @@ export declare namespace Entity {
531
566
  */
532
567
  line2: string | null;
533
568
  /**
534
- * The two-letter United States Postal Service (USPS) abbreviation for the state of
535
- * the address.
569
+ * The two-letter United States Postal Service (USPS) abbreviation for the US
570
+ * state, province, or region of the address.
536
571
  */
537
- state: string;
572
+ state: string | null;
538
573
  /**
539
- * The ZIP code of the address.
574
+ * The ZIP or postal code of the address.
540
575
  */
541
- zip: string;
576
+ zip: string | null;
542
577
  }
543
578
  /**
544
579
  * A means of verifying the person's identity.
@@ -664,9 +699,13 @@ export declare namespace Entity {
664
699
  */
665
700
  interface Address {
666
701
  /**
667
- * The city of the address.
702
+ * The city, district, town, or village of the address.
668
703
  */
669
- city: string;
704
+ city: string | null;
705
+ /**
706
+ * The two-letter ISO 3166-1 alpha-2 code for the country of the address.
707
+ */
708
+ country: string;
670
709
  /**
671
710
  * The first line of the address.
672
711
  */
@@ -676,14 +715,14 @@ export declare namespace Entity {
676
715
  */
677
716
  line2: string | null;
678
717
  /**
679
- * The two-letter United States Postal Service (USPS) abbreviation for the state of
680
- * the address.
718
+ * The two-letter United States Postal Service (USPS) abbreviation for the US
719
+ * state, province, or region of the address.
681
720
  */
682
- state: string;
721
+ state: string | null;
683
722
  /**
684
- * The ZIP code of the address.
723
+ * The ZIP or postal code of the address.
685
724
  */
686
- zip: string;
725
+ zip: string | null;
687
726
  }
688
727
  /**
689
728
  * The grantor of the trust. Will be present if the `category` is `revocable`.
@@ -712,9 +751,13 @@ export declare namespace Entity {
712
751
  */
713
752
  interface Address {
714
753
  /**
715
- * The city of the address.
754
+ * The city, district, town, or village of the address.
716
755
  */
717
- city: string;
756
+ city: string | null;
757
+ /**
758
+ * The two-letter ISO 3166-1 alpha-2 code for the country of the address.
759
+ */
760
+ country: string;
718
761
  /**
719
762
  * The first line of the address.
720
763
  */
@@ -724,14 +767,14 @@ export declare namespace Entity {
724
767
  */
725
768
  line2: string | null;
726
769
  /**
727
- * The two-letter United States Postal Service (USPS) abbreviation for the state of
728
- * the address.
770
+ * The two-letter United States Postal Service (USPS) abbreviation for the US
771
+ * state, province, or region of the address.
729
772
  */
730
- state: string;
773
+ state: string | null;
731
774
  /**
732
- * The ZIP code of the address.
775
+ * The ZIP or postal code of the address.
733
776
  */
734
- zip: string;
777
+ zip: string | null;
735
778
  }
736
779
  /**
737
780
  * A means of verifying the person's identity.
@@ -798,9 +841,13 @@ export declare namespace Entity {
798
841
  */
799
842
  interface Address {
800
843
  /**
801
- * The city of the address.
844
+ * The city, district, town, or village of the address.
802
845
  */
803
- city: string;
846
+ city: string | null;
847
+ /**
848
+ * The two-letter ISO 3166-1 alpha-2 code for the country of the address.
849
+ */
850
+ country: string;
804
851
  /**
805
852
  * The first line of the address.
806
853
  */
@@ -810,14 +857,14 @@ export declare namespace Entity {
810
857
  */
811
858
  line2: string | null;
812
859
  /**
813
- * The two-letter United States Postal Service (USPS) abbreviation for the state of
814
- * the address.
860
+ * The two-letter United States Postal Service (USPS) abbreviation for the US
861
+ * state, province, or region of the address.
815
862
  */
816
- state: string;
863
+ state: string | null;
817
864
  /**
818
- * The ZIP code of the address.
865
+ * The ZIP or postal code of the address.
819
866
  */
820
- zip: string;
867
+ zip: string | null;
821
868
  }
822
869
  /**
823
870
  * A means of verifying the person's identity.
@@ -1026,13 +1073,14 @@ export declare namespace EntityCreateParams {
1026
1073
  */
1027
1074
  beneficial_owners: Array<Corporation.BeneficialOwner>;
1028
1075
  /**
1029
- * The legal name of the corporation.
1076
+ * The legal identifier of the corporation. This is usually the Employer
1077
+ * Identification Number (EIN).
1030
1078
  */
1031
- name: string;
1079
+ legal_identifier: Corporation.LegalIdentifier;
1032
1080
  /**
1033
- * The Employer Identification Number (EIN) for the corporation.
1081
+ * The legal name of the corporation.
1034
1082
  */
1035
- tax_identifier: string;
1083
+ name: string;
1036
1084
  /**
1037
1085
  * If the entity is exempt from the requirement to submit beneficial owners,
1038
1086
  * provide the justification. If a reason is provided, you do not need to submit a
@@ -1068,6 +1116,7 @@ export declare namespace EntityCreateParams {
1068
1116
  * The website of the corporation.
1069
1117
  */
1070
1118
  website?: string;
1119
+ [k: string]: unknown;
1071
1120
  }
1072
1121
  namespace Corporation {
1073
1122
  /**
@@ -1076,26 +1125,30 @@ export declare namespace EntityCreateParams {
1076
1125
  */
1077
1126
  interface Address {
1078
1127
  /**
1079
- * The city of the address.
1128
+ * The city, district, town, or village of the address.
1080
1129
  */
1081
1130
  city: string;
1131
+ /**
1132
+ * The two-letter ISO 3166-1 alpha-2 code for the country of the address.
1133
+ */
1134
+ country: string;
1082
1135
  /**
1083
1136
  * The first line of the address. This is usually the street number and street.
1084
1137
  */
1085
1138
  line1: string;
1086
1139
  /**
1087
- * The two-letter United States Postal Service (USPS) abbreviation for the state of
1088
- * the address.
1140
+ * The second line of the address. This might be the floor or room number.
1089
1141
  */
1090
- state: string;
1142
+ line2?: string;
1091
1143
  /**
1092
- * The ZIP code of the address.
1144
+ * The two-letter United States Postal Service (USPS) abbreviation for the US
1145
+ * state, province, or region of the address. Required in certain countries.
1093
1146
  */
1094
- zip: string;
1147
+ state?: string;
1095
1148
  /**
1096
- * The second line of the address. This might be the floor or room number.
1149
+ * The ZIP or postal code of the address. Required in certain countries.
1097
1150
  */
1098
- line2?: string;
1151
+ zip?: string;
1099
1152
  }
1100
1153
  interface BeneficialOwner {
1101
1154
  /**
@@ -1286,6 +1339,26 @@ export declare namespace EntityCreateParams {
1286
1339
  }
1287
1340
  }
1288
1341
  }
1342
+ /**
1343
+ * The legal identifier of the corporation. This is usually the Employer
1344
+ * Identification Number (EIN).
1345
+ */
1346
+ interface LegalIdentifier {
1347
+ /**
1348
+ * The legal identifier.
1349
+ */
1350
+ value: string;
1351
+ /**
1352
+ * The category of the legal identifier. If not provided, the default is
1353
+ * `us_employer_identification_number`.
1354
+ *
1355
+ * - `us_employer_identification_number` - The Employer Identification Number (EIN)
1356
+ * for the company. The EIN is a 9-digit number assigned by the IRS.
1357
+ * - `other` - A legal identifier issued by a foreign government, like a tax
1358
+ * identification number or registration number.
1359
+ */
1360
+ category?: 'us_employer_identification_number' | 'other';
1361
+ }
1289
1362
  }
1290
1363
  /**
1291
1364
  * Details of the Government Authority entity to create. Required if `structure` is
@@ -1402,26 +1475,30 @@ export declare namespace EntityCreateParams {
1402
1475
  */
1403
1476
  interface Address {
1404
1477
  /**
1405
- * The city of the address.
1478
+ * The city, district, town, or village of the address.
1406
1479
  */
1407
1480
  city: string;
1481
+ /**
1482
+ * The two-letter ISO 3166-1 alpha-2 code for the country of the address.
1483
+ */
1484
+ country: string;
1408
1485
  /**
1409
1486
  * The first line of the address. This is usually the street number and street.
1410
1487
  */
1411
1488
  line1: string;
1412
1489
  /**
1413
- * The two-letter United States Postal Service (USPS) abbreviation for the state of
1414
- * the address.
1490
+ * The second line of the address. This might be the floor or room number.
1415
1491
  */
1416
- state: string;
1492
+ line2?: string;
1417
1493
  /**
1418
- * The ZIP code of the address.
1494
+ * The two-letter United States Postal Service (USPS) abbreviation for the US
1495
+ * state, province, or region of the address. Required in certain countries.
1419
1496
  */
1420
- zip: string;
1497
+ state?: string;
1421
1498
  /**
1422
- * The second line of the address. This might be the floor or room number.
1499
+ * The ZIP or postal code of the address. Required in certain countries.
1423
1500
  */
1424
- line2?: string;
1501
+ zip?: string;
1425
1502
  }
1426
1503
  /**
1427
1504
  * A means of verifying the person's identity.
@@ -1572,26 +1649,30 @@ export declare namespace EntityCreateParams {
1572
1649
  */
1573
1650
  interface Address {
1574
1651
  /**
1575
- * The city of the address.
1652
+ * The city, district, town, or village of the address.
1576
1653
  */
1577
1654
  city: string;
1655
+ /**
1656
+ * The two-letter ISO 3166-1 alpha-2 code for the country of the address.
1657
+ */
1658
+ country: string;
1578
1659
  /**
1579
1660
  * The first line of the address. This is usually the street number and street.
1580
1661
  */
1581
1662
  line1: string;
1582
1663
  /**
1583
- * The two-letter United States Postal Service (USPS) abbreviation for the state of
1584
- * the address.
1664
+ * The second line of the address. This might be the floor or room number.
1585
1665
  */
1586
- state: string;
1666
+ line2?: string;
1587
1667
  /**
1588
- * The ZIP code of the address.
1668
+ * The two-letter United States Postal Service (USPS) abbreviation for the US
1669
+ * state, province, or region of the address. Required in certain countries.
1589
1670
  */
1590
- zip: string;
1671
+ state?: string;
1591
1672
  /**
1592
- * The second line of the address. This might be the floor or room number.
1673
+ * The ZIP or postal code of the address. Required in certain countries.
1593
1674
  */
1594
- line2?: string;
1675
+ zip?: string;
1595
1676
  }
1596
1677
  /**
1597
1678
  * A means of verifying the person's identity.
@@ -1887,26 +1968,30 @@ export declare namespace EntityCreateParams {
1887
1968
  */
1888
1969
  interface Address {
1889
1970
  /**
1890
- * The city of the address.
1971
+ * The city, district, town, or village of the address.
1891
1972
  */
1892
1973
  city: string;
1974
+ /**
1975
+ * The two-letter ISO 3166-1 alpha-2 code for the country of the address.
1976
+ */
1977
+ country: string;
1893
1978
  /**
1894
1979
  * The first line of the address. This is usually the street number and street.
1895
1980
  */
1896
1981
  line1: string;
1897
1982
  /**
1898
- * The two-letter United States Postal Service (USPS) abbreviation for the state of
1899
- * the address.
1983
+ * The second line of the address. This might be the floor or room number.
1900
1984
  */
1901
- state: string;
1985
+ line2?: string;
1902
1986
  /**
1903
- * The ZIP code of the address.
1987
+ * The two-letter United States Postal Service (USPS) abbreviation for the US
1988
+ * state, province, or region of the address. Required in certain countries.
1904
1989
  */
1905
- zip: string;
1990
+ state?: string;
1906
1991
  /**
1907
- * The second line of the address. This might be the floor or room number.
1992
+ * The ZIP or postal code of the address. Required in certain countries.
1908
1993
  */
1909
- line2?: string;
1994
+ zip?: string;
1910
1995
  }
1911
1996
  /**
1912
1997
  * A means of verifying the person's identity.
@@ -2054,26 +2139,30 @@ export declare namespace EntityCreateParams {
2054
2139
  */
2055
2140
  interface Address {
2056
2141
  /**
2057
- * The city of the address.
2142
+ * The city, district, town, or village of the address.
2058
2143
  */
2059
2144
  city: string;
2145
+ /**
2146
+ * The two-letter ISO 3166-1 alpha-2 code for the country of the address.
2147
+ */
2148
+ country: string;
2060
2149
  /**
2061
2150
  * The first line of the address. This is usually the street number and street.
2062
2151
  */
2063
2152
  line1: string;
2064
2153
  /**
2065
- * The two-letter United States Postal Service (USPS) abbreviation for the state of
2066
- * the address.
2154
+ * The second line of the address. This might be the floor or room number.
2067
2155
  */
2068
- state: string;
2156
+ line2?: string;
2069
2157
  /**
2070
- * The ZIP code of the address.
2158
+ * The two-letter United States Postal Service (USPS) abbreviation for the US
2159
+ * state, province, or region of the address. Required in certain countries.
2071
2160
  */
2072
- zip: string;
2161
+ state?: string;
2073
2162
  /**
2074
- * The second line of the address. This might be the floor or room number.
2163
+ * The ZIP or postal code of the address. Required in certain countries.
2075
2164
  */
2076
- line2?: string;
2165
+ zip?: string;
2077
2166
  }
2078
2167
  /**
2079
2168
  * A means of verifying the person's identity.
@@ -2269,26 +2358,30 @@ export declare namespace EntityUpdateParams {
2269
2358
  */
2270
2359
  interface Address {
2271
2360
  /**
2272
- * The city of the address.
2361
+ * The city, district, town, or village of the address.
2273
2362
  */
2274
2363
  city: string;
2364
+ /**
2365
+ * The two-letter ISO 3166-1 alpha-2 code for the country of the address.
2366
+ */
2367
+ country: string;
2275
2368
  /**
2276
2369
  * The first line of the address. This is usually the street number and street.
2277
2370
  */
2278
2371
  line1: string;
2279
2372
  /**
2280
- * The two-letter United States Postal Service (USPS) abbreviation for the state of
2281
- * the address.
2373
+ * The second line of the address. This might be the floor or room number.
2282
2374
  */
2283
- state: string;
2375
+ line2?: string;
2284
2376
  /**
2285
- * The ZIP code of the address.
2377
+ * The two-letter United States Postal Service (USPS) abbreviation for the US
2378
+ * state, province, or region of the address. Required in certain countries.
2286
2379
  */
2287
- zip: string;
2380
+ state?: string;
2288
2381
  /**
2289
- * The second line of the address. This might be the floor or room number.
2382
+ * The ZIP or postal code of the address. Required in certain countries.
2290
2383
  */
2291
- line2?: string;
2384
+ zip?: string;
2292
2385
  }
2293
2386
  }
2294
2387
  /**
@@ -2357,26 +2450,30 @@ export declare namespace EntityUpdateParams {
2357
2450
  */
2358
2451
  interface Address {
2359
2452
  /**
2360
- * The city of the address.
2453
+ * The city, district, town, or village of the address.
2361
2454
  */
2362
2455
  city: string;
2456
+ /**
2457
+ * The two-letter ISO 3166-1 alpha-2 code for the country of the address.
2458
+ */
2459
+ country: string;
2363
2460
  /**
2364
2461
  * The first line of the address. This is usually the street number and street.
2365
2462
  */
2366
2463
  line1: string;
2367
2464
  /**
2368
- * The two-letter United States Postal Service (USPS) abbreviation for the state of
2369
- * the address.
2465
+ * The second line of the address. This might be the floor or room number.
2370
2466
  */
2371
- state: string;
2467
+ line2?: string;
2372
2468
  /**
2373
- * The ZIP code of the address.
2469
+ * The two-letter United States Postal Service (USPS) abbreviation for the US
2470
+ * state, province, or region of the address. Required in certain countries.
2374
2471
  */
2375
- zip: string;
2472
+ state?: string;
2376
2473
  /**
2377
- * The second line of the address. This might be the floor or room number.
2474
+ * The ZIP or postal code of the address. Required in certain countries.
2378
2475
  */
2379
- line2?: string;
2476
+ zip?: string;
2380
2477
  }
2381
2478
  }
2382
2479
  /**