@soltech/fluid-common 1.4.8 → 1.4.9
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 +5 -3
- package/lib/index.js +1 -0
- package/package.json +1 -1
- package/src/index.ts +6 -3
package/lib/index.d.ts
CHANGED
|
@@ -18,7 +18,8 @@ export declare enum PaymentType {
|
|
|
18
18
|
BANK_TRANSFER = "BankTransfer",
|
|
19
19
|
CREDIT_CARD = "CreditCard",
|
|
20
20
|
CRYPTO = "Crypto",
|
|
21
|
-
EWALLET = "EWallet"
|
|
21
|
+
EWALLET = "EWallet",
|
|
22
|
+
VOUCHER = "Voucher"
|
|
22
23
|
}
|
|
23
24
|
export declare enum WindowRedirectType {
|
|
24
25
|
POPUP_WINDOW = "popupWindow",
|
|
@@ -172,8 +173,6 @@ export interface InputField {
|
|
|
172
173
|
export interface InputFieldOption {
|
|
173
174
|
label: string;
|
|
174
175
|
code: string;
|
|
175
|
-
relatesTo?: string;
|
|
176
|
-
showForValues?: string[];
|
|
177
176
|
}
|
|
178
177
|
export declare enum RecentMethodMaskedAccountFormat {
|
|
179
178
|
DEFAULT = "Default",
|
|
@@ -238,6 +237,9 @@ export interface EWalletTransactionParams extends TransactionParams {
|
|
|
238
237
|
beneficiaryName?: string;
|
|
239
238
|
userAccountId?: string;
|
|
240
239
|
}
|
|
240
|
+
export interface VoucherTransactionParams extends TransactionParams {
|
|
241
|
+
[key: string]: string | number | undefined;
|
|
242
|
+
}
|
|
241
243
|
export interface TransactionOptions {
|
|
242
244
|
bonusCode?: string;
|
|
243
245
|
activityId?: string;
|
package/lib/index.js
CHANGED
|
@@ -23,6 +23,7 @@ export var PaymentType;
|
|
|
23
23
|
PaymentType["CREDIT_CARD"] = "CreditCard";
|
|
24
24
|
PaymentType["CRYPTO"] = "Crypto";
|
|
25
25
|
PaymentType["EWALLET"] = "EWallet";
|
|
26
|
+
PaymentType["VOUCHER"] = "Voucher";
|
|
26
27
|
})(PaymentType || (PaymentType = {}));
|
|
27
28
|
export var WindowRedirectType;
|
|
28
29
|
(function (WindowRedirectType) {
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -21,7 +21,8 @@ export enum PaymentType {
|
|
|
21
21
|
BANK_TRANSFER = 'BankTransfer',
|
|
22
22
|
CREDIT_CARD = 'CreditCard',
|
|
23
23
|
CRYPTO = 'Crypto',
|
|
24
|
-
EWALLET = 'EWallet'
|
|
24
|
+
EWALLET = 'EWallet',
|
|
25
|
+
VOUCHER = 'Voucher'
|
|
25
26
|
}
|
|
26
27
|
|
|
27
28
|
export enum WindowRedirectType {
|
|
@@ -194,8 +195,6 @@ export interface InputField {
|
|
|
194
195
|
export interface InputFieldOption {
|
|
195
196
|
label: string;
|
|
196
197
|
code: string;
|
|
197
|
-
relatesTo?: string;
|
|
198
|
-
showForValues?: string[];
|
|
199
198
|
}
|
|
200
199
|
|
|
201
200
|
export enum RecentMethodMaskedAccountFormat {
|
|
@@ -268,6 +267,10 @@ export interface EWalletTransactionParams extends TransactionParams {
|
|
|
268
267
|
userAccountId?: string;
|
|
269
268
|
}
|
|
270
269
|
|
|
270
|
+
export interface VoucherTransactionParams extends TransactionParams {
|
|
271
|
+
[key: string]: string | number | undefined;
|
|
272
|
+
}
|
|
273
|
+
|
|
271
274
|
export interface TransactionOptions {
|
|
272
275
|
bonusCode?: string;
|
|
273
276
|
activityId?: string;
|