@soltech/fluid-common 1.4.7 → 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 CHANGED
@@ -15,11 +15,11 @@ export declare enum TraitType {
15
15
  SOUND = "SOUND"
16
16
  }
17
17
  export declare enum PaymentType {
18
- APPLE_PAY = "ApplePay",
19
18
  BANK_TRANSFER = "BankTransfer",
20
19
  CREDIT_CARD = "CreditCard",
21
20
  CRYPTO = "Crypto",
22
- EWALLET = "EWallet"
21
+ EWALLET = "EWallet",
22
+ VOUCHER = "Voucher"
23
23
  }
24
24
  export declare enum WindowRedirectType {
25
25
  POPUP_WINDOW = "popupWindow",
@@ -237,6 +237,9 @@ export interface EWalletTransactionParams extends TransactionParams {
237
237
  beneficiaryName?: string;
238
238
  userAccountId?: string;
239
239
  }
240
+ export interface VoucherTransactionParams extends TransactionParams {
241
+ [key: string]: string | number | undefined;
242
+ }
240
243
  export interface TransactionOptions {
241
244
  bonusCode?: string;
242
245
  activityId?: string;
package/lib/index.js CHANGED
@@ -19,11 +19,11 @@ export var TraitType;
19
19
  })(TraitType || (TraitType = {}));
20
20
  export var PaymentType;
21
21
  (function (PaymentType) {
22
- PaymentType["APPLE_PAY"] = "ApplePay";
23
22
  PaymentType["BANK_TRANSFER"] = "BankTransfer";
24
23
  PaymentType["CREDIT_CARD"] = "CreditCard";
25
24
  PaymentType["CRYPTO"] = "Crypto";
26
25
  PaymentType["EWALLET"] = "EWallet";
26
+ PaymentType["VOUCHER"] = "Voucher";
27
27
  })(PaymentType || (PaymentType = {}));
28
28
  export var WindowRedirectType;
29
29
  (function (WindowRedirectType) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "1.4.7",
3
+ "version": "1.4.9",
4
4
  "type": "module",
5
5
  "description": "Fluid frontend, API and AI common interfaces & enums",
6
6
  "main": "lib/index.js",
package/src/index.ts CHANGED
@@ -18,11 +18,11 @@ export enum TraitType {
18
18
  }
19
19
 
20
20
  export enum PaymentType {
21
- APPLE_PAY = 'ApplePay',
22
21
  BANK_TRANSFER = 'BankTransfer',
23
22
  CREDIT_CARD = 'CreditCard',
24
23
  CRYPTO = 'Crypto',
25
- EWALLET = 'EWallet'
24
+ EWALLET = 'EWallet',
25
+ VOUCHER = 'Voucher'
26
26
  }
27
27
 
28
28
  export enum WindowRedirectType {
@@ -267,6 +267,10 @@ export interface EWalletTransactionParams extends TransactionParams {
267
267
  userAccountId?: string;
268
268
  }
269
269
 
270
+ export interface VoucherTransactionParams extends TransactionParams {
271
+ [key: string]: string | number | undefined;
272
+ }
273
+
270
274
  export interface TransactionOptions {
271
275
  bonusCode?: string;
272
276
  activityId?: string;