@soltech/fluid-common 0.6.52 → 0.6.54
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 -11
- package/lib/index.js +0 -7
- package/package.json +1 -1
- package/src/index.ts +6 -12
package/lib/index.d.ts
CHANGED
|
@@ -74,6 +74,7 @@ export interface PaymentMethod {
|
|
|
74
74
|
bonusCodes?: string[];
|
|
75
75
|
instructions?: string;
|
|
76
76
|
fees?: PaymentMethodFees;
|
|
77
|
+
popupWindowRedirect: boolean;
|
|
77
78
|
}
|
|
78
79
|
export interface PaymentMethodFees {
|
|
79
80
|
fixedAmount?: number;
|
|
@@ -165,13 +166,10 @@ export interface TransactionResult {
|
|
|
165
166
|
}
|
|
166
167
|
export interface RedirectOutput {
|
|
167
168
|
container: string;
|
|
168
|
-
height?: number;
|
|
169
|
-
html?: string;
|
|
170
|
-
method?: HttpVerb;
|
|
171
169
|
parameters?: Record<string, string>;
|
|
172
|
-
|
|
173
|
-
url: string;
|
|
170
|
+
height?: number;
|
|
174
171
|
width?: number;
|
|
172
|
+
url: string;
|
|
175
173
|
}
|
|
176
174
|
export declare enum TransactionState {
|
|
177
175
|
SUCCESS = "SUCCESS",
|
|
@@ -188,12 +186,6 @@ export interface ProviderTransactionError {
|
|
|
188
186
|
text: string;
|
|
189
187
|
textTitle: string;
|
|
190
188
|
}
|
|
191
|
-
export declare enum HttpVerb {
|
|
192
|
-
DELETE = "DELETE",
|
|
193
|
-
GET = "GET",
|
|
194
|
-
POST = "POST",
|
|
195
|
-
PUT = "PUT"
|
|
196
|
-
}
|
|
197
189
|
export declare enum Action {
|
|
198
190
|
RESTART_PRESERVING_DETAILS = "RESTART_PRESERVING_DETAILS",
|
|
199
191
|
RESTART_CLEARING_DETAILS = "RESTART_CLEARING_DETAILS",
|
|
@@ -231,6 +223,9 @@ export interface UserData {
|
|
|
231
223
|
age?: number;
|
|
232
224
|
dayOfMonth?: string;
|
|
233
225
|
dayOfWeek?: string;
|
|
226
|
+
depositLimit?: number;
|
|
227
|
+
minimumDeposit?: number;
|
|
228
|
+
maximumDeposit?: number;
|
|
234
229
|
previousDeposit?: number;
|
|
235
230
|
timeOfDay?: string;
|
|
236
231
|
}
|
package/lib/index.js
CHANGED
|
@@ -33,13 +33,6 @@ export var TransactionState;
|
|
|
33
33
|
TransactionState["WAITING_INPUT"] = "WAITING_INPUT";
|
|
34
34
|
TransactionState["CANCELLED"] = "CANCELLED";
|
|
35
35
|
})(TransactionState || (TransactionState = {}));
|
|
36
|
-
export var HttpVerb;
|
|
37
|
-
(function (HttpVerb) {
|
|
38
|
-
HttpVerb["DELETE"] = "DELETE";
|
|
39
|
-
HttpVerb["GET"] = "GET";
|
|
40
|
-
HttpVerb["POST"] = "POST";
|
|
41
|
-
HttpVerb["PUT"] = "PUT";
|
|
42
|
-
})(HttpVerb || (HttpVerb = {}));
|
|
43
36
|
export var Action;
|
|
44
37
|
(function (Action) {
|
|
45
38
|
Action["RESTART_PRESERVING_DETAILS"] = "RESTART_PRESERVING_DETAILS";
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -84,6 +84,7 @@ export interface PaymentMethod {
|
|
|
84
84
|
bonusCodes?: string[];
|
|
85
85
|
instructions?: string;
|
|
86
86
|
fees?: PaymentMethodFees;
|
|
87
|
+
popupWindowRedirect: boolean;
|
|
87
88
|
}
|
|
88
89
|
|
|
89
90
|
export interface PaymentMethodFees {
|
|
@@ -188,13 +189,10 @@ export interface TransactionResult {
|
|
|
188
189
|
|
|
189
190
|
export interface RedirectOutput {
|
|
190
191
|
container: string;
|
|
191
|
-
height?: number;
|
|
192
|
-
html?: string;
|
|
193
|
-
method?: HttpVerb;
|
|
194
192
|
parameters?: Record<string, string>;
|
|
195
|
-
|
|
196
|
-
url: string;
|
|
193
|
+
height?: number;
|
|
197
194
|
width?: number;
|
|
195
|
+
url: string;
|
|
198
196
|
}
|
|
199
197
|
|
|
200
198
|
export enum TransactionState {
|
|
@@ -214,13 +212,6 @@ export interface ProviderTransactionError {
|
|
|
214
212
|
textTitle: string;
|
|
215
213
|
}
|
|
216
214
|
|
|
217
|
-
export enum HttpVerb {
|
|
218
|
-
DELETE = 'DELETE',
|
|
219
|
-
GET = 'GET',
|
|
220
|
-
POST = 'POST',
|
|
221
|
-
PUT = 'PUT'
|
|
222
|
-
}
|
|
223
|
-
|
|
224
215
|
export enum Action {
|
|
225
216
|
RESTART_PRESERVING_DETAILS = 'RESTART_PRESERVING_DETAILS',
|
|
226
217
|
RESTART_CLEARING_DETAILS = 'RESTART_CLEARING_DETAILS',
|
|
@@ -264,6 +255,9 @@ export interface UserData {
|
|
|
264
255
|
age?: number;
|
|
265
256
|
dayOfMonth?: string;
|
|
266
257
|
dayOfWeek?: string;
|
|
258
|
+
depositLimit?: number;
|
|
259
|
+
minimumDeposit?: number;
|
|
260
|
+
maximumDeposit?: number;
|
|
267
261
|
previousDeposit?: number;
|
|
268
262
|
timeOfDay?: string;
|
|
269
263
|
}
|