@spritz-finance/api-client 0.3.0 → 0.3.2
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/README.md +20 -23
- package/dist/spritz-api-client.d.ts +164 -101
- package/dist/spritz-api-client.js +31 -19
- package/dist/spritz-api-client.mjs +40 -28
- package/package.json +1 -1
|
@@ -7,7 +7,8 @@ declare enum Environment {
|
|
|
7
7
|
|
|
8
8
|
declare enum AccountProvider {
|
|
9
9
|
CHECKBOOK = "CHECKBOOK",
|
|
10
|
-
METHOD_FI = "METHOD_FI"
|
|
10
|
+
METHOD_FI = "METHOD_FI",
|
|
11
|
+
UNBLOCK = "UNBLOCK"
|
|
11
12
|
}
|
|
12
13
|
declare enum AccountSyncStatus {
|
|
13
14
|
Active = "Active",
|
|
@@ -22,6 +23,8 @@ declare enum BankAccountSubType {
|
|
|
22
23
|
}
|
|
23
24
|
declare enum BankAccountType {
|
|
24
25
|
CABankAccount = "CABankAccount",
|
|
26
|
+
IbanAccount = "IbanAccount",
|
|
27
|
+
UKBankAccount = "UKBankAccount",
|
|
25
28
|
USBankAccount = "USBankAccount"
|
|
26
29
|
}
|
|
27
30
|
declare enum BillType {
|
|
@@ -118,26 +121,26 @@ interface CreateOnrampPaymentInput {
|
|
|
118
121
|
}
|
|
119
122
|
|
|
120
123
|
interface CreateBankAccount_createBankAccount_bankAccountDetails_CanadianBankAccountDetails {
|
|
121
|
-
__typename:
|
|
124
|
+
__typename: "CanadianBankAccountDetails" | "UKBankAccountDetails";
|
|
122
125
|
}
|
|
123
126
|
interface CreateBankAccount_createBankAccount_bankAccountDetails_USBankAccountDetails {
|
|
124
|
-
__typename:
|
|
127
|
+
__typename: "USBankAccountDetails";
|
|
125
128
|
routingNumber: string;
|
|
126
129
|
}
|
|
127
130
|
type CreateBankAccount_createBankAccount_bankAccountDetails = CreateBankAccount_createBankAccount_bankAccountDetails_CanadianBankAccountDetails | CreateBankAccount_createBankAccount_bankAccountDetails_USBankAccountDetails;
|
|
128
131
|
interface CreateBankAccount_createBankAccount_dataSync {
|
|
129
|
-
__typename:
|
|
132
|
+
__typename: "AccountDataSync";
|
|
130
133
|
lastSync: any | null;
|
|
131
134
|
syncStatus: AccountSyncStatus | null;
|
|
132
135
|
}
|
|
133
136
|
interface CreateBankAccount_createBankAccount_institution {
|
|
134
|
-
__typename:
|
|
137
|
+
__typename: "BankAccountInstitution" | "BillInstitution";
|
|
135
138
|
id: string;
|
|
136
139
|
name: string;
|
|
137
140
|
logo: string | null;
|
|
138
141
|
}
|
|
139
142
|
interface CreateBankAccount_createBankAccount {
|
|
140
|
-
__typename:
|
|
143
|
+
__typename: "BankAccount";
|
|
141
144
|
id: string;
|
|
142
145
|
name: string | null;
|
|
143
146
|
userId: string;
|
|
@@ -159,7 +162,7 @@ interface CreateBankAccount_createBankAccount {
|
|
|
159
162
|
}
|
|
160
163
|
|
|
161
164
|
interface AccountPayments_paymentsForAccount {
|
|
162
|
-
__typename:
|
|
165
|
+
__typename: "Payment";
|
|
163
166
|
id: string;
|
|
164
167
|
userId: any;
|
|
165
168
|
status: PaymentStatus;
|
|
@@ -181,23 +184,28 @@ interface AccountPaymentsVariables {
|
|
|
181
184
|
}
|
|
182
185
|
|
|
183
186
|
interface BankAccountFragment_bankAccountDetails_CanadianBankAccountDetails {
|
|
184
|
-
__typename:
|
|
187
|
+
__typename: "CanadianBankAccountDetails" | "UKBankAccountDetails";
|
|
185
188
|
}
|
|
186
189
|
interface BankAccountFragment_bankAccountDetails_USBankAccountDetails {
|
|
187
|
-
__typename:
|
|
190
|
+
__typename: "USBankAccountDetails";
|
|
188
191
|
routingNumber: string;
|
|
189
192
|
}
|
|
190
193
|
type BankAccountFragment_bankAccountDetails = BankAccountFragment_bankAccountDetails_CanadianBankAccountDetails | BankAccountFragment_bankAccountDetails_USBankAccountDetails;
|
|
191
194
|
interface BankAccountFragment_institution {
|
|
192
|
-
__typename:
|
|
195
|
+
__typename: "BankAccountInstitution" | "BillInstitution";
|
|
193
196
|
id: string;
|
|
194
197
|
name: string;
|
|
195
198
|
logo: string | null;
|
|
196
199
|
country: string;
|
|
197
200
|
currency: string;
|
|
198
201
|
}
|
|
202
|
+
interface BankAccountFragment_paymentAddresses {
|
|
203
|
+
__typename: "PaymentAddress";
|
|
204
|
+
network: string;
|
|
205
|
+
address: string;
|
|
206
|
+
}
|
|
199
207
|
interface BankAccountFragment {
|
|
200
|
-
__typename:
|
|
208
|
+
__typename: "BankAccount";
|
|
201
209
|
id: string;
|
|
202
210
|
name: string | null;
|
|
203
211
|
userId: string;
|
|
@@ -214,10 +222,11 @@ interface BankAccountFragment {
|
|
|
214
222
|
bankAccountDetails: BankAccountFragment_bankAccountDetails;
|
|
215
223
|
deliveryMethods: PaymentDeliveryMethod[];
|
|
216
224
|
institution: BankAccountFragment_institution | null;
|
|
225
|
+
paymentAddresses: BankAccountFragment_paymentAddresses[];
|
|
217
226
|
}
|
|
218
227
|
|
|
219
228
|
interface BillFragment_billAccountDetails {
|
|
220
|
-
__typename:
|
|
229
|
+
__typename: "BillAccountDetails";
|
|
221
230
|
balance: number | null;
|
|
222
231
|
amountDue: number | null;
|
|
223
232
|
openedAt: any | null;
|
|
@@ -229,18 +238,23 @@ interface BillFragment_billAccountDetails {
|
|
|
229
238
|
remainingStatementBalance: number | null;
|
|
230
239
|
}
|
|
231
240
|
interface BillFragment_dataSync {
|
|
232
|
-
__typename:
|
|
241
|
+
__typename: "AccountDataSync";
|
|
233
242
|
lastSync: any | null;
|
|
234
243
|
syncStatus: AccountSyncStatus | null;
|
|
235
244
|
}
|
|
236
245
|
interface BillFragment_institution {
|
|
237
|
-
__typename:
|
|
246
|
+
__typename: "BankAccountInstitution" | "BillInstitution";
|
|
238
247
|
id: string;
|
|
239
248
|
name: string;
|
|
240
249
|
logo: string | null;
|
|
241
250
|
}
|
|
251
|
+
interface BillFragment_paymentAddresses {
|
|
252
|
+
__typename: "PaymentAddress";
|
|
253
|
+
network: string;
|
|
254
|
+
address: string;
|
|
255
|
+
}
|
|
242
256
|
interface BillFragment {
|
|
243
|
-
__typename:
|
|
257
|
+
__typename: "Bill";
|
|
244
258
|
id: string;
|
|
245
259
|
name: string | null;
|
|
246
260
|
userId: string;
|
|
@@ -254,10 +268,11 @@ interface BillFragment {
|
|
|
254
268
|
billAccountDetails: BillFragment_billAccountDetails | null;
|
|
255
269
|
dataSync: BillFragment_dataSync | null;
|
|
256
270
|
institution: BillFragment_institution | null;
|
|
271
|
+
paymentAddresses: BillFragment_paymentAddresses[];
|
|
257
272
|
}
|
|
258
273
|
|
|
259
274
|
interface CurrentUser_me {
|
|
260
|
-
__typename:
|
|
275
|
+
__typename: "User";
|
|
261
276
|
id: string;
|
|
262
277
|
sub: string;
|
|
263
278
|
email: string;
|
|
@@ -273,7 +288,7 @@ interface CurrentUser {
|
|
|
273
288
|
}
|
|
274
289
|
|
|
275
290
|
interface GetSpritzPayParams_spritzPayParams {
|
|
276
|
-
__typename:
|
|
291
|
+
__typename: "PaymentParams";
|
|
277
292
|
contractAddress: string;
|
|
278
293
|
method: string;
|
|
279
294
|
calldata: string;
|
|
@@ -292,7 +307,7 @@ interface GetSpritzPayParamsVariables {
|
|
|
292
307
|
}
|
|
293
308
|
|
|
294
309
|
interface OnrampPaymentFragment_depositInstructions {
|
|
295
|
-
__typename:
|
|
310
|
+
__typename: "OnrampPaymentDepositInstructions";
|
|
296
311
|
amount: number;
|
|
297
312
|
currency: string;
|
|
298
313
|
bankName: string;
|
|
@@ -304,7 +319,7 @@ interface OnrampPaymentFragment_depositInstructions {
|
|
|
304
319
|
depositMessage: string;
|
|
305
320
|
}
|
|
306
321
|
interface OnrampPaymentFragment {
|
|
307
|
-
__typename:
|
|
322
|
+
__typename: "OnRampPayment";
|
|
308
323
|
id: string;
|
|
309
324
|
amount: number;
|
|
310
325
|
feeAmount: number;
|
|
@@ -317,7 +332,7 @@ interface OnrampPaymentFragment {
|
|
|
317
332
|
}
|
|
318
333
|
|
|
319
334
|
interface OnrampPayments_onrampPayments_depositInstructions {
|
|
320
|
-
__typename:
|
|
335
|
+
__typename: "OnrampPaymentDepositInstructions";
|
|
321
336
|
amount: number;
|
|
322
337
|
currency: string;
|
|
323
338
|
bankName: string;
|
|
@@ -329,7 +344,7 @@ interface OnrampPayments_onrampPayments_depositInstructions {
|
|
|
329
344
|
depositMessage: string;
|
|
330
345
|
}
|
|
331
346
|
interface OnrampPayments_onrampPayments {
|
|
332
|
-
__typename:
|
|
347
|
+
__typename: "OnRampPayment";
|
|
333
348
|
id: string;
|
|
334
349
|
amount: number;
|
|
335
350
|
feeAmount: number;
|
|
@@ -345,26 +360,26 @@ interface OnrampPayments {
|
|
|
345
360
|
}
|
|
346
361
|
|
|
347
362
|
interface PayableAccountFragment_BankAccount_bankAccountDetails_CanadianBankAccountDetails {
|
|
348
|
-
__typename:
|
|
363
|
+
__typename: "CanadianBankAccountDetails" | "UKBankAccountDetails";
|
|
349
364
|
}
|
|
350
365
|
interface PayableAccountFragment_BankAccount_bankAccountDetails_USBankAccountDetails {
|
|
351
|
-
__typename:
|
|
366
|
+
__typename: "USBankAccountDetails";
|
|
352
367
|
routingNumber: string;
|
|
353
368
|
}
|
|
354
369
|
type PayableAccountFragment_BankAccount_bankAccountDetails = PayableAccountFragment_BankAccount_bankAccountDetails_CanadianBankAccountDetails | PayableAccountFragment_BankAccount_bankAccountDetails_USBankAccountDetails;
|
|
355
370
|
interface PayableAccountFragment_BankAccount_dataSync {
|
|
356
|
-
__typename:
|
|
371
|
+
__typename: "AccountDataSync";
|
|
357
372
|
lastSync: any | null;
|
|
358
373
|
syncStatus: AccountSyncStatus | null;
|
|
359
374
|
}
|
|
360
375
|
interface PayableAccountFragment_BankAccount_institution {
|
|
361
|
-
__typename:
|
|
376
|
+
__typename: "BankAccountInstitution" | "BillInstitution";
|
|
362
377
|
id: string;
|
|
363
378
|
name: string;
|
|
364
379
|
logo: string | null;
|
|
365
380
|
}
|
|
366
381
|
interface PayableAccountFragment_BankAccount {
|
|
367
|
-
__typename:
|
|
382
|
+
__typename: "BankAccount";
|
|
368
383
|
id: string;
|
|
369
384
|
name: string | null;
|
|
370
385
|
userId: string;
|
|
@@ -385,7 +400,7 @@ interface PayableAccountFragment_BankAccount {
|
|
|
385
400
|
institution: PayableAccountFragment_BankAccount_institution | null;
|
|
386
401
|
}
|
|
387
402
|
interface PayableAccountFragment_VirtualCard_billingInfo_address {
|
|
388
|
-
__typename:
|
|
403
|
+
__typename: "CardHolderAddress";
|
|
389
404
|
street: string | null;
|
|
390
405
|
street2: string | null;
|
|
391
406
|
city: string | null;
|
|
@@ -394,25 +409,25 @@ interface PayableAccountFragment_VirtualCard_billingInfo_address {
|
|
|
394
409
|
countryCode: string | null;
|
|
395
410
|
}
|
|
396
411
|
interface PayableAccountFragment_VirtualCard_billingInfo {
|
|
397
|
-
__typename:
|
|
412
|
+
__typename: "BillingInfo";
|
|
398
413
|
holder: string;
|
|
399
414
|
phone: string;
|
|
400
415
|
email: string;
|
|
401
416
|
address: PayableAccountFragment_VirtualCard_billingInfo_address | null;
|
|
402
417
|
}
|
|
403
418
|
interface PayableAccountFragment_VirtualCard_dataSync {
|
|
404
|
-
__typename:
|
|
419
|
+
__typename: "AccountDataSync";
|
|
405
420
|
lastSync: any | null;
|
|
406
421
|
syncStatus: AccountSyncStatus | null;
|
|
407
422
|
}
|
|
408
423
|
interface PayableAccountFragment_VirtualCard_institution {
|
|
409
|
-
__typename:
|
|
424
|
+
__typename: "BankAccountInstitution" | "BillInstitution";
|
|
410
425
|
id: string;
|
|
411
426
|
name: string;
|
|
412
427
|
logo: string | null;
|
|
413
428
|
}
|
|
414
429
|
interface PayableAccountFragment_VirtualCard {
|
|
415
|
-
__typename:
|
|
430
|
+
__typename: "VirtualCard";
|
|
416
431
|
id: string;
|
|
417
432
|
name: string | null;
|
|
418
433
|
userId: string;
|
|
@@ -431,7 +446,7 @@ interface PayableAccountFragment_VirtualCard {
|
|
|
431
446
|
institution: PayableAccountFragment_VirtualCard_institution | null;
|
|
432
447
|
}
|
|
433
448
|
interface PayableAccountFragment_Bill_billAccountDetails {
|
|
434
|
-
__typename:
|
|
449
|
+
__typename: "BillAccountDetails";
|
|
435
450
|
balance: number | null;
|
|
436
451
|
amountDue: number | null;
|
|
437
452
|
openedAt: any | null;
|
|
@@ -443,18 +458,18 @@ interface PayableAccountFragment_Bill_billAccountDetails {
|
|
|
443
458
|
remainingStatementBalance: number | null;
|
|
444
459
|
}
|
|
445
460
|
interface PayableAccountFragment_Bill_dataSync {
|
|
446
|
-
__typename:
|
|
461
|
+
__typename: "AccountDataSync";
|
|
447
462
|
lastSync: any | null;
|
|
448
463
|
syncStatus: AccountSyncStatus | null;
|
|
449
464
|
}
|
|
450
465
|
interface PayableAccountFragment_Bill_institution {
|
|
451
|
-
__typename:
|
|
466
|
+
__typename: "BankAccountInstitution" | "BillInstitution";
|
|
452
467
|
id: string;
|
|
453
468
|
name: string;
|
|
454
469
|
logo: string | null;
|
|
455
470
|
}
|
|
456
471
|
interface PayableAccountFragment_Bill {
|
|
457
|
-
__typename:
|
|
472
|
+
__typename: "Bill";
|
|
458
473
|
id: string;
|
|
459
474
|
name: string | null;
|
|
460
475
|
userId: string;
|
|
@@ -473,7 +488,7 @@ interface PayableAccountFragment_Bill {
|
|
|
473
488
|
type PayableAccountFragment = PayableAccountFragment_BankAccount | PayableAccountFragment_VirtualCard | PayableAccountFragment_Bill;
|
|
474
489
|
|
|
475
490
|
interface PayableAccountInstitutionFragment {
|
|
476
|
-
__typename:
|
|
491
|
+
__typename: "BankAccountInstitution" | "BillInstitution";
|
|
477
492
|
id: string;
|
|
478
493
|
country: string;
|
|
479
494
|
currency: string;
|
|
@@ -482,7 +497,7 @@ interface PayableAccountInstitutionFragment {
|
|
|
482
497
|
}
|
|
483
498
|
|
|
484
499
|
interface Payment_payment {
|
|
485
|
-
__typename:
|
|
500
|
+
__typename: "Payment";
|
|
486
501
|
id: string;
|
|
487
502
|
userId: any;
|
|
488
503
|
status: PaymentStatus;
|
|
@@ -504,7 +519,7 @@ interface PaymentVariables {
|
|
|
504
519
|
}
|
|
505
520
|
|
|
506
521
|
interface PaymentFragment {
|
|
507
|
-
__typename:
|
|
522
|
+
__typename: "Payment";
|
|
508
523
|
id: string;
|
|
509
524
|
userId: any;
|
|
510
525
|
status: PaymentStatus;
|
|
@@ -520,7 +535,7 @@ interface PaymentFragment {
|
|
|
520
535
|
}
|
|
521
536
|
|
|
522
537
|
interface PaymentRequestFragment {
|
|
523
|
-
__typename:
|
|
538
|
+
__typename: "DirectPayment";
|
|
524
539
|
id: string;
|
|
525
540
|
userId: any;
|
|
526
541
|
accountId: any;
|
|
@@ -537,7 +552,7 @@ interface PaymentRequestFragment {
|
|
|
537
552
|
}
|
|
538
553
|
|
|
539
554
|
interface PaymentRequestPayment_paymentForPaymentRequest {
|
|
540
|
-
__typename:
|
|
555
|
+
__typename: "Payment";
|
|
541
556
|
id: string;
|
|
542
557
|
userId: any;
|
|
543
558
|
status: PaymentStatus;
|
|
@@ -559,7 +574,7 @@ interface PaymentRequestPaymentVariables {
|
|
|
559
574
|
}
|
|
560
575
|
|
|
561
576
|
interface PopularBillInstitutions_popularUSBillInstitutions {
|
|
562
|
-
__typename:
|
|
577
|
+
__typename: "BankAccountInstitution" | "BillInstitution";
|
|
563
578
|
id: string;
|
|
564
579
|
country: string;
|
|
565
580
|
currency: string;
|
|
@@ -574,7 +589,7 @@ interface PopularBillInstitutionsVariables {
|
|
|
574
589
|
}
|
|
575
590
|
|
|
576
591
|
interface SearchUSBillInstitutions_searchUSBillInstitutions {
|
|
577
|
-
__typename:
|
|
592
|
+
__typename: "BillInstitution";
|
|
578
593
|
id: string;
|
|
579
594
|
country: string;
|
|
580
595
|
currency: string;
|
|
@@ -590,7 +605,7 @@ interface SearchUSBillInstitutionsVariables {
|
|
|
590
605
|
}
|
|
591
606
|
|
|
592
607
|
interface TokenBalanceFragment {
|
|
593
|
-
__typename:
|
|
608
|
+
__typename: "TokenBalance";
|
|
594
609
|
/**
|
|
595
610
|
* Token contract address
|
|
596
611
|
*/
|
|
@@ -620,23 +635,28 @@ interface TransactionPriceVariables {
|
|
|
620
635
|
}
|
|
621
636
|
|
|
622
637
|
interface UserBankAccounts_bankAccounts_bankAccountDetails_CanadianBankAccountDetails {
|
|
623
|
-
__typename:
|
|
638
|
+
__typename: "CanadianBankAccountDetails" | "UKBankAccountDetails";
|
|
624
639
|
}
|
|
625
640
|
interface UserBankAccounts_bankAccounts_bankAccountDetails_USBankAccountDetails {
|
|
626
|
-
__typename:
|
|
641
|
+
__typename: "USBankAccountDetails";
|
|
627
642
|
routingNumber: string;
|
|
628
643
|
}
|
|
629
644
|
type UserBankAccounts_bankAccounts_bankAccountDetails = UserBankAccounts_bankAccounts_bankAccountDetails_CanadianBankAccountDetails | UserBankAccounts_bankAccounts_bankAccountDetails_USBankAccountDetails;
|
|
630
645
|
interface UserBankAccounts_bankAccounts_institution {
|
|
631
|
-
__typename:
|
|
646
|
+
__typename: "BankAccountInstitution" | "BillInstitution";
|
|
632
647
|
id: string;
|
|
633
648
|
name: string;
|
|
634
649
|
logo: string | null;
|
|
635
650
|
country: string;
|
|
636
651
|
currency: string;
|
|
637
652
|
}
|
|
653
|
+
interface UserBankAccounts_bankAccounts_paymentAddresses {
|
|
654
|
+
__typename: "PaymentAddress";
|
|
655
|
+
network: string;
|
|
656
|
+
address: string;
|
|
657
|
+
}
|
|
638
658
|
interface UserBankAccounts_bankAccounts {
|
|
639
|
-
__typename:
|
|
659
|
+
__typename: "BankAccount";
|
|
640
660
|
id: string;
|
|
641
661
|
name: string | null;
|
|
642
662
|
userId: string;
|
|
@@ -653,13 +673,14 @@ interface UserBankAccounts_bankAccounts {
|
|
|
653
673
|
bankAccountDetails: UserBankAccounts_bankAccounts_bankAccountDetails;
|
|
654
674
|
deliveryMethods: PaymentDeliveryMethod[];
|
|
655
675
|
institution: UserBankAccounts_bankAccounts_institution | null;
|
|
676
|
+
paymentAddresses: UserBankAccounts_bankAccounts_paymentAddresses[];
|
|
656
677
|
}
|
|
657
678
|
interface UserBankAccounts {
|
|
658
679
|
bankAccounts: UserBankAccounts_bankAccounts[];
|
|
659
680
|
}
|
|
660
681
|
|
|
661
682
|
interface UserBills_bills_billAccountDetails {
|
|
662
|
-
__typename:
|
|
683
|
+
__typename: "BillAccountDetails";
|
|
663
684
|
balance: number | null;
|
|
664
685
|
amountDue: number | null;
|
|
665
686
|
openedAt: any | null;
|
|
@@ -671,18 +692,23 @@ interface UserBills_bills_billAccountDetails {
|
|
|
671
692
|
remainingStatementBalance: number | null;
|
|
672
693
|
}
|
|
673
694
|
interface UserBills_bills_dataSync {
|
|
674
|
-
__typename:
|
|
695
|
+
__typename: "AccountDataSync";
|
|
675
696
|
lastSync: any | null;
|
|
676
697
|
syncStatus: AccountSyncStatus | null;
|
|
677
698
|
}
|
|
678
699
|
interface UserBills_bills_institution {
|
|
679
|
-
__typename:
|
|
700
|
+
__typename: "BankAccountInstitution" | "BillInstitution";
|
|
680
701
|
id: string;
|
|
681
702
|
name: string;
|
|
682
703
|
logo: string | null;
|
|
683
704
|
}
|
|
705
|
+
interface UserBills_bills_paymentAddresses {
|
|
706
|
+
__typename: "PaymentAddress";
|
|
707
|
+
network: string;
|
|
708
|
+
address: string;
|
|
709
|
+
}
|
|
684
710
|
interface UserBills_bills {
|
|
685
|
-
__typename:
|
|
711
|
+
__typename: "Bill";
|
|
686
712
|
id: string;
|
|
687
713
|
name: string | null;
|
|
688
714
|
userId: string;
|
|
@@ -696,13 +722,14 @@ interface UserBills_bills {
|
|
|
696
722
|
billAccountDetails: UserBills_bills_billAccountDetails | null;
|
|
697
723
|
dataSync: UserBills_bills_dataSync | null;
|
|
698
724
|
institution: UserBills_bills_institution | null;
|
|
725
|
+
paymentAddresses: UserBills_bills_paymentAddresses[];
|
|
699
726
|
}
|
|
700
727
|
interface UserBills {
|
|
701
728
|
bills: UserBills_bills[];
|
|
702
729
|
}
|
|
703
730
|
|
|
704
731
|
interface UserFragment {
|
|
705
|
-
__typename:
|
|
732
|
+
__typename: "User";
|
|
706
733
|
id: string;
|
|
707
734
|
sub: string;
|
|
708
735
|
email: string;
|
|
@@ -715,26 +742,26 @@ interface UserFragment {
|
|
|
715
742
|
}
|
|
716
743
|
|
|
717
744
|
interface UserPayableAccounts_payableAccounts_BankAccount_dataSync {
|
|
718
|
-
__typename:
|
|
745
|
+
__typename: "AccountDataSync";
|
|
719
746
|
lastSync: any | null;
|
|
720
747
|
syncStatus: AccountSyncStatus | null;
|
|
721
748
|
}
|
|
722
749
|
interface UserPayableAccounts_payableAccounts_BankAccount_institution {
|
|
723
|
-
__typename:
|
|
750
|
+
__typename: "BankAccountInstitution" | "BillInstitution";
|
|
724
751
|
id: string;
|
|
725
752
|
name: string;
|
|
726
753
|
logo: string | null;
|
|
727
754
|
}
|
|
728
755
|
interface UserPayableAccounts_payableAccounts_BankAccount_bankAccountDetails_CanadianBankAccountDetails {
|
|
729
|
-
__typename:
|
|
756
|
+
__typename: "CanadianBankAccountDetails" | "UKBankAccountDetails";
|
|
730
757
|
}
|
|
731
758
|
interface UserPayableAccounts_payableAccounts_BankAccount_bankAccountDetails_USBankAccountDetails {
|
|
732
|
-
__typename:
|
|
759
|
+
__typename: "USBankAccountDetails";
|
|
733
760
|
routingNumber: string;
|
|
734
761
|
}
|
|
735
762
|
type UserPayableAccounts_payableAccounts_BankAccount_bankAccountDetails = UserPayableAccounts_payableAccounts_BankAccount_bankAccountDetails_CanadianBankAccountDetails | UserPayableAccounts_payableAccounts_BankAccount_bankAccountDetails_USBankAccountDetails;
|
|
736
763
|
interface UserPayableAccounts_payableAccounts_BankAccount {
|
|
737
|
-
__typename:
|
|
764
|
+
__typename: "BankAccount";
|
|
738
765
|
id: string;
|
|
739
766
|
name: string | null;
|
|
740
767
|
userId: string;
|
|
@@ -755,18 +782,18 @@ interface UserPayableAccounts_payableAccounts_BankAccount {
|
|
|
755
782
|
bankAccountDetails: UserPayableAccounts_payableAccounts_BankAccount_bankAccountDetails;
|
|
756
783
|
}
|
|
757
784
|
interface UserPayableAccounts_payableAccounts_VirtualCard_dataSync {
|
|
758
|
-
__typename:
|
|
785
|
+
__typename: "AccountDataSync";
|
|
759
786
|
lastSync: any | null;
|
|
760
787
|
syncStatus: AccountSyncStatus | null;
|
|
761
788
|
}
|
|
762
789
|
interface UserPayableAccounts_payableAccounts_VirtualCard_institution {
|
|
763
|
-
__typename:
|
|
790
|
+
__typename: "BankAccountInstitution" | "BillInstitution";
|
|
764
791
|
id: string;
|
|
765
792
|
name: string;
|
|
766
793
|
logo: string | null;
|
|
767
794
|
}
|
|
768
795
|
interface UserPayableAccounts_payableAccounts_VirtualCard_billingInfo_address {
|
|
769
|
-
__typename:
|
|
796
|
+
__typename: "CardHolderAddress";
|
|
770
797
|
street: string | null;
|
|
771
798
|
street2: string | null;
|
|
772
799
|
city: string | null;
|
|
@@ -775,14 +802,14 @@ interface UserPayableAccounts_payableAccounts_VirtualCard_billingInfo_address {
|
|
|
775
802
|
countryCode: string | null;
|
|
776
803
|
}
|
|
777
804
|
interface UserPayableAccounts_payableAccounts_VirtualCard_billingInfo {
|
|
778
|
-
__typename:
|
|
805
|
+
__typename: "BillingInfo";
|
|
779
806
|
holder: string;
|
|
780
807
|
phone: string;
|
|
781
808
|
email: string;
|
|
782
809
|
address: UserPayableAccounts_payableAccounts_VirtualCard_billingInfo_address | null;
|
|
783
810
|
}
|
|
784
811
|
interface UserPayableAccounts_payableAccounts_VirtualCard {
|
|
785
|
-
__typename:
|
|
812
|
+
__typename: "VirtualCard";
|
|
786
813
|
id: string;
|
|
787
814
|
name: string | null;
|
|
788
815
|
userId: string;
|
|
@@ -801,18 +828,18 @@ interface UserPayableAccounts_payableAccounts_VirtualCard {
|
|
|
801
828
|
billingInfo: UserPayableAccounts_payableAccounts_VirtualCard_billingInfo | null;
|
|
802
829
|
}
|
|
803
830
|
interface UserPayableAccounts_payableAccounts_Bill_dataSync {
|
|
804
|
-
__typename:
|
|
831
|
+
__typename: "AccountDataSync";
|
|
805
832
|
lastSync: any | null;
|
|
806
833
|
syncStatus: AccountSyncStatus | null;
|
|
807
834
|
}
|
|
808
835
|
interface UserPayableAccounts_payableAccounts_Bill_institution {
|
|
809
|
-
__typename:
|
|
836
|
+
__typename: "BankAccountInstitution" | "BillInstitution";
|
|
810
837
|
id: string;
|
|
811
838
|
name: string;
|
|
812
839
|
logo: string | null;
|
|
813
840
|
}
|
|
814
841
|
interface UserPayableAccounts_payableAccounts_Bill_billAccountDetails {
|
|
815
|
-
__typename:
|
|
842
|
+
__typename: "BillAccountDetails";
|
|
816
843
|
balance: number | null;
|
|
817
844
|
amountDue: number | null;
|
|
818
845
|
openedAt: any | null;
|
|
@@ -824,7 +851,7 @@ interface UserPayableAccounts_payableAccounts_Bill_billAccountDetails {
|
|
|
824
851
|
remainingStatementBalance: number | null;
|
|
825
852
|
}
|
|
826
853
|
interface UserPayableAccounts_payableAccounts_Bill {
|
|
827
|
-
__typename:
|
|
854
|
+
__typename: "Bill";
|
|
828
855
|
id: string;
|
|
829
856
|
name: string | null;
|
|
830
857
|
userId: string;
|
|
@@ -846,21 +873,21 @@ interface UserPayableAccounts {
|
|
|
846
873
|
}
|
|
847
874
|
|
|
848
875
|
interface UserVerification_verification_identity_user {
|
|
849
|
-
__typename:
|
|
876
|
+
__typename: "UserIdentity";
|
|
850
877
|
firstName: string | null;
|
|
851
878
|
lastName: string | null;
|
|
852
879
|
email: string | null;
|
|
853
880
|
completedAt: string | null;
|
|
854
881
|
}
|
|
855
882
|
interface UserVerification_verification_identity {
|
|
856
|
-
__typename:
|
|
883
|
+
__typename: "IdentityModule";
|
|
857
884
|
status: ModuleStatus;
|
|
858
885
|
country: string | null;
|
|
859
886
|
verificationUrl: string | null;
|
|
860
887
|
user: UserVerification_verification_identity_user | null;
|
|
861
888
|
}
|
|
862
889
|
interface UserVerification_verification {
|
|
863
|
-
__typename:
|
|
890
|
+
__typename: "Verification";
|
|
864
891
|
userId: any;
|
|
865
892
|
identity: UserVerification_verification_identity;
|
|
866
893
|
}
|
|
@@ -869,7 +896,7 @@ interface UserVerification {
|
|
|
869
896
|
}
|
|
870
897
|
|
|
871
898
|
interface UserVirtualDebitCard_virtualDebitCard_billingInfo_address {
|
|
872
|
-
__typename:
|
|
899
|
+
__typename: "CardHolderAddress";
|
|
873
900
|
street: string | null;
|
|
874
901
|
street2: string | null;
|
|
875
902
|
city: string | null;
|
|
@@ -878,14 +905,19 @@ interface UserVirtualDebitCard_virtualDebitCard_billingInfo_address {
|
|
|
878
905
|
countryCode: string | null;
|
|
879
906
|
}
|
|
880
907
|
interface UserVirtualDebitCard_virtualDebitCard_billingInfo {
|
|
881
|
-
__typename:
|
|
908
|
+
__typename: "BillingInfo";
|
|
882
909
|
holder: string;
|
|
883
910
|
phone: string;
|
|
884
911
|
email: string;
|
|
885
912
|
address: UserVirtualDebitCard_virtualDebitCard_billingInfo_address | null;
|
|
886
913
|
}
|
|
914
|
+
interface UserVirtualDebitCard_virtualDebitCard_paymentAddresses {
|
|
915
|
+
__typename: "PaymentAddress";
|
|
916
|
+
network: string;
|
|
917
|
+
address: string;
|
|
918
|
+
}
|
|
887
919
|
interface UserVirtualDebitCard_virtualDebitCard {
|
|
888
|
-
__typename:
|
|
920
|
+
__typename: "VirtualCard";
|
|
889
921
|
id: string;
|
|
890
922
|
name: string | null;
|
|
891
923
|
userId: string;
|
|
@@ -898,13 +930,14 @@ interface UserVirtualDebitCard_virtualDebitCard {
|
|
|
898
930
|
renderSecret: string | null;
|
|
899
931
|
virtualCardType: VirtualCardType;
|
|
900
932
|
billingInfo: UserVirtualDebitCard_virtualDebitCard_billingInfo | null;
|
|
933
|
+
paymentAddresses: UserVirtualDebitCard_virtualDebitCard_paymentAddresses[];
|
|
901
934
|
}
|
|
902
935
|
interface UserVirtualDebitCard {
|
|
903
936
|
virtualDebitCard: UserVirtualDebitCard_virtualDebitCard | null;
|
|
904
937
|
}
|
|
905
938
|
|
|
906
939
|
interface VirtualDebitCardFragment_billingInfo_address {
|
|
907
|
-
__typename:
|
|
940
|
+
__typename: "CardHolderAddress";
|
|
908
941
|
street: string | null;
|
|
909
942
|
street2: string | null;
|
|
910
943
|
city: string | null;
|
|
@@ -913,14 +946,19 @@ interface VirtualDebitCardFragment_billingInfo_address {
|
|
|
913
946
|
countryCode: string | null;
|
|
914
947
|
}
|
|
915
948
|
interface VirtualDebitCardFragment_billingInfo {
|
|
916
|
-
__typename:
|
|
949
|
+
__typename: "BillingInfo";
|
|
917
950
|
holder: string;
|
|
918
951
|
phone: string;
|
|
919
952
|
email: string;
|
|
920
953
|
address: VirtualDebitCardFragment_billingInfo_address | null;
|
|
921
954
|
}
|
|
955
|
+
interface VirtualDebitCardFragment_paymentAddresses {
|
|
956
|
+
__typename: "PaymentAddress";
|
|
957
|
+
network: string;
|
|
958
|
+
address: string;
|
|
959
|
+
}
|
|
922
960
|
interface VirtualDebitCardFragment {
|
|
923
|
-
__typename:
|
|
961
|
+
__typename: "VirtualCard";
|
|
924
962
|
id: string;
|
|
925
963
|
name: string | null;
|
|
926
964
|
userId: string;
|
|
@@ -933,10 +971,11 @@ interface VirtualDebitCardFragment {
|
|
|
933
971
|
renderSecret: string | null;
|
|
934
972
|
virtualCardType: VirtualCardType;
|
|
935
973
|
billingInfo: VirtualDebitCardFragment_billingInfo | null;
|
|
974
|
+
paymentAddresses: VirtualDebitCardFragment_paymentAddresses[];
|
|
936
975
|
}
|
|
937
976
|
|
|
938
977
|
interface WalletTokenBalances_tokenBalances {
|
|
939
|
-
__typename:
|
|
978
|
+
__typename: "TokenBalance";
|
|
940
979
|
/**
|
|
941
980
|
* Token contract address
|
|
942
981
|
*/
|
|
@@ -966,26 +1005,26 @@ interface WalletTokenBalancesVariables {
|
|
|
966
1005
|
}
|
|
967
1006
|
|
|
968
1007
|
interface DeletePayableAccount_deletePayableAccount_BankAccount_dataSync {
|
|
969
|
-
__typename:
|
|
1008
|
+
__typename: "AccountDataSync";
|
|
970
1009
|
lastSync: any | null;
|
|
971
1010
|
syncStatus: AccountSyncStatus | null;
|
|
972
1011
|
}
|
|
973
1012
|
interface DeletePayableAccount_deletePayableAccount_BankAccount_institution {
|
|
974
|
-
__typename:
|
|
1013
|
+
__typename: "BankAccountInstitution" | "BillInstitution";
|
|
975
1014
|
id: string;
|
|
976
1015
|
name: string;
|
|
977
1016
|
logo: string | null;
|
|
978
1017
|
}
|
|
979
1018
|
interface DeletePayableAccount_deletePayableAccount_BankAccount_bankAccountDetails_CanadianBankAccountDetails {
|
|
980
|
-
__typename:
|
|
1019
|
+
__typename: "CanadianBankAccountDetails" | "UKBankAccountDetails";
|
|
981
1020
|
}
|
|
982
1021
|
interface DeletePayableAccount_deletePayableAccount_BankAccount_bankAccountDetails_USBankAccountDetails {
|
|
983
|
-
__typename:
|
|
1022
|
+
__typename: "USBankAccountDetails";
|
|
984
1023
|
routingNumber: string;
|
|
985
1024
|
}
|
|
986
1025
|
type DeletePayableAccount_deletePayableAccount_BankAccount_bankAccountDetails = DeletePayableAccount_deletePayableAccount_BankAccount_bankAccountDetails_CanadianBankAccountDetails | DeletePayableAccount_deletePayableAccount_BankAccount_bankAccountDetails_USBankAccountDetails;
|
|
987
1026
|
interface DeletePayableAccount_deletePayableAccount_BankAccount {
|
|
988
|
-
__typename:
|
|
1027
|
+
__typename: "BankAccount";
|
|
989
1028
|
id: string;
|
|
990
1029
|
name: string | null;
|
|
991
1030
|
userId: string;
|
|
@@ -1006,18 +1045,18 @@ interface DeletePayableAccount_deletePayableAccount_BankAccount {
|
|
|
1006
1045
|
bankAccountDetails: DeletePayableAccount_deletePayableAccount_BankAccount_bankAccountDetails;
|
|
1007
1046
|
}
|
|
1008
1047
|
interface DeletePayableAccount_deletePayableAccount_Bill_dataSync {
|
|
1009
|
-
__typename:
|
|
1048
|
+
__typename: "AccountDataSync";
|
|
1010
1049
|
lastSync: any | null;
|
|
1011
1050
|
syncStatus: AccountSyncStatus | null;
|
|
1012
1051
|
}
|
|
1013
1052
|
interface DeletePayableAccount_deletePayableAccount_Bill_institution {
|
|
1014
|
-
__typename:
|
|
1053
|
+
__typename: "BankAccountInstitution" | "BillInstitution";
|
|
1015
1054
|
id: string;
|
|
1016
1055
|
name: string;
|
|
1017
1056
|
logo: string | null;
|
|
1018
1057
|
}
|
|
1019
1058
|
interface DeletePayableAccount_deletePayableAccount_Bill_billAccountDetails {
|
|
1020
|
-
__typename:
|
|
1059
|
+
__typename: "BillAccountDetails";
|
|
1021
1060
|
balance: number | null;
|
|
1022
1061
|
amountDue: number | null;
|
|
1023
1062
|
openedAt: any | null;
|
|
@@ -1029,7 +1068,7 @@ interface DeletePayableAccount_deletePayableAccount_Bill_billAccountDetails {
|
|
|
1029
1068
|
remainingStatementBalance: number | null;
|
|
1030
1069
|
}
|
|
1031
1070
|
interface DeletePayableAccount_deletePayableAccount_Bill {
|
|
1032
|
-
__typename:
|
|
1071
|
+
__typename: "Bill";
|
|
1033
1072
|
id: string;
|
|
1034
1073
|
name: string | null;
|
|
1035
1074
|
userId: string;
|
|
@@ -1047,26 +1086,31 @@ interface DeletePayableAccount_deletePayableAccount_Bill {
|
|
|
1047
1086
|
}
|
|
1048
1087
|
|
|
1049
1088
|
interface RenameBankAccount_renamePayableAccount_Bill {
|
|
1050
|
-
__typename:
|
|
1089
|
+
__typename: "Bill" | "VirtualCard";
|
|
1051
1090
|
}
|
|
1052
1091
|
interface RenameBankAccount_renamePayableAccount_BankAccount_bankAccountDetails_CanadianBankAccountDetails {
|
|
1053
|
-
__typename:
|
|
1092
|
+
__typename: "CanadianBankAccountDetails" | "UKBankAccountDetails";
|
|
1054
1093
|
}
|
|
1055
1094
|
interface RenameBankAccount_renamePayableAccount_BankAccount_bankAccountDetails_USBankAccountDetails {
|
|
1056
|
-
__typename:
|
|
1095
|
+
__typename: "USBankAccountDetails";
|
|
1057
1096
|
routingNumber: string;
|
|
1058
1097
|
}
|
|
1059
1098
|
type RenameBankAccount_renamePayableAccount_BankAccount_bankAccountDetails = RenameBankAccount_renamePayableAccount_BankAccount_bankAccountDetails_CanadianBankAccountDetails | RenameBankAccount_renamePayableAccount_BankAccount_bankAccountDetails_USBankAccountDetails;
|
|
1060
1099
|
interface RenameBankAccount_renamePayableAccount_BankAccount_institution {
|
|
1061
|
-
__typename:
|
|
1100
|
+
__typename: "BankAccountInstitution" | "BillInstitution";
|
|
1062
1101
|
id: string;
|
|
1063
1102
|
name: string;
|
|
1064
1103
|
logo: string | null;
|
|
1065
1104
|
country: string;
|
|
1066
1105
|
currency: string;
|
|
1067
1106
|
}
|
|
1107
|
+
interface RenameBankAccount_renamePayableAccount_BankAccount_paymentAddresses {
|
|
1108
|
+
__typename: "PaymentAddress";
|
|
1109
|
+
network: string;
|
|
1110
|
+
address: string;
|
|
1111
|
+
}
|
|
1068
1112
|
interface RenameBankAccount_renamePayableAccount_BankAccount {
|
|
1069
|
-
__typename:
|
|
1113
|
+
__typename: "BankAccount";
|
|
1070
1114
|
id: string;
|
|
1071
1115
|
name: string | null;
|
|
1072
1116
|
userId: string;
|
|
@@ -1083,6 +1127,7 @@ interface RenameBankAccount_renamePayableAccount_BankAccount {
|
|
|
1083
1127
|
bankAccountDetails: RenameBankAccount_renamePayableAccount_BankAccount_bankAccountDetails;
|
|
1084
1128
|
deliveryMethods: PaymentDeliveryMethod[];
|
|
1085
1129
|
institution: RenameBankAccount_renamePayableAccount_BankAccount_institution | null;
|
|
1130
|
+
paymentAddresses: RenameBankAccount_renamePayableAccount_BankAccount_paymentAddresses[];
|
|
1086
1131
|
}
|
|
1087
1132
|
|
|
1088
1133
|
type Headers = Record<string, string | null | undefined>;
|
|
@@ -1150,9 +1195,15 @@ type CaBankAccountInput = BaseBankAccountInput & {
|
|
|
1150
1195
|
transitNumber: string;
|
|
1151
1196
|
institutionNumber: string;
|
|
1152
1197
|
};
|
|
1198
|
+
type IbanAccountInput = BaseBankAccountInput;
|
|
1199
|
+
type UKBankAccountInput = BaseBankAccountInput & {
|
|
1200
|
+
sortCode: string;
|
|
1201
|
+
};
|
|
1153
1202
|
type CreateInputMapping$1 = {
|
|
1154
1203
|
[BankAccountType.USBankAccount]: UsBankAccountInput;
|
|
1155
1204
|
[BankAccountType.CABankAccount]: CaBankAccountInput;
|
|
1205
|
+
[BankAccountType.IbanAccount]: IbanAccountInput;
|
|
1206
|
+
[BankAccountType.UKBankAccount]: UKBankAccountInput;
|
|
1156
1207
|
};
|
|
1157
1208
|
declare class BankAccountService {
|
|
1158
1209
|
private client;
|
|
@@ -1164,7 +1215,7 @@ declare class BankAccountService {
|
|
|
1164
1215
|
}
|
|
1165
1216
|
|
|
1166
1217
|
interface CreateUSBill_addUSBill_billAccountDetails {
|
|
1167
|
-
__typename:
|
|
1218
|
+
__typename: "BillAccountDetails";
|
|
1168
1219
|
balance: number | null;
|
|
1169
1220
|
amountDue: number | null;
|
|
1170
1221
|
openedAt: any | null;
|
|
@@ -1176,18 +1227,23 @@ interface CreateUSBill_addUSBill_billAccountDetails {
|
|
|
1176
1227
|
remainingStatementBalance: number | null;
|
|
1177
1228
|
}
|
|
1178
1229
|
interface CreateUSBill_addUSBill_dataSync {
|
|
1179
|
-
__typename:
|
|
1230
|
+
__typename: "AccountDataSync";
|
|
1180
1231
|
lastSync: any | null;
|
|
1181
1232
|
syncStatus: AccountSyncStatus | null;
|
|
1182
1233
|
}
|
|
1183
1234
|
interface CreateUSBill_addUSBill_institution {
|
|
1184
|
-
__typename:
|
|
1235
|
+
__typename: "BankAccountInstitution" | "BillInstitution";
|
|
1185
1236
|
id: string;
|
|
1186
1237
|
name: string;
|
|
1187
1238
|
logo: string | null;
|
|
1188
1239
|
}
|
|
1240
|
+
interface CreateUSBill_addUSBill_paymentAddresses {
|
|
1241
|
+
__typename: "PaymentAddress";
|
|
1242
|
+
network: string;
|
|
1243
|
+
address: string;
|
|
1244
|
+
}
|
|
1189
1245
|
interface CreateUSBill_addUSBill {
|
|
1190
|
-
__typename:
|
|
1246
|
+
__typename: "Bill";
|
|
1191
1247
|
id: string;
|
|
1192
1248
|
name: string | null;
|
|
1193
1249
|
userId: string;
|
|
@@ -1201,6 +1257,7 @@ interface CreateUSBill_addUSBill {
|
|
|
1201
1257
|
billAccountDetails: CreateUSBill_addUSBill_billAccountDetails | null;
|
|
1202
1258
|
dataSync: CreateUSBill_addUSBill_dataSync | null;
|
|
1203
1259
|
institution: CreateUSBill_addUSBill_institution | null;
|
|
1260
|
+
paymentAddresses: CreateUSBill_addUSBill_paymentAddresses[];
|
|
1204
1261
|
}
|
|
1205
1262
|
|
|
1206
1263
|
declare class BillService {
|
|
@@ -1220,7 +1277,7 @@ declare class InstitutionService {
|
|
|
1220
1277
|
}
|
|
1221
1278
|
|
|
1222
1279
|
interface CreateOnrampPayment_createOnrampPayment_depositInstructions {
|
|
1223
|
-
__typename:
|
|
1280
|
+
__typename: "OnrampPaymentDepositInstructions";
|
|
1224
1281
|
amount: number;
|
|
1225
1282
|
currency: string;
|
|
1226
1283
|
bankName: string;
|
|
@@ -1232,7 +1289,7 @@ interface CreateOnrampPayment_createOnrampPayment_depositInstructions {
|
|
|
1232
1289
|
depositMessage: string;
|
|
1233
1290
|
}
|
|
1234
1291
|
interface CreateOnrampPayment_createOnrampPayment {
|
|
1235
|
-
__typename:
|
|
1292
|
+
__typename: "OnRampPayment";
|
|
1236
1293
|
id: string;
|
|
1237
1294
|
amount: number;
|
|
1238
1295
|
feeAmount: number;
|
|
@@ -1260,7 +1317,7 @@ declare class PaymentService {
|
|
|
1260
1317
|
}
|
|
1261
1318
|
|
|
1262
1319
|
interface CreatePaymentRequest_createDirectPayment {
|
|
1263
|
-
__typename:
|
|
1320
|
+
__typename: "DirectPayment";
|
|
1264
1321
|
id: string;
|
|
1265
1322
|
userId: any;
|
|
1266
1323
|
accountId: any;
|
|
@@ -1339,7 +1396,7 @@ declare class UserService {
|
|
|
1339
1396
|
}
|
|
1340
1397
|
|
|
1341
1398
|
interface CreateUSVirtualDebitCard_createUSVirtualDebitCard_billingInfo_address {
|
|
1342
|
-
__typename:
|
|
1399
|
+
__typename: "CardHolderAddress";
|
|
1343
1400
|
street: string | null;
|
|
1344
1401
|
street2: string | null;
|
|
1345
1402
|
city: string | null;
|
|
@@ -1348,14 +1405,19 @@ interface CreateUSVirtualDebitCard_createUSVirtualDebitCard_billingInfo_address
|
|
|
1348
1405
|
countryCode: string | null;
|
|
1349
1406
|
}
|
|
1350
1407
|
interface CreateUSVirtualDebitCard_createUSVirtualDebitCard_billingInfo {
|
|
1351
|
-
__typename:
|
|
1408
|
+
__typename: "BillingInfo";
|
|
1352
1409
|
holder: string;
|
|
1353
1410
|
phone: string;
|
|
1354
1411
|
email: string;
|
|
1355
1412
|
address: CreateUSVirtualDebitCard_createUSVirtualDebitCard_billingInfo_address | null;
|
|
1356
1413
|
}
|
|
1414
|
+
interface CreateUSVirtualDebitCard_createUSVirtualDebitCard_paymentAddresses {
|
|
1415
|
+
__typename: "PaymentAddress";
|
|
1416
|
+
network: string;
|
|
1417
|
+
address: string;
|
|
1418
|
+
}
|
|
1357
1419
|
interface CreateUSVirtualDebitCard_createUSVirtualDebitCard {
|
|
1358
|
-
__typename:
|
|
1420
|
+
__typename: "VirtualCard";
|
|
1359
1421
|
id: string;
|
|
1360
1422
|
name: string | null;
|
|
1361
1423
|
userId: string;
|
|
@@ -1368,6 +1430,7 @@ interface CreateUSVirtualDebitCard_createUSVirtualDebitCard {
|
|
|
1368
1430
|
renderSecret: string | null;
|
|
1369
1431
|
virtualCardType: VirtualCardType;
|
|
1370
1432
|
billingInfo: CreateUSVirtualDebitCard_createUSVirtualDebitCard_billingInfo | null;
|
|
1433
|
+
paymentAddresses: CreateUSVirtualDebitCard_createUSVirtualDebitCard_paymentAddresses[];
|
|
1371
1434
|
}
|
|
1372
1435
|
interface CreateUSVirtualDebitCard {
|
|
1373
1436
|
createUSVirtualDebitCard: CreateUSVirtualDebitCard_createUSVirtualDebitCard;
|
|
@@ -1454,4 +1517,4 @@ declare class SpritzApiClient {
|
|
|
1454
1517
|
setApiKey(_apiKey: string): this;
|
|
1455
1518
|
}
|
|
1456
1519
|
|
|
1457
|
-
export { AccountPayments, AccountPaymentsVariables, AccountPayments_paymentsForAccount, BankAccountFragment, BankAccountFragment_bankAccountDetails, BankAccountFragment_bankAccountDetails_CanadianBankAccountDetails, BankAccountFragment_bankAccountDetails_USBankAccountDetails, BankAccountFragment_institution, BankAccountInput, BankAccountSubType, BankAccountType, BillFragment, BillFragment_billAccountDetails, BillFragment_dataSync, BillFragment_institution, BillType, CreateDirectPaymentInput, CreateOnrampPaymentInput, CreatePaymentRequestInput, CurrentUser, CurrentUser_me, Environment, GetSpritzPayParams, GetSpritzPayParamsVariables, GetSpritzPayParams_spritzPayParams, OnrampPaymentFragment, OnrampPaymentFragment_depositInstructions, OnrampPayments, OnrampPayments_onrampPayments, OnrampPayments_onrampPayments_depositInstructions, PayableAccountFragment, PayableAccountFragment_BankAccount, PayableAccountFragment_BankAccount_bankAccountDetails, PayableAccountFragment_BankAccount_bankAccountDetails_CanadianBankAccountDetails, PayableAccountFragment_BankAccount_bankAccountDetails_USBankAccountDetails, PayableAccountFragment_BankAccount_dataSync, PayableAccountFragment_BankAccount_institution, PayableAccountFragment_Bill, PayableAccountFragment_Bill_billAccountDetails, PayableAccountFragment_Bill_dataSync, PayableAccountFragment_Bill_institution, PayableAccountFragment_VirtualCard, PayableAccountFragment_VirtualCard_billingInfo, PayableAccountFragment_VirtualCard_billingInfo_address, PayableAccountFragment_VirtualCard_dataSync, PayableAccountFragment_VirtualCard_institution, PayableAccountInstitutionFragment, PayableAccountType, Payment, PaymentFragment, PaymentNetwork, PaymentRequestFragment, PaymentRequestPayment, PaymentRequestPaymentVariables, PaymentRequestPayment_paymentForPaymentRequest, DirectPaymentStatus as PaymentRequestStatus, PaymentStatus, PaymentVariables, Payment_payment, PopularBillInstitutions, PopularBillInstitutionsVariables, PopularBillInstitutions_popularUSBillInstitutions, SearchUSBillInstitutions, SearchUSBillInstitutionsVariables, SearchUSBillInstitutions_searchUSBillInstitutions, SpritzApiClient, TokenBalanceFragment, TransactionPrice, TransactionPriceVariables, UserBankAccounts, UserBankAccounts_bankAccounts, UserBankAccounts_bankAccounts_bankAccountDetails, UserBankAccounts_bankAccounts_bankAccountDetails_CanadianBankAccountDetails, UserBankAccounts_bankAccounts_bankAccountDetails_USBankAccountDetails, UserBankAccounts_bankAccounts_institution, UserBills, UserBills_bills, UserBills_bills_billAccountDetails, UserBills_bills_dataSync, UserBills_bills_institution, UserFragment, UserPayableAccounts, UserPayableAccounts_payableAccounts, UserPayableAccounts_payableAccounts_BankAccount, UserPayableAccounts_payableAccounts_BankAccount_bankAccountDetails, UserPayableAccounts_payableAccounts_BankAccount_bankAccountDetails_CanadianBankAccountDetails, UserPayableAccounts_payableAccounts_BankAccount_bankAccountDetails_USBankAccountDetails, UserPayableAccounts_payableAccounts_BankAccount_dataSync, UserPayableAccounts_payableAccounts_BankAccount_institution, UserPayableAccounts_payableAccounts_Bill, UserPayableAccounts_payableAccounts_Bill_billAccountDetails, UserPayableAccounts_payableAccounts_Bill_dataSync, UserPayableAccounts_payableAccounts_Bill_institution, UserPayableAccounts_payableAccounts_VirtualCard, UserPayableAccounts_payableAccounts_VirtualCard_billingInfo, UserPayableAccounts_payableAccounts_VirtualCard_billingInfo_address, UserPayableAccounts_payableAccounts_VirtualCard_dataSync, UserPayableAccounts_payableAccounts_VirtualCard_institution, UserVerification, UserVerification_verification, UserVerification_verification_identity, UserVerification_verification_identity_user, UserVirtualDebitCard, UserVirtualDebitCard_virtualDebitCard, UserVirtualDebitCard_virtualDebitCard_billingInfo, UserVirtualDebitCard_virtualDebitCard_billingInfo_address, VirtualCardType, VirtualDebitCardFragment, VirtualDebitCardFragment_billingInfo, VirtualDebitCardFragment_billingInfo_address, WalletTokenBalances, WalletTokenBalancesVariables, WalletTokenBalances_tokenBalances };
|
|
1520
|
+
export { AccountPayments, AccountPaymentsVariables, AccountPayments_paymentsForAccount, BankAccountFragment, BankAccountFragment_bankAccountDetails, BankAccountFragment_bankAccountDetails_CanadianBankAccountDetails, BankAccountFragment_bankAccountDetails_USBankAccountDetails, BankAccountFragment_institution, BankAccountFragment_paymentAddresses, BankAccountInput, BankAccountSubType, BankAccountType, BillFragment, BillFragment_billAccountDetails, BillFragment_dataSync, BillFragment_institution, BillFragment_paymentAddresses, BillType, CreateDirectPaymentInput, CreateOnrampPaymentInput, CreatePaymentRequestInput, CurrentUser, CurrentUser_me, Environment, GetSpritzPayParams, GetSpritzPayParamsVariables, GetSpritzPayParams_spritzPayParams, OnrampPaymentFragment, OnrampPaymentFragment_depositInstructions, OnrampPayments, OnrampPayments_onrampPayments, OnrampPayments_onrampPayments_depositInstructions, PayableAccountFragment, PayableAccountFragment_BankAccount, PayableAccountFragment_BankAccount_bankAccountDetails, PayableAccountFragment_BankAccount_bankAccountDetails_CanadianBankAccountDetails, PayableAccountFragment_BankAccount_bankAccountDetails_USBankAccountDetails, PayableAccountFragment_BankAccount_dataSync, PayableAccountFragment_BankAccount_institution, PayableAccountFragment_Bill, PayableAccountFragment_Bill_billAccountDetails, PayableAccountFragment_Bill_dataSync, PayableAccountFragment_Bill_institution, PayableAccountFragment_VirtualCard, PayableAccountFragment_VirtualCard_billingInfo, PayableAccountFragment_VirtualCard_billingInfo_address, PayableAccountFragment_VirtualCard_dataSync, PayableAccountFragment_VirtualCard_institution, PayableAccountInstitutionFragment, PayableAccountType, Payment, PaymentFragment, PaymentNetwork, PaymentRequestFragment, PaymentRequestPayment, PaymentRequestPaymentVariables, PaymentRequestPayment_paymentForPaymentRequest, DirectPaymentStatus as PaymentRequestStatus, PaymentStatus, PaymentVariables, Payment_payment, PopularBillInstitutions, PopularBillInstitutionsVariables, PopularBillInstitutions_popularUSBillInstitutions, SearchUSBillInstitutions, SearchUSBillInstitutionsVariables, SearchUSBillInstitutions_searchUSBillInstitutions, SpritzApiClient, TokenBalanceFragment, TransactionPrice, TransactionPriceVariables, UserBankAccounts, UserBankAccounts_bankAccounts, UserBankAccounts_bankAccounts_bankAccountDetails, UserBankAccounts_bankAccounts_bankAccountDetails_CanadianBankAccountDetails, UserBankAccounts_bankAccounts_bankAccountDetails_USBankAccountDetails, UserBankAccounts_bankAccounts_institution, UserBankAccounts_bankAccounts_paymentAddresses, UserBills, UserBills_bills, UserBills_bills_billAccountDetails, UserBills_bills_dataSync, UserBills_bills_institution, UserBills_bills_paymentAddresses, UserFragment, UserPayableAccounts, UserPayableAccounts_payableAccounts, UserPayableAccounts_payableAccounts_BankAccount, UserPayableAccounts_payableAccounts_BankAccount_bankAccountDetails, UserPayableAccounts_payableAccounts_BankAccount_bankAccountDetails_CanadianBankAccountDetails, UserPayableAccounts_payableAccounts_BankAccount_bankAccountDetails_USBankAccountDetails, UserPayableAccounts_payableAccounts_BankAccount_dataSync, UserPayableAccounts_payableAccounts_BankAccount_institution, UserPayableAccounts_payableAccounts_Bill, UserPayableAccounts_payableAccounts_Bill_billAccountDetails, UserPayableAccounts_payableAccounts_Bill_dataSync, UserPayableAccounts_payableAccounts_Bill_institution, UserPayableAccounts_payableAccounts_VirtualCard, UserPayableAccounts_payableAccounts_VirtualCard_billingInfo, UserPayableAccounts_payableAccounts_VirtualCard_billingInfo_address, UserPayableAccounts_payableAccounts_VirtualCard_dataSync, UserPayableAccounts_payableAccounts_VirtualCard_institution, UserVerification, UserVerification_verification, UserVerification_verification_identity, UserVerification_verification_identity_user, UserVirtualDebitCard, UserVirtualDebitCard_virtualDebitCard, UserVirtualDebitCard_virtualDebitCard_billingInfo, UserVirtualDebitCard_virtualDebitCard_billingInfo_address, UserVirtualDebitCard_virtualDebitCard_paymentAddresses, VirtualCardType, VirtualDebitCardFragment, VirtualDebitCardFragment_billingInfo, VirtualDebitCardFragment_billingInfo_address, VirtualDebitCardFragment_paymentAddresses, WalletTokenBalances, WalletTokenBalancesVariables, WalletTokenBalances_tokenBalances };
|