@soltech/fluid-common 0.6.52 → 0.6.53

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
@@ -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
- sizeUnit?: string;
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",
@@ -229,7 +221,7 @@ export interface TrackingEvent {
229
221
  }
230
222
  export interface UserData {
231
223
  age?: number;
232
- dayOfMonth?: string;
224
+ dayOfMonth?: number;
233
225
  dayOfWeek?: string;
234
226
  previousDeposit?: number;
235
227
  timeOfDay?: string;
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "0.6.52",
3
+ "version": "0.6.53",
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
@@ -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
- sizeUnit?: string;
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',
@@ -262,7 +253,7 @@ export interface TrackingEvent {
262
253
 
263
254
  export interface UserData {
264
255
  age?: number;
265
- dayOfMonth?: string;
256
+ dayOfMonth?: number;
266
257
  dayOfWeek?: string;
267
258
  previousDeposit?: number;
268
259
  timeOfDay?: string;