@soltech/fluid-common 0.4.5 → 0.4.6
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/index.d.ts +2 -4
- package/lib/index.js +0 -1
- package/package.json +1 -1
- package/src/index.ts +2 -4
package/lib/index.d.ts
CHANGED
|
@@ -16,8 +16,7 @@ export declare enum PaymentType {
|
|
|
16
16
|
BANK_TRANSFER = "BankTransfer",
|
|
17
17
|
CREDIT_CARD = "CreditCard",
|
|
18
18
|
CRYPTO = "Crypto",
|
|
19
|
-
EWALLET = "EWallet"
|
|
20
|
-
WEBREDIRECT = "WebRedirect"
|
|
19
|
+
EWALLET = "EWallet"
|
|
21
20
|
}
|
|
22
21
|
export interface WalletRequestBody {
|
|
23
22
|
payload?: object | string;
|
|
@@ -78,7 +77,7 @@ export interface InputField {
|
|
|
78
77
|
options: InputFieldOption[];
|
|
79
78
|
}
|
|
80
79
|
export interface InputFieldOption {
|
|
81
|
-
|
|
80
|
+
name: string;
|
|
82
81
|
code: string;
|
|
83
82
|
logo?: PaymentMethodLogo;
|
|
84
83
|
}
|
|
@@ -127,7 +126,6 @@ export interface CryptoTransactionParams extends TransactionParams {
|
|
|
127
126
|
export interface EWalletTransactionParams extends TransactionParams {
|
|
128
127
|
customerNumber?: string;
|
|
129
128
|
email?: string;
|
|
130
|
-
phoneNumber?: string;
|
|
131
129
|
service?: string;
|
|
132
130
|
}
|
|
133
131
|
export interface TransactionOptions {
|
package/lib/index.js
CHANGED
|
@@ -21,7 +21,6 @@ export var PaymentType;
|
|
|
21
21
|
PaymentType["CREDIT_CARD"] = "CreditCard";
|
|
22
22
|
PaymentType["CRYPTO"] = "Crypto";
|
|
23
23
|
PaymentType["EWALLET"] = "EWallet";
|
|
24
|
-
PaymentType["WEBREDIRECT"] = "WebRedirect";
|
|
25
24
|
})(PaymentType || (PaymentType = {}));
|
|
26
25
|
export var TransactionState;
|
|
27
26
|
(function (TransactionState) {
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -20,8 +20,7 @@ export enum PaymentType {
|
|
|
20
20
|
BANK_TRANSFER = 'BankTransfer',
|
|
21
21
|
CREDIT_CARD = 'CreditCard',
|
|
22
22
|
CRYPTO = 'Crypto',
|
|
23
|
-
EWALLET = 'EWallet'
|
|
24
|
-
WEBREDIRECT = 'WebRedirect'
|
|
23
|
+
EWALLET = 'EWallet'
|
|
25
24
|
}
|
|
26
25
|
|
|
27
26
|
export interface WalletRequestBody {
|
|
@@ -92,7 +91,7 @@ export interface InputField {
|
|
|
92
91
|
}
|
|
93
92
|
|
|
94
93
|
export interface InputFieldOption {
|
|
95
|
-
|
|
94
|
+
name: string;
|
|
96
95
|
code: string;
|
|
97
96
|
logo?: PaymentMethodLogo;
|
|
98
97
|
}
|
|
@@ -147,7 +146,6 @@ export interface CryptoTransactionParams extends TransactionParams {
|
|
|
147
146
|
export interface EWalletTransactionParams extends TransactionParams {
|
|
148
147
|
customerNumber?: string;
|
|
149
148
|
email?: string;
|
|
150
|
-
phoneNumber?: string;
|
|
151
149
|
service?: string;
|
|
152
150
|
}
|
|
153
151
|
|