@soltech/fluid-common 0.6.2 → 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 +13 -1
- package/package.json +2 -2
- package/src/index.ts +15 -1
package/lib/index.d.ts
CHANGED
|
@@ -27,7 +27,6 @@ export interface WalletInitParams {
|
|
|
27
27
|
operatorId: number;
|
|
28
28
|
sessionId: string;
|
|
29
29
|
userId: string | number;
|
|
30
|
-
userAgent: string;
|
|
31
30
|
}
|
|
32
31
|
export interface WalletConfig {
|
|
33
32
|
contentText: Record<string, string>;
|
|
@@ -203,3 +202,16 @@ export interface TrackingEvent {
|
|
|
203
202
|
eventId: string;
|
|
204
203
|
data: object;
|
|
205
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.
|
|
3
|
+
"version": "0.6.3",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"description": "Fluid frontend and
|
|
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
|
@@ -32,7 +32,6 @@ export interface WalletInitParams {
|
|
|
32
32
|
operatorId: number;
|
|
33
33
|
sessionId: string;
|
|
34
34
|
userId: string | number;
|
|
35
|
-
userAgent: string;
|
|
36
35
|
}
|
|
37
36
|
|
|
38
37
|
export interface WalletConfig {
|
|
@@ -234,3 +233,18 @@ export interface TrackingEvent {
|
|
|
234
233
|
eventId: string;
|
|
235
234
|
data: object;
|
|
236
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
|
+
}
|