@soltech/fluid-common 0.6.6 → 0.6.8
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 +11 -0
- package/package.json +2 -3
- package/src/index.ts +13 -0
- package/.nvmrc +0 -2
package/lib/index.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ export interface WalletInitParams {
|
|
|
27
27
|
operatorId: number;
|
|
28
28
|
sessionId: string;
|
|
29
29
|
userId: string | number;
|
|
30
|
+
userAgent: string;
|
|
30
31
|
}
|
|
31
32
|
export interface WalletConfig {
|
|
32
33
|
contentText: Record<string, string>;
|
|
@@ -85,6 +86,7 @@ export interface InputField {
|
|
|
85
86
|
export interface InputFieldOption {
|
|
86
87
|
label: string;
|
|
87
88
|
code: string;
|
|
89
|
+
logo?: PaymentMethodLogo;
|
|
88
90
|
}
|
|
89
91
|
export interface RecentMethod extends PaymentMethod {
|
|
90
92
|
accountId: string;
|
|
@@ -201,3 +203,12 @@ export interface TrackingEvent {
|
|
|
201
203
|
eventId: string;
|
|
202
204
|
data: object;
|
|
203
205
|
}
|
|
206
|
+
export interface AiModelQueryParams {
|
|
207
|
+
age?: number;
|
|
208
|
+
country?: string;
|
|
209
|
+
dayOfMonth?: string;
|
|
210
|
+
dayOfWeek?: string;
|
|
211
|
+
operatorId: number;
|
|
212
|
+
previousDeposit?: number;
|
|
213
|
+
timeOfDay?: string;
|
|
214
|
+
}
|
package/package.json
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soltech/fluid-common",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.8",
|
|
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": {
|
|
9
|
-
"dev": "tsc --watch",
|
|
10
9
|
"build": "tsc",
|
|
11
10
|
"pub": "npm run build && npm publish && git push",
|
|
12
11
|
"lint": "npx eslint .",
|
package/src/index.ts
CHANGED
|
@@ -32,6 +32,7 @@ export interface WalletInitParams {
|
|
|
32
32
|
operatorId: number;
|
|
33
33
|
sessionId: string;
|
|
34
34
|
userId: string | number;
|
|
35
|
+
userAgent: string;
|
|
35
36
|
}
|
|
36
37
|
|
|
37
38
|
export interface WalletConfig {
|
|
@@ -99,6 +100,7 @@ export interface InputField {
|
|
|
99
100
|
export interface InputFieldOption {
|
|
100
101
|
label: string;
|
|
101
102
|
code: string;
|
|
103
|
+
logo?: PaymentMethodLogo;
|
|
102
104
|
}
|
|
103
105
|
|
|
104
106
|
export interface RecentMethod extends PaymentMethod {
|
|
@@ -232,3 +234,14 @@ export interface TrackingEvent {
|
|
|
232
234
|
eventId: string;
|
|
233
235
|
data: object;
|
|
234
236
|
}
|
|
237
|
+
|
|
238
|
+
export interface AiModelQueryParams {
|
|
239
|
+
age?: number;
|
|
240
|
+
country?: string;
|
|
241
|
+
dayOfMonth?: string;
|
|
242
|
+
dayOfWeek?: string;
|
|
243
|
+
operatorId: number;
|
|
244
|
+
previousDeposit?: number;
|
|
245
|
+
timeOfDay?: string;
|
|
246
|
+
}
|
|
247
|
+
|
package/.nvmrc
DELETED