vms-nest-prisma-api-document 976.0.0 → 977.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,8 +22,10 @@ declare const MultipleVehicleReportSchema: z.ZodObject<{
|
|
|
22
22
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
23
23
|
} & {
|
|
24
24
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
25
|
+
db_instance: z.ZodEffects<z.ZodString, string, string>;
|
|
25
26
|
db_group: z.ZodEffects<z.ZodString, string, string>;
|
|
26
27
|
vehicle_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
28
|
+
from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
27
29
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
28
30
|
time_slot: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof TimeSlot>>>;
|
|
29
31
|
night_driving: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof NightDriving>>>;
|
|
@@ -35,6 +37,7 @@ declare const MultipleVehicleReportSchema: z.ZodObject<{
|
|
|
35
37
|
driver_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
|
|
36
38
|
}, "strip", z.ZodTypeAny, {
|
|
37
39
|
db_group: string;
|
|
40
|
+
db_instance: string;
|
|
38
41
|
night_driving: NightDriving;
|
|
39
42
|
search: string;
|
|
40
43
|
paging: PAGING;
|
|
@@ -45,6 +48,7 @@ declare const MultipleVehicleReportSchema: z.ZodObject<{
|
|
|
45
48
|
login_from: LoginFrom;
|
|
46
49
|
organisation_id: string;
|
|
47
50
|
vehicle_ids: string[];
|
|
51
|
+
from_date: string;
|
|
48
52
|
to_date: string;
|
|
49
53
|
time_slot: TimeSlot;
|
|
50
54
|
over_speed: OverSpeed;
|
|
@@ -55,10 +59,12 @@ declare const MultipleVehicleReportSchema: z.ZodObject<{
|
|
|
55
59
|
driver_summary: YesNo;
|
|
56
60
|
}, {
|
|
57
61
|
db_group: string;
|
|
62
|
+
db_instance: string;
|
|
58
63
|
date_format_id: string;
|
|
59
64
|
time_zone_id: string;
|
|
60
65
|
login_from: LoginFrom;
|
|
61
66
|
organisation_id: string;
|
|
67
|
+
from_date: string;
|
|
62
68
|
to_date: string;
|
|
63
69
|
night_driving?: NightDriving | undefined;
|
|
64
70
|
search?: string | undefined;
|
|
@@ -110,6 +116,7 @@ declare const MultipleDriverReportSchema: z.ZodObject<{
|
|
|
110
116
|
time_zone_id: string;
|
|
111
117
|
login_from: LoginFrom;
|
|
112
118
|
organisation_id: string;
|
|
119
|
+
from_date: string;
|
|
113
120
|
to_date: string;
|
|
114
121
|
time_slot: TimeSlot;
|
|
115
122
|
over_speed: OverSpeed;
|
|
@@ -119,7 +126,6 @@ declare const MultipleDriverReportSchema: z.ZodObject<{
|
|
|
119
126
|
vehicle_summary: YesNo;
|
|
120
127
|
driver_summary: YesNo;
|
|
121
128
|
driver_ids: string[];
|
|
122
|
-
from_date: string;
|
|
123
129
|
}, {
|
|
124
130
|
db_group: string;
|
|
125
131
|
db_instance: string;
|
|
@@ -127,8 +133,8 @@ declare const MultipleDriverReportSchema: z.ZodObject<{
|
|
|
127
133
|
time_zone_id: string;
|
|
128
134
|
login_from: LoginFrom;
|
|
129
135
|
organisation_id: string;
|
|
130
|
-
to_date: string;
|
|
131
136
|
from_date: string;
|
|
137
|
+
to_date: string;
|
|
132
138
|
night_driving?: NightDriving | undefined;
|
|
133
139
|
search?: string | undefined;
|
|
134
140
|
paging?: PAGING | undefined;
|
|
@@ -174,8 +180,8 @@ declare const SimpleReportSchema: z.ZodObject<{
|
|
|
174
180
|
login_from: LoginFrom;
|
|
175
181
|
organisation_id: string;
|
|
176
182
|
vehicle_ids: string[];
|
|
177
|
-
to_date: string;
|
|
178
183
|
from_date: string;
|
|
184
|
+
to_date: string;
|
|
179
185
|
gps_type: GPSType;
|
|
180
186
|
interval_seconds: number;
|
|
181
187
|
boolean_type: BooleanType;
|
|
@@ -186,8 +192,8 @@ declare const SimpleReportSchema: z.ZodObject<{
|
|
|
186
192
|
time_zone_id: string;
|
|
187
193
|
login_from: LoginFrom;
|
|
188
194
|
organisation_id: string;
|
|
189
|
-
to_date: string;
|
|
190
195
|
from_date: string;
|
|
196
|
+
to_date: string;
|
|
191
197
|
gps_type: GPSType;
|
|
192
198
|
boolean_type: BooleanType;
|
|
193
199
|
search?: string | undefined;
|
|
@@ -363,9 +369,9 @@ declare const AlertReportSchema: z.ZodObject<{
|
|
|
363
369
|
login_from: LoginFrom;
|
|
364
370
|
organisation_id: string;
|
|
365
371
|
vehicle_ids: string[];
|
|
372
|
+
from_date: string;
|
|
366
373
|
to_date: string;
|
|
367
374
|
driver_ids: string[];
|
|
368
|
-
from_date: string;
|
|
369
375
|
user_ids: string[];
|
|
370
376
|
gps_geofence_ids: string[];
|
|
371
377
|
modules: Module[];
|
|
@@ -378,8 +384,8 @@ declare const AlertReportSchema: z.ZodObject<{
|
|
|
378
384
|
time_zone_id: string;
|
|
379
385
|
login_from: LoginFrom;
|
|
380
386
|
organisation_id: string;
|
|
381
|
-
to_date: string;
|
|
382
387
|
from_date: string;
|
|
388
|
+
to_date: string;
|
|
383
389
|
search?: string | undefined;
|
|
384
390
|
paging?: PAGING | undefined;
|
|
385
391
|
page_count?: unknown;
|
|
@@ -507,8 +507,10 @@ var ENDPOINTS = {
|
|
|
507
507
|
};
|
|
508
508
|
var MultipleVehicleReportSchema = MongoBaseQuerySchema.extend({
|
|
509
509
|
organisation_id: single_select_mandatory("Organisation"),
|
|
510
|
+
db_instance: stringMandatory("DB Instance"),
|
|
510
511
|
db_group: stringMandatory("DB Group"),
|
|
511
512
|
vehicle_ids: multi_select_mandatory("Master Vehicle"),
|
|
513
|
+
from_date: dateMandatory("From Date"),
|
|
512
514
|
to_date: dateMandatory("To Date"),
|
|
513
515
|
time_slot: enumOptional(
|
|
514
516
|
"Time Slot",
|
package/package.json
CHANGED