@soltech/fluid-common 1.4.8 → 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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.ts +7 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "1.4.8",
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,10 +18,12 @@ 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',
24
- EWALLET = 'EWallet'
25
+ EWALLET = 'EWallet',
26
+ VOUCHER = 'Voucher'
25
27
  }
26
28
 
27
29
  export enum WindowRedirectType {
@@ -194,8 +196,6 @@ export interface InputField {
194
196
  export interface InputFieldOption {
195
197
  label: string;
196
198
  code: string;
197
- relatesTo?: string;
198
- showForValues?: string[];
199
199
  }
200
200
 
201
201
  export enum RecentMethodMaskedAccountFormat {
@@ -268,6 +268,10 @@ export interface EWalletTransactionParams extends TransactionParams {
268
268
  userAccountId?: string;
269
269
  }
270
270
 
271
+ export interface VoucherTransactionParams extends TransactionParams {
272
+ [key: string]: string | number | undefined;
273
+ }
274
+
271
275
  export interface TransactionOptions {
272
276
  bonusCode?: string;
273
277
  activityId?: string;