@spritz-finance/api-client 0.4.21 → 0.4.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +34 -1
- package/dist/spritz-api-client.cjs +62 -62
- package/dist/spritz-api-client.d.ts +11 -5
- package/dist/spritz-api-client.mjs +62 -62
- package/package.json +1 -1
|
@@ -61,6 +61,7 @@ declare enum ModuleStatus {
|
|
|
61
61
|
LOADING = "LOADING",
|
|
62
62
|
RETRY = "RETRY",
|
|
63
63
|
UNAVAILABLE = "UNAVAILABLE",
|
|
64
|
+
UNDER_REVIEW = "UNDER_REVIEW",
|
|
64
65
|
UNINITIALIZED = "UNINITIALIZED"
|
|
65
66
|
}
|
|
66
67
|
declare enum OnrampPaymentStatus {
|
|
@@ -82,6 +83,7 @@ declare enum PayableAccountType {
|
|
|
82
83
|
Bill = "Bill",
|
|
83
84
|
DebitCard = "DebitCard",
|
|
84
85
|
DigitalAccount = "DigitalAccount",
|
|
86
|
+
OneTimePayment = "OneTimePayment",
|
|
85
87
|
VirtualCard = "VirtualCard"
|
|
86
88
|
}
|
|
87
89
|
declare enum PaymentDeliveryMethod {
|
|
@@ -133,9 +135,12 @@ interface CreateDirectPaymentInput {
|
|
|
133
135
|
network: string;
|
|
134
136
|
pointsRedemptionId?: string | null;
|
|
135
137
|
paymentNote?: string | null;
|
|
138
|
+
feeSubsidyPercentage?: string | null;
|
|
139
|
+
maxFeeSubsidyAmount?: string | null;
|
|
136
140
|
paymentStrategy?: string | null;
|
|
137
141
|
deliveryMethod?: PaymentDeliveryMethod | null;
|
|
138
142
|
amountMode?: AmountMode | null;
|
|
143
|
+
integratorId?: string | null;
|
|
139
144
|
}
|
|
140
145
|
interface CreateOnrampPaymentInput {
|
|
141
146
|
amount: number;
|
|
@@ -398,7 +403,6 @@ interface GetSpritzPayParams_spritzPayParams {
|
|
|
398
403
|
calldata: string;
|
|
399
404
|
value: string | null;
|
|
400
405
|
requiredTokenInput: string;
|
|
401
|
-
suggestedGasLimit: string | null;
|
|
402
406
|
}
|
|
403
407
|
interface GetSpritzPayParams {
|
|
404
408
|
spritzPayParams: GetSpritzPayParams_spritzPayParams;
|
|
@@ -475,7 +479,7 @@ interface PayableAccountFragment_DebitCard_institution {
|
|
|
475
479
|
logo: string | null;
|
|
476
480
|
}
|
|
477
481
|
interface PayableAccountFragment_DebitCard {
|
|
478
|
-
__typename: 'DebitCard' | 'DigitalAccount';
|
|
482
|
+
__typename: 'DebitCard' | 'DigitalAccount' | 'OneTimePayment';
|
|
479
483
|
id: string;
|
|
480
484
|
name: string | null;
|
|
481
485
|
userId: string;
|
|
@@ -698,6 +702,7 @@ interface PaymentRequestFragment {
|
|
|
698
702
|
targetCurrency: string | null;
|
|
699
703
|
targetCurrencyAmount: number;
|
|
700
704
|
targetCurrencyRate: number;
|
|
705
|
+
feeSubsidyAmount: number | null;
|
|
701
706
|
}
|
|
702
707
|
|
|
703
708
|
interface PaymentRequestPayment_paymentForPaymentRequest_transaction {
|
|
@@ -973,7 +978,7 @@ interface UserPayableAccounts_payableAccounts_DebitCard_institution {
|
|
|
973
978
|
logo: string | null;
|
|
974
979
|
}
|
|
975
980
|
interface UserPayableAccounts_payableAccounts_DebitCard {
|
|
976
|
-
__typename: 'DebitCard' | 'DigitalAccount';
|
|
981
|
+
__typename: 'DebitCard' | 'DigitalAccount' | 'OneTimePayment';
|
|
977
982
|
id: string;
|
|
978
983
|
name: string | null;
|
|
979
984
|
userId: string;
|
|
@@ -1342,7 +1347,7 @@ interface DeletePayableAccount_deletePayableAccount_DebitCard_institution {
|
|
|
1342
1347
|
logo: string | null;
|
|
1343
1348
|
}
|
|
1344
1349
|
interface DeletePayableAccount_deletePayableAccount_DebitCard {
|
|
1345
|
-
__typename: 'DebitCard' | 'DigitalAccount';
|
|
1350
|
+
__typename: 'DebitCard' | 'DigitalAccount' | 'OneTimePayment';
|
|
1346
1351
|
id: string;
|
|
1347
1352
|
name: string | null;
|
|
1348
1353
|
userId: string;
|
|
@@ -1437,7 +1442,7 @@ interface DeletePayableAccount_deletePayableAccount_Bill {
|
|
|
1437
1442
|
}
|
|
1438
1443
|
|
|
1439
1444
|
interface RenameBankAccount_renamePayableAccount_Bill {
|
|
1440
|
-
__typename: 'Bill' | 'DebitCard' | 'DigitalAccount' | 'VirtualCard';
|
|
1445
|
+
__typename: 'Bill' | 'DebitCard' | 'DigitalAccount' | 'OneTimePayment' | 'VirtualCard';
|
|
1441
1446
|
}
|
|
1442
1447
|
interface RenameBankAccount_renamePayableAccount_BankAccount_bankAccountDetails_CanadianBankAccountDetails {
|
|
1443
1448
|
__typename: 'CanadianBankAccountDetails' | 'UKBankAccountDetails' | 'IBANBankAccountDetails';
|
|
@@ -1802,6 +1807,7 @@ interface CreatePaymentRequest_createDirectPayment {
|
|
|
1802
1807
|
targetCurrency: string | null;
|
|
1803
1808
|
targetCurrencyAmount: number;
|
|
1804
1809
|
targetCurrencyRate: number;
|
|
1810
|
+
feeSubsidyAmount: number | null;
|
|
1805
1811
|
}
|
|
1806
1812
|
|
|
1807
1813
|
type PaymentRequest = CreatePaymentRequest_createDirectPayment;
|