@spritz-finance/service-client 0.2.34 → 0.2.35
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.
|
@@ -88,6 +88,15 @@ export declare type AchInstitution = {
|
|
|
88
88
|
name: Scalars['String']['output'];
|
|
89
89
|
routingNumber: Scalars['String']['output'];
|
|
90
90
|
};
|
|
91
|
+
export declare type Address = {
|
|
92
|
+
__typename?: 'Address';
|
|
93
|
+
city?: Maybe<Scalars['String']['output']>;
|
|
94
|
+
countryCode?: Maybe<Scalars['String']['output']>;
|
|
95
|
+
postalCode?: Maybe<Scalars['String']['output']>;
|
|
96
|
+
street?: Maybe<Scalars['String']['output']>;
|
|
97
|
+
street2?: Maybe<Scalars['String']['output']>;
|
|
98
|
+
subdivision?: Maybe<Scalars['String']['output']>;
|
|
99
|
+
};
|
|
91
100
|
export declare type AddTransactionToPaymentInput = {
|
|
92
101
|
directPaymentId: Scalars['String']['input'];
|
|
93
102
|
transactionHash: Scalars['String']['input'];
|
|
@@ -112,6 +121,12 @@ export declare enum AppDomain {
|
|
|
112
121
|
Quickswap = "QUICKSWAP",
|
|
113
122
|
Spritz = "SPRITZ"
|
|
114
123
|
}
|
|
124
|
+
export declare type AvailableVirtualCardType = {
|
|
125
|
+
__typename?: 'AvailableVirtualCardType';
|
|
126
|
+
country: Scalars['String']['output'];
|
|
127
|
+
provider: AccountProvider;
|
|
128
|
+
type: Scalars['String']['output'];
|
|
129
|
+
};
|
|
115
130
|
export declare type BankAccount = PayableAccount & {
|
|
116
131
|
__typename?: 'BankAccount';
|
|
117
132
|
accountNumber: Scalars['String']['output'];
|
|
@@ -131,6 +146,7 @@ export declare type BankAccount = PayableAccount & {
|
|
|
131
146
|
name?: Maybe<Scalars['String']['output']>;
|
|
132
147
|
originator: PayableAccountOriginator;
|
|
133
148
|
ownedByUser: Scalars['Boolean']['output'];
|
|
149
|
+
payable: Scalars['Boolean']['output'];
|
|
134
150
|
paymentCount?: Maybe<Scalars['Int']['output']>;
|
|
135
151
|
type: PayableAccountType;
|
|
136
152
|
userId: Scalars['String']['output'];
|
|
@@ -189,6 +205,7 @@ export declare type Bill = PayableAccount & {
|
|
|
189
205
|
mask?: Maybe<Scalars['String']['output']>;
|
|
190
206
|
name?: Maybe<Scalars['String']['output']>;
|
|
191
207
|
originator: PayableAccountOriginator;
|
|
208
|
+
payable: Scalars['Boolean']['output'];
|
|
192
209
|
paymentCount?: Maybe<Scalars['Int']['output']>;
|
|
193
210
|
type: PayableAccountType;
|
|
194
211
|
userId: Scalars['String']['output'];
|
|
@@ -223,6 +240,7 @@ export declare type BillAccount = {
|
|
|
223
240
|
type: BillType;
|
|
224
241
|
user: User;
|
|
225
242
|
userId: Scalars['ObjectId']['output'];
|
|
243
|
+
/** @deprecated No longer used */
|
|
226
244
|
verified: Scalars['Boolean']['output'];
|
|
227
245
|
};
|
|
228
246
|
export declare type BillAccountDetails = {
|
|
@@ -289,6 +307,14 @@ export declare type BrexBalance = {
|
|
|
289
307
|
__typename?: 'BrexBalance';
|
|
290
308
|
available: Scalars['Float']['output'];
|
|
291
309
|
};
|
|
310
|
+
export declare type BusinessIdentity = {
|
|
311
|
+
__typename?: 'BusinessIdentity';
|
|
312
|
+
address?: Maybe<Address>;
|
|
313
|
+
dba?: Maybe<Scalars['String']['output']>;
|
|
314
|
+
ein?: Maybe<Scalars['String']['output']>;
|
|
315
|
+
name?: Maybe<Scalars['String']['output']>;
|
|
316
|
+
type?: Maybe<Scalars['String']['output']>;
|
|
317
|
+
};
|
|
292
318
|
export declare type CanadianBankAccountDetails = {
|
|
293
319
|
__typename?: 'CanadianBankAccountDetails';
|
|
294
320
|
institutionNumber: Scalars['Float']['output'];
|
|
@@ -545,6 +571,7 @@ export declare type GasSpeed = {
|
|
|
545
571
|
};
|
|
546
572
|
export declare type GrowsurfParticipant = {
|
|
547
573
|
__typename?: 'GrowsurfParticipant';
|
|
574
|
+
checkedFeeRewards: Scalars['Boolean']['output'];
|
|
548
575
|
email: Scalars['String']['output'];
|
|
549
576
|
fraudRiskLevel: Scalars['String']['output'];
|
|
550
577
|
id: Scalars['ID']['output'];
|
|
@@ -574,6 +601,8 @@ export declare type GrowsurfReferralStats = {
|
|
|
574
601
|
};
|
|
575
602
|
export declare type IdentityModule = {
|
|
576
603
|
__typename?: 'IdentityModule';
|
|
604
|
+
accountType?: Maybe<Scalars['String']['output']>;
|
|
605
|
+
business?: Maybe<BusinessIdentity>;
|
|
577
606
|
country?: Maybe<Scalars['String']['output']>;
|
|
578
607
|
sessionId?: Maybe<Scalars['String']['output']>;
|
|
579
608
|
status: ModuleStatus;
|
|
@@ -802,6 +831,7 @@ export declare type Mutation = {
|
|
|
802
831
|
addTransactionToDirectPayment: DirectPayment;
|
|
803
832
|
adminCreateDirectPayment: DirectPayment;
|
|
804
833
|
adminIssuePayment?: Maybe<Payment>;
|
|
834
|
+
adminResyncUserProviders?: Maybe<Verification>;
|
|
805
835
|
approvePaymentReversal: Scalars['Boolean']['output'];
|
|
806
836
|
checkbookNotifyFunding: Scalars['Boolean']['output'];
|
|
807
837
|
checkbookSendQueuedPayments?: Maybe<Array<CheckbookPayment>>;
|
|
@@ -828,6 +858,7 @@ export declare type Mutation = {
|
|
|
828
858
|
disconnectBill: Scalars['Boolean']['output'];
|
|
829
859
|
flushBalances: Array<TokenBalance>;
|
|
830
860
|
forcePayment: Payment;
|
|
861
|
+
forceStrictVerification?: Maybe<Verification>;
|
|
831
862
|
grantCredit: RewardTransaction;
|
|
832
863
|
kycStatusSetUserCompleted: KycStatus;
|
|
833
864
|
lockEntityAuth: MethodFiEntity;
|
|
@@ -841,11 +872,13 @@ export declare type Mutation = {
|
|
|
841
872
|
renameCheckbookAccount: CheckbookAccount;
|
|
842
873
|
renamePayableAccount: PayableAccount;
|
|
843
874
|
resetEntity: Scalars['Boolean']['output'];
|
|
875
|
+
restartFlow: Verification;
|
|
844
876
|
resubmitEntityVerification: Scalars['Boolean']['output'];
|
|
845
877
|
resyncEntityAccounts: Scalars['Boolean']['output'];
|
|
846
878
|
retrySubscriptionCharge: Scalars['Boolean']['output'];
|
|
847
879
|
revokeApiToken: Scalars['Boolean']['output'];
|
|
848
880
|
setupWallet: Scalars['Boolean']['output'];
|
|
881
|
+
setUserAccountType: User;
|
|
849
882
|
setUserLimits: PricingUser;
|
|
850
883
|
setUserPricing: PricingUser;
|
|
851
884
|
setVerificationStatus?: Maybe<Verification>;
|
|
@@ -882,6 +915,9 @@ export declare type MutationAdminCreateDirectPaymentArgs = {
|
|
|
882
915
|
export declare type MutationAdminIssuePaymentArgs = {
|
|
883
916
|
issuePaymentInput: AdminIssuePaymentInput;
|
|
884
917
|
};
|
|
918
|
+
export declare type MutationAdminResyncUserProvidersArgs = {
|
|
919
|
+
userId: Scalars['String']['input'];
|
|
920
|
+
};
|
|
885
921
|
export declare type MutationApprovePaymentReversalArgs = {
|
|
886
922
|
paymentId: Scalars['String']['input'];
|
|
887
923
|
};
|
|
@@ -952,6 +988,9 @@ export declare type MutationFlushBalancesArgs = {
|
|
|
952
988
|
export declare type MutationForcePaymentArgs = {
|
|
953
989
|
paymentId: Scalars['String']['input'];
|
|
954
990
|
};
|
|
991
|
+
export declare type MutationForceStrictVerificationArgs = {
|
|
992
|
+
userId: Scalars['String']['input'];
|
|
993
|
+
};
|
|
955
994
|
export declare type MutationGrantCreditArgs = {
|
|
956
995
|
amount: Scalars['Float']['input'];
|
|
957
996
|
category?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -991,6 +1030,10 @@ export declare type MutationRenamePayableAccountArgs = {
|
|
|
991
1030
|
export declare type MutationResetEntityArgs = {
|
|
992
1031
|
userId: Scalars['String']['input'];
|
|
993
1032
|
};
|
|
1033
|
+
export declare type MutationRestartFlowArgs = {
|
|
1034
|
+
flowId: Scalars['String']['input'];
|
|
1035
|
+
userId: Scalars['String']['input'];
|
|
1036
|
+
};
|
|
994
1037
|
export declare type MutationResubmitEntityVerificationArgs = {
|
|
995
1038
|
userId: Scalars['String']['input'];
|
|
996
1039
|
};
|
|
@@ -1007,6 +1050,10 @@ export declare type MutationSetupWalletArgs = {
|
|
|
1007
1050
|
account?: InputMaybe<Scalars['String']['input']>;
|
|
1008
1051
|
network: Scalars['String']['input'];
|
|
1009
1052
|
};
|
|
1053
|
+
export declare type MutationSetUserAccountTypeArgs = {
|
|
1054
|
+
accountType: Scalars['String']['input'];
|
|
1055
|
+
userId: Scalars['String']['input'];
|
|
1056
|
+
};
|
|
1010
1057
|
export declare type MutationSetUserLimitsArgs = {
|
|
1011
1058
|
input: SetUserLimitsInput;
|
|
1012
1059
|
};
|
|
@@ -1079,6 +1126,7 @@ export declare type PayableAccount = {
|
|
|
1079
1126
|
mask?: Maybe<Scalars['String']['output']>;
|
|
1080
1127
|
name?: Maybe<Scalars['String']['output']>;
|
|
1081
1128
|
originator: PayableAccountOriginator;
|
|
1129
|
+
payable: Scalars['Boolean']['output'];
|
|
1082
1130
|
paymentCount?: Maybe<Scalars['Int']['output']>;
|
|
1083
1131
|
type: PayableAccountType;
|
|
1084
1132
|
userId: Scalars['String']['output'];
|
|
@@ -1238,6 +1286,7 @@ export declare type Query = {
|
|
|
1238
1286
|
adminPaymentsCount: Scalars['Int']['output'];
|
|
1239
1287
|
adminRecentPayments: Array<Payment>;
|
|
1240
1288
|
adminTransactionPrice: Scalars['Float']['output'];
|
|
1289
|
+
adminUtxoInvoices: Array<UtxoInvoice>;
|
|
1241
1290
|
apiTokens: Array<ApiToken>;
|
|
1242
1291
|
bankAccounts: Array<BankAccount>;
|
|
1243
1292
|
billAccounts: Array<BillAccount>;
|
|
@@ -1246,6 +1295,7 @@ export declare type Query = {
|
|
|
1246
1295
|
brexBalance: BrexBalance;
|
|
1247
1296
|
checkbookPrefundedAccountBalance?: Maybe<Scalars['Float']['output']>;
|
|
1248
1297
|
checkbookVirtualCard?: Maybe<CheckbookVirtualCard>;
|
|
1298
|
+
checkPayment?: Maybe<UtxoInvoice>;
|
|
1249
1299
|
circleBalances: CircleBalances;
|
|
1250
1300
|
coinbaseBalance: Scalars['Float']['output'];
|
|
1251
1301
|
cryptoExchangeRate: CryptoExchangeRate;
|
|
@@ -1304,6 +1354,7 @@ export declare type Query = {
|
|
|
1304
1354
|
/** @deprecated Use bankAccounts instead */
|
|
1305
1355
|
userBankAccounts: Array<BankAccount>;
|
|
1306
1356
|
userBills: Array<BillAccount>;
|
|
1357
|
+
userPayableAccounts: Array<PayableAccount>;
|
|
1307
1358
|
userPayment: Payment;
|
|
1308
1359
|
userPayments: Array<Payment>;
|
|
1309
1360
|
userUpcomingPayments: Array<Payment>;
|
|
@@ -1347,6 +1398,9 @@ export declare type QueryAdminTransactionPriceArgs = {
|
|
|
1347
1398
|
amount: Scalars['Float']['input'];
|
|
1348
1399
|
userId: Scalars['String']['input'];
|
|
1349
1400
|
};
|
|
1401
|
+
export declare type QueryCheckPaymentArgs = {
|
|
1402
|
+
address: Scalars['String']['input'];
|
|
1403
|
+
};
|
|
1350
1404
|
export declare type QueryCryptoExchangeRateArgs = {
|
|
1351
1405
|
amount?: InputMaybe<Scalars['Float']['input']>;
|
|
1352
1406
|
base?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -1434,6 +1488,9 @@ export declare type QueryTransactionsArgs = {
|
|
|
1434
1488
|
export declare type QueryUserBillsArgs = {
|
|
1435
1489
|
userId: Scalars['String']['input'];
|
|
1436
1490
|
};
|
|
1491
|
+
export declare type QueryUserPayableAccountsArgs = {
|
|
1492
|
+
userId: Scalars['String']['input'];
|
|
1493
|
+
};
|
|
1437
1494
|
export declare type QueryUserPaymentArgs = {
|
|
1438
1495
|
paymentId: Scalars['String']['input'];
|
|
1439
1496
|
};
|
|
@@ -1638,6 +1695,7 @@ export declare type UsBankAccountInput = {
|
|
|
1638
1695
|
};
|
|
1639
1696
|
export declare type User = {
|
|
1640
1697
|
__typename?: 'User';
|
|
1698
|
+
accountType?: Maybe<Scalars['String']['output']>;
|
|
1641
1699
|
appDomain?: Maybe<AppDomain>;
|
|
1642
1700
|
associatedWallets: Array<Scalars['String']['output']>;
|
|
1643
1701
|
attributionSource?: Maybe<Scalars['String']['output']>;
|
|
@@ -1689,10 +1747,12 @@ export declare type UtxoInvoice = {
|
|
|
1689
1747
|
address: Scalars['String']['output'];
|
|
1690
1748
|
amount: Scalars['Float']['output'];
|
|
1691
1749
|
amountFiat: Scalars['Float']['output'];
|
|
1750
|
+
directPayment: DirectPayment;
|
|
1692
1751
|
expiry: Scalars['DateTime']['output'];
|
|
1693
1752
|
network: Scalars['String']['output'];
|
|
1694
1753
|
paymentReference: Scalars['ObjectId']['output'];
|
|
1695
1754
|
status: UtxoInvoiceStatus;
|
|
1755
|
+
tokenAddress?: Maybe<Scalars['String']['output']>;
|
|
1696
1756
|
transaction?: Maybe<UtxoTransaction>;
|
|
1697
1757
|
};
|
|
1698
1758
|
export declare enum UtxoInvoiceStatus {
|
|
@@ -1713,9 +1773,13 @@ export declare type Verification = {
|
|
|
1713
1773
|
__typename?: 'Verification';
|
|
1714
1774
|
bankAccount: BankAccountModule;
|
|
1715
1775
|
bills: BillModule;
|
|
1776
|
+
checkbookUser?: Maybe<CheckbookUser>;
|
|
1777
|
+
flows: Array<CognitoKycFlow>;
|
|
1716
1778
|
identity: IdentityModule;
|
|
1779
|
+
methodFiEntity?: Maybe<MethodFiEntity>;
|
|
1717
1780
|
signature: Scalars['String']['output'];
|
|
1718
1781
|
userId: Scalars['ObjectId']['output'];
|
|
1782
|
+
virtualCard: VirtualCardModule;
|
|
1719
1783
|
};
|
|
1720
1784
|
export declare type VirtualCard = PayableAccount & {
|
|
1721
1785
|
__typename?: 'VirtualCard';
|
|
@@ -1730,12 +1794,18 @@ export declare type VirtualCard = PayableAccount & {
|
|
|
1730
1794
|
mask?: Maybe<Scalars['String']['output']>;
|
|
1731
1795
|
name?: Maybe<Scalars['String']['output']>;
|
|
1732
1796
|
originator: PayableAccountOriginator;
|
|
1797
|
+
payable: Scalars['Boolean']['output'];
|
|
1733
1798
|
paymentCount?: Maybe<Scalars['Int']['output']>;
|
|
1734
1799
|
renderSecret?: Maybe<Scalars['String']['output']>;
|
|
1735
1800
|
type: PayableAccountType;
|
|
1736
1801
|
userId: Scalars['String']['output'];
|
|
1737
1802
|
virtualCardType: VirtualCardType;
|
|
1738
1803
|
};
|
|
1804
|
+
export declare type VirtualCardModule = {
|
|
1805
|
+
__typename?: 'VirtualCardModule';
|
|
1806
|
+
availableCardTypes: Array<AvailableVirtualCardType>;
|
|
1807
|
+
status: ModuleStatus;
|
|
1808
|
+
};
|
|
1739
1809
|
export declare enum VirtualCardType {
|
|
1740
1810
|
UsVirtualDebitCard = "USVirtualDebitCard"
|
|
1741
1811
|
}
|
|
@@ -49,6 +49,7 @@ declare type PayableAccountModelExtension = {
|
|
|
49
49
|
__t: PayableAccountType;
|
|
50
50
|
externalId?: string | null;
|
|
51
51
|
nickname?: string | null;
|
|
52
|
+
payable: boolean;
|
|
52
53
|
};
|
|
53
54
|
declare type BillModel = Omit<Bill, 'type'> & PayableAccountModelExtension;
|
|
54
55
|
declare type BankAcountModel = Omit<BankAccount, 'type'> & PayableAccountModelExtension;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spritz-finance/service-client",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.35",
|
|
4
4
|
"description": "Service client",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"coverageDirectory": "../coverage",
|
|
52
52
|
"testEnvironment": "node"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "5a942925c3026af7829c5d10c9b652a556a5b772"
|
|
55
55
|
}
|