vms-nest-prisma-api-document 230.0.0 → 240.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/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 +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 +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 +71 -71
- 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 +1 -1
- package/dist/services/fleet/issue_management/issue_management_service.d.ts +48 -48
- package/dist/services/fleet/service_management/fleet_service_management_service.d.ts +33 -33
- 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_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 +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 +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/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 +3 -3
- 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 +2 -2
- package/dist/services/master/fleet/master_fleet_incident_status_service.d.ts +2 -2
- package/dist/services/master/fleet/master_fleet_incident_type_service.d.ts +2 -2
- package/dist/services/master/fleet/master_fleet_insurance_claim_status_service.d.ts +2 -2
- package/dist/services/master/fleet/master_fleet_service_task_service.d.ts +3 -3
- 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 +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-KwfWBPXf.d.ts → user_organisation_service-BZaeiu6L.d.ts} +4 -1
- 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-BZaeiu6L.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';
|
|
@@ -115,9 +115,9 @@ declare const FleetIncidentManagementFileSchema: z.ZodObject<{
|
|
|
115
115
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
116
116
|
vehicle_incident_id: z.ZodEffects<z.ZodString, string, string>;
|
|
117
117
|
}, "strip", z.ZodTypeAny, {
|
|
118
|
+
vehicle_incident_id: string;
|
|
118
119
|
status: Status;
|
|
119
120
|
organisation_id: string;
|
|
120
|
-
vehicle_incident_id: string;
|
|
121
121
|
usage_type: string;
|
|
122
122
|
file_type: FileType;
|
|
123
123
|
file_url: string;
|
|
@@ -127,9 +127,9 @@ declare const FleetIncidentManagementFileSchema: z.ZodObject<{
|
|
|
127
127
|
file_size: number;
|
|
128
128
|
file_metadata: Record<string, any>;
|
|
129
129
|
}, {
|
|
130
|
+
vehicle_incident_id: string;
|
|
130
131
|
status: Status;
|
|
131
132
|
organisation_id: string;
|
|
132
|
-
vehicle_incident_id: string;
|
|
133
133
|
usage_type: string;
|
|
134
134
|
file_type: FileType;
|
|
135
135
|
file_url?: string | undefined;
|
|
@@ -194,9 +194,9 @@ declare const FleetIncidentManagementSchema: z.ZodObject<{
|
|
|
194
194
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
195
195
|
vehicle_incident_id: z.ZodEffects<z.ZodString, string, string>;
|
|
196
196
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
197
|
+
vehicle_incident_id: string;
|
|
197
198
|
status: Status;
|
|
198
199
|
organisation_id: string;
|
|
199
|
-
vehicle_incident_id: string;
|
|
200
200
|
usage_type: string;
|
|
201
201
|
file_type: FileType;
|
|
202
202
|
file_url: string;
|
|
@@ -206,9 +206,9 @@ declare const FleetIncidentManagementSchema: z.ZodObject<{
|
|
|
206
206
|
file_size: number;
|
|
207
207
|
file_metadata: Record<string, any>;
|
|
208
208
|
}, {
|
|
209
|
+
vehicle_incident_id: string;
|
|
209
210
|
status: Status;
|
|
210
211
|
organisation_id: string;
|
|
211
|
-
vehicle_incident_id: string;
|
|
212
212
|
usage_type: string;
|
|
213
213
|
file_type: FileType;
|
|
214
214
|
file_url?: string | undefined;
|
|
@@ -219,18 +219,6 @@ declare const FleetIncidentManagementSchema: z.ZodObject<{
|
|
|
219
219
|
file_metadata?: Record<string, any> | undefined;
|
|
220
220
|
}>, "many">>>;
|
|
221
221
|
}, "strip", z.ZodTypeAny, {
|
|
222
|
-
odometer_reading: number;
|
|
223
|
-
status: Status;
|
|
224
|
-
organisation_id: string;
|
|
225
|
-
user_id: string;
|
|
226
|
-
vehicle_id: string;
|
|
227
|
-
driver_id: string;
|
|
228
|
-
time_zone_id: string;
|
|
229
|
-
google_location: string;
|
|
230
|
-
fleet_insurance_claim_status_id: string;
|
|
231
|
-
fleet_incident_severity_id: string;
|
|
232
|
-
fleet_incident_status_id: string;
|
|
233
|
-
fleet_incident_type_id: string;
|
|
234
222
|
incident_date: string;
|
|
235
223
|
was_towed: YesNo;
|
|
236
224
|
is_vehicle_operational: YesNo;
|
|
@@ -238,7 +226,9 @@ declare const FleetIncidentManagementSchema: z.ZodObject<{
|
|
|
238
226
|
incident_weather: IncidentWeather;
|
|
239
227
|
incident_road_type: IncidentRoadType;
|
|
240
228
|
incident_visibility: IncidentVisibility;
|
|
229
|
+
odometer_reading: number;
|
|
241
230
|
incident_description: string;
|
|
231
|
+
google_location: string;
|
|
242
232
|
insurance_cover: YesNo;
|
|
243
233
|
insurance_claimed: YesNo;
|
|
244
234
|
insurance_policy_number: string;
|
|
@@ -253,10 +243,20 @@ declare const FleetIncidentManagementSchema: z.ZodObject<{
|
|
|
253
243
|
injured_persons_count: number;
|
|
254
244
|
legal_description: string;
|
|
255
245
|
involved_parties_description: string;
|
|
246
|
+
status: Status;
|
|
247
|
+
organisation_id: string;
|
|
248
|
+
user_id: string;
|
|
249
|
+
vehicle_id: string;
|
|
250
|
+
driver_id: string;
|
|
251
|
+
fleet_incident_type_id: string;
|
|
252
|
+
fleet_incident_status_id: string;
|
|
253
|
+
fleet_incident_severity_id: string;
|
|
254
|
+
fleet_insurance_claim_status_id: string;
|
|
255
|
+
time_zone_id: string;
|
|
256
256
|
FleetIncidentManagementFileSchema: {
|
|
257
|
+
vehicle_incident_id: string;
|
|
257
258
|
status: Status;
|
|
258
259
|
organisation_id: string;
|
|
259
|
-
vehicle_incident_id: string;
|
|
260
260
|
usage_type: string;
|
|
261
261
|
file_type: FileType;
|
|
262
262
|
file_url: string;
|
|
@@ -266,22 +266,12 @@ declare const FleetIncidentManagementSchema: z.ZodObject<{
|
|
|
266
266
|
file_size: number;
|
|
267
267
|
file_metadata: Record<string, any>;
|
|
268
268
|
}[];
|
|
269
|
+
incident_cost?: number | undefined;
|
|
269
270
|
latitude?: number | undefined;
|
|
270
271
|
longitude?: number | undefined;
|
|
271
|
-
incident_cost?: number | undefined;
|
|
272
272
|
insurance_claimed_amount?: number | undefined;
|
|
273
273
|
insurance_settled_amount?: number | undefined;
|
|
274
274
|
}, {
|
|
275
|
-
status: Status;
|
|
276
|
-
organisation_id: string;
|
|
277
|
-
user_id: string;
|
|
278
|
-
vehicle_id: string;
|
|
279
|
-
driver_id: string;
|
|
280
|
-
time_zone_id: string;
|
|
281
|
-
fleet_insurance_claim_status_id: string;
|
|
282
|
-
fleet_incident_severity_id: string;
|
|
283
|
-
fleet_incident_status_id: string;
|
|
284
|
-
fleet_incident_type_id: string;
|
|
285
275
|
incident_date: string;
|
|
286
276
|
was_towed: YesNo;
|
|
287
277
|
is_vehicle_operational: YesNo;
|
|
@@ -293,12 +283,22 @@ declare const FleetIncidentManagementSchema: z.ZodObject<{
|
|
|
293
283
|
insurance_claimed: YesNo;
|
|
294
284
|
police_report_filed: YesNo;
|
|
295
285
|
any_injuries: YesNo;
|
|
286
|
+
status: Status;
|
|
287
|
+
organisation_id: string;
|
|
288
|
+
user_id: string;
|
|
289
|
+
vehicle_id: string;
|
|
290
|
+
driver_id: string;
|
|
291
|
+
fleet_incident_type_id: string;
|
|
292
|
+
fleet_incident_status_id: string;
|
|
293
|
+
fleet_incident_severity_id: string;
|
|
294
|
+
fleet_insurance_claim_status_id: string;
|
|
295
|
+
time_zone_id: string;
|
|
296
296
|
odometer_reading?: unknown;
|
|
297
|
+
incident_cost?: unknown;
|
|
298
|
+
incident_description?: string | undefined;
|
|
297
299
|
latitude?: unknown;
|
|
298
300
|
longitude?: unknown;
|
|
299
301
|
google_location?: string | undefined;
|
|
300
|
-
incident_cost?: unknown;
|
|
301
|
-
incident_description?: string | undefined;
|
|
302
302
|
insurance_claimed_amount?: unknown;
|
|
303
303
|
insurance_settled_amount?: unknown;
|
|
304
304
|
insurance_policy_number?: string | undefined;
|
|
@@ -312,9 +312,9 @@ declare const FleetIncidentManagementSchema: z.ZodObject<{
|
|
|
312
312
|
legal_description?: string | undefined;
|
|
313
313
|
involved_parties_description?: string | undefined;
|
|
314
314
|
FleetIncidentManagementFileSchema?: {
|
|
315
|
+
vehicle_incident_id: string;
|
|
315
316
|
status: Status;
|
|
316
317
|
organisation_id: string;
|
|
317
|
-
vehicle_incident_id: string;
|
|
318
318
|
usage_type: string;
|
|
319
319
|
file_type: FileType;
|
|
320
320
|
file_url?: string | undefined;
|
|
@@ -379,6 +379,16 @@ declare const FleetIncidentManagementQuerySchema: z.ZodObject<{
|
|
|
379
379
|
from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
380
380
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
381
381
|
}, "strip", z.ZodTypeAny, {
|
|
382
|
+
was_towed: YesNo[];
|
|
383
|
+
is_vehicle_operational: YesNo[];
|
|
384
|
+
incident_time: IncidentTime[];
|
|
385
|
+
incident_weather: IncidentWeather[];
|
|
386
|
+
incident_road_type: IncidentRoadType[];
|
|
387
|
+
incident_visibility: IncidentVisibility[];
|
|
388
|
+
insurance_cover: YesNo[];
|
|
389
|
+
insurance_claimed: YesNo[];
|
|
390
|
+
police_report_filed: YesNo[];
|
|
391
|
+
any_injuries: YesNo[];
|
|
382
392
|
status: Status[];
|
|
383
393
|
time_zone_id: string;
|
|
384
394
|
search: string;
|
|
@@ -400,32 +410,32 @@ declare const FleetIncidentManagementQuerySchema: z.ZodObject<{
|
|
|
400
410
|
}[];
|
|
401
411
|
include_master_data: YesNo;
|
|
402
412
|
date_format_id: string;
|
|
413
|
+
vehicle_incident_ids: string[];
|
|
403
414
|
organisation_ids: string[];
|
|
404
415
|
user_ids: string[];
|
|
405
416
|
vehicle_ids: string[];
|
|
406
417
|
driver_ids: string[];
|
|
407
|
-
|
|
418
|
+
fleet_incident_type_ids: string[];
|
|
419
|
+
fleet_incident_status_ids: string[];
|
|
420
|
+
fleet_incident_severity_ids: string[];
|
|
421
|
+
fleet_insurance_claim_status_ids: string[];
|
|
408
422
|
from_date: string;
|
|
409
423
|
to_date: string;
|
|
410
|
-
fleet_insurance_claim_status_ids: string[];
|
|
411
|
-
fleet_incident_severity_ids: string[];
|
|
412
|
-
fleet_incident_status_ids: string[];
|
|
413
|
-
fleet_incident_type_ids: string[];
|
|
414
|
-
was_towed: YesNo[];
|
|
415
|
-
is_vehicle_operational: YesNo[];
|
|
416
|
-
incident_time: IncidentTime[];
|
|
417
|
-
incident_weather: IncidentWeather[];
|
|
418
|
-
incident_road_type: IncidentRoadType[];
|
|
419
|
-
incident_visibility: IncidentVisibility[];
|
|
420
|
-
insurance_cover: YesNo[];
|
|
421
|
-
insurance_claimed: YesNo[];
|
|
422
|
-
police_report_filed: YesNo[];
|
|
423
|
-
any_injuries: YesNo[];
|
|
424
424
|
}, {
|
|
425
425
|
time_zone_id: string;
|
|
426
426
|
date_format_id: string;
|
|
427
427
|
from_date: string;
|
|
428
428
|
to_date: string;
|
|
429
|
+
was_towed?: YesNo[] | undefined;
|
|
430
|
+
is_vehicle_operational?: YesNo[] | undefined;
|
|
431
|
+
incident_time?: IncidentTime[] | undefined;
|
|
432
|
+
incident_weather?: IncidentWeather[] | undefined;
|
|
433
|
+
incident_road_type?: IncidentRoadType[] | undefined;
|
|
434
|
+
incident_visibility?: IncidentVisibility[] | undefined;
|
|
435
|
+
insurance_cover?: YesNo[] | undefined;
|
|
436
|
+
insurance_claimed?: YesNo[] | undefined;
|
|
437
|
+
police_report_filed?: YesNo[] | undefined;
|
|
438
|
+
any_injuries?: YesNo[] | undefined;
|
|
429
439
|
status?: Status[] | undefined;
|
|
430
440
|
search?: string | undefined;
|
|
431
441
|
paging?: PAGING | undefined;
|
|
@@ -445,25 +455,15 @@ declare const FleetIncidentManagementQuerySchema: z.ZodObject<{
|
|
|
445
455
|
direction: OrderBy;
|
|
446
456
|
}[] | undefined;
|
|
447
457
|
include_master_data?: YesNo | undefined;
|
|
458
|
+
vehicle_incident_ids?: string[] | undefined;
|
|
448
459
|
organisation_ids?: string[] | undefined;
|
|
449
460
|
user_ids?: string[] | undefined;
|
|
450
461
|
vehicle_ids?: string[] | undefined;
|
|
451
462
|
driver_ids?: string[] | undefined;
|
|
452
|
-
vehicle_incident_ids?: string[] | undefined;
|
|
453
|
-
fleet_insurance_claim_status_ids?: string[] | undefined;
|
|
454
|
-
fleet_incident_severity_ids?: string[] | undefined;
|
|
455
|
-
fleet_incident_status_ids?: string[] | undefined;
|
|
456
463
|
fleet_incident_type_ids?: string[] | undefined;
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
incident_weather?: IncidentWeather[] | undefined;
|
|
461
|
-
incident_road_type?: IncidentRoadType[] | undefined;
|
|
462
|
-
incident_visibility?: IncidentVisibility[] | undefined;
|
|
463
|
-
insurance_cover?: YesNo[] | undefined;
|
|
464
|
-
insurance_claimed?: YesNo[] | undefined;
|
|
465
|
-
police_report_filed?: YesNo[] | undefined;
|
|
466
|
-
any_injuries?: YesNo[] | undefined;
|
|
464
|
+
fleet_incident_status_ids?: string[] | undefined;
|
|
465
|
+
fleet_incident_severity_ids?: string[] | undefined;
|
|
466
|
+
fleet_insurance_claim_status_ids?: string[] | undefined;
|
|
467
467
|
}>;
|
|
468
468
|
type FleetIncidentManagementQueryDTO = z.infer<typeof FleetIncidentManagementQuerySchema>;
|
|
469
469
|
declare const FleetIncidentManagementCostSchema: z.ZodObject<{
|
|
@@ -476,21 +476,21 @@ declare const FleetIncidentManagementCostSchema: z.ZodObject<{
|
|
|
476
476
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
477
477
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
478
478
|
}, "strip", z.ZodTypeAny, {
|
|
479
|
+
vehicle_incident_id: string;
|
|
479
480
|
status: Status;
|
|
480
481
|
organisation_id: string;
|
|
481
|
-
vehicle_incident_id: string;
|
|
482
|
-
time_zone_id: string;
|
|
483
|
-
expense_name_id: string;
|
|
484
482
|
incident_cost_description: string;
|
|
485
483
|
incident_cost_date: string;
|
|
484
|
+
expense_name_id: string;
|
|
485
|
+
time_zone_id: string;
|
|
486
486
|
incident_cost_amount?: number | undefined;
|
|
487
487
|
}, {
|
|
488
|
+
vehicle_incident_id: string;
|
|
488
489
|
status: Status;
|
|
489
490
|
organisation_id: string;
|
|
490
|
-
vehicle_incident_id: string;
|
|
491
|
-
time_zone_id: string;
|
|
492
|
-
expense_name_id: string;
|
|
493
491
|
incident_cost_date: string;
|
|
492
|
+
expense_name_id: string;
|
|
493
|
+
time_zone_id: string;
|
|
494
494
|
incident_cost_description?: string | undefined;
|
|
495
495
|
incident_cost_amount?: unknown;
|
|
496
496
|
}>;
|
|
@@ -552,10 +552,10 @@ declare const FleetIncidentManagementCostQuerySchema: z.ZodObject<{
|
|
|
552
552
|
}[];
|
|
553
553
|
include_master_data: YesNo;
|
|
554
554
|
date_format_id: string;
|
|
555
|
-
organisation_ids: string[];
|
|
556
555
|
vehicle_incident_ids: string[];
|
|
557
|
-
|
|
556
|
+
organisation_ids: string[];
|
|
558
557
|
incident_cost_ids: string[];
|
|
558
|
+
expense_name_ids: string[];
|
|
559
559
|
}, {
|
|
560
560
|
time_zone_id: string;
|
|
561
561
|
date_format_id: string;
|
|
@@ -578,10 +578,10 @@ declare const FleetIncidentManagementCostQuerySchema: z.ZodObject<{
|
|
|
578
578
|
direction: OrderBy;
|
|
579
579
|
}[] | undefined;
|
|
580
580
|
include_master_data?: YesNo | undefined;
|
|
581
|
-
organisation_ids?: string[] | undefined;
|
|
582
581
|
vehicle_incident_ids?: string[] | undefined;
|
|
583
|
-
|
|
582
|
+
organisation_ids?: string[] | undefined;
|
|
584
583
|
incident_cost_ids?: string[] | undefined;
|
|
584
|
+
expense_name_ids?: string[] | undefined;
|
|
585
585
|
}>;
|
|
586
586
|
type FleetIncidentManagementCostQueryDTO = z.infer<typeof FleetIncidentManagementCostQuerySchema>;
|
|
587
587
|
declare const toFleetIncidentManagementPayload: (row: FleetIncidentManagement) => FleetIncidentManagementDTO;
|
|
@@ -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-BZaeiu6L.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-BZaeiu6L.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-BZaeiu6L.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';
|
|
@@ -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-BZaeiu6L.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';
|
|
@@ -109,7 +109,6 @@ declare const FleetIssueManagementFileSchema: z.ZodObject<{
|
|
|
109
109
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
110
110
|
vehicle_issue_id: z.ZodEffects<z.ZodString, string, string>;
|
|
111
111
|
}, "strip", z.ZodTypeAny, {
|
|
112
|
-
vehicle_issue_id: string;
|
|
113
112
|
status: Status;
|
|
114
113
|
organisation_id: string;
|
|
115
114
|
usage_type: string;
|
|
@@ -120,12 +119,13 @@ declare const FleetIssueManagementFileSchema: z.ZodObject<{
|
|
|
120
119
|
file_description: string;
|
|
121
120
|
file_size: number;
|
|
122
121
|
file_metadata: Record<string, any>;
|
|
123
|
-
}, {
|
|
124
122
|
vehicle_issue_id: string;
|
|
123
|
+
}, {
|
|
125
124
|
status: Status;
|
|
126
125
|
organisation_id: string;
|
|
127
126
|
usage_type: string;
|
|
128
127
|
file_type: FileType;
|
|
128
|
+
vehicle_issue_id: string;
|
|
129
129
|
file_url?: string | undefined;
|
|
130
130
|
file_key?: string | undefined;
|
|
131
131
|
file_name?: string | undefined;
|
|
@@ -169,7 +169,6 @@ declare const FleetIssueManagementSchema: z.ZodObject<{
|
|
|
169
169
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
170
170
|
vehicle_issue_id: z.ZodEffects<z.ZodString, string, string>;
|
|
171
171
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
172
|
-
vehicle_issue_id: string;
|
|
173
172
|
status: Status;
|
|
174
173
|
organisation_id: string;
|
|
175
174
|
usage_type: string;
|
|
@@ -180,12 +179,13 @@ declare const FleetIssueManagementSchema: z.ZodObject<{
|
|
|
180
179
|
file_description: string;
|
|
181
180
|
file_size: number;
|
|
182
181
|
file_metadata: Record<string, any>;
|
|
183
|
-
}, {
|
|
184
182
|
vehicle_issue_id: string;
|
|
183
|
+
}, {
|
|
185
184
|
status: Status;
|
|
186
185
|
organisation_id: string;
|
|
187
186
|
usage_type: string;
|
|
188
187
|
file_type: FileType;
|
|
188
|
+
vehicle_issue_id: string;
|
|
189
189
|
file_url?: string | undefined;
|
|
190
190
|
file_key?: string | undefined;
|
|
191
191
|
file_name?: string | undefined;
|
|
@@ -194,6 +194,15 @@ declare const FleetIssueManagementSchema: z.ZodObject<{
|
|
|
194
194
|
file_metadata?: Record<string, any> | undefined;
|
|
195
195
|
}>, "many">>>;
|
|
196
196
|
}, "strip", z.ZodTypeAny, {
|
|
197
|
+
status: Status;
|
|
198
|
+
organisation_id: string;
|
|
199
|
+
time_zone_id: string;
|
|
200
|
+
driver_id: string;
|
|
201
|
+
vehicle_id: string;
|
|
202
|
+
user_id: string;
|
|
203
|
+
odometer_reading: number;
|
|
204
|
+
vehicle_incident_id: string;
|
|
205
|
+
service_management_id: string;
|
|
197
206
|
issue_title: string;
|
|
198
207
|
issue_description: string;
|
|
199
208
|
issue_status: IssueStatus;
|
|
@@ -201,21 +210,11 @@ declare const FleetIssueManagementSchema: z.ZodObject<{
|
|
|
201
210
|
issue_severity: IssueSeverity;
|
|
202
211
|
report_date: string;
|
|
203
212
|
resolved_date: string;
|
|
204
|
-
odometer_reading: number;
|
|
205
213
|
due_date: string;
|
|
206
214
|
due_odometer_reading: number;
|
|
207
215
|
issue_source: IssueSource;
|
|
208
|
-
status: Status;
|
|
209
|
-
organisation_id: string;
|
|
210
|
-
user_id: string;
|
|
211
|
-
vehicle_id: string;
|
|
212
|
-
driver_id: string;
|
|
213
|
-
vehicle_incident_id: string;
|
|
214
216
|
inspection_id: string;
|
|
215
|
-
service_management_id: string;
|
|
216
|
-
time_zone_id: string;
|
|
217
217
|
FleetIssueManagementFileSchema: {
|
|
218
|
-
vehicle_issue_id: string;
|
|
219
218
|
status: Status;
|
|
220
219
|
organisation_id: string;
|
|
221
220
|
usage_type: string;
|
|
@@ -226,34 +225,35 @@ declare const FleetIssueManagementSchema: z.ZodObject<{
|
|
|
226
225
|
file_description: string;
|
|
227
226
|
file_size: number;
|
|
228
227
|
file_metadata: Record<string, any>;
|
|
228
|
+
vehicle_issue_id: string;
|
|
229
229
|
}[];
|
|
230
230
|
}, {
|
|
231
|
+
status: Status;
|
|
232
|
+
organisation_id: string;
|
|
233
|
+
time_zone_id: string;
|
|
234
|
+
driver_id: string;
|
|
235
|
+
vehicle_id: string;
|
|
236
|
+
user_id: string;
|
|
237
|
+
vehicle_incident_id: string;
|
|
238
|
+
service_management_id: string;
|
|
231
239
|
issue_title: string;
|
|
232
240
|
issue_status: IssueStatus;
|
|
233
241
|
issue_priority: Priority;
|
|
234
242
|
issue_severity: IssueSeverity;
|
|
235
243
|
report_date: string;
|
|
236
244
|
issue_source: IssueSource;
|
|
237
|
-
status: Status;
|
|
238
|
-
organisation_id: string;
|
|
239
|
-
user_id: string;
|
|
240
|
-
vehicle_id: string;
|
|
241
|
-
driver_id: string;
|
|
242
|
-
vehicle_incident_id: string;
|
|
243
245
|
inspection_id: string;
|
|
244
|
-
|
|
245
|
-
time_zone_id: string;
|
|
246
|
+
odometer_reading?: unknown;
|
|
246
247
|
issue_description?: string | undefined;
|
|
247
248
|
resolved_date?: string | undefined;
|
|
248
|
-
odometer_reading?: unknown;
|
|
249
249
|
due_date?: string | undefined;
|
|
250
250
|
due_odometer_reading?: unknown;
|
|
251
251
|
FleetIssueManagementFileSchema?: {
|
|
252
|
-
vehicle_issue_id: string;
|
|
253
252
|
status: Status;
|
|
254
253
|
organisation_id: string;
|
|
255
254
|
usage_type: string;
|
|
256
255
|
file_type: FileType;
|
|
256
|
+
vehicle_issue_id: string;
|
|
257
257
|
file_url?: string | undefined;
|
|
258
258
|
file_key?: string | undefined;
|
|
259
259
|
file_name?: string | undefined;
|
|
@@ -309,12 +309,7 @@ declare const FleetIssueManagementQuerySchema: z.ZodObject<{
|
|
|
309
309
|
from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
310
310
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
311
311
|
}, "strip", z.ZodTypeAny, {
|
|
312
|
-
issue_status: IssueStatus[];
|
|
313
|
-
issue_priority: Priority[];
|
|
314
|
-
issue_severity: IssueSeverity[];
|
|
315
|
-
issue_source: IssueSource[];
|
|
316
312
|
status: Status[];
|
|
317
|
-
time_zone_id: string;
|
|
318
313
|
search: string;
|
|
319
314
|
paging: PAGING;
|
|
320
315
|
page_count: number;
|
|
@@ -334,25 +329,26 @@ declare const FleetIssueManagementQuerySchema: z.ZodObject<{
|
|
|
334
329
|
}[];
|
|
335
330
|
include_master_data: YesNo;
|
|
336
331
|
date_format_id: string;
|
|
337
|
-
|
|
332
|
+
time_zone_id: string;
|
|
338
333
|
organisation_ids: string[];
|
|
339
|
-
user_ids: string[];
|
|
340
334
|
vehicle_ids: string[];
|
|
341
335
|
driver_ids: string[];
|
|
336
|
+
user_ids: string[];
|
|
342
337
|
vehicle_incident_ids: string[];
|
|
343
|
-
inspection_ids: string[];
|
|
344
|
-
service_management_ids: string[];
|
|
345
338
|
from_date: string;
|
|
346
339
|
to_date: string;
|
|
340
|
+
service_management_ids: string[];
|
|
341
|
+
issue_status: IssueStatus[];
|
|
342
|
+
issue_priority: Priority[];
|
|
343
|
+
issue_severity: IssueSeverity[];
|
|
344
|
+
issue_source: IssueSource[];
|
|
345
|
+
vehicle_issue_ids: string[];
|
|
346
|
+
inspection_ids: string[];
|
|
347
347
|
}, {
|
|
348
|
-
time_zone_id: string;
|
|
349
348
|
date_format_id: string;
|
|
349
|
+
time_zone_id: string;
|
|
350
350
|
from_date: string;
|
|
351
351
|
to_date: string;
|
|
352
|
-
issue_status?: IssueStatus[] | undefined;
|
|
353
|
-
issue_priority?: Priority[] | undefined;
|
|
354
|
-
issue_severity?: IssueSeverity[] | undefined;
|
|
355
|
-
issue_source?: IssueSource[] | undefined;
|
|
356
352
|
status?: Status[] | undefined;
|
|
357
353
|
search?: string | undefined;
|
|
358
354
|
paging?: PAGING | undefined;
|
|
@@ -372,14 +368,18 @@ declare const FleetIssueManagementQuerySchema: z.ZodObject<{
|
|
|
372
368
|
direction: OrderBy;
|
|
373
369
|
}[] | undefined;
|
|
374
370
|
include_master_data?: YesNo | undefined;
|
|
375
|
-
vehicle_issue_ids?: string[] | undefined;
|
|
376
371
|
organisation_ids?: string[] | undefined;
|
|
377
|
-
user_ids?: string[] | undefined;
|
|
378
372
|
vehicle_ids?: string[] | undefined;
|
|
379
373
|
driver_ids?: string[] | undefined;
|
|
374
|
+
user_ids?: string[] | undefined;
|
|
380
375
|
vehicle_incident_ids?: string[] | undefined;
|
|
381
|
-
inspection_ids?: string[] | undefined;
|
|
382
376
|
service_management_ids?: string[] | undefined;
|
|
377
|
+
issue_status?: IssueStatus[] | undefined;
|
|
378
|
+
issue_priority?: Priority[] | undefined;
|
|
379
|
+
issue_severity?: IssueSeverity[] | undefined;
|
|
380
|
+
issue_source?: IssueSource[] | undefined;
|
|
381
|
+
vehicle_issue_ids?: string[] | undefined;
|
|
382
|
+
inspection_ids?: string[] | undefined;
|
|
383
383
|
}>;
|
|
384
384
|
type FleetIssueManagementQueryDTO = z.infer<typeof FleetIssueManagementQuerySchema>;
|
|
385
385
|
declare const FleetIssueManagementCommentSchema: z.ZodObject<{
|
|
@@ -389,15 +389,15 @@ declare const FleetIssueManagementCommentSchema: z.ZodObject<{
|
|
|
389
389
|
comment_description: z.ZodEffects<z.ZodString, string, string>;
|
|
390
390
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
391
391
|
}, "strip", z.ZodTypeAny, {
|
|
392
|
-
vehicle_issue_id: string;
|
|
393
392
|
status: Status;
|
|
394
393
|
organisation_id: string;
|
|
394
|
+
vehicle_issue_id: string;
|
|
395
395
|
comment_text: string;
|
|
396
396
|
comment_description: string;
|
|
397
397
|
}, {
|
|
398
|
-
vehicle_issue_id: string;
|
|
399
398
|
status: Status;
|
|
400
399
|
organisation_id: string;
|
|
400
|
+
vehicle_issue_id: string;
|
|
401
401
|
comment_text: string;
|
|
402
402
|
comment_description: string;
|
|
403
403
|
}>;
|
|
@@ -438,7 +438,6 @@ 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;
|
|
442
441
|
search: string;
|
|
443
442
|
paging: PAGING;
|
|
444
443
|
page_count: number;
|
|
@@ -458,12 +457,13 @@ declare const FleetIssueManagementCommentQuerySchema: z.ZodObject<{
|
|
|
458
457
|
}[];
|
|
459
458
|
include_master_data: YesNo;
|
|
460
459
|
date_format_id: string;
|
|
461
|
-
|
|
460
|
+
time_zone_id: string;
|
|
462
461
|
organisation_ids: string[];
|
|
462
|
+
vehicle_issue_ids: string[];
|
|
463
463
|
vehicle_issue_comment_ids: string[];
|
|
464
464
|
}, {
|
|
465
|
-
time_zone_id: string;
|
|
466
465
|
date_format_id: string;
|
|
466
|
+
time_zone_id: string;
|
|
467
467
|
status?: Status[] | undefined;
|
|
468
468
|
search?: string | undefined;
|
|
469
469
|
paging?: PAGING | undefined;
|
|
@@ -483,8 +483,8 @@ declare const FleetIssueManagementCommentQuerySchema: z.ZodObject<{
|
|
|
483
483
|
direction: OrderBy;
|
|
484
484
|
}[] | undefined;
|
|
485
485
|
include_master_data?: YesNo | undefined;
|
|
486
|
-
vehicle_issue_ids?: string[] | undefined;
|
|
487
486
|
organisation_ids?: string[] | undefined;
|
|
487
|
+
vehicle_issue_ids?: string[] | undefined;
|
|
488
488
|
vehicle_issue_comment_ids?: string[] | undefined;
|
|
489
489
|
}>;
|
|
490
490
|
type FleetIssueManagementCommentQueryDTO = z.infer<typeof FleetIssueManagementCommentQuerySchema>;
|