@soltech/fluid-common 1.0.17 → 1.0.19

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
@@ -106,7 +106,7 @@ export interface PaymentMethod {
106
106
  minAmount: number;
107
107
  maxAmount: number;
108
108
  info: string;
109
- paymentType: PaymentType;
109
+ paymentType?: PaymentType;
110
110
  inputFields?: InputField[];
111
111
  bonusCodes?: string[];
112
112
  instructions?: string;
@@ -162,9 +162,9 @@ export declare enum RecentMethodMaskedAccountFormat {
162
162
  export interface RecentMethod extends PaymentMethod {
163
163
  accountId: string;
164
164
  maskedAccount: string;
165
- lastSuccess: string;
166
- expiryDate: string;
167
- maskedAccountFormat: RecentMethodMaskedAccountFormat;
165
+ lastSuccess?: string;
166
+ expiryDate?: string;
167
+ maskedAccountFormat?: RecentMethodMaskedAccountFormat;
168
168
  }
169
169
  export interface TransactionParams {
170
170
  accountId?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "1.0.17",
3
+ "version": "1.0.19",
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
@@ -120,7 +120,7 @@ export interface PaymentMethod {
120
120
  minAmount: number;
121
121
  maxAmount: number;
122
122
  info: string;
123
- paymentType: PaymentType;
123
+ paymentType?: PaymentType;
124
124
  inputFields?: InputField[];
125
125
  bonusCodes?: string[];
126
126
  instructions?: string;
@@ -183,9 +183,9 @@ export enum RecentMethodMaskedAccountFormat {
183
183
  export interface RecentMethod extends PaymentMethod {
184
184
  accountId: string;
185
185
  maskedAccount: string;
186
- lastSuccess: string;
187
- expiryDate: string;
188
- maskedAccountFormat: RecentMethodMaskedAccountFormat;
186
+ lastSuccess?: string;
187
+ expiryDate?: string;
188
+ maskedAccountFormat?: RecentMethodMaskedAccountFormat;
189
189
  }
190
190
 
191
191
  export interface TransactionParams {