@soltech/fluid-common 0.6.1 → 0.6.3

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
@@ -202,3 +202,16 @@ export interface TrackingEvent {
202
202
  eventId: string;
203
203
  data: object;
204
204
  }
205
+ export interface PredictionInputParams {
206
+ age?: number;
207
+ country: string;
208
+ dayOfMonth?: string;
209
+ dayOfWeek?: string;
210
+ device?: string;
211
+ ipCountry: string;
212
+ previousDeposit?: number;
213
+ timeOfDay?: string;
214
+ }
215
+ export interface DepositMethodsPredictions {
216
+ [key: string]: number;
217
+ }
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "0.6.1",
3
+ "version": "0.6.3",
4
4
  "type": "module",
5
- "description": "Fluid frontend and API commons",
5
+ "description": "Fluid frontend, API and AI common interfaces & enums",
6
6
  "main": "lib/index.js",
7
7
  "types:": "lib/index.d.ts",
8
8
  "scripts": {
package/src/index.ts CHANGED
@@ -233,3 +233,18 @@ export interface TrackingEvent {
233
233
  eventId: string;
234
234
  data: object;
235
235
  }
236
+
237
+ export interface PredictionInputParams {
238
+ age?: number;
239
+ country: string;
240
+ dayOfMonth?: string;
241
+ dayOfWeek?: string;
242
+ device?: string;
243
+ ipCountry: string;
244
+ previousDeposit?: number;
245
+ timeOfDay?: string;
246
+ }
247
+
248
+ export interface DepositMethodsPredictions {
249
+ [key: string]: number;
250
+ }