@soltech/fluid-common 0.6.51 → 0.6.52

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
@@ -165,10 +165,13 @@ export interface TransactionResult {
165
165
  }
166
166
  export interface RedirectOutput {
167
167
  container: string;
168
- parameters?: Record<string, string>;
169
168
  height?: number;
170
- width?: number;
169
+ html?: string;
170
+ method?: HttpVerb;
171
+ parameters?: Record<string, string>;
172
+ sizeUnit?: string;
171
173
  url: string;
174
+ width?: number;
172
175
  }
173
176
  export declare enum TransactionState {
174
177
  SUCCESS = "SUCCESS",
@@ -185,6 +188,12 @@ export interface ProviderTransactionError {
185
188
  text: string;
186
189
  textTitle: string;
187
190
  }
191
+ export declare enum HttpVerb {
192
+ DELETE = "DELETE",
193
+ GET = "GET",
194
+ POST = "POST",
195
+ PUT = "PUT"
196
+ }
188
197
  export declare enum Action {
189
198
  RESTART_PRESERVING_DETAILS = "RESTART_PRESERVING_DETAILS",
190
199
  RESTART_CLEARING_DETAILS = "RESTART_CLEARING_DETAILS",
@@ -220,7 +229,7 @@ export interface TrackingEvent {
220
229
  }
221
230
  export interface UserData {
222
231
  age?: number;
223
- dayOfMonth?: number;
232
+ dayOfMonth?: string;
224
233
  dayOfWeek?: string;
225
234
  previousDeposit?: number;
226
235
  timeOfDay?: string;
package/lib/index.js CHANGED
@@ -33,6 +33,13 @@ 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 = {}));
36
43
  export var Action;
37
44
  (function (Action) {
38
45
  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.51",
3
+ "version": "0.6.52",
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
@@ -188,10 +188,13 @@ export interface TransactionResult {
188
188
 
189
189
  export interface RedirectOutput {
190
190
  container: string;
191
- parameters?: Record<string, string>;
192
191
  height?: number;
193
- width?: number;
192
+ html?: string;
193
+ method?: HttpVerb;
194
+ parameters?: Record<string, string>;
195
+ sizeUnit?: string;
194
196
  url: string;
197
+ width?: number;
195
198
  }
196
199
 
197
200
  export enum TransactionState {
@@ -211,6 +214,13 @@ export interface ProviderTransactionError {
211
214
  textTitle: string;
212
215
  }
213
216
 
217
+ export enum HttpVerb {
218
+ DELETE = 'DELETE',
219
+ GET = 'GET',
220
+ POST = 'POST',
221
+ PUT = 'PUT'
222
+ }
223
+
214
224
  export enum Action {
215
225
  RESTART_PRESERVING_DETAILS = 'RESTART_PRESERVING_DETAILS',
216
226
  RESTART_CLEARING_DETAILS = 'RESTART_CLEARING_DETAILS',
@@ -252,7 +262,7 @@ export interface TrackingEvent {
252
262
 
253
263
  export interface UserData {
254
264
  age?: number;
255
- dayOfMonth?: number;
265
+ dayOfMonth?: string;
256
266
  dayOfWeek?: string;
257
267
  previousDeposit?: number;
258
268
  timeOfDay?: string;