vms-nest-prisma-api-document 250.0.0 → 270.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/services/account/analytics/user_login_analytics_service.d.ts +3 -3
- package/dist/services/account/analytics/user_page_analytics_service.d.ts +1 -1
- package/dist/services/account/bookmark_service.d.ts +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 +1 -1
- package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.d.ts +5 -5
- package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +1 -1
- 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 -3
- package/dist/services/fleet/inspection_management/fleet_inspection_management_service.d.ts +1 -3
- package/dist/services/fleet/inspection_management/fleet_inspection_schedule_service.d.ts +49 -51
- package/dist/services/fleet/issue_management/issue_management_service.d.ts +19 -21
- package/dist/services/fleet/service_management/fleet_service_management_service.d.ts +5 -660
- package/dist/services/fleet/service_management/fleet_service_schedule_service.d.ts +1 -3
- package/dist/services/fleet/vendor_management/fleet_vendor_fuel_station.d.ts +1 -1
- package/dist/services/fleet/vendor_management/fleet_vendor_fuel_station.js +17 -26
- package/dist/services/fleet/vendor_management/fleet_vendor_service.d.ts +1 -1
- package/dist/services/fleet/vendor_management/fleet_vendor_service.js +5 -15
- package/dist/services/fleet/vendor_management/fleet_vendor_service_center.d.ts +1 -1
- package/dist/services/fleet/vendor_management/fleet_vendor_service_center.js +14 -6
- package/dist/services/gps/features/geofence/gps_geofence_service.d.ts +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 +4 -127
- package/dist/services/master/main/master_main_country_service.d.ts +1 -1
- package/dist/services/master/main/master_main_currency_service.d.ts +1 -1
- package/dist/services/master/main/master_main_date_format_service.d.ts +1 -1
- package/dist/services/master/main/master_main_eway_bill_provider_service.d.ts +2 -2
- package/dist/services/master/main/master_main_fasttag_bank_service.d.ts +2 -2
- package/dist/services/master/main/master_main_industry_service.d.ts +1 -1
- package/dist/services/master/main/master_main_landmark_service.d.ts +1 -1
- package/dist/services/master/main/master_main_language_service.d.ts +1 -1
- package/dist/services/master/main/master_main_state_service.d.ts +1 -1
- package/dist/services/master/main/master_main_timezone_service.d.ts +1 -1
- package/dist/services/master/main/master_main_unit_distance_service.d.ts +1 -1
- package/dist/services/master/main/master_main_unit_mileage_service.d.ts +1 -1
- package/dist/services/master/main/master_main_unit_volume_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_branch_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_color_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_group_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_sub_company_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_tag_service.d.ts +1 -1
- package/dist/services/master/spare_part/master_spare_part_category_service.d.ts +1 -1
- package/dist/services/master/spare_part/master_spare_part_sub_category_service.d.ts +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 +1 -1
- 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-CqR_hga1.d.ts → user_organisation_service-DnO03t9F.d.ts} +1012 -235
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import { YesNo, IncidentTime, IncidentWeather, IncidentRoadType, IncidentVisibil
|
|
|
2
2
|
import { BaseCommonFile, BR, AWSPresignedUrl, SBR, FBR } from '../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { FilePresignedUrlDTO } from '../../../zod_utils/zod_base_schema.js';
|
|
5
|
-
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver } from '../../../user_organisation_service-
|
|
5
|
+
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver } from '../../../user_organisation_service-DnO03t9F.js';
|
|
6
6
|
import { MasterFleetInsuranceClaimStatus } from '../../master/fleet/master_fleet_insurance_claim_status_service.js';
|
|
7
7
|
import { MasterFleetIncidentSeverity } from '../../master/fleet/master_fleet_incident_severity_service.js';
|
|
8
8
|
import { MasterFleetIncidentStatus } from '../../master/fleet/master_fleet_incident_status_service.js';
|
|
@@ -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-DnO03t9F.js';
|
|
5
5
|
export { q as FleetInspectionForm, w as FleetInspectionFormDTO, y as FleetInspectionFormQueryDTO, x as FleetInspectionFormQuerySchema, v as FleetInspectionFormSchema, s as FleetInspectionFormSimple, C as createFleetInspectionForm, E as deleteFleetInspectionForm, B as findFleetInspectionForm, G as getFleetInspectionFormCacheSimple, A as newFleetInspectionFormPayload, z as toFleetInspectionFormPayload, D as updateFleetInspectionForm } from './fleet_inspection_schedule_service.js';
|
|
6
6
|
import '../../../zod_utils/zod_base_schema.js';
|
|
7
7
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
@@ -12,5 +12,3 @@ import '../../master/fleet/master_fleet_incident_severity_service.js';
|
|
|
12
12
|
import '../../master/fleet/master_fleet_incident_status_service.js';
|
|
13
13
|
import '../../master/fleet/master_fleet_incident_type_service.js';
|
|
14
14
|
import '../../master/expense/master_expense_name_service.js';
|
|
15
|
-
import '../service_management/fleet_service_management_service.js';
|
|
16
|
-
import '../../master/fleet/master_fleet_service_task_service.js';
|
|
@@ -2,9 +2,8 @@ import '../../../core/Enums.js';
|
|
|
2
2
|
import '../../../core/BaseResponse.js';
|
|
3
3
|
import 'zod';
|
|
4
4
|
import '../../../zod_utils/zod_base_schema.js';
|
|
5
|
-
import '../../../user_organisation_service-
|
|
5
|
+
import '../../../user_organisation_service-DnO03t9F.js';
|
|
6
6
|
import '../issue_management/issue_management_service.js';
|
|
7
|
-
import '../service_management/fleet_service_management_service.js';
|
|
8
7
|
export { F as FleetInspection, i as FleetInspectionCheckPendingQueryDTO, h as FleetInspectionCheckPendingQuerySchema, e as FleetInspectionDTO, a as FleetInspectionFile, c as FleetInspectionFileDTO, b as FleetInspectionFileSchema, g as FleetInspectionQueryDTO, f as FleetInspectionQuerySchema, d as FleetInspectionSchema, o as createFleetInspection, k as create_service_file, p as deleteFleetInspection, l as findFleetInspection, m as find_check_pending, j as get_inspection_file_presigned_url, n as newFleetInspectionPayload, r as remove_service_file, t as toFleetInspectionPayload, u as updateFleetInspection } from './fleet_inspection_schedule_service.js';
|
|
9
8
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
10
9
|
import '../incident_management/incident_management_service.js';
|
|
@@ -13,4 +12,3 @@ import '../../master/fleet/master_fleet_incident_severity_service.js';
|
|
|
13
12
|
import '../../master/fleet/master_fleet_incident_status_service.js';
|
|
14
13
|
import '../../master/fleet/master_fleet_incident_type_service.js';
|
|
15
14
|
import '../../master/expense/master_expense_name_service.js';
|
|
16
|
-
import '../../master/fleet/master_fleet_service_task_service.js';
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo, InspectionType, InspectionPriority, InspectionStatus, FileType, InspectionActionStatus } from '../../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR, BaseCommonFile, BR, AWSPresignedUrl } from '../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver } from '../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, F as FleetServiceManagement } from '../../../user_organisation_service-DnO03t9F.js';
|
|
5
5
|
import { FilePresignedUrlDTO } from '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import { FleetIssueManagement } from '../issue_management/issue_management_service.js';
|
|
7
|
-
import { FleetServiceManagement } from '../service_management/fleet_service_management_service.js';
|
|
8
7
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
9
8
|
import '../incident_management/incident_management_service.js';
|
|
10
9
|
import '../../master/fleet/master_fleet_insurance_claim_status_service.js';
|
|
@@ -12,7 +11,6 @@ import '../../master/fleet/master_fleet_incident_severity_service.js';
|
|
|
12
11
|
import '../../master/fleet/master_fleet_incident_status_service.js';
|
|
13
12
|
import '../../master/fleet/master_fleet_incident_type_service.js';
|
|
14
13
|
import '../../master/expense/master_expense_name_service.js';
|
|
15
|
-
import '../../master/fleet/master_fleet_service_task_service.js';
|
|
16
14
|
|
|
17
15
|
interface FleetInspectionSchedule extends Record<string, unknown> {
|
|
18
16
|
inspection_schedule_id: string;
|
|
@@ -61,23 +59,23 @@ declare const FleetInspectionScheduleSchema: z.ZodObject<{
|
|
|
61
59
|
}, "strip", z.ZodTypeAny, {
|
|
62
60
|
status: Status;
|
|
63
61
|
organisation_id: string;
|
|
64
|
-
inspection_schedule_name: string;
|
|
65
|
-
inspection_schedule_start_date: string;
|
|
66
|
-
inspection_schedule_due_date: string;
|
|
67
62
|
time_zone_id: string;
|
|
68
63
|
vehicle_ids: string[];
|
|
69
64
|
user_id: string;
|
|
65
|
+
inspection_schedule_name: string;
|
|
70
66
|
inspection_schedule_description: string;
|
|
67
|
+
inspection_schedule_start_date: string;
|
|
68
|
+
inspection_schedule_due_date: string;
|
|
71
69
|
}, {
|
|
72
70
|
status: Status;
|
|
73
71
|
organisation_id: string;
|
|
74
|
-
inspection_schedule_name: string;
|
|
75
72
|
time_zone_id: string;
|
|
76
73
|
user_id: string;
|
|
77
|
-
|
|
78
|
-
inspection_schedule_due_date?: string | undefined;
|
|
74
|
+
inspection_schedule_name: string;
|
|
79
75
|
vehicle_ids?: string[] | undefined;
|
|
80
76
|
inspection_schedule_description?: string | undefined;
|
|
77
|
+
inspection_schedule_start_date?: string | undefined;
|
|
78
|
+
inspection_schedule_due_date?: string | undefined;
|
|
81
79
|
}>;
|
|
82
80
|
type FleetInspectionScheduleDTO = z.infer<typeof FleetInspectionScheduleSchema>;
|
|
83
81
|
declare const FleetInspectionScheduleQuerySchema: z.ZodObject<{
|
|
@@ -115,7 +113,6 @@ declare const FleetInspectionScheduleQuerySchema: z.ZodObject<{
|
|
|
115
113
|
organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
116
114
|
}, "strip", z.ZodTypeAny, {
|
|
117
115
|
status: Status[];
|
|
118
|
-
time_zone_id: string;
|
|
119
116
|
search: string;
|
|
120
117
|
paging: PAGING;
|
|
121
118
|
page_count: number;
|
|
@@ -135,11 +132,12 @@ declare const FleetInspectionScheduleQuerySchema: z.ZodObject<{
|
|
|
135
132
|
}[];
|
|
136
133
|
include_master_data: YesNo;
|
|
137
134
|
date_format_id: string;
|
|
135
|
+
time_zone_id: string;
|
|
138
136
|
organisation_ids: string[];
|
|
139
137
|
inspection_schedule_ids: string[];
|
|
140
138
|
}, {
|
|
141
|
-
time_zone_id: string;
|
|
142
139
|
date_format_id: string;
|
|
140
|
+
time_zone_id: string;
|
|
143
141
|
status?: Status[] | undefined;
|
|
144
142
|
search?: string | undefined;
|
|
145
143
|
paging?: PAGING | undefined;
|
|
@@ -231,7 +229,6 @@ declare const FleetInspectionFileSchema: z.ZodObject<{
|
|
|
231
229
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
232
230
|
inspection_id: z.ZodEffects<z.ZodString, string, string>;
|
|
233
231
|
}, "strip", z.ZodTypeAny, {
|
|
234
|
-
inspection_id: string;
|
|
235
232
|
status: Status;
|
|
236
233
|
organisation_id: string;
|
|
237
234
|
usage_type: string;
|
|
@@ -242,12 +239,13 @@ declare const FleetInspectionFileSchema: z.ZodObject<{
|
|
|
242
239
|
file_description: string;
|
|
243
240
|
file_size: number;
|
|
244
241
|
file_metadata: Record<string, any>;
|
|
245
|
-
}, {
|
|
246
242
|
inspection_id: string;
|
|
243
|
+
}, {
|
|
247
244
|
status: Status;
|
|
248
245
|
organisation_id: string;
|
|
249
246
|
usage_type: string;
|
|
250
247
|
file_type: FileType;
|
|
248
|
+
inspection_id: string;
|
|
251
249
|
file_url?: string | undefined;
|
|
252
250
|
file_key?: string | undefined;
|
|
253
251
|
file_name?: string | undefined;
|
|
@@ -285,7 +283,6 @@ declare const FleetInspectionSchema: z.ZodObject<{
|
|
|
285
283
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
286
284
|
inspection_id: z.ZodEffects<z.ZodString, string, string>;
|
|
287
285
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
288
|
-
inspection_id: string;
|
|
289
286
|
status: Status;
|
|
290
287
|
organisation_id: string;
|
|
291
288
|
usage_type: string;
|
|
@@ -296,12 +293,13 @@ declare const FleetInspectionSchema: z.ZodObject<{
|
|
|
296
293
|
file_description: string;
|
|
297
294
|
file_size: number;
|
|
298
295
|
file_metadata: Record<string, any>;
|
|
299
|
-
}, {
|
|
300
296
|
inspection_id: string;
|
|
297
|
+
}, {
|
|
301
298
|
status: Status;
|
|
302
299
|
organisation_id: string;
|
|
303
300
|
usage_type: string;
|
|
304
301
|
file_type: FileType;
|
|
302
|
+
inspection_id: string;
|
|
305
303
|
file_url?: string | undefined;
|
|
306
304
|
file_key?: string | undefined;
|
|
307
305
|
file_name?: string | undefined;
|
|
@@ -310,22 +308,21 @@ declare const FleetInspectionSchema: z.ZodObject<{
|
|
|
310
308
|
file_metadata?: Record<string, any> | undefined;
|
|
311
309
|
}>, "many">>>;
|
|
312
310
|
}, "strip", z.ZodTypeAny, {
|
|
311
|
+
inspection_form_id: string;
|
|
312
|
+
status: Status;
|
|
313
|
+
organisation_id: string;
|
|
314
|
+
time_zone_id: string;
|
|
315
|
+
driver_id: string;
|
|
316
|
+
vehicle_id: string;
|
|
317
|
+
service_management_id: string;
|
|
318
|
+
odometer_reading: number;
|
|
313
319
|
inspection_type: InspectionType;
|
|
314
320
|
inspection_date: string;
|
|
315
321
|
inspection_priority: InspectionPriority;
|
|
316
322
|
inspection_status: InspectionStatus;
|
|
317
|
-
odometer_reading: number;
|
|
318
|
-
status: Status;
|
|
319
|
-
organisation_id: string;
|
|
320
|
-
vehicle_id: string;
|
|
321
|
-
driver_id: string;
|
|
322
323
|
inspector_id: string;
|
|
323
|
-
inspection_form_id: string;
|
|
324
324
|
inspection_data: Record<string, any>;
|
|
325
|
-
service_management_id: string;
|
|
326
|
-
time_zone_id: string;
|
|
327
325
|
FleetInspectionFileSchema: {
|
|
328
|
-
inspection_id: string;
|
|
329
326
|
status: Status;
|
|
330
327
|
organisation_id: string;
|
|
331
328
|
usage_type: string;
|
|
@@ -336,28 +333,29 @@ declare const FleetInspectionSchema: z.ZodObject<{
|
|
|
336
333
|
file_description: string;
|
|
337
334
|
file_size: number;
|
|
338
335
|
file_metadata: Record<string, any>;
|
|
336
|
+
inspection_id: string;
|
|
339
337
|
}[];
|
|
340
338
|
}, {
|
|
339
|
+
inspection_form_id: string;
|
|
340
|
+
status: Status;
|
|
341
|
+
organisation_id: string;
|
|
342
|
+
time_zone_id: string;
|
|
343
|
+
driver_id: string;
|
|
344
|
+
vehicle_id: string;
|
|
345
|
+
service_management_id: string;
|
|
341
346
|
inspection_type: InspectionType;
|
|
342
347
|
inspection_date: string;
|
|
343
348
|
inspection_priority: InspectionPriority;
|
|
344
349
|
inspection_status: InspectionStatus;
|
|
345
|
-
status: Status;
|
|
346
|
-
organisation_id: string;
|
|
347
|
-
vehicle_id: string;
|
|
348
|
-
driver_id: string;
|
|
349
350
|
inspector_id: string;
|
|
350
|
-
inspection_form_id: string;
|
|
351
|
-
service_management_id: string;
|
|
352
|
-
time_zone_id: string;
|
|
353
351
|
odometer_reading?: unknown;
|
|
354
352
|
inspection_data?: Record<string, any> | undefined;
|
|
355
353
|
FleetInspectionFileSchema?: {
|
|
356
|
-
inspection_id: string;
|
|
357
354
|
status: Status;
|
|
358
355
|
organisation_id: string;
|
|
359
356
|
usage_type: string;
|
|
360
357
|
file_type: FileType;
|
|
358
|
+
inspection_id: string;
|
|
361
359
|
file_url?: string | undefined;
|
|
362
360
|
file_key?: string | undefined;
|
|
363
361
|
file_name?: string | undefined;
|
|
@@ -410,11 +408,7 @@ declare const FleetInspectionQuerySchema: z.ZodObject<{
|
|
|
410
408
|
inspection_status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof InspectionStatus>, "many">>>;
|
|
411
409
|
inspection_action_status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof InspectionActionStatus>, "many">>>;
|
|
412
410
|
}, "strip", z.ZodTypeAny, {
|
|
413
|
-
inspection_type: InspectionType[];
|
|
414
|
-
inspection_priority: InspectionPriority[];
|
|
415
|
-
inspection_status: InspectionStatus[];
|
|
416
411
|
status: Status[];
|
|
417
|
-
time_zone_id: string;
|
|
418
412
|
search: string;
|
|
419
413
|
paging: PAGING;
|
|
420
414
|
page_count: number;
|
|
@@ -434,20 +428,21 @@ declare const FleetInspectionQuerySchema: z.ZodObject<{
|
|
|
434
428
|
}[];
|
|
435
429
|
include_master_data: YesNo;
|
|
436
430
|
date_format_id: string;
|
|
437
|
-
|
|
431
|
+
time_zone_id: string;
|
|
438
432
|
organisation_ids: string[];
|
|
433
|
+
inspection_form_ids: string[];
|
|
439
434
|
vehicle_ids: string[];
|
|
440
435
|
driver_ids: string[];
|
|
441
|
-
inspection_form_ids: string[];
|
|
442
436
|
service_management_ids: string[];
|
|
437
|
+
inspection_ids: string[];
|
|
443
438
|
inspection_schedule_ids: string[];
|
|
439
|
+
inspection_type: InspectionType[];
|
|
440
|
+
inspection_priority: InspectionPriority[];
|
|
441
|
+
inspection_status: InspectionStatus[];
|
|
444
442
|
inspection_action_status: InspectionActionStatus[];
|
|
445
443
|
}, {
|
|
446
|
-
time_zone_id: string;
|
|
447
444
|
date_format_id: string;
|
|
448
|
-
|
|
449
|
-
inspection_priority?: InspectionPriority[] | undefined;
|
|
450
|
-
inspection_status?: InspectionStatus[] | undefined;
|
|
445
|
+
time_zone_id: string;
|
|
451
446
|
status?: Status[] | undefined;
|
|
452
447
|
search?: string | undefined;
|
|
453
448
|
paging?: PAGING | undefined;
|
|
@@ -467,13 +462,16 @@ declare const FleetInspectionQuerySchema: z.ZodObject<{
|
|
|
467
462
|
direction: OrderBy;
|
|
468
463
|
}[] | undefined;
|
|
469
464
|
include_master_data?: YesNo | undefined;
|
|
470
|
-
inspection_ids?: string[] | undefined;
|
|
471
465
|
organisation_ids?: string[] | undefined;
|
|
466
|
+
inspection_form_ids?: string[] | undefined;
|
|
472
467
|
vehicle_ids?: string[] | undefined;
|
|
473
468
|
driver_ids?: string[] | undefined;
|
|
474
|
-
inspection_form_ids?: string[] | undefined;
|
|
475
469
|
service_management_ids?: string[] | undefined;
|
|
470
|
+
inspection_ids?: string[] | undefined;
|
|
476
471
|
inspection_schedule_ids?: string[] | undefined;
|
|
472
|
+
inspection_type?: InspectionType[] | undefined;
|
|
473
|
+
inspection_priority?: InspectionPriority[] | undefined;
|
|
474
|
+
inspection_status?: InspectionStatus[] | undefined;
|
|
477
475
|
inspection_action_status?: InspectionActionStatus[] | undefined;
|
|
478
476
|
}>;
|
|
479
477
|
type FleetInspectionQueryDTO = z.infer<typeof FleetInspectionQuerySchema>;
|
|
@@ -511,7 +509,6 @@ declare const FleetInspectionCheckPendingQuerySchema: z.ZodObject<{
|
|
|
511
509
|
vehicle_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
512
510
|
}, "strip", z.ZodTypeAny, {
|
|
513
511
|
status: Status[];
|
|
514
|
-
time_zone_id: string;
|
|
515
512
|
search: string;
|
|
516
513
|
paging: PAGING;
|
|
517
514
|
page_count: number;
|
|
@@ -531,10 +528,11 @@ declare const FleetInspectionCheckPendingQuerySchema: z.ZodObject<{
|
|
|
531
528
|
}[];
|
|
532
529
|
include_master_data: YesNo;
|
|
533
530
|
date_format_id: string;
|
|
531
|
+
time_zone_id: string;
|
|
534
532
|
vehicle_ids: string[];
|
|
535
533
|
}, {
|
|
536
|
-
time_zone_id: string;
|
|
537
534
|
date_format_id: string;
|
|
535
|
+
time_zone_id: string;
|
|
538
536
|
status?: Status[] | undefined;
|
|
539
537
|
search?: string | undefined;
|
|
540
538
|
paging?: PAGING | undefined;
|
|
@@ -592,14 +590,14 @@ declare const FleetInspectionFormSchema: z.ZodObject<{
|
|
|
592
590
|
inspection_form_fields: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
593
591
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
594
592
|
}, "strip", z.ZodTypeAny, {
|
|
595
|
-
status: Status;
|
|
596
|
-
organisation_id: string;
|
|
597
593
|
inspection_form_name: string;
|
|
598
594
|
inspection_form_fields: Record<string, any>;
|
|
599
|
-
}, {
|
|
600
595
|
status: Status;
|
|
601
596
|
organisation_id: string;
|
|
597
|
+
}, {
|
|
602
598
|
inspection_form_name: string;
|
|
599
|
+
status: Status;
|
|
600
|
+
organisation_id: string;
|
|
603
601
|
inspection_form_fields?: Record<string, any> | undefined;
|
|
604
602
|
}>;
|
|
605
603
|
type FleetInspectionFormDTO = z.infer<typeof FleetInspectionFormSchema>;
|
|
@@ -638,7 +636,6 @@ declare const FleetInspectionFormQuerySchema: z.ZodObject<{
|
|
|
638
636
|
inspection_form_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
639
637
|
}, "strip", z.ZodTypeAny, {
|
|
640
638
|
status: Status[];
|
|
641
|
-
time_zone_id: string;
|
|
642
639
|
search: string;
|
|
643
640
|
paging: PAGING;
|
|
644
641
|
page_count: number;
|
|
@@ -658,11 +655,12 @@ declare const FleetInspectionFormQuerySchema: z.ZodObject<{
|
|
|
658
655
|
}[];
|
|
659
656
|
include_master_data: YesNo;
|
|
660
657
|
date_format_id: string;
|
|
658
|
+
time_zone_id: string;
|
|
661
659
|
organisation_ids: string[];
|
|
662
660
|
inspection_form_ids: string[];
|
|
663
661
|
}, {
|
|
664
|
-
time_zone_id: string;
|
|
665
662
|
date_format_id: string;
|
|
663
|
+
time_zone_id: string;
|
|
666
664
|
status?: Status[] | undefined;
|
|
667
665
|
search?: string | undefined;
|
|
668
666
|
paging?: PAGING | undefined;
|