vms-nest-prisma-api-document 6.0.11 → 6.0.13
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.
- package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.d.ts +18 -18
- package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.d.ts +51 -49
- package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +36 -34
- package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +5 -5
- package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +3 -3
- package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +9 -9
- package/dist/services/gps/reports/gps_reports_mongo_service.d.ts +43 -43
- package/dist/services/master/main/master_main_landmark_service.d.ts +6 -6
- package/dist/services/master/vehicle/master_vehicle_associated_to_service.d.ts +2 -2
- package/dist/services/master/vehicle/master_vehicle_document_type_service.d.ts +2 -2
- package/dist/services/master/vehicle/master_vehicle_fuel_removal_reason_service.d.ts +2 -2
- package/dist/services/master/vehicle/master_vehicle_fuel_unit_service.d.ts +3 -3
- package/package.json +1 -1
|
@@ -61,36 +61,36 @@ declare const FleetFuelDailySummarySchema: z.ZodObject<{
|
|
|
61
61
|
liters_per_100km: z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>;
|
|
62
62
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
63
63
|
}, "strip", z.ZodTypeAny, {
|
|
64
|
-
status: Status;
|
|
65
|
-
organisation_id: string;
|
|
66
|
-
user_id: string;
|
|
67
|
-
vehicle_id: string;
|
|
68
|
-
driver_id: string;
|
|
69
|
-
device_id: string;
|
|
70
64
|
date: string;
|
|
65
|
+
start_fuel_liters: number;
|
|
66
|
+
end_fuel_liters: number;
|
|
71
67
|
total_km: number;
|
|
72
68
|
consumed_fuel_liters: number;
|
|
73
69
|
refills_count: number;
|
|
74
|
-
start_fuel_liters: number;
|
|
75
|
-
end_fuel_liters: number;
|
|
76
70
|
refill_liters: number;
|
|
77
71
|
removals_count: number;
|
|
78
72
|
removal_liters: number;
|
|
79
73
|
mileage_kmpl: number;
|
|
80
74
|
liters_per_100km: number;
|
|
81
|
-
}, {
|
|
82
75
|
status: Status;
|
|
83
76
|
organisation_id: string;
|
|
84
77
|
user_id: string;
|
|
85
78
|
vehicle_id: string;
|
|
86
79
|
driver_id: string;
|
|
87
80
|
device_id: string;
|
|
81
|
+
}, {
|
|
88
82
|
date: string;
|
|
83
|
+
status: Status;
|
|
84
|
+
organisation_id: string;
|
|
85
|
+
user_id: string;
|
|
86
|
+
vehicle_id: string;
|
|
87
|
+
driver_id: string;
|
|
88
|
+
device_id: string;
|
|
89
|
+
start_fuel_liters?: unknown;
|
|
90
|
+
end_fuel_liters?: unknown;
|
|
89
91
|
total_km?: unknown;
|
|
90
92
|
consumed_fuel_liters?: unknown;
|
|
91
93
|
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,7 +140,6 @@ 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;
|
|
144
143
|
search: string;
|
|
145
144
|
paging: PAGING;
|
|
146
145
|
page_count: number;
|
|
@@ -160,6 +159,7 @@ declare const FleetFuelDailySummaryQuerySchema: z.ZodObject<{
|
|
|
160
159
|
}[];
|
|
161
160
|
include_master_data: YesNo;
|
|
162
161
|
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
|
-
time_zone_id: string;
|
|
174
173
|
date_format_id: string;
|
|
174
|
+
time_zone_id: string;
|
|
175
175
|
from_date: string;
|
|
176
176
|
to_date: string;
|
|
177
177
|
status?: Status[] | undefined;
|
|
@@ -239,7 +239,6 @@ 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;
|
|
243
242
|
search: string;
|
|
244
243
|
paging: PAGING;
|
|
245
244
|
page_count: number;
|
|
@@ -259,13 +258,14 @@ declare const FleetFuelDailyMonthlySummaryQuerySchema: z.ZodObject<{
|
|
|
259
258
|
}[];
|
|
260
259
|
include_master_data: YesNo;
|
|
261
260
|
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
|
-
time_zone_id: string;
|
|
268
267
|
date_format_id: string;
|
|
268
|
+
time_zone_id: string;
|
|
269
269
|
from_date: string;
|
|
270
270
|
to_date: string;
|
|
271
271
|
status?: Status[] | undefined;
|
|
@@ -325,9 +325,8 @@ declare const AllVehiclesFuelDailySummaryQuerySchema: z.ZodObject<{
|
|
|
325
325
|
date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
326
326
|
organisation_utrack_id: z.ZodEffects<z.ZodString, string, string>;
|
|
327
327
|
}, "strip", z.ZodTypeAny, {
|
|
328
|
-
status: Status[];
|
|
329
328
|
date: string;
|
|
330
|
-
|
|
329
|
+
status: Status[];
|
|
331
330
|
search: string;
|
|
332
331
|
paging: PAGING;
|
|
333
332
|
page_count: number;
|
|
@@ -347,11 +346,12 @@ declare const AllVehiclesFuelDailySummaryQuerySchema: z.ZodObject<{
|
|
|
347
346
|
}[];
|
|
348
347
|
include_master_data: YesNo;
|
|
349
348
|
date_format_id: string;
|
|
349
|
+
time_zone_id: string;
|
|
350
350
|
organisation_utrack_id: string;
|
|
351
351
|
}, {
|
|
352
352
|
date: string;
|
|
353
|
-
time_zone_id: string;
|
|
354
353
|
date_format_id: string;
|
|
354
|
+
time_zone_id: string;
|
|
355
355
|
organisation_utrack_id: string;
|
|
356
356
|
status?: Status[] | undefined;
|
|
357
357
|
search?: string | undefined;
|
|
@@ -18,6 +18,8 @@ interface FleetFuelRefill extends Record<string, unknown> {
|
|
|
18
18
|
is_full_tank: YesNo;
|
|
19
19
|
is_previous_entries_missed: YesNo;
|
|
20
20
|
date_time: string;
|
|
21
|
+
date?: string;
|
|
22
|
+
date_f?: string;
|
|
21
23
|
date_time_f?: string;
|
|
22
24
|
cost_per_unit?: number;
|
|
23
25
|
total_cost?: number;
|
|
@@ -110,24 +112,24 @@ declare const FleetFuelRefillFileSchema: z.ZodObject<{
|
|
|
110
112
|
file_metadata: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
111
113
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
112
114
|
}, "strip", z.ZodTypeAny, {
|
|
113
|
-
fleet_fuel_refill_id: string;
|
|
114
115
|
status: Status;
|
|
115
116
|
organisation_id: string;
|
|
117
|
+
file_name: string;
|
|
116
118
|
file_type: FileType;
|
|
119
|
+
fleet_fuel_refill_id: string;
|
|
117
120
|
file_url: string;
|
|
118
121
|
file_key: string;
|
|
119
|
-
file_name: string;
|
|
120
122
|
file_description: string;
|
|
121
123
|
file_size: number;
|
|
122
124
|
file_metadata: Record<string, any>;
|
|
123
125
|
}, {
|
|
124
|
-
fleet_fuel_refill_id: string;
|
|
125
126
|
status: Status;
|
|
126
127
|
organisation_id: string;
|
|
127
128
|
file_type: FileType;
|
|
129
|
+
fleet_fuel_refill_id: string;
|
|
130
|
+
file_name?: string | undefined;
|
|
128
131
|
file_url?: string | undefined;
|
|
129
132
|
file_key?: string | undefined;
|
|
130
|
-
file_name?: string | undefined;
|
|
131
133
|
file_description?: string | undefined;
|
|
132
134
|
file_size?: unknown;
|
|
133
135
|
file_metadata?: Record<string, any> | undefined;
|
|
@@ -186,30 +188,40 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
186
188
|
file_metadata: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
187
189
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
188
190
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
189
|
-
fleet_fuel_refill_id: string;
|
|
190
191
|
status: Status;
|
|
191
192
|
organisation_id: string;
|
|
193
|
+
file_name: string;
|
|
192
194
|
file_type: FileType;
|
|
195
|
+
fleet_fuel_refill_id: string;
|
|
193
196
|
file_url: string;
|
|
194
197
|
file_key: string;
|
|
195
|
-
file_name: string;
|
|
196
198
|
file_description: string;
|
|
197
199
|
file_size: number;
|
|
198
200
|
file_metadata: Record<string, any>;
|
|
199
201
|
}, {
|
|
200
|
-
fleet_fuel_refill_id: string;
|
|
201
202
|
status: Status;
|
|
202
203
|
organisation_id: string;
|
|
203
204
|
file_type: FileType;
|
|
205
|
+
fleet_fuel_refill_id: string;
|
|
206
|
+
file_name?: string | undefined;
|
|
204
207
|
file_url?: string | undefined;
|
|
205
208
|
file_key?: string | undefined;
|
|
206
|
-
file_name?: string | undefined;
|
|
207
209
|
file_description?: string | undefined;
|
|
208
210
|
file_size?: unknown;
|
|
209
211
|
file_metadata?: Record<string, any> | undefined;
|
|
210
212
|
}>, "many">>>;
|
|
211
213
|
}, "strip", z.ZodTypeAny, {
|
|
214
|
+
status: Status;
|
|
215
|
+
organisation_id: string;
|
|
216
|
+
user_id: string;
|
|
217
|
+
vehicle_id: string;
|
|
218
|
+
driver_id: string;
|
|
219
|
+
device_id: string;
|
|
220
|
+
time_zone_id: string;
|
|
221
|
+
vehicle_fuel_type_id: string;
|
|
212
222
|
odometer_reading: number;
|
|
223
|
+
google_location: string;
|
|
224
|
+
vehicle_fuel_unit_id: string;
|
|
213
225
|
is_full_tank: YesNo;
|
|
214
226
|
is_previous_entries_missed: YesNo;
|
|
215
227
|
date_time: string;
|
|
@@ -228,30 +240,22 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
228
240
|
source_notes: string;
|
|
229
241
|
admin_verify_status: GPSFuelApproveStatus;
|
|
230
242
|
transporter_verify_status: GPSFuelApproveStatus;
|
|
231
|
-
google_location: string;
|
|
232
|
-
status: Status;
|
|
233
|
-
organisation_id: string;
|
|
234
|
-
user_id: string;
|
|
235
|
-
vehicle_id: string;
|
|
236
|
-
driver_id: string;
|
|
237
|
-
device_id: string;
|
|
238
243
|
vendor_id: string;
|
|
239
244
|
fuel_station_id: string;
|
|
240
|
-
vehicle_fuel_type_id: string;
|
|
241
|
-
vehicle_fuel_unit_id: string;
|
|
242
|
-
time_zone_id: string;
|
|
243
245
|
refill_files: {
|
|
244
|
-
fleet_fuel_refill_id: string;
|
|
245
246
|
status: Status;
|
|
246
247
|
organisation_id: string;
|
|
248
|
+
file_name: string;
|
|
247
249
|
file_type: FileType;
|
|
250
|
+
fleet_fuel_refill_id: string;
|
|
248
251
|
file_url: string;
|
|
249
252
|
file_key: string;
|
|
250
|
-
file_name: string;
|
|
251
253
|
file_description: string;
|
|
252
254
|
file_size: number;
|
|
253
255
|
file_metadata: Record<string, any>;
|
|
254
256
|
}[];
|
|
257
|
+
latitude?: number | undefined;
|
|
258
|
+
longitude?: number | undefined;
|
|
255
259
|
before_refill_quantity?: number | undefined;
|
|
256
260
|
after_refill_quantity?: number | undefined;
|
|
257
261
|
refill_quantity?: number | undefined;
|
|
@@ -259,9 +263,16 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
259
263
|
diff_refill_quantity?: number | undefined;
|
|
260
264
|
cost_per_unit?: number | undefined;
|
|
261
265
|
total_cost?: number | undefined;
|
|
262
|
-
latitude?: number | undefined;
|
|
263
|
-
longitude?: number | undefined;
|
|
264
266
|
}, {
|
|
267
|
+
status: Status;
|
|
268
|
+
organisation_id: string;
|
|
269
|
+
user_id: string;
|
|
270
|
+
vehicle_id: string;
|
|
271
|
+
driver_id: string;
|
|
272
|
+
device_id: string;
|
|
273
|
+
time_zone_id: string;
|
|
274
|
+
vehicle_fuel_type_id: string;
|
|
275
|
+
vehicle_fuel_unit_id: string;
|
|
265
276
|
is_full_tank: YesNo;
|
|
266
277
|
is_previous_entries_missed: YesNo;
|
|
267
278
|
date_time: string;
|
|
@@ -269,23 +280,17 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
269
280
|
payment_status: PaymentStatus;
|
|
270
281
|
admin_verify_status: GPSFuelApproveStatus;
|
|
271
282
|
transporter_verify_status: GPSFuelApproveStatus;
|
|
272
|
-
status: Status;
|
|
273
|
-
organisation_id: string;
|
|
274
|
-
user_id: string;
|
|
275
|
-
vehicle_id: string;
|
|
276
|
-
driver_id: string;
|
|
277
|
-
device_id: string;
|
|
278
283
|
vendor_id: string;
|
|
279
284
|
fuel_station_id: string;
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
285
|
+
odometer_reading?: unknown;
|
|
286
|
+
latitude?: unknown;
|
|
287
|
+
longitude?: unknown;
|
|
288
|
+
google_location?: string | undefined;
|
|
283
289
|
before_refill_quantity?: unknown;
|
|
284
290
|
after_refill_quantity?: unknown;
|
|
285
291
|
refill_quantity?: unknown;
|
|
286
292
|
verified_refill_quantity?: unknown;
|
|
287
293
|
diff_refill_quantity?: unknown;
|
|
288
|
-
odometer_reading?: unknown;
|
|
289
294
|
cost_per_unit?: unknown;
|
|
290
295
|
total_cost?: unknown;
|
|
291
296
|
invoice_number?: string | undefined;
|
|
@@ -299,17 +304,14 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
299
304
|
entry_source?: RefillEntrySource | undefined;
|
|
300
305
|
source_reference_id?: string | undefined;
|
|
301
306
|
source_notes?: string | undefined;
|
|
302
|
-
latitude?: unknown;
|
|
303
|
-
longitude?: unknown;
|
|
304
|
-
google_location?: string | undefined;
|
|
305
307
|
refill_files?: {
|
|
306
|
-
fleet_fuel_refill_id: string;
|
|
307
308
|
status: Status;
|
|
308
309
|
organisation_id: string;
|
|
309
310
|
file_type: FileType;
|
|
311
|
+
fleet_fuel_refill_id: string;
|
|
312
|
+
file_name?: string | undefined;
|
|
310
313
|
file_url?: string | undefined;
|
|
311
314
|
file_key?: string | undefined;
|
|
312
|
-
file_name?: string | undefined;
|
|
313
315
|
file_description?: string | undefined;
|
|
314
316
|
file_size?: unknown;
|
|
315
317
|
file_metadata?: Record<string, any> | undefined;
|
|
@@ -363,11 +365,7 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
363
365
|
from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
364
366
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
365
367
|
}, "strip", z.ZodTypeAny, {
|
|
366
|
-
entry_source: RefillEntrySource[];
|
|
367
|
-
admin_verify_status: GPSFuelApproveStatus[];
|
|
368
|
-
transporter_verify_status: GPSFuelApproveStatus[];
|
|
369
368
|
status: Status[];
|
|
370
|
-
time_zone_id: string;
|
|
371
369
|
search: string;
|
|
372
370
|
paging: PAGING;
|
|
373
371
|
page_count: number;
|
|
@@ -387,26 +385,27 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
387
385
|
}[];
|
|
388
386
|
include_master_data: YesNo;
|
|
389
387
|
date_format_id: string;
|
|
388
|
+
time_zone_id: string;
|
|
390
389
|
organisation_ids: string[];
|
|
391
390
|
user_ids: string[];
|
|
392
391
|
vehicle_ids: string[];
|
|
393
392
|
driver_ids: string[];
|
|
394
393
|
device_ids: string[];
|
|
394
|
+
from_date: string;
|
|
395
|
+
to_date: string;
|
|
396
|
+
vehicle_fuel_type_ids: string[];
|
|
397
|
+
entry_source: RefillEntrySource[];
|
|
398
|
+
admin_verify_status: GPSFuelApproveStatus[];
|
|
399
|
+
transporter_verify_status: GPSFuelApproveStatus[];
|
|
395
400
|
vendor_ids: string[];
|
|
396
401
|
fuel_station_ids: string[];
|
|
397
|
-
vehicle_fuel_type_ids: string[];
|
|
398
402
|
vehicle_fuel_unit_ids: string[];
|
|
399
403
|
fleet_fuel_refill_ids: string[];
|
|
400
|
-
from_date: string;
|
|
401
|
-
to_date: string;
|
|
402
404
|
}, {
|
|
403
|
-
time_zone_id: string;
|
|
404
405
|
date_format_id: string;
|
|
406
|
+
time_zone_id: string;
|
|
405
407
|
from_date: string;
|
|
406
408
|
to_date: string;
|
|
407
|
-
entry_source?: RefillEntrySource[] | undefined;
|
|
408
|
-
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
409
|
-
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
410
409
|
status?: Status[] | undefined;
|
|
411
410
|
search?: string | undefined;
|
|
412
411
|
paging?: PAGING | undefined;
|
|
@@ -431,9 +430,12 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
431
430
|
vehicle_ids?: string[] | undefined;
|
|
432
431
|
driver_ids?: string[] | undefined;
|
|
433
432
|
device_ids?: string[] | undefined;
|
|
433
|
+
vehicle_fuel_type_ids?: string[] | undefined;
|
|
434
|
+
entry_source?: RefillEntrySource[] | undefined;
|
|
435
|
+
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
436
|
+
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
434
437
|
vendor_ids?: string[] | undefined;
|
|
435
438
|
fuel_station_ids?: string[] | undefined;
|
|
436
|
-
vehicle_fuel_type_ids?: string[] | undefined;
|
|
437
439
|
vehicle_fuel_unit_ids?: string[] | undefined;
|
|
438
440
|
fleet_fuel_refill_ids?: string[] | undefined;
|
|
439
441
|
}>;
|
|
@@ -17,6 +17,8 @@ interface FleetFuelRemoval extends Record<string, unknown> {
|
|
|
17
17
|
diff_removal_quantity: number;
|
|
18
18
|
odometer_reading?: number;
|
|
19
19
|
date_time: string;
|
|
20
|
+
date?: string;
|
|
21
|
+
date_f?: string;
|
|
20
22
|
date_time_f?: string;
|
|
21
23
|
cost_per_unit?: number;
|
|
22
24
|
total_cost?: number;
|
|
@@ -95,10 +97,10 @@ declare const FleetFuelRemovalFileSchema: z.ZodObject<{
|
|
|
95
97
|
}, "strip", z.ZodTypeAny, {
|
|
96
98
|
status: Status;
|
|
97
99
|
organisation_id: string;
|
|
100
|
+
file_name: string;
|
|
98
101
|
file_type: FileType;
|
|
99
102
|
file_url: string;
|
|
100
103
|
file_key: string;
|
|
101
|
-
file_name: string;
|
|
102
104
|
file_description: string;
|
|
103
105
|
file_size: number;
|
|
104
106
|
file_metadata: Record<string, any>;
|
|
@@ -108,9 +110,9 @@ declare const FleetFuelRemovalFileSchema: z.ZodObject<{
|
|
|
108
110
|
organisation_id: string;
|
|
109
111
|
file_type: FileType;
|
|
110
112
|
fleet_fuel_removal_id: string;
|
|
113
|
+
file_name?: string | undefined;
|
|
111
114
|
file_url?: string | undefined;
|
|
112
115
|
file_key?: string | undefined;
|
|
113
|
-
file_name?: string | undefined;
|
|
114
116
|
file_description?: string | undefined;
|
|
115
117
|
file_size?: unknown;
|
|
116
118
|
file_metadata?: Record<string, any> | undefined;
|
|
@@ -159,10 +161,10 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
159
161
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
160
162
|
status: Status;
|
|
161
163
|
organisation_id: string;
|
|
164
|
+
file_name: string;
|
|
162
165
|
file_type: FileType;
|
|
163
166
|
file_url: string;
|
|
164
167
|
file_key: string;
|
|
165
|
-
file_name: string;
|
|
166
168
|
file_description: string;
|
|
167
169
|
file_size: number;
|
|
168
170
|
file_metadata: Record<string, any>;
|
|
@@ -172,77 +174,77 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
172
174
|
organisation_id: string;
|
|
173
175
|
file_type: FileType;
|
|
174
176
|
fleet_fuel_removal_id: string;
|
|
177
|
+
file_name?: string | undefined;
|
|
175
178
|
file_url?: string | undefined;
|
|
176
179
|
file_key?: string | undefined;
|
|
177
|
-
file_name?: string | undefined;
|
|
178
180
|
file_description?: string | undefined;
|
|
179
181
|
file_size?: unknown;
|
|
180
182
|
file_metadata?: Record<string, any> | undefined;
|
|
181
183
|
}>, "many">>>;
|
|
182
184
|
}, "strip", z.ZodTypeAny, {
|
|
183
|
-
odometer_reading: number;
|
|
184
|
-
date_time: string;
|
|
185
|
-
entry_source: RefillEntrySource;
|
|
186
|
-
source_reference_id: string;
|
|
187
|
-
source_notes: string;
|
|
188
|
-
admin_verify_status: GPSFuelApproveStatus;
|
|
189
|
-
transporter_verify_status: GPSFuelApproveStatus;
|
|
190
|
-
google_location: string;
|
|
191
185
|
status: Status;
|
|
192
186
|
organisation_id: string;
|
|
193
187
|
user_id: string;
|
|
194
188
|
vehicle_id: string;
|
|
195
189
|
driver_id: string;
|
|
196
190
|
device_id: string;
|
|
191
|
+
time_zone_id: string;
|
|
197
192
|
vehicle_fuel_type_id: string;
|
|
193
|
+
odometer_reading: number;
|
|
194
|
+
google_location: string;
|
|
198
195
|
vehicle_fuel_unit_id: string;
|
|
199
|
-
|
|
196
|
+
date_time: string;
|
|
197
|
+
entry_source: RefillEntrySource;
|
|
198
|
+
source_reference_id: string;
|
|
199
|
+
source_notes: string;
|
|
200
|
+
admin_verify_status: GPSFuelApproveStatus;
|
|
201
|
+
transporter_verify_status: GPSFuelApproveStatus;
|
|
200
202
|
fuel_removal_reason_id: string;
|
|
201
203
|
removal_details: string;
|
|
202
204
|
removal_files: {
|
|
203
205
|
status: Status;
|
|
204
206
|
organisation_id: string;
|
|
207
|
+
file_name: string;
|
|
205
208
|
file_type: FileType;
|
|
206
209
|
file_url: string;
|
|
207
210
|
file_key: string;
|
|
208
|
-
file_name: string;
|
|
209
211
|
file_description: string;
|
|
210
212
|
file_size: number;
|
|
211
213
|
file_metadata: Record<string, any>;
|
|
212
214
|
fleet_fuel_removal_id: string;
|
|
213
215
|
}[];
|
|
214
|
-
cost_per_unit?: number | undefined;
|
|
215
|
-
total_cost?: number | undefined;
|
|
216
216
|
latitude?: number | undefined;
|
|
217
217
|
longitude?: number | undefined;
|
|
218
|
+
cost_per_unit?: number | undefined;
|
|
219
|
+
total_cost?: number | undefined;
|
|
218
220
|
before_removal_quantity?: number | undefined;
|
|
219
221
|
after_removal_quantity?: number | undefined;
|
|
220
222
|
removal_quantity?: number | undefined;
|
|
221
223
|
verified_removal_quantity?: number | undefined;
|
|
222
224
|
diff_removal_quantity?: number | undefined;
|
|
223
225
|
}, {
|
|
224
|
-
date_time: string;
|
|
225
|
-
admin_verify_status: GPSFuelApproveStatus;
|
|
226
|
-
transporter_verify_status: GPSFuelApproveStatus;
|
|
227
226
|
status: Status;
|
|
228
227
|
organisation_id: string;
|
|
229
228
|
user_id: string;
|
|
230
229
|
vehicle_id: string;
|
|
231
230
|
driver_id: string;
|
|
232
231
|
device_id: string;
|
|
232
|
+
time_zone_id: string;
|
|
233
233
|
vehicle_fuel_type_id: string;
|
|
234
234
|
vehicle_fuel_unit_id: string;
|
|
235
|
-
|
|
235
|
+
date_time: string;
|
|
236
|
+
admin_verify_status: GPSFuelApproveStatus;
|
|
237
|
+
transporter_verify_status: GPSFuelApproveStatus;
|
|
236
238
|
fuel_removal_reason_id: string;
|
|
237
239
|
odometer_reading?: unknown;
|
|
240
|
+
latitude?: unknown;
|
|
241
|
+
longitude?: unknown;
|
|
242
|
+
google_location?: string | undefined;
|
|
238
243
|
cost_per_unit?: unknown;
|
|
239
244
|
total_cost?: unknown;
|
|
240
245
|
entry_source?: RefillEntrySource | undefined;
|
|
241
246
|
source_reference_id?: string | undefined;
|
|
242
247
|
source_notes?: string | undefined;
|
|
243
|
-
latitude?: unknown;
|
|
244
|
-
longitude?: unknown;
|
|
245
|
-
google_location?: string | undefined;
|
|
246
248
|
before_removal_quantity?: unknown;
|
|
247
249
|
after_removal_quantity?: unknown;
|
|
248
250
|
removal_quantity?: unknown;
|
|
@@ -254,9 +256,9 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
254
256
|
organisation_id: string;
|
|
255
257
|
file_type: FileType;
|
|
256
258
|
fleet_fuel_removal_id: string;
|
|
259
|
+
file_name?: string | undefined;
|
|
257
260
|
file_url?: string | undefined;
|
|
258
261
|
file_key?: string | undefined;
|
|
259
|
-
file_name?: string | undefined;
|
|
260
262
|
file_description?: string | undefined;
|
|
261
263
|
file_size?: unknown;
|
|
262
264
|
file_metadata?: Record<string, any> | undefined;
|
|
@@ -308,11 +310,7 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
|
|
|
308
310
|
from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
309
311
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
310
312
|
}, "strip", z.ZodTypeAny, {
|
|
311
|
-
entry_source: RefillEntrySource[];
|
|
312
|
-
admin_verify_status: GPSFuelApproveStatus[];
|
|
313
|
-
transporter_verify_status: GPSFuelApproveStatus[];
|
|
314
313
|
status: Status[];
|
|
315
|
-
time_zone_id: string;
|
|
316
314
|
search: string;
|
|
317
315
|
paging: PAGING;
|
|
318
316
|
page_count: number;
|
|
@@ -332,24 +330,25 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
|
|
|
332
330
|
}[];
|
|
333
331
|
include_master_data: YesNo;
|
|
334
332
|
date_format_id: string;
|
|
333
|
+
time_zone_id: string;
|
|
335
334
|
organisation_ids: string[];
|
|
336
335
|
user_ids: string[];
|
|
337
336
|
vehicle_ids: string[];
|
|
338
337
|
driver_ids: string[];
|
|
339
338
|
device_ids: string[];
|
|
340
|
-
vehicle_fuel_type_ids: string[];
|
|
341
|
-
vehicle_fuel_unit_ids: string[];
|
|
342
339
|
from_date: string;
|
|
343
340
|
to_date: string;
|
|
341
|
+
vehicle_fuel_type_ids: string[];
|
|
342
|
+
entry_source: RefillEntrySource[];
|
|
343
|
+
admin_verify_status: GPSFuelApproveStatus[];
|
|
344
|
+
transporter_verify_status: GPSFuelApproveStatus[];
|
|
345
|
+
vehicle_fuel_unit_ids: string[];
|
|
344
346
|
fuel_removal_reason_ids: string[];
|
|
345
347
|
}, {
|
|
346
|
-
time_zone_id: string;
|
|
347
348
|
date_format_id: string;
|
|
349
|
+
time_zone_id: string;
|
|
348
350
|
from_date: string;
|
|
349
351
|
to_date: string;
|
|
350
|
-
entry_source?: RefillEntrySource[] | undefined;
|
|
351
|
-
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
352
|
-
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
353
352
|
status?: Status[] | undefined;
|
|
354
353
|
search?: string | undefined;
|
|
355
354
|
paging?: PAGING | undefined;
|
|
@@ -375,6 +374,9 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
|
|
|
375
374
|
driver_ids?: string[] | undefined;
|
|
376
375
|
device_ids?: string[] | undefined;
|
|
377
376
|
vehicle_fuel_type_ids?: string[] | undefined;
|
|
377
|
+
entry_source?: RefillEntrySource[] | undefined;
|
|
378
|
+
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
379
|
+
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
378
380
|
vehicle_fuel_unit_ids?: string[] | undefined;
|
|
379
381
|
fuel_removal_reason_ids?: string[] | undefined;
|
|
380
382
|
}>;
|
|
@@ -31,21 +31,21 @@ declare const GPSGeofenceTransactionSchema: z.ZodObject<{
|
|
|
31
31
|
geofence_time: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
32
32
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
33
33
|
}, "strip", z.ZodTypeAny, {
|
|
34
|
-
geofence_status_type: GeofenceStatusType;
|
|
35
|
-
geofence_time: string;
|
|
36
34
|
status: Status;
|
|
37
35
|
organisation_id: string;
|
|
38
36
|
vehicle_id: string;
|
|
39
37
|
driver_id: string;
|
|
40
38
|
gps_geofence_id: string;
|
|
41
|
-
}, {
|
|
42
39
|
geofence_status_type: GeofenceStatusType;
|
|
43
40
|
geofence_time: string;
|
|
41
|
+
}, {
|
|
44
42
|
status: Status;
|
|
45
43
|
organisation_id: string;
|
|
46
44
|
vehicle_id: string;
|
|
47
45
|
driver_id: string;
|
|
48
46
|
gps_geofence_id: string;
|
|
47
|
+
geofence_status_type: GeofenceStatusType;
|
|
48
|
+
geofence_time: string;
|
|
49
49
|
}>;
|
|
50
50
|
type GPSGeofenceTransactionDTO = z.infer<typeof GPSGeofenceTransactionSchema>;
|
|
51
51
|
declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
@@ -85,7 +85,6 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
|
85
85
|
gps_geofence_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
86
86
|
geofence_status_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof GeofenceStatusType>, "many">>>;
|
|
87
87
|
}, "strip", z.ZodTypeAny, {
|
|
88
|
-
geofence_status_type: GeofenceStatusType[];
|
|
89
88
|
status: Status[];
|
|
90
89
|
search: string;
|
|
91
90
|
paging: PAGING;
|
|
@@ -110,11 +109,11 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
|
110
109
|
organisation_ids: string[];
|
|
111
110
|
vehicle_ids: string[];
|
|
112
111
|
driver_ids: string[];
|
|
112
|
+
geofence_status_type: GeofenceStatusType[];
|
|
113
113
|
gps_geofence_ids: string[];
|
|
114
114
|
}, {
|
|
115
115
|
date_format_id: string;
|
|
116
116
|
time_zone_id: string;
|
|
117
|
-
geofence_status_type?: GeofenceStatusType[] | undefined;
|
|
118
117
|
status?: Status[] | undefined;
|
|
119
118
|
search?: string | undefined;
|
|
120
119
|
paging?: PAGING | undefined;
|
|
@@ -137,6 +136,7 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
|
137
136
|
organisation_ids?: string[] | undefined;
|
|
138
137
|
vehicle_ids?: string[] | undefined;
|
|
139
138
|
driver_ids?: string[] | undefined;
|
|
139
|
+
geofence_status_type?: GeofenceStatusType[] | undefined;
|
|
140
140
|
gps_geofence_ids?: string[] | undefined;
|
|
141
141
|
}>;
|
|
142
142
|
type GPSGeofenceTransactionQueryDTO = z.infer<typeof GPSGeofenceTransactionQuerySchema>;
|
|
@@ -40,6 +40,7 @@ declare const GPSGeofenceTransactionSummarySchema: z.ZodObject<{
|
|
|
40
40
|
duration_seconds: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
41
41
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
42
42
|
}, "strip", z.ZodTypeAny, {
|
|
43
|
+
duration_seconds: number;
|
|
43
44
|
status: Status;
|
|
44
45
|
organisation_id: string;
|
|
45
46
|
vehicle_id: string;
|
|
@@ -47,7 +48,6 @@ declare const GPSGeofenceTransactionSummarySchema: z.ZodObject<{
|
|
|
47
48
|
gps_geofence_id: string;
|
|
48
49
|
geofence_enter_date_time: string;
|
|
49
50
|
geofence_exit_date_time: string;
|
|
50
|
-
duration_seconds: number;
|
|
51
51
|
enter_gps_geofence_transaction_id: string;
|
|
52
52
|
exit_gps_geofence_transaction_id: string;
|
|
53
53
|
}, {
|
|
@@ -59,8 +59,8 @@ declare const GPSGeofenceTransactionSummarySchema: z.ZodObject<{
|
|
|
59
59
|
geofence_enter_date_time: string;
|
|
60
60
|
enter_gps_geofence_transaction_id: string;
|
|
61
61
|
exit_gps_geofence_transaction_id: string;
|
|
62
|
-
geofence_exit_date_time?: string | undefined;
|
|
63
62
|
duration_seconds?: unknown;
|
|
63
|
+
geofence_exit_date_time?: string | undefined;
|
|
64
64
|
}>;
|
|
65
65
|
type GPSGeofenceTransactionSummaryDTO = z.infer<typeof GPSGeofenceTransactionSummarySchema>;
|
|
66
66
|
declare const GPSGeofenceTransactionSummaryQuerySchema: z.ZodObject<{
|
|
@@ -125,9 +125,9 @@ declare const GPSGeofenceTransactionSummaryQuerySchema: z.ZodObject<{
|
|
|
125
125
|
organisation_ids: string[];
|
|
126
126
|
vehicle_ids: string[];
|
|
127
127
|
driver_ids: string[];
|
|
128
|
-
gps_geofence_ids: string[];
|
|
129
128
|
from_date: string;
|
|
130
129
|
to_date: string;
|
|
130
|
+
gps_geofence_ids: string[];
|
|
131
131
|
}, {
|
|
132
132
|
date_format_id: string;
|
|
133
133
|
time_zone_id: string;
|
|
@@ -62,19 +62,19 @@ declare const TripGeofenceToGeofenceSchema: z.ZodObject<{
|
|
|
62
62
|
mileage: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
63
63
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
64
64
|
}, "strip", z.ZodTypeAny, {
|
|
65
|
-
status: Status;
|
|
66
|
-
organisation_id: string;
|
|
67
|
-
vehicle_id: string;
|
|
68
|
-
driver_id: string;
|
|
69
|
-
duration_seconds: number;
|
|
70
65
|
from_geofence_exit_date_time: string;
|
|
71
66
|
to_geofence_enter_date_time: string;
|
|
67
|
+
duration_seconds: number;
|
|
72
68
|
travel_duration_seconds: number;
|
|
73
69
|
stopped_duration_seconds: number;
|
|
74
70
|
max_speed: number;
|
|
75
71
|
avg_speed: number;
|
|
76
72
|
refills_count: number;
|
|
77
73
|
removals_count: number;
|
|
74
|
+
status: Status;
|
|
75
|
+
organisation_id: string;
|
|
76
|
+
vehicle_id: string;
|
|
77
|
+
driver_id: string;
|
|
78
78
|
from_geofence_id: string;
|
|
79
79
|
to_geofence_id: string;
|
|
80
80
|
distance_meters?: number | undefined;
|
|
@@ -85,12 +85,12 @@ declare const TripGeofenceToGeofenceSchema: z.ZodObject<{
|
|
|
85
85
|
removal_fuel_liters?: number | undefined;
|
|
86
86
|
mileage?: number | undefined;
|
|
87
87
|
}, {
|
|
88
|
+
from_geofence_exit_date_time: string;
|
|
89
|
+
to_geofence_enter_date_time: string;
|
|
88
90
|
status: Status;
|
|
89
91
|
organisation_id: string;
|
|
90
92
|
vehicle_id: string;
|
|
91
93
|
driver_id: string;
|
|
92
|
-
from_geofence_exit_date_time: string;
|
|
93
|
-
to_geofence_enter_date_time: string;
|
|
94
94
|
from_geofence_id: string;
|
|
95
95
|
to_geofence_id: string;
|
|
96
96
|
duration_seconds?: unknown;
|
|
@@ -172,10 +172,10 @@ declare const TripGeofenceToGeofenceQuerySchema: z.ZodObject<{
|
|
|
172
172
|
organisation_ids: string[];
|
|
173
173
|
vehicle_ids: string[];
|
|
174
174
|
driver_ids: string[];
|
|
175
|
-
from_date: string;
|
|
176
|
-
to_date: string;
|
|
177
175
|
from_geofence_ids: string[];
|
|
178
176
|
to_geofence_ids: string[];
|
|
177
|
+
from_date: string;
|
|
178
|
+
to_date: string;
|
|
179
179
|
}, {
|
|
180
180
|
date_format_id: string;
|
|
181
181
|
time_zone_id: string;
|
|
@@ -33,41 +33,41 @@ declare const MultipleVehicleReportSchema: z.ZodObject<{
|
|
|
33
33
|
vehicle_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
|
|
34
34
|
driver_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
|
|
35
35
|
}, "strip", z.ZodTypeAny, {
|
|
36
|
-
db_index: string;
|
|
37
|
-
db_instance: string;
|
|
38
|
-
night_driving: NightDriving;
|
|
39
36
|
search: string;
|
|
40
37
|
paging: PAGING;
|
|
41
38
|
page_count: number;
|
|
42
39
|
page_index: number;
|
|
40
|
+
login_from: LoginFrom;
|
|
43
41
|
date_format_id: string;
|
|
44
42
|
time_zone_id: string;
|
|
45
|
-
login_from: LoginFrom;
|
|
46
43
|
organisation_id: string;
|
|
44
|
+
db_instance: string;
|
|
45
|
+
db_index: string;
|
|
47
46
|
vehicle_ids: string[];
|
|
48
47
|
from_date: string;
|
|
49
48
|
to_date: string;
|
|
50
49
|
time_slot: TimeSlot;
|
|
50
|
+
night_driving: NightDriving;
|
|
51
51
|
over_speed: OverSpeed;
|
|
52
52
|
utilization_km: number;
|
|
53
53
|
vehicle_summary: YesNo;
|
|
54
54
|
driver_summary: YesNo;
|
|
55
55
|
}, {
|
|
56
|
-
|
|
57
|
-
db_instance: string;
|
|
56
|
+
login_from: LoginFrom;
|
|
58
57
|
date_format_id: string;
|
|
59
58
|
time_zone_id: string;
|
|
60
|
-
login_from: LoginFrom;
|
|
61
59
|
organisation_id: string;
|
|
60
|
+
db_instance: string;
|
|
61
|
+
db_index: string;
|
|
62
62
|
from_date: string;
|
|
63
63
|
to_date: string;
|
|
64
|
-
night_driving?: NightDriving | undefined;
|
|
65
64
|
search?: string | undefined;
|
|
66
65
|
paging?: PAGING | undefined;
|
|
67
66
|
page_count?: unknown;
|
|
68
67
|
page_index?: unknown;
|
|
69
68
|
vehicle_ids?: string[] | undefined;
|
|
70
69
|
time_slot?: TimeSlot | undefined;
|
|
70
|
+
night_driving?: NightDriving | undefined;
|
|
71
71
|
over_speed?: OverSpeed | undefined;
|
|
72
72
|
utilization_km?: unknown;
|
|
73
73
|
vehicle_summary?: YesNo | undefined;
|
|
@@ -96,40 +96,40 @@ declare const MultipleDriverReportSchema: z.ZodObject<{
|
|
|
96
96
|
vehicle_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
|
|
97
97
|
driver_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
|
|
98
98
|
}, "strip", z.ZodTypeAny, {
|
|
99
|
-
db_index: string;
|
|
100
|
-
db_instance: string;
|
|
101
|
-
night_driving: NightDriving;
|
|
102
99
|
search: string;
|
|
103
100
|
paging: PAGING;
|
|
104
101
|
page_count: number;
|
|
105
102
|
page_index: number;
|
|
103
|
+
login_from: LoginFrom;
|
|
106
104
|
date_format_id: string;
|
|
107
105
|
time_zone_id: string;
|
|
108
|
-
login_from: LoginFrom;
|
|
109
106
|
organisation_id: string;
|
|
107
|
+
db_instance: string;
|
|
108
|
+
db_index: string;
|
|
110
109
|
from_date: string;
|
|
111
110
|
to_date: string;
|
|
112
111
|
time_slot: TimeSlot;
|
|
112
|
+
night_driving: NightDriving;
|
|
113
113
|
over_speed: OverSpeed;
|
|
114
114
|
utilization_km: number;
|
|
115
115
|
vehicle_summary: YesNo;
|
|
116
116
|
driver_summary: YesNo;
|
|
117
117
|
driver_ids: string[];
|
|
118
118
|
}, {
|
|
119
|
-
|
|
120
|
-
db_instance: string;
|
|
119
|
+
login_from: LoginFrom;
|
|
121
120
|
date_format_id: string;
|
|
122
121
|
time_zone_id: string;
|
|
123
|
-
login_from: LoginFrom;
|
|
124
122
|
organisation_id: string;
|
|
123
|
+
db_instance: string;
|
|
124
|
+
db_index: string;
|
|
125
125
|
from_date: string;
|
|
126
126
|
to_date: string;
|
|
127
|
-
night_driving?: NightDriving | undefined;
|
|
128
127
|
search?: string | undefined;
|
|
129
128
|
paging?: PAGING | undefined;
|
|
130
129
|
page_count?: unknown;
|
|
131
130
|
page_index?: unknown;
|
|
132
131
|
time_slot?: TimeSlot | undefined;
|
|
132
|
+
night_driving?: NightDriving | undefined;
|
|
133
133
|
over_speed?: OverSpeed | undefined;
|
|
134
134
|
utilization_km?: unknown;
|
|
135
135
|
vehicle_summary?: YesNo | undefined;
|
|
@@ -156,16 +156,16 @@ declare const SimpleReportSchema: z.ZodObject<{
|
|
|
156
156
|
interval_seconds: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
157
157
|
boolean_type: z.ZodType<BooleanType, z.ZodTypeDef, BooleanType>;
|
|
158
158
|
}, "strip", z.ZodTypeAny, {
|
|
159
|
-
db_index: string;
|
|
160
|
-
db_instance: string;
|
|
161
159
|
search: string;
|
|
162
160
|
paging: PAGING;
|
|
163
161
|
page_count: number;
|
|
164
162
|
page_index: number;
|
|
163
|
+
login_from: LoginFrom;
|
|
165
164
|
date_format_id: string;
|
|
166
165
|
time_zone_id: string;
|
|
167
|
-
login_from: LoginFrom;
|
|
168
166
|
organisation_id: string;
|
|
167
|
+
db_instance: string;
|
|
168
|
+
db_index: string;
|
|
169
169
|
vehicle_ids: string[];
|
|
170
170
|
from_date: string;
|
|
171
171
|
to_date: string;
|
|
@@ -173,12 +173,12 @@ declare const SimpleReportSchema: z.ZodObject<{
|
|
|
173
173
|
interval_seconds: number;
|
|
174
174
|
boolean_type: BooleanType;
|
|
175
175
|
}, {
|
|
176
|
-
|
|
177
|
-
db_instance: string;
|
|
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_index: string;
|
|
182
182
|
from_date: string;
|
|
183
183
|
to_date: string;
|
|
184
184
|
gps_type: GPSType;
|
|
@@ -207,26 +207,26 @@ declare const MultipleVehicleLast24HoursReportSchema: z.ZodObject<{
|
|
|
207
207
|
utilization_km: z.ZodEffects<z.ZodNumber, number, unknown>;
|
|
208
208
|
is12am: z.ZodType<Is12AM, z.ZodTypeDef, Is12AM>;
|
|
209
209
|
}, "strip", z.ZodTypeAny, {
|
|
210
|
-
db_index: string;
|
|
211
|
-
db_instance: string;
|
|
212
210
|
search: string;
|
|
213
211
|
paging: PAGING;
|
|
214
212
|
page_count: number;
|
|
215
213
|
page_index: number;
|
|
214
|
+
login_from: LoginFrom;
|
|
216
215
|
date_format_id: string;
|
|
217
216
|
time_zone_id: string;
|
|
218
|
-
login_from: LoginFrom;
|
|
219
217
|
organisation_id: string;
|
|
218
|
+
db_instance: string;
|
|
219
|
+
db_index: string;
|
|
220
220
|
vehicle_ids: string[];
|
|
221
221
|
utilization_km: number;
|
|
222
222
|
is12am: Is12AM;
|
|
223
223
|
}, {
|
|
224
|
-
|
|
225
|
-
db_instance: string;
|
|
224
|
+
login_from: LoginFrom;
|
|
226
225
|
date_format_id: string;
|
|
227
226
|
time_zone_id: string;
|
|
228
|
-
login_from: LoginFrom;
|
|
229
227
|
organisation_id: string;
|
|
228
|
+
db_instance: string;
|
|
229
|
+
db_index: string;
|
|
230
230
|
is12am: Is12AM;
|
|
231
231
|
search?: string | undefined;
|
|
232
232
|
paging?: PAGING | undefined;
|
|
@@ -253,28 +253,28 @@ declare const SingleVehicleReportSchema: z.ZodObject<{
|
|
|
253
253
|
to_date_time: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
254
254
|
interval_seconds: z.ZodEffects<z.ZodNumber, number, unknown>;
|
|
255
255
|
}, "strip", z.ZodTypeAny, {
|
|
256
|
-
db_index: string;
|
|
257
|
-
db_instance: string;
|
|
258
|
-
vehicle_id: string;
|
|
259
256
|
search: string;
|
|
260
257
|
paging: PAGING;
|
|
261
258
|
page_count: number;
|
|
262
259
|
page_index: number;
|
|
260
|
+
login_from: LoginFrom;
|
|
263
261
|
date_format_id: string;
|
|
264
262
|
time_zone_id: string;
|
|
265
|
-
login_from: LoginFrom;
|
|
266
263
|
organisation_id: string;
|
|
264
|
+
db_instance: string;
|
|
265
|
+
db_index: string;
|
|
267
266
|
interval_seconds: number;
|
|
267
|
+
vehicle_id: string;
|
|
268
268
|
from_date_time: string;
|
|
269
269
|
to_date_time: string;
|
|
270
270
|
}, {
|
|
271
|
-
|
|
272
|
-
db_instance: string;
|
|
273
|
-
vehicle_id: string;
|
|
271
|
+
login_from: LoginFrom;
|
|
274
272
|
date_format_id: string;
|
|
275
273
|
time_zone_id: string;
|
|
276
|
-
login_from: LoginFrom;
|
|
277
274
|
organisation_id: string;
|
|
275
|
+
db_instance: string;
|
|
276
|
+
db_index: string;
|
|
277
|
+
vehicle_id: string;
|
|
278
278
|
from_date_time: string;
|
|
279
279
|
to_date_time: string;
|
|
280
280
|
search?: string | undefined;
|
|
@@ -298,25 +298,25 @@ declare const VehicleDashboardSummaryQuerySchema: z.ZodObject<{
|
|
|
298
298
|
db_index: z.ZodEffects<z.ZodString, string, string>;
|
|
299
299
|
vehicle_id: z.ZodEffects<z.ZodString, string, string>;
|
|
300
300
|
}, "strip", z.ZodTypeAny, {
|
|
301
|
-
db_index: string;
|
|
302
|
-
db_instance: string;
|
|
303
|
-
vehicle_id: string;
|
|
304
301
|
search: string;
|
|
305
302
|
paging: PAGING;
|
|
306
303
|
page_count: number;
|
|
307
304
|
page_index: number;
|
|
305
|
+
login_from: LoginFrom;
|
|
308
306
|
date_format_id: string;
|
|
309
307
|
time_zone_id: string;
|
|
310
|
-
login_from: LoginFrom;
|
|
311
308
|
organisation_id: string;
|
|
312
|
-
}, {
|
|
313
|
-
db_index: string;
|
|
314
309
|
db_instance: string;
|
|
310
|
+
db_index: string;
|
|
315
311
|
vehicle_id: string;
|
|
312
|
+
}, {
|
|
313
|
+
login_from: LoginFrom;
|
|
316
314
|
date_format_id: string;
|
|
317
315
|
time_zone_id: string;
|
|
318
|
-
login_from: LoginFrom;
|
|
319
316
|
organisation_id: string;
|
|
317
|
+
db_instance: string;
|
|
318
|
+
db_index: string;
|
|
319
|
+
vehicle_id: string;
|
|
320
320
|
search?: string | undefined;
|
|
321
321
|
paging?: PAGING | undefined;
|
|
322
322
|
page_count?: unknown;
|
|
@@ -39,7 +39,6 @@ declare const MasterMainLandmarkSchema: z.ZodObject<{
|
|
|
39
39
|
longitude: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
40
40
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
41
41
|
}, "strip", z.ZodTypeAny, {
|
|
42
|
-
google_location: string;
|
|
43
42
|
status: Status;
|
|
44
43
|
country_id: string;
|
|
45
44
|
state_id: string;
|
|
@@ -48,6 +47,7 @@ declare const MasterMainLandmarkSchema: z.ZodObject<{
|
|
|
48
47
|
zip_code: string;
|
|
49
48
|
landmark_name: string;
|
|
50
49
|
location: string;
|
|
50
|
+
google_location: string;
|
|
51
51
|
latitude?: number | undefined;
|
|
52
52
|
longitude?: number | undefined;
|
|
53
53
|
}, {
|
|
@@ -55,13 +55,13 @@ declare const MasterMainLandmarkSchema: z.ZodObject<{
|
|
|
55
55
|
country_id: string;
|
|
56
56
|
state_id: string;
|
|
57
57
|
landmark_name: string;
|
|
58
|
-
latitude?: unknown;
|
|
59
|
-
longitude?: unknown;
|
|
60
|
-
google_location?: string | undefined;
|
|
61
58
|
locality?: string | undefined;
|
|
62
59
|
city_district_town?: string | undefined;
|
|
63
60
|
zip_code?: string | undefined;
|
|
61
|
+
latitude?: unknown;
|
|
62
|
+
longitude?: unknown;
|
|
64
63
|
location?: string | undefined;
|
|
64
|
+
google_location?: string | undefined;
|
|
65
65
|
}>;
|
|
66
66
|
type MasterMainLandmarkDTO = z.infer<typeof MasterMainLandmarkSchema>;
|
|
67
67
|
declare const MasterMainLandmarkQuerySchema: z.ZodObject<{
|
|
@@ -100,7 +100,6 @@ 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;
|
|
104
103
|
search: string;
|
|
105
104
|
paging: PAGING;
|
|
106
105
|
page_count: number;
|
|
@@ -120,12 +119,13 @@ declare const MasterMainLandmarkQuerySchema: z.ZodObject<{
|
|
|
120
119
|
}[];
|
|
121
120
|
include_master_data: YesNo;
|
|
122
121
|
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
|
-
time_zone_id: string;
|
|
128
127
|
date_format_id: string;
|
|
128
|
+
time_zone_id: string;
|
|
129
129
|
status?: Status[] | undefined;
|
|
130
130
|
search?: string | undefined;
|
|
131
131
|
paging?: PAGING | undefined;
|
|
@@ -25,14 +25,14 @@ declare const MasterVehicleAssociatedToSchema: z.ZodObject<{
|
|
|
25
25
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
26
26
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
27
27
|
}, "strip", z.ZodTypeAny, {
|
|
28
|
+
associated_to: string;
|
|
28
29
|
description: string;
|
|
29
30
|
status: Status;
|
|
30
31
|
organisation_id: string;
|
|
31
|
-
associated_to: string;
|
|
32
32
|
}, {
|
|
33
|
+
associated_to: string;
|
|
33
34
|
status: Status;
|
|
34
35
|
organisation_id: string;
|
|
35
|
-
associated_to: string;
|
|
36
36
|
description?: string | undefined;
|
|
37
37
|
}>;
|
|
38
38
|
type MasterVehicleAssociatedToDTO = z.infer<typeof MasterVehicleAssociatedToSchema>;
|
|
@@ -24,14 +24,14 @@ declare const MasterVehicleDocumentTypeSchema: z.ZodObject<{
|
|
|
24
24
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
25
25
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
26
26
|
}, "strip", z.ZodTypeAny, {
|
|
27
|
-
document_type: string;
|
|
28
27
|
description: string;
|
|
29
28
|
status: Status;
|
|
30
29
|
organisation_id: string;
|
|
31
|
-
}, {
|
|
32
30
|
document_type: string;
|
|
31
|
+
}, {
|
|
33
32
|
status: Status;
|
|
34
33
|
organisation_id: string;
|
|
34
|
+
document_type: string;
|
|
35
35
|
description?: string | undefined;
|
|
36
36
|
}>;
|
|
37
37
|
type MasterVehicleDocumentTypeDTO = z.infer<typeof MasterVehicleDocumentTypeSchema>;
|
|
@@ -70,7 +70,6 @@ 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;
|
|
74
73
|
search: string;
|
|
75
74
|
paging: PAGING;
|
|
76
75
|
page_count: number;
|
|
@@ -90,11 +89,12 @@ declare const MasterVehicleFuelRemovalReasonQuerySchema: z.ZodObject<{
|
|
|
90
89
|
}[];
|
|
91
90
|
include_master_data: YesNo;
|
|
92
91
|
date_format_id: string;
|
|
92
|
+
time_zone_id: string;
|
|
93
93
|
organisation_ids: string[];
|
|
94
94
|
fuel_removal_reason_ids: string[];
|
|
95
95
|
}, {
|
|
96
|
-
time_zone_id: string;
|
|
97
96
|
date_format_id: string;
|
|
97
|
+
time_zone_id: string;
|
|
98
98
|
status?: Status[] | undefined;
|
|
99
99
|
search?: string | undefined;
|
|
100
100
|
paging?: PAGING | undefined;
|
|
@@ -32,8 +32,8 @@ declare const MasterVehicleFuelUnitSchema: z.ZodObject<{
|
|
|
32
32
|
}, "strip", z.ZodTypeAny, {
|
|
33
33
|
status: Status;
|
|
34
34
|
organisation_id: string;
|
|
35
|
-
fuel_unit: string;
|
|
36
35
|
description: string;
|
|
36
|
+
fuel_unit: string;
|
|
37
37
|
}, {
|
|
38
38
|
status: Status;
|
|
39
39
|
organisation_id: string;
|
|
@@ -76,7 +76,6 @@ declare const MasterVehicleFuelUnitQuerySchema: z.ZodObject<{
|
|
|
76
76
|
fuel_unit_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
77
77
|
}, "strip", z.ZodTypeAny, {
|
|
78
78
|
status: Status[];
|
|
79
|
-
time_zone_id: string;
|
|
80
79
|
search: string;
|
|
81
80
|
paging: PAGING;
|
|
82
81
|
page_count: number;
|
|
@@ -96,11 +95,12 @@ declare const MasterVehicleFuelUnitQuerySchema: z.ZodObject<{
|
|
|
96
95
|
}[];
|
|
97
96
|
include_master_data: YesNo;
|
|
98
97
|
date_format_id: string;
|
|
98
|
+
time_zone_id: string;
|
|
99
99
|
organisation_ids: string[];
|
|
100
100
|
fuel_unit_ids: string[];
|
|
101
101
|
}, {
|
|
102
|
-
time_zone_id: string;
|
|
103
102
|
date_format_id: string;
|
|
103
|
+
time_zone_id: string;
|
|
104
104
|
status?: Status[] | undefined;
|
|
105
105
|
search?: string | undefined;
|
|
106
106
|
paging?: PAGING | undefined;
|
package/package.json
CHANGED