@soltech/fluid-common 1.4.9 → 1.4.10

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
@@ -18,8 +18,7 @@ export declare enum PaymentType {
18
18
  BANK_TRANSFER = "BankTransfer",
19
19
  CREDIT_CARD = "CreditCard",
20
20
  CRYPTO = "Crypto",
21
- EWALLET = "EWallet",
22
- VOUCHER = "Voucher"
21
+ EWALLET = "EWallet"
23
22
  }
24
23
  export declare enum WindowRedirectType {
25
24
  POPUP_WINDOW = "popupWindow",
@@ -173,6 +172,8 @@ export interface InputField {
173
172
  export interface InputFieldOption {
174
173
  label: string;
175
174
  code: string;
175
+ relatesTo?: string;
176
+ showForValues?: string[];
176
177
  }
177
178
  export declare enum RecentMethodMaskedAccountFormat {
178
179
  DEFAULT = "Default",
@@ -237,9 +238,6 @@ export interface EWalletTransactionParams extends TransactionParams {
237
238
  beneficiaryName?: string;
238
239
  userAccountId?: string;
239
240
  }
240
- export interface VoucherTransactionParams extends TransactionParams {
241
- [key: string]: string | number | undefined;
242
- }
243
241
  export interface TransactionOptions {
244
242
  bonusCode?: string;
245
243
  activityId?: string;
package/lib/index.js CHANGED
@@ -23,7 +23,6 @@ export var PaymentType;
23
23
  PaymentType["CREDIT_CARD"] = "CreditCard";
24
24
  PaymentType["CRYPTO"] = "Crypto";
25
25
  PaymentType["EWALLET"] = "EWallet";
26
- PaymentType["VOUCHER"] = "Voucher";
27
26
  })(PaymentType || (PaymentType = {}));
28
27
  export var WindowRedirectType;
29
28
  (function (WindowRedirectType) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "1.4.9",
3
+ "version": "1.4.10",
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,6 +18,7 @@ export enum TraitType {
18
18
  }
19
19
 
20
20
  export enum PaymentType {
21
+ APPLE_PAY = 'ApplePay',
21
22
  BANK_TRANSFER = 'BankTransfer',
22
23
  CREDIT_CARD = 'CreditCard',
23
24
  CRYPTO = 'Crypto',