vms-nest-prisma-api-document 800.0.0 → 820.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.
@@ -31,46 +31,52 @@ declare const MultipleVehicleReportSchema: z.ZodObject<{
31
31
  night_driving: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof NightDriving>>>;
32
32
  over_speed: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof OverSpeed>>>;
33
33
  utilization_km: z.ZodEffects<z.ZodNumber, number, unknown>;
34
+ raw_data: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
35
+ day_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
34
36
  vehicle_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
35
37
  driver_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
36
38
  }, "strip", z.ZodTypeAny, {
39
+ db_group: string;
40
+ db_instance: string;
41
+ night_driving: NightDriving;
37
42
  search: string;
38
43
  paging: PAGING;
39
44
  page_count: number;
40
45
  page_index: number;
41
- login_from: LoginFrom;
42
46
  date_format_id: string;
43
47
  time_zone_id: string;
48
+ login_from: LoginFrom;
44
49
  organisation_id: string;
45
- db_instance: string;
46
- db_group: string;
47
50
  vehicle_ids: string[];
48
51
  from_date: string;
49
52
  to_date: string;
50
53
  time_slot: TimeSlot;
51
- night_driving: NightDriving;
52
54
  over_speed: OverSpeed;
53
55
  utilization_km: number;
56
+ raw_data: YesNo;
57
+ day_summary: YesNo;
54
58
  vehicle_summary: YesNo;
55
59
  driver_summary: YesNo;
56
60
  }, {
57
- login_from: LoginFrom;
61
+ db_group: string;
62
+ db_instance: string;
58
63
  date_format_id: string;
59
64
  time_zone_id: string;
65
+ login_from: LoginFrom;
60
66
  organisation_id: string;
61
- db_instance: string;
62
- db_group: string;
63
67
  from_date: string;
64
68
  to_date: string;
69
+ night_driving?: NightDriving | undefined;
65
70
  search?: string | undefined;
66
71
  paging?: PAGING | undefined;
67
72
  page_count?: unknown;
68
73
  page_index?: unknown;
69
74
  vehicle_ids?: string[] | undefined;
70
75
  time_slot?: TimeSlot | undefined;
71
- night_driving?: NightDriving | undefined;
72
76
  over_speed?: OverSpeed | undefined;
73
77
  utilization_km?: unknown;
78
+ raw_data?: YesNo | undefined;
79
+ day_summary?: YesNo | undefined;
74
80
  vehicle_summary?: YesNo | undefined;
75
81
  driver_summary?: YesNo | undefined;
76
82
  }>;
@@ -94,45 +100,51 @@ declare const MultipleDriverReportSchema: z.ZodObject<{
94
100
  night_driving: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof NightDriving>>>;
95
101
  over_speed: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof OverSpeed>>>;
96
102
  utilization_km: z.ZodEffects<z.ZodNumber, number, unknown>;
103
+ raw_data: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
104
+ day_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
97
105
  vehicle_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
98
106
  driver_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
99
107
  }, "strip", z.ZodTypeAny, {
108
+ db_group: string;
109
+ db_instance: string;
110
+ night_driving: NightDriving;
100
111
  search: string;
101
112
  paging: PAGING;
102
113
  page_count: number;
103
114
  page_index: number;
104
- login_from: LoginFrom;
105
115
  date_format_id: string;
106
116
  time_zone_id: string;
117
+ login_from: LoginFrom;
107
118
  organisation_id: string;
108
- db_instance: string;
109
- db_group: string;
110
119
  from_date: string;
111
120
  to_date: string;
112
121
  time_slot: TimeSlot;
113
- night_driving: NightDriving;
114
122
  over_speed: OverSpeed;
115
123
  utilization_km: number;
124
+ raw_data: YesNo;
125
+ day_summary: YesNo;
116
126
  vehicle_summary: YesNo;
117
127
  driver_summary: YesNo;
118
128
  driver_ids: string[];
119
129
  }, {
120
- login_from: LoginFrom;
130
+ db_group: string;
131
+ db_instance: string;
121
132
  date_format_id: string;
122
133
  time_zone_id: string;
134
+ login_from: LoginFrom;
123
135
  organisation_id: string;
124
- db_instance: string;
125
- db_group: string;
126
136
  from_date: string;
127
137
  to_date: string;
138
+ night_driving?: NightDriving | undefined;
128
139
  search?: string | undefined;
129
140
  paging?: PAGING | undefined;
130
141
  page_count?: unknown;
131
142
  page_index?: unknown;
132
143
  time_slot?: TimeSlot | undefined;
133
- night_driving?: NightDriving | undefined;
134
144
  over_speed?: OverSpeed | undefined;
135
145
  utilization_km?: unknown;
146
+ raw_data?: YesNo | undefined;
147
+ day_summary?: YesNo | undefined;
136
148
  vehicle_summary?: YesNo | undefined;
137
149
  driver_summary?: YesNo | undefined;
138
150
  driver_ids?: string[] | undefined;
@@ -157,16 +169,16 @@ declare const SimpleReportSchema: z.ZodObject<{
157
169
  interval_seconds: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
158
170
  boolean_type: z.ZodType<BooleanType, z.ZodTypeDef, BooleanType>;
159
171
  }, "strip", z.ZodTypeAny, {
172
+ db_group: string;
173
+ db_instance: string;
160
174
  search: string;
161
175
  paging: PAGING;
162
176
  page_count: number;
163
177
  page_index: number;
164
- login_from: LoginFrom;
165
178
  date_format_id: string;
166
179
  time_zone_id: string;
180
+ login_from: LoginFrom;
167
181
  organisation_id: string;
168
- db_instance: string;
169
- db_group: string;
170
182
  vehicle_ids: string[];
171
183
  from_date: string;
172
184
  to_date: string;
@@ -174,12 +186,12 @@ declare const SimpleReportSchema: z.ZodObject<{
174
186
  interval_seconds: number;
175
187
  boolean_type: BooleanType;
176
188
  }, {
177
- login_from: LoginFrom;
189
+ db_group: string;
190
+ db_instance: string;
178
191
  date_format_id: string;
179
192
  time_zone_id: string;
193
+ login_from: LoginFrom;
180
194
  organisation_id: string;
181
- db_instance: string;
182
- db_group: string;
183
195
  from_date: string;
184
196
  to_date: string;
185
197
  gps_type: GPSType;
@@ -208,26 +220,26 @@ declare const MultipleVehicleLast24HoursReportSchema: z.ZodObject<{
208
220
  utilization_km: z.ZodEffects<z.ZodNumber, number, unknown>;
209
221
  is12am: z.ZodType<Is12AM, z.ZodTypeDef, Is12AM>;
210
222
  }, "strip", z.ZodTypeAny, {
223
+ db_group: string;
224
+ db_instance: string;
211
225
  search: string;
212
226
  paging: PAGING;
213
227
  page_count: number;
214
228
  page_index: number;
215
- login_from: LoginFrom;
216
229
  date_format_id: string;
217
230
  time_zone_id: string;
231
+ login_from: LoginFrom;
218
232
  organisation_id: string;
219
- db_instance: string;
220
- db_group: string;
221
233
  vehicle_ids: string[];
222
234
  utilization_km: number;
223
235
  is12am: Is12AM;
224
236
  }, {
225
- login_from: LoginFrom;
237
+ db_group: string;
238
+ db_instance: string;
226
239
  date_format_id: string;
227
240
  time_zone_id: string;
241
+ login_from: LoginFrom;
228
242
  organisation_id: string;
229
- db_instance: string;
230
- db_group: string;
231
243
  is12am: Is12AM;
232
244
  search?: string | undefined;
233
245
  paging?: PAGING | undefined;
@@ -254,27 +266,27 @@ declare const SingleVehicleReportSchema: z.ZodObject<{
254
266
  to_date_time: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
255
267
  interval_seconds: z.ZodEffects<z.ZodNumber, number, unknown>;
256
268
  }, "strip", z.ZodTypeAny, {
269
+ db_group: string;
270
+ db_instance: string;
257
271
  search: string;
258
272
  paging: PAGING;
259
273
  page_count: number;
260
274
  page_index: number;
261
- login_from: LoginFrom;
262
275
  date_format_id: string;
263
276
  time_zone_id: string;
277
+ login_from: LoginFrom;
264
278
  organisation_id: string;
265
- db_instance: string;
266
- db_group: string;
267
279
  interval_seconds: number;
268
280
  vehicle_id: string;
269
281
  from_date_time: string;
270
282
  to_date_time: string;
271
283
  }, {
272
- login_from: LoginFrom;
284
+ db_group: string;
285
+ db_instance: string;
273
286
  date_format_id: string;
274
287
  time_zone_id: string;
288
+ login_from: LoginFrom;
275
289
  organisation_id: string;
276
- db_instance: string;
277
- db_group: string;
278
290
  vehicle_id: string;
279
291
  from_date_time: string;
280
292
  to_date_time: string;
@@ -299,24 +311,24 @@ declare const VehicleDashboardSummaryQuerySchema: z.ZodObject<{
299
311
  db_group: z.ZodEffects<z.ZodString, string, string>;
300
312
  vehicle_id: z.ZodEffects<z.ZodString, string, string>;
301
313
  }, "strip", z.ZodTypeAny, {
314
+ db_group: string;
315
+ db_instance: string;
302
316
  search: string;
303
317
  paging: PAGING;
304
318
  page_count: number;
305
319
  page_index: number;
306
- login_from: LoginFrom;
307
320
  date_format_id: string;
308
321
  time_zone_id: string;
322
+ login_from: LoginFrom;
309
323
  organisation_id: string;
310
- db_instance: string;
311
- db_group: string;
312
324
  vehicle_id: string;
313
325
  }, {
314
- login_from: LoginFrom;
326
+ db_group: string;
327
+ db_instance: string;
315
328
  date_format_id: string;
316
329
  time_zone_id: string;
330
+ login_from: LoginFrom;
317
331
  organisation_id: string;
318
- db_instance: string;
319
- db_group: string;
320
332
  vehicle_id: string;
321
333
  search?: string | undefined;
322
334
  paging?: PAGING | undefined;
@@ -346,16 +358,16 @@ declare const AlertReportSchema: z.ZodObject<{
346
358
  from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
347
359
  to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
348
360
  }, "strip", z.ZodTypeAny, {
361
+ db_group: string;
362
+ db_instance: string;
349
363
  search: string;
350
364
  paging: PAGING;
351
365
  page_count: number;
352
366
  page_index: number;
353
- login_from: LoginFrom;
354
367
  date_format_id: string;
355
368
  time_zone_id: string;
369
+ login_from: LoginFrom;
356
370
  organisation_id: string;
357
- db_instance: string;
358
- db_group: string;
359
371
  vehicle_ids: string[];
360
372
  from_date: string;
361
373
  to_date: string;
@@ -366,12 +378,12 @@ declare const AlertReportSchema: z.ZodObject<{
366
378
  alert_types: AlertType[];
367
379
  alert_sub_types: AlertSubType[];
368
380
  }, {
369
- login_from: LoginFrom;
381
+ db_group: string;
382
+ db_instance: string;
370
383
  date_format_id: string;
371
384
  time_zone_id: string;
385
+ login_from: LoginFrom;
372
386
  organisation_id: string;
373
- db_instance: string;
374
- db_group: string;
375
387
  from_date: string;
376
388
  to_date: string;
377
389
  search?: string | undefined;
@@ -524,6 +524,8 @@ var MultipleVehicleReportSchema = MongoBaseQuerySchema.extend({
524
524
  ),
525
525
  over_speed: enumOptional("Over Speed", OverSpeed, "Over_Speed_60KM" /* Over_Speed_60KM */),
526
526
  utilization_km: numberMandatory("Utilization KM"),
527
+ raw_data: enumOptional("Raw Data", YesNo, "No" /* No */),
528
+ day_summary: enumOptional("Day Summary", YesNo, "No" /* No */),
527
529
  vehicle_summary: enumOptional("Vehicle Summary", YesNo, "No" /* No */),
528
530
  driver_summary: enumOptional("Vehicle Summary", YesNo, "No" /* No */)
529
531
  });
@@ -546,6 +548,8 @@ var MultipleDriverReportSchema = MongoBaseQuerySchema.extend({
546
548
  ),
547
549
  over_speed: enumOptional("Over Speed", OverSpeed, "Over_Speed_60KM" /* Over_Speed_60KM */),
548
550
  utilization_km: numberMandatory("Utilization KM"),
551
+ raw_data: enumOptional("Raw Data", YesNo, "No" /* No */),
552
+ day_summary: enumOptional("Day Summary", YesNo, "No" /* No */),
549
553
  vehicle_summary: enumOptional("Vehicle Summary", YesNo, "No" /* No */),
550
554
  driver_summary: enumOptional("Vehicle Summary", YesNo, "No" /* No */)
551
555
  });
@@ -31,7 +31,6 @@ declare const ContactUsDetailSchema: z.ZodObject<{
31
31
  telegram_chat_url: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
32
32
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
33
33
  }, "strip", z.ZodTypeAny, {
34
- status: Status;
35
34
  mobile_number: string;
36
35
  email: string;
37
36
  facebook_link: string;
@@ -42,6 +41,7 @@ declare const ContactUsDetailSchema: z.ZodObject<{
42
41
  pinterest_link: string;
43
42
  whats_app_chat_url: string;
44
43
  telegram_chat_url: string;
44
+ status: Status;
45
45
  }, {
46
46
  status: Status;
47
47
  mobile_number?: string | undefined;
@@ -17,10 +17,10 @@ declare const FaqSchema: z.ZodObject<{
17
17
  faq_content: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
18
18
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
19
19
  }, "strip", z.ZodTypeAny, {
20
+ status: Status;
20
21
  faq_section: string;
21
22
  faq_header: string;
22
23
  faq_content: string;
23
- status: Status;
24
24
  }, {
25
25
  status: Status;
26
26
  faq_section?: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vms-nest-prisma-api-document",
3
- "version": "800.0.0",
3
+ "version": "820.0.0",
4
4
  "description": "Reusable API SDK built with NestJS, Prisma, Axios, and Zod for VMS frontends.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",