@spritz-finance/service-client 0.2.85 → 0.2.86
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.
|
@@ -86,7 +86,6 @@ export type Address = {
|
|
|
86
86
|
export type AdminIssuePaymentInput = {
|
|
87
87
|
accountId: Scalars['String']['input'];
|
|
88
88
|
amount: Scalars['Float']['input'];
|
|
89
|
-
paymentProvider: PaymentProvider;
|
|
90
89
|
userId: Scalars['String']['input'];
|
|
91
90
|
};
|
|
92
91
|
export type ApiToken = {
|
|
@@ -214,6 +213,7 @@ export type BasicPayableAccount = {
|
|
|
214
213
|
export declare enum BasicPayableAccountType {
|
|
215
214
|
BankAccount = "BANK_ACCOUNT",
|
|
216
215
|
Bill = "BILL",
|
|
216
|
+
DebitCard = "DEBIT_CARD",
|
|
217
217
|
PayOthers = "PAY_OTHERS",
|
|
218
218
|
SpritzCard = "SPRITZ_CARD"
|
|
219
219
|
}
|
|
@@ -310,6 +310,20 @@ export type BridgeUser = {
|
|
|
310
310
|
type?: Maybe<Scalars['String']['output']>;
|
|
311
311
|
userId: Scalars['ObjectID']['output'];
|
|
312
312
|
};
|
|
313
|
+
export type BridgeVirtualAccount = {
|
|
314
|
+
__typename?: 'BridgeVirtualAccount';
|
|
315
|
+
address: Scalars['String']['output'];
|
|
316
|
+
createdAt: Scalars['DateTimeISO']['output'];
|
|
317
|
+
currency: Scalars['String']['output'];
|
|
318
|
+
depositInstructions?: Maybe<VirtualAccountDepositInstructions>;
|
|
319
|
+
deposited: Scalars['Boolean']['output'];
|
|
320
|
+
externalId: Scalars['String']['output'];
|
|
321
|
+
id: Scalars['ID']['output'];
|
|
322
|
+
microdeposits?: Maybe<Array<Scalars['Float']['output']>>;
|
|
323
|
+
network: Scalars['String']['output'];
|
|
324
|
+
token: Scalars['String']['output'];
|
|
325
|
+
userId: Scalars['ObjectID']['output'];
|
|
326
|
+
};
|
|
313
327
|
export type BusinessIdentity = {
|
|
314
328
|
__typename?: 'BusinessIdentity';
|
|
315
329
|
address?: Maybe<Address>;
|
|
@@ -411,6 +425,11 @@ export type CognitoKycFlowTemplate = {
|
|
|
411
425
|
id: Scalars['ID']['output'];
|
|
412
426
|
version: Scalars['Int']['output'];
|
|
413
427
|
};
|
|
428
|
+
export type CreateBridgeVirtualAccountInput = {
|
|
429
|
+
address: Scalars['String']['input'];
|
|
430
|
+
network: Scalars['String']['input'];
|
|
431
|
+
token: Scalars['String']['input'];
|
|
432
|
+
};
|
|
414
433
|
export type CreateDirectPaymentInput = {
|
|
415
434
|
accountId: Scalars['String']['input'];
|
|
416
435
|
amount: Scalars['Float']['input'];
|
|
@@ -477,6 +496,7 @@ export type DebitCard = PayableAccount & {
|
|
|
477
496
|
originalName?: Maybe<Scalars['String']['output']>;
|
|
478
497
|
originator: PayableAccountOriginator;
|
|
479
498
|
payable: Scalars['Boolean']['output'];
|
|
499
|
+
paymentAddresses: Array<PaymentAddress>;
|
|
480
500
|
paymentCount: Scalars['Int']['output'];
|
|
481
501
|
paymentVolume: Scalars['Float']['output'];
|
|
482
502
|
provider: Scalars['String']['output'];
|
|
@@ -568,6 +588,10 @@ export declare enum DirectPaymentTransactionReferenceStatus {
|
|
|
568
588
|
Confirmed = "CONFIRMED",
|
|
569
589
|
Pending = "PENDING"
|
|
570
590
|
}
|
|
591
|
+
export type DismissedItems = {
|
|
592
|
+
__typename?: 'DismissedItems';
|
|
593
|
+
onboardingChecklist?: Maybe<Scalars['DateTimeISO']['output']>;
|
|
594
|
+
};
|
|
571
595
|
export type ExchangeRate = {
|
|
572
596
|
__typename?: 'ExchangeRate';
|
|
573
597
|
base: Scalars['String']['output'];
|
|
@@ -859,10 +883,12 @@ export type Mutation = {
|
|
|
859
883
|
createUSBankAccount: BankAccount;
|
|
860
884
|
createUSVirtualDebitCard: VirtualCard;
|
|
861
885
|
createUser: User;
|
|
886
|
+
createVirtualAccount: BridgeVirtualAccount;
|
|
862
887
|
deleteDirectPayment: Scalars['Boolean']['output'];
|
|
863
888
|
deletePayableAccount: PayableAccount;
|
|
864
889
|
deleteSubscription: Scalars['Boolean']['output'];
|
|
865
890
|
disableUser?: Maybe<Verification>;
|
|
891
|
+
dismissItem: Scalars['Boolean']['output'];
|
|
866
892
|
finishBridgeUserSetup: BridgeUser;
|
|
867
893
|
flushBalances: Array<TokenBalance>;
|
|
868
894
|
forcePayment: Payment;
|
|
@@ -874,6 +900,8 @@ export type Mutation = {
|
|
|
874
900
|
markNotificationAsRead?: Maybe<UserNotification>;
|
|
875
901
|
methodFiUpdateSSN: MethodFiEntity;
|
|
876
902
|
moveMoney: Scalars['Boolean']['output'];
|
|
903
|
+
paymentAddressForceWithdrawal: Scalars['String']['output'];
|
|
904
|
+
paymentAddressRescueNative: Scalars['String']['output'];
|
|
877
905
|
refreshEntities: Scalars['Boolean']['output'];
|
|
878
906
|
refundPayment: Payment;
|
|
879
907
|
refundPaymentWithCredits: Payment;
|
|
@@ -997,6 +1025,9 @@ export type MutationCreateUsVirtualDebitCardArgs = {
|
|
|
997
1025
|
export type MutationCreateUserArgs = {
|
|
998
1026
|
createUser: CreateUserInput;
|
|
999
1027
|
};
|
|
1028
|
+
export type MutationCreateVirtualAccountArgs = {
|
|
1029
|
+
createBridgeVirtualAccountInput: CreateBridgeVirtualAccountInput;
|
|
1030
|
+
};
|
|
1000
1031
|
export type MutationDeleteDirectPaymentArgs = {
|
|
1001
1032
|
directPaymentId: Scalars['String']['input'];
|
|
1002
1033
|
};
|
|
@@ -1009,6 +1040,9 @@ export type MutationDeleteSubscriptionArgs = {
|
|
|
1009
1040
|
export type MutationDisableUserArgs = {
|
|
1010
1041
|
userId: Scalars['String']['input'];
|
|
1011
1042
|
};
|
|
1043
|
+
export type MutationDismissItemArgs = {
|
|
1044
|
+
property: Scalars['String']['input'];
|
|
1045
|
+
};
|
|
1012
1046
|
export type MutationFinishBridgeUserSetupArgs = {
|
|
1013
1047
|
ssn: Scalars['String']['input'];
|
|
1014
1048
|
};
|
|
@@ -1042,6 +1076,17 @@ export type MutationMoveMoneyArgs = {
|
|
|
1042
1076
|
from: Scalars['String']['input'];
|
|
1043
1077
|
to: Scalars['String']['input'];
|
|
1044
1078
|
};
|
|
1079
|
+
export type MutationPaymentAddressForceWithdrawalArgs = {
|
|
1080
|
+
address: Scalars['String']['input'];
|
|
1081
|
+
network: Scalars['String']['input'];
|
|
1082
|
+
token: Scalars['String']['input'];
|
|
1083
|
+
validate: Scalars['Boolean']['input'];
|
|
1084
|
+
};
|
|
1085
|
+
export type MutationPaymentAddressRescueNativeArgs = {
|
|
1086
|
+
address: Scalars['String']['input'];
|
|
1087
|
+
network: Scalars['String']['input'];
|
|
1088
|
+
to: Scalars['String']['input'];
|
|
1089
|
+
};
|
|
1045
1090
|
export type MutationRefundPaymentArgs = {
|
|
1046
1091
|
refundPaymentInput: RefundPaymentInput;
|
|
1047
1092
|
};
|
|
@@ -1181,7 +1226,9 @@ export type OnRampPayment = {
|
|
|
1181
1226
|
status: OnrampPaymentStatus;
|
|
1182
1227
|
token: Scalars['String']['output'];
|
|
1183
1228
|
totalAmount: Scalars['Float']['output'];
|
|
1229
|
+
transactionHash?: Maybe<Scalars['String']['output']>;
|
|
1184
1230
|
userId: Scalars['ObjectID']['output'];
|
|
1231
|
+
virtualAccountId?: Maybe<Scalars['ObjectID']['output']>;
|
|
1185
1232
|
};
|
|
1186
1233
|
export type OnrampPaymentDepositInstructions = {
|
|
1187
1234
|
__typename?: 'OnrampPaymentDepositInstructions';
|
|
@@ -1361,6 +1408,7 @@ export type PaymentRefund = {
|
|
|
1361
1408
|
to?: Maybe<Scalars['String']['output']>;
|
|
1362
1409
|
};
|
|
1363
1410
|
export declare enum PaymentSource {
|
|
1411
|
+
Admin = "Admin",
|
|
1364
1412
|
External = "External",
|
|
1365
1413
|
Integrator = "Integrator",
|
|
1366
1414
|
Mobile = "Mobile",
|
|
@@ -1368,7 +1416,8 @@ export declare enum PaymentSource {
|
|
|
1368
1416
|
MobileIos = "MobileIOS",
|
|
1369
1417
|
PaymentAddress = "PaymentAddress",
|
|
1370
1418
|
Subscription = "Subscription",
|
|
1371
|
-
Web = "Web"
|
|
1419
|
+
Web = "Web",
|
|
1420
|
+
Widget = "Widget"
|
|
1372
1421
|
}
|
|
1373
1422
|
export declare enum PaymentStatus {
|
|
1374
1423
|
Cancelled = "CANCELLED",
|
|
@@ -1431,24 +1480,28 @@ export type PricingUser = {
|
|
|
1431
1480
|
};
|
|
1432
1481
|
export type Query = {
|
|
1433
1482
|
__typename?: 'Query';
|
|
1483
|
+
adminBridgeUser: BridgeUser;
|
|
1434
1484
|
adminDirectPayment?: Maybe<DirectPayment>;
|
|
1435
1485
|
adminDirectPayments: Array<DirectPayment>;
|
|
1486
|
+
adminOnrampPayments: Array<OnRampPayment>;
|
|
1436
1487
|
adminPayments: Array<Payment>;
|
|
1437
1488
|
adminPaymentsCount: Scalars['Int']['output'];
|
|
1438
1489
|
adminRecentPayments: Array<Payment>;
|
|
1439
|
-
adminTransactionPrice: Scalars['Float']['output'];
|
|
1440
1490
|
adminUtxoInvoices: Array<UtxoInvoice>;
|
|
1491
|
+
adminVirtualAccounts: Array<BridgeVirtualAccount>;
|
|
1441
1492
|
apiTokens: Array<ApiToken>;
|
|
1442
1493
|
bankAccounts: Array<BankAccount>;
|
|
1443
1494
|
bills: Array<Bill>;
|
|
1444
1495
|
brexBalance: BrexBalance;
|
|
1445
1496
|
bridgeUser: BridgeUser;
|
|
1497
|
+
btcCashValue: UtxoBalance;
|
|
1446
1498
|
checkPayment?: Maybe<UtxoInvoice>;
|
|
1447
1499
|
checkbookBatchSize: Scalars['Float']['output'];
|
|
1448
1500
|
checkbookPrefundedAccountBalance?: Maybe<Scalars['Float']['output']>;
|
|
1449
1501
|
circleBalances: CircleBalances;
|
|
1450
1502
|
coinbaseBalance: Scalars['Float']['output'];
|
|
1451
1503
|
cryptoExchangeRate: CryptoExchangeRate;
|
|
1504
|
+
dashCashValue: UtxoBalance;
|
|
1452
1505
|
debitCards: Array<DebitCard>;
|
|
1453
1506
|
/** @deprecated no longer in use */
|
|
1454
1507
|
directPayment?: Maybe<DirectPayment>;
|
|
@@ -1499,6 +1552,7 @@ export type Query = {
|
|
|
1499
1552
|
paymentsForAccount: Array<Payment>;
|
|
1500
1553
|
paymentsInProgress: Array<Payment>;
|
|
1501
1554
|
pendingVerificationBills: Array<Bill>;
|
|
1555
|
+
points: Scalars['Int']['output'];
|
|
1502
1556
|
popularUSBillInstitutions: Array<PayableAccountInstitution>;
|
|
1503
1557
|
referralParticipant?: Maybe<Referral>;
|
|
1504
1558
|
reversals: MethodFiReversal;
|
|
@@ -1527,22 +1581,30 @@ export type Query = {
|
|
|
1527
1581
|
userPayableAccounts: Array<PayableAccount>;
|
|
1528
1582
|
userPayment: Payment;
|
|
1529
1583
|
userPayments: Array<Payment>;
|
|
1584
|
+
userPoints: Scalars['Int']['output'];
|
|
1530
1585
|
userUpcomingPayments: Array<Payment>;
|
|
1531
1586
|
userVerification?: Maybe<Verification>;
|
|
1532
1587
|
userVirtualDebitCard?: Maybe<VirtualCard>;
|
|
1533
1588
|
utxoBalance: UtxoBalance;
|
|
1534
1589
|
verification?: Maybe<Verification>;
|
|
1535
1590
|
verificationFlow: CognitoKycFlow;
|
|
1591
|
+
virtualAccounts: Array<BridgeVirtualAccount>;
|
|
1536
1592
|
virtualCardDetails?: Maybe<Scalars['String']['output']>;
|
|
1537
1593
|
virtualDebitCard?: Maybe<VirtualCard>;
|
|
1538
1594
|
virtualDebitCards: Array<VirtualCard>;
|
|
1539
1595
|
};
|
|
1596
|
+
export type QueryAdminBridgeUserArgs = {
|
|
1597
|
+
userId: Scalars['String']['input'];
|
|
1598
|
+
};
|
|
1540
1599
|
export type QueryAdminDirectPaymentArgs = {
|
|
1541
1600
|
directPaymentId: Scalars['String']['input'];
|
|
1542
1601
|
};
|
|
1543
1602
|
export type QueryAdminDirectPaymentsArgs = {
|
|
1544
1603
|
userId?: InputMaybe<Scalars['String']['input']>;
|
|
1545
1604
|
};
|
|
1605
|
+
export type QueryAdminOnrampPaymentsArgs = {
|
|
1606
|
+
userId: Scalars['String']['input'];
|
|
1607
|
+
};
|
|
1546
1608
|
export type QueryAdminPaymentsArgs = {
|
|
1547
1609
|
filter?: InputMaybe<PaymentsFilter>;
|
|
1548
1610
|
pagination?: InputMaybe<Pagination>;
|
|
@@ -1555,10 +1617,12 @@ export type QueryAdminPaymentsCountArgs = {
|
|
|
1555
1617
|
export type QueryAdminRecentPaymentsArgs = {
|
|
1556
1618
|
userId: Scalars['String']['input'];
|
|
1557
1619
|
};
|
|
1558
|
-
export type
|
|
1559
|
-
amount: Scalars['Float']['input'];
|
|
1620
|
+
export type QueryAdminVirtualAccountsArgs = {
|
|
1560
1621
|
userId: Scalars['String']['input'];
|
|
1561
1622
|
};
|
|
1623
|
+
export type QueryBtcCashValueArgs = {
|
|
1624
|
+
address: Scalars['String']['input'];
|
|
1625
|
+
};
|
|
1562
1626
|
export type QueryCheckPaymentArgs = {
|
|
1563
1627
|
address: Scalars['String']['input'];
|
|
1564
1628
|
};
|
|
@@ -1573,6 +1637,9 @@ export type QueryCryptoExchangeRateArgs = {
|
|
|
1573
1637
|
base?: InputMaybe<Scalars['String']['input']>;
|
|
1574
1638
|
symbol: Scalars['String']['input'];
|
|
1575
1639
|
};
|
|
1640
|
+
export type QueryDashCashValueArgs = {
|
|
1641
|
+
address: Scalars['String']['input'];
|
|
1642
|
+
};
|
|
1576
1643
|
export type QueryDirectPaymentArgs = {
|
|
1577
1644
|
paymentId: Scalars['String']['input'];
|
|
1578
1645
|
};
|
|
@@ -1593,7 +1660,7 @@ export type QueryFeeCalculatorArgs = {
|
|
|
1593
1660
|
currency: Scalars['String']['input'];
|
|
1594
1661
|
deliveryMethod?: InputMaybe<PaymentDeliveryMethod>;
|
|
1595
1662
|
network: Scalars['String']['input'];
|
|
1596
|
-
|
|
1663
|
+
token: Scalars['String']['input'];
|
|
1597
1664
|
};
|
|
1598
1665
|
export type QueryFindByWalletAddressArgs = {
|
|
1599
1666
|
address: Scalars['String']['input'];
|
|
@@ -1684,10 +1751,10 @@ export type QueryTotalTokenBalanceArgs = {
|
|
|
1684
1751
|
networks?: InputMaybe<Array<Network>>;
|
|
1685
1752
|
};
|
|
1686
1753
|
export type QueryTransactionPriceArgs = {
|
|
1687
|
-
accountId
|
|
1754
|
+
accountId: Scalars['String']['input'];
|
|
1688
1755
|
amount: Scalars['Float']['input'];
|
|
1689
1756
|
deliveryMethod?: InputMaybe<PaymentDeliveryMethod>;
|
|
1690
|
-
network
|
|
1757
|
+
network: Scalars['String']['input'];
|
|
1691
1758
|
token?: InputMaybe<Scalars['String']['input']>;
|
|
1692
1759
|
};
|
|
1693
1760
|
export type QueryTransactionsArgs = {
|
|
@@ -1711,6 +1778,9 @@ export type QueryUserPaymentArgs = {
|
|
|
1711
1778
|
export type QueryUserPaymentsArgs = {
|
|
1712
1779
|
userId: Scalars['String']['input'];
|
|
1713
1780
|
};
|
|
1781
|
+
export type QueryUserPointsArgs = {
|
|
1782
|
+
userId: Scalars['String']['input'];
|
|
1783
|
+
};
|
|
1714
1784
|
export type QueryUserUpcomingPaymentsArgs = {
|
|
1715
1785
|
userId: Scalars['String']['input'];
|
|
1716
1786
|
};
|
|
@@ -2034,6 +2104,7 @@ export type User = {
|
|
|
2034
2104
|
attributionSurvey?: Maybe<AttributionSurvey>;
|
|
2035
2105
|
createdAt: Scalars['DateTimeISO']['output'];
|
|
2036
2106
|
deleted?: Maybe<Scalars['Boolean']['output']>;
|
|
2107
|
+
dismissedItems?: Maybe<DismissedItems>;
|
|
2037
2108
|
dob?: Maybe<Scalars['String']['output']>;
|
|
2038
2109
|
email: Scalars['String']['output'];
|
|
2039
2110
|
firstName?: Maybe<Scalars['String']['output']>;
|
|
@@ -2126,6 +2197,16 @@ export type Verification = {
|
|
|
2126
2197
|
userId: Scalars['ObjectID']['output'];
|
|
2127
2198
|
virtualCard: VirtualCardModule;
|
|
2128
2199
|
};
|
|
2200
|
+
export type VirtualAccountDepositInstructions = {
|
|
2201
|
+
__typename?: 'VirtualAccountDepositInstructions';
|
|
2202
|
+
bankAccountNumber: Scalars['String']['output'];
|
|
2203
|
+
bankAddress: Scalars['String']['output'];
|
|
2204
|
+
bankBeneficiaryName: Scalars['String']['output'];
|
|
2205
|
+
bankName: Scalars['String']['output'];
|
|
2206
|
+
bankRoutingNumber: Scalars['String']['output'];
|
|
2207
|
+
currency: Scalars['String']['output'];
|
|
2208
|
+
paymentMethod: Scalars['String']['output'];
|
|
2209
|
+
};
|
|
2129
2210
|
export type VirtualCard = PayableAccount & {
|
|
2130
2211
|
__typename?: 'VirtualCard';
|
|
2131
2212
|
balance: Scalars['Float']['output'];
|
|
@@ -43,6 +43,7 @@ var BasicPayableAccountType;
|
|
|
43
43
|
(function (BasicPayableAccountType) {
|
|
44
44
|
BasicPayableAccountType["BankAccount"] = "BANK_ACCOUNT";
|
|
45
45
|
BasicPayableAccountType["Bill"] = "BILL";
|
|
46
|
+
BasicPayableAccountType["DebitCard"] = "DEBIT_CARD";
|
|
46
47
|
BasicPayableAccountType["PayOthers"] = "PAY_OTHERS";
|
|
47
48
|
BasicPayableAccountType["SpritzCard"] = "SPRITZ_CARD";
|
|
48
49
|
})(BasicPayableAccountType || (exports.BasicPayableAccountType = BasicPayableAccountType = {}));
|
|
@@ -150,6 +151,7 @@ var PaymentProvider;
|
|
|
150
151
|
})(PaymentProvider || (exports.PaymentProvider = PaymentProvider = {}));
|
|
151
152
|
var PaymentSource;
|
|
152
153
|
(function (PaymentSource) {
|
|
154
|
+
PaymentSource["Admin"] = "Admin";
|
|
153
155
|
PaymentSource["External"] = "External";
|
|
154
156
|
PaymentSource["Integrator"] = "Integrator";
|
|
155
157
|
PaymentSource["Mobile"] = "Mobile";
|
|
@@ -158,6 +160,7 @@ var PaymentSource;
|
|
|
158
160
|
PaymentSource["PaymentAddress"] = "PaymentAddress";
|
|
159
161
|
PaymentSource["Subscription"] = "Subscription";
|
|
160
162
|
PaymentSource["Web"] = "Web";
|
|
163
|
+
PaymentSource["Widget"] = "Widget";
|
|
161
164
|
})(PaymentSource || (exports.PaymentSource = PaymentSource = {}));
|
|
162
165
|
var PaymentStatus;
|
|
163
166
|
(function (PaymentStatus) {
|