vms-nest-prisma-api-document 230.0.0 → 250.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/core/Enums.d.ts +7 -1
- package/dist/core/Enums.js +8 -0
- 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 +11 -11
- package/dist/services/account/notification_preferences.service.d.ts +18 -18
- package/dist/services/account/report_preferences.service.d.ts +7 -7
- package/dist/services/account/ticket_service.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/bus_stop.d.ts +13 -248
- package/dist/services/fleet/bus_mangement/bus_stop.js +9 -7
- package/dist/services/fleet/bus_mangement/calender.d.ts +6 -2
- package/dist/services/fleet/bus_mangement/calender.js +18 -12
- package/dist/services/fleet/bus_mangement/master_route.d.ts +251 -4
- package/dist/services/fleet/bus_mangement/master_route.js +58 -52
- package/dist/services/fleet/bus_mangement/notice_board.d.ts +6 -2
- package/dist/services/fleet/bus_mangement/notice_board.js +17 -11
- package/dist/services/fleet/bus_mangement/student.d.ts +40 -27
- package/dist/services/fleet/bus_mangement/student.js +130 -105
- 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 +34 -34
- 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 +19 -19
- 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 +47 -47
- package/dist/services/fleet/service_management/fleet_service_management_service.d.ts +7 -20
- 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 +3 -3
- package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +6 -6
- package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +7 -7
- package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +2 -2
- package/dist/services/gps/features/gps_live_track_share_link_service.d.ts +5 -5
- package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +8 -8
- 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 +3 -3
- 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/main/vehicle/master_vehicle_service.js +13 -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 +1 -1
- 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/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-KwfWBPXf.d.ts → user_organisation_service-CqR_hga1.d.ts} +58 -177
- 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-CqR_hga1.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';
|
|
@@ -117,7 +117,6 @@ declare const FleetIncidentManagementFileSchema: z.ZodObject<{
|
|
|
117
117
|
}, "strip", z.ZodTypeAny, {
|
|
118
118
|
status: Status;
|
|
119
119
|
organisation_id: string;
|
|
120
|
-
vehicle_incident_id: string;
|
|
121
120
|
usage_type: string;
|
|
122
121
|
file_type: FileType;
|
|
123
122
|
file_url: string;
|
|
@@ -126,12 +125,13 @@ declare const FleetIncidentManagementFileSchema: z.ZodObject<{
|
|
|
126
125
|
file_description: string;
|
|
127
126
|
file_size: number;
|
|
128
127
|
file_metadata: Record<string, any>;
|
|
128
|
+
vehicle_incident_id: string;
|
|
129
129
|
}, {
|
|
130
130
|
status: Status;
|
|
131
131
|
organisation_id: string;
|
|
132
|
-
vehicle_incident_id: string;
|
|
133
132
|
usage_type: string;
|
|
134
133
|
file_type: FileType;
|
|
134
|
+
vehicle_incident_id: string;
|
|
135
135
|
file_url?: string | undefined;
|
|
136
136
|
file_key?: string | undefined;
|
|
137
137
|
file_name?: string | undefined;
|
|
@@ -196,7 +196,6 @@ declare const FleetIncidentManagementSchema: z.ZodObject<{
|
|
|
196
196
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
197
197
|
status: Status;
|
|
198
198
|
organisation_id: string;
|
|
199
|
-
vehicle_incident_id: string;
|
|
200
199
|
usage_type: string;
|
|
201
200
|
file_type: FileType;
|
|
202
201
|
file_url: string;
|
|
@@ -205,12 +204,13 @@ declare const FleetIncidentManagementSchema: z.ZodObject<{
|
|
|
205
204
|
file_description: string;
|
|
206
205
|
file_size: number;
|
|
207
206
|
file_metadata: Record<string, any>;
|
|
207
|
+
vehicle_incident_id: string;
|
|
208
208
|
}, {
|
|
209
209
|
status: Status;
|
|
210
210
|
organisation_id: string;
|
|
211
|
-
vehicle_incident_id: string;
|
|
212
211
|
usage_type: string;
|
|
213
212
|
file_type: FileType;
|
|
213
|
+
vehicle_incident_id: string;
|
|
214
214
|
file_url?: string | undefined;
|
|
215
215
|
file_key?: string | undefined;
|
|
216
216
|
file_name?: string | undefined;
|
|
@@ -222,11 +222,11 @@ declare const FleetIncidentManagementSchema: z.ZodObject<{
|
|
|
222
222
|
odometer_reading: number;
|
|
223
223
|
status: Status;
|
|
224
224
|
organisation_id: string;
|
|
225
|
-
user_id: string;
|
|
226
225
|
vehicle_id: string;
|
|
227
226
|
driver_id: string;
|
|
228
227
|
time_zone_id: string;
|
|
229
228
|
google_location: string;
|
|
229
|
+
user_id: string;
|
|
230
230
|
fleet_insurance_claim_status_id: string;
|
|
231
231
|
fleet_incident_severity_id: string;
|
|
232
232
|
fleet_incident_status_id: string;
|
|
@@ -256,7 +256,6 @@ declare const FleetIncidentManagementSchema: z.ZodObject<{
|
|
|
256
256
|
FleetIncidentManagementFileSchema: {
|
|
257
257
|
status: Status;
|
|
258
258
|
organisation_id: string;
|
|
259
|
-
vehicle_incident_id: string;
|
|
260
259
|
usage_type: string;
|
|
261
260
|
file_type: FileType;
|
|
262
261
|
file_url: string;
|
|
@@ -265,6 +264,7 @@ declare const FleetIncidentManagementSchema: z.ZodObject<{
|
|
|
265
264
|
file_description: string;
|
|
266
265
|
file_size: number;
|
|
267
266
|
file_metadata: Record<string, any>;
|
|
267
|
+
vehicle_incident_id: string;
|
|
268
268
|
}[];
|
|
269
269
|
latitude?: number | undefined;
|
|
270
270
|
longitude?: number | undefined;
|
|
@@ -274,10 +274,10 @@ declare const FleetIncidentManagementSchema: z.ZodObject<{
|
|
|
274
274
|
}, {
|
|
275
275
|
status: Status;
|
|
276
276
|
organisation_id: string;
|
|
277
|
-
user_id: string;
|
|
278
277
|
vehicle_id: string;
|
|
279
278
|
driver_id: string;
|
|
280
279
|
time_zone_id: string;
|
|
280
|
+
user_id: string;
|
|
281
281
|
fleet_insurance_claim_status_id: string;
|
|
282
282
|
fleet_incident_severity_id: string;
|
|
283
283
|
fleet_incident_status_id: string;
|
|
@@ -314,9 +314,9 @@ declare const FleetIncidentManagementSchema: z.ZodObject<{
|
|
|
314
314
|
FleetIncidentManagementFileSchema?: {
|
|
315
315
|
status: Status;
|
|
316
316
|
organisation_id: string;
|
|
317
|
-
vehicle_incident_id: string;
|
|
318
317
|
usage_type: string;
|
|
319
318
|
file_type: FileType;
|
|
319
|
+
vehicle_incident_id: string;
|
|
320
320
|
file_url?: string | undefined;
|
|
321
321
|
file_key?: string | undefined;
|
|
322
322
|
file_name?: string | undefined;
|
|
@@ -401,12 +401,9 @@ declare const FleetIncidentManagementQuerySchema: z.ZodObject<{
|
|
|
401
401
|
include_master_data: YesNo;
|
|
402
402
|
date_format_id: string;
|
|
403
403
|
organisation_ids: string[];
|
|
404
|
-
user_ids: string[];
|
|
405
404
|
vehicle_ids: string[];
|
|
406
405
|
driver_ids: string[];
|
|
407
|
-
|
|
408
|
-
from_date: string;
|
|
409
|
-
to_date: string;
|
|
406
|
+
user_ids: string[];
|
|
410
407
|
fleet_insurance_claim_status_ids: string[];
|
|
411
408
|
fleet_incident_severity_ids: string[];
|
|
412
409
|
fleet_incident_status_ids: string[];
|
|
@@ -421,6 +418,9 @@ declare const FleetIncidentManagementQuerySchema: z.ZodObject<{
|
|
|
421
418
|
insurance_claimed: YesNo[];
|
|
422
419
|
police_report_filed: YesNo[];
|
|
423
420
|
any_injuries: YesNo[];
|
|
421
|
+
vehicle_incident_ids: string[];
|
|
422
|
+
from_date: string;
|
|
423
|
+
to_date: string;
|
|
424
424
|
}, {
|
|
425
425
|
time_zone_id: string;
|
|
426
426
|
date_format_id: string;
|
|
@@ -446,10 +446,9 @@ declare const FleetIncidentManagementQuerySchema: z.ZodObject<{
|
|
|
446
446
|
}[] | undefined;
|
|
447
447
|
include_master_data?: YesNo | undefined;
|
|
448
448
|
organisation_ids?: string[] | undefined;
|
|
449
|
-
user_ids?: string[] | undefined;
|
|
450
449
|
vehicle_ids?: string[] | undefined;
|
|
451
450
|
driver_ids?: string[] | undefined;
|
|
452
|
-
|
|
451
|
+
user_ids?: string[] | undefined;
|
|
453
452
|
fleet_insurance_claim_status_ids?: string[] | undefined;
|
|
454
453
|
fleet_incident_severity_ids?: string[] | undefined;
|
|
455
454
|
fleet_incident_status_ids?: string[] | undefined;
|
|
@@ -464,6 +463,7 @@ declare const FleetIncidentManagementQuerySchema: z.ZodObject<{
|
|
|
464
463
|
insurance_claimed?: YesNo[] | undefined;
|
|
465
464
|
police_report_filed?: YesNo[] | undefined;
|
|
466
465
|
any_injuries?: YesNo[] | undefined;
|
|
466
|
+
vehicle_incident_ids?: string[] | undefined;
|
|
467
467
|
}>;
|
|
468
468
|
type FleetIncidentManagementQueryDTO = z.infer<typeof FleetIncidentManagementQuerySchema>;
|
|
469
469
|
declare const FleetIncidentManagementCostSchema: z.ZodObject<{
|
|
@@ -478,18 +478,18 @@ declare const FleetIncidentManagementCostSchema: z.ZodObject<{
|
|
|
478
478
|
}, "strip", z.ZodTypeAny, {
|
|
479
479
|
status: Status;
|
|
480
480
|
organisation_id: string;
|
|
481
|
-
vehicle_incident_id: string;
|
|
482
481
|
time_zone_id: string;
|
|
483
482
|
expense_name_id: string;
|
|
483
|
+
vehicle_incident_id: string;
|
|
484
484
|
incident_cost_description: string;
|
|
485
485
|
incident_cost_date: string;
|
|
486
486
|
incident_cost_amount?: number | undefined;
|
|
487
487
|
}, {
|
|
488
488
|
status: Status;
|
|
489
489
|
organisation_id: string;
|
|
490
|
-
vehicle_incident_id: string;
|
|
491
490
|
time_zone_id: string;
|
|
492
491
|
expense_name_id: string;
|
|
492
|
+
vehicle_incident_id: string;
|
|
493
493
|
incident_cost_date: string;
|
|
494
494
|
incident_cost_description?: string | undefined;
|
|
495
495
|
incident_cost_amount?: unknown;
|
|
@@ -553,8 +553,8 @@ declare const FleetIncidentManagementCostQuerySchema: z.ZodObject<{
|
|
|
553
553
|
include_master_data: YesNo;
|
|
554
554
|
date_format_id: string;
|
|
555
555
|
organisation_ids: string[];
|
|
556
|
-
vehicle_incident_ids: string[];
|
|
557
556
|
expense_name_ids: string[];
|
|
557
|
+
vehicle_incident_ids: string[];
|
|
558
558
|
incident_cost_ids: string[];
|
|
559
559
|
}, {
|
|
560
560
|
time_zone_id: string;
|
|
@@ -579,8 +579,8 @@ declare const FleetIncidentManagementCostQuerySchema: z.ZodObject<{
|
|
|
579
579
|
}[] | undefined;
|
|
580
580
|
include_master_data?: YesNo | undefined;
|
|
581
581
|
organisation_ids?: string[] | undefined;
|
|
582
|
-
vehicle_incident_ids?: string[] | undefined;
|
|
583
582
|
expense_name_ids?: string[] | undefined;
|
|
583
|
+
vehicle_incident_ids?: string[] | undefined;
|
|
584
584
|
incident_cost_ids?: string[] | undefined;
|
|
585
585
|
}>;
|
|
586
586
|
type FleetIncidentManagementCostQueryDTO = z.infer<typeof FleetIncidentManagementCostQuerySchema>;
|
|
@@ -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-CqR_hga1.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-CqR_hga1.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-CqR_hga1.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;
|