vms-nest-prisma-api-document 240.0.0 → 260.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/services/account/analytics/user_login_analytics_service.d.ts +3 -3
- package/dist/services/account/analytics/user_page_analytics_service.d.ts +1 -1
- package/dist/services/account/bookmark_service.d.ts +1 -1
- package/dist/services/account/notification_preferences.service.d.ts +1 -1
- package/dist/services/account/report_preferences.service.d.ts +1 -1
- package/dist/services/account/ticket_service.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/bus_stop.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/calender.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/master_route.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/notice_board.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/student.d.ts +1 -1
- package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.d.ts +20 -20
- package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.d.ts +58 -58
- package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +30 -30
- package/dist/services/fleet/incident_management/incident_management_service.d.ts +1 -1
- package/dist/services/fleet/inspection_management/fleet_inspection_form_service.d.ts +1 -1
- package/dist/services/fleet/inspection_management/fleet_inspection_management_service.d.ts +1 -1
- package/dist/services/fleet/inspection_management/fleet_inspection_schedule_service.d.ts +49 -49
- package/dist/services/fleet/issue_management/issue_management_service.d.ts +19 -19
- package/dist/services/fleet/service_management/fleet_service_management_service.d.ts +58 -71
- package/dist/services/fleet/service_management/fleet_service_management_service.js +0 -9
- package/dist/services/fleet/service_management/fleet_service_schedule_service.d.ts +1 -1
- package/dist/services/fleet/vendor_management/fleet_vendor_fuel_station.d.ts +1 -1
- package/dist/services/fleet/vendor_management/fleet_vendor_fuel_station.js +0 -61
- package/dist/services/fleet/vendor_management/fleet_vendor_service.d.ts +1 -1
- package/dist/services/fleet/vendor_management/fleet_vendor_service_center.d.ts +1 -1
- package/dist/services/gps/features/geofence/gps_geofence_service.d.ts +1 -1
- package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +1 -1
- package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +1 -1
- package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +1 -1
- package/dist/services/gps/features/gps_live_track_share_link_service.d.ts +1 -1
- package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +1 -1
- package/dist/services/gps/reports/gps_models/GpsPacket.d.ts +5 -0
- package/dist/services/gps/reports/gps_reports_mongo_service.d.ts +46 -46
- package/dist/services/main/devices/master_device_service.d.ts +1 -1
- package/dist/services/main/drivers/master_driver_service.d.ts +1 -1
- package/dist/services/main/sims/master_sim_service.d.ts +1 -1
- package/dist/services/main/users/auth_service.d.ts +1 -1
- package/dist/services/main/users/user_admin_service.d.ts +1 -1
- package/dist/services/main/users/user_organisation_service.d.ts +1 -1
- package/dist/services/main/users/user_service.d.ts +1 -1
- package/dist/services/main/vehicle/childs/vehicle_odometer_history.d.ts +1 -1
- package/dist/services/main/vehicle/master_vehicle_service.d.ts +1 -1
- package/dist/services/master/bus/master_class_service.d.ts +1 -1
- package/dist/services/master/bus/master_program_service.d.ts +1 -1
- package/dist/services/master/bus/master_relationship_service.d.ts +1 -1
- package/dist/services/master/bus/master_section_service.d.ts +1 -1
- package/dist/services/master/bus/master_semester_service.d.ts +1 -1
- package/dist/services/master/bus/master_stream_service.d.ts +1 -1
- package/dist/services/master/bus/master_year_service.d.ts +1 -1
- package/dist/services/master/device/master_device_manufacturer_service.d.ts +1 -1
- package/dist/services/master/device/master_device_model_service.d.ts +1 -1
- package/dist/services/master/device/master_device_type_service.d.ts +1 -1
- package/dist/services/master/expense/master_expense_name_service.d.ts +1 -1
- package/dist/services/master/expense/master_expense_type_service.d.ts +1 -1
- package/dist/services/master/expense/master_fuel_company_service.d.ts +1 -1
- package/dist/services/master/expense/master_vendor_document_type_service.d.ts +1 -1
- package/dist/services/master/expense/master_vendor_tag_service.d.ts +1 -1
- package/dist/services/master/expense/master_vendor_type_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_incident_severity_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_incident_status_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_incident_type_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_insurance_claim_status_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_service_task_service.d.ts +4 -4
- package/dist/services/master/main/master_main_country_service.d.ts +1 -1
- package/dist/services/master/main/master_main_currency_service.d.ts +1 -1
- package/dist/services/master/main/master_main_date_format_service.d.ts +1 -1
- package/dist/services/master/main/master_main_industry_service.d.ts +1 -1
- package/dist/services/master/main/master_main_landmark_service.d.ts +1 -1
- package/dist/services/master/main/master_main_language_service.d.ts +1 -1
- package/dist/services/master/main/master_main_state_service.d.ts +1 -1
- package/dist/services/master/main/master_main_timezone_service.d.ts +1 -1
- package/dist/services/master/main/master_main_unit_distance_service.d.ts +1 -1
- package/dist/services/master/main/master_main_unit_mileage_service.d.ts +1 -1
- package/dist/services/master/main/master_main_unit_volume_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_branch_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_color_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_group_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_sub_company_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_tag_service.d.ts +1 -1
- package/dist/services/master/spare_part/master_spare_part_category_service.d.ts +1 -1
- package/dist/services/master/spare_part/master_spare_part_sub_category_service.d.ts +9 -9
- package/dist/services/master/spare_part/master_spare_part_unit_service.d.ts +1 -1
- package/dist/services/master/trip/master_trip_party_type_service.d.ts +1 -1
- package/dist/services/master/tyre/master_tyre_grade_service.d.ts +1 -1
- package/dist/services/master/tyre/master_tyre_make_service.d.ts +1 -1
- package/dist/services/master/tyre/master_tyre_model_service.d.ts +1 -1
- package/dist/services/master/user/master_user_role_service.d.ts +1 -1
- package/dist/services/master/user/master_user_status_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_associated_to_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_document_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_fuel_removal_reason_service.d.ts +3 -3
- package/dist/services/master/vehicle/master_vehicle_fuel_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_fuel_unit_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_make_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_model_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_ownership_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_status_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_sub_model_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_type_service.d.ts +1 -1
- package/dist/services/website/contact_us_detail_service.d.ts +1 -1
- package/dist/services/website/static_pages_service.d.ts +1 -1
- package/dist/{user_organisation_service-BZaeiu6L.d.ts → user_organisation_service-C2mgWnod.d.ts} +7 -129
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '../../../core/Enums.js';
|
|
2
2
|
import '../../../core/BaseResponse.js';
|
|
3
3
|
import 'zod';
|
|
4
|
-
import '../../../user_organisation_service-
|
|
4
|
+
import '../../../user_organisation_service-C2mgWnod.js';
|
|
5
5
|
export { q as FleetInspectionForm, w as FleetInspectionFormDTO, y as FleetInspectionFormQueryDTO, x as FleetInspectionFormQuerySchema, v as FleetInspectionFormSchema, s as FleetInspectionFormSimple, C as createFleetInspectionForm, E as deleteFleetInspectionForm, B as findFleetInspectionForm, G as getFleetInspectionFormCacheSimple, A as newFleetInspectionFormPayload, z as toFleetInspectionFormPayload, D as updateFleetInspectionForm } from './fleet_inspection_schedule_service.js';
|
|
6
6
|
import '../../../zod_utils/zod_base_schema.js';
|
|
7
7
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
@@ -2,7 +2,7 @@ import '../../../core/Enums.js';
|
|
|
2
2
|
import '../../../core/BaseResponse.js';
|
|
3
3
|
import 'zod';
|
|
4
4
|
import '../../../zod_utils/zod_base_schema.js';
|
|
5
|
-
import '../../../user_organisation_service-
|
|
5
|
+
import '../../../user_organisation_service-C2mgWnod.js';
|
|
6
6
|
import '../issue_management/issue_management_service.js';
|
|
7
7
|
import '../service_management/fleet_service_management_service.js';
|
|
8
8
|
export { F as FleetInspection, i as FleetInspectionCheckPendingQueryDTO, h as FleetInspectionCheckPendingQuerySchema, e as FleetInspectionDTO, a as FleetInspectionFile, c as FleetInspectionFileDTO, b as FleetInspectionFileSchema, g as FleetInspectionQueryDTO, f as FleetInspectionQuerySchema, d as FleetInspectionSchema, o as createFleetInspection, k as create_service_file, p as deleteFleetInspection, l as findFleetInspection, m as find_check_pending, j as get_inspection_file_presigned_url, n as newFleetInspectionPayload, r as remove_service_file, t as toFleetInspectionPayload, u as updateFleetInspection } from './fleet_inspection_schedule_service.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo, InspectionType, InspectionPriority, InspectionStatus, FileType, InspectionActionStatus } from '../../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR, BaseCommonFile, BR, AWSPresignedUrl } from '../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver } from '../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver } from '../../../user_organisation_service-C2mgWnod.js';
|
|
5
5
|
import { FilePresignedUrlDTO } from '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import { FleetIssueManagement } from '../issue_management/issue_management_service.js';
|
|
7
7
|
import { FleetServiceManagement } from '../service_management/fleet_service_management_service.js';
|
|
@@ -61,23 +61,23 @@ declare const FleetInspectionScheduleSchema: z.ZodObject<{
|
|
|
61
61
|
}, "strip", z.ZodTypeAny, {
|
|
62
62
|
status: Status;
|
|
63
63
|
organisation_id: string;
|
|
64
|
+
inspection_schedule_name: string;
|
|
65
|
+
inspection_schedule_start_date: string;
|
|
66
|
+
inspection_schedule_due_date: string;
|
|
64
67
|
time_zone_id: string;
|
|
65
68
|
vehicle_ids: string[];
|
|
66
69
|
user_id: string;
|
|
67
|
-
inspection_schedule_name: string;
|
|
68
70
|
inspection_schedule_description: string;
|
|
69
|
-
inspection_schedule_start_date: string;
|
|
70
|
-
inspection_schedule_due_date: string;
|
|
71
71
|
}, {
|
|
72
72
|
status: Status;
|
|
73
73
|
organisation_id: string;
|
|
74
|
+
inspection_schedule_name: string;
|
|
74
75
|
time_zone_id: string;
|
|
75
76
|
user_id: string;
|
|
76
|
-
inspection_schedule_name: string;
|
|
77
|
-
vehicle_ids?: string[] | undefined;
|
|
78
|
-
inspection_schedule_description?: string | undefined;
|
|
79
77
|
inspection_schedule_start_date?: string | undefined;
|
|
80
78
|
inspection_schedule_due_date?: string | undefined;
|
|
79
|
+
vehicle_ids?: string[] | undefined;
|
|
80
|
+
inspection_schedule_description?: string | undefined;
|
|
81
81
|
}>;
|
|
82
82
|
type FleetInspectionScheduleDTO = z.infer<typeof FleetInspectionScheduleSchema>;
|
|
83
83
|
declare const FleetInspectionScheduleQuerySchema: z.ZodObject<{
|
|
@@ -115,6 +115,7 @@ declare const FleetInspectionScheduleQuerySchema: z.ZodObject<{
|
|
|
115
115
|
organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
116
116
|
}, "strip", z.ZodTypeAny, {
|
|
117
117
|
status: Status[];
|
|
118
|
+
time_zone_id: string;
|
|
118
119
|
search: string;
|
|
119
120
|
paging: PAGING;
|
|
120
121
|
page_count: number;
|
|
@@ -134,12 +135,11 @@ declare const FleetInspectionScheduleQuerySchema: z.ZodObject<{
|
|
|
134
135
|
}[];
|
|
135
136
|
include_master_data: YesNo;
|
|
136
137
|
date_format_id: string;
|
|
137
|
-
time_zone_id: string;
|
|
138
138
|
organisation_ids: string[];
|
|
139
139
|
inspection_schedule_ids: string[];
|
|
140
140
|
}, {
|
|
141
|
-
date_format_id: string;
|
|
142
141
|
time_zone_id: string;
|
|
142
|
+
date_format_id: string;
|
|
143
143
|
status?: Status[] | undefined;
|
|
144
144
|
search?: string | undefined;
|
|
145
145
|
paging?: PAGING | undefined;
|
|
@@ -231,6 +231,7 @@ declare const FleetInspectionFileSchema: z.ZodObject<{
|
|
|
231
231
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
232
232
|
inspection_id: z.ZodEffects<z.ZodString, string, string>;
|
|
233
233
|
}, "strip", z.ZodTypeAny, {
|
|
234
|
+
inspection_id: string;
|
|
234
235
|
status: Status;
|
|
235
236
|
organisation_id: string;
|
|
236
237
|
usage_type: string;
|
|
@@ -241,13 +242,12 @@ declare const FleetInspectionFileSchema: z.ZodObject<{
|
|
|
241
242
|
file_description: string;
|
|
242
243
|
file_size: number;
|
|
243
244
|
file_metadata: Record<string, any>;
|
|
244
|
-
inspection_id: string;
|
|
245
245
|
}, {
|
|
246
|
+
inspection_id: string;
|
|
246
247
|
status: Status;
|
|
247
248
|
organisation_id: string;
|
|
248
249
|
usage_type: string;
|
|
249
250
|
file_type: FileType;
|
|
250
|
-
inspection_id: string;
|
|
251
251
|
file_url?: string | undefined;
|
|
252
252
|
file_key?: string | undefined;
|
|
253
253
|
file_name?: string | undefined;
|
|
@@ -285,6 +285,7 @@ declare const FleetInspectionSchema: z.ZodObject<{
|
|
|
285
285
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
286
286
|
inspection_id: z.ZodEffects<z.ZodString, string, string>;
|
|
287
287
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
288
|
+
inspection_id: string;
|
|
288
289
|
status: Status;
|
|
289
290
|
organisation_id: string;
|
|
290
291
|
usage_type: string;
|
|
@@ -295,13 +296,12 @@ declare const FleetInspectionSchema: z.ZodObject<{
|
|
|
295
296
|
file_description: string;
|
|
296
297
|
file_size: number;
|
|
297
298
|
file_metadata: Record<string, any>;
|
|
298
|
-
inspection_id: string;
|
|
299
299
|
}, {
|
|
300
|
+
inspection_id: string;
|
|
300
301
|
status: Status;
|
|
301
302
|
organisation_id: string;
|
|
302
303
|
usage_type: string;
|
|
303
304
|
file_type: FileType;
|
|
304
|
-
inspection_id: string;
|
|
305
305
|
file_url?: string | undefined;
|
|
306
306
|
file_key?: string | undefined;
|
|
307
307
|
file_name?: string | undefined;
|
|
@@ -310,21 +310,22 @@ declare const FleetInspectionSchema: z.ZodObject<{
|
|
|
310
310
|
file_metadata?: Record<string, any> | undefined;
|
|
311
311
|
}>, "many">>>;
|
|
312
312
|
}, "strip", z.ZodTypeAny, {
|
|
313
|
-
inspection_form_id: string;
|
|
314
|
-
status: Status;
|
|
315
|
-
organisation_id: string;
|
|
316
|
-
time_zone_id: string;
|
|
317
|
-
driver_id: string;
|
|
318
|
-
vehicle_id: string;
|
|
319
|
-
odometer_reading: number;
|
|
320
|
-
service_management_id: string;
|
|
321
313
|
inspection_type: InspectionType;
|
|
322
314
|
inspection_date: string;
|
|
323
315
|
inspection_priority: InspectionPriority;
|
|
324
316
|
inspection_status: InspectionStatus;
|
|
317
|
+
odometer_reading: number;
|
|
318
|
+
status: Status;
|
|
319
|
+
organisation_id: string;
|
|
320
|
+
vehicle_id: string;
|
|
321
|
+
driver_id: string;
|
|
325
322
|
inspector_id: string;
|
|
323
|
+
inspection_form_id: string;
|
|
326
324
|
inspection_data: Record<string, any>;
|
|
325
|
+
service_management_id: string;
|
|
326
|
+
time_zone_id: string;
|
|
327
327
|
FleetInspectionFileSchema: {
|
|
328
|
+
inspection_id: string;
|
|
328
329
|
status: Status;
|
|
329
330
|
organisation_id: string;
|
|
330
331
|
usage_type: string;
|
|
@@ -335,29 +336,28 @@ declare const FleetInspectionSchema: z.ZodObject<{
|
|
|
335
336
|
file_description: string;
|
|
336
337
|
file_size: number;
|
|
337
338
|
file_metadata: Record<string, any>;
|
|
338
|
-
inspection_id: string;
|
|
339
339
|
}[];
|
|
340
340
|
}, {
|
|
341
|
-
inspection_form_id: string;
|
|
342
|
-
status: Status;
|
|
343
|
-
organisation_id: string;
|
|
344
|
-
time_zone_id: string;
|
|
345
|
-
driver_id: string;
|
|
346
|
-
vehicle_id: string;
|
|
347
|
-
service_management_id: string;
|
|
348
341
|
inspection_type: InspectionType;
|
|
349
342
|
inspection_date: string;
|
|
350
343
|
inspection_priority: InspectionPriority;
|
|
351
344
|
inspection_status: InspectionStatus;
|
|
345
|
+
status: Status;
|
|
346
|
+
organisation_id: string;
|
|
347
|
+
vehicle_id: string;
|
|
348
|
+
driver_id: string;
|
|
352
349
|
inspector_id: string;
|
|
350
|
+
inspection_form_id: string;
|
|
351
|
+
service_management_id: string;
|
|
352
|
+
time_zone_id: string;
|
|
353
353
|
odometer_reading?: unknown;
|
|
354
354
|
inspection_data?: Record<string, any> | undefined;
|
|
355
355
|
FleetInspectionFileSchema?: {
|
|
356
|
+
inspection_id: string;
|
|
356
357
|
status: Status;
|
|
357
358
|
organisation_id: string;
|
|
358
359
|
usage_type: string;
|
|
359
360
|
file_type: FileType;
|
|
360
|
-
inspection_id: string;
|
|
361
361
|
file_url?: string | undefined;
|
|
362
362
|
file_key?: string | undefined;
|
|
363
363
|
file_name?: string | undefined;
|
|
@@ -410,7 +410,11 @@ declare const FleetInspectionQuerySchema: z.ZodObject<{
|
|
|
410
410
|
inspection_status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof InspectionStatus>, "many">>>;
|
|
411
411
|
inspection_action_status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof InspectionActionStatus>, "many">>>;
|
|
412
412
|
}, "strip", z.ZodTypeAny, {
|
|
413
|
+
inspection_type: InspectionType[];
|
|
414
|
+
inspection_priority: InspectionPriority[];
|
|
415
|
+
inspection_status: InspectionStatus[];
|
|
413
416
|
status: Status[];
|
|
417
|
+
time_zone_id: string;
|
|
414
418
|
search: string;
|
|
415
419
|
paging: PAGING;
|
|
416
420
|
page_count: number;
|
|
@@ -430,21 +434,20 @@ declare const FleetInspectionQuerySchema: z.ZodObject<{
|
|
|
430
434
|
}[];
|
|
431
435
|
include_master_data: YesNo;
|
|
432
436
|
date_format_id: string;
|
|
433
|
-
|
|
437
|
+
inspection_ids: string[];
|
|
434
438
|
organisation_ids: string[];
|
|
435
|
-
inspection_form_ids: string[];
|
|
436
439
|
vehicle_ids: string[];
|
|
437
440
|
driver_ids: string[];
|
|
441
|
+
inspection_form_ids: string[];
|
|
438
442
|
service_management_ids: string[];
|
|
439
|
-
inspection_ids: string[];
|
|
440
443
|
inspection_schedule_ids: string[];
|
|
441
|
-
inspection_type: InspectionType[];
|
|
442
|
-
inspection_priority: InspectionPriority[];
|
|
443
|
-
inspection_status: InspectionStatus[];
|
|
444
444
|
inspection_action_status: InspectionActionStatus[];
|
|
445
445
|
}, {
|
|
446
|
-
date_format_id: string;
|
|
447
446
|
time_zone_id: string;
|
|
447
|
+
date_format_id: string;
|
|
448
|
+
inspection_type?: InspectionType[] | undefined;
|
|
449
|
+
inspection_priority?: InspectionPriority[] | undefined;
|
|
450
|
+
inspection_status?: InspectionStatus[] | undefined;
|
|
448
451
|
status?: Status[] | undefined;
|
|
449
452
|
search?: string | undefined;
|
|
450
453
|
paging?: PAGING | undefined;
|
|
@@ -464,16 +467,13 @@ declare const FleetInspectionQuerySchema: z.ZodObject<{
|
|
|
464
467
|
direction: OrderBy;
|
|
465
468
|
}[] | undefined;
|
|
466
469
|
include_master_data?: YesNo | undefined;
|
|
470
|
+
inspection_ids?: string[] | undefined;
|
|
467
471
|
organisation_ids?: string[] | undefined;
|
|
468
|
-
inspection_form_ids?: string[] | undefined;
|
|
469
472
|
vehicle_ids?: string[] | undefined;
|
|
470
473
|
driver_ids?: string[] | undefined;
|
|
474
|
+
inspection_form_ids?: string[] | undefined;
|
|
471
475
|
service_management_ids?: string[] | undefined;
|
|
472
|
-
inspection_ids?: string[] | undefined;
|
|
473
476
|
inspection_schedule_ids?: string[] | undefined;
|
|
474
|
-
inspection_type?: InspectionType[] | undefined;
|
|
475
|
-
inspection_priority?: InspectionPriority[] | undefined;
|
|
476
|
-
inspection_status?: InspectionStatus[] | undefined;
|
|
477
477
|
inspection_action_status?: InspectionActionStatus[] | undefined;
|
|
478
478
|
}>;
|
|
479
479
|
type FleetInspectionQueryDTO = z.infer<typeof FleetInspectionQuerySchema>;
|
|
@@ -511,6 +511,7 @@ declare const FleetInspectionCheckPendingQuerySchema: z.ZodObject<{
|
|
|
511
511
|
vehicle_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
512
512
|
}, "strip", z.ZodTypeAny, {
|
|
513
513
|
status: Status[];
|
|
514
|
+
time_zone_id: string;
|
|
514
515
|
search: string;
|
|
515
516
|
paging: PAGING;
|
|
516
517
|
page_count: number;
|
|
@@ -530,11 +531,10 @@ declare const FleetInspectionCheckPendingQuerySchema: z.ZodObject<{
|
|
|
530
531
|
}[];
|
|
531
532
|
include_master_data: YesNo;
|
|
532
533
|
date_format_id: string;
|
|
533
|
-
time_zone_id: string;
|
|
534
534
|
vehicle_ids: string[];
|
|
535
535
|
}, {
|
|
536
|
-
date_format_id: string;
|
|
537
536
|
time_zone_id: string;
|
|
537
|
+
date_format_id: string;
|
|
538
538
|
status?: Status[] | undefined;
|
|
539
539
|
search?: string | undefined;
|
|
540
540
|
paging?: PAGING | undefined;
|
|
@@ -592,14 +592,14 @@ declare const FleetInspectionFormSchema: z.ZodObject<{
|
|
|
592
592
|
inspection_form_fields: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
593
593
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
594
594
|
}, "strip", z.ZodTypeAny, {
|
|
595
|
-
inspection_form_name: string;
|
|
596
|
-
inspection_form_fields: Record<string, any>;
|
|
597
595
|
status: Status;
|
|
598
596
|
organisation_id: string;
|
|
599
|
-
}, {
|
|
600
597
|
inspection_form_name: string;
|
|
598
|
+
inspection_form_fields: Record<string, any>;
|
|
599
|
+
}, {
|
|
601
600
|
status: Status;
|
|
602
601
|
organisation_id: string;
|
|
602
|
+
inspection_form_name: string;
|
|
603
603
|
inspection_form_fields?: Record<string, any> | undefined;
|
|
604
604
|
}>;
|
|
605
605
|
type FleetInspectionFormDTO = z.infer<typeof FleetInspectionFormSchema>;
|
|
@@ -638,6 +638,7 @@ declare const FleetInspectionFormQuerySchema: z.ZodObject<{
|
|
|
638
638
|
inspection_form_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
639
639
|
}, "strip", z.ZodTypeAny, {
|
|
640
640
|
status: Status[];
|
|
641
|
+
time_zone_id: string;
|
|
641
642
|
search: string;
|
|
642
643
|
paging: PAGING;
|
|
643
644
|
page_count: number;
|
|
@@ -657,12 +658,11 @@ declare const FleetInspectionFormQuerySchema: z.ZodObject<{
|
|
|
657
658
|
}[];
|
|
658
659
|
include_master_data: YesNo;
|
|
659
660
|
date_format_id: string;
|
|
660
|
-
time_zone_id: string;
|
|
661
661
|
organisation_ids: string[];
|
|
662
662
|
inspection_form_ids: string[];
|
|
663
663
|
}, {
|
|
664
|
-
date_format_id: string;
|
|
665
664
|
time_zone_id: string;
|
|
665
|
+
date_format_id: string;
|
|
666
666
|
status?: Status[] | undefined;
|
|
667
667
|
search?: string | undefined;
|
|
668
668
|
paging?: PAGING | undefined;
|
|
@@ -2,7 +2,7 @@ import { IssueStatus, Priority, IssueSeverity, IssueSource, Status, FileType, PA
|
|
|
2
2
|
import { BaseCommonFile, BR, AWSPresignedUrl, SBR, FBR } from '../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { FilePresignedUrlDTO } from '../../../zod_utils/zod_base_schema.js';
|
|
5
|
-
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver } from '../../../user_organisation_service-
|
|
5
|
+
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver } from '../../../user_organisation_service-C2mgWnod.js';
|
|
6
6
|
import { FleetIncidentManagement } from '../incident_management/incident_management_service.js';
|
|
7
7
|
import { FleetServiceManagement } from '../service_management/fleet_service_management_service.js';
|
|
8
8
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
@@ -194,15 +194,15 @@ declare const FleetIssueManagementSchema: z.ZodObject<{
|
|
|
194
194
|
file_metadata?: Record<string, any> | undefined;
|
|
195
195
|
}>, "many">>>;
|
|
196
196
|
}, "strip", z.ZodTypeAny, {
|
|
197
|
+
service_management_id: string;
|
|
198
|
+
odometer_reading: number;
|
|
197
199
|
status: Status;
|
|
198
200
|
organisation_id: string;
|
|
199
|
-
time_zone_id: string;
|
|
200
|
-
driver_id: string;
|
|
201
|
-
vehicle_id: string;
|
|
202
201
|
user_id: string;
|
|
203
|
-
|
|
202
|
+
vehicle_id: string;
|
|
203
|
+
driver_id: string;
|
|
204
|
+
time_zone_id: string;
|
|
204
205
|
vehicle_incident_id: string;
|
|
205
|
-
service_management_id: string;
|
|
206
206
|
issue_title: string;
|
|
207
207
|
issue_description: string;
|
|
208
208
|
issue_status: IssueStatus;
|
|
@@ -228,14 +228,14 @@ declare const FleetIssueManagementSchema: z.ZodObject<{
|
|
|
228
228
|
vehicle_issue_id: string;
|
|
229
229
|
}[];
|
|
230
230
|
}, {
|
|
231
|
+
service_management_id: string;
|
|
231
232
|
status: Status;
|
|
232
233
|
organisation_id: string;
|
|
233
|
-
time_zone_id: string;
|
|
234
|
-
driver_id: string;
|
|
235
|
-
vehicle_id: string;
|
|
236
234
|
user_id: string;
|
|
235
|
+
vehicle_id: string;
|
|
236
|
+
driver_id: string;
|
|
237
|
+
time_zone_id: string;
|
|
237
238
|
vehicle_incident_id: string;
|
|
238
|
-
service_management_id: string;
|
|
239
239
|
issue_title: string;
|
|
240
240
|
issue_status: IssueStatus;
|
|
241
241
|
issue_priority: Priority;
|
|
@@ -310,6 +310,7 @@ declare const FleetIssueManagementQuerySchema: z.ZodObject<{
|
|
|
310
310
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
311
311
|
}, "strip", z.ZodTypeAny, {
|
|
312
312
|
status: Status[];
|
|
313
|
+
time_zone_id: string;
|
|
313
314
|
search: string;
|
|
314
315
|
paging: PAGING;
|
|
315
316
|
page_count: number;
|
|
@@ -329,15 +330,14 @@ declare const FleetIssueManagementQuerySchema: z.ZodObject<{
|
|
|
329
330
|
}[];
|
|
330
331
|
include_master_data: YesNo;
|
|
331
332
|
date_format_id: string;
|
|
332
|
-
|
|
333
|
+
service_management_ids: string[];
|
|
333
334
|
organisation_ids: string[];
|
|
335
|
+
user_ids: string[];
|
|
334
336
|
vehicle_ids: string[];
|
|
335
337
|
driver_ids: string[];
|
|
336
|
-
user_ids: string[];
|
|
337
|
-
vehicle_incident_ids: string[];
|
|
338
338
|
from_date: string;
|
|
339
339
|
to_date: string;
|
|
340
|
-
|
|
340
|
+
vehicle_incident_ids: string[];
|
|
341
341
|
issue_status: IssueStatus[];
|
|
342
342
|
issue_priority: Priority[];
|
|
343
343
|
issue_severity: IssueSeverity[];
|
|
@@ -345,8 +345,8 @@ declare const FleetIssueManagementQuerySchema: z.ZodObject<{
|
|
|
345
345
|
vehicle_issue_ids: string[];
|
|
346
346
|
inspection_ids: string[];
|
|
347
347
|
}, {
|
|
348
|
-
date_format_id: string;
|
|
349
348
|
time_zone_id: string;
|
|
349
|
+
date_format_id: string;
|
|
350
350
|
from_date: string;
|
|
351
351
|
to_date: string;
|
|
352
352
|
status?: Status[] | undefined;
|
|
@@ -368,12 +368,12 @@ declare const FleetIssueManagementQuerySchema: z.ZodObject<{
|
|
|
368
368
|
direction: OrderBy;
|
|
369
369
|
}[] | undefined;
|
|
370
370
|
include_master_data?: YesNo | undefined;
|
|
371
|
+
service_management_ids?: string[] | undefined;
|
|
371
372
|
organisation_ids?: string[] | undefined;
|
|
373
|
+
user_ids?: string[] | undefined;
|
|
372
374
|
vehicle_ids?: string[] | undefined;
|
|
373
375
|
driver_ids?: string[] | undefined;
|
|
374
|
-
user_ids?: string[] | undefined;
|
|
375
376
|
vehicle_incident_ids?: string[] | undefined;
|
|
376
|
-
service_management_ids?: string[] | undefined;
|
|
377
377
|
issue_status?: IssueStatus[] | undefined;
|
|
378
378
|
issue_priority?: Priority[] | undefined;
|
|
379
379
|
issue_severity?: IssueSeverity[] | undefined;
|
|
@@ -438,6 +438,7 @@ declare const FleetIssueManagementCommentQuerySchema: z.ZodObject<{
|
|
|
438
438
|
vehicle_issue_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
439
439
|
}, "strip", z.ZodTypeAny, {
|
|
440
440
|
status: Status[];
|
|
441
|
+
time_zone_id: string;
|
|
441
442
|
search: string;
|
|
442
443
|
paging: PAGING;
|
|
443
444
|
page_count: number;
|
|
@@ -457,13 +458,12 @@ declare const FleetIssueManagementCommentQuerySchema: z.ZodObject<{
|
|
|
457
458
|
}[];
|
|
458
459
|
include_master_data: YesNo;
|
|
459
460
|
date_format_id: string;
|
|
460
|
-
time_zone_id: string;
|
|
461
461
|
organisation_ids: string[];
|
|
462
462
|
vehicle_issue_ids: string[];
|
|
463
463
|
vehicle_issue_comment_ids: string[];
|
|
464
464
|
}, {
|
|
465
|
-
date_format_id: string;
|
|
466
465
|
time_zone_id: string;
|
|
466
|
+
date_format_id: string;
|
|
467
467
|
status?: Status[] | undefined;
|
|
468
468
|
search?: string | undefined;
|
|
469
469
|
paging?: PAGING | undefined;
|