vms-nest-prisma-api-document 260.0.0 → 270.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 +38 -38
- package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +48 -48
- 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 -3
- package/dist/services/fleet/inspection_management/fleet_inspection_management_service.d.ts +1 -3
- package/dist/services/fleet/inspection_management/fleet_inspection_schedule_service.d.ts +49 -51
- package/dist/services/fleet/issue_management/issue_management_service.d.ts +18 -20
- package/dist/services/fleet/service_management/fleet_service_management_service.d.ts +5 -660
- package/dist/services/fleet/service_management/fleet_service_schedule_service.d.ts +1 -3
- 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 +17 -26
- package/dist/services/fleet/vendor_management/fleet_vendor_service.d.ts +1 -1
- package/dist/services/fleet/vendor_management/fleet_vendor_service.js +5 -15
- package/dist/services/fleet/vendor_management/fleet_vendor_service_center.d.ts +1 -1
- package/dist/services/fleet/vendor_management/fleet_vendor_service_center.js +14 -6
- 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/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 -127
- 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_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_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 +1 -1
- 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 +5 -5
- 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/{user_organisation_service-C2mgWnod.d.ts → user_organisation_service-DnO03t9F.d.ts} +836 -59
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import { YesNo, IncidentTime, IncidentWeather, IncidentRoadType, IncidentVisibil
|
|
|
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-DnO03t9F.js';
|
|
6
6
|
import { MasterFleetInsuranceClaimStatus } from '../../master/fleet/master_fleet_insurance_claim_status_service.js';
|
|
7
7
|
import { MasterFleetIncidentSeverity } from '../../master/fleet/master_fleet_incident_severity_service.js';
|
|
8
8
|
import { MasterFleetIncidentStatus } from '../../master/fleet/master_fleet_incident_status_service.js';
|
|
@@ -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-DnO03t9F.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';
|
|
@@ -12,5 +12,3 @@ import '../../master/fleet/master_fleet_incident_severity_service.js';
|
|
|
12
12
|
import '../../master/fleet/master_fleet_incident_status_service.js';
|
|
13
13
|
import '../../master/fleet/master_fleet_incident_type_service.js';
|
|
14
14
|
import '../../master/expense/master_expense_name_service.js';
|
|
15
|
-
import '../service_management/fleet_service_management_service.js';
|
|
16
|
-
import '../../master/fleet/master_fleet_service_task_service.js';
|
|
@@ -2,9 +2,8 @@ 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-DnO03t9F.js';
|
|
6
6
|
import '../issue_management/issue_management_service.js';
|
|
7
|
-
import '../service_management/fleet_service_management_service.js';
|
|
8
7
|
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';
|
|
9
8
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
10
9
|
import '../incident_management/incident_management_service.js';
|
|
@@ -13,4 +12,3 @@ import '../../master/fleet/master_fleet_incident_severity_service.js';
|
|
|
13
12
|
import '../../master/fleet/master_fleet_incident_status_service.js';
|
|
14
13
|
import '../../master/fleet/master_fleet_incident_type_service.js';
|
|
15
14
|
import '../../master/expense/master_expense_name_service.js';
|
|
16
|
-
import '../../master/fleet/master_fleet_service_task_service.js';
|
|
@@ -1,10 +1,9 @@
|
|
|
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, F as FleetServiceManagement } from '../../../user_organisation_service-DnO03t9F.js';
|
|
5
5
|
import { FilePresignedUrlDTO } from '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import { FleetIssueManagement } from '../issue_management/issue_management_service.js';
|
|
7
|
-
import { FleetServiceManagement } from '../service_management/fleet_service_management_service.js';
|
|
8
7
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
9
8
|
import '../incident_management/incident_management_service.js';
|
|
10
9
|
import '../../master/fleet/master_fleet_insurance_claim_status_service.js';
|
|
@@ -12,7 +11,6 @@ import '../../master/fleet/master_fleet_incident_severity_service.js';
|
|
|
12
11
|
import '../../master/fleet/master_fleet_incident_status_service.js';
|
|
13
12
|
import '../../master/fleet/master_fleet_incident_type_service.js';
|
|
14
13
|
import '../../master/expense/master_expense_name_service.js';
|
|
15
|
-
import '../../master/fleet/master_fleet_service_task_service.js';
|
|
16
14
|
|
|
17
15
|
interface FleetInspectionSchedule extends Record<string, unknown> {
|
|
18
16
|
inspection_schedule_id: string;
|
|
@@ -61,23 +59,23 @@ declare const FleetInspectionScheduleSchema: z.ZodObject<{
|
|
|
61
59
|
}, "strip", z.ZodTypeAny, {
|
|
62
60
|
status: Status;
|
|
63
61
|
organisation_id: string;
|
|
64
|
-
inspection_schedule_name: string;
|
|
65
|
-
inspection_schedule_start_date: string;
|
|
66
|
-
inspection_schedule_due_date: string;
|
|
67
62
|
time_zone_id: string;
|
|
68
63
|
vehicle_ids: string[];
|
|
69
64
|
user_id: string;
|
|
65
|
+
inspection_schedule_name: string;
|
|
70
66
|
inspection_schedule_description: string;
|
|
67
|
+
inspection_schedule_start_date: string;
|
|
68
|
+
inspection_schedule_due_date: string;
|
|
71
69
|
}, {
|
|
72
70
|
status: Status;
|
|
73
71
|
organisation_id: string;
|
|
74
|
-
inspection_schedule_name: string;
|
|
75
72
|
time_zone_id: string;
|
|
76
73
|
user_id: string;
|
|
77
|
-
|
|
78
|
-
inspection_schedule_due_date?: string | undefined;
|
|
74
|
+
inspection_schedule_name: string;
|
|
79
75
|
vehicle_ids?: string[] | undefined;
|
|
80
76
|
inspection_schedule_description?: string | undefined;
|
|
77
|
+
inspection_schedule_start_date?: string | undefined;
|
|
78
|
+
inspection_schedule_due_date?: string | undefined;
|
|
81
79
|
}>;
|
|
82
80
|
type FleetInspectionScheduleDTO = z.infer<typeof FleetInspectionScheduleSchema>;
|
|
83
81
|
declare const FleetInspectionScheduleQuerySchema: z.ZodObject<{
|
|
@@ -115,7 +113,6 @@ declare const FleetInspectionScheduleQuerySchema: z.ZodObject<{
|
|
|
115
113
|
organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
116
114
|
}, "strip", z.ZodTypeAny, {
|
|
117
115
|
status: Status[];
|
|
118
|
-
time_zone_id: string;
|
|
119
116
|
search: string;
|
|
120
117
|
paging: PAGING;
|
|
121
118
|
page_count: number;
|
|
@@ -135,11 +132,12 @@ declare const FleetInspectionScheduleQuerySchema: z.ZodObject<{
|
|
|
135
132
|
}[];
|
|
136
133
|
include_master_data: YesNo;
|
|
137
134
|
date_format_id: string;
|
|
135
|
+
time_zone_id: string;
|
|
138
136
|
organisation_ids: string[];
|
|
139
137
|
inspection_schedule_ids: string[];
|
|
140
138
|
}, {
|
|
141
|
-
time_zone_id: string;
|
|
142
139
|
date_format_id: string;
|
|
140
|
+
time_zone_id: string;
|
|
143
141
|
status?: Status[] | undefined;
|
|
144
142
|
search?: string | undefined;
|
|
145
143
|
paging?: PAGING | undefined;
|
|
@@ -231,7 +229,6 @@ declare const FleetInspectionFileSchema: z.ZodObject<{
|
|
|
231
229
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
232
230
|
inspection_id: z.ZodEffects<z.ZodString, string, string>;
|
|
233
231
|
}, "strip", z.ZodTypeAny, {
|
|
234
|
-
inspection_id: string;
|
|
235
232
|
status: Status;
|
|
236
233
|
organisation_id: string;
|
|
237
234
|
usage_type: string;
|
|
@@ -242,12 +239,13 @@ declare const FleetInspectionFileSchema: z.ZodObject<{
|
|
|
242
239
|
file_description: string;
|
|
243
240
|
file_size: number;
|
|
244
241
|
file_metadata: Record<string, any>;
|
|
245
|
-
}, {
|
|
246
242
|
inspection_id: string;
|
|
243
|
+
}, {
|
|
247
244
|
status: Status;
|
|
248
245
|
organisation_id: string;
|
|
249
246
|
usage_type: string;
|
|
250
247
|
file_type: FileType;
|
|
248
|
+
inspection_id: string;
|
|
251
249
|
file_url?: string | undefined;
|
|
252
250
|
file_key?: string | undefined;
|
|
253
251
|
file_name?: string | undefined;
|
|
@@ -285,7 +283,6 @@ declare const FleetInspectionSchema: z.ZodObject<{
|
|
|
285
283
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
286
284
|
inspection_id: z.ZodEffects<z.ZodString, string, string>;
|
|
287
285
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
288
|
-
inspection_id: string;
|
|
289
286
|
status: Status;
|
|
290
287
|
organisation_id: string;
|
|
291
288
|
usage_type: string;
|
|
@@ -296,12 +293,13 @@ declare const FleetInspectionSchema: z.ZodObject<{
|
|
|
296
293
|
file_description: string;
|
|
297
294
|
file_size: number;
|
|
298
295
|
file_metadata: Record<string, any>;
|
|
299
|
-
}, {
|
|
300
296
|
inspection_id: string;
|
|
297
|
+
}, {
|
|
301
298
|
status: Status;
|
|
302
299
|
organisation_id: string;
|
|
303
300
|
usage_type: string;
|
|
304
301
|
file_type: FileType;
|
|
302
|
+
inspection_id: string;
|
|
305
303
|
file_url?: string | undefined;
|
|
306
304
|
file_key?: string | undefined;
|
|
307
305
|
file_name?: string | undefined;
|
|
@@ -310,22 +308,21 @@ declare const FleetInspectionSchema: z.ZodObject<{
|
|
|
310
308
|
file_metadata?: Record<string, any> | undefined;
|
|
311
309
|
}>, "many">>>;
|
|
312
310
|
}, "strip", z.ZodTypeAny, {
|
|
311
|
+
inspection_form_id: string;
|
|
312
|
+
status: Status;
|
|
313
|
+
organisation_id: string;
|
|
314
|
+
time_zone_id: string;
|
|
315
|
+
driver_id: string;
|
|
316
|
+
vehicle_id: string;
|
|
317
|
+
service_management_id: string;
|
|
318
|
+
odometer_reading: number;
|
|
313
319
|
inspection_type: InspectionType;
|
|
314
320
|
inspection_date: string;
|
|
315
321
|
inspection_priority: InspectionPriority;
|
|
316
322
|
inspection_status: InspectionStatus;
|
|
317
|
-
odometer_reading: number;
|
|
318
|
-
status: Status;
|
|
319
|
-
organisation_id: string;
|
|
320
|
-
vehicle_id: string;
|
|
321
|
-
driver_id: string;
|
|
322
323
|
inspector_id: string;
|
|
323
|
-
inspection_form_id: string;
|
|
324
324
|
inspection_data: Record<string, any>;
|
|
325
|
-
service_management_id: string;
|
|
326
|
-
time_zone_id: string;
|
|
327
325
|
FleetInspectionFileSchema: {
|
|
328
|
-
inspection_id: string;
|
|
329
326
|
status: Status;
|
|
330
327
|
organisation_id: string;
|
|
331
328
|
usage_type: string;
|
|
@@ -336,28 +333,29 @@ declare const FleetInspectionSchema: z.ZodObject<{
|
|
|
336
333
|
file_description: string;
|
|
337
334
|
file_size: number;
|
|
338
335
|
file_metadata: Record<string, any>;
|
|
336
|
+
inspection_id: string;
|
|
339
337
|
}[];
|
|
340
338
|
}, {
|
|
339
|
+
inspection_form_id: string;
|
|
340
|
+
status: Status;
|
|
341
|
+
organisation_id: string;
|
|
342
|
+
time_zone_id: string;
|
|
343
|
+
driver_id: string;
|
|
344
|
+
vehicle_id: string;
|
|
345
|
+
service_management_id: string;
|
|
341
346
|
inspection_type: InspectionType;
|
|
342
347
|
inspection_date: string;
|
|
343
348
|
inspection_priority: InspectionPriority;
|
|
344
349
|
inspection_status: InspectionStatus;
|
|
345
|
-
status: Status;
|
|
346
|
-
organisation_id: string;
|
|
347
|
-
vehicle_id: string;
|
|
348
|
-
driver_id: string;
|
|
349
350
|
inspector_id: string;
|
|
350
|
-
inspection_form_id: string;
|
|
351
|
-
service_management_id: string;
|
|
352
|
-
time_zone_id: string;
|
|
353
351
|
odometer_reading?: unknown;
|
|
354
352
|
inspection_data?: Record<string, any> | undefined;
|
|
355
353
|
FleetInspectionFileSchema?: {
|
|
356
|
-
inspection_id: string;
|
|
357
354
|
status: Status;
|
|
358
355
|
organisation_id: string;
|
|
359
356
|
usage_type: string;
|
|
360
357
|
file_type: FileType;
|
|
358
|
+
inspection_id: string;
|
|
361
359
|
file_url?: string | undefined;
|
|
362
360
|
file_key?: string | undefined;
|
|
363
361
|
file_name?: string | undefined;
|
|
@@ -410,11 +408,7 @@ declare const FleetInspectionQuerySchema: z.ZodObject<{
|
|
|
410
408
|
inspection_status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof InspectionStatus>, "many">>>;
|
|
411
409
|
inspection_action_status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof InspectionActionStatus>, "many">>>;
|
|
412
410
|
}, "strip", z.ZodTypeAny, {
|
|
413
|
-
inspection_type: InspectionType[];
|
|
414
|
-
inspection_priority: InspectionPriority[];
|
|
415
|
-
inspection_status: InspectionStatus[];
|
|
416
411
|
status: Status[];
|
|
417
|
-
time_zone_id: string;
|
|
418
412
|
search: string;
|
|
419
413
|
paging: PAGING;
|
|
420
414
|
page_count: number;
|
|
@@ -434,20 +428,21 @@ declare const FleetInspectionQuerySchema: z.ZodObject<{
|
|
|
434
428
|
}[];
|
|
435
429
|
include_master_data: YesNo;
|
|
436
430
|
date_format_id: string;
|
|
437
|
-
|
|
431
|
+
time_zone_id: string;
|
|
438
432
|
organisation_ids: string[];
|
|
433
|
+
inspection_form_ids: string[];
|
|
439
434
|
vehicle_ids: string[];
|
|
440
435
|
driver_ids: string[];
|
|
441
|
-
inspection_form_ids: string[];
|
|
442
436
|
service_management_ids: string[];
|
|
437
|
+
inspection_ids: string[];
|
|
443
438
|
inspection_schedule_ids: string[];
|
|
439
|
+
inspection_type: InspectionType[];
|
|
440
|
+
inspection_priority: InspectionPriority[];
|
|
441
|
+
inspection_status: InspectionStatus[];
|
|
444
442
|
inspection_action_status: InspectionActionStatus[];
|
|
445
443
|
}, {
|
|
446
|
-
time_zone_id: string;
|
|
447
444
|
date_format_id: string;
|
|
448
|
-
|
|
449
|
-
inspection_priority?: InspectionPriority[] | undefined;
|
|
450
|
-
inspection_status?: InspectionStatus[] | undefined;
|
|
445
|
+
time_zone_id: string;
|
|
451
446
|
status?: Status[] | undefined;
|
|
452
447
|
search?: string | undefined;
|
|
453
448
|
paging?: PAGING | undefined;
|
|
@@ -467,13 +462,16 @@ declare const FleetInspectionQuerySchema: z.ZodObject<{
|
|
|
467
462
|
direction: OrderBy;
|
|
468
463
|
}[] | undefined;
|
|
469
464
|
include_master_data?: YesNo | undefined;
|
|
470
|
-
inspection_ids?: string[] | undefined;
|
|
471
465
|
organisation_ids?: string[] | undefined;
|
|
466
|
+
inspection_form_ids?: string[] | undefined;
|
|
472
467
|
vehicle_ids?: string[] | undefined;
|
|
473
468
|
driver_ids?: string[] | undefined;
|
|
474
|
-
inspection_form_ids?: string[] | undefined;
|
|
475
469
|
service_management_ids?: string[] | undefined;
|
|
470
|
+
inspection_ids?: string[] | undefined;
|
|
476
471
|
inspection_schedule_ids?: string[] | undefined;
|
|
472
|
+
inspection_type?: InspectionType[] | undefined;
|
|
473
|
+
inspection_priority?: InspectionPriority[] | undefined;
|
|
474
|
+
inspection_status?: InspectionStatus[] | undefined;
|
|
477
475
|
inspection_action_status?: InspectionActionStatus[] | undefined;
|
|
478
476
|
}>;
|
|
479
477
|
type FleetInspectionQueryDTO = z.infer<typeof FleetInspectionQuerySchema>;
|
|
@@ -511,7 +509,6 @@ declare const FleetInspectionCheckPendingQuerySchema: z.ZodObject<{
|
|
|
511
509
|
vehicle_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
512
510
|
}, "strip", z.ZodTypeAny, {
|
|
513
511
|
status: Status[];
|
|
514
|
-
time_zone_id: string;
|
|
515
512
|
search: string;
|
|
516
513
|
paging: PAGING;
|
|
517
514
|
page_count: number;
|
|
@@ -531,10 +528,11 @@ declare const FleetInspectionCheckPendingQuerySchema: z.ZodObject<{
|
|
|
531
528
|
}[];
|
|
532
529
|
include_master_data: YesNo;
|
|
533
530
|
date_format_id: string;
|
|
531
|
+
time_zone_id: string;
|
|
534
532
|
vehicle_ids: string[];
|
|
535
533
|
}, {
|
|
536
|
-
time_zone_id: string;
|
|
537
534
|
date_format_id: string;
|
|
535
|
+
time_zone_id: string;
|
|
538
536
|
status?: Status[] | undefined;
|
|
539
537
|
search?: string | undefined;
|
|
540
538
|
paging?: PAGING | undefined;
|
|
@@ -592,14 +590,14 @@ declare const FleetInspectionFormSchema: z.ZodObject<{
|
|
|
592
590
|
inspection_form_fields: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
593
591
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
594
592
|
}, "strip", z.ZodTypeAny, {
|
|
595
|
-
status: Status;
|
|
596
|
-
organisation_id: string;
|
|
597
593
|
inspection_form_name: string;
|
|
598
594
|
inspection_form_fields: Record<string, any>;
|
|
599
|
-
}, {
|
|
600
595
|
status: Status;
|
|
601
596
|
organisation_id: string;
|
|
597
|
+
}, {
|
|
602
598
|
inspection_form_name: string;
|
|
599
|
+
status: Status;
|
|
600
|
+
organisation_id: string;
|
|
603
601
|
inspection_form_fields?: Record<string, any> | undefined;
|
|
604
602
|
}>;
|
|
605
603
|
type FleetInspectionFormDTO = z.infer<typeof FleetInspectionFormSchema>;
|
|
@@ -638,7 +636,6 @@ declare const FleetInspectionFormQuerySchema: z.ZodObject<{
|
|
|
638
636
|
inspection_form_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
639
637
|
}, "strip", z.ZodTypeAny, {
|
|
640
638
|
status: Status[];
|
|
641
|
-
time_zone_id: string;
|
|
642
639
|
search: string;
|
|
643
640
|
paging: PAGING;
|
|
644
641
|
page_count: number;
|
|
@@ -658,11 +655,12 @@ declare const FleetInspectionFormQuerySchema: z.ZodObject<{
|
|
|
658
655
|
}[];
|
|
659
656
|
include_master_data: YesNo;
|
|
660
657
|
date_format_id: string;
|
|
658
|
+
time_zone_id: string;
|
|
661
659
|
organisation_ids: string[];
|
|
662
660
|
inspection_form_ids: string[];
|
|
663
661
|
}, {
|
|
664
|
-
time_zone_id: string;
|
|
665
662
|
date_format_id: string;
|
|
663
|
+
time_zone_id: string;
|
|
666
664
|
status?: Status[] | undefined;
|
|
667
665
|
search?: string | undefined;
|
|
668
666
|
paging?: PAGING | undefined;
|
|
@@ -2,16 +2,14 @@ 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, F as FleetServiceManagement } from '../../../user_organisation_service-DnO03t9F.js';
|
|
6
6
|
import { FleetIncidentManagement } from '../incident_management/incident_management_service.js';
|
|
7
|
-
import { FleetServiceManagement } from '../service_management/fleet_service_management_service.js';
|
|
8
7
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
9
8
|
import '../../master/fleet/master_fleet_insurance_claim_status_service.js';
|
|
10
9
|
import '../../master/fleet/master_fleet_incident_severity_service.js';
|
|
11
10
|
import '../../master/fleet/master_fleet_incident_status_service.js';
|
|
12
11
|
import '../../master/fleet/master_fleet_incident_type_service.js';
|
|
13
12
|
import '../../master/expense/master_expense_name_service.js';
|
|
14
|
-
import '../../master/fleet/master_fleet_service_task_service.js';
|
|
15
13
|
|
|
16
14
|
interface FleetIssueManagement extends Record<string, unknown> {
|
|
17
15
|
vehicle_issue_id: string;
|
|
@@ -194,14 +192,14 @@ declare const FleetIssueManagementSchema: z.ZodObject<{
|
|
|
194
192
|
file_metadata?: Record<string, any> | undefined;
|
|
195
193
|
}>, "many">>>;
|
|
196
194
|
}, "strip", z.ZodTypeAny, {
|
|
197
|
-
service_management_id: string;
|
|
198
|
-
odometer_reading: number;
|
|
199
195
|
status: Status;
|
|
200
196
|
organisation_id: string;
|
|
201
|
-
user_id: string;
|
|
202
|
-
vehicle_id: string;
|
|
203
|
-
driver_id: string;
|
|
204
197
|
time_zone_id: string;
|
|
198
|
+
driver_id: string;
|
|
199
|
+
vehicle_id: string;
|
|
200
|
+
user_id: string;
|
|
201
|
+
service_management_id: string;
|
|
202
|
+
odometer_reading: number;
|
|
205
203
|
vehicle_incident_id: string;
|
|
206
204
|
issue_title: string;
|
|
207
205
|
issue_description: string;
|
|
@@ -228,13 +226,13 @@ declare const FleetIssueManagementSchema: z.ZodObject<{
|
|
|
228
226
|
vehicle_issue_id: string;
|
|
229
227
|
}[];
|
|
230
228
|
}, {
|
|
231
|
-
service_management_id: string;
|
|
232
229
|
status: Status;
|
|
233
230
|
organisation_id: string;
|
|
234
|
-
user_id: string;
|
|
235
|
-
vehicle_id: string;
|
|
236
|
-
driver_id: string;
|
|
237
231
|
time_zone_id: string;
|
|
232
|
+
driver_id: string;
|
|
233
|
+
vehicle_id: string;
|
|
234
|
+
user_id: string;
|
|
235
|
+
service_management_id: string;
|
|
238
236
|
vehicle_incident_id: string;
|
|
239
237
|
issue_title: string;
|
|
240
238
|
issue_status: IssueStatus;
|
|
@@ -310,7 +308,6 @@ declare const FleetIssueManagementQuerySchema: z.ZodObject<{
|
|
|
310
308
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
311
309
|
}, "strip", z.ZodTypeAny, {
|
|
312
310
|
status: Status[];
|
|
313
|
-
time_zone_id: string;
|
|
314
311
|
search: string;
|
|
315
312
|
paging: PAGING;
|
|
316
313
|
page_count: number;
|
|
@@ -330,11 +327,12 @@ declare const FleetIssueManagementQuerySchema: z.ZodObject<{
|
|
|
330
327
|
}[];
|
|
331
328
|
include_master_data: YesNo;
|
|
332
329
|
date_format_id: string;
|
|
333
|
-
|
|
330
|
+
time_zone_id: string;
|
|
334
331
|
organisation_ids: string[];
|
|
335
|
-
user_ids: string[];
|
|
336
332
|
vehicle_ids: string[];
|
|
337
333
|
driver_ids: string[];
|
|
334
|
+
user_ids: string[];
|
|
335
|
+
service_management_ids: string[];
|
|
338
336
|
from_date: string;
|
|
339
337
|
to_date: string;
|
|
340
338
|
vehicle_incident_ids: string[];
|
|
@@ -345,8 +343,8 @@ declare const FleetIssueManagementQuerySchema: z.ZodObject<{
|
|
|
345
343
|
vehicle_issue_ids: string[];
|
|
346
344
|
inspection_ids: string[];
|
|
347
345
|
}, {
|
|
348
|
-
time_zone_id: string;
|
|
349
346
|
date_format_id: string;
|
|
347
|
+
time_zone_id: string;
|
|
350
348
|
from_date: string;
|
|
351
349
|
to_date: string;
|
|
352
350
|
status?: Status[] | undefined;
|
|
@@ -368,11 +366,11 @@ declare const FleetIssueManagementQuerySchema: z.ZodObject<{
|
|
|
368
366
|
direction: OrderBy;
|
|
369
367
|
}[] | undefined;
|
|
370
368
|
include_master_data?: YesNo | undefined;
|
|
371
|
-
service_management_ids?: string[] | undefined;
|
|
372
369
|
organisation_ids?: string[] | undefined;
|
|
373
|
-
user_ids?: string[] | undefined;
|
|
374
370
|
vehicle_ids?: string[] | undefined;
|
|
375
371
|
driver_ids?: string[] | undefined;
|
|
372
|
+
user_ids?: string[] | undefined;
|
|
373
|
+
service_management_ids?: string[] | undefined;
|
|
376
374
|
vehicle_incident_ids?: string[] | undefined;
|
|
377
375
|
issue_status?: IssueStatus[] | undefined;
|
|
378
376
|
issue_priority?: Priority[] | undefined;
|
|
@@ -438,7 +436,6 @@ declare const FleetIssueManagementCommentQuerySchema: z.ZodObject<{
|
|
|
438
436
|
vehicle_issue_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
439
437
|
}, "strip", z.ZodTypeAny, {
|
|
440
438
|
status: Status[];
|
|
441
|
-
time_zone_id: string;
|
|
442
439
|
search: string;
|
|
443
440
|
paging: PAGING;
|
|
444
441
|
page_count: number;
|
|
@@ -458,12 +455,13 @@ declare const FleetIssueManagementCommentQuerySchema: z.ZodObject<{
|
|
|
458
455
|
}[];
|
|
459
456
|
include_master_data: YesNo;
|
|
460
457
|
date_format_id: string;
|
|
458
|
+
time_zone_id: string;
|
|
461
459
|
organisation_ids: string[];
|
|
462
460
|
vehicle_issue_ids: string[];
|
|
463
461
|
vehicle_issue_comment_ids: string[];
|
|
464
462
|
}, {
|
|
465
|
-
time_zone_id: string;
|
|
466
463
|
date_format_id: string;
|
|
464
|
+
time_zone_id: string;
|
|
467
465
|
status?: Status[] | undefined;
|
|
468
466
|
search?: string | undefined;
|
|
469
467
|
paging?: PAGING | undefined;
|