@soltech/fluid-common 1.0.15 → 1.0.17
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 +6 -5
- package/lib/index.js +1 -0
- package/package.json +1 -1
- package/src/index.ts +6 -5
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
|
|
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
|
|
166
|
-
expiryDate
|
|
167
|
-
maskedAccountFormat
|
|
165
|
+
lastSuccess: string;
|
|
166
|
+
expiryDate: string;
|
|
167
|
+
maskedAccountFormat: RecentMethodMaskedAccountFormat;
|
|
168
168
|
}
|
|
169
169
|
export interface TransactionParams {
|
|
170
170
|
accountId?: string;
|
|
@@ -268,7 +268,8 @@ export declare enum Action {
|
|
|
268
268
|
RESTART_CLEARING_DETAILS = "RESTART_CLEARING_DETAILS",
|
|
269
269
|
SHOW_DETAILS_STEP_PRESERVING_DETAILS = "SHOW_DETAILS_STEP_PRESERVING_DETAILS",
|
|
270
270
|
SHOW_DETAILS_STEP_CLEARING_DETAILS = "SHOW_DETAILS_STEP_CLEARING_DETAILS",
|
|
271
|
-
SHOW_CVC_EDIT = "SHOW_CVC_EDIT"
|
|
271
|
+
SHOW_CVC_EDIT = "SHOW_CVC_EDIT",
|
|
272
|
+
DISMISS = "DISMISS"
|
|
272
273
|
}
|
|
273
274
|
export interface PendingWithdrawal {
|
|
274
275
|
amount: string;
|
package/lib/index.js
CHANGED
|
@@ -61,6 +61,7 @@ export var Action;
|
|
|
61
61
|
Action["SHOW_DETAILS_STEP_PRESERVING_DETAILS"] = "SHOW_DETAILS_STEP_PRESERVING_DETAILS";
|
|
62
62
|
Action["SHOW_DETAILS_STEP_CLEARING_DETAILS"] = "SHOW_DETAILS_STEP_CLEARING_DETAILS";
|
|
63
63
|
Action["SHOW_CVC_EDIT"] = "SHOW_CVC_EDIT";
|
|
64
|
+
Action["DISMISS"] = "DISMISS";
|
|
64
65
|
})(Action || (Action = {}));
|
|
65
66
|
export var WithdrawalState;
|
|
66
67
|
(function (WithdrawalState) {
|
package/package.json
CHANGED
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
|
|
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
|
|
187
|
-
expiryDate
|
|
188
|
-
maskedAccountFormat
|
|
186
|
+
lastSuccess: string;
|
|
187
|
+
expiryDate: string;
|
|
188
|
+
maskedAccountFormat: RecentMethodMaskedAccountFormat;
|
|
189
189
|
}
|
|
190
190
|
|
|
191
191
|
export interface TransactionParams {
|
|
@@ -302,7 +302,8 @@ export enum Action {
|
|
|
302
302
|
RESTART_CLEARING_DETAILS = 'RESTART_CLEARING_DETAILS',
|
|
303
303
|
SHOW_DETAILS_STEP_PRESERVING_DETAILS = 'SHOW_DETAILS_STEP_PRESERVING_DETAILS',
|
|
304
304
|
SHOW_DETAILS_STEP_CLEARING_DETAILS = 'SHOW_DETAILS_STEP_CLEARING_DETAILS',
|
|
305
|
-
SHOW_CVC_EDIT = 'SHOW_CVC_EDIT'
|
|
305
|
+
SHOW_CVC_EDIT = 'SHOW_CVC_EDIT',
|
|
306
|
+
DISMISS = 'DISMISS'
|
|
306
307
|
}
|
|
307
308
|
|
|
308
309
|
export interface PendingWithdrawal {
|