vms-nest-prisma-api-document 220.0.0 → 222.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 +23 -23
- package/dist/services/fleet/bus_mangement/calender.d.ts +8 -8
- 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 +17 -17
- package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.d.ts +21 -21
- 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 +75 -75
- 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 +40 -40
- package/dist/services/fleet/service_management/fleet_service_management_task_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 +1 -1
- package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +1 -1
- 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 +6 -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 +5 -5
- 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 +4 -4
- package/dist/services/master/fleet/master_fleet_incident_status_service.d.ts +4 -4
- package/dist/services/master/fleet/master_fleet_incident_type_service.d.ts +4 -4
- package/dist/services/master/fleet/master_fleet_insurance_claim_status_service.d.ts +4 -4
- 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 +9 -9
- package/dist/services/master/spare_part/master_spare_part_unit_service.d.ts +1 -1
- package/dist/services/master/trip/master_trip_party_type_service.d.ts +1 -1
- package/dist/services/master/tyre/master_tyre_grade_service.d.ts +3 -3
- package/dist/services/master/tyre/master_tyre_make_service.d.ts +1 -1
- package/dist/services/master/tyre/master_tyre_model_service.d.ts +3 -3
- 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-WD4PyTEx.d.ts → user_organisation_service-DGGuB4hh.d.ts} +3 -0
- 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-DGGuB4hh.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,6 +115,7 @@ 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
121
|
usage_type: string;
|
|
@@ -125,13 +126,12 @@ declare const FleetIncidentManagementFileSchema: z.ZodObject<{
|
|
|
125
126
|
file_description: string;
|
|
126
127
|
file_size: number;
|
|
127
128
|
file_metadata: Record<string, any>;
|
|
128
|
-
vehicle_incident_id: string;
|
|
129
129
|
}, {
|
|
130
|
+
vehicle_incident_id: string;
|
|
130
131
|
status: Status;
|
|
131
132
|
organisation_id: string;
|
|
132
133
|
usage_type: string;
|
|
133
134
|
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;
|
|
@@ -194,6 +194,7 @@ 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
200
|
usage_type: string;
|
|
@@ -204,13 +205,12 @@ declare const FleetIncidentManagementSchema: z.ZodObject<{
|
|
|
204
205
|
file_description: string;
|
|
205
206
|
file_size: number;
|
|
206
207
|
file_metadata: Record<string, any>;
|
|
207
|
-
vehicle_incident_id: string;
|
|
208
208
|
}, {
|
|
209
|
+
vehicle_incident_id: string;
|
|
209
210
|
status: Status;
|
|
210
211
|
organisation_id: string;
|
|
211
212
|
usage_type: string;
|
|
212
213
|
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;
|
|
@@ -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,7 +243,18 @@ 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
260
|
usage_type: string;
|
|
@@ -264,24 +265,13 @@ declare const FleetIncidentManagementSchema: z.ZodObject<{
|
|
|
264
265
|
file_description: string;
|
|
265
266
|
file_size: number;
|
|
266
267
|
file_metadata: Record<string, any>;
|
|
267
|
-
vehicle_incident_id: string;
|
|
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,11 +312,11 @@ 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
318
|
usage_type: string;
|
|
318
319
|
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;
|
|
@@ -379,7 +379,18 @@ 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[];
|
|
393
|
+
time_zone_id: string;
|
|
383
394
|
search: string;
|
|
384
395
|
paging: PAGING;
|
|
385
396
|
page_count: number;
|
|
@@ -399,33 +410,32 @@ declare const FleetIncidentManagementQuerySchema: z.ZodObject<{
|
|
|
399
410
|
}[];
|
|
400
411
|
include_master_data: YesNo;
|
|
401
412
|
date_format_id: string;
|
|
402
|
-
|
|
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[];
|
|
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[];
|
|
407
422
|
from_date: string;
|
|
408
423
|
to_date: string;
|
|
409
|
-
fleet_insurance_claim_status_ids: string[];
|
|
410
|
-
fleet_incident_severity_ids: string[];
|
|
411
|
-
fleet_incident_status_ids: string[];
|
|
412
|
-
fleet_incident_type_ids: string[];
|
|
413
|
-
was_towed: YesNo[];
|
|
414
|
-
is_vehicle_operational: YesNo[];
|
|
415
|
-
incident_time: IncidentTime[];
|
|
416
|
-
incident_weather: IncidentWeather[];
|
|
417
|
-
incident_road_type: IncidentRoadType[];
|
|
418
|
-
incident_visibility: IncidentVisibility[];
|
|
419
|
-
insurance_cover: YesNo[];
|
|
420
|
-
insurance_claimed: YesNo[];
|
|
421
|
-
police_report_filed: YesNo[];
|
|
422
|
-
any_injuries: YesNo[];
|
|
423
|
-
vehicle_incident_ids: string[];
|
|
424
424
|
}, {
|
|
425
|
-
date_format_id: string;
|
|
426
425
|
time_zone_id: string;
|
|
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
|
-
fleet_insurance_claim_status_ids?: string[] | undefined;
|
|
453
|
-
fleet_incident_severity_ids?: string[] | undefined;
|
|
454
|
-
fleet_incident_status_ids?: string[] | undefined;
|
|
455
463
|
fleet_incident_type_ids?: string[] | undefined;
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
incident_weather?: IncidentWeather[] | undefined;
|
|
460
|
-
incident_road_type?: IncidentRoadType[] | undefined;
|
|
461
|
-
incident_visibility?: IncidentVisibility[] | undefined;
|
|
462
|
-
insurance_cover?: YesNo[] | undefined;
|
|
463
|
-
insurance_claimed?: YesNo[] | undefined;
|
|
464
|
-
police_report_filed?: YesNo[] | undefined;
|
|
465
|
-
any_injuries?: YesNo[] | undefined;
|
|
466
|
-
vehicle_incident_ids?: string[] | 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
|
-
time_zone_id: string;
|
|
482
|
-
expense_name_id: string;
|
|
483
|
-
vehicle_incident_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
|
-
time_zone_id: string;
|
|
491
|
-
expense_name_id: string;
|
|
492
|
-
vehicle_incident_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
|
}>;
|
|
@@ -532,6 +532,7 @@ declare const FleetIncidentManagementCostQuerySchema: z.ZodObject<{
|
|
|
532
532
|
expense_name_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
533
533
|
}, "strip", z.ZodTypeAny, {
|
|
534
534
|
status: Status[];
|
|
535
|
+
time_zone_id: string;
|
|
535
536
|
search: string;
|
|
536
537
|
paging: PAGING;
|
|
537
538
|
page_count: number;
|
|
@@ -551,14 +552,13 @@ declare const FleetIncidentManagementCostQuerySchema: z.ZodObject<{
|
|
|
551
552
|
}[];
|
|
552
553
|
include_master_data: YesNo;
|
|
553
554
|
date_format_id: string;
|
|
554
|
-
time_zone_id: string;
|
|
555
|
-
organisation_ids: string[];
|
|
556
|
-
expense_name_ids: string[];
|
|
557
555
|
vehicle_incident_ids: string[];
|
|
556
|
+
organisation_ids: string[];
|
|
558
557
|
incident_cost_ids: string[];
|
|
558
|
+
expense_name_ids: string[];
|
|
559
559
|
}, {
|
|
560
|
-
date_format_id: string;
|
|
561
560
|
time_zone_id: string;
|
|
561
|
+
date_format_id: string;
|
|
562
562
|
status?: Status[] | undefined;
|
|
563
563
|
search?: string | undefined;
|
|
564
564
|
paging?: PAGING | undefined;
|
|
@@ -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
|
-
expense_name_ids?: string[] | undefined;
|
|
583
581
|
vehicle_incident_ids?: string[] | undefined;
|
|
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;
|
|
@@ -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-DGGuB4hh.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';
|
|
@@ -106,6 +106,7 @@ declare const FleetIssueManagementFileSchema: z.ZodObject<{
|
|
|
106
106
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
107
107
|
vehicle_issue_id: z.ZodEffects<z.ZodString, string, string>;
|
|
108
108
|
}, "strip", z.ZodTypeAny, {
|
|
109
|
+
vehicle_issue_id: string;
|
|
109
110
|
status: Status;
|
|
110
111
|
organisation_id: string;
|
|
111
112
|
usage_type: string;
|
|
@@ -116,13 +117,12 @@ declare const FleetIssueManagementFileSchema: z.ZodObject<{
|
|
|
116
117
|
file_description: string;
|
|
117
118
|
file_size: number;
|
|
118
119
|
file_metadata: Record<string, any>;
|
|
119
|
-
vehicle_issue_id: string;
|
|
120
120
|
}, {
|
|
121
|
+
vehicle_issue_id: string;
|
|
121
122
|
status: Status;
|
|
122
123
|
organisation_id: string;
|
|
123
124
|
usage_type: string;
|
|
124
125
|
file_type: FileType;
|
|
125
|
-
vehicle_issue_id: string;
|
|
126
126
|
file_url?: string | undefined;
|
|
127
127
|
file_key?: string | undefined;
|
|
128
128
|
file_name?: string | undefined;
|
|
@@ -166,6 +166,7 @@ declare const FleetIssueManagementSchema: z.ZodObject<{
|
|
|
166
166
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
167
167
|
vehicle_issue_id: z.ZodEffects<z.ZodString, string, string>;
|
|
168
168
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
169
|
+
vehicle_issue_id: string;
|
|
169
170
|
status: Status;
|
|
170
171
|
organisation_id: string;
|
|
171
172
|
usage_type: string;
|
|
@@ -176,13 +177,12 @@ declare const FleetIssueManagementSchema: z.ZodObject<{
|
|
|
176
177
|
file_description: string;
|
|
177
178
|
file_size: number;
|
|
178
179
|
file_metadata: Record<string, any>;
|
|
179
|
-
vehicle_issue_id: string;
|
|
180
180
|
}, {
|
|
181
|
+
vehicle_issue_id: string;
|
|
181
182
|
status: Status;
|
|
182
183
|
organisation_id: string;
|
|
183
184
|
usage_type: string;
|
|
184
185
|
file_type: FileType;
|
|
185
|
-
vehicle_issue_id: string;
|
|
186
186
|
file_url?: string | undefined;
|
|
187
187
|
file_key?: string | undefined;
|
|
188
188
|
file_name?: string | undefined;
|
|
@@ -191,15 +191,6 @@ declare const FleetIssueManagementSchema: z.ZodObject<{
|
|
|
191
191
|
file_metadata?: Record<string, any> | undefined;
|
|
192
192
|
}>, "many">>>;
|
|
193
193
|
}, "strip", z.ZodTypeAny, {
|
|
194
|
-
service_management_id: string;
|
|
195
|
-
odometer_reading: number;
|
|
196
|
-
status: Status;
|
|
197
|
-
organisation_id: string;
|
|
198
|
-
user_id: string;
|
|
199
|
-
vehicle_id: string;
|
|
200
|
-
driver_id: string;
|
|
201
|
-
time_zone_id: string;
|
|
202
|
-
vehicle_incident_id: string;
|
|
203
194
|
issue_title: string;
|
|
204
195
|
issue_description: string;
|
|
205
196
|
issue_status: IssueStatus;
|
|
@@ -207,11 +198,21 @@ declare const FleetIssueManagementSchema: z.ZodObject<{
|
|
|
207
198
|
issue_severity: IssueSeverity;
|
|
208
199
|
report_date: string;
|
|
209
200
|
resolved_date: string;
|
|
201
|
+
odometer_reading: number;
|
|
210
202
|
due_date: string;
|
|
211
203
|
due_odometer_reading: number;
|
|
212
204
|
issue_source: IssueSource;
|
|
205
|
+
status: Status;
|
|
206
|
+
organisation_id: string;
|
|
207
|
+
user_id: string;
|
|
208
|
+
vehicle_id: string;
|
|
209
|
+
driver_id: string;
|
|
210
|
+
vehicle_incident_id: string;
|
|
213
211
|
inspection_id: string;
|
|
212
|
+
service_management_id: string;
|
|
213
|
+
time_zone_id: string;
|
|
214
214
|
FleetIssueManagementFileSchema: {
|
|
215
|
+
vehicle_issue_id: string;
|
|
215
216
|
status: Status;
|
|
216
217
|
organisation_id: string;
|
|
217
218
|
usage_type: string;
|
|
@@ -222,35 +223,34 @@ declare const FleetIssueManagementSchema: z.ZodObject<{
|
|
|
222
223
|
file_description: string;
|
|
223
224
|
file_size: number;
|
|
224
225
|
file_metadata: Record<string, any>;
|
|
225
|
-
vehicle_issue_id: string;
|
|
226
226
|
}[];
|
|
227
227
|
}, {
|
|
228
|
-
service_management_id: string;
|
|
229
|
-
status: Status;
|
|
230
|
-
organisation_id: string;
|
|
231
|
-
user_id: string;
|
|
232
|
-
vehicle_id: string;
|
|
233
|
-
driver_id: string;
|
|
234
|
-
time_zone_id: string;
|
|
235
|
-
vehicle_incident_id: string;
|
|
236
228
|
issue_title: string;
|
|
237
229
|
issue_status: IssueStatus;
|
|
238
230
|
issue_priority: Priority;
|
|
239
231
|
issue_severity: IssueSeverity;
|
|
240
232
|
report_date: string;
|
|
241
233
|
issue_source: IssueSource;
|
|
234
|
+
status: Status;
|
|
235
|
+
organisation_id: string;
|
|
236
|
+
user_id: string;
|
|
237
|
+
vehicle_id: string;
|
|
238
|
+
driver_id: string;
|
|
239
|
+
vehicle_incident_id: string;
|
|
242
240
|
inspection_id: string;
|
|
243
|
-
|
|
241
|
+
service_management_id: string;
|
|
242
|
+
time_zone_id: string;
|
|
244
243
|
issue_description?: string | undefined;
|
|
245
244
|
resolved_date?: string | undefined;
|
|
245
|
+
odometer_reading?: unknown;
|
|
246
246
|
due_date?: string | undefined;
|
|
247
247
|
due_odometer_reading?: unknown;
|
|
248
248
|
FleetIssueManagementFileSchema?: {
|
|
249
|
+
vehicle_issue_id: string;
|
|
249
250
|
status: Status;
|
|
250
251
|
organisation_id: string;
|
|
251
252
|
usage_type: string;
|
|
252
253
|
file_type: FileType;
|
|
253
|
-
vehicle_issue_id: string;
|
|
254
254
|
file_url?: string | undefined;
|
|
255
255
|
file_key?: string | undefined;
|
|
256
256
|
file_name?: string | undefined;
|
|
@@ -306,7 +306,12 @@ declare const FleetIssueManagementQuerySchema: z.ZodObject<{
|
|
|
306
306
|
from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
307
307
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
308
308
|
}, "strip", z.ZodTypeAny, {
|
|
309
|
+
issue_status: IssueStatus[];
|
|
310
|
+
issue_priority: Priority[];
|
|
311
|
+
issue_severity: IssueSeverity[];
|
|
312
|
+
issue_source: IssueSource[];
|
|
309
313
|
status: Status[];
|
|
314
|
+
time_zone_id: string;
|
|
310
315
|
search: string;
|
|
311
316
|
paging: PAGING;
|
|
312
317
|
page_count: number;
|
|
@@ -326,26 +331,25 @@ declare const FleetIssueManagementQuerySchema: z.ZodObject<{
|
|
|
326
331
|
}[];
|
|
327
332
|
include_master_data: YesNo;
|
|
328
333
|
date_format_id: string;
|
|
329
|
-
|
|
330
|
-
service_management_ids: string[];
|
|
334
|
+
vehicle_issue_ids: string[];
|
|
331
335
|
organisation_ids: string[];
|
|
332
336
|
user_ids: string[];
|
|
333
337
|
vehicle_ids: string[];
|
|
334
338
|
driver_ids: string[];
|
|
335
|
-
from_date: string;
|
|
336
|
-
to_date: string;
|
|
337
339
|
vehicle_incident_ids: string[];
|
|
338
|
-
issue_status: IssueStatus[];
|
|
339
|
-
issue_priority: Priority[];
|
|
340
|
-
issue_severity: IssueSeverity[];
|
|
341
|
-
issue_source: IssueSource[];
|
|
342
|
-
vehicle_issue_ids: string[];
|
|
343
340
|
inspection_ids: string[];
|
|
341
|
+
service_management_ids: string[];
|
|
342
|
+
from_date: string;
|
|
343
|
+
to_date: string;
|
|
344
344
|
}, {
|
|
345
|
-
date_format_id: string;
|
|
346
345
|
time_zone_id: string;
|
|
346
|
+
date_format_id: string;
|
|
347
347
|
from_date: string;
|
|
348
348
|
to_date: string;
|
|
349
|
+
issue_status?: IssueStatus[] | undefined;
|
|
350
|
+
issue_priority?: Priority[] | undefined;
|
|
351
|
+
issue_severity?: IssueSeverity[] | undefined;
|
|
352
|
+
issue_source?: IssueSource[] | undefined;
|
|
349
353
|
status?: Status[] | undefined;
|
|
350
354
|
search?: string | undefined;
|
|
351
355
|
paging?: PAGING | undefined;
|
|
@@ -365,18 +369,14 @@ declare const FleetIssueManagementQuerySchema: z.ZodObject<{
|
|
|
365
369
|
direction: OrderBy;
|
|
366
370
|
}[] | undefined;
|
|
367
371
|
include_master_data?: YesNo | undefined;
|
|
368
|
-
|
|
372
|
+
vehicle_issue_ids?: string[] | undefined;
|
|
369
373
|
organisation_ids?: string[] | undefined;
|
|
370
374
|
user_ids?: string[] | undefined;
|
|
371
375
|
vehicle_ids?: string[] | undefined;
|
|
372
376
|
driver_ids?: string[] | undefined;
|
|
373
377
|
vehicle_incident_ids?: string[] | undefined;
|
|
374
|
-
issue_status?: IssueStatus[] | undefined;
|
|
375
|
-
issue_priority?: Priority[] | undefined;
|
|
376
|
-
issue_severity?: IssueSeverity[] | undefined;
|
|
377
|
-
issue_source?: IssueSource[] | undefined;
|
|
378
|
-
vehicle_issue_ids?: string[] | undefined;
|
|
379
378
|
inspection_ids?: string[] | undefined;
|
|
379
|
+
service_management_ids?: string[] | undefined;
|
|
380
380
|
}>;
|
|
381
381
|
type FleetIssueManagementQueryDTO = z.infer<typeof FleetIssueManagementQuerySchema>;
|
|
382
382
|
declare const FleetIssueManagementCommentSchema: z.ZodObject<{
|
|
@@ -386,15 +386,15 @@ declare const FleetIssueManagementCommentSchema: z.ZodObject<{
|
|
|
386
386
|
comment_description: z.ZodEffects<z.ZodString, string, string>;
|
|
387
387
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
388
388
|
}, "strip", z.ZodTypeAny, {
|
|
389
|
+
vehicle_issue_id: string;
|
|
389
390
|
status: Status;
|
|
390
391
|
organisation_id: string;
|
|
391
|
-
vehicle_issue_id: string;
|
|
392
392
|
comment_text: string;
|
|
393
393
|
comment_description: string;
|
|
394
394
|
}, {
|
|
395
|
+
vehicle_issue_id: string;
|
|
395
396
|
status: Status;
|
|
396
397
|
organisation_id: string;
|
|
397
|
-
vehicle_issue_id: string;
|
|
398
398
|
comment_text: string;
|
|
399
399
|
comment_description: string;
|
|
400
400
|
}>;
|
|
@@ -435,6 +435,7 @@ declare const FleetIssueManagementCommentQuerySchema: z.ZodObject<{
|
|
|
435
435
|
vehicle_issue_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
436
436
|
}, "strip", z.ZodTypeAny, {
|
|
437
437
|
status: Status[];
|
|
438
|
+
time_zone_id: string;
|
|
438
439
|
search: string;
|
|
439
440
|
paging: PAGING;
|
|
440
441
|
page_count: number;
|
|
@@ -454,13 +455,12 @@ declare const FleetIssueManagementCommentQuerySchema: z.ZodObject<{
|
|
|
454
455
|
}[];
|
|
455
456
|
include_master_data: YesNo;
|
|
456
457
|
date_format_id: string;
|
|
457
|
-
time_zone_id: string;
|
|
458
|
-
organisation_ids: string[];
|
|
459
458
|
vehicle_issue_ids: string[];
|
|
459
|
+
organisation_ids: string[];
|
|
460
460
|
vehicle_issue_comment_ids: string[];
|
|
461
461
|
}, {
|
|
462
|
-
date_format_id: string;
|
|
463
462
|
time_zone_id: string;
|
|
463
|
+
date_format_id: string;
|
|
464
464
|
status?: Status[] | undefined;
|
|
465
465
|
search?: string | undefined;
|
|
466
466
|
paging?: PAGING | undefined;
|
|
@@ -480,8 +480,8 @@ declare const FleetIssueManagementCommentQuerySchema: z.ZodObject<{
|
|
|
480
480
|
direction: OrderBy;
|
|
481
481
|
}[] | undefined;
|
|
482
482
|
include_master_data?: YesNo | undefined;
|
|
483
|
-
organisation_ids?: string[] | undefined;
|
|
484
483
|
vehicle_issue_ids?: string[] | undefined;
|
|
484
|
+
organisation_ids?: string[] | undefined;
|
|
485
485
|
vehicle_issue_comment_ids?: string[] | undefined;
|
|
486
486
|
}>;
|
|
487
487
|
type FleetIssueManagementCommentQueryDTO = z.infer<typeof FleetIssueManagementCommentQuerySchema>;
|