vms-nest-prisma-api-document 50.0.0 → 55.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.
@@ -62,22 +62,22 @@ declare const FleetFuelDailySummarySchema: z.ZodObject<{
62
62
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
63
63
  }, "strip", z.ZodTypeAny, {
64
64
  date: string;
65
- start_fuel_liters: number;
66
- end_fuel_liters: number;
65
+ status: Status;
66
+ organisation_id: string;
67
+ user_id: string;
68
+ vehicle_id: string;
69
+ driver_id: string;
70
+ device_id: string;
67
71
  total_km: number;
68
72
  consumed_fuel_liters: number;
69
73
  refills_count: number;
74
+ start_fuel_liters: number;
75
+ end_fuel_liters: number;
70
76
  refill_liters: number;
71
77
  removals_count: number;
72
78
  removal_liters: number;
73
79
  mileage_kmpl: number;
74
80
  liters_per_100km: number;
75
- status: Status;
76
- organisation_id: string;
77
- user_id: string;
78
- vehicle_id: string;
79
- driver_id: string;
80
- device_id: string;
81
81
  }, {
82
82
  date: string;
83
83
  status: Status;
@@ -86,11 +86,11 @@ declare const FleetFuelDailySummarySchema: z.ZodObject<{
86
86
  vehicle_id: string;
87
87
  driver_id: string;
88
88
  device_id: string;
89
- start_fuel_liters?: unknown;
90
- end_fuel_liters?: unknown;
91
89
  total_km?: unknown;
92
90
  consumed_fuel_liters?: unknown;
93
91
  refills_count?: unknown;
92
+ start_fuel_liters?: unknown;
93
+ end_fuel_liters?: unknown;
94
94
  refill_liters?: unknown;
95
95
  removals_count?: unknown;
96
96
  removal_liters?: unknown;
@@ -140,6 +140,7 @@ declare const FleetFuelDailySummaryQuerySchema: z.ZodObject<{
140
140
  day_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
141
141
  }, "strip", z.ZodTypeAny, {
142
142
  status: Status[];
143
+ time_zone_id: string;
143
144
  search: string;
144
145
  paging: PAGING;
145
146
  page_count: number;
@@ -159,7 +160,6 @@ declare const FleetFuelDailySummaryQuerySchema: z.ZodObject<{
159
160
  }[];
160
161
  include_master_data: YesNo;
161
162
  date_format_id: string;
162
- time_zone_id: string;
163
163
  organisation_ids: string[];
164
164
  user_ids: string[];
165
165
  vehicle_ids: string[];
@@ -170,8 +170,8 @@ declare const FleetFuelDailySummaryQuerySchema: z.ZodObject<{
170
170
  vehicle_summary: YesNo;
171
171
  day_summary: YesNo;
172
172
  }, {
173
- date_format_id: string;
174
173
  time_zone_id: string;
174
+ date_format_id: string;
175
175
  from_date: string;
176
176
  to_date: string;
177
177
  status?: Status[] | undefined;
@@ -239,6 +239,7 @@ declare const FleetFuelDailyMonthlySummaryQuerySchema: z.ZodObject<{
239
239
  to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
240
240
  }, "strip", z.ZodTypeAny, {
241
241
  status: Status[];
242
+ time_zone_id: string;
242
243
  search: string;
243
244
  paging: PAGING;
244
245
  page_count: number;
@@ -258,14 +259,13 @@ declare const FleetFuelDailyMonthlySummaryQuerySchema: z.ZodObject<{
258
259
  }[];
259
260
  include_master_data: YesNo;
260
261
  date_format_id: string;
261
- time_zone_id: string;
262
262
  organisation_ids: string[];
263
263
  vehicle_ids: string[];
264
264
  from_date: string;
265
265
  to_date: string;
266
266
  }, {
267
- date_format_id: string;
268
267
  time_zone_id: string;
268
+ date_format_id: string;
269
269
  from_date: string;
270
270
  to_date: string;
271
271
  status?: Status[] | undefined;
@@ -327,6 +327,7 @@ declare const AllVehiclesFuelDailySummaryQuerySchema: z.ZodObject<{
327
327
  }, "strip", z.ZodTypeAny, {
328
328
  date: string;
329
329
  status: Status[];
330
+ time_zone_id: string;
330
331
  search: string;
331
332
  paging: PAGING;
332
333
  page_count: number;
@@ -346,12 +347,11 @@ declare const AllVehiclesFuelDailySummaryQuerySchema: z.ZodObject<{
346
347
  }[];
347
348
  include_master_data: YesNo;
348
349
  date_format_id: string;
349
- time_zone_id: string;
350
350
  organisation_utrack_id: string;
351
351
  }, {
352
352
  date: string;
353
- date_format_id: string;
354
353
  time_zone_id: string;
354
+ date_format_id: string;
355
355
  organisation_utrack_id: string;
356
356
  status?: Status[] | undefined;
357
357
  search?: string | undefined;
@@ -101,6 +101,7 @@ declare const FleetFuelRefillFileSchema: z.ZodObject<{
101
101
  organisation_id: z.ZodEffects<z.ZodString, string, string>;
102
102
  fleet_fuel_refill_id: z.ZodEffects<z.ZodString, string, string>;
103
103
  }, "strip", z.ZodTypeAny, {
104
+ fleet_fuel_refill_id: string;
104
105
  status: Status;
105
106
  organisation_id: string;
106
107
  usage_type: string;
@@ -111,13 +112,12 @@ declare const FleetFuelRefillFileSchema: z.ZodObject<{
111
112
  file_description: string;
112
113
  file_size: number;
113
114
  file_metadata: Record<string, any>;
114
- fleet_fuel_refill_id: string;
115
115
  }, {
116
+ fleet_fuel_refill_id: string;
116
117
  status: Status;
117
118
  organisation_id: string;
118
119
  usage_type: string;
119
120
  file_type: FileType;
120
- fleet_fuel_refill_id: string;
121
121
  file_url?: string | undefined;
122
122
  file_key?: string | undefined;
123
123
  file_name?: string | undefined;
@@ -181,6 +181,7 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
181
181
  organisation_id: z.ZodEffects<z.ZodString, string, string>;
182
182
  fleet_fuel_refill_id: z.ZodEffects<z.ZodString, string, string>;
183
183
  }, z.UnknownKeysParam, z.ZodTypeAny, {
184
+ fleet_fuel_refill_id: string;
184
185
  status: Status;
185
186
  organisation_id: string;
186
187
  usage_type: string;
@@ -191,13 +192,12 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
191
192
  file_description: string;
192
193
  file_size: number;
193
194
  file_metadata: Record<string, any>;
194
- fleet_fuel_refill_id: string;
195
195
  }, {
196
+ fleet_fuel_refill_id: string;
196
197
  status: Status;
197
198
  organisation_id: string;
198
199
  usage_type: string;
199
200
  file_type: FileType;
200
- fleet_fuel_refill_id: string;
201
201
  file_url?: string | undefined;
202
202
  file_key?: string | undefined;
203
203
  file_name?: string | undefined;
@@ -206,17 +206,6 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
206
206
  file_metadata?: Record<string, any> | undefined;
207
207
  }>, "many">>>;
208
208
  }, "strip", z.ZodTypeAny, {
209
- status: Status;
210
- organisation_id: string;
211
- user_id: string;
212
- vehicle_id: string;
213
- driver_id: string;
214
- device_id: string;
215
- time_zone_id: string;
216
- vehicle_fuel_type_id: string;
217
- vehicle_fuel_unit_id: string;
218
- odometer_reading: number;
219
- google_location: string;
220
209
  date_time: string;
221
210
  admin_verify_status: GPSFuelApproveStatus;
222
211
  transporter_verify_status: GPSFuelApproveStatus;
@@ -232,12 +221,23 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
232
221
  payment_reference_number: string;
233
222
  fuel_card_number: string;
234
223
  payment_notes: string;
224
+ google_location: string;
225
+ odometer_reading: number;
235
226
  tank_size: number;
236
227
  is_full_tank: YesNo;
237
228
  is_previous_entries_missed: YesNo;
229
+ status: Status;
230
+ organisation_id: string;
231
+ user_id: string;
232
+ vehicle_id: string;
233
+ driver_id: string;
234
+ device_id: string;
238
235
  vendor_id: string;
239
236
  fuel_station_id: string;
237
+ vehicle_fuel_type_id: string;
238
+ vehicle_fuel_unit_id: string;
240
239
  FleetFuelRefillFile: {
240
+ fleet_fuel_refill_id: string;
241
241
  status: Status;
242
242
  organisation_id: string;
243
243
  usage_type: string;
@@ -248,10 +248,8 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
248
248
  file_description: string;
249
249
  file_size: number;
250
250
  file_metadata: Record<string, any>;
251
- fleet_fuel_refill_id: string;
252
251
  }[];
253
- latitude?: number | undefined;
254
- longitude?: number | undefined;
252
+ time_zone_id: string;
255
253
  before_refill_quantity?: number | undefined;
256
254
  after_refill_quantity?: number | undefined;
257
255
  refill_quantity?: number | undefined;
@@ -259,16 +257,9 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
259
257
  diff_refill_quantity?: number | undefined;
260
258
  cost_per_unit?: number | undefined;
261
259
  total_cost?: number | undefined;
260
+ latitude?: number | undefined;
261
+ longitude?: number | undefined;
262
262
  }, {
263
- status: Status;
264
- organisation_id: string;
265
- user_id: string;
266
- vehicle_id: string;
267
- driver_id: string;
268
- device_id: string;
269
- time_zone_id: string;
270
- vehicle_fuel_type_id: string;
271
- vehicle_fuel_unit_id: string;
272
263
  date_time: string;
273
264
  admin_verify_status: GPSFuelApproveStatus;
274
265
  transporter_verify_status: GPSFuelApproveStatus;
@@ -276,12 +267,17 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
276
267
  payment_status: PaymentStatus;
277
268
  is_full_tank: YesNo;
278
269
  is_previous_entries_missed: YesNo;
270
+ status: Status;
271
+ organisation_id: string;
272
+ user_id: string;
273
+ vehicle_id: string;
274
+ driver_id: string;
275
+ device_id: string;
279
276
  vendor_id: string;
280
277
  fuel_station_id: string;
281
- odometer_reading?: unknown;
282
- latitude?: unknown;
283
- longitude?: unknown;
284
- google_location?: string | undefined;
278
+ vehicle_fuel_type_id: string;
279
+ vehicle_fuel_unit_id: string;
280
+ time_zone_id: string;
285
281
  before_refill_quantity?: unknown;
286
282
  after_refill_quantity?: unknown;
287
283
  refill_quantity?: unknown;
@@ -299,13 +295,17 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
299
295
  payment_reference_number?: string | undefined;
300
296
  fuel_card_number?: string | undefined;
301
297
  payment_notes?: string | undefined;
298
+ latitude?: unknown;
299
+ longitude?: unknown;
300
+ google_location?: string | undefined;
301
+ odometer_reading?: unknown;
302
302
  tank_size?: unknown;
303
303
  FleetFuelRefillFile?: {
304
+ fleet_fuel_refill_id: string;
304
305
  status: Status;
305
306
  organisation_id: string;
306
307
  usage_type: string;
307
308
  file_type: FileType;
308
- fleet_fuel_refill_id: string;
309
309
  file_url?: string | undefined;
310
310
  file_key?: string | undefined;
311
311
  file_name?: string | undefined;
@@ -362,7 +362,11 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
362
362
  from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
363
363
  to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
364
364
  }, "strip", z.ZodTypeAny, {
365
+ admin_verify_status: GPSFuelApproveStatus[];
366
+ transporter_verify_status: GPSFuelApproveStatus[];
367
+ entry_source: RefillEntrySource[];
365
368
  status: Status[];
369
+ time_zone_id: string;
366
370
  search: string;
367
371
  paging: PAGING;
368
372
  page_count: number;
@@ -382,27 +386,26 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
382
386
  }[];
383
387
  include_master_data: YesNo;
384
388
  date_format_id: string;
385
- time_zone_id: string;
386
389
  organisation_ids: string[];
387
390
  user_ids: string[];
388
391
  vehicle_ids: string[];
389
392
  driver_ids: string[];
390
393
  device_ids: string[];
391
- from_date: string;
392
- to_date: string;
393
- vehicle_fuel_type_ids: string[];
394
- admin_verify_status: GPSFuelApproveStatus[];
395
- transporter_verify_status: GPSFuelApproveStatus[];
396
- entry_source: RefillEntrySource[];
397
394
  vendor_ids: string[];
398
395
  fuel_station_ids: string[];
396
+ vehicle_fuel_type_ids: string[];
399
397
  vehicle_fuel_unit_ids: string[];
400
398
  fleet_fuel_refill_ids: string[];
399
+ from_date: string;
400
+ to_date: string;
401
401
  }, {
402
- date_format_id: string;
403
402
  time_zone_id: string;
403
+ date_format_id: string;
404
404
  from_date: string;
405
405
  to_date: string;
406
+ admin_verify_status?: GPSFuelApproveStatus[] | undefined;
407
+ transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
408
+ entry_source?: RefillEntrySource[] | undefined;
406
409
  status?: Status[] | undefined;
407
410
  search?: string | undefined;
408
411
  paging?: PAGING | undefined;
@@ -427,12 +430,9 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
427
430
  vehicle_ids?: string[] | undefined;
428
431
  driver_ids?: string[] | undefined;
429
432
  device_ids?: string[] | undefined;
430
- vehicle_fuel_type_ids?: string[] | undefined;
431
- admin_verify_status?: GPSFuelApproveStatus[] | undefined;
432
- transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
433
- entry_source?: RefillEntrySource[] | undefined;
434
433
  vendor_ids?: string[] | undefined;
435
434
  fuel_station_ids?: string[] | undefined;
435
+ vehicle_fuel_type_ids?: string[] | undefined;
436
436
  vehicle_fuel_unit_ids?: string[] | undefined;
437
437
  fleet_fuel_refill_ids?: string[] | undefined;
438
438
  }>;
@@ -177,23 +177,23 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
177
177
  file_metadata?: Record<string, any> | undefined;
178
178
  }>, "many">>>;
179
179
  }, "strip", z.ZodTypeAny, {
180
+ date_time: string;
181
+ admin_verify_status: GPSFuelApproveStatus;
182
+ transporter_verify_status: GPSFuelApproveStatus;
183
+ entry_source: RefillEntrySource;
184
+ source_reference_id: string;
185
+ source_notes: string;
186
+ google_location: string;
187
+ odometer_reading: number;
180
188
  status: Status;
181
189
  organisation_id: string;
182
190
  user_id: string;
183
191
  vehicle_id: string;
184
192
  driver_id: string;
185
193
  device_id: string;
186
- time_zone_id: string;
187
194
  vehicle_fuel_type_id: string;
188
195
  vehicle_fuel_unit_id: string;
189
- odometer_reading: number;
190
- google_location: string;
191
- date_time: string;
192
- admin_verify_status: GPSFuelApproveStatus;
193
- transporter_verify_status: GPSFuelApproveStatus;
194
- entry_source: RefillEntrySource;
195
- source_reference_id: string;
196
- source_notes: string;
196
+ time_zone_id: string;
197
197
  fuel_removal_reason_id: string;
198
198
  removal_details: string;
199
199
  FleetFuelRemovalFile: {
@@ -209,38 +209,38 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
209
209
  file_metadata: Record<string, any>;
210
210
  fleet_fuel_removal_id: string;
211
211
  }[];
212
- latitude?: number | undefined;
213
- longitude?: number | undefined;
214
212
  cost_per_unit?: number | undefined;
215
213
  total_cost?: number | undefined;
214
+ latitude?: number | undefined;
215
+ longitude?: number | undefined;
216
216
  before_removal_quantity?: number | undefined;
217
217
  after_removal_quantity?: number | undefined;
218
218
  removal_quantity?: number | undefined;
219
219
  verified_removal_quantity?: number | undefined;
220
220
  diff_removal_quantity?: number | undefined;
221
221
  }, {
222
+ date_time: string;
223
+ admin_verify_status: GPSFuelApproveStatus;
224
+ transporter_verify_status: GPSFuelApproveStatus;
222
225
  status: Status;
223
226
  organisation_id: string;
224
227
  user_id: string;
225
228
  vehicle_id: string;
226
229
  driver_id: string;
227
230
  device_id: string;
228
- time_zone_id: string;
229
231
  vehicle_fuel_type_id: string;
230
232
  vehicle_fuel_unit_id: string;
231
- date_time: string;
232
- admin_verify_status: GPSFuelApproveStatus;
233
- transporter_verify_status: GPSFuelApproveStatus;
233
+ time_zone_id: string;
234
234
  fuel_removal_reason_id: string;
235
- odometer_reading?: unknown;
236
- latitude?: unknown;
237
- longitude?: unknown;
238
- google_location?: string | undefined;
239
235
  cost_per_unit?: unknown;
240
236
  total_cost?: unknown;
241
237
  entry_source?: RefillEntrySource | undefined;
242
238
  source_reference_id?: string | undefined;
243
239
  source_notes?: string | undefined;
240
+ latitude?: unknown;
241
+ longitude?: unknown;
242
+ google_location?: string | undefined;
243
+ odometer_reading?: unknown;
244
244
  before_removal_quantity?: unknown;
245
245
  after_removal_quantity?: unknown;
246
246
  removal_quantity?: unknown;
@@ -307,7 +307,11 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
307
307
  from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
308
308
  to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
309
309
  }, "strip", z.ZodTypeAny, {
310
+ admin_verify_status: GPSFuelApproveStatus[];
311
+ transporter_verify_status: GPSFuelApproveStatus[];
312
+ entry_source: RefillEntrySource[];
310
313
  status: Status[];
314
+ time_zone_id: string;
311
315
  search: string;
312
316
  paging: PAGING;
313
317
  page_count: number;
@@ -327,25 +331,24 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
327
331
  }[];
328
332
  include_master_data: YesNo;
329
333
  date_format_id: string;
330
- time_zone_id: string;
331
334
  organisation_ids: string[];
332
335
  user_ids: string[];
333
336
  vehicle_ids: string[];
334
337
  driver_ids: string[];
335
338
  device_ids: string[];
336
- from_date: string;
337
- to_date: string;
338
339
  vehicle_fuel_type_ids: string[];
339
- admin_verify_status: GPSFuelApproveStatus[];
340
- transporter_verify_status: GPSFuelApproveStatus[];
341
- entry_source: RefillEntrySource[];
342
340
  vehicle_fuel_unit_ids: string[];
341
+ from_date: string;
342
+ to_date: string;
343
343
  fuel_removal_reason_ids: string[];
344
344
  }, {
345
- date_format_id: string;
346
345
  time_zone_id: string;
346
+ date_format_id: string;
347
347
  from_date: string;
348
348
  to_date: string;
349
+ admin_verify_status?: GPSFuelApproveStatus[] | undefined;
350
+ transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
351
+ entry_source?: RefillEntrySource[] | undefined;
349
352
  status?: Status[] | undefined;
350
353
  search?: string | undefined;
351
354
  paging?: PAGING | undefined;
@@ -371,9 +374,6 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
371
374
  driver_ids?: string[] | undefined;
372
375
  device_ids?: string[] | undefined;
373
376
  vehicle_fuel_type_ids?: string[] | undefined;
374
- admin_verify_status?: GPSFuelApproveStatus[] | undefined;
375
- transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
376
- entry_source?: RefillEntrySource[] | undefined;
377
377
  vehicle_fuel_unit_ids?: string[] | undefined;
378
378
  fuel_removal_reason_ids?: string[] | undefined;
379
379
  }>;
@@ -36,23 +36,23 @@ declare const GPSGeofenceTransactionSchema: z.ZodObject<{
36
36
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
37
37
  time_zone_id: z.ZodEffects<z.ZodString, string, string>;
38
38
  }, "strip", z.ZodTypeAny, {
39
+ geofence_status_type: GeofenceStatusType;
40
+ geofence_time: string;
39
41
  status: Status;
40
42
  organisation_id: string;
41
43
  vehicle_id: string;
42
44
  driver_id: string;
43
45
  gps_geofence_id: string;
44
46
  time_zone_id: string;
47
+ }, {
45
48
  geofence_status_type: GeofenceStatusType;
46
49
  geofence_time: string;
47
- }, {
48
50
  status: Status;
49
51
  organisation_id: string;
50
52
  vehicle_id: string;
51
53
  driver_id: string;
52
54
  gps_geofence_id: string;
53
55
  time_zone_id: string;
54
- geofence_status_type: GeofenceStatusType;
55
- geofence_time: string;
56
56
  }>;
57
57
  type GPSGeofenceTransactionDTO = z.infer<typeof GPSGeofenceTransactionSchema>;
58
58
  declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
@@ -94,6 +94,7 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
94
94
  from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
95
95
  to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
96
96
  }, "strip", z.ZodTypeAny, {
97
+ geofence_status_type: GeofenceStatusType[];
97
98
  status: Status[];
98
99
  time_zone_id: string;
99
100
  search: string;
@@ -121,12 +122,12 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
121
122
  gps_geofence_ids: string[];
122
123
  from_date: string;
123
124
  to_date: string;
124
- geofence_status_type: GeofenceStatusType[];
125
125
  }, {
126
126
  time_zone_id: string;
127
127
  date_format_id: string;
128
128
  from_date: string;
129
129
  to_date: string;
130
+ geofence_status_type?: GeofenceStatusType[] | undefined;
130
131
  status?: Status[] | undefined;
131
132
  search?: string | undefined;
132
133
  paging?: PAGING | undefined;
@@ -150,7 +151,6 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
150
151
  vehicle_ids?: string[] | undefined;
151
152
  driver_ids?: string[] | undefined;
152
153
  gps_geofence_ids?: string[] | undefined;
153
- geofence_status_type?: GeofenceStatusType[] | undefined;
154
154
  }>;
155
155
  type GPSGeofenceTransactionQueryDTO = z.infer<typeof GPSGeofenceTransactionQuerySchema>;
156
156
  declare const toGPSGeofenceTransactionPayload: (data: GPSGeofenceTransaction) => GPSGeofenceTransactionDTO;
@@ -46,27 +46,27 @@ declare const GPSGeofenceTransactionSummarySchema: z.ZodObject<{
46
46
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
47
47
  time_zone_id: z.ZodEffects<z.ZodString, string, string>;
48
48
  }, "strip", z.ZodTypeAny, {
49
- geofence_enter_date_time: string;
50
- geofence_exit_date_time: string;
51
- duration_seconds: number;
52
49
  status: Status;
53
50
  organisation_id: string;
54
51
  vehicle_id: string;
55
52
  driver_id: string;
56
53
  gps_geofence_id: string;
54
+ time_zone_id: string;
55
+ geofence_enter_date_time: string;
56
+ geofence_exit_date_time: string;
57
+ duration_seconds: number;
57
58
  enter_gps_geofence_transaction_id: string;
58
59
  exit_gps_geofence_transaction_id: string;
59
- time_zone_id: string;
60
60
  }, {
61
- geofence_enter_date_time: string;
62
61
  status: Status;
63
62
  organisation_id: string;
64
63
  vehicle_id: string;
65
64
  driver_id: string;
66
65
  gps_geofence_id: string;
66
+ time_zone_id: string;
67
+ geofence_enter_date_time: string;
67
68
  enter_gps_geofence_transaction_id: string;
68
69
  exit_gps_geofence_transaction_id: string;
69
- time_zone_id: string;
70
70
  geofence_exit_date_time?: string | undefined;
71
71
  duration_seconds?: unknown;
72
72
  }>;
@@ -55,12 +55,12 @@ declare const TripGeofenceToGeofenceSchema: z.ZodObject<{
55
55
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
56
56
  time_zone_id: z.ZodEffects<z.ZodString, string, string>;
57
57
  }, "strip", z.ZodTypeAny, {
58
- duration_seconds: number;
59
58
  status: Status;
60
59
  organisation_id: string;
61
60
  vehicle_id: string;
62
61
  driver_id: string;
63
62
  time_zone_id: string;
63
+ duration_seconds: number;
64
64
  from_geofence_exit_date_time: string;
65
65
  to_geofence_enter_date_time: string;
66
66
  travel_duration_seconds: number;
@@ -2,20 +2,12 @@ import { LinkType, LinkStatus, Status, NotificationChannel, PAGING, LoadParents,
2
2
  import { FBR, SBR } from '../../../core/BaseResponse.js';
3
3
  import { z } from 'zod';
4
4
  import { U as UserOrganisation, M as MasterVehicle } from '../../../user_organisation_service-Da1BdaCu.js';
5
- import { MasterMainLandmark } from '../../master/main/master_main_landmark_service.js';
6
5
  import '../../../zod_utils/zod_base_schema.js';
7
6
  import '../../master/main/master_main_sim_provider_service.js';
8
7
 
9
8
  interface GPSLiveTrackShareLink extends Record<string, unknown> {
10
9
  gps_live_track_share_link_id: string;
11
10
  link_type: LinkType;
12
- latitude?: number;
13
- longitude?: number;
14
- google_location?: string;
15
- landmark_id?: string;
16
- MasterMainLandmark?: MasterMainLandmark;
17
- landmark_location?: string;
18
- landmark_distance?: number;
19
11
  expiry_date_time: string;
20
12
  link_status: LinkStatus;
21
13
  status: Status;
@@ -56,17 +48,17 @@ declare const GPSLiveTrackShareLinkNotificationSchema: z.ZodObject<{
56
48
  cc_email_ids: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
57
49
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
58
50
  }, "strip", z.ZodTypeAny, {
59
- gps_live_track_share_link_id: string;
60
51
  status: Status;
61
52
  organisation_id: string;
62
53
  notification_channels: NotificationChannel[];
63
54
  mobile_numbers: string;
64
55
  email_ids: string;
65
56
  cc_email_ids: string;
66
- }, {
67
57
  gps_live_track_share_link_id: string;
58
+ }, {
68
59
  status: Status;
69
60
  organisation_id: string;
61
+ gps_live_track_share_link_id: string;
70
62
  notification_channels?: NotificationChannel[] | undefined;
71
63
  mobile_numbers?: string | undefined;
72
64
  email_ids?: string | undefined;
@@ -76,7 +68,6 @@ type GPSLiveTrackShareLinkNotificationDTO = z.infer<typeof GPSLiveTrackShareLink
76
68
  declare const GPSLiveTrackShareLinkSchema: z.ZodObject<{
77
69
  organisation_id: z.ZodEffects<z.ZodString, string, string>;
78
70
  vehicle_id: z.ZodEffects<z.ZodString, string, string>;
79
- link_type: z.ZodType<LinkType, z.ZodTypeDef, LinkType>;
80
71
  expire_milliseconds: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
81
72
  link_status: z.ZodType<LinkStatus, z.ZodTypeDef, LinkStatus>;
82
73
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
@@ -89,49 +80,47 @@ declare const GPSLiveTrackShareLinkSchema: z.ZodObject<{
89
80
  cc_email_ids: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
90
81
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
91
82
  }, z.UnknownKeysParam, z.ZodTypeAny, {
92
- gps_live_track_share_link_id: string;
93
83
  status: Status;
94
84
  organisation_id: string;
95
85
  notification_channels: NotificationChannel[];
96
86
  mobile_numbers: string;
97
87
  email_ids: string;
98
88
  cc_email_ids: string;
99
- }, {
100
89
  gps_live_track_share_link_id: string;
90
+ }, {
101
91
  status: Status;
102
92
  organisation_id: string;
93
+ gps_live_track_share_link_id: string;
103
94
  notification_channels?: NotificationChannel[] | undefined;
104
95
  mobile_numbers?: string | undefined;
105
96
  email_ids?: string | undefined;
106
97
  cc_email_ids?: string | undefined;
107
98
  }>, "many">>>;
108
99
  }, "strip", z.ZodTypeAny, {
109
- link_type: LinkType;
110
100
  link_status: LinkStatus;
111
101
  status: Status;
112
102
  organisation_id: string;
113
103
  vehicle_id: string;
114
104
  expire_milliseconds: number;
115
105
  GPSLiveTrackShareLinkNotification: {
116
- gps_live_track_share_link_id: string;
117
106
  status: Status;
118
107
  organisation_id: string;
119
108
  notification_channels: NotificationChannel[];
120
109
  mobile_numbers: string;
121
110
  email_ids: string;
122
111
  cc_email_ids: string;
112
+ gps_live_track_share_link_id: string;
123
113
  }[];
124
114
  }, {
125
- link_type: LinkType;
126
115
  link_status: LinkStatus;
127
116
  status: Status;
128
117
  organisation_id: string;
129
118
  vehicle_id: string;
130
119
  expire_milliseconds?: unknown;
131
120
  GPSLiveTrackShareLinkNotification?: {
132
- gps_live_track_share_link_id: string;
133
121
  status: Status;
134
122
  organisation_id: string;
123
+ gps_live_track_share_link_id: string;
135
124
  notification_channels?: NotificationChannel[] | undefined;
136
125
  mobile_numbers?: string | undefined;
137
126
  email_ids?: string | undefined;
@@ -188,13 +177,12 @@ declare const GPSLiveTrackShareLinkQuerySchema: z.ZodObject<{
188
177
  } & {
189
178
  organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
190
179
  vehicle_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
191
- link_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof LinkType>, "many">>>;
192
180
  link_status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof LinkStatus>, "many">>>;
193
181
  gps_live_track_share_link_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
194
182
  }, "strip", z.ZodTypeAny, {
195
- link_type: LinkType[];
196
183
  link_status: LinkStatus[];
197
184
  status: Status[];
185
+ time_zone_id: string;
198
186
  search: string;
199
187
  paging: PAGING;
200
188
  page_count: number;
@@ -214,14 +202,12 @@ declare const GPSLiveTrackShareLinkQuerySchema: z.ZodObject<{
214
202
  }[];
215
203
  include_master_data: YesNo;
216
204
  date_format_id: string;
217
- time_zone_id: string;
218
205
  organisation_ids: string[];
219
206
  vehicle_ids: string[];
220
207
  gps_live_track_share_link_ids: string[];
221
208
  }, {
222
- date_format_id: string;
223
209
  time_zone_id: string;
224
- link_type?: LinkType[] | undefined;
210
+ date_format_id: string;
225
211
  link_status?: LinkStatus[] | undefined;
226
212
  status?: Status[] | undefined;
227
213
  search?: string | undefined;
@@ -229,12 +229,6 @@ var NotificationChannel = /* @__PURE__ */ ((NotificationChannel2) => {
229
229
  NotificationChannel2["Email"] = "Email";
230
230
  return NotificationChannel2;
231
231
  })(NotificationChannel || {});
232
- var LinkType = /* @__PURE__ */ ((LinkType2) => {
233
- LinkType2["CurrentLocation"] = "CurrentLocation";
234
- LinkType2["LiveLocation"] = "LiveLocation";
235
- LinkType2["Trip"] = "Trip";
236
- return LinkType2;
237
- })(LinkType || {});
238
232
  var LinkStatus = /* @__PURE__ */ ((LinkStatus2) => {
239
233
  LinkStatus2["Active"] = "Active";
240
234
  LinkStatus2["Inactive"] = "Inactive";
@@ -327,7 +321,6 @@ var GPSLiveTrackShareLinkNotificationSchema = z3.object({
327
321
  var GPSLiveTrackShareLinkSchema = z3.object({
328
322
  organisation_id: single_select_mandatory("UserOrganisation"),
329
323
  vehicle_id: single_select_mandatory("Vehicle ID"),
330
- link_type: enumMandatory("Link Type", LinkType, "CurrentLocation" /* CurrentLocation */),
331
324
  expire_milliseconds: numberOptional("Expire Milliseconds"),
332
325
  link_status: enumMandatory("Link Status", LinkStatus, "Active" /* Active */),
333
326
  status: enumMandatory("Status", Status, "Active" /* Active */),
@@ -348,7 +341,6 @@ var GPSLiveTrackShareLinkQuerySchema = BaseQuerySchema.extend({
348
341
  // ✅ Multi-selection -> UserOrganisation
349
342
  vehicle_ids: multi_select_optional("MasterVehicle"),
350
343
  // ✅ Multi-selection -> MasterVehicle
351
- link_type: enumArrayOptional("Link Type", LinkType, getAllEnums(LinkType)),
352
344
  link_status: enumArrayOptional(
353
345
  "Link Status",
354
346
  LinkStatus,
@@ -360,7 +352,6 @@ var GPSLiveTrackShareLinkQuerySchema = BaseQuerySchema.extend({
360
352
  var toGPSLiveTrackShareLinkPayload = (data) => ({
361
353
  organisation_id: data.organisation_id,
362
354
  vehicle_id: data.vehicle_id,
363
- link_type: data.link_type,
364
355
  expire_milliseconds: 0,
365
356
  link_status: data.link_status,
366
357
  status: data.status,
@@ -369,7 +360,6 @@ var toGPSLiveTrackShareLinkPayload = (data) => ({
369
360
  var newGPSLiveTrackShareLinkPayload = () => ({
370
361
  organisation_id: "",
371
362
  vehicle_id: "",
372
- link_type: "CurrentLocation" /* CurrentLocation */,
373
363
  expire_milliseconds: 0,
374
364
  link_status: "Active" /* Active */,
375
365
  status: "Active" /* Active */,
@@ -48,17 +48,17 @@ declare const GPSTrackHistoryShareLinkNotificationSchema: z.ZodObject<{
48
48
  cc_email_ids: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
49
49
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
50
50
  }, "strip", z.ZodTypeAny, {
51
+ gps_track_history_share_link_id: string;
51
52
  status: Status;
52
53
  organisation_id: string;
53
54
  notification_channels: NotificationChannel[];
54
55
  mobile_numbers: string;
55
56
  email_ids: string;
56
57
  cc_email_ids: string;
57
- gps_track_history_share_link_id: string;
58
58
  }, {
59
+ gps_track_history_share_link_id: string;
59
60
  status: Status;
60
61
  organisation_id: string;
61
- gps_track_history_share_link_id: string;
62
62
  notification_channels?: NotificationChannel[] | undefined;
63
63
  mobile_numbers?: string | undefined;
64
64
  email_ids?: string | undefined;
@@ -82,51 +82,51 @@ declare const GPSTrackHistoryShareLinkSchema: z.ZodObject<{
82
82
  cc_email_ids: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
83
83
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
84
84
  }, z.UnknownKeysParam, z.ZodTypeAny, {
85
+ gps_track_history_share_link_id: string;
85
86
  status: Status;
86
87
  organisation_id: string;
87
88
  notification_channels: NotificationChannel[];
88
89
  mobile_numbers: string;
89
90
  email_ids: string;
90
91
  cc_email_ids: string;
91
- gps_track_history_share_link_id: string;
92
92
  }, {
93
+ gps_track_history_share_link_id: string;
93
94
  status: Status;
94
95
  organisation_id: string;
95
- gps_track_history_share_link_id: string;
96
96
  notification_channels?: NotificationChannel[] | undefined;
97
97
  mobile_numbers?: string | undefined;
98
98
  email_ids?: string | undefined;
99
99
  cc_email_ids?: string | undefined;
100
100
  }>, "many">>>;
101
101
  }, "strip", z.ZodTypeAny, {
102
+ from_date_time: string;
103
+ to_date_time: string;
102
104
  link_status: TrackHistoryLinkStatus;
103
105
  status: Status;
104
106
  organisation_id: string;
105
107
  vehicle_id: string;
106
- time_zone_id: string;
107
- from_date_time: string;
108
- to_date_time: string;
109
108
  GPSTrackHistoryShareLinkNotification: {
109
+ gps_track_history_share_link_id: string;
110
110
  status: Status;
111
111
  organisation_id: string;
112
112
  notification_channels: NotificationChannel[];
113
113
  mobile_numbers: string;
114
114
  email_ids: string;
115
115
  cc_email_ids: string;
116
- gps_track_history_share_link_id: string;
117
116
  }[];
117
+ time_zone_id: string;
118
118
  }, {
119
+ from_date_time: string;
120
+ to_date_time: string;
119
121
  link_status: TrackHistoryLinkStatus;
120
122
  status: Status;
121
123
  organisation_id: string;
122
124
  vehicle_id: string;
123
125
  time_zone_id: string;
124
- from_date_time: string;
125
- to_date_time: string;
126
126
  GPSTrackHistoryShareLinkNotification?: {
127
+ gps_track_history_share_link_id: string;
127
128
  status: Status;
128
129
  organisation_id: string;
129
- gps_track_history_share_link_id: string;
130
130
  notification_channels?: NotificationChannel[] | undefined;
131
131
  mobile_numbers?: string | undefined;
132
132
  email_ids?: string | undefined;
@@ -172,6 +172,7 @@ declare const GPSTrackHistoryShareLinkQuerySchema: z.ZodObject<{
172
172
  }, "strip", z.ZodTypeAny, {
173
173
  link_status: TrackHistoryLinkStatus[];
174
174
  status: Status[];
175
+ time_zone_id: string;
175
176
  search: string;
176
177
  paging: PAGING;
177
178
  page_count: number;
@@ -191,13 +192,12 @@ declare const GPSTrackHistoryShareLinkQuerySchema: z.ZodObject<{
191
192
  }[];
192
193
  include_master_data: YesNo;
193
194
  date_format_id: string;
194
- time_zone_id: string;
195
195
  organisation_ids: string[];
196
196
  vehicle_ids: string[];
197
197
  gps_track_history_share_link_ids: string[];
198
198
  }, {
199
- date_format_id: string;
200
199
  time_zone_id: string;
200
+ date_format_id: string;
201
201
  link_status?: TrackHistoryLinkStatus[] | undefined;
202
202
  status?: Status[] | undefined;
203
203
  search?: string | undefined;
@@ -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
- login_from: LoginFrom;
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
- login_from: LoginFrom;
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
- login_from: LoginFrom;
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
- login_from: LoginFrom;
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
- login_from: LoginFrom;
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
- login_from: LoginFrom;
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
- login_from: LoginFrom;
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;
@@ -15,12 +15,12 @@ declare const MasterMainEwayBillProviderSchema: z.ZodObject<{
15
15
  provider_code: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
16
16
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
17
17
  }, "strip", z.ZodTypeAny, {
18
+ status: Status;
18
19
  provider_name: string;
19
20
  provider_code: string;
20
- status: Status;
21
21
  }, {
22
- provider_name: string;
23
22
  status: Status;
23
+ provider_name: string;
24
24
  provider_code?: string | undefined;
25
25
  }>;
26
26
  type MasterMainEwayBillProviderDTO = z.infer<typeof MasterMainEwayBillProviderSchema>;
@@ -15,12 +15,12 @@ declare const MasterMainFasttagBankSchema: z.ZodObject<{
15
15
  bank_code: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
16
16
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
17
17
  }, "strip", z.ZodTypeAny, {
18
- status: Status;
19
18
  bank_name: string;
20
19
  bank_code: string;
21
- }, {
22
20
  status: Status;
21
+ }, {
23
22
  bank_name: string;
23
+ status: Status;
24
24
  bank_code?: string | undefined;
25
25
  }>;
26
26
  type MasterMainFasttagBankDTO = z.infer<typeof MasterMainFasttagBankSchema>;
@@ -100,6 +100,7 @@ declare const MasterMainLandmarkQuerySchema: z.ZodObject<{
100
100
  landmark_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
101
101
  }, "strip", z.ZodTypeAny, {
102
102
  status: Status[];
103
+ time_zone_id: string;
103
104
  search: string;
104
105
  paging: PAGING;
105
106
  page_count: number;
@@ -119,13 +120,12 @@ declare const MasterMainLandmarkQuerySchema: z.ZodObject<{
119
120
  }[];
120
121
  include_master_data: YesNo;
121
122
  date_format_id: string;
122
- time_zone_id: string;
123
123
  country_ids: string[];
124
124
  state_ids: string[];
125
125
  landmark_ids: string[];
126
126
  }, {
127
- date_format_id: string;
128
127
  time_zone_id: string;
128
+ date_format_id: string;
129
129
  status?: Status[] | undefined;
130
130
  search?: string | undefined;
131
131
  paging?: PAGING | undefined;
@@ -70,6 +70,7 @@ declare const MasterVehicleFuelRemovalReasonQuerySchema: z.ZodObject<{
70
70
  fuel_removal_reason_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
71
71
  }, "strip", z.ZodTypeAny, {
72
72
  status: Status[];
73
+ time_zone_id: string;
73
74
  search: string;
74
75
  paging: PAGING;
75
76
  page_count: number;
@@ -89,12 +90,11 @@ declare const MasterVehicleFuelRemovalReasonQuerySchema: z.ZodObject<{
89
90
  }[];
90
91
  include_master_data: YesNo;
91
92
  date_format_id: string;
92
- time_zone_id: string;
93
93
  organisation_ids: string[];
94
94
  fuel_removal_reason_ids: string[];
95
95
  }, {
96
- date_format_id: string;
97
96
  time_zone_id: string;
97
+ date_format_id: string;
98
98
  status?: Status[] | undefined;
99
99
  search?: string | undefined;
100
100
  paging?: PAGING | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vms-nest-prisma-api-document",
3
- "version": "50.0.0",
3
+ "version": "55.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",