@spritz-finance/service-client 0.2.63 → 0.2.65
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/config.d.ts
CHANGED
|
@@ -1 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
interface GraphClientConfig {
|
|
2
|
+
env: string;
|
|
3
|
+
authEndpoint: string;
|
|
4
|
+
graphEndpoint: string;
|
|
5
|
+
verificationServiceEndpoint: string;
|
|
6
|
+
transactionsServiceEndpoint: string;
|
|
7
|
+
usersServiceEndpoint: string;
|
|
8
|
+
liabilitiesServiceEndpoint: string;
|
|
9
|
+
payableAccountsServiceEndpoint: string;
|
|
10
|
+
growthServiceEndpoint: string;
|
|
11
|
+
exchangeRatesServiceEndpoint: string;
|
|
12
|
+
}
|
|
13
|
+
export declare const config: GraphClientConfig;
|
|
14
|
+
export {};
|
|
@@ -69,12 +69,25 @@ export declare enum AccountSyncStatus {
|
|
|
69
69
|
Syncing = "Syncing",
|
|
70
70
|
Unavailable = "Unavailable"
|
|
71
71
|
}
|
|
72
|
+
export declare enum AccountType {
|
|
73
|
+
Business = "BUSINESS",
|
|
74
|
+
Checking = "CHECKING",
|
|
75
|
+
Savings = "SAVINGS"
|
|
76
|
+
}
|
|
72
77
|
export declare type AccountTypePayable = {
|
|
73
78
|
__typename?: 'AccountTypePayable';
|
|
74
79
|
country: Scalars['String']['output'];
|
|
75
80
|
provider: AccountProvider;
|
|
76
81
|
type: AccountPaymentType;
|
|
77
82
|
};
|
|
83
|
+
export declare type AchInstitution = {
|
|
84
|
+
__typename?: 'ACHInstitution';
|
|
85
|
+
id: Scalars['String']['output'];
|
|
86
|
+
isRTPEnabled: Scalars['Boolean']['output'];
|
|
87
|
+
logo?: Maybe<Scalars['String']['output']>;
|
|
88
|
+
name: Scalars['String']['output'];
|
|
89
|
+
routingNumber: Scalars['String']['output'];
|
|
90
|
+
};
|
|
78
91
|
export declare type Address = {
|
|
79
92
|
__typename?: 'Address';
|
|
80
93
|
city?: Maybe<Scalars['String']['output']>;
|
|
@@ -126,22 +139,17 @@ export declare type BankAccount = PayableAccount & {
|
|
|
126
139
|
currency: Scalars['String']['output'];
|
|
127
140
|
dataSync?: Maybe<AccountDataSync>;
|
|
128
141
|
email: Scalars['String']['output'];
|
|
129
|
-
externalId?: Maybe<Scalars['String']['output']>;
|
|
130
142
|
holder: Scalars['String']['output'];
|
|
131
143
|
id: Scalars['ID']['output'];
|
|
132
144
|
institution?: Maybe<PayableAccountInstitution>;
|
|
133
145
|
mask?: Maybe<Scalars['String']['output']>;
|
|
134
146
|
name?: Maybe<Scalars['String']['output']>;
|
|
135
|
-
originalName?: Maybe<Scalars['String']['output']>;
|
|
136
147
|
originator: PayableAccountOriginator;
|
|
137
148
|
ownedByUser: Scalars['Boolean']['output'];
|
|
138
149
|
payable: Scalars['Boolean']['output'];
|
|
139
150
|
paymentCount?: Maybe<Scalars['Int']['output']>;
|
|
140
|
-
testPaymentAvailable: Scalars['Boolean']['output'];
|
|
141
151
|
type: PayableAccountType;
|
|
142
|
-
user: User;
|
|
143
152
|
userId: Scalars['String']['output'];
|
|
144
|
-
verifying: Scalars['Boolean']['output'];
|
|
145
153
|
};
|
|
146
154
|
export declare type BankAccountDetails = CanadianBankAccountDetails | UsBankAccountDetails;
|
|
147
155
|
export declare type BankAccountFeatures = UsBankAccountFeatures;
|
|
@@ -192,20 +200,48 @@ export declare type Bill = PayableAccount & {
|
|
|
192
200
|
createdAt: Scalars['DateTime']['output'];
|
|
193
201
|
currency: Scalars['String']['output'];
|
|
194
202
|
dataSync?: Maybe<AccountDataSync>;
|
|
195
|
-
externalId?: Maybe<Scalars['String']['output']>;
|
|
196
203
|
id: Scalars['ID']['output'];
|
|
197
204
|
institution?: Maybe<PayableAccountInstitution>;
|
|
198
205
|
mask?: Maybe<Scalars['String']['output']>;
|
|
199
206
|
name?: Maybe<Scalars['String']['output']>;
|
|
200
|
-
originalName?: Maybe<Scalars['String']['output']>;
|
|
201
207
|
originator: PayableAccountOriginator;
|
|
202
208
|
payable: Scalars['Boolean']['output'];
|
|
203
209
|
paymentCount?: Maybe<Scalars['Int']['output']>;
|
|
204
|
-
testPaymentAvailable: Scalars['Boolean']['output'];
|
|
205
210
|
type: PayableAccountType;
|
|
206
|
-
user: User;
|
|
207
211
|
userId: Scalars['String']['output'];
|
|
208
|
-
|
|
212
|
+
};
|
|
213
|
+
export declare type BillAccount = {
|
|
214
|
+
__typename?: 'BillAccount';
|
|
215
|
+
accountId: Scalars['String']['output'];
|
|
216
|
+
amountDue?: Maybe<Scalars['Float']['output']>;
|
|
217
|
+
balance?: Maybe<Scalars['Float']['output']>;
|
|
218
|
+
canReceive: Scalars['Boolean']['output'];
|
|
219
|
+
connected: Scalars['Boolean']['output'];
|
|
220
|
+
createdAt?: Maybe<Scalars['DateTime']['output']>;
|
|
221
|
+
destinationAccountId?: Maybe<Scalars['String']['output']>;
|
|
222
|
+
id: Scalars['ID']['output'];
|
|
223
|
+
institution?: Maybe<BillAccountInstitution>;
|
|
224
|
+
lastPaymentAmount?: Maybe<Scalars['Float']['output']>;
|
|
225
|
+
lastPaymentDate?: Maybe<Scalars['DateTime']['output']>;
|
|
226
|
+
lastStatementBalance?: Maybe<Scalars['Float']['output']>;
|
|
227
|
+
lastSync?: Maybe<Scalars['DateTime']['output']>;
|
|
228
|
+
manual?: Maybe<Scalars['Boolean']['output']>;
|
|
229
|
+
mask?: Maybe<Scalars['String']['output']>;
|
|
230
|
+
name: Scalars['String']['output'];
|
|
231
|
+
nextPaymentDueDate?: Maybe<Scalars['DateTime']['output']>;
|
|
232
|
+
nextPaymentMinimumAmount?: Maybe<Scalars['Float']['output']>;
|
|
233
|
+
openedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
234
|
+
originalName: Scalars['String']['output'];
|
|
235
|
+
payments?: Maybe<Scalars['Int']['output']>;
|
|
236
|
+
provider: AccountProvider;
|
|
237
|
+
remainingStatementBalance?: Maybe<Scalars['Float']['output']>;
|
|
238
|
+
syncStatus: BillSyncStatus;
|
|
239
|
+
testPaymentAvailable: Scalars['Boolean']['output'];
|
|
240
|
+
type: BillType;
|
|
241
|
+
user: User;
|
|
242
|
+
userId: Scalars['ObjectId']['output'];
|
|
243
|
+
/** @deprecated No longer used */
|
|
244
|
+
verified: Scalars['Boolean']['output'];
|
|
209
245
|
};
|
|
210
246
|
export declare type BillAccountDetails = {
|
|
211
247
|
__typename?: 'BillAccountDetails';
|
|
@@ -214,10 +250,20 @@ export declare type BillAccountDetails = {
|
|
|
214
250
|
lastPaymentAmount?: Maybe<Scalars['Float']['output']>;
|
|
215
251
|
lastPaymentDate?: Maybe<Scalars['DateTime']['output']>;
|
|
216
252
|
lastStatementBalance?: Maybe<Scalars['Float']['output']>;
|
|
253
|
+
lastSync?: Maybe<Scalars['DateTime']['output']>;
|
|
217
254
|
nextPaymentDueDate?: Maybe<Scalars['DateTime']['output']>;
|
|
218
255
|
nextPaymentMinimumAmount?: Maybe<Scalars['Float']['output']>;
|
|
219
256
|
openedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
220
257
|
remainingStatementBalance?: Maybe<Scalars['Float']['output']>;
|
|
258
|
+
syncStatus?: Maybe<AccountSyncStatus>;
|
|
259
|
+
};
|
|
260
|
+
export declare type BillAccountInstitution = {
|
|
261
|
+
__typename?: 'BillAccountInstitution';
|
|
262
|
+
id: Scalars['ID']['output'];
|
|
263
|
+
institutionId: Scalars['String']['output'];
|
|
264
|
+
logo?: Maybe<Scalars['String']['output']>;
|
|
265
|
+
logoUrl?: Maybe<Scalars['String']['output']>;
|
|
266
|
+
name: Scalars['String']['output'];
|
|
221
267
|
};
|
|
222
268
|
export declare type BillingInfo = {
|
|
223
269
|
__typename?: 'BillingInfo';
|
|
@@ -229,7 +275,6 @@ export declare type BillingInfo = {
|
|
|
229
275
|
export declare type BillInstitution = PayableAccountInstitution & {
|
|
230
276
|
__typename?: 'BillInstitution';
|
|
231
277
|
accountNumberFormats: Array<Scalars['String']['output']>;
|
|
232
|
-
billTypes: Array<Scalars['String']['output']>;
|
|
233
278
|
country: Scalars['String']['output'];
|
|
234
279
|
createdAt: Scalars['DateTime']['output'];
|
|
235
280
|
currency: Scalars['String']['output'];
|
|
@@ -242,6 +287,12 @@ export declare type BillModule = {
|
|
|
242
287
|
payableTypes: Array<AccountTypePayable>;
|
|
243
288
|
status: ModuleStatus;
|
|
244
289
|
};
|
|
290
|
+
export declare enum BillSyncStatus {
|
|
291
|
+
Complete = "Complete",
|
|
292
|
+
Error = "Error",
|
|
293
|
+
InProgress = "InProgress",
|
|
294
|
+
Unavailable = "Unavailable"
|
|
295
|
+
}
|
|
245
296
|
export declare enum BillType {
|
|
246
297
|
AutoLoan = "AutoLoan",
|
|
247
298
|
CreditCard = "CreditCard",
|
|
@@ -284,6 +335,22 @@ export declare type CardTransaction = {
|
|
|
284
335
|
description: Scalars['String']['output'];
|
|
285
336
|
timestamp: Scalars['DateTime']['output'];
|
|
286
337
|
};
|
|
338
|
+
export declare type CheckbookAccount = {
|
|
339
|
+
__typename?: 'CheckbookAccount';
|
|
340
|
+
accountNumber: Scalars['String']['output'];
|
|
341
|
+
createdAt: Scalars['DateTime']['output'];
|
|
342
|
+
email: Scalars['String']['output'];
|
|
343
|
+
holder: Scalars['String']['output'];
|
|
344
|
+
id: Scalars['ID']['output'];
|
|
345
|
+
institution?: Maybe<AchInstitution>;
|
|
346
|
+
institutionId?: Maybe<Scalars['ObjectId']['output']>;
|
|
347
|
+
isRTPEnabled: Scalars['Boolean']['output'];
|
|
348
|
+
name: Scalars['String']['output'];
|
|
349
|
+
ownedByUser: Scalars['Boolean']['output'];
|
|
350
|
+
routingNumber: Scalars['String']['output'];
|
|
351
|
+
type: AccountType;
|
|
352
|
+
userId: Scalars['ObjectId']['output'];
|
|
353
|
+
};
|
|
287
354
|
export declare type CheckbookAddress = {
|
|
288
355
|
__typename?: 'CheckbookAddress';
|
|
289
356
|
city: Scalars['String']['output'];
|
|
@@ -376,6 +443,15 @@ export declare type CognitoKycFlowTemplate = {
|
|
|
376
443
|
id: Scalars['ID']['output'];
|
|
377
444
|
version: Scalars['Int']['output'];
|
|
378
445
|
};
|
|
446
|
+
export declare type CreateAccountInput = {
|
|
447
|
+
accountNumber: Scalars['String']['input'];
|
|
448
|
+
email: Scalars['String']['input'];
|
|
449
|
+
holder: Scalars['String']['input'];
|
|
450
|
+
name: Scalars['String']['input'];
|
|
451
|
+
ownedByUser?: InputMaybe<Scalars['Boolean']['input']>;
|
|
452
|
+
routingNumber: Scalars['String']['input'];
|
|
453
|
+
type: AccountType;
|
|
454
|
+
};
|
|
379
455
|
export declare type CreateDirectPaymentInput = {
|
|
380
456
|
accountId: Scalars['String']['input'];
|
|
381
457
|
amount: Scalars['Float']['input'];
|
|
@@ -419,10 +495,11 @@ export declare type CryptoExchangeRate = {
|
|
|
419
495
|
};
|
|
420
496
|
export declare type DirectPayment = {
|
|
421
497
|
__typename?: 'DirectPayment';
|
|
422
|
-
account
|
|
498
|
+
account: BasicPayableAccount;
|
|
423
499
|
accountId: Scalars['ObjectId']['output'];
|
|
424
500
|
amount: Scalars['Float']['output'];
|
|
425
501
|
amountDue: Scalars['Float']['output'];
|
|
502
|
+
bill?: Maybe<BillAccount>;
|
|
426
503
|
createdAt: Scalars['DateTime']['output'];
|
|
427
504
|
currentTime?: Maybe<Scalars['DateTime']['output']>;
|
|
428
505
|
feeAmount?: Maybe<Scalars['Float']['output']>;
|
|
@@ -554,15 +631,6 @@ export declare type KycStatus = {
|
|
|
554
631
|
id: Scalars['ID']['output'];
|
|
555
632
|
signature: Scalars['String']['output'];
|
|
556
633
|
};
|
|
557
|
-
export declare type LiquidityLimits = {
|
|
558
|
-
__typename?: 'LiquidityLimits';
|
|
559
|
-
checkbookHighWaterMark: Scalars['Float']['output'];
|
|
560
|
-
checkbookLowWaterMark: Scalars['Float']['output'];
|
|
561
|
-
};
|
|
562
|
-
export declare type LiquidityLimitsInput = {
|
|
563
|
-
checkbookHighWaterMark: Scalars['Float']['input'];
|
|
564
|
-
checkbookLowWaterMark: Scalars['Float']['input'];
|
|
565
|
-
};
|
|
566
634
|
export declare type MemberReferralStats = {
|
|
567
635
|
__typename?: 'MemberReferralStats';
|
|
568
636
|
allTimeEarnings: Scalars['Float']['output'];
|
|
@@ -612,6 +680,7 @@ export declare type MethodFiAccount = {
|
|
|
612
680
|
connected?: Maybe<Scalars['Boolean']['output']>;
|
|
613
681
|
holder_id: Scalars['String']['output'];
|
|
614
682
|
id: Scalars['ID']['output'];
|
|
683
|
+
institution?: Maybe<MethodFiMerchant>;
|
|
615
684
|
integrationId?: Maybe<Scalars['String']['output']>;
|
|
616
685
|
integrationType?: Maybe<Scalars['String']['output']>;
|
|
617
686
|
liability?: Maybe<MethodFiLiability>;
|
|
@@ -754,21 +823,22 @@ export declare enum ModuleStatus {
|
|
|
754
823
|
}
|
|
755
824
|
export declare type Mutation = {
|
|
756
825
|
__typename?: 'Mutation';
|
|
826
|
+
addAccount: MethodFiAccount;
|
|
757
827
|
addAffiliateReferralCode: Scalars['Boolean']['output'];
|
|
758
828
|
addAssociatedWallet: Scalars['Boolean']['output'];
|
|
759
829
|
addSignupCode: Scalars['Boolean']['output'];
|
|
760
830
|
/** @deprecated No longer used */
|
|
761
831
|
addTransactionToDirectPayment: DirectPayment;
|
|
762
|
-
addUSBill: Bill;
|
|
763
832
|
adminCreateDirectPayment: DirectPayment;
|
|
764
833
|
adminIssuePayment?: Maybe<Payment>;
|
|
765
834
|
adminResyncUserProviders?: Maybe<Verification>;
|
|
766
835
|
approvePaymentReversal: Scalars['Boolean']['output'];
|
|
767
|
-
changeBillType: Bill;
|
|
768
836
|
checkbookNotifyFunding: Scalars['Boolean']['output'];
|
|
769
837
|
checkbookSendQueuedPayments?: Maybe<Array<CheckbookPayment>>;
|
|
838
|
+
connectBills: Scalars['Boolean']['output'];
|
|
770
839
|
createApiToken: ApiToken;
|
|
771
840
|
createApiTokenFor?: Maybe<ApiToken>;
|
|
841
|
+
createCheckbookAccount: CheckbookAccount;
|
|
772
842
|
createDirectPayment: DirectPayment;
|
|
773
843
|
createGrowsurfParticipant?: Maybe<GrowsurfParticipant>;
|
|
774
844
|
createIntegrationToken: IntegrationToken;
|
|
@@ -778,14 +848,17 @@ export declare type Mutation = {
|
|
|
778
848
|
createUSBankAccount: BankAccount;
|
|
779
849
|
createUser: User;
|
|
780
850
|
createUSVirtualDebitCard: VirtualCard;
|
|
851
|
+
createVirtualCard: CheckbookVirtualCard;
|
|
852
|
+
deleteBill: Scalars['Boolean']['output'];
|
|
853
|
+
deleteCheckbookAccount: CheckbookAccount;
|
|
781
854
|
deleteDirectPayment: Scalars['Boolean']['output'];
|
|
782
855
|
deletePayableAccount: PayableAccount;
|
|
783
856
|
deleteSubscription: Scalars['Boolean']['output'];
|
|
784
857
|
disableUser?: Maybe<Verification>;
|
|
858
|
+
disconnectBill: Scalars['Boolean']['output'];
|
|
785
859
|
flushBalances: Array<TokenBalance>;
|
|
786
860
|
forcePayment: Payment;
|
|
787
861
|
forceStrictVerification?: Maybe<Verification>;
|
|
788
|
-
forceStrictVerificationUser?: Maybe<Verification>;
|
|
789
862
|
grantCredit: RewardTransaction;
|
|
790
863
|
kycStatusSetUserCompleted: KycStatus;
|
|
791
864
|
lockEntityAuth: MethodFiEntity;
|
|
@@ -795,13 +868,15 @@ export declare type Mutation = {
|
|
|
795
868
|
refreshEntities: Scalars['Boolean']['output'];
|
|
796
869
|
refundPayment: Payment;
|
|
797
870
|
refundPaymentWithCredits: Payment;
|
|
871
|
+
renameBill: BillAccount;
|
|
872
|
+
renameCheckbookAccount: CheckbookAccount;
|
|
798
873
|
renamePayableAccount: PayableAccount;
|
|
799
874
|
resetEntity: Scalars['Boolean']['output'];
|
|
800
875
|
restartFlow: Verification;
|
|
801
876
|
resubmitEntityVerification: Scalars['Boolean']['output'];
|
|
877
|
+
resyncEntityAccounts: Scalars['Boolean']['output'];
|
|
802
878
|
retrySubscriptionCharge: Scalars['Boolean']['output'];
|
|
803
879
|
revokeApiToken: Scalars['Boolean']['output'];
|
|
804
|
-
setLiquidityLimits: LiquidityLimits;
|
|
805
880
|
setupWallet: Scalars['Boolean']['output'];
|
|
806
881
|
setUserAccountType: User;
|
|
807
882
|
setUserLimits: PricingUser;
|
|
@@ -811,10 +886,16 @@ export declare type Mutation = {
|
|
|
811
886
|
updateAnalyticsSession?: Maybe<User>;
|
|
812
887
|
updateAppDomain: Scalars['Boolean']['output'];
|
|
813
888
|
updateAttributionSource?: Maybe<User>;
|
|
889
|
+
updateBillType: BillAccount;
|
|
814
890
|
updateCurrentUser: User;
|
|
815
891
|
updateEntityAuthentication?: Maybe<MethodFiEntity>;
|
|
816
892
|
updateUserTimezone: User;
|
|
817
893
|
};
|
|
894
|
+
export declare type MutationAddAccountArgs = {
|
|
895
|
+
accountId: Scalars['String']['input'];
|
|
896
|
+
merchantId: Scalars['String']['input'];
|
|
897
|
+
type?: InputMaybe<BillType>;
|
|
898
|
+
};
|
|
818
899
|
export declare type MutationAddAffiliateReferralCodeArgs = {
|
|
819
900
|
referralCode: Scalars['String']['input'];
|
|
820
901
|
};
|
|
@@ -827,11 +908,6 @@ export declare type MutationAddSignupCodeArgs = {
|
|
|
827
908
|
export declare type MutationAddTransactionToDirectPaymentArgs = {
|
|
828
909
|
addTransactionToPaymentInput: AddTransactionToPaymentInput;
|
|
829
910
|
};
|
|
830
|
-
export declare type MutationAddUsBillArgs = {
|
|
831
|
-
accountNumber: Scalars['String']['input'];
|
|
832
|
-
institutionId: Scalars['String']['input'];
|
|
833
|
-
type?: InputMaybe<BillType>;
|
|
834
|
-
};
|
|
835
911
|
export declare type MutationAdminCreateDirectPaymentArgs = {
|
|
836
912
|
createDirectPaymentInput: CreateDirectPaymentInput;
|
|
837
913
|
userId: Scalars['String']['input'];
|
|
@@ -845,19 +921,21 @@ export declare type MutationAdminResyncUserProvidersArgs = {
|
|
|
845
921
|
export declare type MutationApprovePaymentReversalArgs = {
|
|
846
922
|
paymentId: Scalars['String']['input'];
|
|
847
923
|
};
|
|
848
|
-
export declare type MutationChangeBillTypeArgs = {
|
|
849
|
-
accountId: Scalars['String']['input'];
|
|
850
|
-
billType: BillType;
|
|
851
|
-
};
|
|
852
924
|
export declare type MutationCheckbookNotifyFundingArgs = {
|
|
853
925
|
notifyFundingInput: CheckbookNotifyFundingInput;
|
|
854
926
|
};
|
|
855
927
|
export declare type MutationCheckbookSendQueuedPaymentsArgs = {
|
|
856
928
|
checkbookSendQueuedPaymentsInput?: InputMaybe<CheckbookSendQueuedPaymentsInput>;
|
|
857
929
|
};
|
|
930
|
+
export declare type MutationConnectBillsArgs = {
|
|
931
|
+
accountIds: Array<Scalars['String']['input']>;
|
|
932
|
+
};
|
|
858
933
|
export declare type MutationCreateApiTokenForArgs = {
|
|
859
934
|
userId: Scalars['String']['input'];
|
|
860
935
|
};
|
|
936
|
+
export declare type MutationCreateCheckbookAccountArgs = {
|
|
937
|
+
createAccountInput: CreateAccountInput;
|
|
938
|
+
};
|
|
861
939
|
export declare type MutationCreateDirectPaymentArgs = {
|
|
862
940
|
createDirectPaymentInput: CreateDirectPaymentInput;
|
|
863
941
|
};
|
|
@@ -881,6 +959,13 @@ export declare type MutationCreateUsBankAccountArgs = {
|
|
|
881
959
|
export declare type MutationCreateUserArgs = {
|
|
882
960
|
createUser: CreateUserInput;
|
|
883
961
|
};
|
|
962
|
+
export declare type MutationDeleteBillArgs = {
|
|
963
|
+
accountId: Scalars['String']['input'];
|
|
964
|
+
provider?: InputMaybe<AccountProvider>;
|
|
965
|
+
};
|
|
966
|
+
export declare type MutationDeleteCheckbookAccountArgs = {
|
|
967
|
+
accountId: Scalars['String']['input'];
|
|
968
|
+
};
|
|
884
969
|
export declare type MutationDeleteDirectPaymentArgs = {
|
|
885
970
|
directPaymentId: Scalars['String']['input'];
|
|
886
971
|
};
|
|
@@ -893,6 +978,10 @@ export declare type MutationDeleteSubscriptionArgs = {
|
|
|
893
978
|
export declare type MutationDisableUserArgs = {
|
|
894
979
|
userId: Scalars['String']['input'];
|
|
895
980
|
};
|
|
981
|
+
export declare type MutationDisconnectBillArgs = {
|
|
982
|
+
accountId: Scalars['String']['input'];
|
|
983
|
+
provider?: InputMaybe<AccountProvider>;
|
|
984
|
+
};
|
|
896
985
|
export declare type MutationFlushBalancesArgs = {
|
|
897
986
|
addresses: Array<Scalars['String']['input']>;
|
|
898
987
|
};
|
|
@@ -925,6 +1014,15 @@ export declare type MutationRefundPaymentArgs = {
|
|
|
925
1014
|
export declare type MutationRefundPaymentWithCreditsArgs = {
|
|
926
1015
|
refundPaymentInput: RefundPaymentWithCreditsInput;
|
|
927
1016
|
};
|
|
1017
|
+
export declare type MutationRenameBillArgs = {
|
|
1018
|
+
accountId: Scalars['String']['input'];
|
|
1019
|
+
name: Scalars['String']['input'];
|
|
1020
|
+
provider?: InputMaybe<AccountProvider>;
|
|
1021
|
+
};
|
|
1022
|
+
export declare type MutationRenameCheckbookAccountArgs = {
|
|
1023
|
+
accountId: Scalars['String']['input'];
|
|
1024
|
+
name: Scalars['String']['input'];
|
|
1025
|
+
};
|
|
928
1026
|
export declare type MutationRenamePayableAccountArgs = {
|
|
929
1027
|
accountId: Scalars['String']['input'];
|
|
930
1028
|
name: Scalars['String']['input'];
|
|
@@ -939,15 +1037,15 @@ export declare type MutationRestartFlowArgs = {
|
|
|
939
1037
|
export declare type MutationResubmitEntityVerificationArgs = {
|
|
940
1038
|
userId: Scalars['String']['input'];
|
|
941
1039
|
};
|
|
1040
|
+
export declare type MutationResyncEntityAccountsArgs = {
|
|
1041
|
+
entityId: Scalars['String']['input'];
|
|
1042
|
+
};
|
|
942
1043
|
export declare type MutationRetrySubscriptionChargeArgs = {
|
|
943
1044
|
subscriptionId: Scalars['String']['input'];
|
|
944
1045
|
};
|
|
945
1046
|
export declare type MutationRevokeApiTokenArgs = {
|
|
946
1047
|
token: Scalars['String']['input'];
|
|
947
1048
|
};
|
|
948
|
-
export declare type MutationSetLiquidityLimitsArgs = {
|
|
949
|
-
limits: LiquidityLimitsInput;
|
|
950
|
-
};
|
|
951
1049
|
export declare type MutationSetupWalletArgs = {
|
|
952
1050
|
account?: InputMaybe<Scalars['String']['input']>;
|
|
953
1051
|
network: Scalars['String']['input'];
|
|
@@ -980,6 +1078,11 @@ export declare type MutationUpdateAppDomainArgs = {
|
|
|
980
1078
|
export declare type MutationUpdateAttributionSourceArgs = {
|
|
981
1079
|
attributionSource: Scalars['String']['input'];
|
|
982
1080
|
};
|
|
1081
|
+
export declare type MutationUpdateBillTypeArgs = {
|
|
1082
|
+
accountId: Scalars['String']['input'];
|
|
1083
|
+
provider?: InputMaybe<AccountProvider>;
|
|
1084
|
+
type: BillType;
|
|
1085
|
+
};
|
|
983
1086
|
export declare type MutationUpdateCurrentUserArgs = {
|
|
984
1087
|
userUpdate: UpdateCurrentUserInput;
|
|
985
1088
|
};
|
|
@@ -1018,20 +1121,15 @@ export declare type PayableAccount = {
|
|
|
1018
1121
|
createdAt: Scalars['DateTime']['output'];
|
|
1019
1122
|
currency: Scalars['String']['output'];
|
|
1020
1123
|
dataSync?: Maybe<AccountDataSync>;
|
|
1021
|
-
externalId?: Maybe<Scalars['String']['output']>;
|
|
1022
1124
|
id: Scalars['ID']['output'];
|
|
1023
1125
|
institution?: Maybe<PayableAccountInstitution>;
|
|
1024
1126
|
mask?: Maybe<Scalars['String']['output']>;
|
|
1025
1127
|
name?: Maybe<Scalars['String']['output']>;
|
|
1026
|
-
originalName?: Maybe<Scalars['String']['output']>;
|
|
1027
1128
|
originator: PayableAccountOriginator;
|
|
1028
1129
|
payable: Scalars['Boolean']['output'];
|
|
1029
1130
|
paymentCount?: Maybe<Scalars['Int']['output']>;
|
|
1030
|
-
testPaymentAvailable: Scalars['Boolean']['output'];
|
|
1031
1131
|
type: PayableAccountType;
|
|
1032
|
-
user: User;
|
|
1033
1132
|
userId: Scalars['String']['output'];
|
|
1034
|
-
verifying: Scalars['Boolean']['output'];
|
|
1035
1133
|
};
|
|
1036
1134
|
export declare type PayableAccountInstitution = {
|
|
1037
1135
|
country: Scalars['String']['output'];
|
|
@@ -1053,8 +1151,9 @@ export declare enum PayableAccountType {
|
|
|
1053
1151
|
export declare type Payment = {
|
|
1054
1152
|
__typename?: 'Payment';
|
|
1055
1153
|
account?: Maybe<BasicPayableAccount>;
|
|
1056
|
-
accountId
|
|
1154
|
+
accountId?: Maybe<Scalars['ObjectId']['output']>;
|
|
1057
1155
|
amount?: Maybe<Scalars['Float']['output']>;
|
|
1156
|
+
bill?: Maybe<BillAccount>;
|
|
1058
1157
|
createdAt: Scalars['DateTime']['output'];
|
|
1059
1158
|
deliveryDate?: Maybe<Scalars['DateTime']['output']>;
|
|
1060
1159
|
directPayment?: Maybe<DirectPayment>;
|
|
@@ -1063,6 +1162,7 @@ export declare type Payment = {
|
|
|
1063
1162
|
externalPaymentId?: Maybe<Scalars['ObjectId']['output']>;
|
|
1064
1163
|
feeAmount?: Maybe<Scalars['Float']['output']>;
|
|
1065
1164
|
id: Scalars['ID']['output'];
|
|
1165
|
+
paymentDestination?: Maybe<PaymentDestination>;
|
|
1066
1166
|
paymentProvider: PaymentProvider;
|
|
1067
1167
|
refund?: Maybe<PaymentRefund>;
|
|
1068
1168
|
rewardsAmount?: Maybe<Scalars['Float']['output']>;
|
|
@@ -1073,6 +1173,7 @@ export declare type Payment = {
|
|
|
1073
1173
|
user: User;
|
|
1074
1174
|
userId: Scalars['ObjectId']['output'];
|
|
1075
1175
|
};
|
|
1176
|
+
export declare type PaymentDestination = CheckbookAccount | CheckbookVirtualCard | MethodFiAccount;
|
|
1076
1177
|
export declare type PaymentEventToken = {
|
|
1077
1178
|
__typename?: 'PaymentEventToken';
|
|
1078
1179
|
address: Scalars['String']['output'];
|
|
@@ -1157,6 +1258,15 @@ export declare enum PaymentType {
|
|
|
1157
1258
|
DirectPayment = "DIRECT_PAYMENT",
|
|
1158
1259
|
ScheduledPayment = "SCHEDULED_PAYMENT"
|
|
1159
1260
|
}
|
|
1261
|
+
export declare type PopularBill = {
|
|
1262
|
+
__typename?: 'PopularBill';
|
|
1263
|
+
count: Scalars['Int']['output'];
|
|
1264
|
+
id: Scalars['ID']['output'];
|
|
1265
|
+
institution: BillAccountInstitution;
|
|
1266
|
+
merchantId: Scalars['String']['output'];
|
|
1267
|
+
name: Scalars['String']['output'];
|
|
1268
|
+
type: BillType;
|
|
1269
|
+
};
|
|
1160
1270
|
export declare type PricingUser = {
|
|
1161
1271
|
__typename?: 'PricingUser';
|
|
1162
1272
|
dailyLimit?: Maybe<Scalars['Float']['output']>;
|
|
@@ -1167,6 +1277,8 @@ export declare type PricingUser = {
|
|
|
1167
1277
|
};
|
|
1168
1278
|
export declare type Query = {
|
|
1169
1279
|
__typename?: 'Query';
|
|
1280
|
+
achInstitution?: Maybe<AchInstitution>;
|
|
1281
|
+
activeBills: Array<BillAccount>;
|
|
1170
1282
|
adminCheckbookVirtualCard?: Maybe<CheckbookVirtualCard>;
|
|
1171
1283
|
adminDirectPayment?: Maybe<DirectPayment>;
|
|
1172
1284
|
adminDirectPayments: Array<DirectPayment>;
|
|
@@ -1177,7 +1289,9 @@ export declare type Query = {
|
|
|
1177
1289
|
adminUtxoInvoices: Array<UtxoInvoice>;
|
|
1178
1290
|
apiTokens: Array<ApiToken>;
|
|
1179
1291
|
bankAccounts: Array<BankAccount>;
|
|
1180
|
-
|
|
1292
|
+
billAccounts: Array<BillAccount>;
|
|
1293
|
+
/** @deprecated Use billAccounts instead */
|
|
1294
|
+
bills: Array<BillAccount>;
|
|
1181
1295
|
brexBalance: BrexBalance;
|
|
1182
1296
|
checkbookPrefundedAccountBalance?: Maybe<Scalars['Float']['output']>;
|
|
1183
1297
|
checkbookVirtualCard?: Maybe<CheckbookVirtualCard>;
|
|
@@ -1185,12 +1299,12 @@ export declare type Query = {
|
|
|
1185
1299
|
circleBalances: CircleBalances;
|
|
1186
1300
|
coinbaseBalance: Scalars['Float']['output'];
|
|
1187
1301
|
cryptoExchangeRate: CryptoExchangeRate;
|
|
1188
|
-
/** @deprecated no longer in use */
|
|
1189
1302
|
directPayment?: Maybe<DirectPayment>;
|
|
1190
1303
|
directPayments: Array<DirectPayment>;
|
|
1191
1304
|
findByWalletAddress: Array<User>;
|
|
1192
1305
|
gasPrice?: Maybe<GasPrice>;
|
|
1193
1306
|
getMethodFiAuthToken?: Maybe<Scalars['String']['output']>;
|
|
1307
|
+
getPayableAccounts: Array<BasicPayableAccount>;
|
|
1194
1308
|
getSpritzSourceAccount?: Maybe<MethodFiAccount>;
|
|
1195
1309
|
getUser: User;
|
|
1196
1310
|
getUserByEmail: User;
|
|
@@ -1198,12 +1312,9 @@ export declare type Query = {
|
|
|
1198
1312
|
getUsers: Array<User>;
|
|
1199
1313
|
growsurfParticipant?: Maybe<GrowsurfParticipant>;
|
|
1200
1314
|
growsurfSecret?: Maybe<Scalars['String']['output']>;
|
|
1201
|
-
/** @deprecated No longer used */
|
|
1202
1315
|
hasBillPayPayments: Scalars['Boolean']['output'];
|
|
1203
|
-
/** @deprecated No longer used */
|
|
1204
1316
|
hasPayments: Scalars['Boolean']['output'];
|
|
1205
1317
|
integrators: Array<Integrator>;
|
|
1206
|
-
liquidityLimits: LiquidityLimits;
|
|
1207
1318
|
me: User;
|
|
1208
1319
|
memberStats?: Maybe<MemberReferralStats>;
|
|
1209
1320
|
merchants: Array<MethodFiMerchant>;
|
|
@@ -1214,7 +1325,6 @@ export declare type Query = {
|
|
|
1214
1325
|
methodFiEntity?: Maybe<MethodFiEntity>;
|
|
1215
1326
|
methodFiWebhooks: Array<MethodFiWebhook>;
|
|
1216
1327
|
notifications: Array<UserNotification>;
|
|
1217
|
-
/** @deprecated no longer in use */
|
|
1218
1328
|
outstandingDirectPayments: Array<DirectPayment>;
|
|
1219
1329
|
paginatedRewardTransactions: PaginatedRewardTransaction;
|
|
1220
1330
|
payableAccounts: Array<PayableAccount>;
|
|
@@ -1225,15 +1335,15 @@ export declare type Query = {
|
|
|
1225
1335
|
payments: Array<Payment>;
|
|
1226
1336
|
paymentsForAccount: Array<Payment>;
|
|
1227
1337
|
paymentsInProgress: Array<Payment>;
|
|
1228
|
-
|
|
1229
|
-
|
|
1338
|
+
pendingActivationBills: Array<BillAccount>;
|
|
1339
|
+
popularBills: Array<PopularBill>;
|
|
1340
|
+
popularMerchants: Array<MethodFiMerchant>;
|
|
1230
1341
|
referralStats?: Maybe<GrowsurfReferralStats>;
|
|
1231
1342
|
reversals: MethodFiReversal;
|
|
1232
1343
|
rewardsBalance: Scalars['Float']['output'];
|
|
1233
1344
|
rewardTransactions: Array<RewardTransaction>;
|
|
1234
1345
|
scheduledPayments: Array<Payment>;
|
|
1235
1346
|
sdkConfig: Array<Scalars['String']['output']>;
|
|
1236
|
-
searchUSBillInstitutions: Array<BillInstitution>;
|
|
1237
1347
|
spritzPayParams: PaymentParams;
|
|
1238
1348
|
subscriptions: Array<PaymentSubscription>;
|
|
1239
1349
|
tokenBalances: Array<TokenBalance>;
|
|
@@ -1241,16 +1351,14 @@ export declare type Query = {
|
|
|
1241
1351
|
transactionPrice: Scalars['Float']['output'];
|
|
1242
1352
|
transactions: Array<Transaction>;
|
|
1243
1353
|
transactionVolume: Scalars['Float']['output'];
|
|
1244
|
-
tronBalance: Array<TronBalance>;
|
|
1245
|
-
usBankAccountInstitution?: Maybe<BankAccountInstitution>;
|
|
1246
1354
|
/** @deprecated Use bankAccounts instead */
|
|
1247
1355
|
userBankAccounts: Array<BankAccount>;
|
|
1356
|
+
userBills: Array<BillAccount>;
|
|
1248
1357
|
userPayableAccounts: Array<PayableAccount>;
|
|
1249
1358
|
userPayment: Payment;
|
|
1250
1359
|
userPayments: Array<Payment>;
|
|
1251
1360
|
userUpcomingPayments: Array<Payment>;
|
|
1252
1361
|
userVerification?: Maybe<Verification>;
|
|
1253
|
-
userVirtualDebitCard?: Maybe<VirtualCard>;
|
|
1254
1362
|
utxoBalance: UtxoBalance;
|
|
1255
1363
|
validateReferralCode: Scalars['Boolean']['output'];
|
|
1256
1364
|
verification?: Maybe<Verification>;
|
|
@@ -1262,6 +1370,9 @@ export declare type Query = {
|
|
|
1262
1370
|
virtualCards: Array<CheckbookVirtualCard>;
|
|
1263
1371
|
virtualDebitCard?: Maybe<VirtualCard>;
|
|
1264
1372
|
};
|
|
1373
|
+
export declare type QueryAchInstitutionArgs = {
|
|
1374
|
+
routingNumber: Scalars['String']['input'];
|
|
1375
|
+
};
|
|
1265
1376
|
export declare type QueryAdminCheckbookVirtualCardArgs = {
|
|
1266
1377
|
userId: Scalars['String']['input'];
|
|
1267
1378
|
};
|
|
@@ -1304,6 +1415,9 @@ export declare type QueryFindByWalletAddressArgs = {
|
|
|
1304
1415
|
export declare type QueryGasPriceArgs = {
|
|
1305
1416
|
network: Scalars['String']['input'];
|
|
1306
1417
|
};
|
|
1418
|
+
export declare type QueryGetPayableAccountsArgs = {
|
|
1419
|
+
accountIds: Array<Scalars['String']['input']>;
|
|
1420
|
+
};
|
|
1307
1421
|
export declare type QueryGetUserArgs = {
|
|
1308
1422
|
userId: Scalars['String']['input'];
|
|
1309
1423
|
};
|
|
@@ -1348,12 +1462,8 @@ export declare type QueryPaymentsArgs = {
|
|
|
1348
1462
|
export declare type QueryPaymentsForAccountArgs = {
|
|
1349
1463
|
accountId: Scalars['String']['input'];
|
|
1350
1464
|
};
|
|
1351
|
-
export declare type
|
|
1352
|
-
|
|
1353
|
-
};
|
|
1354
|
-
export declare type QuerySearchUsBillInstitutionsArgs = {
|
|
1355
|
-
billType?: InputMaybe<BillType>;
|
|
1356
|
-
searchTerm: Scalars['String']['input'];
|
|
1465
|
+
export declare type QueryPopularMerchantsArgs = {
|
|
1466
|
+
type?: InputMaybe<BillType>;
|
|
1357
1467
|
};
|
|
1358
1468
|
export declare type QuerySpritzPayParamsArgs = {
|
|
1359
1469
|
amount: Scalars['Float']['input'];
|
|
@@ -1375,11 +1485,8 @@ export declare type QueryTransactionPriceArgs = {
|
|
|
1375
1485
|
export declare type QueryTransactionsArgs = {
|
|
1376
1486
|
address: Scalars['String']['input'];
|
|
1377
1487
|
};
|
|
1378
|
-
export declare type
|
|
1379
|
-
|
|
1380
|
-
};
|
|
1381
|
-
export declare type QueryUsBankAccountInstitutionArgs = {
|
|
1382
|
-
routingNumber: Scalars['String']['input'];
|
|
1488
|
+
export declare type QueryUserBillsArgs = {
|
|
1489
|
+
userId: Scalars['String']['input'];
|
|
1383
1490
|
};
|
|
1384
1491
|
export declare type QueryUserPayableAccountsArgs = {
|
|
1385
1492
|
userId: Scalars['String']['input'];
|
|
@@ -1396,9 +1503,6 @@ export declare type QueryUserUpcomingPaymentsArgs = {
|
|
|
1396
1503
|
export declare type QueryUserVerificationArgs = {
|
|
1397
1504
|
userId: Scalars['String']['input'];
|
|
1398
1505
|
};
|
|
1399
|
-
export declare type QueryUserVirtualDebitCardArgs = {
|
|
1400
|
-
userId: Scalars['String']['input'];
|
|
1401
|
-
};
|
|
1402
1506
|
export declare type QueryUtxoBalanceArgs = {
|
|
1403
1507
|
address: Scalars['String']['input'];
|
|
1404
1508
|
network: Scalars['String']['input'];
|
|
@@ -1564,13 +1668,6 @@ export declare type TransactionLog = {
|
|
|
1564
1668
|
transactionHash?: Maybe<Scalars['String']['output']>;
|
|
1565
1669
|
transactionIndex?: Maybe<Scalars['String']['output']>;
|
|
1566
1670
|
};
|
|
1567
|
-
export declare type TronBalance = {
|
|
1568
|
-
__typename?: 'TronBalance';
|
|
1569
|
-
address: Scalars['String']['output'];
|
|
1570
|
-
amount: Scalars['Float']['output'];
|
|
1571
|
-
tokenAddress: Scalars['String']['output'];
|
|
1572
|
-
tokenSymbol: Scalars['String']['output'];
|
|
1573
|
-
};
|
|
1574
1671
|
/** Fields to update on userClient */
|
|
1575
1672
|
export declare type UpdateCurrentUserInput = {
|
|
1576
1673
|
dob?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -1655,15 +1752,13 @@ export declare type UtxoInvoice = {
|
|
|
1655
1752
|
network: Scalars['String']['output'];
|
|
1656
1753
|
paymentReference: Scalars['ObjectId']['output'];
|
|
1657
1754
|
status: UtxoInvoiceStatus;
|
|
1658
|
-
symbol?: Maybe<Scalars['String']['output']>;
|
|
1659
1755
|
tokenAddress?: Maybe<Scalars['String']['output']>;
|
|
1660
1756
|
transaction?: Maybe<UtxoTransaction>;
|
|
1661
1757
|
};
|
|
1662
1758
|
export declare enum UtxoInvoiceStatus {
|
|
1663
1759
|
Confirmed = "CONFIRMED",
|
|
1664
1760
|
Created = "CREATED",
|
|
1665
|
-
Pending = "PENDING"
|
|
1666
|
-
Transferred = "TRANSFERRED"
|
|
1761
|
+
Pending = "PENDING"
|
|
1667
1762
|
}
|
|
1668
1763
|
export declare type UtxoTransaction = {
|
|
1669
1764
|
__typename?: 'UtxoTransaction';
|
|
@@ -1694,21 +1789,16 @@ export declare type VirtualCard = PayableAccount & {
|
|
|
1694
1789
|
createdAt: Scalars['DateTime']['output'];
|
|
1695
1790
|
currency: Scalars['String']['output'];
|
|
1696
1791
|
dataSync?: Maybe<AccountDataSync>;
|
|
1697
|
-
externalId?: Maybe<Scalars['String']['output']>;
|
|
1698
1792
|
id: Scalars['ID']['output'];
|
|
1699
1793
|
institution?: Maybe<PayableAccountInstitution>;
|
|
1700
1794
|
mask?: Maybe<Scalars['String']['output']>;
|
|
1701
1795
|
name?: Maybe<Scalars['String']['output']>;
|
|
1702
|
-
originalName?: Maybe<Scalars['String']['output']>;
|
|
1703
1796
|
originator: PayableAccountOriginator;
|
|
1704
1797
|
payable: Scalars['Boolean']['output'];
|
|
1705
1798
|
paymentCount?: Maybe<Scalars['Int']['output']>;
|
|
1706
1799
|
renderSecret?: Maybe<Scalars['String']['output']>;
|
|
1707
|
-
testPaymentAvailable: Scalars['Boolean']['output'];
|
|
1708
1800
|
type: PayableAccountType;
|
|
1709
|
-
user: User;
|
|
1710
1801
|
userId: Scalars['String']['output'];
|
|
1711
|
-
verifying: Scalars['Boolean']['output'];
|
|
1712
1802
|
virtualCardType: VirtualCardType;
|
|
1713
1803
|
};
|
|
1714
1804
|
export declare type VirtualCardModule = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.VirtualCardType = exports.UtxoInvoiceStatus = exports.SubscriptionType = exports.SubscriptionFrequency = exports.SubscriptionErrorType = exports.RewardTransactionType = exports.RewardProvider = exports.RewardCreditSource = exports.PaymentType = exports.PaymentStatus = exports.PaymentProvider = exports.PayableAccountType = exports.PayableAccountOriginator = exports.Network = exports.ModuleStatus = exports.DirectPaymentTransactionReferenceStatus = exports.DirectPaymentStatus = exports.CheckbookPaymentStatus = exports.BillType = exports.BasicPayableAccountType = exports.BankAccountType = exports.BankAccountSubType = exports.AppDomain = exports.AccountSyncStatus = exports.AccountProvider = exports.AccountPaymentType = void 0;
|
|
3
|
+
exports.VirtualCardType = exports.UtxoInvoiceStatus = exports.SubscriptionType = exports.SubscriptionFrequency = exports.SubscriptionErrorType = exports.RewardTransactionType = exports.RewardProvider = exports.RewardCreditSource = exports.PaymentType = exports.PaymentStatus = exports.PaymentProvider = exports.PayableAccountType = exports.PayableAccountOriginator = exports.Network = exports.ModuleStatus = exports.DirectPaymentTransactionReferenceStatus = exports.DirectPaymentStatus = exports.CheckbookPaymentStatus = exports.BillType = exports.BillSyncStatus = exports.BasicPayableAccountType = exports.BankAccountType = exports.BankAccountSubType = exports.AppDomain = exports.AccountType = exports.AccountSyncStatus = exports.AccountProvider = exports.AccountPaymentType = void 0;
|
|
4
4
|
var AccountPaymentType;
|
|
5
5
|
(function (AccountPaymentType) {
|
|
6
6
|
AccountPaymentType["UsBill"] = "US_BILL";
|
|
@@ -18,6 +18,12 @@ var AccountSyncStatus;
|
|
|
18
18
|
AccountSyncStatus["Syncing"] = "Syncing";
|
|
19
19
|
AccountSyncStatus["Unavailable"] = "Unavailable";
|
|
20
20
|
})(AccountSyncStatus = exports.AccountSyncStatus || (exports.AccountSyncStatus = {}));
|
|
21
|
+
var AccountType;
|
|
22
|
+
(function (AccountType) {
|
|
23
|
+
AccountType["Business"] = "BUSINESS";
|
|
24
|
+
AccountType["Checking"] = "CHECKING";
|
|
25
|
+
AccountType["Savings"] = "SAVINGS";
|
|
26
|
+
})(AccountType = exports.AccountType || (exports.AccountType = {}));
|
|
21
27
|
var AppDomain;
|
|
22
28
|
(function (AppDomain) {
|
|
23
29
|
AppDomain["Quickswap"] = "QUICKSWAP";
|
|
@@ -40,6 +46,13 @@ var BasicPayableAccountType;
|
|
|
40
46
|
BasicPayableAccountType["PayOthers"] = "PAY_OTHERS";
|
|
41
47
|
BasicPayableAccountType["SpritzCard"] = "SPRITZ_CARD";
|
|
42
48
|
})(BasicPayableAccountType = exports.BasicPayableAccountType || (exports.BasicPayableAccountType = {}));
|
|
49
|
+
var BillSyncStatus;
|
|
50
|
+
(function (BillSyncStatus) {
|
|
51
|
+
BillSyncStatus["Complete"] = "Complete";
|
|
52
|
+
BillSyncStatus["Error"] = "Error";
|
|
53
|
+
BillSyncStatus["InProgress"] = "InProgress";
|
|
54
|
+
BillSyncStatus["Unavailable"] = "Unavailable";
|
|
55
|
+
})(BillSyncStatus = exports.BillSyncStatus || (exports.BillSyncStatus = {}));
|
|
43
56
|
var BillType;
|
|
44
57
|
(function (BillType) {
|
|
45
58
|
BillType["AutoLoan"] = "AutoLoan";
|
|
@@ -183,7 +196,6 @@ var UtxoInvoiceStatus;
|
|
|
183
196
|
UtxoInvoiceStatus["Confirmed"] = "CONFIRMED";
|
|
184
197
|
UtxoInvoiceStatus["Created"] = "CREATED";
|
|
185
198
|
UtxoInvoiceStatus["Pending"] = "PENDING";
|
|
186
|
-
UtxoInvoiceStatus["Transferred"] = "TRANSFERRED";
|
|
187
199
|
})(UtxoInvoiceStatus = exports.UtxoInvoiceStatus || (exports.UtxoInvoiceStatus = {}));
|
|
188
200
|
var VirtualCardType;
|
|
189
201
|
(function (VirtualCardType) {
|
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.65",
|
|
4
4
|
"description": "Service client",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
],
|
|
10
10
|
"scripts": {
|
|
11
11
|
"prebuild": "rimraf lib/*",
|
|
12
|
+
"prepare": "npm run build",
|
|
12
13
|
"test": "jest",
|
|
13
14
|
"build": "tsc",
|
|
14
15
|
"lint": "eslint \"src/**/*.ts\"",
|