vms-nest-prisma-api-document 250.0.0 → 260.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/services/account/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 +1 -1
- package/dist/services/fleet/bus_mangement/calender.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/master_route.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/notice_board.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/student.d.ts +1 -1
- package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.d.ts +20 -20
- package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.d.ts +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 +72 -72
- 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 +14 -14
- package/dist/services/fleet/service_management/fleet_service_management_service.d.ts +51 -51
- 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 +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 +1 -1
- package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +1 -1
- package/dist/services/gps/reports/gps_models/GpsPacket.d.ts +5 -0
- package/dist/services/gps/reports/gps_reports_mongo_service.d.ts +46 -46
- package/dist/services/main/devices/master_device_service.d.ts +1 -1
- package/dist/services/main/drivers/master_driver_service.d.ts +1 -1
- package/dist/services/main/sims/master_sim_service.d.ts +1 -1
- package/dist/services/main/users/auth_service.d.ts +1 -1
- package/dist/services/main/users/user_admin_service.d.ts +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/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 +2 -2
- package/dist/services/master/main/master_main_country_service.d.ts +1 -1
- package/dist/services/master/main/master_main_currency_service.d.ts +1 -1
- package/dist/services/master/main/master_main_date_format_service.d.ts +1 -1
- package/dist/services/master/main/master_main_industry_service.d.ts +1 -1
- package/dist/services/master/main/master_main_landmark_service.d.ts +1 -1
- package/dist/services/master/main/master_main_language_service.d.ts +1 -1
- package/dist/services/master/main/master_main_state_service.d.ts +1 -1
- package/dist/services/master/main/master_main_timezone_service.d.ts +1 -1
- package/dist/services/master/main/master_main_unit_distance_service.d.ts +1 -1
- package/dist/services/master/main/master_main_unit_mileage_service.d.ts +1 -1
- package/dist/services/master/main/master_main_unit_volume_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_branch_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_color_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_group_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_sub_company_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_tag_service.d.ts +1 -1
- package/dist/services/master/spare_part/master_spare_part_category_service.d.ts +1 -1
- package/dist/services/master/spare_part/master_spare_part_sub_category_service.d.ts +9 -9
- package/dist/services/master/spare_part/master_spare_part_unit_service.d.ts +1 -1
- package/dist/services/master/trip/master_trip_party_type_service.d.ts +1 -1
- package/dist/services/master/tyre/master_tyre_grade_service.d.ts +1 -1
- package/dist/services/master/tyre/master_tyre_make_service.d.ts +1 -1
- package/dist/services/master/tyre/master_tyre_model_service.d.ts +1 -1
- package/dist/services/master/user/master_user_role_service.d.ts +1 -1
- package/dist/services/master/user/master_user_status_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_associated_to_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_document_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_fuel_removal_reason_service.d.ts +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/package.json +1 -1
- package/dist/{user_organisation_service-CqR_hga1.d.ts → user_organisation_service-C2mgWnod.d.ts} +47 -47
|
@@ -2,7 +2,7 @@ import { GPSFuelApproveStatus, RefillEntrySource, Status, FileType, PAGING, Load
|
|
|
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 { d as MasterMainLandmark, U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice, f as MasterVehicleFuelType, g as MasterVehicleFuelUnit } from '../../../user_organisation_service-
|
|
5
|
+
import { d as MasterMainLandmark, U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice, f as MasterVehicleFuelType, g as MasterVehicleFuelUnit } from '../../../user_organisation_service-C2mgWnod.js';
|
|
6
6
|
import { MasterVehicleFuelRemovalReason } from '../../master/vehicle/master_vehicle_fuel_removal_reason_service.js';
|
|
7
7
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
8
8
|
|
|
@@ -85,7 +85,6 @@ declare const FleetFuelRemovalFileSchema: z.ZodObject<{
|
|
|
85
85
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
86
86
|
fleet_fuel_removal_id: z.ZodEffects<z.ZodString, string, string>;
|
|
87
87
|
}, "strip", z.ZodTypeAny, {
|
|
88
|
-
fleet_fuel_removal_id: string;
|
|
89
88
|
status: Status;
|
|
90
89
|
organisation_id: string;
|
|
91
90
|
usage_type: string;
|
|
@@ -96,12 +95,13 @@ declare const FleetFuelRemovalFileSchema: z.ZodObject<{
|
|
|
96
95
|
file_description: string;
|
|
97
96
|
file_size: number;
|
|
98
97
|
file_metadata: Record<string, any>;
|
|
99
|
-
}, {
|
|
100
98
|
fleet_fuel_removal_id: string;
|
|
99
|
+
}, {
|
|
101
100
|
status: Status;
|
|
102
101
|
organisation_id: string;
|
|
103
102
|
usage_type: string;
|
|
104
103
|
file_type: FileType;
|
|
104
|
+
fleet_fuel_removal_id: string;
|
|
105
105
|
file_url?: string | undefined;
|
|
106
106
|
file_key?: string | undefined;
|
|
107
107
|
file_name?: string | undefined;
|
|
@@ -153,7 +153,6 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
153
153
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
154
154
|
fleet_fuel_removal_id: z.ZodEffects<z.ZodString, string, string>;
|
|
155
155
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
156
|
-
fleet_fuel_removal_id: string;
|
|
157
156
|
status: Status;
|
|
158
157
|
organisation_id: string;
|
|
159
158
|
usage_type: string;
|
|
@@ -164,12 +163,13 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
164
163
|
file_description: string;
|
|
165
164
|
file_size: number;
|
|
166
165
|
file_metadata: Record<string, any>;
|
|
167
|
-
}, {
|
|
168
166
|
fleet_fuel_removal_id: string;
|
|
167
|
+
}, {
|
|
169
168
|
status: Status;
|
|
170
169
|
organisation_id: string;
|
|
171
170
|
usage_type: string;
|
|
172
171
|
file_type: FileType;
|
|
172
|
+
fleet_fuel_removal_id: string;
|
|
173
173
|
file_url?: string | undefined;
|
|
174
174
|
file_key?: string | undefined;
|
|
175
175
|
file_name?: string | undefined;
|
|
@@ -178,27 +178,26 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
178
178
|
file_metadata?: Record<string, any> | undefined;
|
|
179
179
|
}>, "many">>>;
|
|
180
180
|
}, "strip", z.ZodTypeAny, {
|
|
181
|
-
odometer_reading: number;
|
|
182
|
-
date_time: string;
|
|
183
|
-
admin_verify_status: GPSFuelApproveStatus;
|
|
184
|
-
transporter_verify_status: GPSFuelApproveStatus;
|
|
185
|
-
fuel_removal_reason_id: string;
|
|
186
|
-
removal_details: string;
|
|
187
|
-
entry_source: RefillEntrySource;
|
|
188
|
-
source_reference_id: string;
|
|
189
|
-
source_notes: string;
|
|
190
|
-
google_location: string;
|
|
191
181
|
status: Status;
|
|
192
182
|
organisation_id: string;
|
|
193
183
|
user_id: string;
|
|
194
184
|
vehicle_id: string;
|
|
195
185
|
driver_id: string;
|
|
196
186
|
device_id: string;
|
|
187
|
+
time_zone_id: string;
|
|
197
188
|
vehicle_fuel_type_id: string;
|
|
198
189
|
vehicle_fuel_unit_id: string;
|
|
199
|
-
|
|
190
|
+
google_location: string;
|
|
191
|
+
odometer_reading: number;
|
|
192
|
+
date_time: string;
|
|
193
|
+
admin_verify_status: GPSFuelApproveStatus;
|
|
194
|
+
transporter_verify_status: GPSFuelApproveStatus;
|
|
195
|
+
entry_source: RefillEntrySource;
|
|
196
|
+
source_reference_id: string;
|
|
197
|
+
source_notes: string;
|
|
198
|
+
fuel_removal_reason_id: string;
|
|
199
|
+
removal_details: string;
|
|
200
200
|
FleetFuelRemovalFileSchema: {
|
|
201
|
-
fleet_fuel_removal_id: string;
|
|
202
201
|
status: Status;
|
|
203
202
|
organisation_id: string;
|
|
204
203
|
usage_type: string;
|
|
@@ -209,51 +208,52 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
209
208
|
file_description: string;
|
|
210
209
|
file_size: number;
|
|
211
210
|
file_metadata: Record<string, any>;
|
|
211
|
+
fleet_fuel_removal_id: string;
|
|
212
212
|
}[];
|
|
213
|
+
latitude?: number | undefined;
|
|
214
|
+
longitude?: number | undefined;
|
|
215
|
+
cost_per_unit?: number | undefined;
|
|
216
|
+
total_cost?: number | undefined;
|
|
213
217
|
before_removal_quantity?: number | undefined;
|
|
214
218
|
after_removal_quantity?: number | undefined;
|
|
215
219
|
removal_quantity?: number | undefined;
|
|
216
220
|
verified_removal_quantity?: number | undefined;
|
|
217
221
|
diff_removal_quantity?: number | undefined;
|
|
218
|
-
cost_per_unit?: number | undefined;
|
|
219
|
-
total_cost?: number | undefined;
|
|
220
|
-
latitude?: number | undefined;
|
|
221
|
-
longitude?: number | undefined;
|
|
222
222
|
}, {
|
|
223
|
-
date_time: string;
|
|
224
|
-
admin_verify_status: GPSFuelApproveStatus;
|
|
225
|
-
transporter_verify_status: GPSFuelApproveStatus;
|
|
226
|
-
fuel_removal_reason_id: string;
|
|
227
223
|
status: Status;
|
|
228
224
|
organisation_id: string;
|
|
229
225
|
user_id: string;
|
|
230
226
|
vehicle_id: string;
|
|
231
227
|
driver_id: string;
|
|
232
228
|
device_id: string;
|
|
229
|
+
time_zone_id: string;
|
|
233
230
|
vehicle_fuel_type_id: string;
|
|
234
231
|
vehicle_fuel_unit_id: string;
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
232
|
+
date_time: string;
|
|
233
|
+
admin_verify_status: GPSFuelApproveStatus;
|
|
234
|
+
transporter_verify_status: GPSFuelApproveStatus;
|
|
235
|
+
fuel_removal_reason_id: string;
|
|
236
|
+
latitude?: unknown;
|
|
237
|
+
longitude?: unknown;
|
|
238
|
+
google_location?: string | undefined;
|
|
241
239
|
odometer_reading?: unknown;
|
|
242
240
|
cost_per_unit?: unknown;
|
|
243
241
|
total_cost?: unknown;
|
|
244
|
-
removal_details?: string | undefined;
|
|
245
242
|
entry_source?: RefillEntrySource | undefined;
|
|
246
243
|
source_reference_id?: string | undefined;
|
|
247
244
|
source_notes?: string | undefined;
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
245
|
+
before_removal_quantity?: unknown;
|
|
246
|
+
after_removal_quantity?: unknown;
|
|
247
|
+
removal_quantity?: unknown;
|
|
248
|
+
verified_removal_quantity?: unknown;
|
|
249
|
+
diff_removal_quantity?: unknown;
|
|
250
|
+
removal_details?: string | undefined;
|
|
251
251
|
FleetFuelRemovalFileSchema?: {
|
|
252
|
-
fleet_fuel_removal_id: string;
|
|
253
252
|
status: Status;
|
|
254
253
|
organisation_id: string;
|
|
255
254
|
usage_type: string;
|
|
256
255
|
file_type: FileType;
|
|
256
|
+
fleet_fuel_removal_id: string;
|
|
257
257
|
file_url?: string | undefined;
|
|
258
258
|
file_key?: string | undefined;
|
|
259
259
|
file_name?: string | undefined;
|
|
@@ -309,11 +309,7 @@ declare const FleetFuelRemovalQuerySchema: 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
|
-
admin_verify_status: GPSFuelApproveStatus[];
|
|
313
|
-
transporter_verify_status: GPSFuelApproveStatus[];
|
|
314
|
-
entry_source: RefillEntrySource[];
|
|
315
312
|
status: Status[];
|
|
316
|
-
time_zone_id: string;
|
|
317
313
|
search: string;
|
|
318
314
|
paging: PAGING;
|
|
319
315
|
page_count: number;
|
|
@@ -333,25 +329,26 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
|
|
|
333
329
|
}[];
|
|
334
330
|
include_master_data: YesNo;
|
|
335
331
|
date_format_id: string;
|
|
336
|
-
|
|
332
|
+
time_zone_id: string;
|
|
337
333
|
organisation_ids: string[];
|
|
338
334
|
user_ids: string[];
|
|
339
335
|
vehicle_ids: string[];
|
|
340
336
|
driver_ids: string[];
|
|
341
337
|
device_ids: string[];
|
|
338
|
+
from_date: string;
|
|
339
|
+
to_date: string;
|
|
342
340
|
vehicle_fuel_type_ids: string[];
|
|
343
341
|
vehicle_fuel_unit_ids: string[];
|
|
342
|
+
admin_verify_status: GPSFuelApproveStatus[];
|
|
343
|
+
transporter_verify_status: GPSFuelApproveStatus[];
|
|
344
|
+
entry_source: RefillEntrySource[];
|
|
344
345
|
fuel_removal_reason_ids: string[];
|
|
345
|
-
|
|
346
|
-
to_date: string;
|
|
346
|
+
fleet_fuel_removal_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
|
-
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
353
|
-
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
354
|
-
entry_source?: RefillEntrySource[] | undefined;
|
|
355
352
|
status?: Status[] | undefined;
|
|
356
353
|
search?: string | undefined;
|
|
357
354
|
paging?: PAGING | undefined;
|
|
@@ -371,7 +368,6 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
|
|
|
371
368
|
direction: OrderBy;
|
|
372
369
|
}[] | undefined;
|
|
373
370
|
include_master_data?: YesNo | undefined;
|
|
374
|
-
fleet_fuel_removal_ids?: string[] | undefined;
|
|
375
371
|
organisation_ids?: string[] | undefined;
|
|
376
372
|
user_ids?: string[] | undefined;
|
|
377
373
|
vehicle_ids?: string[] | undefined;
|
|
@@ -379,7 +375,11 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
|
|
|
379
375
|
device_ids?: string[] | undefined;
|
|
380
376
|
vehicle_fuel_type_ids?: string[] | undefined;
|
|
381
377
|
vehicle_fuel_unit_ids?: string[] | undefined;
|
|
378
|
+
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
379
|
+
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
380
|
+
entry_source?: RefillEntrySource[] | undefined;
|
|
382
381
|
fuel_removal_reason_ids?: string[] | undefined;
|
|
382
|
+
fleet_fuel_removal_ids?: string[] | undefined;
|
|
383
383
|
}>;
|
|
384
384
|
type FleetFuelRemovalQueryDTO = z.infer<typeof FleetFuelRemovalQuerySchema>;
|
|
385
385
|
declare const toFleetFuelRemovalPayload: (row: FleetFuelRemoval) => FleetFuelRemovalDTO;
|
|
@@ -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-C2mgWnod.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
|
-
vehicle_id: string;
|
|
226
|
-
driver_id: string;
|
|
227
|
-
time_zone_id: string;
|
|
228
|
-
google_location: string;
|
|
229
|
-
user_id: 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
|
-
vehicle_id: string;
|
|
278
|
-
driver_id: string;
|
|
279
|
-
time_zone_id: string;
|
|
280
|
-
user_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,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,25 +410,15 @@ 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[];
|
|
415
|
+
user_ids: string[];
|
|
404
416
|
vehicle_ids: string[];
|
|
405
417
|
driver_ids: string[];
|
|
406
|
-
user_ids: string[];
|
|
407
|
-
fleet_insurance_claim_status_ids: string[];
|
|
408
|
-
fleet_incident_severity_ids: string[];
|
|
409
|
-
fleet_incident_status_ids: string[];
|
|
410
418
|
fleet_incident_type_ids: string[];
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
incident_weather: IncidentWeather[];
|
|
415
|
-
incident_road_type: IncidentRoadType[];
|
|
416
|
-
incident_visibility: IncidentVisibility[];
|
|
417
|
-
insurance_cover: YesNo[];
|
|
418
|
-
insurance_claimed: YesNo[];
|
|
419
|
-
police_report_filed: YesNo[];
|
|
420
|
-
any_injuries: YesNo[];
|
|
421
|
-
vehicle_incident_ids: string[];
|
|
419
|
+
fleet_incident_status_ids: string[];
|
|
420
|
+
fleet_incident_severity_ids: string[];
|
|
421
|
+
fleet_insurance_claim_status_ids: string[];
|
|
422
422
|
from_date: string;
|
|
423
423
|
to_date: string;
|
|
424
424
|
}, {
|
|
@@ -426,6 +426,16 @@ declare const FleetIncidentManagementQuerySchema: z.ZodObject<{
|
|
|
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;
|
|
460
|
+
user_ids?: string[] | undefined;
|
|
449
461
|
vehicle_ids?: string[] | undefined;
|
|
450
462
|
driver_ids?: string[] | undefined;
|
|
451
|
-
user_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
|
}>;
|
|
@@ -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
|
-
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
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
|
-
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;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '../../../core/Enums.js';
|
|
2
2
|
import '../../../core/BaseResponse.js';
|
|
3
3
|
import 'zod';
|
|
4
|
-
import '../../../user_organisation_service-
|
|
4
|
+
import '../../../user_organisation_service-C2mgWnod.js';
|
|
5
5
|
export { q as FleetInspectionForm, w as FleetInspectionFormDTO, y as FleetInspectionFormQueryDTO, x as FleetInspectionFormQuerySchema, v as FleetInspectionFormSchema, s as FleetInspectionFormSimple, C as createFleetInspectionForm, E as deleteFleetInspectionForm, B as findFleetInspectionForm, G as getFleetInspectionFormCacheSimple, A as newFleetInspectionFormPayload, z as toFleetInspectionFormPayload, D as updateFleetInspectionForm } from './fleet_inspection_schedule_service.js';
|
|
6
6
|
import '../../../zod_utils/zod_base_schema.js';
|
|
7
7
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
@@ -2,7 +2,7 @@ import '../../../core/Enums.js';
|
|
|
2
2
|
import '../../../core/BaseResponse.js';
|
|
3
3
|
import 'zod';
|
|
4
4
|
import '../../../zod_utils/zod_base_schema.js';
|
|
5
|
-
import '../../../user_organisation_service-
|
|
5
|
+
import '../../../user_organisation_service-C2mgWnod.js';
|
|
6
6
|
import '../issue_management/issue_management_service.js';
|
|
7
7
|
import '../service_management/fleet_service_management_service.js';
|
|
8
8
|
export { F as FleetInspection, i as FleetInspectionCheckPendingQueryDTO, h as FleetInspectionCheckPendingQuerySchema, e as FleetInspectionDTO, a as FleetInspectionFile, c as FleetInspectionFileDTO, b as FleetInspectionFileSchema, g as FleetInspectionQueryDTO, f as FleetInspectionQuerySchema, d as FleetInspectionSchema, o as createFleetInspection, k as create_service_file, p as deleteFleetInspection, l as findFleetInspection, m as find_check_pending, j as get_inspection_file_presigned_url, n as newFleetInspectionPayload, r as remove_service_file, t as toFleetInspectionPayload, u as updateFleetInspection } from './fleet_inspection_schedule_service.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo, InspectionType, InspectionPriority, InspectionStatus, FileType, InspectionActionStatus } from '../../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR, BaseCommonFile, BR, AWSPresignedUrl } from '../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver } from '../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver } from '../../../user_organisation_service-C2mgWnod.js';
|
|
5
5
|
import { FilePresignedUrlDTO } from '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import { FleetIssueManagement } from '../issue_management/issue_management_service.js';
|
|
7
7
|
import { FleetServiceManagement } from '../service_management/fleet_service_management_service.js';
|
|
@@ -2,7 +2,7 @@ import { IssueStatus, Priority, IssueSeverity, IssueSource, Status, FileType, PA
|
|
|
2
2
|
import { BaseCommonFile, BR, AWSPresignedUrl, SBR, FBR } from '../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { FilePresignedUrlDTO } from '../../../zod_utils/zod_base_schema.js';
|
|
5
|
-
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver } from '../../../user_organisation_service-
|
|
5
|
+
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver } from '../../../user_organisation_service-C2mgWnod.js';
|
|
6
6
|
import { FleetIncidentManagement } from '../incident_management/incident_management_service.js';
|
|
7
7
|
import { FleetServiceManagement } from '../service_management/fleet_service_management_service.js';
|
|
8
8
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
@@ -194,15 +194,14 @@ declare const FleetIssueManagementSchema: z.ZodObject<{
|
|
|
194
194
|
file_metadata?: Record<string, any> | undefined;
|
|
195
195
|
}>, "many">>>;
|
|
196
196
|
}, "strip", z.ZodTypeAny, {
|
|
197
|
-
|
|
197
|
+
service_management_id: string;
|
|
198
198
|
odometer_reading: number;
|
|
199
199
|
status: Status;
|
|
200
200
|
organisation_id: string;
|
|
201
|
+
user_id: string;
|
|
201
202
|
vehicle_id: string;
|
|
202
203
|
driver_id: string;
|
|
203
|
-
service_management_id: string;
|
|
204
204
|
time_zone_id: string;
|
|
205
|
-
user_id: string;
|
|
206
205
|
vehicle_incident_id: string;
|
|
207
206
|
issue_title: string;
|
|
208
207
|
issue_description: string;
|
|
@@ -214,6 +213,7 @@ declare const FleetIssueManagementSchema: z.ZodObject<{
|
|
|
214
213
|
due_date: string;
|
|
215
214
|
due_odometer_reading: number;
|
|
216
215
|
issue_source: IssueSource;
|
|
216
|
+
inspection_id: string;
|
|
217
217
|
FleetIssueManagementFileSchema: {
|
|
218
218
|
status: Status;
|
|
219
219
|
organisation_id: string;
|
|
@@ -228,14 +228,13 @@ declare const FleetIssueManagementSchema: z.ZodObject<{
|
|
|
228
228
|
vehicle_issue_id: string;
|
|
229
229
|
}[];
|
|
230
230
|
}, {
|
|
231
|
-
|
|
231
|
+
service_management_id: string;
|
|
232
232
|
status: Status;
|
|
233
233
|
organisation_id: string;
|
|
234
|
+
user_id: string;
|
|
234
235
|
vehicle_id: string;
|
|
235
236
|
driver_id: string;
|
|
236
|
-
service_management_id: string;
|
|
237
237
|
time_zone_id: string;
|
|
238
|
-
user_id: string;
|
|
239
238
|
vehicle_incident_id: string;
|
|
240
239
|
issue_title: string;
|
|
241
240
|
issue_status: IssueStatus;
|
|
@@ -243,6 +242,7 @@ declare const FleetIssueManagementSchema: z.ZodObject<{
|
|
|
243
242
|
issue_severity: IssueSeverity;
|
|
244
243
|
report_date: string;
|
|
245
244
|
issue_source: IssueSource;
|
|
245
|
+
inspection_id: string;
|
|
246
246
|
odometer_reading?: unknown;
|
|
247
247
|
issue_description?: string | undefined;
|
|
248
248
|
resolved_date?: string | undefined;
|
|
@@ -330,20 +330,20 @@ declare const FleetIssueManagementQuerySchema: z.ZodObject<{
|
|
|
330
330
|
}[];
|
|
331
331
|
include_master_data: YesNo;
|
|
332
332
|
date_format_id: string;
|
|
333
|
-
|
|
333
|
+
service_management_ids: string[];
|
|
334
334
|
organisation_ids: string[];
|
|
335
|
+
user_ids: string[];
|
|
335
336
|
vehicle_ids: string[];
|
|
336
337
|
driver_ids: string[];
|
|
337
|
-
service_management_ids: string[];
|
|
338
|
-
user_ids: string[];
|
|
339
|
-
vehicle_incident_ids: string[];
|
|
340
338
|
from_date: string;
|
|
341
339
|
to_date: string;
|
|
340
|
+
vehicle_incident_ids: string[];
|
|
342
341
|
issue_status: IssueStatus[];
|
|
343
342
|
issue_priority: Priority[];
|
|
344
343
|
issue_severity: IssueSeverity[];
|
|
345
344
|
issue_source: IssueSource[];
|
|
346
345
|
vehicle_issue_ids: string[];
|
|
346
|
+
inspection_ids: string[];
|
|
347
347
|
}, {
|
|
348
348
|
time_zone_id: string;
|
|
349
349
|
date_format_id: string;
|
|
@@ -368,18 +368,18 @@ declare const FleetIssueManagementQuerySchema: z.ZodObject<{
|
|
|
368
368
|
direction: OrderBy;
|
|
369
369
|
}[] | undefined;
|
|
370
370
|
include_master_data?: YesNo | undefined;
|
|
371
|
-
|
|
371
|
+
service_management_ids?: string[] | undefined;
|
|
372
372
|
organisation_ids?: string[] | undefined;
|
|
373
|
+
user_ids?: string[] | undefined;
|
|
373
374
|
vehicle_ids?: string[] | undefined;
|
|
374
375
|
driver_ids?: string[] | undefined;
|
|
375
|
-
service_management_ids?: string[] | undefined;
|
|
376
|
-
user_ids?: string[] | undefined;
|
|
377
376
|
vehicle_incident_ids?: string[] | undefined;
|
|
378
377
|
issue_status?: IssueStatus[] | undefined;
|
|
379
378
|
issue_priority?: Priority[] | undefined;
|
|
380
379
|
issue_severity?: IssueSeverity[] | undefined;
|
|
381
380
|
issue_source?: IssueSource[] | undefined;
|
|
382
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<{
|