@soltech/fluid-common 1.4.10 → 1.5.0

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,10 +15,12 @@ export declare enum TraitType {
15
15
  SOUND = "SOUND"
16
16
  }
17
17
  export declare enum PaymentType {
18
+ APPLE_PAY = "ApplePay",
18
19
  BANK_TRANSFER = "BankTransfer",
19
20
  CREDIT_CARD = "CreditCard",
20
21
  CRYPTO = "Crypto",
21
- EWALLET = "EWallet"
22
+ EWALLET = "EWallet",
23
+ VOUCHER = "Voucher"
22
24
  }
23
25
  export declare enum WindowRedirectType {
24
26
  POPUP_WINDOW = "popupWindow",
@@ -238,6 +240,9 @@ export interface EWalletTransactionParams extends TransactionParams {
238
240
  beneficiaryName?: string;
239
241
  userAccountId?: string;
240
242
  }
243
+ export interface VoucherTransactionParams extends TransactionParams {
244
+ [key: string]: string | number | undefined;
245
+ }
241
246
  export interface TransactionOptions {
242
247
  bonusCode?: string;
243
248
  activityId?: string;
package/lib/index.js CHANGED
@@ -19,10 +19,12 @@ export var TraitType;
19
19
  })(TraitType || (TraitType = {}));
20
20
  export var PaymentType;
21
21
  (function (PaymentType) {
22
+ PaymentType["APPLE_PAY"] = "ApplePay";
22
23
  PaymentType["BANK_TRANSFER"] = "BankTransfer";
23
24
  PaymentType["CREDIT_CARD"] = "CreditCard";
24
25
  PaymentType["CRYPTO"] = "Crypto";
25
26
  PaymentType["EWALLET"] = "EWallet";
27
+ PaymentType["VOUCHER"] = "Voucher";
26
28
  })(PaymentType || (PaymentType = {}));
27
29
  export var WindowRedirectType;
28
30
  (function (WindowRedirectType) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "1.4.10",
3
+ "version": "1.5.0",
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
@@ -196,6 +196,8 @@ export interface InputField {
196
196
  export interface InputFieldOption {
197
197
  label: string;
198
198
  code: string;
199
+ relatesTo?: string;
200
+ showForValues?: string[];
199
201
  }
200
202
 
201
203
  export enum RecentMethodMaskedAccountFormat {