vms-nest-prisma-api-document 1026.0.0 → 1027.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.
@@ -36,21 +36,21 @@ declare const MultipleVehicleReportSchema: z.ZodObject<{
36
36
  vehicle_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
37
37
  driver_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
38
38
  }, "strip", z.ZodTypeAny, {
39
- db_group: string;
40
- db_instance: string;
41
- night_driving: NightDriving;
42
39
  search: string;
43
40
  paging: PAGING;
44
41
  page_count: number;
45
42
  page_index: number;
43
+ login_from: LoginFrom;
46
44
  date_format_id: string;
47
45
  time_zone_id: string;
48
- login_from: LoginFrom;
49
46
  organisation_id: string;
47
+ db_instance: string;
48
+ db_group: string;
50
49
  vehicle_ids: string[];
51
50
  from_date: string;
52
51
  to_date: string;
53
52
  time_slot: TimeSlot;
53
+ night_driving: NightDriving;
54
54
  over_speed: OverSpeed;
55
55
  utilization_km: number;
56
56
  raw_data: YesNo;
@@ -58,21 +58,21 @@ declare const MultipleVehicleReportSchema: z.ZodObject<{
58
58
  vehicle_summary: YesNo;
59
59
  driver_summary: YesNo;
60
60
  }, {
61
- db_group: string;
62
- db_instance: string;
61
+ login_from: LoginFrom;
63
62
  date_format_id: string;
64
63
  time_zone_id: string;
65
- login_from: LoginFrom;
66
64
  organisation_id: string;
65
+ db_instance: string;
66
+ db_group: string;
67
67
  from_date: string;
68
68
  to_date: string;
69
- night_driving?: NightDriving | undefined;
70
69
  search?: string | undefined;
71
70
  paging?: PAGING | undefined;
72
71
  page_count?: unknown;
73
72
  page_index?: unknown;
74
73
  vehicle_ids?: string[] | undefined;
75
74
  time_slot?: TimeSlot | undefined;
75
+ night_driving?: NightDriving | undefined;
76
76
  over_speed?: OverSpeed | undefined;
77
77
  utilization_km?: unknown;
78
78
  raw_data?: YesNo | undefined;
@@ -105,20 +105,20 @@ declare const MultipleDriverReportSchema: z.ZodObject<{
105
105
  vehicle_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
106
106
  driver_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
107
107
  }, "strip", z.ZodTypeAny, {
108
- db_group: string;
109
- db_instance: string;
110
- night_driving: NightDriving;
111
108
  search: string;
112
109
  paging: PAGING;
113
110
  page_count: number;
114
111
  page_index: number;
112
+ login_from: LoginFrom;
115
113
  date_format_id: string;
116
114
  time_zone_id: string;
117
- login_from: LoginFrom;
118
115
  organisation_id: string;
116
+ db_instance: string;
117
+ db_group: string;
119
118
  from_date: string;
120
119
  to_date: string;
121
120
  time_slot: TimeSlot;
121
+ night_driving: NightDriving;
122
122
  over_speed: OverSpeed;
123
123
  utilization_km: number;
124
124
  raw_data: YesNo;
@@ -127,20 +127,20 @@ declare const MultipleDriverReportSchema: z.ZodObject<{
127
127
  driver_summary: YesNo;
128
128
  driver_ids: string[];
129
129
  }, {
130
- db_group: string;
131
- db_instance: string;
130
+ login_from: LoginFrom;
132
131
  date_format_id: string;
133
132
  time_zone_id: string;
134
- login_from: LoginFrom;
135
133
  organisation_id: string;
134
+ db_instance: string;
135
+ db_group: string;
136
136
  from_date: string;
137
137
  to_date: string;
138
- night_driving?: NightDriving | undefined;
139
138
  search?: string | undefined;
140
139
  paging?: PAGING | undefined;
141
140
  page_count?: unknown;
142
141
  page_index?: unknown;
143
142
  time_slot?: TimeSlot | undefined;
143
+ night_driving?: NightDriving | undefined;
144
144
  over_speed?: OverSpeed | undefined;
145
145
  utilization_km?: unknown;
146
146
  raw_data?: YesNo | undefined;
@@ -169,16 +169,16 @@ declare const SimpleReportSchema: z.ZodObject<{
169
169
  interval_seconds: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
170
170
  boolean_type: z.ZodType<BooleanType, z.ZodTypeDef, BooleanType>;
171
171
  }, "strip", z.ZodTypeAny, {
172
- db_group: string;
173
- db_instance: string;
174
172
  search: string;
175
173
  paging: PAGING;
176
174
  page_count: number;
177
175
  page_index: number;
176
+ login_from: LoginFrom;
178
177
  date_format_id: string;
179
178
  time_zone_id: string;
180
- login_from: LoginFrom;
181
179
  organisation_id: string;
180
+ db_instance: string;
181
+ db_group: string;
182
182
  vehicle_ids: string[];
183
183
  from_date: string;
184
184
  to_date: string;
@@ -186,12 +186,12 @@ declare const SimpleReportSchema: z.ZodObject<{
186
186
  interval_seconds: number;
187
187
  boolean_type: BooleanType;
188
188
  }, {
189
- db_group: string;
190
- db_instance: string;
189
+ login_from: LoginFrom;
191
190
  date_format_id: string;
192
191
  time_zone_id: string;
193
- login_from: LoginFrom;
194
192
  organisation_id: string;
193
+ db_instance: string;
194
+ db_group: string;
195
195
  from_date: string;
196
196
  to_date: string;
197
197
  gps_type: GPSType;
@@ -220,26 +220,26 @@ declare const MultipleVehicleLast24HoursReportSchema: z.ZodObject<{
220
220
  utilization_km: z.ZodEffects<z.ZodNumber, number, unknown>;
221
221
  is12am: z.ZodType<Is12AM, z.ZodTypeDef, Is12AM>;
222
222
  }, "strip", z.ZodTypeAny, {
223
- db_group: string;
224
- db_instance: string;
225
223
  search: string;
226
224
  paging: PAGING;
227
225
  page_count: number;
228
226
  page_index: number;
227
+ login_from: LoginFrom;
229
228
  date_format_id: string;
230
229
  time_zone_id: string;
231
- login_from: LoginFrom;
232
230
  organisation_id: string;
231
+ db_instance: string;
232
+ db_group: string;
233
233
  vehicle_ids: string[];
234
234
  utilization_km: number;
235
235
  is12am: Is12AM;
236
236
  }, {
237
- db_group: string;
238
- db_instance: string;
237
+ login_from: LoginFrom;
239
238
  date_format_id: string;
240
239
  time_zone_id: string;
241
- login_from: LoginFrom;
242
240
  organisation_id: string;
241
+ db_instance: string;
242
+ db_group: string;
243
243
  is12am: Is12AM;
244
244
  search?: string | undefined;
245
245
  paging?: PAGING | undefined;
@@ -266,27 +266,27 @@ declare const SingleVehicleReportSchema: z.ZodObject<{
266
266
  to_date_time: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>, string, string>;
267
267
  interval_seconds: z.ZodEffects<z.ZodNumber, number, unknown>;
268
268
  }, "strip", z.ZodTypeAny, {
269
- db_group: string;
270
- db_instance: string;
271
269
  search: string;
272
270
  paging: PAGING;
273
271
  page_count: number;
274
272
  page_index: number;
273
+ login_from: LoginFrom;
275
274
  date_format_id: string;
276
275
  time_zone_id: string;
277
- login_from: LoginFrom;
278
276
  organisation_id: string;
277
+ db_instance: string;
278
+ db_group: string;
279
279
  interval_seconds: number;
280
280
  vehicle_id: string;
281
281
  from_date_time: string;
282
282
  to_date_time: string;
283
283
  }, {
284
- db_group: string;
285
- db_instance: string;
284
+ login_from: LoginFrom;
286
285
  date_format_id: string;
287
286
  time_zone_id: string;
288
- login_from: LoginFrom;
289
287
  organisation_id: string;
288
+ db_instance: string;
289
+ db_group: string;
290
290
  vehicle_id: string;
291
291
  from_date_time: string;
292
292
  to_date_time: string;
@@ -311,24 +311,24 @@ declare const VehicleDashboardSummaryQuerySchema: z.ZodObject<{
311
311
  db_group: z.ZodEffects<z.ZodString, string, string>;
312
312
  vehicle_id: z.ZodEffects<z.ZodString, string, string>;
313
313
  }, "strip", z.ZodTypeAny, {
314
- db_group: string;
315
- db_instance: string;
316
314
  search: string;
317
315
  paging: PAGING;
318
316
  page_count: number;
319
317
  page_index: number;
318
+ login_from: LoginFrom;
320
319
  date_format_id: string;
321
320
  time_zone_id: string;
322
- login_from: LoginFrom;
323
321
  organisation_id: string;
322
+ db_instance: string;
323
+ db_group: string;
324
324
  vehicle_id: string;
325
325
  }, {
326
- db_group: string;
327
- db_instance: string;
326
+ login_from: LoginFrom;
328
327
  date_format_id: string;
329
328
  time_zone_id: string;
330
- login_from: LoginFrom;
331
329
  organisation_id: string;
330
+ db_instance: string;
331
+ db_group: string;
332
332
  vehicle_id: string;
333
333
  search?: string | undefined;
334
334
  paging?: PAGING | undefined;
@@ -358,16 +358,16 @@ declare const AlertReportSchema: z.ZodObject<{
358
358
  from_date: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>, string, string>;
359
359
  to_date: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>, string, string>;
360
360
  }, "strip", z.ZodTypeAny, {
361
- db_group: string;
362
- db_instance: string;
363
361
  search: string;
364
362
  paging: PAGING;
365
363
  page_count: number;
366
364
  page_index: number;
365
+ login_from: LoginFrom;
367
366
  date_format_id: string;
368
367
  time_zone_id: string;
369
- login_from: LoginFrom;
370
368
  organisation_id: string;
369
+ db_instance: string;
370
+ db_group: string;
371
371
  vehicle_ids: string[];
372
372
  from_date: string;
373
373
  to_date: string;
@@ -378,12 +378,12 @@ declare const AlertReportSchema: z.ZodObject<{
378
378
  alert_types: AlertType[];
379
379
  alert_sub_types: AlertSubType[];
380
380
  }, {
381
- db_group: string;
382
- db_instance: string;
381
+ login_from: LoginFrom;
383
382
  date_format_id: string;
384
383
  time_zone_id: string;
385
- login_from: LoginFrom;
386
384
  organisation_id: string;
385
+ db_instance: string;
386
+ db_group: string;
387
387
  from_date: string;
388
388
  to_date: string;
389
389
  search?: string | undefined;
@@ -282,7 +282,7 @@ var MasterMainLandmarkSchema = z3.object({
282
282
  // GPS
283
283
  latitude: doubleOptionalLatLng("Latitude"),
284
284
  longitude: doubleOptionalLatLng("Longitude"),
285
- google_location: stringOptional("Google Location", 0, 100),
285
+ google_location: stringOptional("Google Location", 0, 500),
286
286
  // Metadata
287
287
  status: enumMandatory("Status", Status, "Active" /* Active */)
288
288
  });
@@ -31,9 +31,8 @@ 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
- email: string;
35
- status: Status;
36
34
  mobile_number: string;
35
+ email: string;
37
36
  facebook_link: string;
38
37
  twitter_link: string;
39
38
  instagram_link: string;
@@ -42,10 +41,11 @@ 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
- email?: string | undefined;
48
47
  mobile_number?: string | undefined;
48
+ email?: string | undefined;
49
49
  facebook_link?: string | undefined;
50
50
  twitter_link?: string | undefined;
51
51
  instagram_link?: string | undefined;
@@ -25,23 +25,23 @@ declare const RequestDemoSchema: z.ZodObject<{
25
25
  admin_view: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
26
26
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
27
27
  }, "strip", z.ZodTypeAny, {
28
- name: string;
29
- mobile: string;
30
28
  email: string;
29
+ status: Status;
31
30
  message: string;
32
- city: string;
31
+ name: string;
32
+ mobile: string;
33
33
  admin_message: string;
34
+ city: string;
34
35
  admin_view: YesNo;
35
- status: Status;
36
36
  }, {
37
+ status: Status;
37
38
  name: string;
38
39
  admin_view: YesNo;
39
- status: Status;
40
- mobile?: string | undefined;
41
40
  email?: string | undefined;
42
41
  message?: string | undefined;
43
- city?: string | undefined;
42
+ mobile?: string | undefined;
44
43
  admin_message?: string | undefined;
44
+ city?: string | undefined;
45
45
  }>;
46
46
  type RequestDemoDTO = z.infer<typeof RequestDemoSchema>;
47
47
  declare const RequestDemoQuerySchema: z.ZodObject<{
@@ -78,7 +78,6 @@ declare const RequestDemoQuerySchema: z.ZodObject<{
78
78
  request_demo_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
79
79
  admin_view: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof YesNo>, "many">>>;
80
80
  }, "strip", z.ZodTypeAny, {
81
- admin_view: YesNo[];
82
81
  status: Status[];
83
82
  search: string;
84
83
  paging: PAGING;
@@ -100,11 +99,11 @@ declare const RequestDemoQuerySchema: z.ZodObject<{
100
99
  include_master_data: YesNo;
101
100
  date_format_id: string;
102
101
  time_zone_id: string;
102
+ admin_view: YesNo[];
103
103
  request_demo_ids: string[];
104
104
  }, {
105
105
  date_format_id: string;
106
106
  time_zone_id: string;
107
- admin_view?: YesNo[] | undefined;
108
107
  status?: Status[] | undefined;
109
108
  search?: string | undefined;
110
109
  paging?: PAGING | undefined;
@@ -124,6 +123,7 @@ declare const RequestDemoQuerySchema: z.ZodObject<{
124
123
  direction: OrderBy;
125
124
  }[] | undefined;
126
125
  include_master_data?: YesNo | undefined;
126
+ admin_view?: YesNo[] | undefined;
127
127
  request_demo_ids?: string[] | undefined;
128
128
  }>;
129
129
  type RequestDemoQueryDTO = z.infer<typeof RequestDemoQuerySchema>;
@@ -134,16 +134,16 @@ declare const RequestDemoCreateSchema: z.ZodObject<{
134
134
  message: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
135
135
  city: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
136
136
  }, "strip", z.ZodTypeAny, {
137
- name: string;
138
- mobile: string;
139
137
  email: string;
140
138
  message: string;
139
+ name: string;
140
+ mobile: string;
141
141
  city: string;
142
142
  }, {
143
143
  name: string;
144
- mobile?: string | undefined;
145
144
  email?: string | undefined;
146
145
  message?: string | undefined;
146
+ mobile?: string | undefined;
147
147
  city?: string | undefined;
148
148
  }>;
149
149
  type RequestDemoCreateDTO = z.infer<typeof RequestDemoCreateSchema>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vms-nest-prisma-api-document",
3
- "version": "1026.0.0",
3
+ "version": "1027.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",