@augustusbank/typescript-sdk 0.27.0 → 0.28.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.
- package/CHANGELOG.md +7 -0
- package/package.json +1 -1
- package/resources/accounts.d.mts +186 -114
- package/resources/accounts.d.mts.map +1 -1
- package/resources/accounts.d.ts +186 -114
- package/resources/accounts.d.ts.map +1 -1
- package/resources/counterparties.d.mts +243 -97
- package/resources/counterparties.d.mts.map +1 -1
- package/resources/counterparties.d.ts +243 -97
- package/resources/counterparties.d.ts.map +1 -1
- package/resources/counterparties.js +3 -2
- package/resources/counterparties.js.map +1 -1
- package/resources/counterparties.mjs +3 -2
- package/resources/counterparties.mjs.map +1 -1
- package/resources/payouts.d.mts +1 -1
- package/resources/payouts.d.ts +1 -1
- package/resources/payouts.js +1 -1
- package/resources/payouts.mjs +1 -1
- package/resources/simulations/account-programs.d.mts +37 -22
- package/resources/simulations/account-programs.d.mts.map +1 -1
- package/resources/simulations/account-programs.d.ts +37 -22
- package/resources/simulations/account-programs.d.ts.map +1 -1
- package/resources/simulations/account-programs.js +3 -2
- package/resources/simulations/account-programs.js.map +1 -1
- package/resources/simulations/account-programs.mjs +3 -2
- package/resources/simulations/account-programs.mjs.map +1 -1
- package/resources/simulations/accounts.d.mts +37 -22
- package/resources/simulations/accounts.d.mts.map +1 -1
- package/resources/simulations/accounts.d.ts +37 -22
- package/resources/simulations/accounts.d.ts.map +1 -1
- package/resources/simulations/accounts.js +4 -3
- package/resources/simulations/accounts.js.map +1 -1
- package/resources/simulations/accounts.mjs +4 -3
- package/resources/simulations/accounts.mjs.map +1 -1
- package/resources/simulations/deposits.d.mts +41 -20
- package/resources/simulations/deposits.d.mts.map +1 -1
- package/resources/simulations/deposits.d.ts +41 -20
- package/resources/simulations/deposits.d.ts.map +1 -1
- package/resources/simulations/deposits.js +1 -1
- package/resources/simulations/deposits.mjs +1 -1
- package/resources/transactions.d.mts +62 -38
- package/resources/transactions.d.mts.map +1 -1
- package/resources/transactions.d.ts +62 -38
- package/resources/transactions.d.ts.map +1 -1
- package/resources/webhooks.d.mts +258 -114
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +258 -114
- package/resources/webhooks.d.ts.map +1 -1
- package/src/resources/accounts.ts +216 -126
- package/src/resources/counterparties.ts +286 -107
- package/src/resources/payouts.ts +1 -1
- package/src/resources/simulations/account-programs.ts +42 -25
- package/src/resources/simulations/accounts.ts +42 -25
- package/src/resources/simulations/deposits.ts +46 -22
- package/src/resources/transactions.ts +72 -42
- package/src/resources/webhooks.ts +306 -126
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -145,9 +145,9 @@ export interface AccountCreateResponse {
|
|
|
145
145
|
* this account can send or receive funds.
|
|
146
146
|
*/
|
|
147
147
|
financial_addresses: Array<
|
|
148
|
+
| AccountCreateResponse.AbaFinancialAddress
|
|
148
149
|
| AccountCreateResponse.IbanFinancialAddress
|
|
149
150
|
| AccountCreateResponse.SortCodeFinancialAddress
|
|
150
|
-
| AccountCreateResponse.AbaFinancialAddress
|
|
151
151
|
| AccountCreateResponse.BicFinancialAddress
|
|
152
152
|
| AccountCreateResponse.CryptoWalletFinancialAddress
|
|
153
153
|
>;
|
|
@@ -181,70 +181,80 @@ export interface AccountCreateResponse {
|
|
|
181
181
|
}
|
|
182
182
|
|
|
183
183
|
export namespace AccountCreateResponse {
|
|
184
|
-
export interface
|
|
184
|
+
export interface AbaFinancialAddress {
|
|
185
185
|
/**
|
|
186
186
|
* Name of the account holder.
|
|
187
187
|
*/
|
|
188
188
|
account_holder_name: string;
|
|
189
189
|
|
|
190
190
|
/**
|
|
191
|
-
* Bank
|
|
191
|
+
* Bank account number.
|
|
192
192
|
*/
|
|
193
|
-
|
|
193
|
+
account_number: string;
|
|
194
194
|
|
|
195
195
|
/**
|
|
196
|
-
*
|
|
196
|
+
* Whether the account is a checking or a savings account, or null if not provided.
|
|
197
197
|
*/
|
|
198
|
-
|
|
198
|
+
account_type: 'checking' | 'savings' | null;
|
|
199
199
|
|
|
200
200
|
/**
|
|
201
|
-
*
|
|
201
|
+
* ABA routing number (9 digits).
|
|
202
202
|
*/
|
|
203
|
-
|
|
203
|
+
routing_number: string;
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* Discriminator for ABA wire financial address.
|
|
207
|
+
*/
|
|
208
|
+
type: 'aba';
|
|
204
209
|
}
|
|
205
210
|
|
|
206
|
-
export interface
|
|
211
|
+
export interface IbanFinancialAddress {
|
|
207
212
|
/**
|
|
208
213
|
* Name of the account holder.
|
|
209
214
|
*/
|
|
210
215
|
account_holder_name: string;
|
|
211
216
|
|
|
212
217
|
/**
|
|
213
|
-
*
|
|
218
|
+
* Whether the account is a checking or a savings account, or null if not provided.
|
|
214
219
|
*/
|
|
215
|
-
|
|
220
|
+
account_type: 'checking' | 'savings' | null;
|
|
216
221
|
|
|
217
222
|
/**
|
|
218
|
-
*
|
|
223
|
+
* Bank Identifier Code, or null if not provided.
|
|
219
224
|
*/
|
|
220
|
-
|
|
225
|
+
bic: string | null;
|
|
221
226
|
|
|
222
227
|
/**
|
|
223
|
-
*
|
|
228
|
+
* International Bank Account Number.
|
|
224
229
|
*/
|
|
225
|
-
|
|
230
|
+
iban: string;
|
|
231
|
+
|
|
232
|
+
/**
|
|
233
|
+
* Discriminator for IBAN financial address.
|
|
234
|
+
*/
|
|
235
|
+
type: 'iban';
|
|
226
236
|
}
|
|
227
237
|
|
|
228
|
-
export interface
|
|
238
|
+
export interface SortCodeFinancialAddress {
|
|
229
239
|
/**
|
|
230
240
|
* Name of the account holder.
|
|
231
241
|
*/
|
|
232
242
|
account_holder_name: string;
|
|
233
243
|
|
|
234
244
|
/**
|
|
235
|
-
*
|
|
245
|
+
* UK account number (8 digits).
|
|
236
246
|
*/
|
|
237
247
|
account_number: string;
|
|
238
248
|
|
|
239
249
|
/**
|
|
240
|
-
*
|
|
250
|
+
* UK sort code (6 digits).
|
|
241
251
|
*/
|
|
242
|
-
|
|
252
|
+
sort_code: string;
|
|
243
253
|
|
|
244
254
|
/**
|
|
245
|
-
* Discriminator for
|
|
255
|
+
* Discriminator for UK sort code financial address.
|
|
246
256
|
*/
|
|
247
|
-
type: '
|
|
257
|
+
type: 'sort_code';
|
|
248
258
|
}
|
|
249
259
|
|
|
250
260
|
export interface BicFinancialAddress {
|
|
@@ -258,6 +268,11 @@ export namespace AccountCreateResponse {
|
|
|
258
268
|
*/
|
|
259
269
|
account_number: string;
|
|
260
270
|
|
|
271
|
+
/**
|
|
272
|
+
* Whether the account is a checking or a savings account, or null if not provided.
|
|
273
|
+
*/
|
|
274
|
+
account_type: 'checking' | 'savings' | null;
|
|
275
|
+
|
|
261
276
|
/**
|
|
262
277
|
* ISO 9362 Bank Identifier Code (8 or 11 characters).
|
|
263
278
|
*/
|
|
@@ -327,9 +342,9 @@ export interface AccountRetrieveResponse {
|
|
|
327
342
|
* this account can send or receive funds.
|
|
328
343
|
*/
|
|
329
344
|
financial_addresses: Array<
|
|
345
|
+
| AccountRetrieveResponse.AbaFinancialAddress
|
|
330
346
|
| AccountRetrieveResponse.IbanFinancialAddress
|
|
331
347
|
| AccountRetrieveResponse.SortCodeFinancialAddress
|
|
332
|
-
| AccountRetrieveResponse.AbaFinancialAddress
|
|
333
348
|
| AccountRetrieveResponse.BicFinancialAddress
|
|
334
349
|
| AccountRetrieveResponse.CryptoWalletFinancialAddress
|
|
335
350
|
>;
|
|
@@ -363,70 +378,80 @@ export interface AccountRetrieveResponse {
|
|
|
363
378
|
}
|
|
364
379
|
|
|
365
380
|
export namespace AccountRetrieveResponse {
|
|
366
|
-
export interface
|
|
381
|
+
export interface AbaFinancialAddress {
|
|
367
382
|
/**
|
|
368
383
|
* Name of the account holder.
|
|
369
384
|
*/
|
|
370
385
|
account_holder_name: string;
|
|
371
386
|
|
|
372
387
|
/**
|
|
373
|
-
* Bank
|
|
388
|
+
* Bank account number.
|
|
374
389
|
*/
|
|
375
|
-
|
|
390
|
+
account_number: string;
|
|
376
391
|
|
|
377
392
|
/**
|
|
378
|
-
*
|
|
393
|
+
* Whether the account is a checking or a savings account, or null if not provided.
|
|
379
394
|
*/
|
|
380
|
-
|
|
395
|
+
account_type: 'checking' | 'savings' | null;
|
|
381
396
|
|
|
382
397
|
/**
|
|
383
|
-
*
|
|
398
|
+
* ABA routing number (9 digits).
|
|
384
399
|
*/
|
|
385
|
-
|
|
400
|
+
routing_number: string;
|
|
401
|
+
|
|
402
|
+
/**
|
|
403
|
+
* Discriminator for ABA wire financial address.
|
|
404
|
+
*/
|
|
405
|
+
type: 'aba';
|
|
386
406
|
}
|
|
387
407
|
|
|
388
|
-
export interface
|
|
408
|
+
export interface IbanFinancialAddress {
|
|
389
409
|
/**
|
|
390
410
|
* Name of the account holder.
|
|
391
411
|
*/
|
|
392
412
|
account_holder_name: string;
|
|
393
413
|
|
|
394
414
|
/**
|
|
395
|
-
*
|
|
415
|
+
* Whether the account is a checking or a savings account, or null if not provided.
|
|
396
416
|
*/
|
|
397
|
-
|
|
417
|
+
account_type: 'checking' | 'savings' | null;
|
|
398
418
|
|
|
399
419
|
/**
|
|
400
|
-
*
|
|
420
|
+
* Bank Identifier Code, or null if not provided.
|
|
401
421
|
*/
|
|
402
|
-
|
|
422
|
+
bic: string | null;
|
|
403
423
|
|
|
404
424
|
/**
|
|
405
|
-
*
|
|
425
|
+
* International Bank Account Number.
|
|
406
426
|
*/
|
|
407
|
-
|
|
427
|
+
iban: string;
|
|
428
|
+
|
|
429
|
+
/**
|
|
430
|
+
* Discriminator for IBAN financial address.
|
|
431
|
+
*/
|
|
432
|
+
type: 'iban';
|
|
408
433
|
}
|
|
409
434
|
|
|
410
|
-
export interface
|
|
435
|
+
export interface SortCodeFinancialAddress {
|
|
411
436
|
/**
|
|
412
437
|
* Name of the account holder.
|
|
413
438
|
*/
|
|
414
439
|
account_holder_name: string;
|
|
415
440
|
|
|
416
441
|
/**
|
|
417
|
-
*
|
|
442
|
+
* UK account number (8 digits).
|
|
418
443
|
*/
|
|
419
444
|
account_number: string;
|
|
420
445
|
|
|
421
446
|
/**
|
|
422
|
-
*
|
|
447
|
+
* UK sort code (6 digits).
|
|
423
448
|
*/
|
|
424
|
-
|
|
449
|
+
sort_code: string;
|
|
425
450
|
|
|
426
451
|
/**
|
|
427
|
-
* Discriminator for
|
|
452
|
+
* Discriminator for UK sort code financial address.
|
|
428
453
|
*/
|
|
429
|
-
type: '
|
|
454
|
+
type: 'sort_code';
|
|
430
455
|
}
|
|
431
456
|
|
|
432
457
|
export interface BicFinancialAddress {
|
|
@@ -440,6 +465,11 @@ export namespace AccountRetrieveResponse {
|
|
|
440
465
|
*/
|
|
441
466
|
account_number: string;
|
|
442
467
|
|
|
468
|
+
/**
|
|
469
|
+
* Whether the account is a checking or a savings account, or null if not provided.
|
|
470
|
+
*/
|
|
471
|
+
account_type: 'checking' | 'savings' | null;
|
|
472
|
+
|
|
443
473
|
/**
|
|
444
474
|
* ISO 9362 Bank Identifier Code (8 or 11 characters).
|
|
445
475
|
*/
|
|
@@ -509,9 +539,9 @@ export interface AccountListResponse {
|
|
|
509
539
|
* this account can send or receive funds.
|
|
510
540
|
*/
|
|
511
541
|
financial_addresses: Array<
|
|
542
|
+
| AccountListResponse.AbaFinancialAddress
|
|
512
543
|
| AccountListResponse.IbanFinancialAddress
|
|
513
544
|
| AccountListResponse.SortCodeFinancialAddress
|
|
514
|
-
| AccountListResponse.AbaFinancialAddress
|
|
515
545
|
| AccountListResponse.BicFinancialAddress
|
|
516
546
|
| AccountListResponse.CryptoWalletFinancialAddress
|
|
517
547
|
>;
|
|
@@ -545,70 +575,80 @@ export interface AccountListResponse {
|
|
|
545
575
|
}
|
|
546
576
|
|
|
547
577
|
export namespace AccountListResponse {
|
|
548
|
-
export interface
|
|
578
|
+
export interface AbaFinancialAddress {
|
|
549
579
|
/**
|
|
550
580
|
* Name of the account holder.
|
|
551
581
|
*/
|
|
552
582
|
account_holder_name: string;
|
|
553
583
|
|
|
554
584
|
/**
|
|
555
|
-
* Bank
|
|
585
|
+
* Bank account number.
|
|
556
586
|
*/
|
|
557
|
-
|
|
587
|
+
account_number: string;
|
|
558
588
|
|
|
559
589
|
/**
|
|
560
|
-
*
|
|
590
|
+
* Whether the account is a checking or a savings account, or null if not provided.
|
|
561
591
|
*/
|
|
562
|
-
|
|
592
|
+
account_type: 'checking' | 'savings' | null;
|
|
563
593
|
|
|
564
594
|
/**
|
|
565
|
-
*
|
|
595
|
+
* ABA routing number (9 digits).
|
|
566
596
|
*/
|
|
567
|
-
|
|
597
|
+
routing_number: string;
|
|
598
|
+
|
|
599
|
+
/**
|
|
600
|
+
* Discriminator for ABA wire financial address.
|
|
601
|
+
*/
|
|
602
|
+
type: 'aba';
|
|
568
603
|
}
|
|
569
604
|
|
|
570
|
-
export interface
|
|
605
|
+
export interface IbanFinancialAddress {
|
|
571
606
|
/**
|
|
572
607
|
* Name of the account holder.
|
|
573
608
|
*/
|
|
574
609
|
account_holder_name: string;
|
|
575
610
|
|
|
576
611
|
/**
|
|
577
|
-
*
|
|
612
|
+
* Whether the account is a checking or a savings account, or null if not provided.
|
|
578
613
|
*/
|
|
579
|
-
|
|
614
|
+
account_type: 'checking' | 'savings' | null;
|
|
580
615
|
|
|
581
616
|
/**
|
|
582
|
-
*
|
|
617
|
+
* Bank Identifier Code, or null if not provided.
|
|
583
618
|
*/
|
|
584
|
-
|
|
619
|
+
bic: string | null;
|
|
585
620
|
|
|
586
621
|
/**
|
|
587
|
-
*
|
|
622
|
+
* International Bank Account Number.
|
|
588
623
|
*/
|
|
589
|
-
|
|
624
|
+
iban: string;
|
|
625
|
+
|
|
626
|
+
/**
|
|
627
|
+
* Discriminator for IBAN financial address.
|
|
628
|
+
*/
|
|
629
|
+
type: 'iban';
|
|
590
630
|
}
|
|
591
631
|
|
|
592
|
-
export interface
|
|
632
|
+
export interface SortCodeFinancialAddress {
|
|
593
633
|
/**
|
|
594
634
|
* Name of the account holder.
|
|
595
635
|
*/
|
|
596
636
|
account_holder_name: string;
|
|
597
637
|
|
|
598
638
|
/**
|
|
599
|
-
*
|
|
639
|
+
* UK account number (8 digits).
|
|
600
640
|
*/
|
|
601
641
|
account_number: string;
|
|
602
642
|
|
|
603
643
|
/**
|
|
604
|
-
*
|
|
644
|
+
* UK sort code (6 digits).
|
|
605
645
|
*/
|
|
606
|
-
|
|
646
|
+
sort_code: string;
|
|
607
647
|
|
|
608
648
|
/**
|
|
609
|
-
* Discriminator for
|
|
649
|
+
* Discriminator for UK sort code financial address.
|
|
610
650
|
*/
|
|
611
|
-
type: '
|
|
651
|
+
type: 'sort_code';
|
|
612
652
|
}
|
|
613
653
|
|
|
614
654
|
export interface BicFinancialAddress {
|
|
@@ -622,6 +662,11 @@ export namespace AccountListResponse {
|
|
|
622
662
|
*/
|
|
623
663
|
account_number: string;
|
|
624
664
|
|
|
665
|
+
/**
|
|
666
|
+
* Whether the account is a checking or a savings account, or null if not provided.
|
|
667
|
+
*/
|
|
668
|
+
account_type: 'checking' | 'savings' | null;
|
|
669
|
+
|
|
625
670
|
/**
|
|
626
671
|
* ISO 9362 Bank Identifier Code (8 or 11 characters).
|
|
627
672
|
*/
|
|
@@ -691,9 +736,9 @@ export interface AccountCloseResponse {
|
|
|
691
736
|
* this account can send or receive funds.
|
|
692
737
|
*/
|
|
693
738
|
financial_addresses: Array<
|
|
739
|
+
| AccountCloseResponse.AbaFinancialAddress
|
|
694
740
|
| AccountCloseResponse.IbanFinancialAddress
|
|
695
741
|
| AccountCloseResponse.SortCodeFinancialAddress
|
|
696
|
-
| AccountCloseResponse.AbaFinancialAddress
|
|
697
742
|
| AccountCloseResponse.BicFinancialAddress
|
|
698
743
|
| AccountCloseResponse.CryptoWalletFinancialAddress
|
|
699
744
|
>;
|
|
@@ -727,70 +772,80 @@ export interface AccountCloseResponse {
|
|
|
727
772
|
}
|
|
728
773
|
|
|
729
774
|
export namespace AccountCloseResponse {
|
|
730
|
-
export interface
|
|
775
|
+
export interface AbaFinancialAddress {
|
|
731
776
|
/**
|
|
732
777
|
* Name of the account holder.
|
|
733
778
|
*/
|
|
734
779
|
account_holder_name: string;
|
|
735
780
|
|
|
736
781
|
/**
|
|
737
|
-
* Bank
|
|
782
|
+
* Bank account number.
|
|
738
783
|
*/
|
|
739
|
-
|
|
784
|
+
account_number: string;
|
|
740
785
|
|
|
741
786
|
/**
|
|
742
|
-
*
|
|
787
|
+
* Whether the account is a checking or a savings account, or null if not provided.
|
|
743
788
|
*/
|
|
744
|
-
|
|
789
|
+
account_type: 'checking' | 'savings' | null;
|
|
745
790
|
|
|
746
791
|
/**
|
|
747
|
-
*
|
|
792
|
+
* ABA routing number (9 digits).
|
|
748
793
|
*/
|
|
749
|
-
|
|
794
|
+
routing_number: string;
|
|
795
|
+
|
|
796
|
+
/**
|
|
797
|
+
* Discriminator for ABA wire financial address.
|
|
798
|
+
*/
|
|
799
|
+
type: 'aba';
|
|
750
800
|
}
|
|
751
801
|
|
|
752
|
-
export interface
|
|
802
|
+
export interface IbanFinancialAddress {
|
|
753
803
|
/**
|
|
754
804
|
* Name of the account holder.
|
|
755
805
|
*/
|
|
756
806
|
account_holder_name: string;
|
|
757
807
|
|
|
758
808
|
/**
|
|
759
|
-
*
|
|
809
|
+
* Whether the account is a checking or a savings account, or null if not provided.
|
|
760
810
|
*/
|
|
761
|
-
|
|
811
|
+
account_type: 'checking' | 'savings' | null;
|
|
762
812
|
|
|
763
813
|
/**
|
|
764
|
-
*
|
|
814
|
+
* Bank Identifier Code, or null if not provided.
|
|
765
815
|
*/
|
|
766
|
-
|
|
816
|
+
bic: string | null;
|
|
767
817
|
|
|
768
818
|
/**
|
|
769
|
-
*
|
|
819
|
+
* International Bank Account Number.
|
|
770
820
|
*/
|
|
771
|
-
|
|
821
|
+
iban: string;
|
|
822
|
+
|
|
823
|
+
/**
|
|
824
|
+
* Discriminator for IBAN financial address.
|
|
825
|
+
*/
|
|
826
|
+
type: 'iban';
|
|
772
827
|
}
|
|
773
828
|
|
|
774
|
-
export interface
|
|
829
|
+
export interface SortCodeFinancialAddress {
|
|
775
830
|
/**
|
|
776
831
|
* Name of the account holder.
|
|
777
832
|
*/
|
|
778
833
|
account_holder_name: string;
|
|
779
834
|
|
|
780
835
|
/**
|
|
781
|
-
*
|
|
836
|
+
* UK account number (8 digits).
|
|
782
837
|
*/
|
|
783
838
|
account_number: string;
|
|
784
839
|
|
|
785
840
|
/**
|
|
786
|
-
*
|
|
841
|
+
* UK sort code (6 digits).
|
|
787
842
|
*/
|
|
788
|
-
|
|
843
|
+
sort_code: string;
|
|
789
844
|
|
|
790
845
|
/**
|
|
791
|
-
* Discriminator for
|
|
846
|
+
* Discriminator for UK sort code financial address.
|
|
792
847
|
*/
|
|
793
|
-
type: '
|
|
848
|
+
type: 'sort_code';
|
|
794
849
|
}
|
|
795
850
|
|
|
796
851
|
export interface BicFinancialAddress {
|
|
@@ -804,6 +859,11 @@ export namespace AccountCloseResponse {
|
|
|
804
859
|
*/
|
|
805
860
|
account_number: string;
|
|
806
861
|
|
|
862
|
+
/**
|
|
863
|
+
* Whether the account is a checking or a savings account, or null if not provided.
|
|
864
|
+
*/
|
|
865
|
+
account_type: 'checking' | 'savings' | null;
|
|
866
|
+
|
|
807
867
|
/**
|
|
808
868
|
* ISO 9362 Bank Identifier Code (8 or 11 characters).
|
|
809
869
|
*/
|
|
@@ -873,9 +933,9 @@ export interface AccountFreezeResponse {
|
|
|
873
933
|
* this account can send or receive funds.
|
|
874
934
|
*/
|
|
875
935
|
financial_addresses: Array<
|
|
936
|
+
| AccountFreezeResponse.AbaFinancialAddress
|
|
876
937
|
| AccountFreezeResponse.IbanFinancialAddress
|
|
877
938
|
| AccountFreezeResponse.SortCodeFinancialAddress
|
|
878
|
-
| AccountFreezeResponse.AbaFinancialAddress
|
|
879
939
|
| AccountFreezeResponse.BicFinancialAddress
|
|
880
940
|
| AccountFreezeResponse.CryptoWalletFinancialAddress
|
|
881
941
|
>;
|
|
@@ -909,70 +969,80 @@ export interface AccountFreezeResponse {
|
|
|
909
969
|
}
|
|
910
970
|
|
|
911
971
|
export namespace AccountFreezeResponse {
|
|
912
|
-
export interface
|
|
972
|
+
export interface AbaFinancialAddress {
|
|
913
973
|
/**
|
|
914
974
|
* Name of the account holder.
|
|
915
975
|
*/
|
|
916
976
|
account_holder_name: string;
|
|
917
977
|
|
|
918
978
|
/**
|
|
919
|
-
* Bank
|
|
979
|
+
* Bank account number.
|
|
920
980
|
*/
|
|
921
|
-
|
|
981
|
+
account_number: string;
|
|
922
982
|
|
|
923
983
|
/**
|
|
924
|
-
*
|
|
984
|
+
* Whether the account is a checking or a savings account, or null if not provided.
|
|
925
985
|
*/
|
|
926
|
-
|
|
986
|
+
account_type: 'checking' | 'savings' | null;
|
|
927
987
|
|
|
928
988
|
/**
|
|
929
|
-
*
|
|
989
|
+
* ABA routing number (9 digits).
|
|
930
990
|
*/
|
|
931
|
-
|
|
991
|
+
routing_number: string;
|
|
992
|
+
|
|
993
|
+
/**
|
|
994
|
+
* Discriminator for ABA wire financial address.
|
|
995
|
+
*/
|
|
996
|
+
type: 'aba';
|
|
932
997
|
}
|
|
933
998
|
|
|
934
|
-
export interface
|
|
999
|
+
export interface IbanFinancialAddress {
|
|
935
1000
|
/**
|
|
936
1001
|
* Name of the account holder.
|
|
937
1002
|
*/
|
|
938
1003
|
account_holder_name: string;
|
|
939
1004
|
|
|
940
1005
|
/**
|
|
941
|
-
*
|
|
1006
|
+
* Whether the account is a checking or a savings account, or null if not provided.
|
|
942
1007
|
*/
|
|
943
|
-
|
|
1008
|
+
account_type: 'checking' | 'savings' | null;
|
|
944
1009
|
|
|
945
1010
|
/**
|
|
946
|
-
*
|
|
1011
|
+
* Bank Identifier Code, or null if not provided.
|
|
947
1012
|
*/
|
|
948
|
-
|
|
1013
|
+
bic: string | null;
|
|
949
1014
|
|
|
950
1015
|
/**
|
|
951
|
-
*
|
|
1016
|
+
* International Bank Account Number.
|
|
952
1017
|
*/
|
|
953
|
-
|
|
1018
|
+
iban: string;
|
|
1019
|
+
|
|
1020
|
+
/**
|
|
1021
|
+
* Discriminator for IBAN financial address.
|
|
1022
|
+
*/
|
|
1023
|
+
type: 'iban';
|
|
954
1024
|
}
|
|
955
1025
|
|
|
956
|
-
export interface
|
|
1026
|
+
export interface SortCodeFinancialAddress {
|
|
957
1027
|
/**
|
|
958
1028
|
* Name of the account holder.
|
|
959
1029
|
*/
|
|
960
1030
|
account_holder_name: string;
|
|
961
1031
|
|
|
962
1032
|
/**
|
|
963
|
-
*
|
|
1033
|
+
* UK account number (8 digits).
|
|
964
1034
|
*/
|
|
965
1035
|
account_number: string;
|
|
966
1036
|
|
|
967
1037
|
/**
|
|
968
|
-
*
|
|
1038
|
+
* UK sort code (6 digits).
|
|
969
1039
|
*/
|
|
970
|
-
|
|
1040
|
+
sort_code: string;
|
|
971
1041
|
|
|
972
1042
|
/**
|
|
973
|
-
* Discriminator for
|
|
1043
|
+
* Discriminator for UK sort code financial address.
|
|
974
1044
|
*/
|
|
975
|
-
type: '
|
|
1045
|
+
type: 'sort_code';
|
|
976
1046
|
}
|
|
977
1047
|
|
|
978
1048
|
export interface BicFinancialAddress {
|
|
@@ -986,6 +1056,11 @@ export namespace AccountFreezeResponse {
|
|
|
986
1056
|
*/
|
|
987
1057
|
account_number: string;
|
|
988
1058
|
|
|
1059
|
+
/**
|
|
1060
|
+
* Whether the account is a checking or a savings account, or null if not provided.
|
|
1061
|
+
*/
|
|
1062
|
+
account_type: 'checking' | 'savings' | null;
|
|
1063
|
+
|
|
989
1064
|
/**
|
|
990
1065
|
* ISO 9362 Bank Identifier Code (8 or 11 characters).
|
|
991
1066
|
*/
|
|
@@ -1093,9 +1168,9 @@ export interface AccountUnfreezeResponse {
|
|
|
1093
1168
|
* this account can send or receive funds.
|
|
1094
1169
|
*/
|
|
1095
1170
|
financial_addresses: Array<
|
|
1171
|
+
| AccountUnfreezeResponse.AbaFinancialAddress
|
|
1096
1172
|
| AccountUnfreezeResponse.IbanFinancialAddress
|
|
1097
1173
|
| AccountUnfreezeResponse.SortCodeFinancialAddress
|
|
1098
|
-
| AccountUnfreezeResponse.AbaFinancialAddress
|
|
1099
1174
|
| AccountUnfreezeResponse.BicFinancialAddress
|
|
1100
1175
|
| AccountUnfreezeResponse.CryptoWalletFinancialAddress
|
|
1101
1176
|
>;
|
|
@@ -1129,70 +1204,80 @@ export interface AccountUnfreezeResponse {
|
|
|
1129
1204
|
}
|
|
1130
1205
|
|
|
1131
1206
|
export namespace AccountUnfreezeResponse {
|
|
1132
|
-
export interface
|
|
1207
|
+
export interface AbaFinancialAddress {
|
|
1133
1208
|
/**
|
|
1134
1209
|
* Name of the account holder.
|
|
1135
1210
|
*/
|
|
1136
1211
|
account_holder_name: string;
|
|
1137
1212
|
|
|
1138
1213
|
/**
|
|
1139
|
-
* Bank
|
|
1214
|
+
* Bank account number.
|
|
1140
1215
|
*/
|
|
1141
|
-
|
|
1216
|
+
account_number: string;
|
|
1142
1217
|
|
|
1143
1218
|
/**
|
|
1144
|
-
*
|
|
1219
|
+
* Whether the account is a checking or a savings account, or null if not provided.
|
|
1145
1220
|
*/
|
|
1146
|
-
|
|
1221
|
+
account_type: 'checking' | 'savings' | null;
|
|
1147
1222
|
|
|
1148
1223
|
/**
|
|
1149
|
-
*
|
|
1224
|
+
* ABA routing number (9 digits).
|
|
1150
1225
|
*/
|
|
1151
|
-
|
|
1226
|
+
routing_number: string;
|
|
1227
|
+
|
|
1228
|
+
/**
|
|
1229
|
+
* Discriminator for ABA wire financial address.
|
|
1230
|
+
*/
|
|
1231
|
+
type: 'aba';
|
|
1152
1232
|
}
|
|
1153
1233
|
|
|
1154
|
-
export interface
|
|
1234
|
+
export interface IbanFinancialAddress {
|
|
1155
1235
|
/**
|
|
1156
1236
|
* Name of the account holder.
|
|
1157
1237
|
*/
|
|
1158
1238
|
account_holder_name: string;
|
|
1159
1239
|
|
|
1160
1240
|
/**
|
|
1161
|
-
*
|
|
1241
|
+
* Whether the account is a checking or a savings account, or null if not provided.
|
|
1162
1242
|
*/
|
|
1163
|
-
|
|
1243
|
+
account_type: 'checking' | 'savings' | null;
|
|
1164
1244
|
|
|
1165
1245
|
/**
|
|
1166
|
-
*
|
|
1246
|
+
* Bank Identifier Code, or null if not provided.
|
|
1167
1247
|
*/
|
|
1168
|
-
|
|
1248
|
+
bic: string | null;
|
|
1169
1249
|
|
|
1170
1250
|
/**
|
|
1171
|
-
*
|
|
1251
|
+
* International Bank Account Number.
|
|
1172
1252
|
*/
|
|
1173
|
-
|
|
1253
|
+
iban: string;
|
|
1254
|
+
|
|
1255
|
+
/**
|
|
1256
|
+
* Discriminator for IBAN financial address.
|
|
1257
|
+
*/
|
|
1258
|
+
type: 'iban';
|
|
1174
1259
|
}
|
|
1175
1260
|
|
|
1176
|
-
export interface
|
|
1261
|
+
export interface SortCodeFinancialAddress {
|
|
1177
1262
|
/**
|
|
1178
1263
|
* Name of the account holder.
|
|
1179
1264
|
*/
|
|
1180
1265
|
account_holder_name: string;
|
|
1181
1266
|
|
|
1182
1267
|
/**
|
|
1183
|
-
*
|
|
1268
|
+
* UK account number (8 digits).
|
|
1184
1269
|
*/
|
|
1185
1270
|
account_number: string;
|
|
1186
1271
|
|
|
1187
1272
|
/**
|
|
1188
|
-
*
|
|
1273
|
+
* UK sort code (6 digits).
|
|
1189
1274
|
*/
|
|
1190
|
-
|
|
1275
|
+
sort_code: string;
|
|
1191
1276
|
|
|
1192
1277
|
/**
|
|
1193
|
-
* Discriminator for
|
|
1278
|
+
* Discriminator for UK sort code financial address.
|
|
1194
1279
|
*/
|
|
1195
|
-
type: '
|
|
1280
|
+
type: 'sort_code';
|
|
1196
1281
|
}
|
|
1197
1282
|
|
|
1198
1283
|
export interface BicFinancialAddress {
|
|
@@ -1206,6 +1291,11 @@ export namespace AccountUnfreezeResponse {
|
|
|
1206
1291
|
*/
|
|
1207
1292
|
account_number: string;
|
|
1208
1293
|
|
|
1294
|
+
/**
|
|
1295
|
+
* Whether the account is a checking or a savings account, or null if not provided.
|
|
1296
|
+
*/
|
|
1297
|
+
account_type: 'checking' | 'savings' | null;
|
|
1298
|
+
|
|
1209
1299
|
/**
|
|
1210
1300
|
* ISO 9362 Bank Identifier Code (8 or 11 characters).
|
|
1211
1301
|
*/
|