vms-nest-prisma-api-document 420.0.0 → 430.0.0
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.
|
@@ -22,15 +22,15 @@ declare const UserLoginAnalyticsSchema: z.ZodObject<{
|
|
|
22
22
|
}, "strip", z.ZodTypeAny, {
|
|
23
23
|
user_id: string;
|
|
24
24
|
organisation_id: string;
|
|
25
|
-
country_id: string;
|
|
26
25
|
login_from: LoginFrom;
|
|
26
|
+
country_id: string;
|
|
27
27
|
os_details: Record<string, any>;
|
|
28
28
|
ip_details: Record<string, any>;
|
|
29
29
|
}, {
|
|
30
30
|
user_id: string;
|
|
31
31
|
organisation_id: string;
|
|
32
|
-
country_id: string;
|
|
33
32
|
login_from: LoginFrom;
|
|
33
|
+
country_id: string;
|
|
34
34
|
os_details?: Record<string, any> | undefined;
|
|
35
35
|
ip_details?: Record<string, any> | undefined;
|
|
36
36
|
}>;
|
|
@@ -48,11 +48,11 @@ declare const UserLoginAnalyticsQuerySchema: z.ZodObject<{
|
|
|
48
48
|
organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
49
49
|
country_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
50
50
|
}, "strip", z.ZodTypeAny, {
|
|
51
|
-
login_from: LoginFrom;
|
|
52
51
|
search: string;
|
|
53
52
|
paging: PAGING;
|
|
54
53
|
page_count: number;
|
|
55
54
|
page_index: number;
|
|
55
|
+
login_from: LoginFrom;
|
|
56
56
|
date_format_id: string;
|
|
57
57
|
time_zone_id: string;
|
|
58
58
|
user_ids: string[];
|
|
@@ -43,11 +43,11 @@ declare const UserPageAnalyticsQuerySchema: z.ZodObject<{
|
|
|
43
43
|
user_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
44
44
|
organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
45
45
|
}, "strip", z.ZodTypeAny, {
|
|
46
|
-
login_from: LoginFrom;
|
|
47
46
|
search: string;
|
|
48
47
|
paging: PAGING;
|
|
49
48
|
page_count: number;
|
|
50
49
|
page_index: number;
|
|
50
|
+
login_from: LoginFrom;
|
|
51
51
|
date_format_id: string;
|
|
52
52
|
time_zone_id: string;
|
|
53
53
|
user_ids: string[];
|
|
@@ -34,41 +34,41 @@ declare const MultipleVehicleReportSchema: z.ZodObject<{
|
|
|
34
34
|
vehicle_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
|
|
35
35
|
driver_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
|
|
36
36
|
}, "strip", z.ZodTypeAny, {
|
|
37
|
+
db_group: string;
|
|
38
|
+
db_instance: string;
|
|
39
|
+
night_driving: NightDriving;
|
|
37
40
|
search: string;
|
|
38
41
|
paging: PAGING;
|
|
39
42
|
page_count: number;
|
|
40
43
|
page_index: number;
|
|
41
|
-
login_from: LoginFrom;
|
|
42
44
|
date_format_id: string;
|
|
43
45
|
time_zone_id: string;
|
|
46
|
+
login_from: LoginFrom;
|
|
44
47
|
organisation_id: string;
|
|
45
|
-
db_instance: string;
|
|
46
|
-
db_group: string;
|
|
47
48
|
vehicle_ids: string[];
|
|
48
49
|
from_date: string;
|
|
49
50
|
to_date: string;
|
|
50
51
|
time_slot: TimeSlot;
|
|
51
|
-
night_driving: NightDriving;
|
|
52
52
|
over_speed: OverSpeed;
|
|
53
53
|
utilization_km: number;
|
|
54
54
|
vehicle_summary: YesNo;
|
|
55
55
|
driver_summary: YesNo;
|
|
56
56
|
}, {
|
|
57
|
-
|
|
57
|
+
db_group: string;
|
|
58
|
+
db_instance: string;
|
|
58
59
|
date_format_id: string;
|
|
59
60
|
time_zone_id: string;
|
|
61
|
+
login_from: LoginFrom;
|
|
60
62
|
organisation_id: string;
|
|
61
|
-
db_instance: string;
|
|
62
|
-
db_group: string;
|
|
63
63
|
from_date: string;
|
|
64
64
|
to_date: string;
|
|
65
|
+
night_driving?: NightDriving | undefined;
|
|
65
66
|
search?: string | undefined;
|
|
66
67
|
paging?: PAGING | undefined;
|
|
67
68
|
page_count?: unknown;
|
|
68
69
|
page_index?: unknown;
|
|
69
70
|
vehicle_ids?: string[] | undefined;
|
|
70
71
|
time_slot?: TimeSlot | undefined;
|
|
71
|
-
night_driving?: NightDriving | undefined;
|
|
72
72
|
over_speed?: OverSpeed | undefined;
|
|
73
73
|
utilization_km?: unknown;
|
|
74
74
|
vehicle_summary?: YesNo | undefined;
|
|
@@ -97,40 +97,40 @@ declare const MultipleDriverReportSchema: z.ZodObject<{
|
|
|
97
97
|
vehicle_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
|
|
98
98
|
driver_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
|
|
99
99
|
}, "strip", z.ZodTypeAny, {
|
|
100
|
+
db_group: string;
|
|
101
|
+
db_instance: string;
|
|
102
|
+
night_driving: NightDriving;
|
|
100
103
|
search: string;
|
|
101
104
|
paging: PAGING;
|
|
102
105
|
page_count: number;
|
|
103
106
|
page_index: number;
|
|
104
|
-
login_from: LoginFrom;
|
|
105
107
|
date_format_id: string;
|
|
106
108
|
time_zone_id: string;
|
|
109
|
+
login_from: LoginFrom;
|
|
107
110
|
organisation_id: string;
|
|
108
|
-
db_instance: string;
|
|
109
|
-
db_group: string;
|
|
110
111
|
from_date: string;
|
|
111
112
|
to_date: string;
|
|
112
113
|
time_slot: TimeSlot;
|
|
113
|
-
night_driving: NightDriving;
|
|
114
114
|
over_speed: OverSpeed;
|
|
115
115
|
utilization_km: number;
|
|
116
116
|
vehicle_summary: YesNo;
|
|
117
117
|
driver_summary: YesNo;
|
|
118
118
|
driver_ids: string[];
|
|
119
119
|
}, {
|
|
120
|
-
|
|
120
|
+
db_group: string;
|
|
121
|
+
db_instance: string;
|
|
121
122
|
date_format_id: string;
|
|
122
123
|
time_zone_id: string;
|
|
124
|
+
login_from: LoginFrom;
|
|
123
125
|
organisation_id: string;
|
|
124
|
-
db_instance: string;
|
|
125
|
-
db_group: string;
|
|
126
126
|
from_date: string;
|
|
127
127
|
to_date: string;
|
|
128
|
+
night_driving?: NightDriving | undefined;
|
|
128
129
|
search?: string | undefined;
|
|
129
130
|
paging?: PAGING | undefined;
|
|
130
131
|
page_count?: unknown;
|
|
131
132
|
page_index?: unknown;
|
|
132
133
|
time_slot?: TimeSlot | undefined;
|
|
133
|
-
night_driving?: NightDriving | undefined;
|
|
134
134
|
over_speed?: OverSpeed | undefined;
|
|
135
135
|
utilization_km?: unknown;
|
|
136
136
|
vehicle_summary?: YesNo | undefined;
|
|
@@ -157,16 +157,16 @@ declare const SimpleReportSchema: z.ZodObject<{
|
|
|
157
157
|
interval_seconds: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
158
158
|
boolean_type: z.ZodType<BooleanType, z.ZodTypeDef, BooleanType>;
|
|
159
159
|
}, "strip", z.ZodTypeAny, {
|
|
160
|
+
db_group: string;
|
|
161
|
+
db_instance: string;
|
|
160
162
|
search: string;
|
|
161
163
|
paging: PAGING;
|
|
162
164
|
page_count: number;
|
|
163
165
|
page_index: number;
|
|
164
|
-
login_from: LoginFrom;
|
|
165
166
|
date_format_id: string;
|
|
166
167
|
time_zone_id: string;
|
|
168
|
+
login_from: LoginFrom;
|
|
167
169
|
organisation_id: string;
|
|
168
|
-
db_instance: string;
|
|
169
|
-
db_group: string;
|
|
170
170
|
vehicle_ids: string[];
|
|
171
171
|
from_date: string;
|
|
172
172
|
to_date: string;
|
|
@@ -174,12 +174,12 @@ declare const SimpleReportSchema: z.ZodObject<{
|
|
|
174
174
|
interval_seconds: number;
|
|
175
175
|
boolean_type: BooleanType;
|
|
176
176
|
}, {
|
|
177
|
-
|
|
177
|
+
db_group: string;
|
|
178
|
+
db_instance: string;
|
|
178
179
|
date_format_id: string;
|
|
179
180
|
time_zone_id: string;
|
|
181
|
+
login_from: LoginFrom;
|
|
180
182
|
organisation_id: string;
|
|
181
|
-
db_instance: string;
|
|
182
|
-
db_group: string;
|
|
183
183
|
from_date: string;
|
|
184
184
|
to_date: string;
|
|
185
185
|
gps_type: GPSType;
|
|
@@ -208,26 +208,26 @@ declare const MultipleVehicleLast24HoursReportSchema: z.ZodObject<{
|
|
|
208
208
|
utilization_km: z.ZodEffects<z.ZodNumber, number, unknown>;
|
|
209
209
|
is12am: z.ZodType<Is12AM, z.ZodTypeDef, Is12AM>;
|
|
210
210
|
}, "strip", z.ZodTypeAny, {
|
|
211
|
+
db_group: string;
|
|
212
|
+
db_instance: string;
|
|
211
213
|
search: string;
|
|
212
214
|
paging: PAGING;
|
|
213
215
|
page_count: number;
|
|
214
216
|
page_index: number;
|
|
215
|
-
login_from: LoginFrom;
|
|
216
217
|
date_format_id: string;
|
|
217
218
|
time_zone_id: string;
|
|
219
|
+
login_from: LoginFrom;
|
|
218
220
|
organisation_id: string;
|
|
219
|
-
db_instance: string;
|
|
220
|
-
db_group: string;
|
|
221
221
|
vehicle_ids: string[];
|
|
222
222
|
utilization_km: number;
|
|
223
223
|
is12am: Is12AM;
|
|
224
224
|
}, {
|
|
225
|
-
|
|
225
|
+
db_group: string;
|
|
226
|
+
db_instance: string;
|
|
226
227
|
date_format_id: string;
|
|
227
228
|
time_zone_id: string;
|
|
229
|
+
login_from: LoginFrom;
|
|
228
230
|
organisation_id: string;
|
|
229
|
-
db_instance: string;
|
|
230
|
-
db_group: string;
|
|
231
231
|
is12am: Is12AM;
|
|
232
232
|
search?: string | undefined;
|
|
233
233
|
paging?: PAGING | undefined;
|
|
@@ -254,27 +254,27 @@ declare const SingleVehicleReportSchema: z.ZodObject<{
|
|
|
254
254
|
to_date_time: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
255
255
|
interval_seconds: z.ZodEffects<z.ZodNumber, number, unknown>;
|
|
256
256
|
}, "strip", z.ZodTypeAny, {
|
|
257
|
+
db_group: string;
|
|
258
|
+
db_instance: string;
|
|
257
259
|
search: string;
|
|
258
260
|
paging: PAGING;
|
|
259
261
|
page_count: number;
|
|
260
262
|
page_index: number;
|
|
261
|
-
login_from: LoginFrom;
|
|
262
263
|
date_format_id: string;
|
|
263
264
|
time_zone_id: string;
|
|
265
|
+
login_from: LoginFrom;
|
|
264
266
|
organisation_id: string;
|
|
265
|
-
db_instance: string;
|
|
266
|
-
db_group: string;
|
|
267
267
|
interval_seconds: number;
|
|
268
268
|
vehicle_id: string;
|
|
269
269
|
from_date_time: string;
|
|
270
270
|
to_date_time: string;
|
|
271
271
|
}, {
|
|
272
|
-
|
|
272
|
+
db_group: string;
|
|
273
|
+
db_instance: string;
|
|
273
274
|
date_format_id: string;
|
|
274
275
|
time_zone_id: string;
|
|
276
|
+
login_from: LoginFrom;
|
|
275
277
|
organisation_id: string;
|
|
276
|
-
db_instance: string;
|
|
277
|
-
db_group: string;
|
|
278
278
|
vehicle_id: string;
|
|
279
279
|
from_date_time: string;
|
|
280
280
|
to_date_time: string;
|
|
@@ -299,24 +299,24 @@ declare const VehicleDashboardSummaryQuerySchema: z.ZodObject<{
|
|
|
299
299
|
db_group: z.ZodEffects<z.ZodString, string, string>;
|
|
300
300
|
vehicle_id: z.ZodEffects<z.ZodString, string, string>;
|
|
301
301
|
}, "strip", z.ZodTypeAny, {
|
|
302
|
+
db_group: string;
|
|
303
|
+
db_instance: string;
|
|
302
304
|
search: string;
|
|
303
305
|
paging: PAGING;
|
|
304
306
|
page_count: number;
|
|
305
307
|
page_index: number;
|
|
306
|
-
login_from: LoginFrom;
|
|
307
308
|
date_format_id: string;
|
|
308
309
|
time_zone_id: string;
|
|
310
|
+
login_from: LoginFrom;
|
|
309
311
|
organisation_id: string;
|
|
310
|
-
db_instance: string;
|
|
311
|
-
db_group: string;
|
|
312
312
|
vehicle_id: string;
|
|
313
313
|
}, {
|
|
314
|
-
|
|
314
|
+
db_group: string;
|
|
315
|
+
db_instance: string;
|
|
315
316
|
date_format_id: string;
|
|
316
317
|
time_zone_id: string;
|
|
318
|
+
login_from: LoginFrom;
|
|
317
319
|
organisation_id: string;
|
|
318
|
-
db_instance: string;
|
|
319
|
-
db_group: string;
|
|
320
320
|
vehicle_id: string;
|
|
321
321
|
search?: string | undefined;
|
|
322
322
|
paging?: PAGING | undefined;
|
|
@@ -346,16 +346,16 @@ declare const AlertReportSchema: z.ZodObject<{
|
|
|
346
346
|
from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
347
347
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
348
348
|
}, "strip", z.ZodTypeAny, {
|
|
349
|
+
db_group: string;
|
|
350
|
+
db_instance: string;
|
|
349
351
|
search: string;
|
|
350
352
|
paging: PAGING;
|
|
351
353
|
page_count: number;
|
|
352
354
|
page_index: number;
|
|
353
|
-
login_from: LoginFrom;
|
|
354
355
|
date_format_id: string;
|
|
355
356
|
time_zone_id: string;
|
|
357
|
+
login_from: LoginFrom;
|
|
356
358
|
organisation_id: string;
|
|
357
|
-
db_instance: string;
|
|
358
|
-
db_group: string;
|
|
359
359
|
vehicle_ids: string[];
|
|
360
360
|
from_date: string;
|
|
361
361
|
to_date: string;
|
|
@@ -366,12 +366,12 @@ declare const AlertReportSchema: z.ZodObject<{
|
|
|
366
366
|
alert_types: AlertType[];
|
|
367
367
|
alert_sub_types: AlertSubType[];
|
|
368
368
|
}, {
|
|
369
|
-
|
|
369
|
+
db_group: string;
|
|
370
|
+
db_instance: string;
|
|
370
371
|
date_format_id: string;
|
|
371
372
|
time_zone_id: string;
|
|
373
|
+
login_from: LoginFrom;
|
|
372
374
|
organisation_id: string;
|
|
373
|
-
db_instance: string;
|
|
374
|
-
db_group: string;
|
|
375
375
|
from_date: string;
|
|
376
376
|
to_date: string;
|
|
377
377
|
search?: string | undefined;
|
package/package.json
CHANGED