@spritz-finance/service-client 0.3.87 → 0.3.88
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/lib/lib/graphClient/generated.d.ts +309 -153
- package/lib/lib/graphClient/generated.js +40 -31
- package/package.json +1 -1
|
@@ -60,8 +60,10 @@ export type AccountDataSync = {
|
|
|
60
60
|
syncStatus?: Maybe<AccountSyncStatus>;
|
|
61
61
|
};
|
|
62
62
|
export declare enum AccountProvider {
|
|
63
|
+
Bridge = "BRIDGE",
|
|
63
64
|
Checkbook = "CHECKBOOK",
|
|
64
65
|
MethodFi = "METHOD_FI",
|
|
66
|
+
Rain = "RAIN",
|
|
65
67
|
Unblock = "UNBLOCK"
|
|
66
68
|
}
|
|
67
69
|
export declare enum AccountSyncStatus {
|
|
@@ -137,10 +139,33 @@ export type AttributionSurveyInput = {
|
|
|
137
139
|
sourceDetail: Scalars['String']['input'];
|
|
138
140
|
useCase: Scalars['String']['input'];
|
|
139
141
|
};
|
|
142
|
+
export type AuthenticatedWallet = {
|
|
143
|
+
__typename?: 'AuthenticatedWallet';
|
|
144
|
+
address: Scalars['String']['output'];
|
|
145
|
+
createdAt: Scalars['DateTimeISO']['output'];
|
|
146
|
+
id: Scalars['ID']['output'];
|
|
147
|
+
type: Scalars['String']['output'];
|
|
148
|
+
userId: Scalars['String']['output'];
|
|
149
|
+
};
|
|
150
|
+
export type AuthenticatedWalletChallenge = {
|
|
151
|
+
__typename?: 'AuthenticatedWalletChallenge';
|
|
152
|
+
challenge: AuthenticatedWalletChallengeData;
|
|
153
|
+
sessionId: Scalars['String']['output'];
|
|
154
|
+
};
|
|
155
|
+
export type AuthenticatedWalletChallengeData = {
|
|
156
|
+
__typename?: 'AuthenticatedWalletChallengeData';
|
|
157
|
+
nonce: Scalars['String']['output'];
|
|
158
|
+
type: Scalars['String']['output'];
|
|
159
|
+
};
|
|
140
160
|
export type AvailableVirtualCardType = {
|
|
141
161
|
__typename?: 'AvailableVirtualCardType';
|
|
142
162
|
type: Scalars['String']['output'];
|
|
143
163
|
};
|
|
164
|
+
export type Balance = {
|
|
165
|
+
__typename?: 'Balance';
|
|
166
|
+
amount: Scalars['Float']['output'];
|
|
167
|
+
symbol: Scalars['String']['output'];
|
|
168
|
+
};
|
|
144
169
|
export type BalanceChange = {
|
|
145
170
|
__typename?: 'BalanceChange';
|
|
146
171
|
absoluteChange: Scalars['Float']['output'];
|
|
@@ -165,6 +190,7 @@ export type BankAccount = PayableAccount & {
|
|
|
165
190
|
holder: Scalars['String']['output'];
|
|
166
191
|
id: Scalars['ID']['output'];
|
|
167
192
|
institution?: Maybe<PayableAccountInstitution>;
|
|
193
|
+
legacyExternalId?: Maybe<Scalars['String']['output']>;
|
|
168
194
|
mask?: Maybe<Scalars['String']['output']>;
|
|
169
195
|
name?: Maybe<Scalars['String']['output']>;
|
|
170
196
|
originalName?: Maybe<Scalars['String']['output']>;
|
|
@@ -181,13 +207,24 @@ export type BankAccount = PayableAccount & {
|
|
|
181
207
|
verified: Scalars['Boolean']['output'];
|
|
182
208
|
verifying: Scalars['Boolean']['output'];
|
|
183
209
|
};
|
|
184
|
-
export type
|
|
210
|
+
export type BankAccountAddressInput = {
|
|
211
|
+
city: Scalars['String']['input'];
|
|
212
|
+
countryCode?: InputMaybe<Scalars['String']['input']>;
|
|
213
|
+
postalCode: Scalars['String']['input'];
|
|
214
|
+
street: Scalars['String']['input'];
|
|
215
|
+
street2?: InputMaybe<Scalars['String']['input']>;
|
|
216
|
+
subdivision: Scalars['String']['input'];
|
|
217
|
+
};
|
|
218
|
+
export type BankAccountDetails = CanadianBankAccountDetails | IbanBankAccountDetails | UkBankAccountDetails | UsBankAccountDetails;
|
|
185
219
|
export type BankAccountFeatures = UsBankAccountFeatures;
|
|
186
220
|
export type BankAccountInput = {
|
|
187
221
|
accountNumber: Scalars['String']['input'];
|
|
222
|
+
address?: InputMaybe<BankAccountAddressInput>;
|
|
188
223
|
details?: InputMaybe<Scalars['JSON']['input']>;
|
|
189
224
|
email?: InputMaybe<Scalars['String']['input']>;
|
|
190
225
|
holder?: InputMaybe<Scalars['String']['input']>;
|
|
226
|
+
holderFirstName?: InputMaybe<Scalars['String']['input']>;
|
|
227
|
+
holderLastName?: InputMaybe<Scalars['String']['input']>;
|
|
191
228
|
name: Scalars['String']['input'];
|
|
192
229
|
ownedByUser?: InputMaybe<Scalars['Boolean']['input']>;
|
|
193
230
|
subType: BankAccountSubType;
|
|
@@ -260,6 +297,7 @@ export type Bill = PayableAccount & {
|
|
|
260
297
|
externalId?: Maybe<Scalars['String']['output']>;
|
|
261
298
|
id: Scalars['ID']['output'];
|
|
262
299
|
institution?: Maybe<PayableAccountInstitution>;
|
|
300
|
+
legacyExternalId?: Maybe<Scalars['String']['output']>;
|
|
263
301
|
mask?: Maybe<Scalars['String']['output']>;
|
|
264
302
|
name?: Maybe<Scalars['String']['output']>;
|
|
265
303
|
originalName?: Maybe<Scalars['String']['output']>;
|
|
@@ -347,6 +385,114 @@ export type BrexBalance = {
|
|
|
347
385
|
__typename?: 'BrexBalance';
|
|
348
386
|
available: Scalars['Float']['output'];
|
|
349
387
|
};
|
|
388
|
+
export type BridgeExternalAccount = {
|
|
389
|
+
__typename?: 'BridgeExternalAccount';
|
|
390
|
+
account?: Maybe<BridgeExternalAccountAccountDetails>;
|
|
391
|
+
accountId: Scalars['String']['output'];
|
|
392
|
+
active: Scalars['Boolean']['output'];
|
|
393
|
+
createdAt: Scalars['DateTimeISO']['output'];
|
|
394
|
+
currency: Scalars['String']['output'];
|
|
395
|
+
externalId: Scalars['String']['output'];
|
|
396
|
+
iban?: Maybe<BridgeExternalAccountIbanDetails>;
|
|
397
|
+
id: Scalars['ID']['output'];
|
|
398
|
+
updatedAt: Scalars['DateTimeISO']['output'];
|
|
399
|
+
userId: Scalars['String']['output'];
|
|
400
|
+
};
|
|
401
|
+
export type BridgeExternalAccountAccountDetails = {
|
|
402
|
+
__typename?: 'BridgeExternalAccountAccountDetails';
|
|
403
|
+
checking_or_savings: Scalars['String']['output'];
|
|
404
|
+
last_4: Scalars['String']['output'];
|
|
405
|
+
routing_number: Scalars['String']['output'];
|
|
406
|
+
};
|
|
407
|
+
export type BridgeExternalAccountIbanDetails = {
|
|
408
|
+
__typename?: 'BridgeExternalAccountIBANDetails';
|
|
409
|
+
bic: Scalars['String']['output'];
|
|
410
|
+
country: Scalars['String']['output'];
|
|
411
|
+
last_4: Scalars['String']['output'];
|
|
412
|
+
};
|
|
413
|
+
/** Bridge supported networks. */
|
|
414
|
+
export declare enum BridgeNetwork {
|
|
415
|
+
Arbitrum = "ARBITRUM",
|
|
416
|
+
Avalanche = "AVALANCHE",
|
|
417
|
+
Base = "BASE",
|
|
418
|
+
Ethereum = "ETHEREUM",
|
|
419
|
+
Optimism = "OPTIMISM",
|
|
420
|
+
Polygon = "POLYGON",
|
|
421
|
+
Solana = "SOLANA",
|
|
422
|
+
Stellar = "STELLAR",
|
|
423
|
+
Tron = "TRON"
|
|
424
|
+
}
|
|
425
|
+
export type BridgeTransfer = {
|
|
426
|
+
__typename?: 'BridgeTransfer';
|
|
427
|
+
amount: Scalars['Float']['output'];
|
|
428
|
+
createdAt: Scalars['DateTimeISO']['output'];
|
|
429
|
+
currency: Scalars['String']['output'];
|
|
430
|
+
destination: BridgeTransferDestination;
|
|
431
|
+
exchangeRateInfo?: Maybe<ExchangeRateInfo>;
|
|
432
|
+
externalAccountId: Scalars['ObjectID']['output'];
|
|
433
|
+
externalId: Scalars['String']['output'];
|
|
434
|
+
feeAmount: Scalars['Float']['output'];
|
|
435
|
+
id: Scalars['ID']['output'];
|
|
436
|
+
paymentId: Scalars['ObjectID']['output'];
|
|
437
|
+
source: BridgeTransferSource;
|
|
438
|
+
sourceDepositInstructions: BridgeTransferSourceDepositInstructions;
|
|
439
|
+
state: BridgeTransferState;
|
|
440
|
+
totalAmount: Scalars['Float']['output'];
|
|
441
|
+
updatedAt: Scalars['DateTimeISO']['output'];
|
|
442
|
+
userId: Scalars['ObjectID']['output'];
|
|
443
|
+
};
|
|
444
|
+
export type BridgeTransferDestination = {
|
|
445
|
+
__typename?: 'BridgeTransferDestination';
|
|
446
|
+
currency: Scalars['String']['output'];
|
|
447
|
+
imad?: Maybe<Scalars['String']['output']>;
|
|
448
|
+
omad?: Maybe<Scalars['String']['output']>;
|
|
449
|
+
paymentRail: Scalars['String']['output'];
|
|
450
|
+
sepaReference?: Maybe<Scalars['String']['output']>;
|
|
451
|
+
traceNumber?: Maybe<Scalars['String']['output']>;
|
|
452
|
+
uetr?: Maybe<Scalars['String']['output']>;
|
|
453
|
+
};
|
|
454
|
+
export declare enum BridgeTransferOffRampPaymentRail {
|
|
455
|
+
Ach = "ACH",
|
|
456
|
+
AchSameDay = "ACH_SAME_DAY",
|
|
457
|
+
Sepa = "SEPA",
|
|
458
|
+
Wire = "WIRE"
|
|
459
|
+
}
|
|
460
|
+
export type BridgeTransferSimulationResult = {
|
|
461
|
+
__typename?: 'BridgeTransferSimulationResult';
|
|
462
|
+
destinationAmount: Scalars['Float']['output'];
|
|
463
|
+
destinationFee: Scalars['Float']['output'];
|
|
464
|
+
destinationTotal: Scalars['Float']['output'];
|
|
465
|
+
rate: Scalars['Float']['output'];
|
|
466
|
+
sourceAmount: Scalars['Float']['output'];
|
|
467
|
+
sourceFee: Scalars['Float']['output'];
|
|
468
|
+
sourceTotal: Scalars['Float']['output'];
|
|
469
|
+
};
|
|
470
|
+
export type BridgeTransferSource = {
|
|
471
|
+
__typename?: 'BridgeTransferSource';
|
|
472
|
+
currency: Scalars['String']['output'];
|
|
473
|
+
fromAddress?: Maybe<Scalars['String']['output']>;
|
|
474
|
+
paymentRail: Scalars['String']['output'];
|
|
475
|
+
};
|
|
476
|
+
export type BridgeTransferSourceDepositInstructions = {
|
|
477
|
+
__typename?: 'BridgeTransferSourceDepositInstructions';
|
|
478
|
+
amount: Scalars['Float']['output'];
|
|
479
|
+
blockchainMemo?: Maybe<Scalars['String']['output']>;
|
|
480
|
+
currency: Scalars['String']['output'];
|
|
481
|
+
fromAddress: Scalars['String']['output'];
|
|
482
|
+
paymentRail: Scalars['String']['output'];
|
|
483
|
+
toAddress: Scalars['String']['output'];
|
|
484
|
+
};
|
|
485
|
+
export declare enum BridgeTransferState {
|
|
486
|
+
AwaitingFunds = "AWAITING_FUNDS",
|
|
487
|
+
Cancelled = "CANCELLED",
|
|
488
|
+
Error = "ERROR",
|
|
489
|
+
FundsReceived = "FUNDS_RECEIVED",
|
|
490
|
+
InReview = "IN_REVIEW",
|
|
491
|
+
PaymentProcessed = "PAYMENT_PROCESSED",
|
|
492
|
+
PaymentSubmitted = "PAYMENT_SUBMITTED",
|
|
493
|
+
Refunded = "REFUNDED",
|
|
494
|
+
Returned = "RETURNED"
|
|
495
|
+
}
|
|
350
496
|
export type BridgeUser = {
|
|
351
497
|
__typename?: 'BridgeUser';
|
|
352
498
|
email: Scalars['String']['output'];
|
|
@@ -361,7 +507,7 @@ export type BridgeUser = {
|
|
|
361
507
|
tosLink?: Maybe<Scalars['String']['output']>;
|
|
362
508
|
tosStatus: Scalars['String']['output'];
|
|
363
509
|
type?: Maybe<Scalars['String']['output']>;
|
|
364
|
-
userId: Scalars['
|
|
510
|
+
userId: Scalars['String']['output'];
|
|
365
511
|
};
|
|
366
512
|
export type BridgeVirtualAccount = {
|
|
367
513
|
__typename?: 'BridgeVirtualAccount';
|
|
@@ -375,7 +521,7 @@ export type BridgeVirtualAccount = {
|
|
|
375
521
|
microdeposits?: Maybe<Array<Scalars['Float']['output']>>;
|
|
376
522
|
network: Scalars['String']['output'];
|
|
377
523
|
token: Scalars['String']['output'];
|
|
378
|
-
userId: Scalars['
|
|
524
|
+
userId: Scalars['String']['output'];
|
|
379
525
|
};
|
|
380
526
|
export type BusinessIdentity = {
|
|
381
527
|
__typename?: 'BusinessIdentity';
|
|
@@ -411,41 +557,9 @@ export type CheckbookNotifyFundingInput = {
|
|
|
411
557
|
amount: Scalars['Float']['input'];
|
|
412
558
|
transmittalDate: Scalars['String']['input'];
|
|
413
559
|
};
|
|
414
|
-
export type CheckbookPayment = {
|
|
415
|
-
__typename?: 'CheckbookPayment';
|
|
416
|
-
accountId: Scalars['ObjectID']['output'];
|
|
417
|
-
amount: Scalars['Float']['output'];
|
|
418
|
-
completionDate?: Maybe<Scalars['DateTimeISO']['output']>;
|
|
419
|
-
currency: Scalars['String']['output'];
|
|
420
|
-
date: Scalars['DateTimeISO']['output'];
|
|
421
|
-
description?: Maybe<Scalars['String']['output']>;
|
|
422
|
-
error?: Maybe<Scalars['String']['output']>;
|
|
423
|
-
externalId?: Maybe<Scalars['String']['output']>;
|
|
424
|
-
id: Scalars['ID']['output'];
|
|
425
|
-
image_uri: Scalars['String']['output'];
|
|
426
|
-
name: Scalars['String']['output'];
|
|
427
|
-
number: Scalars['Float']['output'];
|
|
428
|
-
paymentId: Scalars['ObjectID']['output'];
|
|
429
|
-
recipient: Scalars['String']['output'];
|
|
430
|
-
releaseDate?: Maybe<Scalars['DateTimeISO']['output']>;
|
|
431
|
-
status: CheckbookPaymentStatus;
|
|
432
|
-
userId: Scalars['ObjectID']['output'];
|
|
433
|
-
};
|
|
434
|
-
export declare enum CheckbookPaymentStatus {
|
|
435
|
-
Expired = "EXPIRED",
|
|
436
|
-
Failed = "FAILED",
|
|
437
|
-
InProcess = "IN_PROCESS",
|
|
438
|
-
Mailed = "MAILED",
|
|
439
|
-
Paid = "PAID",
|
|
440
|
-
Printed = "PRINTED",
|
|
441
|
-
Queued = "QUEUED",
|
|
442
|
-
Refunded = "REFUNDED",
|
|
443
|
-
Unpaid = "UNPAID",
|
|
444
|
-
Void = "VOID"
|
|
445
|
-
}
|
|
446
560
|
export type CheckbookSendQueuedPaymentsInput = {
|
|
447
|
-
|
|
448
|
-
|
|
561
|
+
config?: InputMaybe<Scalars['String']['input']>;
|
|
562
|
+
currency?: InputMaybe<Scalars['String']['input']>;
|
|
449
563
|
};
|
|
450
564
|
export type CheckbookUser = {
|
|
451
565
|
__typename?: 'CheckbookUser';
|
|
@@ -478,6 +592,15 @@ export type CognitoKycFlowTemplate = {
|
|
|
478
592
|
id: Scalars['ID']['output'];
|
|
479
593
|
version: Scalars['Int']['output'];
|
|
480
594
|
};
|
|
595
|
+
/** The input for creating a Bridge off-ramp transfer. */
|
|
596
|
+
export type CreateBridgeOffRampTransferInput = {
|
|
597
|
+
accountId: Scalars['String']['input'];
|
|
598
|
+
amount: Scalars['Float']['input'];
|
|
599
|
+
fromAddress: Scalars['String']['input'];
|
|
600
|
+
network: BridgeNetwork;
|
|
601
|
+
paymentRail: BridgeTransferOffRampPaymentRail;
|
|
602
|
+
token: Scalars['String']['input'];
|
|
603
|
+
};
|
|
481
604
|
export type CreateBridgeVirtualAccountInput = {
|
|
482
605
|
address: Scalars['String']['input'];
|
|
483
606
|
network: Scalars['String']['input'];
|
|
@@ -489,6 +612,8 @@ export type CreateDirectPaymentInput = {
|
|
|
489
612
|
deliveryMethod?: InputMaybe<PaymentDeliveryMethod>;
|
|
490
613
|
network: Scalars['String']['input'];
|
|
491
614
|
paymentNote?: InputMaybe<Scalars['String']['input']>;
|
|
615
|
+
/** Strategy to use for payment processing */
|
|
616
|
+
paymentStrategy?: InputMaybe<Scalars['String']['input']>;
|
|
492
617
|
pointsRedemptionId?: InputMaybe<Scalars['String']['input']>;
|
|
493
618
|
provider?: InputMaybe<AccountProvider>;
|
|
494
619
|
/** The amount of rewards balance to apply to the payment */
|
|
@@ -503,28 +628,6 @@ export type CreateOnrampPaymentInput = {
|
|
|
503
628
|
paymentMethod: Scalars['String']['input'];
|
|
504
629
|
token: Scalars['String']['input'];
|
|
505
630
|
};
|
|
506
|
-
export type CreateSubscriptionInput = {
|
|
507
|
-
accountId: Scalars['String']['input'];
|
|
508
|
-
amount?: InputMaybe<Scalars['Float']['input']>;
|
|
509
|
-
frequency: SubscriptionFrequency;
|
|
510
|
-
frequencyValue?: InputMaybe<Scalars['Int']['input']>;
|
|
511
|
-
network?: InputMaybe<Scalars['String']['input']>;
|
|
512
|
-
paymentToken: Scalars['String']['input'];
|
|
513
|
-
provider: AccountProvider;
|
|
514
|
-
signedMessage?: InputMaybe<Scalars['String']['input']>;
|
|
515
|
-
startDate: Scalars['DateTimeISO']['input'];
|
|
516
|
-
tokenSymbol: Scalars['String']['input'];
|
|
517
|
-
totalPayments?: InputMaybe<Scalars['Int']['input']>;
|
|
518
|
-
type: SubscriptionType;
|
|
519
|
-
walletAddress: Scalars['String']['input'];
|
|
520
|
-
};
|
|
521
|
-
/** Fields to create new userClient by admin */
|
|
522
|
-
export type CreateUserInput = {
|
|
523
|
-
email: Scalars['String']['input'];
|
|
524
|
-
firstName?: InputMaybe<Scalars['String']['input']>;
|
|
525
|
-
lastName?: InputMaybe<Scalars['String']['input']>;
|
|
526
|
-
phone?: InputMaybe<Scalars['String']['input']>;
|
|
527
|
-
};
|
|
528
631
|
export type CryptoExchangeRate = {
|
|
529
632
|
__typename?: 'CryptoExchangeRate';
|
|
530
633
|
base: Scalars['String']['output'];
|
|
@@ -547,6 +650,7 @@ export type DebitCard = PayableAccount & {
|
|
|
547
650
|
externalId?: Maybe<Scalars['String']['output']>;
|
|
548
651
|
id: Scalars['ID']['output'];
|
|
549
652
|
institution?: Maybe<PayableAccountInstitution>;
|
|
653
|
+
legacyExternalId?: Maybe<Scalars['String']['output']>;
|
|
550
654
|
mask?: Maybe<Scalars['String']['output']>;
|
|
551
655
|
name?: Maybe<Scalars['String']['output']>;
|
|
552
656
|
originalName?: Maybe<Scalars['String']['output']>;
|
|
@@ -579,6 +683,11 @@ export type DebitCardPayable = {
|
|
|
579
683
|
__typename?: 'DebitCardPayable';
|
|
580
684
|
country: Scalars['String']['output'];
|
|
581
685
|
};
|
|
686
|
+
export type DetailedBalance = {
|
|
687
|
+
__typename?: 'DetailedBalance';
|
|
688
|
+
balances: Array<Balance>;
|
|
689
|
+
totalBalance: Scalars['Float']['output'];
|
|
690
|
+
};
|
|
582
691
|
export type DigitalAccount = PayableAccount & {
|
|
583
692
|
__typename?: 'DigitalAccount';
|
|
584
693
|
country: Scalars['String']['output'];
|
|
@@ -593,6 +702,7 @@ export type DigitalAccount = PayableAccount & {
|
|
|
593
702
|
holder?: Maybe<Scalars['String']['output']>;
|
|
594
703
|
id: Scalars['ID']['output'];
|
|
595
704
|
institution?: Maybe<PayableAccountInstitution>;
|
|
705
|
+
legacyExternalId?: Maybe<Scalars['String']['output']>;
|
|
596
706
|
mask?: Maybe<Scalars['String']['output']>;
|
|
597
707
|
name?: Maybe<Scalars['String']['output']>;
|
|
598
708
|
originalName?: Maybe<Scalars['String']['output']>;
|
|
@@ -624,7 +734,7 @@ export type DirectPayment = {
|
|
|
624
734
|
amountDue: Scalars['Float']['output'];
|
|
625
735
|
createdAt: Scalars['DateTimeISO']['output'];
|
|
626
736
|
currentTime?: Maybe<Scalars['DateTimeISO']['output']>;
|
|
627
|
-
deliveryMethod?: Maybe<
|
|
737
|
+
deliveryMethod?: Maybe<PaymentDeliveryMethod>;
|
|
628
738
|
feeAmount?: Maybe<Scalars['Float']['output']>;
|
|
629
739
|
feeDiscount: Scalars['Float']['output'];
|
|
630
740
|
id: Scalars['ID']['output'];
|
|
@@ -694,6 +804,19 @@ export type ExchangeRate = {
|
|
|
694
804
|
target: Scalars['String']['output'];
|
|
695
805
|
timestamp: Scalars['DateTimeISO']['output'];
|
|
696
806
|
};
|
|
807
|
+
export type ExchangeRateInfo = {
|
|
808
|
+
__typename?: 'ExchangeRateInfo';
|
|
809
|
+
fromCurrency: Scalars['String']['output'];
|
|
810
|
+
originalAmount: Scalars['Float']['output'];
|
|
811
|
+
rate: Scalars['Float']['output'];
|
|
812
|
+
toCurrency: Scalars['String']['output'];
|
|
813
|
+
};
|
|
814
|
+
export type ExternalBankAccountInput = {
|
|
815
|
+
address?: InputMaybe<BankAccountAddressInput>;
|
|
816
|
+
holderFirstName?: InputMaybe<Scalars['String']['input']>;
|
|
817
|
+
holderLastName?: InputMaybe<Scalars['String']['input']>;
|
|
818
|
+
ownedByUser?: InputMaybe<Scalars['Boolean']['input']>;
|
|
819
|
+
};
|
|
697
820
|
export type ExternalPayment = {
|
|
698
821
|
__typename?: 'ExternalPayment';
|
|
699
822
|
amount: Scalars['Float']['output'];
|
|
@@ -706,6 +829,13 @@ export type ExternalPayment = {
|
|
|
706
829
|
releaseDate?: Maybe<Scalars['DateTimeISO']['output']>;
|
|
707
830
|
status: PaymentStatus;
|
|
708
831
|
};
|
|
832
|
+
export type FeatureFlagType = {
|
|
833
|
+
__typename?: 'FeatureFlagType';
|
|
834
|
+
description: Scalars['String']['output'];
|
|
835
|
+
key: Scalars['String']['output'];
|
|
836
|
+
label: Scalars['String']['output'];
|
|
837
|
+
value: Scalars['Boolean']['output'];
|
|
838
|
+
};
|
|
709
839
|
export type FeeCalculation = {
|
|
710
840
|
__typename?: 'FeeCalculation';
|
|
711
841
|
amount: Scalars['Float']['output'];
|
|
@@ -727,6 +857,10 @@ export type GasSpeed = {
|
|
|
727
857
|
instant?: Maybe<Scalars['Float']['output']>;
|
|
728
858
|
standard?: Maybe<Scalars['Float']['output']>;
|
|
729
859
|
};
|
|
860
|
+
export type IbanBankAccountDetails = {
|
|
861
|
+
__typename?: 'IBANBankAccountDetails';
|
|
862
|
+
bic: Scalars['String']['output'];
|
|
863
|
+
};
|
|
730
864
|
export type IdentityModule = {
|
|
731
865
|
__typename?: 'IdentityModule';
|
|
732
866
|
accountType?: Maybe<Scalars['String']['output']>;
|
|
@@ -955,6 +1089,7 @@ export declare enum ModuleStatus {
|
|
|
955
1089
|
export type Mutation = {
|
|
956
1090
|
__typename?: 'Mutation';
|
|
957
1091
|
addAssociatedWallet: Scalars['Boolean']['output'];
|
|
1092
|
+
addBICToIBANAccount: BankAccount;
|
|
958
1093
|
addSignupCode: Scalars['Boolean']['output'];
|
|
959
1094
|
addUSBill: Bill;
|
|
960
1095
|
adminCreateNewAffiliateCode: Scalars['Boolean']['output'];
|
|
@@ -971,31 +1106,34 @@ export type Mutation = {
|
|
|
971
1106
|
changeBillType: Bill;
|
|
972
1107
|
checkbookNotifyFunding: Scalars['Boolean']['output'];
|
|
973
1108
|
checkbookReleasePayment?: Maybe<Scalars['Boolean']['output']>;
|
|
974
|
-
checkbookSendQueuedPayments
|
|
1109
|
+
checkbookSendQueuedPayments: Scalars['Boolean']['output'];
|
|
975
1110
|
checkbookSetReleaseDate?: Maybe<Scalars['Boolean']['output']>;
|
|
1111
|
+
confirmEmailChange: User;
|
|
976
1112
|
createApiToken: ApiToken;
|
|
977
1113
|
createApiTokenFor?: Maybe<ApiToken>;
|
|
978
1114
|
createBankAccount: BankAccount;
|
|
1115
|
+
createBridgeOffRampTransfer: BridgeTransfer;
|
|
979
1116
|
createDebitCard: DebitCard;
|
|
980
1117
|
createDigitalPaymentAccount: DigitalAccount;
|
|
981
1118
|
createDirectPayment: DirectPayment;
|
|
1119
|
+
createExternalBankAccount: BankAccount;
|
|
982
1120
|
createIntegrationToken: IntegrationToken;
|
|
983
1121
|
createIntegrator: Integrator;
|
|
984
1122
|
createOnrampPayment: OnRampPayment;
|
|
985
1123
|
createSpritzSourceAccount: MethodFiAccount;
|
|
986
|
-
createSubscription: PaymentSubscription;
|
|
987
1124
|
createUSBankAccount: BankAccount;
|
|
988
1125
|
createUSVirtualDebitCard: VirtualCard;
|
|
989
|
-
createUser: User;
|
|
990
1126
|
createVirtualAccount: BridgeVirtualAccount;
|
|
1127
|
+
createWalletUser: Scalars['Boolean']['output'];
|
|
1128
|
+
deleteAuthenticatedWallet: Scalars['Boolean']['output'];
|
|
991
1129
|
deletePayableAccount: PayableAccount;
|
|
992
|
-
deleteSubscription: Scalars['Boolean']['output'];
|
|
993
1130
|
disableUser?: Maybe<Verification>;
|
|
994
1131
|
dismissItem: Scalars['Boolean']['output'];
|
|
995
|
-
flushBalances: Array<TokenBalance>;
|
|
996
1132
|
forcePayment: Payment;
|
|
997
1133
|
forceStrictVerification?: Maybe<Verification>;
|
|
998
1134
|
forceStrictVerificationUser?: Maybe<Verification>;
|
|
1135
|
+
getAuthenticatedWalletChallenge: AuthenticatedWalletChallenge;
|
|
1136
|
+
getBridgePlaidToken: Scalars['String']['output'];
|
|
999
1137
|
getKycLinkToken: Scalars['String']['output'];
|
|
1000
1138
|
grantCredit: RewardTransaction;
|
|
1001
1139
|
initializeDirectPayment: Scalars['Boolean']['output'];
|
|
@@ -1014,13 +1152,13 @@ export type Mutation = {
|
|
|
1014
1152
|
renamePayableAccount: PayableAccount;
|
|
1015
1153
|
requestAccountDeletion: Scalars['Boolean']['output'];
|
|
1016
1154
|
requestBankAccountVerification: Scalars['Boolean']['output'];
|
|
1155
|
+
requestEmailChange: Scalars['String']['output'];
|
|
1017
1156
|
requestUnblockOTP: Scalars['Boolean']['output'];
|
|
1018
1157
|
resetEntity: Scalars['Boolean']['output'];
|
|
1019
1158
|
restartFlow: Verification;
|
|
1020
1159
|
resubmitEntityVerification: Scalars['Boolean']['output'];
|
|
1021
1160
|
resyncBridgeUser: BridgeUser;
|
|
1022
1161
|
retryFailedVerification: Verification;
|
|
1023
|
-
retrySubscriptionCharge: Scalars['Boolean']['output'];
|
|
1024
1162
|
revokeApiToken: Scalars['Boolean']['output'];
|
|
1025
1163
|
revokeCredit: RewardTransaction;
|
|
1026
1164
|
scheduleSendSetupReminder: Scalars['Boolean']['output'];
|
|
@@ -1055,6 +1193,10 @@ export type Mutation = {
|
|
|
1055
1193
|
export type MutationAddAssociatedWalletArgs = {
|
|
1056
1194
|
address: Scalars['String']['input'];
|
|
1057
1195
|
};
|
|
1196
|
+
export type MutationAddBicToIbanAccountArgs = {
|
|
1197
|
+
accountId: Scalars['String']['input'];
|
|
1198
|
+
bic: Scalars['String']['input'];
|
|
1199
|
+
};
|
|
1058
1200
|
export type MutationAddSignupCodeArgs = {
|
|
1059
1201
|
identifiers?: InputMaybe<AdIdentifierInput>;
|
|
1060
1202
|
signupCode: Scalars['String']['input'];
|
|
@@ -1115,6 +1257,10 @@ export type MutationCheckbookSetReleaseDateArgs = {
|
|
|
1115
1257
|
paymentId: Scalars['String']['input'];
|
|
1116
1258
|
releaseDate?: InputMaybe<Scalars['String']['input']>;
|
|
1117
1259
|
};
|
|
1260
|
+
export type MutationConfirmEmailChangeArgs = {
|
|
1261
|
+
otp: Scalars['String']['input'];
|
|
1262
|
+
sessionId: Scalars['String']['input'];
|
|
1263
|
+
};
|
|
1118
1264
|
export type MutationCreateApiTokenForArgs = {
|
|
1119
1265
|
integratorId?: InputMaybe<Scalars['String']['input']>;
|
|
1120
1266
|
userId: Scalars['String']['input'];
|
|
@@ -1122,6 +1268,9 @@ export type MutationCreateApiTokenForArgs = {
|
|
|
1122
1268
|
export type MutationCreateBankAccountArgs = {
|
|
1123
1269
|
createAccountInput: BankAccountInput;
|
|
1124
1270
|
};
|
|
1271
|
+
export type MutationCreateBridgeOffRampTransferArgs = {
|
|
1272
|
+
createBridgeOffRampTransferInput: CreateBridgeOffRampTransferInput;
|
|
1273
|
+
};
|
|
1125
1274
|
export type MutationCreateDebitCardArgs = {
|
|
1126
1275
|
createDebitCardInput: DebitCardInput;
|
|
1127
1276
|
};
|
|
@@ -1131,6 +1280,10 @@ export type MutationCreateDigitalPaymentAccountArgs = {
|
|
|
1131
1280
|
export type MutationCreateDirectPaymentArgs = {
|
|
1132
1281
|
createDirectPaymentInput: CreateDirectPaymentInput;
|
|
1133
1282
|
};
|
|
1283
|
+
export type MutationCreateExternalBankAccountArgs = {
|
|
1284
|
+
accountId: Scalars['String']['input'];
|
|
1285
|
+
input: ExternalBankAccountInput;
|
|
1286
|
+
};
|
|
1134
1287
|
export type MutationCreateIntegrationTokenArgs = {
|
|
1135
1288
|
integratorId: Scalars['String']['input'];
|
|
1136
1289
|
};
|
|
@@ -1141,37 +1294,30 @@ export type MutationCreateIntegratorArgs = {
|
|
|
1141
1294
|
export type MutationCreateOnrampPaymentArgs = {
|
|
1142
1295
|
createOnrampPaymentInput: CreateOnrampPaymentInput;
|
|
1143
1296
|
};
|
|
1144
|
-
export type MutationCreateSubscriptionArgs = {
|
|
1145
|
-
createSubscriptionInput: CreateSubscriptionInput;
|
|
1146
|
-
signatureParams?: InputMaybe<SignatureParamsInput>;
|
|
1147
|
-
};
|
|
1148
1297
|
export type MutationCreateUsBankAccountArgs = {
|
|
1149
1298
|
createUSAccountInput: UsBankAccountInput;
|
|
1150
1299
|
};
|
|
1151
1300
|
export type MutationCreateUsVirtualDebitCardArgs = {
|
|
1152
1301
|
nickname?: InputMaybe<Scalars['String']['input']>;
|
|
1153
1302
|
};
|
|
1154
|
-
export type MutationCreateUserArgs = {
|
|
1155
|
-
createUser: CreateUserInput;
|
|
1156
|
-
};
|
|
1157
1303
|
export type MutationCreateVirtualAccountArgs = {
|
|
1158
1304
|
createBridgeVirtualAccountInput: CreateBridgeVirtualAccountInput;
|
|
1159
1305
|
};
|
|
1306
|
+
export type MutationCreateWalletUserArgs = {
|
|
1307
|
+
challenge: Scalars['String']['input'];
|
|
1308
|
+
};
|
|
1309
|
+
export type MutationDeleteAuthenticatedWalletArgs = {
|
|
1310
|
+
id: Scalars['String']['input'];
|
|
1311
|
+
};
|
|
1160
1312
|
export type MutationDeletePayableAccountArgs = {
|
|
1161
1313
|
accountId: Scalars['String']['input'];
|
|
1162
1314
|
};
|
|
1163
|
-
export type MutationDeleteSubscriptionArgs = {
|
|
1164
|
-
subscriptionId: Scalars['String']['input'];
|
|
1165
|
-
};
|
|
1166
1315
|
export type MutationDisableUserArgs = {
|
|
1167
1316
|
userId: Scalars['String']['input'];
|
|
1168
1317
|
};
|
|
1169
1318
|
export type MutationDismissItemArgs = {
|
|
1170
1319
|
property: Scalars['String']['input'];
|
|
1171
1320
|
};
|
|
1172
|
-
export type MutationFlushBalancesArgs = {
|
|
1173
|
-
addresses: Array<Scalars['String']['input']>;
|
|
1174
|
-
};
|
|
1175
1321
|
export type MutationForcePaymentArgs = {
|
|
1176
1322
|
paymentId: Scalars['String']['input'];
|
|
1177
1323
|
};
|
|
@@ -1182,6 +1328,9 @@ export type MutationForceStrictVerificationArgs = {
|
|
|
1182
1328
|
export type MutationForceStrictVerificationUserArgs = {
|
|
1183
1329
|
verificationType?: InputMaybe<Scalars['String']['input']>;
|
|
1184
1330
|
};
|
|
1331
|
+
export type MutationGetAuthenticatedWalletChallengeArgs = {
|
|
1332
|
+
address: Scalars['String']['input'];
|
|
1333
|
+
};
|
|
1185
1334
|
export type MutationGrantCreditArgs = {
|
|
1186
1335
|
amount: Scalars['Float']['input'];
|
|
1187
1336
|
category?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -1239,6 +1388,9 @@ export type MutationRequestAccountDeletionArgs = {
|
|
|
1239
1388
|
export type MutationRequestBankAccountVerificationArgs = {
|
|
1240
1389
|
accountId: Scalars['String']['input'];
|
|
1241
1390
|
};
|
|
1391
|
+
export type MutationRequestEmailChangeArgs = {
|
|
1392
|
+
email: Scalars['String']['input'];
|
|
1393
|
+
};
|
|
1242
1394
|
export type MutationResetEntityArgs = {
|
|
1243
1395
|
userId: Scalars['String']['input'];
|
|
1244
1396
|
};
|
|
@@ -1249,9 +1401,6 @@ export type MutationRestartFlowArgs = {
|
|
|
1249
1401
|
export type MutationResubmitEntityVerificationArgs = {
|
|
1250
1402
|
userId: Scalars['String']['input'];
|
|
1251
1403
|
};
|
|
1252
|
-
export type MutationRetrySubscriptionChargeArgs = {
|
|
1253
|
-
subscriptionId: Scalars['String']['input'];
|
|
1254
|
-
};
|
|
1255
1404
|
export type MutationRevokeApiTokenArgs = {
|
|
1256
1405
|
token: Scalars['String']['input'];
|
|
1257
1406
|
};
|
|
@@ -1380,19 +1529,34 @@ export type OnRampPayment = {
|
|
|
1380
1529
|
token: Scalars['String']['output'];
|
|
1381
1530
|
totalAmount: Scalars['Float']['output'];
|
|
1382
1531
|
transactionHash?: Maybe<Scalars['String']['output']>;
|
|
1383
|
-
userId: Scalars['
|
|
1384
|
-
virtualAccountId?: Maybe<Scalars['
|
|
1532
|
+
userId: Scalars['String']['output'];
|
|
1533
|
+
virtualAccountId?: Maybe<Scalars['String']['output']>;
|
|
1534
|
+
};
|
|
1535
|
+
export type OnRampTransferSimulationResult = {
|
|
1536
|
+
__typename?: 'OnRampTransferSimulationResult';
|
|
1537
|
+
destinationAmount: Scalars['Float']['output'];
|
|
1538
|
+
destinationAmountAfterFees: Scalars['Float']['output'];
|
|
1539
|
+
destinationCurrency: Scalars['String']['output'];
|
|
1540
|
+
destinationFee: Scalars['Float']['output'];
|
|
1541
|
+
exchangeRate?: Maybe<Scalars['Float']['output']>;
|
|
1542
|
+
sourceAmount: Scalars['Float']['output'];
|
|
1543
|
+
sourceAmountAfterFees: Scalars['Float']['output'];
|
|
1544
|
+
sourceCurrency: Scalars['String']['output'];
|
|
1545
|
+
sourceFee: Scalars['Float']['output'];
|
|
1385
1546
|
};
|
|
1386
1547
|
export type OnrampPaymentDepositInstructions = {
|
|
1387
1548
|
__typename?: 'OnrampPaymentDepositInstructions';
|
|
1549
|
+
accountHolderName?: Maybe<Scalars['String']['output']>;
|
|
1388
1550
|
amount: Scalars['Float']['output'];
|
|
1389
1551
|
bankAccountNumber: Scalars['String']['output'];
|
|
1390
1552
|
bankAddress: Scalars['String']['output'];
|
|
1391
1553
|
bankBeneficiaryName: Scalars['String']['output'];
|
|
1392
1554
|
bankName: Scalars['String']['output'];
|
|
1393
1555
|
bankRoutingNumber: Scalars['String']['output'];
|
|
1556
|
+
bic?: Maybe<Scalars['String']['output']>;
|
|
1394
1557
|
currency: Scalars['String']['output'];
|
|
1395
1558
|
depositMessage: Scalars['String']['output'];
|
|
1559
|
+
iban?: Maybe<Scalars['String']['output']>;
|
|
1396
1560
|
paymentMethod: Scalars['String']['output'];
|
|
1397
1561
|
};
|
|
1398
1562
|
export declare enum OnrampPaymentStatus {
|
|
@@ -1401,7 +1565,9 @@ export declare enum OnrampPaymentStatus {
|
|
|
1401
1565
|
Completed = "COMPLETED",
|
|
1402
1566
|
Failed = "FAILED",
|
|
1403
1567
|
OnHold = "ON_HOLD",
|
|
1404
|
-
Pending = "PENDING"
|
|
1568
|
+
Pending = "PENDING",
|
|
1569
|
+
Refunded = "REFUNDED",
|
|
1570
|
+
Reversed = "REVERSED"
|
|
1405
1571
|
}
|
|
1406
1572
|
export type PaginatedPayment = {
|
|
1407
1573
|
__typename?: 'PaginatedPayment';
|
|
@@ -1453,6 +1619,7 @@ export type PayableAccount = {
|
|
|
1453
1619
|
externalId?: Maybe<Scalars['String']['output']>;
|
|
1454
1620
|
id: Scalars['ID']['output'];
|
|
1455
1621
|
institution?: Maybe<PayableAccountInstitution>;
|
|
1622
|
+
legacyExternalId?: Maybe<Scalars['String']['output']>;
|
|
1456
1623
|
mask?: Maybe<Scalars['String']['output']>;
|
|
1457
1624
|
name?: Maybe<Scalars['String']['output']>;
|
|
1458
1625
|
originalName?: Maybe<Scalars['String']['output']>;
|
|
@@ -1519,7 +1686,7 @@ export type Payment = {
|
|
|
1519
1686
|
targetCurrencyRate?: Maybe<Scalars['Float']['output']>;
|
|
1520
1687
|
targetCurrencyTransactionFee: Scalars['Float']['output'];
|
|
1521
1688
|
transaction?: Maybe<BlockchainTransaction>;
|
|
1522
|
-
type:
|
|
1689
|
+
type: PaymentType;
|
|
1523
1690
|
user: User;
|
|
1524
1691
|
userId: Scalars['ObjectID']['output'];
|
|
1525
1692
|
};
|
|
@@ -1544,6 +1711,7 @@ export type PaymentAsset = {
|
|
|
1544
1711
|
};
|
|
1545
1712
|
export declare enum PaymentDeliveryMethod {
|
|
1546
1713
|
Instant = "INSTANT",
|
|
1714
|
+
SameDay = "SAME_DAY",
|
|
1547
1715
|
Standard = "STANDARD"
|
|
1548
1716
|
}
|
|
1549
1717
|
export type PaymentEventToken = {
|
|
@@ -1576,8 +1744,10 @@ export type PaymentParams = {
|
|
|
1576
1744
|
value?: Maybe<Scalars['String']['output']>;
|
|
1577
1745
|
};
|
|
1578
1746
|
export declare enum PaymentProvider {
|
|
1747
|
+
Bridge = "BRIDGE",
|
|
1579
1748
|
Checkbook = "CHECKBOOK",
|
|
1580
1749
|
MethodFi = "METHOD_FI",
|
|
1750
|
+
Rain = "RAIN",
|
|
1581
1751
|
Unblock = "UNBLOCK"
|
|
1582
1752
|
}
|
|
1583
1753
|
export type PaymentRefund = {
|
|
@@ -1614,31 +1784,6 @@ export declare enum PaymentStatus {
|
|
|
1614
1784
|
Scheduled = "SCHEDULED",
|
|
1615
1785
|
Sent = "SENT"
|
|
1616
1786
|
}
|
|
1617
|
-
export type PaymentSubscription = {
|
|
1618
|
-
__typename?: 'PaymentSubscription';
|
|
1619
|
-
accountId: Scalars['ObjectID']['output'];
|
|
1620
|
-
amount?: Maybe<Scalars['Float']['output']>;
|
|
1621
|
-
blockchainSubscriptionId?: Maybe<Scalars['String']['output']>;
|
|
1622
|
-
error?: Maybe<SubscriptionError>;
|
|
1623
|
-
frequency: SubscriptionFrequency;
|
|
1624
|
-
frequencyValue: Scalars['Int']['output'];
|
|
1625
|
-
id: Scalars['ID']['output'];
|
|
1626
|
-
network: Scalars['String']['output'];
|
|
1627
|
-
nextSubscriptionDate?: Maybe<Scalars['DateTimeISO']['output']>;
|
|
1628
|
-
paymentToken?: Maybe<Scalars['String']['output']>;
|
|
1629
|
-
processing: Scalars['Boolean']['output'];
|
|
1630
|
-
provider: AccountProvider;
|
|
1631
|
-
signatureParams?: Maybe<SubscriptionSignatureParams>;
|
|
1632
|
-
signedMessage?: Maybe<Scalars['String']['output']>;
|
|
1633
|
-
startDate: Scalars['DateTimeISO']['output'];
|
|
1634
|
-
subscriptionCount: Scalars['Int']['output'];
|
|
1635
|
-
tokenSymbol?: Maybe<Scalars['String']['output']>;
|
|
1636
|
-
totalPayments: Scalars['Int']['output'];
|
|
1637
|
-
type: SubscriptionType;
|
|
1638
|
-
user: User;
|
|
1639
|
-
userId: Scalars['ObjectID']['output'];
|
|
1640
|
-
walletAddress?: Maybe<Scalars['String']['output']>;
|
|
1641
|
-
};
|
|
1642
1787
|
export declare enum PaymentType {
|
|
1643
1788
|
DirectPayment = "DIRECT_PAYMENT",
|
|
1644
1789
|
ExternalPayment = "EXTERNAL_PAYMENT",
|
|
@@ -1685,16 +1830,22 @@ export type Query = {
|
|
|
1685
1830
|
adminUtxoInvoices: Array<UtxoInvoice>;
|
|
1686
1831
|
adminVirtualAccounts: Array<BridgeVirtualAccount>;
|
|
1687
1832
|
apiTokens: Array<ApiToken>;
|
|
1833
|
+
authenticatedWallets: Array<AuthenticatedWallet>;
|
|
1688
1834
|
bankAccounts: Array<BankAccount>;
|
|
1689
1835
|
bills: Array<Bill>;
|
|
1690
1836
|
brexBalance: BrexBalance;
|
|
1837
|
+
bridgeExternalAccounts: Array<BridgeExternalAccount>;
|
|
1838
|
+
bridgeTransfer?: Maybe<BridgeTransfer>;
|
|
1839
|
+
bridgeTransfers: Array<BridgeTransfer>;
|
|
1691
1840
|
bridgeUser: BridgeUser;
|
|
1692
1841
|
btcCashValue: UtxoBalance;
|
|
1693
1842
|
checkPayment?: Maybe<UtxoInvoice>;
|
|
1694
1843
|
checkbookBatchSize: Scalars['Float']['output'];
|
|
1844
|
+
checkbookInstantBatchSize: Scalars['Float']['output'];
|
|
1695
1845
|
checkbookPrefundedAccountBalance?: Maybe<Scalars['Float']['output']>;
|
|
1696
1846
|
circleBalances: CircleBalances;
|
|
1697
1847
|
coinbaseBalance: Scalars['Float']['output'];
|
|
1848
|
+
coinbaseDetailedBalance: DetailedBalance;
|
|
1698
1849
|
cryptoExchangeRate: CryptoExchangeRate;
|
|
1699
1850
|
dashCashValue: UtxoBalance;
|
|
1700
1851
|
debitCards: Array<DebitCard>;
|
|
@@ -1703,11 +1854,14 @@ export type Query = {
|
|
|
1703
1854
|
/** @deprecated no longer in use */
|
|
1704
1855
|
directPayment?: Maybe<DirectPayment>;
|
|
1705
1856
|
directPayments: Array<DirectPayment>;
|
|
1857
|
+
embeddedWallets: Array<WalletAccount>;
|
|
1706
1858
|
encrypt: Scalars['String']['output'];
|
|
1707
1859
|
estimateTransactionInput: Scalars['Float']['output'];
|
|
1708
1860
|
exchangeRate: ExchangeRate;
|
|
1861
|
+
falconxDetailedBalance: DetailedBalance;
|
|
1709
1862
|
feeCalculator: FeeCalculation;
|
|
1710
1863
|
findByWalletAddress: Array<User>;
|
|
1864
|
+
frontendFlags: Array<FeatureFlagType>;
|
|
1711
1865
|
gasPrice?: Maybe<GasPrice>;
|
|
1712
1866
|
getMethodFiAuthToken?: Maybe<Scalars['String']['output']>;
|
|
1713
1867
|
getSpritzSourceAccount?: Maybe<MethodFiAccount>;
|
|
@@ -1762,9 +1916,10 @@ export type Query = {
|
|
|
1762
1916
|
scheduledPayments: Array<Payment>;
|
|
1763
1917
|
sdkConfig: Array<Scalars['String']['output']>;
|
|
1764
1918
|
searchUSBillInstitutions: Array<BillInstitution>;
|
|
1919
|
+
simulateBridgeOffRampTransfer: BridgeTransferSimulationResult;
|
|
1920
|
+
simulateOnrampTransfer: OnRampTransferSimulationResult;
|
|
1765
1921
|
solanaParams: SolanaParamsResponse;
|
|
1766
1922
|
spritzPayParams: PaymentParams;
|
|
1767
|
-
subscriptions: Array<PaymentSubscription>;
|
|
1768
1923
|
tokenBalances: Array<TokenBalance>;
|
|
1769
1924
|
totalTokenBalance: Scalars['Float']['output'];
|
|
1770
1925
|
transactionPrice: Scalars['Float']['output'];
|
|
@@ -1793,6 +1948,7 @@ export type Query = {
|
|
|
1793
1948
|
virtualCardDetails?: Maybe<Scalars['String']['output']>;
|
|
1794
1949
|
virtualDebitCard?: Maybe<VirtualCard>;
|
|
1795
1950
|
virtualDebitCards: Array<VirtualCard>;
|
|
1951
|
+
walletUser?: Maybe<WalletUser>;
|
|
1796
1952
|
};
|
|
1797
1953
|
export type QueryAdminBridgeUserArgs = {
|
|
1798
1954
|
userId: Scalars['String']['input'];
|
|
@@ -1838,6 +1994,9 @@ export type QueryAdminSyncBridgeUserArgs = {
|
|
|
1838
1994
|
export type QueryAdminVirtualAccountsArgs = {
|
|
1839
1995
|
userId: Scalars['String']['input'];
|
|
1840
1996
|
};
|
|
1997
|
+
export type QueryBridgeTransferArgs = {
|
|
1998
|
+
transferId: Scalars['String']['input'];
|
|
1999
|
+
};
|
|
1841
2000
|
export type QueryBtcCashValueArgs = {
|
|
1842
2001
|
address: Scalars['String']['input'];
|
|
1843
2002
|
};
|
|
@@ -1847,6 +2006,9 @@ export type QueryCheckPaymentArgs = {
|
|
|
1847
2006
|
export type QueryCheckbookBatchSizeArgs = {
|
|
1848
2007
|
currency?: InputMaybe<Scalars['String']['input']>;
|
|
1849
2008
|
};
|
|
2009
|
+
export type QueryCheckbookInstantBatchSizeArgs = {
|
|
2010
|
+
currency?: InputMaybe<Scalars['String']['input']>;
|
|
2011
|
+
};
|
|
1850
2012
|
export type QueryCheckbookPrefundedAccountBalanceArgs = {
|
|
1851
2013
|
currency?: InputMaybe<Scalars['String']['input']>;
|
|
1852
2014
|
};
|
|
@@ -1964,6 +2126,14 @@ export type QuerySearchUsBillInstitutionsArgs = {
|
|
|
1964
2126
|
billType?: InputMaybe<BillType>;
|
|
1965
2127
|
searchTerm: Scalars['String']['input'];
|
|
1966
2128
|
};
|
|
2129
|
+
export type QuerySimulateBridgeOffRampTransferArgs = {
|
|
2130
|
+
amount: Scalars['Float']['input'];
|
|
2131
|
+
paymentRail: BridgeTransferOffRampPaymentRail;
|
|
2132
|
+
};
|
|
2133
|
+
export type QuerySimulateOnrampTransferArgs = {
|
|
2134
|
+
amount: Scalars['Float']['input'];
|
|
2135
|
+
paymentMethod: Scalars['String']['input'];
|
|
2136
|
+
};
|
|
1967
2137
|
export type QuerySolanaParamsArgs = {
|
|
1968
2138
|
amount: Scalars['Float']['input'];
|
|
1969
2139
|
reference: Scalars['String']['input'];
|
|
@@ -2180,15 +2350,6 @@ export type SetUserPricingInput = {
|
|
|
2180
2350
|
flatFee: Scalars['Float']['input'];
|
|
2181
2351
|
userId: Scalars['String']['input'];
|
|
2182
2352
|
};
|
|
2183
|
-
export type SignatureParamsInput = {
|
|
2184
|
-
cadence: Scalars['Int']['input'];
|
|
2185
|
-
paymentAmountMax: Scalars['String']['input'];
|
|
2186
|
-
paymentReference: Scalars['String']['input'];
|
|
2187
|
-
paymentToken: Scalars['String']['input'];
|
|
2188
|
-
startTime: Scalars['Float']['input'];
|
|
2189
|
-
subscriptionType: Scalars['Int']['input'];
|
|
2190
|
-
totalPayments: Scalars['Float']['input'];
|
|
2191
|
-
};
|
|
2192
2353
|
export type SimpleCardTransaction = {
|
|
2193
2354
|
__typename?: 'SimpleCardTransaction';
|
|
2194
2355
|
amount: Scalars['Float']['output'];
|
|
@@ -2210,36 +2371,6 @@ export type StatusLogEntry = {
|
|
|
2210
2371
|
note?: Maybe<Scalars['String']['output']>;
|
|
2211
2372
|
status: ModuleStatus;
|
|
2212
2373
|
};
|
|
2213
|
-
export type SubscriptionError = {
|
|
2214
|
-
__typename?: 'SubscriptionError';
|
|
2215
|
-
nextRetry?: Maybe<Scalars['DateTimeISO']['output']>;
|
|
2216
|
-
retryCount: Scalars['Float']['output'];
|
|
2217
|
-
type: SubscriptionErrorType;
|
|
2218
|
-
};
|
|
2219
|
-
export declare enum SubscriptionErrorType {
|
|
2220
|
-
Allowance = "ALLOWANCE",
|
|
2221
|
-
Balance = "BALANCE",
|
|
2222
|
-
Transaction = "TRANSACTION"
|
|
2223
|
-
}
|
|
2224
|
-
export declare enum SubscriptionFrequency {
|
|
2225
|
-
Daily = "DAILY",
|
|
2226
|
-
Monthly = "MONTHLY",
|
|
2227
|
-
Weekly = "WEEKLY"
|
|
2228
|
-
}
|
|
2229
|
-
export type SubscriptionSignatureParams = {
|
|
2230
|
-
__typename?: 'SubscriptionSignatureParams';
|
|
2231
|
-
cadence: Scalars['Int']['output'];
|
|
2232
|
-
paymentAmountMax: Scalars['String']['output'];
|
|
2233
|
-
paymentReference: Scalars['String']['output'];
|
|
2234
|
-
paymentToken: Scalars['String']['output'];
|
|
2235
|
-
startTime: Scalars['Float']['output'];
|
|
2236
|
-
subscriptionType: Scalars['Int']['output'];
|
|
2237
|
-
totalPayments: Scalars['Float']['output'];
|
|
2238
|
-
};
|
|
2239
|
-
export declare enum SubscriptionType {
|
|
2240
|
-
Autopay = "AUTOPAY",
|
|
2241
|
-
Reminder = "REMINDER"
|
|
2242
|
-
}
|
|
2243
2374
|
export type SwapTransaction = {
|
|
2244
2375
|
__typename?: 'SwapTransaction';
|
|
2245
2376
|
address: Scalars['String']['output'];
|
|
@@ -2279,10 +2410,11 @@ export type TokenBalance = {
|
|
|
2279
2410
|
balance: Scalars['Float']['output'];
|
|
2280
2411
|
balanceRaw: Scalars['String']['output'];
|
|
2281
2412
|
balanceUSD: Scalars['Float']['output'];
|
|
2282
|
-
coinGeckoId
|
|
2413
|
+
coinGeckoId?: Maybe<Scalars['String']['output']>;
|
|
2283
2414
|
/** ERC20 decimals */
|
|
2284
|
-
decimals: Scalars['
|
|
2415
|
+
decimals: Scalars['Int']['output'];
|
|
2285
2416
|
name: Scalars['String']['output'];
|
|
2417
|
+
/** Network */
|
|
2286
2418
|
network: Scalars['String']['output'];
|
|
2287
2419
|
price: Scalars['Float']['output'];
|
|
2288
2420
|
symbol: Scalars['String']['output'];
|
|
@@ -2554,6 +2686,8 @@ export type VirtualCard = PayableAccount & {
|
|
|
2554
2686
|
externalId?: Maybe<Scalars['String']['output']>;
|
|
2555
2687
|
id: Scalars['ID']['output'];
|
|
2556
2688
|
institution?: Maybe<PayableAccountInstitution>;
|
|
2689
|
+
legacyCard: Scalars['Boolean']['output'];
|
|
2690
|
+
legacyExternalId?: Maybe<Scalars['String']['output']>;
|
|
2557
2691
|
mask?: Maybe<Scalars['String']['output']>;
|
|
2558
2692
|
name?: Maybe<Scalars['String']['output']>;
|
|
2559
2693
|
originalName?: Maybe<Scalars['String']['output']>;
|
|
@@ -2580,3 +2714,25 @@ export type VirtualCardModule = {
|
|
|
2580
2714
|
export declare enum VirtualCardType {
|
|
2581
2715
|
UsVirtualDebitCard = "USVirtualDebitCard"
|
|
2582
2716
|
}
|
|
2717
|
+
export type WalletAccount = {
|
|
2718
|
+
__typename?: 'WalletAccount';
|
|
2719
|
+
address: Scalars['String']['output'];
|
|
2720
|
+
addressFormat: Scalars['String']['output'];
|
|
2721
|
+
createdAt: Scalars['DateTimeISO']['output'];
|
|
2722
|
+
curve: Scalars['String']['output'];
|
|
2723
|
+
externalId: Scalars['String']['output'];
|
|
2724
|
+
id: Scalars['ID']['output'];
|
|
2725
|
+
organizationId: Scalars['String']['output'];
|
|
2726
|
+
path: Scalars['String']['output'];
|
|
2727
|
+
pathFormat: Scalars['String']['output'];
|
|
2728
|
+
userId: Scalars['String']['output'];
|
|
2729
|
+
walletId: Scalars['String']['output'];
|
|
2730
|
+
};
|
|
2731
|
+
export type WalletUser = {
|
|
2732
|
+
__typename?: 'WalletUser';
|
|
2733
|
+
createdAt: Scalars['DateTimeISO']['output'];
|
|
2734
|
+
externalId: Scalars['String']['output'];
|
|
2735
|
+
externalUserId: Scalars['String']['output'];
|
|
2736
|
+
id: Scalars['ID']['output'];
|
|
2737
|
+
userId: Scalars['String']['output'];
|
|
2738
|
+
};
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.VirtualCardType = exports.UtxoInvoiceStatus = exports.
|
|
3
|
+
exports.VirtualCardType = exports.UtxoInvoiceStatus = exports.RewardTransactionType = exports.RewardProvider = exports.RewardCreditSource = exports.ReferralTier = exports.ReferralStatus = exports.ReferralRewardType = exports.ReferralProgramStatus = exports.ReferralProgramEligibility = exports.ReferralClubStatus = exports.PaymentType = exports.PaymentStatus = exports.PaymentSource = exports.PaymentProvider = exports.PaymentDeliveryMethod = exports.PayableAccountType = exports.PayableAccountOriginator = exports.OnrampPaymentStatus = exports.Network = exports.ModuleStatus = exports.DirectPaymentTransactionReferenceStatus = exports.DirectPaymentStatus = exports.DigitalAccountType = exports.DebitCardNetwork = exports.BridgeTransferState = exports.BridgeTransferOffRampPaymentRail = exports.BridgeNetwork = exports.BillType = exports.BasicPayableAccountType = exports.BankAccountType = exports.BankAccountSubType = exports.BankAccountPaymentType = exports.AppDomain = exports.AccountSyncStatus = exports.AccountProvider = void 0;
|
|
4
4
|
var AccountProvider;
|
|
5
5
|
(function (AccountProvider) {
|
|
6
|
+
AccountProvider["Bridge"] = "BRIDGE";
|
|
6
7
|
AccountProvider["Checkbook"] = "CHECKBOOK";
|
|
7
8
|
AccountProvider["MethodFi"] = "METHOD_FI";
|
|
9
|
+
AccountProvider["Rain"] = "RAIN";
|
|
8
10
|
AccountProvider["Unblock"] = "UNBLOCK";
|
|
9
11
|
})(AccountProvider || (exports.AccountProvider = AccountProvider = {}));
|
|
10
12
|
var AccountSyncStatus;
|
|
@@ -58,19 +60,38 @@ var BillType;
|
|
|
58
60
|
BillType["Unknown"] = "Unknown";
|
|
59
61
|
BillType["Utility"] = "Utility";
|
|
60
62
|
})(BillType || (exports.BillType = BillType = {}));
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
})(
|
|
63
|
+
/** Bridge supported networks. */
|
|
64
|
+
var BridgeNetwork;
|
|
65
|
+
(function (BridgeNetwork) {
|
|
66
|
+
BridgeNetwork["Arbitrum"] = "ARBITRUM";
|
|
67
|
+
BridgeNetwork["Avalanche"] = "AVALANCHE";
|
|
68
|
+
BridgeNetwork["Base"] = "BASE";
|
|
69
|
+
BridgeNetwork["Ethereum"] = "ETHEREUM";
|
|
70
|
+
BridgeNetwork["Optimism"] = "OPTIMISM";
|
|
71
|
+
BridgeNetwork["Polygon"] = "POLYGON";
|
|
72
|
+
BridgeNetwork["Solana"] = "SOLANA";
|
|
73
|
+
BridgeNetwork["Stellar"] = "STELLAR";
|
|
74
|
+
BridgeNetwork["Tron"] = "TRON";
|
|
75
|
+
})(BridgeNetwork || (exports.BridgeNetwork = BridgeNetwork = {}));
|
|
76
|
+
var BridgeTransferOffRampPaymentRail;
|
|
77
|
+
(function (BridgeTransferOffRampPaymentRail) {
|
|
78
|
+
BridgeTransferOffRampPaymentRail["Ach"] = "ACH";
|
|
79
|
+
BridgeTransferOffRampPaymentRail["AchSameDay"] = "ACH_SAME_DAY";
|
|
80
|
+
BridgeTransferOffRampPaymentRail["Sepa"] = "SEPA";
|
|
81
|
+
BridgeTransferOffRampPaymentRail["Wire"] = "WIRE";
|
|
82
|
+
})(BridgeTransferOffRampPaymentRail || (exports.BridgeTransferOffRampPaymentRail = BridgeTransferOffRampPaymentRail = {}));
|
|
83
|
+
var BridgeTransferState;
|
|
84
|
+
(function (BridgeTransferState) {
|
|
85
|
+
BridgeTransferState["AwaitingFunds"] = "AWAITING_FUNDS";
|
|
86
|
+
BridgeTransferState["Cancelled"] = "CANCELLED";
|
|
87
|
+
BridgeTransferState["Error"] = "ERROR";
|
|
88
|
+
BridgeTransferState["FundsReceived"] = "FUNDS_RECEIVED";
|
|
89
|
+
BridgeTransferState["InReview"] = "IN_REVIEW";
|
|
90
|
+
BridgeTransferState["PaymentProcessed"] = "PAYMENT_PROCESSED";
|
|
91
|
+
BridgeTransferState["PaymentSubmitted"] = "PAYMENT_SUBMITTED";
|
|
92
|
+
BridgeTransferState["Refunded"] = "REFUNDED";
|
|
93
|
+
BridgeTransferState["Returned"] = "RETURNED";
|
|
94
|
+
})(BridgeTransferState || (exports.BridgeTransferState = BridgeTransferState = {}));
|
|
74
95
|
var DebitCardNetwork;
|
|
75
96
|
(function (DebitCardNetwork) {
|
|
76
97
|
DebitCardNetwork["Mastercard"] = "Mastercard";
|
|
@@ -134,6 +155,8 @@ var OnrampPaymentStatus;
|
|
|
134
155
|
OnrampPaymentStatus["Failed"] = "FAILED";
|
|
135
156
|
OnrampPaymentStatus["OnHold"] = "ON_HOLD";
|
|
136
157
|
OnrampPaymentStatus["Pending"] = "PENDING";
|
|
158
|
+
OnrampPaymentStatus["Refunded"] = "REFUNDED";
|
|
159
|
+
OnrampPaymentStatus["Reversed"] = "REVERSED";
|
|
137
160
|
})(OnrampPaymentStatus || (exports.OnrampPaymentStatus = OnrampPaymentStatus = {}));
|
|
138
161
|
var PayableAccountOriginator;
|
|
139
162
|
(function (PayableAccountOriginator) {
|
|
@@ -151,12 +174,15 @@ var PayableAccountType;
|
|
|
151
174
|
var PaymentDeliveryMethod;
|
|
152
175
|
(function (PaymentDeliveryMethod) {
|
|
153
176
|
PaymentDeliveryMethod["Instant"] = "INSTANT";
|
|
177
|
+
PaymentDeliveryMethod["SameDay"] = "SAME_DAY";
|
|
154
178
|
PaymentDeliveryMethod["Standard"] = "STANDARD";
|
|
155
179
|
})(PaymentDeliveryMethod || (exports.PaymentDeliveryMethod = PaymentDeliveryMethod = {}));
|
|
156
180
|
var PaymentProvider;
|
|
157
181
|
(function (PaymentProvider) {
|
|
182
|
+
PaymentProvider["Bridge"] = "BRIDGE";
|
|
158
183
|
PaymentProvider["Checkbook"] = "CHECKBOOK";
|
|
159
184
|
PaymentProvider["MethodFi"] = "METHOD_FI";
|
|
185
|
+
PaymentProvider["Rain"] = "RAIN";
|
|
160
186
|
PaymentProvider["Unblock"] = "UNBLOCK";
|
|
161
187
|
})(PaymentProvider || (exports.PaymentProvider = PaymentProvider = {}));
|
|
162
188
|
var PaymentSource;
|
|
@@ -254,23 +280,6 @@ var RewardTransactionType;
|
|
|
254
280
|
RewardTransactionType["Credit"] = "CREDIT";
|
|
255
281
|
RewardTransactionType["Debit"] = "DEBIT";
|
|
256
282
|
})(RewardTransactionType || (exports.RewardTransactionType = RewardTransactionType = {}));
|
|
257
|
-
var SubscriptionErrorType;
|
|
258
|
-
(function (SubscriptionErrorType) {
|
|
259
|
-
SubscriptionErrorType["Allowance"] = "ALLOWANCE";
|
|
260
|
-
SubscriptionErrorType["Balance"] = "BALANCE";
|
|
261
|
-
SubscriptionErrorType["Transaction"] = "TRANSACTION";
|
|
262
|
-
})(SubscriptionErrorType || (exports.SubscriptionErrorType = SubscriptionErrorType = {}));
|
|
263
|
-
var SubscriptionFrequency;
|
|
264
|
-
(function (SubscriptionFrequency) {
|
|
265
|
-
SubscriptionFrequency["Daily"] = "DAILY";
|
|
266
|
-
SubscriptionFrequency["Monthly"] = "MONTHLY";
|
|
267
|
-
SubscriptionFrequency["Weekly"] = "WEEKLY";
|
|
268
|
-
})(SubscriptionFrequency || (exports.SubscriptionFrequency = SubscriptionFrequency = {}));
|
|
269
|
-
var SubscriptionType;
|
|
270
|
-
(function (SubscriptionType) {
|
|
271
|
-
SubscriptionType["Autopay"] = "AUTOPAY";
|
|
272
|
-
SubscriptionType["Reminder"] = "REMINDER";
|
|
273
|
-
})(SubscriptionType || (exports.SubscriptionType = SubscriptionType = {}));
|
|
274
283
|
var UtxoInvoiceStatus;
|
|
275
284
|
(function (UtxoInvoiceStatus) {
|
|
276
285
|
UtxoInvoiceStatus["Confirmed"] = "CONFIRMED";
|