@soltech/fluid-common 0.6.17 → 0.6.18
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 +1 -17
- package/lib/index.js +1 -0
- package/package.json +3 -3
- package/src/index.ts +1 -20
package/lib/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export declare enum Integration {
|
|
2
2
|
LEFT = "LEFT",
|
|
3
|
+
CENTER = "CENTER",
|
|
3
4
|
RIGHT = "RIGHT",
|
|
4
5
|
INLINE = "INLINE"
|
|
5
6
|
}
|
|
@@ -28,7 +29,6 @@ export interface WalletInitParams {
|
|
|
28
29
|
sessionId: string;
|
|
29
30
|
userId: string | number;
|
|
30
31
|
userAgent: string;
|
|
31
|
-
userData?: UserData;
|
|
32
32
|
}
|
|
33
33
|
export interface WalletConfig {
|
|
34
34
|
contentText: Record<string, string>;
|
|
@@ -203,19 +203,3 @@ export interface TrackingEvent {
|
|
|
203
203
|
eventId: string;
|
|
204
204
|
data: object;
|
|
205
205
|
}
|
|
206
|
-
export interface UserData {
|
|
207
|
-
age?: number;
|
|
208
|
-
country?: string;
|
|
209
|
-
dayOfMonth?: string;
|
|
210
|
-
dayOfWeek?: string;
|
|
211
|
-
previousDeposit?: number;
|
|
212
|
-
timeOfDay?: string;
|
|
213
|
-
}
|
|
214
|
-
export interface AiModelQueryParams {
|
|
215
|
-
operatorId: number;
|
|
216
|
-
userData: UserData;
|
|
217
|
-
}
|
|
218
|
-
export interface SuggestedAmountsPrediction {
|
|
219
|
-
prefilled: number;
|
|
220
|
-
buttons: number[];
|
|
221
|
-
}
|
package/lib/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soltech/fluid-common",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.18",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"description": "Fluid frontend
|
|
5
|
+
"description": "Fluid frontend and API commons",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"types:": "lib/index.d.ts",
|
|
8
8
|
"scripts": {
|
|
@@ -33,4 +33,4 @@
|
|
|
33
33
|
"lint-staged": {
|
|
34
34
|
"*.{ts}": "eslint --fix"
|
|
35
35
|
}
|
|
36
|
-
}
|
|
36
|
+
}
|
package/src/index.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export enum Integration {
|
|
2
2
|
LEFT = 'LEFT',
|
|
3
|
+
CENTER = 'CENTER',
|
|
3
4
|
RIGHT = 'RIGHT',
|
|
4
5
|
INLINE = 'INLINE'
|
|
5
6
|
}
|
|
@@ -33,7 +34,6 @@ export interface WalletInitParams {
|
|
|
33
34
|
sessionId: string;
|
|
34
35
|
userId: string | number;
|
|
35
36
|
userAgent: string;
|
|
36
|
-
userData?: UserData;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
export interface WalletConfig {
|
|
@@ -234,22 +234,3 @@ export interface TrackingEvent {
|
|
|
234
234
|
eventId: string;
|
|
235
235
|
data: object;
|
|
236
236
|
}
|
|
237
|
-
|
|
238
|
-
export interface UserData {
|
|
239
|
-
age?: number;
|
|
240
|
-
country?: string;
|
|
241
|
-
dayOfMonth?: string;
|
|
242
|
-
dayOfWeek?: string;
|
|
243
|
-
previousDeposit?: number;
|
|
244
|
-
timeOfDay?: string;
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
export interface AiModelQueryParams {
|
|
248
|
-
operatorId: number;
|
|
249
|
-
userData: UserData;
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
export interface SuggestedAmountsPrediction {
|
|
253
|
-
prefilled: number;
|
|
254
|
-
buttons: number[];
|
|
255
|
-
}
|