@soltech/fluid-common 0.6.6 → 0.6.7

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
@@ -85,6 +85,7 @@ export interface InputField {
85
85
  export interface InputFieldOption {
86
86
  label: string;
87
87
  code: string;
88
+ logo?: PaymentMethodLogo;
88
89
  }
89
90
  export interface RecentMethod extends PaymentMethod {
90
91
  accountId: string;
@@ -201,3 +202,12 @@ export interface TrackingEvent {
201
202
  eventId: string;
202
203
  data: object;
203
204
  }
205
+ export interface AiModelQueryParams {
206
+ age?: number;
207
+ country?: string;
208
+ dayOfMonth?: string;
209
+ dayOfWeek?: string;
210
+ operatorId: number;
211
+ previousDeposit?: number;
212
+ timeOfDay?: string;
213
+ }
package/package.json CHANGED
@@ -1,12 +1,11 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "0.6.6",
3
+ "version": "0.6.7",
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": {
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
@@ -99,6 +99,7 @@ export interface InputField {
99
99
  export interface InputFieldOption {
100
100
  label: string;
101
101
  code: string;
102
+ logo?: PaymentMethodLogo;
102
103
  }
103
104
 
104
105
  export interface RecentMethod extends PaymentMethod {
@@ -232,3 +233,14 @@ export interface TrackingEvent {
232
233
  eventId: string;
233
234
  data: object;
234
235
  }
236
+
237
+ export interface AiModelQueryParams {
238
+ age?: number;
239
+ country?: string;
240
+ dayOfMonth?: string;
241
+ dayOfWeek?: string;
242
+ operatorId: number;
243
+ previousDeposit?: number;
244
+ timeOfDay?: string;
245
+ }
246
+
package/.nvmrc DELETED
@@ -1,2 +0,0 @@
1
- v20.11.0
2
-