@augustusbank/typescript-sdk 0.15.0 → 0.17.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.
Files changed (93) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/client.d.mts +3 -3
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +3 -3
  5. package/client.d.ts.map +1 -1
  6. package/client.js +3 -3
  7. package/client.js.map +1 -1
  8. package/client.mjs +3 -3
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/accounts.d.mts +13 -13
  12. package/resources/accounts.d.mts.map +1 -1
  13. package/resources/accounts.d.ts +13 -13
  14. package/resources/accounts.d.ts.map +1 -1
  15. package/resources/api-keys.d.mts +1 -1
  16. package/resources/api-keys.d.mts.map +1 -1
  17. package/resources/api-keys.d.ts +1 -1
  18. package/resources/api-keys.d.ts.map +1 -1
  19. package/resources/conversions.d.mts +8 -8
  20. package/resources/conversions.d.mts.map +1 -1
  21. package/resources/conversions.d.ts +8 -8
  22. package/resources/conversions.d.ts.map +1 -1
  23. package/resources/deposits.d.mts +2 -2
  24. package/resources/deposits.d.mts.map +1 -1
  25. package/resources/deposits.d.ts +2 -2
  26. package/resources/deposits.d.ts.map +1 -1
  27. package/resources/index.d.mts +1 -1
  28. package/resources/index.d.mts.map +1 -1
  29. package/resources/index.d.ts +1 -1
  30. package/resources/index.d.ts.map +1 -1
  31. package/resources/index.js +3 -3
  32. package/resources/index.js.map +1 -1
  33. package/resources/index.mjs +1 -1
  34. package/resources/index.mjs.map +1 -1
  35. package/resources/payouts.d.mts +5 -5
  36. package/resources/payouts.d.mts.map +1 -1
  37. package/resources/payouts.d.ts +5 -5
  38. package/resources/payouts.d.ts.map +1 -1
  39. package/resources/quotes/indicative.d.mts +5 -5
  40. package/resources/quotes/indicative.d.mts.map +1 -1
  41. package/resources/quotes/indicative.d.ts +5 -5
  42. package/resources/quotes/indicative.d.ts.map +1 -1
  43. package/resources/quotes/quotes.d.mts +2 -2
  44. package/resources/quotes/quotes.d.mts.map +1 -1
  45. package/resources/quotes/quotes.d.ts +2 -2
  46. package/resources/quotes/quotes.d.ts.map +1 -1
  47. package/resources/returns.d.mts +3 -3
  48. package/resources/returns.d.mts.map +1 -1
  49. package/resources/returns.d.ts +3 -3
  50. package/resources/returns.d.ts.map +1 -1
  51. package/resources/scopes.d.mts +1 -1
  52. package/resources/scopes.d.mts.map +1 -1
  53. package/resources/scopes.d.ts +1 -1
  54. package/resources/scopes.d.ts.map +1 -1
  55. package/resources/transactions.d.mts +298 -0
  56. package/resources/transactions.d.mts.map +1 -0
  57. package/resources/transactions.d.ts +298 -0
  58. package/resources/transactions.d.ts.map +1 -0
  59. package/resources/transactions.js +26 -0
  60. package/resources/transactions.js.map +1 -0
  61. package/resources/transactions.mjs +22 -0
  62. package/resources/transactions.mjs.map +1 -0
  63. package/resources/webhooks.d.mts +15 -15
  64. package/resources/webhooks.d.mts.map +1 -1
  65. package/resources/webhooks.d.ts +15 -15
  66. package/resources/webhooks.d.ts.map +1 -1
  67. package/src/client.ts +17 -13
  68. package/src/resources/accounts.ts +13 -13
  69. package/src/resources/api-keys.ts +1 -1
  70. package/src/resources/conversions.ts +8 -8
  71. package/src/resources/deposits.ts +2 -2
  72. package/src/resources/index.ts +7 -5
  73. package/src/resources/payouts.ts +5 -5
  74. package/src/resources/quotes/indicative.ts +5 -5
  75. package/src/resources/quotes/quotes.ts +2 -2
  76. package/src/resources/returns.ts +3 -3
  77. package/src/resources/scopes.ts +2 -2
  78. package/src/resources/transactions.ts +405 -0
  79. package/src/resources/webhooks.ts +15 -15
  80. package/src/version.ts +1 -1
  81. package/version.d.mts +1 -1
  82. package/version.d.ts +1 -1
  83. package/version.js +1 -1
  84. package/version.mjs +1 -1
  85. package/resources/account-openings.d.mts +0 -204
  86. package/resources/account-openings.d.mts.map +0 -1
  87. package/resources/account-openings.d.ts +0 -204
  88. package/resources/account-openings.d.ts.map +0 -1
  89. package/resources/account-openings.js +0 -16
  90. package/resources/account-openings.js.map +0 -1
  91. package/resources/account-openings.mjs +0 -12
  92. package/resources/account-openings.mjs.map +0 -1
  93. package/src/resources/account-openings.ts +0 -1016
@@ -1,1016 +0,0 @@
1
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- import { APIResource } from '../core/resource';
4
- import { APIPromise } from '../core/api-promise';
5
- import { RequestOptions } from '../internal/request-options';
6
-
7
- export class AccountOpenings extends APIResource {
8
- /**
9
- * Starts an asynchronous account opening and returns an account_opening resource
10
- * in received status.
11
- */
12
- create(
13
- body: AccountOpeningCreateParams,
14
- options?: RequestOptions,
15
- ): APIPromise<AccountOpeningCreateResponse> {
16
- return this._client.post('/v1/account_openings', { body, ...options });
17
- }
18
- }
19
-
20
- export interface AccountOpeningCreateResponse {
21
- /**
22
- * Unique identifier of the account opening request.
23
- */
24
- id: string;
25
-
26
- /**
27
- * Current account opening lifecycle status.
28
- */
29
- status:
30
- | 'received'
31
- | 'screening_in_progress'
32
- | 'provisioning_in_progress'
33
- | 'succeeded'
34
- | 'rejected'
35
- | 'failed';
36
-
37
- /**
38
- * Resource type discriminator.
39
- */
40
- type: 'account_opening';
41
- }
42
-
43
- export interface AccountOpeningCreateParams {
44
- /**
45
- * ID of the account program to create the account opening under.
46
- */
47
- account_program_id: string;
48
-
49
- /**
50
- * Type of account to open. Currently only virtual account.
51
- */
52
- account_type: 'virtual_account';
53
-
54
- /**
55
- * Personal information of the account beneficiary.
56
- */
57
- beneficiary_data:
58
- | AccountOpeningCreateParams.UsBeneficiaryData
59
- | AccountOpeningCreateParams.NonUsBeneficiaryData;
60
- }
61
-
62
- export namespace AccountOpeningCreateParams {
63
- export interface UsBeneficiaryData {
64
- /**
65
- * ISO 3166-1 alpha-2 country code of citizenship.
66
- */
67
- country_of_citizenship: 'US';
68
-
69
- /**
70
- * Date of birth as an ISO 8601 calendar date (YYYY-MM-DD).
71
- */
72
- date_of_birth: string;
73
-
74
- /**
75
- * Government-issued identification with type: "ssn" (Social Security Number,
76
- * format ###-##-####) or "itin" (Individual Taxpayer ID, format 9##-##-####).
77
- */
78
- identification: UsBeneficiaryData.SsnIdentification | UsBeneficiaryData.ItinIdentification;
79
-
80
- /**
81
- * Full legal name of the account holder.
82
- */
83
- legal_name: string;
84
-
85
- /**
86
- * Residential address of the account holder.
87
- */
88
- residential_address: UsBeneficiaryData.UsResidentialAddress | UsBeneficiaryData.NonUsResidentialAddress;
89
- }
90
-
91
- export namespace UsBeneficiaryData {
92
- export interface SsnIdentification {
93
- type: 'ssn';
94
-
95
- value: string;
96
- }
97
-
98
- export interface ItinIdentification {
99
- type: 'itin';
100
-
101
- value: string;
102
- }
103
-
104
- export interface UsResidentialAddress {
105
- /**
106
- * City name.
107
- */
108
- city: string;
109
-
110
- /**
111
- * ISO 3166-1 alpha-2 country code.
112
- */
113
- country: 'US';
114
-
115
- /**
116
- * Postal or ZIP code.
117
- */
118
- postal_code: string;
119
-
120
- /**
121
- * Two-letter state code.
122
- */
123
- state: string;
124
-
125
- /**
126
- * Primary street address.
127
- */
128
- street_line_1: string;
129
-
130
- /**
131
- * Secondary street address (apartment, suite, etc.).
132
- */
133
- street_line_2?: string;
134
- }
135
-
136
- export interface NonUsResidentialAddress {
137
- /**
138
- * City name.
139
- */
140
- city: string;
141
-
142
- /**
143
- * ISO 3166-1 alpha-2 country code.
144
- */
145
- country:
146
- | 'AF'
147
- | 'AL'
148
- | 'DZ'
149
- | 'AS'
150
- | 'AD'
151
- | 'AO'
152
- | 'AI'
153
- | 'AQ'
154
- | 'AG'
155
- | 'AR'
156
- | 'AM'
157
- | 'AW'
158
- | 'AU'
159
- | 'AT'
160
- | 'AZ'
161
- | 'BS'
162
- | 'BH'
163
- | 'BD'
164
- | 'BB'
165
- | 'BY'
166
- | 'BE'
167
- | 'BZ'
168
- | 'BJ'
169
- | 'BM'
170
- | 'BT'
171
- | 'BO'
172
- | 'BA'
173
- | 'BW'
174
- | 'BV'
175
- | 'BR'
176
- | 'IO'
177
- | 'BN'
178
- | 'BG'
179
- | 'BF'
180
- | 'BI'
181
- | 'KH'
182
- | 'CM'
183
- | 'CA'
184
- | 'CV'
185
- | 'KY'
186
- | 'CF'
187
- | 'TD'
188
- | 'CL'
189
- | 'CN'
190
- | 'CX'
191
- | 'CC'
192
- | 'CO'
193
- | 'KM'
194
- | 'CG'
195
- | 'CD'
196
- | 'CK'
197
- | 'CR'
198
- | 'CI'
199
- | 'HR'
200
- | 'CU'
201
- | 'CY'
202
- | 'CZ'
203
- | 'DK'
204
- | 'DJ'
205
- | 'DM'
206
- | 'DO'
207
- | 'EC'
208
- | 'EG'
209
- | 'SV'
210
- | 'GQ'
211
- | 'ER'
212
- | 'EE'
213
- | 'ET'
214
- | 'FK'
215
- | 'FO'
216
- | 'FJ'
217
- | 'FI'
218
- | 'FR'
219
- | 'GF'
220
- | 'PF'
221
- | 'TF'
222
- | 'GA'
223
- | 'GM'
224
- | 'GE'
225
- | 'DE'
226
- | 'GH'
227
- | 'GI'
228
- | 'GR'
229
- | 'GL'
230
- | 'GD'
231
- | 'GP'
232
- | 'GU'
233
- | 'GT'
234
- | 'GN'
235
- | 'GW'
236
- | 'GY'
237
- | 'HT'
238
- | 'HM'
239
- | 'VA'
240
- | 'HN'
241
- | 'HK'
242
- | 'HU'
243
- | 'IS'
244
- | 'IN'
245
- | 'ID'
246
- | 'IR'
247
- | 'IQ'
248
- | 'IE'
249
- | 'IL'
250
- | 'IT'
251
- | 'JM'
252
- | 'JP'
253
- | 'JO'
254
- | 'KZ'
255
- | 'KE'
256
- | 'KI'
257
- | 'KP'
258
- | 'KR'
259
- | 'KW'
260
- | 'KG'
261
- | 'LA'
262
- | 'LV'
263
- | 'LB'
264
- | 'LS'
265
- | 'LR'
266
- | 'LY'
267
- | 'LI'
268
- | 'LT'
269
- | 'LU'
270
- | 'MO'
271
- | 'MG'
272
- | 'MW'
273
- | 'MY'
274
- | 'MV'
275
- | 'ML'
276
- | 'MT'
277
- | 'MH'
278
- | 'MQ'
279
- | 'MR'
280
- | 'MU'
281
- | 'YT'
282
- | 'MX'
283
- | 'FM'
284
- | 'MD'
285
- | 'MC'
286
- | 'MN'
287
- | 'MS'
288
- | 'MA'
289
- | 'MZ'
290
- | 'MM'
291
- | 'NA'
292
- | 'NR'
293
- | 'NP'
294
- | 'NL'
295
- | 'NC'
296
- | 'NZ'
297
- | 'NI'
298
- | 'NE'
299
- | 'NG'
300
- | 'NU'
301
- | 'NF'
302
- | 'MP'
303
- | 'MK'
304
- | 'NO'
305
- | 'OM'
306
- | 'PK'
307
- | 'PW'
308
- | 'PS'
309
- | 'PA'
310
- | 'PG'
311
- | 'PY'
312
- | 'PE'
313
- | 'PH'
314
- | 'PN'
315
- | 'PL'
316
- | 'PT'
317
- | 'PR'
318
- | 'QA'
319
- | 'RE'
320
- | 'RO'
321
- | 'RU'
322
- | 'RW'
323
- | 'SH'
324
- | 'KN'
325
- | 'LC'
326
- | 'PM'
327
- | 'VC'
328
- | 'WS'
329
- | 'SM'
330
- | 'ST'
331
- | 'SA'
332
- | 'SN'
333
- | 'SC'
334
- | 'SL'
335
- | 'SG'
336
- | 'SK'
337
- | 'SI'
338
- | 'SB'
339
- | 'SO'
340
- | 'ZA'
341
- | 'GS'
342
- | 'ES'
343
- | 'LK'
344
- | 'SD'
345
- | 'SR'
346
- | 'SJ'
347
- | 'SZ'
348
- | 'SE'
349
- | 'CH'
350
- | 'SY'
351
- | 'TW'
352
- | 'TJ'
353
- | 'TZ'
354
- | 'TH'
355
- | 'TL'
356
- | 'TG'
357
- | 'TK'
358
- | 'TO'
359
- | 'TT'
360
- | 'TN'
361
- | 'TR'
362
- | 'TM'
363
- | 'TC'
364
- | 'TV'
365
- | 'UG'
366
- | 'UA'
367
- | 'AE'
368
- | 'GB'
369
- | 'UM'
370
- | 'UY'
371
- | 'UZ'
372
- | 'VU'
373
- | 'VE'
374
- | 'VN'
375
- | 'VG'
376
- | 'VI'
377
- | 'WF'
378
- | 'EH'
379
- | 'YE'
380
- | 'ZM'
381
- | 'ZW'
382
- | 'AX'
383
- | 'BQ'
384
- | 'CW'
385
- | 'GG'
386
- | 'IM'
387
- | 'JE'
388
- | 'ME'
389
- | 'BL'
390
- | 'MF'
391
- | 'RS'
392
- | 'SX'
393
- | 'SS'
394
- | 'XK';
395
-
396
- /**
397
- * Postal or ZIP code.
398
- */
399
- postal_code: string;
400
-
401
- /**
402
- * Primary street address.
403
- */
404
- street_line_1: string;
405
-
406
- /**
407
- * Secondary street address (apartment, suite, etc.).
408
- */
409
- street_line_2?: string;
410
- }
411
- }
412
-
413
- export interface NonUsBeneficiaryData {
414
- /**
415
- * ISO 3166-1 alpha-2 country code of citizenship.
416
- */
417
- country_of_citizenship:
418
- | 'AF'
419
- | 'AL'
420
- | 'DZ'
421
- | 'AS'
422
- | 'AD'
423
- | 'AO'
424
- | 'AI'
425
- | 'AQ'
426
- | 'AG'
427
- | 'AR'
428
- | 'AM'
429
- | 'AW'
430
- | 'AU'
431
- | 'AT'
432
- | 'AZ'
433
- | 'BS'
434
- | 'BH'
435
- | 'BD'
436
- | 'BB'
437
- | 'BY'
438
- | 'BE'
439
- | 'BZ'
440
- | 'BJ'
441
- | 'BM'
442
- | 'BT'
443
- | 'BO'
444
- | 'BA'
445
- | 'BW'
446
- | 'BV'
447
- | 'BR'
448
- | 'IO'
449
- | 'BN'
450
- | 'BG'
451
- | 'BF'
452
- | 'BI'
453
- | 'KH'
454
- | 'CM'
455
- | 'CA'
456
- | 'CV'
457
- | 'KY'
458
- | 'CF'
459
- | 'TD'
460
- | 'CL'
461
- | 'CN'
462
- | 'CX'
463
- | 'CC'
464
- | 'CO'
465
- | 'KM'
466
- | 'CG'
467
- | 'CD'
468
- | 'CK'
469
- | 'CR'
470
- | 'CI'
471
- | 'HR'
472
- | 'CU'
473
- | 'CY'
474
- | 'CZ'
475
- | 'DK'
476
- | 'DJ'
477
- | 'DM'
478
- | 'DO'
479
- | 'EC'
480
- | 'EG'
481
- | 'SV'
482
- | 'GQ'
483
- | 'ER'
484
- | 'EE'
485
- | 'ET'
486
- | 'FK'
487
- | 'FO'
488
- | 'FJ'
489
- | 'FI'
490
- | 'FR'
491
- | 'GF'
492
- | 'PF'
493
- | 'TF'
494
- | 'GA'
495
- | 'GM'
496
- | 'GE'
497
- | 'DE'
498
- | 'GH'
499
- | 'GI'
500
- | 'GR'
501
- | 'GL'
502
- | 'GD'
503
- | 'GP'
504
- | 'GU'
505
- | 'GT'
506
- | 'GN'
507
- | 'GW'
508
- | 'GY'
509
- | 'HT'
510
- | 'HM'
511
- | 'VA'
512
- | 'HN'
513
- | 'HK'
514
- | 'HU'
515
- | 'IS'
516
- | 'IN'
517
- | 'ID'
518
- | 'IR'
519
- | 'IQ'
520
- | 'IE'
521
- | 'IL'
522
- | 'IT'
523
- | 'JM'
524
- | 'JP'
525
- | 'JO'
526
- | 'KZ'
527
- | 'KE'
528
- | 'KI'
529
- | 'KP'
530
- | 'KR'
531
- | 'KW'
532
- | 'KG'
533
- | 'LA'
534
- | 'LV'
535
- | 'LB'
536
- | 'LS'
537
- | 'LR'
538
- | 'LY'
539
- | 'LI'
540
- | 'LT'
541
- | 'LU'
542
- | 'MO'
543
- | 'MG'
544
- | 'MW'
545
- | 'MY'
546
- | 'MV'
547
- | 'ML'
548
- | 'MT'
549
- | 'MH'
550
- | 'MQ'
551
- | 'MR'
552
- | 'MU'
553
- | 'YT'
554
- | 'MX'
555
- | 'FM'
556
- | 'MD'
557
- | 'MC'
558
- | 'MN'
559
- | 'MS'
560
- | 'MA'
561
- | 'MZ'
562
- | 'MM'
563
- | 'NA'
564
- | 'NR'
565
- | 'NP'
566
- | 'NL'
567
- | 'NC'
568
- | 'NZ'
569
- | 'NI'
570
- | 'NE'
571
- | 'NG'
572
- | 'NU'
573
- | 'NF'
574
- | 'MP'
575
- | 'MK'
576
- | 'NO'
577
- | 'OM'
578
- | 'PK'
579
- | 'PW'
580
- | 'PS'
581
- | 'PA'
582
- | 'PG'
583
- | 'PY'
584
- | 'PE'
585
- | 'PH'
586
- | 'PN'
587
- | 'PL'
588
- | 'PT'
589
- | 'PR'
590
- | 'QA'
591
- | 'RE'
592
- | 'RO'
593
- | 'RU'
594
- | 'RW'
595
- | 'SH'
596
- | 'KN'
597
- | 'LC'
598
- | 'PM'
599
- | 'VC'
600
- | 'WS'
601
- | 'SM'
602
- | 'ST'
603
- | 'SA'
604
- | 'SN'
605
- | 'SC'
606
- | 'SL'
607
- | 'SG'
608
- | 'SK'
609
- | 'SI'
610
- | 'SB'
611
- | 'SO'
612
- | 'ZA'
613
- | 'GS'
614
- | 'ES'
615
- | 'LK'
616
- | 'SD'
617
- | 'SR'
618
- | 'SJ'
619
- | 'SZ'
620
- | 'SE'
621
- | 'CH'
622
- | 'SY'
623
- | 'TW'
624
- | 'TJ'
625
- | 'TZ'
626
- | 'TH'
627
- | 'TL'
628
- | 'TG'
629
- | 'TK'
630
- | 'TO'
631
- | 'TT'
632
- | 'TN'
633
- | 'TR'
634
- | 'TM'
635
- | 'TC'
636
- | 'TV'
637
- | 'UG'
638
- | 'UA'
639
- | 'AE'
640
- | 'GB'
641
- | 'UM'
642
- | 'UY'
643
- | 'UZ'
644
- | 'VU'
645
- | 'VE'
646
- | 'VN'
647
- | 'VG'
648
- | 'VI'
649
- | 'WF'
650
- | 'EH'
651
- | 'YE'
652
- | 'ZM'
653
- | 'ZW'
654
- | 'AX'
655
- | 'BQ'
656
- | 'CW'
657
- | 'GG'
658
- | 'IM'
659
- | 'JE'
660
- | 'ME'
661
- | 'BL'
662
- | 'MF'
663
- | 'RS'
664
- | 'SX'
665
- | 'SS'
666
- | 'XK';
667
-
668
- /**
669
- * Date of birth as an ISO 8601 calendar date (YYYY-MM-DD).
670
- */
671
- date_of_birth: string;
672
-
673
- /**
674
- * Government-issued identification with type: "id" (generic government-issued ID).
675
- */
676
- identification: NonUsBeneficiaryData.Identification;
677
-
678
- /**
679
- * Full legal name of the account holder.
680
- */
681
- legal_name: string;
682
-
683
- /**
684
- * Residential address of the account holder.
685
- */
686
- residential_address:
687
- | NonUsBeneficiaryData.UsResidentialAddress
688
- | NonUsBeneficiaryData.NonUsResidentialAddress;
689
- }
690
-
691
- export namespace NonUsBeneficiaryData {
692
- /**
693
- * Government-issued identification with type: "id" (generic government-issued ID).
694
- */
695
- export interface Identification {
696
- type: 'id';
697
-
698
- value: string;
699
- }
700
-
701
- export interface UsResidentialAddress {
702
- /**
703
- * City name.
704
- */
705
- city: string;
706
-
707
- /**
708
- * ISO 3166-1 alpha-2 country code.
709
- */
710
- country: 'US';
711
-
712
- /**
713
- * Postal or ZIP code.
714
- */
715
- postal_code: string;
716
-
717
- /**
718
- * Two-letter state code.
719
- */
720
- state: string;
721
-
722
- /**
723
- * Primary street address.
724
- */
725
- street_line_1: string;
726
-
727
- /**
728
- * Secondary street address (apartment, suite, etc.).
729
- */
730
- street_line_2?: string;
731
- }
732
-
733
- export interface NonUsResidentialAddress {
734
- /**
735
- * City name.
736
- */
737
- city: string;
738
-
739
- /**
740
- * ISO 3166-1 alpha-2 country code.
741
- */
742
- country:
743
- | 'AF'
744
- | 'AL'
745
- | 'DZ'
746
- | 'AS'
747
- | 'AD'
748
- | 'AO'
749
- | 'AI'
750
- | 'AQ'
751
- | 'AG'
752
- | 'AR'
753
- | 'AM'
754
- | 'AW'
755
- | 'AU'
756
- | 'AT'
757
- | 'AZ'
758
- | 'BS'
759
- | 'BH'
760
- | 'BD'
761
- | 'BB'
762
- | 'BY'
763
- | 'BE'
764
- | 'BZ'
765
- | 'BJ'
766
- | 'BM'
767
- | 'BT'
768
- | 'BO'
769
- | 'BA'
770
- | 'BW'
771
- | 'BV'
772
- | 'BR'
773
- | 'IO'
774
- | 'BN'
775
- | 'BG'
776
- | 'BF'
777
- | 'BI'
778
- | 'KH'
779
- | 'CM'
780
- | 'CA'
781
- | 'CV'
782
- | 'KY'
783
- | 'CF'
784
- | 'TD'
785
- | 'CL'
786
- | 'CN'
787
- | 'CX'
788
- | 'CC'
789
- | 'CO'
790
- | 'KM'
791
- | 'CG'
792
- | 'CD'
793
- | 'CK'
794
- | 'CR'
795
- | 'CI'
796
- | 'HR'
797
- | 'CU'
798
- | 'CY'
799
- | 'CZ'
800
- | 'DK'
801
- | 'DJ'
802
- | 'DM'
803
- | 'DO'
804
- | 'EC'
805
- | 'EG'
806
- | 'SV'
807
- | 'GQ'
808
- | 'ER'
809
- | 'EE'
810
- | 'ET'
811
- | 'FK'
812
- | 'FO'
813
- | 'FJ'
814
- | 'FI'
815
- | 'FR'
816
- | 'GF'
817
- | 'PF'
818
- | 'TF'
819
- | 'GA'
820
- | 'GM'
821
- | 'GE'
822
- | 'DE'
823
- | 'GH'
824
- | 'GI'
825
- | 'GR'
826
- | 'GL'
827
- | 'GD'
828
- | 'GP'
829
- | 'GU'
830
- | 'GT'
831
- | 'GN'
832
- | 'GW'
833
- | 'GY'
834
- | 'HT'
835
- | 'HM'
836
- | 'VA'
837
- | 'HN'
838
- | 'HK'
839
- | 'HU'
840
- | 'IS'
841
- | 'IN'
842
- | 'ID'
843
- | 'IR'
844
- | 'IQ'
845
- | 'IE'
846
- | 'IL'
847
- | 'IT'
848
- | 'JM'
849
- | 'JP'
850
- | 'JO'
851
- | 'KZ'
852
- | 'KE'
853
- | 'KI'
854
- | 'KP'
855
- | 'KR'
856
- | 'KW'
857
- | 'KG'
858
- | 'LA'
859
- | 'LV'
860
- | 'LB'
861
- | 'LS'
862
- | 'LR'
863
- | 'LY'
864
- | 'LI'
865
- | 'LT'
866
- | 'LU'
867
- | 'MO'
868
- | 'MG'
869
- | 'MW'
870
- | 'MY'
871
- | 'MV'
872
- | 'ML'
873
- | 'MT'
874
- | 'MH'
875
- | 'MQ'
876
- | 'MR'
877
- | 'MU'
878
- | 'YT'
879
- | 'MX'
880
- | 'FM'
881
- | 'MD'
882
- | 'MC'
883
- | 'MN'
884
- | 'MS'
885
- | 'MA'
886
- | 'MZ'
887
- | 'MM'
888
- | 'NA'
889
- | 'NR'
890
- | 'NP'
891
- | 'NL'
892
- | 'NC'
893
- | 'NZ'
894
- | 'NI'
895
- | 'NE'
896
- | 'NG'
897
- | 'NU'
898
- | 'NF'
899
- | 'MP'
900
- | 'MK'
901
- | 'NO'
902
- | 'OM'
903
- | 'PK'
904
- | 'PW'
905
- | 'PS'
906
- | 'PA'
907
- | 'PG'
908
- | 'PY'
909
- | 'PE'
910
- | 'PH'
911
- | 'PN'
912
- | 'PL'
913
- | 'PT'
914
- | 'PR'
915
- | 'QA'
916
- | 'RE'
917
- | 'RO'
918
- | 'RU'
919
- | 'RW'
920
- | 'SH'
921
- | 'KN'
922
- | 'LC'
923
- | 'PM'
924
- | 'VC'
925
- | 'WS'
926
- | 'SM'
927
- | 'ST'
928
- | 'SA'
929
- | 'SN'
930
- | 'SC'
931
- | 'SL'
932
- | 'SG'
933
- | 'SK'
934
- | 'SI'
935
- | 'SB'
936
- | 'SO'
937
- | 'ZA'
938
- | 'GS'
939
- | 'ES'
940
- | 'LK'
941
- | 'SD'
942
- | 'SR'
943
- | 'SJ'
944
- | 'SZ'
945
- | 'SE'
946
- | 'CH'
947
- | 'SY'
948
- | 'TW'
949
- | 'TJ'
950
- | 'TZ'
951
- | 'TH'
952
- | 'TL'
953
- | 'TG'
954
- | 'TK'
955
- | 'TO'
956
- | 'TT'
957
- | 'TN'
958
- | 'TR'
959
- | 'TM'
960
- | 'TC'
961
- | 'TV'
962
- | 'UG'
963
- | 'UA'
964
- | 'AE'
965
- | 'GB'
966
- | 'UM'
967
- | 'UY'
968
- | 'UZ'
969
- | 'VU'
970
- | 'VE'
971
- | 'VN'
972
- | 'VG'
973
- | 'VI'
974
- | 'WF'
975
- | 'EH'
976
- | 'YE'
977
- | 'ZM'
978
- | 'ZW'
979
- | 'AX'
980
- | 'BQ'
981
- | 'CW'
982
- | 'GG'
983
- | 'IM'
984
- | 'JE'
985
- | 'ME'
986
- | 'BL'
987
- | 'MF'
988
- | 'RS'
989
- | 'SX'
990
- | 'SS'
991
- | 'XK';
992
-
993
- /**
994
- * Postal or ZIP code.
995
- */
996
- postal_code: string;
997
-
998
- /**
999
- * Primary street address.
1000
- */
1001
- street_line_1: string;
1002
-
1003
- /**
1004
- * Secondary street address (apartment, suite, etc.).
1005
- */
1006
- street_line_2?: string;
1007
- }
1008
- }
1009
- }
1010
-
1011
- export declare namespace AccountOpenings {
1012
- export {
1013
- type AccountOpeningCreateResponse as AccountOpeningCreateResponse,
1014
- type AccountOpeningCreateParams as AccountOpeningCreateParams,
1015
- };
1016
- }