vms-nest-prisma-api-document 6.0.12 → 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 +16 -16
- package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.d.ts +41 -40
- package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +52 -51
- 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/expense/master_fuel_company_service.d.ts +5 -5
- package/dist/services/master/expense/master_vendor_document_type_service.d.ts +2 -2
- package/dist/services/master/main/master_main_eway_bill_provider_service.d.ts +2 -2
- package/dist/services/master/main/master_main_fasttag_bank_service.d.ts +2 -2
- package/dist/services/master/main/master_main_landmark_service.d.ts +6 -6
- package/dist/services/master/vehicle/master_vehicle_fuel_removal_reason_service.d.ts +4 -4
- package/dist/services/master/vehicle/master_vehicle_fuel_unit_service.d.ts +3 -3
- package/package.json +1 -1
|
@@ -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
|
-
|
|
66
|
-
|
|
67
|
-
user_id: string;
|
|
68
|
-
vehicle_id: string;
|
|
69
|
-
driver_id: string;
|
|
70
|
-
device_id: 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;
|
|
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;
|
|
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;
|
|
@@ -327,7 +327,6 @@ declare const AllVehiclesFuelDailySummaryQuerySchema: z.ZodObject<{
|
|
|
327
327
|
}, "strip", z.ZodTypeAny, {
|
|
328
328
|
date: string;
|
|
329
329
|
status: Status[];
|
|
330
|
-
time_zone_id: string;
|
|
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;
|
|
@@ -19,6 +19,7 @@ interface FleetFuelRefill extends Record<string, unknown> {
|
|
|
19
19
|
is_previous_entries_missed: YesNo;
|
|
20
20
|
date_time: string;
|
|
21
21
|
date?: string;
|
|
22
|
+
date_f?: string;
|
|
22
23
|
date_time_f?: string;
|
|
23
24
|
cost_per_unit?: number;
|
|
24
25
|
total_cost?: number;
|
|
@@ -113,22 +114,22 @@ declare const FleetFuelRefillFileSchema: z.ZodObject<{
|
|
|
113
114
|
}, "strip", z.ZodTypeAny, {
|
|
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
|
-
fleet_fuel_refill_id: string;
|
|
124
125
|
}, {
|
|
125
126
|
status: Status;
|
|
126
127
|
organisation_id: string;
|
|
127
128
|
file_type: FileType;
|
|
128
129
|
fleet_fuel_refill_id: string;
|
|
130
|
+
file_name?: string | undefined;
|
|
129
131
|
file_url?: string | undefined;
|
|
130
132
|
file_key?: string | undefined;
|
|
131
|
-
file_name?: string | undefined;
|
|
132
133
|
file_description?: string | undefined;
|
|
133
134
|
file_size?: unknown;
|
|
134
135
|
file_metadata?: Record<string, any> | undefined;
|
|
@@ -189,46 +190,41 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
189
190
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
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
|
-
fleet_fuel_refill_id: string;
|
|
200
201
|
}, {
|
|
201
202
|
status: Status;
|
|
202
203
|
organisation_id: string;
|
|
203
204
|
file_type: FileType;
|
|
204
205
|
fleet_fuel_refill_id: string;
|
|
206
|
+
file_name?: string | undefined;
|
|
205
207
|
file_url?: string | undefined;
|
|
206
208
|
file_key?: string | undefined;
|
|
207
|
-
file_name?: string | undefined;
|
|
208
209
|
file_description?: string | undefined;
|
|
209
210
|
file_size?: unknown;
|
|
210
211
|
file_metadata?: Record<string, any> | undefined;
|
|
211
212
|
}>, "many">>>;
|
|
212
213
|
}, "strip", z.ZodTypeAny, {
|
|
213
|
-
odometer_reading: number;
|
|
214
|
-
date_time: string;
|
|
215
|
-
entry_source: RefillEntrySource;
|
|
216
|
-
source_reference_id: string;
|
|
217
|
-
source_notes: string;
|
|
218
|
-
admin_verify_status: GPSFuelApproveStatus;
|
|
219
|
-
transporter_verify_status: GPSFuelApproveStatus;
|
|
220
|
-
google_location: string;
|
|
221
214
|
status: Status;
|
|
222
215
|
organisation_id: string;
|
|
223
216
|
user_id: string;
|
|
224
217
|
vehicle_id: string;
|
|
225
218
|
driver_id: string;
|
|
226
219
|
device_id: string;
|
|
220
|
+
time_zone_id: string;
|
|
227
221
|
vehicle_fuel_type_id: string;
|
|
222
|
+
odometer_reading: number;
|
|
223
|
+
google_location: string;
|
|
228
224
|
vehicle_fuel_unit_id: string;
|
|
229
|
-
time_zone_id: string;
|
|
230
225
|
is_full_tank: YesNo;
|
|
231
226
|
is_previous_entries_missed: YesNo;
|
|
227
|
+
date_time: string;
|
|
232
228
|
invoice_number: string;
|
|
233
229
|
payment_mode: PaymentMode;
|
|
234
230
|
payment_status: PaymentStatus;
|
|
@@ -239,22 +235,25 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
239
235
|
refill_details: string;
|
|
240
236
|
payment_details: string;
|
|
241
237
|
filled_by_person: string;
|
|
238
|
+
entry_source: RefillEntrySource;
|
|
239
|
+
source_reference_id: string;
|
|
240
|
+
source_notes: string;
|
|
241
|
+
admin_verify_status: GPSFuelApproveStatus;
|
|
242
|
+
transporter_verify_status: GPSFuelApproveStatus;
|
|
242
243
|
vendor_id: string;
|
|
243
244
|
fuel_station_id: string;
|
|
244
245
|
refill_files: {
|
|
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
|
-
fleet_fuel_refill_id: string;
|
|
255
256
|
}[];
|
|
256
|
-
cost_per_unit?: number | undefined;
|
|
257
|
-
total_cost?: number | undefined;
|
|
258
257
|
latitude?: number | undefined;
|
|
259
258
|
longitude?: number | undefined;
|
|
260
259
|
before_refill_quantity?: number | undefined;
|
|
@@ -262,31 +261,28 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
262
261
|
refill_quantity?: number | undefined;
|
|
263
262
|
verified_refill_quantity?: number | undefined;
|
|
264
263
|
diff_refill_quantity?: number | undefined;
|
|
264
|
+
cost_per_unit?: number | undefined;
|
|
265
|
+
total_cost?: number | undefined;
|
|
265
266
|
}, {
|
|
266
|
-
date_time: string;
|
|
267
|
-
admin_verify_status: GPSFuelApproveStatus;
|
|
268
|
-
transporter_verify_status: GPSFuelApproveStatus;
|
|
269
267
|
status: Status;
|
|
270
268
|
organisation_id: string;
|
|
271
269
|
user_id: string;
|
|
272
270
|
vehicle_id: string;
|
|
273
271
|
driver_id: string;
|
|
274
272
|
device_id: string;
|
|
273
|
+
time_zone_id: string;
|
|
275
274
|
vehicle_fuel_type_id: string;
|
|
276
275
|
vehicle_fuel_unit_id: string;
|
|
277
|
-
time_zone_id: string;
|
|
278
276
|
is_full_tank: YesNo;
|
|
279
277
|
is_previous_entries_missed: YesNo;
|
|
278
|
+
date_time: string;
|
|
280
279
|
payment_mode: PaymentMode;
|
|
281
280
|
payment_status: PaymentStatus;
|
|
281
|
+
admin_verify_status: GPSFuelApproveStatus;
|
|
282
|
+
transporter_verify_status: GPSFuelApproveStatus;
|
|
282
283
|
vendor_id: string;
|
|
283
284
|
fuel_station_id: string;
|
|
284
285
|
odometer_reading?: unknown;
|
|
285
|
-
cost_per_unit?: unknown;
|
|
286
|
-
total_cost?: unknown;
|
|
287
|
-
entry_source?: RefillEntrySource | undefined;
|
|
288
|
-
source_reference_id?: string | undefined;
|
|
289
|
-
source_notes?: string | undefined;
|
|
290
286
|
latitude?: unknown;
|
|
291
287
|
longitude?: unknown;
|
|
292
288
|
google_location?: string | undefined;
|
|
@@ -295,6 +291,8 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
295
291
|
refill_quantity?: unknown;
|
|
296
292
|
verified_refill_quantity?: unknown;
|
|
297
293
|
diff_refill_quantity?: unknown;
|
|
294
|
+
cost_per_unit?: unknown;
|
|
295
|
+
total_cost?: unknown;
|
|
298
296
|
invoice_number?: string | undefined;
|
|
299
297
|
payment_reference_number?: string | undefined;
|
|
300
298
|
fuel_card_number?: string | undefined;
|
|
@@ -303,14 +301,17 @@ declare const FleetFuelRefillSchema: z.ZodObject<{
|
|
|
303
301
|
refill_details?: string | undefined;
|
|
304
302
|
payment_details?: string | undefined;
|
|
305
303
|
filled_by_person?: string | undefined;
|
|
304
|
+
entry_source?: RefillEntrySource | undefined;
|
|
305
|
+
source_reference_id?: string | undefined;
|
|
306
|
+
source_notes?: string | undefined;
|
|
306
307
|
refill_files?: {
|
|
307
308
|
status: Status;
|
|
308
309
|
organisation_id: string;
|
|
309
310
|
file_type: FileType;
|
|
310
311
|
fleet_fuel_refill_id: string;
|
|
312
|
+
file_name?: string | undefined;
|
|
311
313
|
file_url?: string | undefined;
|
|
312
314
|
file_key?: string | undefined;
|
|
313
|
-
file_name?: string | undefined;
|
|
314
315
|
file_description?: string | undefined;
|
|
315
316
|
file_size?: unknown;
|
|
316
317
|
file_metadata?: Record<string, any> | undefined;
|
|
@@ -364,11 +365,7 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
364
365
|
from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
365
366
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
366
367
|
}, "strip", z.ZodTypeAny, {
|
|
367
|
-
entry_source: RefillEntrySource[];
|
|
368
|
-
admin_verify_status: GPSFuelApproveStatus[];
|
|
369
|
-
transporter_verify_status: GPSFuelApproveStatus[];
|
|
370
368
|
status: Status[];
|
|
371
|
-
time_zone_id: string;
|
|
372
369
|
search: string;
|
|
373
370
|
paging: PAGING;
|
|
374
371
|
page_count: number;
|
|
@@ -388,26 +385,27 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
388
385
|
}[];
|
|
389
386
|
include_master_data: YesNo;
|
|
390
387
|
date_format_id: string;
|
|
388
|
+
time_zone_id: string;
|
|
391
389
|
organisation_ids: string[];
|
|
392
390
|
user_ids: string[];
|
|
393
391
|
vehicle_ids: string[];
|
|
394
392
|
driver_ids: string[];
|
|
395
393
|
device_ids: string[];
|
|
396
|
-
vehicle_fuel_type_ids: string[];
|
|
397
|
-
vehicle_fuel_unit_ids: string[];
|
|
398
394
|
from_date: string;
|
|
399
395
|
to_date: string;
|
|
396
|
+
vehicle_fuel_type_ids: string[];
|
|
397
|
+
entry_source: RefillEntrySource[];
|
|
398
|
+
admin_verify_status: GPSFuelApproveStatus[];
|
|
399
|
+
transporter_verify_status: GPSFuelApproveStatus[];
|
|
400
400
|
vendor_ids: string[];
|
|
401
401
|
fuel_station_ids: string[];
|
|
402
|
+
vehicle_fuel_unit_ids: string[];
|
|
402
403
|
fleet_fuel_refill_ids: string[];
|
|
403
404
|
}, {
|
|
404
|
-
time_zone_id: string;
|
|
405
405
|
date_format_id: string;
|
|
406
|
+
time_zone_id: string;
|
|
406
407
|
from_date: string;
|
|
407
408
|
to_date: string;
|
|
408
|
-
entry_source?: RefillEntrySource[] | undefined;
|
|
409
|
-
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
410
|
-
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
411
409
|
status?: Status[] | undefined;
|
|
412
410
|
search?: string | undefined;
|
|
413
411
|
paging?: PAGING | undefined;
|
|
@@ -433,9 +431,12 @@ declare const FleetFuelRefillQuerySchema: z.ZodObject<{
|
|
|
433
431
|
driver_ids?: string[] | undefined;
|
|
434
432
|
device_ids?: string[] | undefined;
|
|
435
433
|
vehicle_fuel_type_ids?: string[] | undefined;
|
|
436
|
-
|
|
434
|
+
entry_source?: RefillEntrySource[] | undefined;
|
|
435
|
+
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
436
|
+
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
437
437
|
vendor_ids?: string[] | undefined;
|
|
438
438
|
fuel_station_ids?: string[] | undefined;
|
|
439
|
+
vehicle_fuel_unit_ids?: string[] | undefined;
|
|
439
440
|
fleet_fuel_refill_ids?: string[] | undefined;
|
|
440
441
|
}>;
|
|
441
442
|
type FleetFuelRefillQueryDTO = z.infer<typeof FleetFuelRefillQuerySchema>;
|
|
@@ -18,6 +18,7 @@ interface FleetFuelRemoval extends Record<string, unknown> {
|
|
|
18
18
|
odometer_reading?: number;
|
|
19
19
|
date_time: string;
|
|
20
20
|
date?: string;
|
|
21
|
+
date_f?: string;
|
|
21
22
|
date_time_f?: string;
|
|
22
23
|
cost_per_unit?: number;
|
|
23
24
|
total_cost?: number;
|
|
@@ -94,24 +95,24 @@ declare const FleetFuelRemovalFileSchema: z.ZodObject<{
|
|
|
94
95
|
file_metadata: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
95
96
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
96
97
|
}, "strip", z.ZodTypeAny, {
|
|
97
|
-
fleet_fuel_removal_id: string;
|
|
98
98
|
status: Status;
|
|
99
99
|
organisation_id: string;
|
|
100
|
+
file_name: string;
|
|
100
101
|
file_type: FileType;
|
|
101
102
|
file_url: string;
|
|
102
103
|
file_key: string;
|
|
103
|
-
file_name: string;
|
|
104
104
|
file_description: string;
|
|
105
105
|
file_size: number;
|
|
106
106
|
file_metadata: Record<string, any>;
|
|
107
|
-
}, {
|
|
108
107
|
fleet_fuel_removal_id: string;
|
|
108
|
+
}, {
|
|
109
109
|
status: Status;
|
|
110
110
|
organisation_id: string;
|
|
111
111
|
file_type: FileType;
|
|
112
|
+
fleet_fuel_removal_id: string;
|
|
113
|
+
file_name?: string | undefined;
|
|
112
114
|
file_url?: string | undefined;
|
|
113
115
|
file_key?: string | undefined;
|
|
114
|
-
file_name?: string | undefined;
|
|
115
116
|
file_description?: string | undefined;
|
|
116
117
|
file_size?: unknown;
|
|
117
118
|
file_metadata?: Record<string, any> | undefined;
|
|
@@ -158,106 +159,106 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
158
159
|
file_metadata: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
159
160
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
160
161
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
161
|
-
fleet_fuel_removal_id: string;
|
|
162
162
|
status: Status;
|
|
163
163
|
organisation_id: string;
|
|
164
|
+
file_name: string;
|
|
164
165
|
file_type: FileType;
|
|
165
166
|
file_url: string;
|
|
166
167
|
file_key: string;
|
|
167
|
-
file_name: string;
|
|
168
168
|
file_description: string;
|
|
169
169
|
file_size: number;
|
|
170
170
|
file_metadata: Record<string, any>;
|
|
171
|
-
}, {
|
|
172
171
|
fleet_fuel_removal_id: string;
|
|
172
|
+
}, {
|
|
173
173
|
status: Status;
|
|
174
174
|
organisation_id: string;
|
|
175
175
|
file_type: FileType;
|
|
176
|
+
fleet_fuel_removal_id: string;
|
|
177
|
+
file_name?: string | undefined;
|
|
176
178
|
file_url?: string | undefined;
|
|
177
179
|
file_key?: string | undefined;
|
|
178
|
-
file_name?: string | undefined;
|
|
179
180
|
file_description?: string | undefined;
|
|
180
181
|
file_size?: unknown;
|
|
181
182
|
file_metadata?: Record<string, any> | undefined;
|
|
182
183
|
}>, "many">>>;
|
|
183
184
|
}, "strip", z.ZodTypeAny, {
|
|
184
|
-
odometer_reading: number;
|
|
185
|
-
date_time: string;
|
|
186
|
-
fuel_removal_reason_id: string;
|
|
187
|
-
removal_details: string;
|
|
188
|
-
entry_source: RefillEntrySource;
|
|
189
|
-
source_reference_id: string;
|
|
190
|
-
source_notes: string;
|
|
191
|
-
admin_verify_status: GPSFuelApproveStatus;
|
|
192
|
-
transporter_verify_status: GPSFuelApproveStatus;
|
|
193
|
-
google_location: string;
|
|
194
185
|
status: Status;
|
|
195
186
|
organisation_id: string;
|
|
196
187
|
user_id: string;
|
|
197
188
|
vehicle_id: string;
|
|
198
189
|
driver_id: string;
|
|
199
190
|
device_id: string;
|
|
191
|
+
time_zone_id: string;
|
|
200
192
|
vehicle_fuel_type_id: string;
|
|
193
|
+
odometer_reading: number;
|
|
194
|
+
google_location: string;
|
|
201
195
|
vehicle_fuel_unit_id: string;
|
|
202
|
-
|
|
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;
|
|
202
|
+
fuel_removal_reason_id: string;
|
|
203
|
+
removal_details: string;
|
|
203
204
|
removal_files: {
|
|
204
|
-
fleet_fuel_removal_id: string;
|
|
205
205
|
status: Status;
|
|
206
206
|
organisation_id: string;
|
|
207
|
+
file_name: string;
|
|
207
208
|
file_type: FileType;
|
|
208
209
|
file_url: string;
|
|
209
210
|
file_key: string;
|
|
210
|
-
file_name: string;
|
|
211
211
|
file_description: string;
|
|
212
212
|
file_size: number;
|
|
213
213
|
file_metadata: Record<string, any>;
|
|
214
|
+
fleet_fuel_removal_id: string;
|
|
214
215
|
}[];
|
|
216
|
+
latitude?: number | undefined;
|
|
217
|
+
longitude?: number | undefined;
|
|
218
|
+
cost_per_unit?: number | undefined;
|
|
219
|
+
total_cost?: number | undefined;
|
|
215
220
|
before_removal_quantity?: number | undefined;
|
|
216
221
|
after_removal_quantity?: number | undefined;
|
|
217
222
|
removal_quantity?: number | undefined;
|
|
218
223
|
verified_removal_quantity?: number | undefined;
|
|
219
224
|
diff_removal_quantity?: number | undefined;
|
|
220
|
-
cost_per_unit?: number | undefined;
|
|
221
|
-
total_cost?: number | undefined;
|
|
222
|
-
latitude?: number | undefined;
|
|
223
|
-
longitude?: number | undefined;
|
|
224
225
|
}, {
|
|
225
|
-
date_time: string;
|
|
226
|
-
fuel_removal_reason_id: string;
|
|
227
|
-
admin_verify_status: GPSFuelApproveStatus;
|
|
228
|
-
transporter_verify_status: GPSFuelApproveStatus;
|
|
229
226
|
status: Status;
|
|
230
227
|
organisation_id: string;
|
|
231
228
|
user_id: string;
|
|
232
229
|
vehicle_id: string;
|
|
233
230
|
driver_id: string;
|
|
234
231
|
device_id: string;
|
|
232
|
+
time_zone_id: string;
|
|
235
233
|
vehicle_fuel_type_id: string;
|
|
236
234
|
vehicle_fuel_unit_id: string;
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
verified_removal_quantity?: unknown;
|
|
242
|
-
diff_removal_quantity?: unknown;
|
|
235
|
+
date_time: string;
|
|
236
|
+
admin_verify_status: GPSFuelApproveStatus;
|
|
237
|
+
transporter_verify_status: GPSFuelApproveStatus;
|
|
238
|
+
fuel_removal_reason_id: string;
|
|
243
239
|
odometer_reading?: unknown;
|
|
240
|
+
latitude?: unknown;
|
|
241
|
+
longitude?: unknown;
|
|
242
|
+
google_location?: string | undefined;
|
|
244
243
|
cost_per_unit?: unknown;
|
|
245
244
|
total_cost?: unknown;
|
|
246
|
-
removal_details?: string | undefined;
|
|
247
245
|
entry_source?: RefillEntrySource | undefined;
|
|
248
246
|
source_reference_id?: string | undefined;
|
|
249
247
|
source_notes?: string | undefined;
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
248
|
+
before_removal_quantity?: unknown;
|
|
249
|
+
after_removal_quantity?: unknown;
|
|
250
|
+
removal_quantity?: unknown;
|
|
251
|
+
verified_removal_quantity?: unknown;
|
|
252
|
+
diff_removal_quantity?: unknown;
|
|
253
|
+
removal_details?: string | undefined;
|
|
253
254
|
removal_files?: {
|
|
254
|
-
fleet_fuel_removal_id: string;
|
|
255
255
|
status: Status;
|
|
256
256
|
organisation_id: string;
|
|
257
257
|
file_type: FileType;
|
|
258
|
+
fleet_fuel_removal_id: string;
|
|
259
|
+
file_name?: string | undefined;
|
|
258
260
|
file_url?: string | undefined;
|
|
259
261
|
file_key?: string | undefined;
|
|
260
|
-
file_name?: string | undefined;
|
|
261
262
|
file_description?: string | undefined;
|
|
262
263
|
file_size?: unknown;
|
|
263
264
|
file_metadata?: Record<string, any> | undefined;
|
|
@@ -309,11 +310,7 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
|
|
|
309
310
|
from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
310
311
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
311
312
|
}, "strip", z.ZodTypeAny, {
|
|
312
|
-
entry_source: RefillEntrySource[];
|
|
313
|
-
admin_verify_status: GPSFuelApproveStatus[];
|
|
314
|
-
transporter_verify_status: GPSFuelApproveStatus[];
|
|
315
313
|
status: Status[];
|
|
316
|
-
time_zone_id: string;
|
|
317
314
|
search: string;
|
|
318
315
|
paging: PAGING;
|
|
319
316
|
page_count: number;
|
|
@@ -333,24 +330,25 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
|
|
|
333
330
|
}[];
|
|
334
331
|
include_master_data: YesNo;
|
|
335
332
|
date_format_id: string;
|
|
333
|
+
time_zone_id: string;
|
|
336
334
|
organisation_ids: string[];
|
|
337
335
|
user_ids: string[];
|
|
338
336
|
vehicle_ids: string[];
|
|
339
337
|
driver_ids: string[];
|
|
340
338
|
device_ids: string[];
|
|
339
|
+
from_date: string;
|
|
340
|
+
to_date: string;
|
|
341
341
|
vehicle_fuel_type_ids: string[];
|
|
342
|
+
entry_source: RefillEntrySource[];
|
|
343
|
+
admin_verify_status: GPSFuelApproveStatus[];
|
|
344
|
+
transporter_verify_status: GPSFuelApproveStatus[];
|
|
342
345
|
vehicle_fuel_unit_ids: string[];
|
|
343
346
|
fuel_removal_reason_ids: string[];
|
|
344
|
-
from_date: string;
|
|
345
|
-
to_date: string;
|
|
346
347
|
}, {
|
|
347
|
-
time_zone_id: string;
|
|
348
348
|
date_format_id: string;
|
|
349
|
+
time_zone_id: string;
|
|
349
350
|
from_date: string;
|
|
350
351
|
to_date: string;
|
|
351
|
-
entry_source?: RefillEntrySource[] | undefined;
|
|
352
|
-
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
353
|
-
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
354
352
|
status?: Status[] | undefined;
|
|
355
353
|
search?: string | undefined;
|
|
356
354
|
paging?: PAGING | undefined;
|
|
@@ -376,6 +374,9 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
|
|
|
376
374
|
driver_ids?: string[] | undefined;
|
|
377
375
|
device_ids?: string[] | undefined;
|
|
378
376
|
vehicle_fuel_type_ids?: string[] | undefined;
|
|
377
|
+
entry_source?: RefillEntrySource[] | undefined;
|
|
378
|
+
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
379
|
+
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
379
380
|
vehicle_fuel_unit_ids?: string[] | undefined;
|
|
380
381
|
fuel_removal_reason_ids?: string[] | undefined;
|
|
381
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;
|
|
@@ -28,21 +28,21 @@ declare const MasterFuelCompanySchema: z.ZodObject<{
|
|
|
28
28
|
logo_key: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
29
29
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
30
30
|
}, "strip", z.ZodTypeAny, {
|
|
31
|
+
company_name: string;
|
|
31
32
|
description: string;
|
|
33
|
+
logo_url: string;
|
|
34
|
+
logo_key: string;
|
|
32
35
|
status: Status;
|
|
33
36
|
organisation_id: string;
|
|
34
37
|
country_id: string;
|
|
35
|
-
logo_key: string;
|
|
36
|
-
logo_url: string;
|
|
37
|
-
company_name: string;
|
|
38
38
|
}, {
|
|
39
|
+
company_name: string;
|
|
39
40
|
status: Status;
|
|
40
41
|
organisation_id: string;
|
|
41
42
|
country_id: string;
|
|
42
|
-
company_name: string;
|
|
43
43
|
description?: string | undefined;
|
|
44
|
-
logo_key?: string | undefined;
|
|
45
44
|
logo_url?: string | undefined;
|
|
45
|
+
logo_key?: string | undefined;
|
|
46
46
|
}>;
|
|
47
47
|
type MasterFuelCompanyDTO = z.infer<typeof MasterFuelCompanySchema>;
|
|
48
48
|
declare const MasterFuelCompanyQuerySchema: z.ZodObject<{
|
|
@@ -21,14 +21,14 @@ declare const MasterVendorDocumentTypeSchema: z.ZodObject<{
|
|
|
21
21
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
22
22
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
23
23
|
}, "strip", z.ZodTypeAny, {
|
|
24
|
-
document_type: string;
|
|
25
24
|
description: string;
|
|
26
25
|
status: Status;
|
|
27
26
|
organisation_id: string;
|
|
28
|
-
}, {
|
|
29
27
|
document_type: string;
|
|
28
|
+
}, {
|
|
30
29
|
status: Status;
|
|
31
30
|
organisation_id: string;
|
|
31
|
+
document_type: string;
|
|
32
32
|
description?: string | undefined;
|
|
33
33
|
}>;
|
|
34
34
|
type MasterVendorDocumentTypeDTO = z.infer<typeof MasterVendorDocumentTypeSchema>;
|
|
@@ -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;
|
|
19
18
|
provider_name: string;
|
|
20
19
|
provider_code: string;
|
|
21
|
-
}, {
|
|
22
20
|
status: Status;
|
|
21
|
+
}, {
|
|
23
22
|
provider_name: string;
|
|
23
|
+
status: Status;
|
|
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;
|
|
18
19
|
bank_name: string;
|
|
19
20
|
bank_code: string;
|
|
20
|
-
status: Status;
|
|
21
21
|
}, {
|
|
22
|
-
bank_name: string;
|
|
23
22
|
status: Status;
|
|
23
|
+
bank_name: string;
|
|
24
24
|
bank_code?: string | undefined;
|
|
25
25
|
}>;
|
|
26
26
|
type MasterMainFasttagBankDTO = z.infer<typeof MasterMainFasttagBankSchema>;
|
|
@@ -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;
|
|
@@ -24,14 +24,14 @@ declare const MasterVehicleFuelRemovalReasonSchema: 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
|
-
removal_reason: string;
|
|
28
27
|
status: Status;
|
|
29
28
|
organisation_id: string;
|
|
30
29
|
description: string;
|
|
31
|
-
}, {
|
|
32
30
|
removal_reason: string;
|
|
31
|
+
}, {
|
|
33
32
|
status: Status;
|
|
34
33
|
organisation_id: string;
|
|
34
|
+
removal_reason: string;
|
|
35
35
|
description?: string | undefined;
|
|
36
36
|
}>;
|
|
37
37
|
type MasterVehicleFuelRemovalReasonDTO = z.infer<typeof MasterVehicleFuelRemovalReasonSchema>;
|
|
@@ -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