vms-nest-prisma-api-document 229.0.0 → 230.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core/Enums.d.ts +12 -1
- package/dist/core/Enums.js +15 -0
- package/dist/services/account/analytics/user_login_analytics_service.d.ts +3 -3
- package/dist/services/account/analytics/user_page_analytics_service.d.ts +1 -1
- package/dist/services/fleet/incident_management/incident_management_service.d.ts +70 -70
- package/dist/services/fleet/inspection_management/fleet_inspection_form_service.d.ts +16 -0
- package/dist/services/fleet/inspection_management/fleet_inspection_form_service.js +308 -0
- package/dist/services/fleet/inspection_management/fleet_inspection_management_service.d.ts +16 -0
- package/dist/services/fleet/inspection_management/fleet_inspection_management_service.js +501 -0
- package/dist/services/fleet/inspection_management/fleet_inspection_schedule_service.d.ts +697 -0
- package/dist/services/fleet/inspection_management/fleet_inspection_schedule_service.js +340 -0
- package/dist/services/fleet/service_management/fleet_service_management_service.d.ts +179 -46
- package/dist/services/fleet/service_management/fleet_service_management_service.js +86 -11
- package/dist/services/fleet/service_management/fleet_service_schedule_service.d.ts +166 -0
- package/dist/services/fleet/service_management/fleet_service_schedule_service.js +338 -0
- package/dist/services/gps/reports/gps_reports_mongo_service.d.ts +46 -46
- package/dist/services/master/expense/master_expense_name_service.d.ts +2 -2
- package/dist/services/master/fleet/master_fleet_incident_severity_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_incident_status_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_incident_type_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_insurance_claim_status_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_service_task_service.d.ts +1 -1
- package/dist/services/master/spare_part/master_spare_part_sub_category_service.d.ts +8 -8
- package/dist/services/website/faq_service.d.ts +1 -1
- package/dist/services/website/static_pages_service.d.ts +1 -1
- package/package.json +1 -1
package/dist/core/Enums.d.ts
CHANGED
|
@@ -38,6 +38,10 @@ declare enum Status {
|
|
|
38
38
|
Active = "Active",
|
|
39
39
|
Inactive = "Inactive"
|
|
40
40
|
}
|
|
41
|
+
declare enum ReminderType {
|
|
42
|
+
Upcoming = "Upcoming",
|
|
43
|
+
OverDue = "OverDue"
|
|
44
|
+
}
|
|
41
45
|
declare enum ExpenseCategory {
|
|
42
46
|
Main = "Main",
|
|
43
47
|
Document = "Document",
|
|
@@ -222,6 +226,13 @@ declare enum InspectionStatus {
|
|
|
222
226
|
Cancelled = "Cancelled",
|
|
223
227
|
Failed = "Failed"
|
|
224
228
|
}
|
|
229
|
+
declare enum InspectionPriority {
|
|
230
|
+
Critical = "Critical",
|
|
231
|
+
High = "High",
|
|
232
|
+
Medium = "Medium",
|
|
233
|
+
Low = "Low",
|
|
234
|
+
NoPriority = "NoPriority"
|
|
235
|
+
}
|
|
225
236
|
declare enum ScheduleType {
|
|
226
237
|
OneTime = "OneTime",
|
|
227
238
|
Recurring = "Recurring"
|
|
@@ -773,4 +784,4 @@ declare enum IncidentVisibility {
|
|
|
773
784
|
Unknown = "Unknown"
|
|
774
785
|
}
|
|
775
786
|
|
|
776
|
-
export { AdminRole, AlertSubType, AlertType, ApprovalStatus, BillingStatus, BooleanType, BusLeg, BusStopType, DeviceStatus, DeviceType, DocumentStatus, DocumentType, DocumentValidityStatus, DoorSensorStatus, DriverType, EnrollmentStatus, ExpenseCategory, ExpiryType, FileType, FleetSize, FleetVendorAddressLabel, FuelTankType, GPSFuelApproveStatus, GPSSource, GPSType, GeofencePurposeType, GeofenceStatusType, GeofenceType, HolidayType, IncidentRoadType, IncidentTime, IncidentVisibility, IncidentWeather, InspectionActionStatus, InspectionStatus, InspectionType, Is12AM, IssueSeverity, IssueSource, IssueStatus, JobCardStatus, LifeExpiry, LinkStatus, LinkType, LoadChild, LoadChildCount, LoadParents, LoanInterestType, LoginFrom, MenuType, Module, NightDriving, NotificationChannel, NotificationList, NotificationPreference, OdometerSource, OnOff, OrderBy, OverSpeed, PAGING, PaymentMode, PaymentStatus, Priority, PurchaseOrderStatus, PurchaseType, PurchaseVehicleType, RecurrenceInterval, RefillEntrySource, RefillMethod, ReminderSource, ReminderStatus, ReminderTriggerType, ReportChannel, ReportList, ReportType, RequestType, RetreadingMethod, ScheduleStatus, ScheduleType, ServiceStatus, ServiceType, ShareChannel, SimStatus, Status, SteeringType, StockType, StudentLeaveType, TicketStatus, TimeSlot, TrackHistoryLinkStatus, TransportPlanType, TyreStatus, VehicleLifeStatus, VerifyStatus, WheelDriveType, YesNo };
|
|
787
|
+
export { AdminRole, AlertSubType, AlertType, ApprovalStatus, BillingStatus, BooleanType, BusLeg, BusStopType, DeviceStatus, DeviceType, DocumentStatus, DocumentType, DocumentValidityStatus, DoorSensorStatus, DriverType, EnrollmentStatus, ExpenseCategory, ExpiryType, FileType, FleetSize, FleetVendorAddressLabel, FuelTankType, GPSFuelApproveStatus, GPSSource, GPSType, GeofencePurposeType, GeofenceStatusType, GeofenceType, HolidayType, IncidentRoadType, IncidentTime, IncidentVisibility, IncidentWeather, InspectionActionStatus, InspectionPriority, InspectionStatus, InspectionType, Is12AM, IssueSeverity, IssueSource, IssueStatus, JobCardStatus, LifeExpiry, LinkStatus, LinkType, LoadChild, LoadChildCount, LoadParents, LoanInterestType, LoginFrom, MenuType, Module, NightDriving, NotificationChannel, NotificationList, NotificationPreference, OdometerSource, OnOff, OrderBy, OverSpeed, PAGING, PaymentMode, PaymentStatus, Priority, PurchaseOrderStatus, PurchaseType, PurchaseVehicleType, RecurrenceInterval, RefillEntrySource, RefillMethod, ReminderSource, ReminderStatus, ReminderTriggerType, ReminderType, ReportChannel, ReportList, ReportType, RequestType, RetreadingMethod, ScheduleStatus, ScheduleType, ServiceStatus, ServiceType, ShareChannel, SimStatus, Status, SteeringType, StockType, StudentLeaveType, TicketStatus, TimeSlot, TrackHistoryLinkStatus, TransportPlanType, TyreStatus, VehicleLifeStatus, VerifyStatus, WheelDriveType, YesNo };
|
package/dist/core/Enums.js
CHANGED
|
@@ -47,6 +47,11 @@ var Status = /* @__PURE__ */ ((Status2) => {
|
|
|
47
47
|
Status2["Inactive"] = "Inactive";
|
|
48
48
|
return Status2;
|
|
49
49
|
})(Status || {});
|
|
50
|
+
var ReminderType = /* @__PURE__ */ ((ReminderType2) => {
|
|
51
|
+
ReminderType2["Upcoming"] = "Upcoming";
|
|
52
|
+
ReminderType2["OverDue"] = "OverDue";
|
|
53
|
+
return ReminderType2;
|
|
54
|
+
})(ReminderType || {});
|
|
50
55
|
var ExpenseCategory = /* @__PURE__ */ ((ExpenseCategory2) => {
|
|
51
56
|
ExpenseCategory2["Main"] = "Main";
|
|
52
57
|
ExpenseCategory2["Document"] = "Document";
|
|
@@ -262,6 +267,14 @@ var InspectionStatus = /* @__PURE__ */ ((InspectionStatus2) => {
|
|
|
262
267
|
InspectionStatus2["Failed"] = "Failed";
|
|
263
268
|
return InspectionStatus2;
|
|
264
269
|
})(InspectionStatus || {});
|
|
270
|
+
var InspectionPriority = /* @__PURE__ */ ((InspectionPriority2) => {
|
|
271
|
+
InspectionPriority2["Critical"] = "Critical";
|
|
272
|
+
InspectionPriority2["High"] = "High";
|
|
273
|
+
InspectionPriority2["Medium"] = "Medium";
|
|
274
|
+
InspectionPriority2["Low"] = "Low";
|
|
275
|
+
InspectionPriority2["NoPriority"] = "NoPriority";
|
|
276
|
+
return InspectionPriority2;
|
|
277
|
+
})(InspectionPriority || {});
|
|
265
278
|
var ScheduleType = /* @__PURE__ */ ((ScheduleType2) => {
|
|
266
279
|
ScheduleType2["OneTime"] = "OneTime";
|
|
267
280
|
ScheduleType2["Recurring"] = "Recurring";
|
|
@@ -904,6 +917,7 @@ export {
|
|
|
904
917
|
IncidentVisibility,
|
|
905
918
|
IncidentWeather,
|
|
906
919
|
InspectionActionStatus,
|
|
920
|
+
InspectionPriority,
|
|
907
921
|
InspectionStatus,
|
|
908
922
|
InspectionType,
|
|
909
923
|
Is12AM,
|
|
@@ -942,6 +956,7 @@ export {
|
|
|
942
956
|
ReminderSource,
|
|
943
957
|
ReminderStatus,
|
|
944
958
|
ReminderTriggerType,
|
|
959
|
+
ReminderType,
|
|
945
960
|
ReportChannel,
|
|
946
961
|
ReportList,
|
|
947
962
|
ReportType,
|
|
@@ -22,15 +22,15 @@ declare const UserLoginAnalyticsSchema: z.ZodObject<{
|
|
|
22
22
|
}, "strip", z.ZodTypeAny, {
|
|
23
23
|
user_id: string;
|
|
24
24
|
organisation_id: string;
|
|
25
|
-
login_from: LoginFrom;
|
|
26
25
|
country_id: string;
|
|
26
|
+
login_from: LoginFrom;
|
|
27
27
|
os_details: Record<string, any>;
|
|
28
28
|
ip_details: Record<string, any>;
|
|
29
29
|
}, {
|
|
30
30
|
user_id: string;
|
|
31
31
|
organisation_id: string;
|
|
32
|
-
login_from: LoginFrom;
|
|
33
32
|
country_id: string;
|
|
33
|
+
login_from: LoginFrom;
|
|
34
34
|
os_details?: Record<string, any> | undefined;
|
|
35
35
|
ip_details?: Record<string, any> | undefined;
|
|
36
36
|
}>;
|
|
@@ -48,11 +48,11 @@ declare const UserLoginAnalyticsQuerySchema: z.ZodObject<{
|
|
|
48
48
|
organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
49
49
|
country_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
50
50
|
}, "strip", z.ZodTypeAny, {
|
|
51
|
+
login_from: LoginFrom;
|
|
51
52
|
search: string;
|
|
52
53
|
paging: PAGING;
|
|
53
54
|
page_count: number;
|
|
54
55
|
page_index: number;
|
|
55
|
-
login_from: LoginFrom;
|
|
56
56
|
date_format_id: string;
|
|
57
57
|
time_zone_id: string;
|
|
58
58
|
user_ids: string[];
|
|
@@ -43,11 +43,11 @@ declare const UserPageAnalyticsQuerySchema: z.ZodObject<{
|
|
|
43
43
|
user_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
44
44
|
organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
45
45
|
}, "strip", z.ZodTypeAny, {
|
|
46
|
+
login_from: LoginFrom;
|
|
46
47
|
search: string;
|
|
47
48
|
paging: PAGING;
|
|
48
49
|
page_count: number;
|
|
49
50
|
page_index: number;
|
|
50
|
-
login_from: LoginFrom;
|
|
51
51
|
date_format_id: string;
|
|
52
52
|
time_zone_id: string;
|
|
53
53
|
user_ids: string[];
|
|
@@ -115,9 +115,9 @@ declare const FleetIncidentManagementFileSchema: z.ZodObject<{
|
|
|
115
115
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
116
116
|
vehicle_incident_id: z.ZodEffects<z.ZodString, string, string>;
|
|
117
117
|
}, "strip", z.ZodTypeAny, {
|
|
118
|
-
vehicle_incident_id: string;
|
|
119
118
|
status: Status;
|
|
120
119
|
organisation_id: string;
|
|
120
|
+
vehicle_incident_id: string;
|
|
121
121
|
usage_type: string;
|
|
122
122
|
file_type: FileType;
|
|
123
123
|
file_url: string;
|
|
@@ -127,9 +127,9 @@ declare const FleetIncidentManagementFileSchema: z.ZodObject<{
|
|
|
127
127
|
file_size: number;
|
|
128
128
|
file_metadata: Record<string, any>;
|
|
129
129
|
}, {
|
|
130
|
-
vehicle_incident_id: string;
|
|
131
130
|
status: Status;
|
|
132
131
|
organisation_id: string;
|
|
132
|
+
vehicle_incident_id: string;
|
|
133
133
|
usage_type: string;
|
|
134
134
|
file_type: FileType;
|
|
135
135
|
file_url?: string | undefined;
|
|
@@ -194,9 +194,9 @@ declare const FleetIncidentManagementSchema: z.ZodObject<{
|
|
|
194
194
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
195
195
|
vehicle_incident_id: z.ZodEffects<z.ZodString, string, string>;
|
|
196
196
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
197
|
-
vehicle_incident_id: string;
|
|
198
197
|
status: Status;
|
|
199
198
|
organisation_id: string;
|
|
199
|
+
vehicle_incident_id: string;
|
|
200
200
|
usage_type: string;
|
|
201
201
|
file_type: FileType;
|
|
202
202
|
file_url: string;
|
|
@@ -206,9 +206,9 @@ declare const FleetIncidentManagementSchema: z.ZodObject<{
|
|
|
206
206
|
file_size: number;
|
|
207
207
|
file_metadata: Record<string, any>;
|
|
208
208
|
}, {
|
|
209
|
-
vehicle_incident_id: string;
|
|
210
209
|
status: Status;
|
|
211
210
|
organisation_id: string;
|
|
211
|
+
vehicle_incident_id: string;
|
|
212
212
|
usage_type: string;
|
|
213
213
|
file_type: FileType;
|
|
214
214
|
file_url?: string | undefined;
|
|
@@ -219,6 +219,18 @@ 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;
|
|
222
234
|
incident_date: string;
|
|
223
235
|
was_towed: YesNo;
|
|
224
236
|
is_vehicle_operational: YesNo;
|
|
@@ -226,9 +238,7 @@ declare const FleetIncidentManagementSchema: z.ZodObject<{
|
|
|
226
238
|
incident_weather: IncidentWeather;
|
|
227
239
|
incident_road_type: IncidentRoadType;
|
|
228
240
|
incident_visibility: IncidentVisibility;
|
|
229
|
-
odometer_reading: number;
|
|
230
241
|
incident_description: string;
|
|
231
|
-
google_location: string;
|
|
232
242
|
insurance_cover: YesNo;
|
|
233
243
|
insurance_claimed: YesNo;
|
|
234
244
|
insurance_policy_number: string;
|
|
@@ -243,20 +253,10 @@ declare const FleetIncidentManagementSchema: z.ZodObject<{
|
|
|
243
253
|
injured_persons_count: number;
|
|
244
254
|
legal_description: string;
|
|
245
255
|
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;
|
|
258
257
|
status: Status;
|
|
259
258
|
organisation_id: string;
|
|
259
|
+
vehicle_incident_id: string;
|
|
260
260
|
usage_type: string;
|
|
261
261
|
file_type: FileType;
|
|
262
262
|
file_url: string;
|
|
@@ -266,12 +266,22 @@ declare const FleetIncidentManagementSchema: z.ZodObject<{
|
|
|
266
266
|
file_size: number;
|
|
267
267
|
file_metadata: Record<string, any>;
|
|
268
268
|
}[];
|
|
269
|
-
incident_cost?: number | undefined;
|
|
270
269
|
latitude?: number | undefined;
|
|
271
270
|
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;
|
|
275
285
|
incident_date: string;
|
|
276
286
|
was_towed: YesNo;
|
|
277
287
|
is_vehicle_operational: YesNo;
|
|
@@ -283,22 +293,12 @@ declare const FleetIncidentManagementSchema: z.ZodObject<{
|
|
|
283
293
|
insurance_claimed: YesNo;
|
|
284
294
|
police_report_filed: YesNo;
|
|
285
295
|
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;
|
|
299
297
|
latitude?: unknown;
|
|
300
298
|
longitude?: unknown;
|
|
301
299
|
google_location?: string | undefined;
|
|
300
|
+
incident_cost?: unknown;
|
|
301
|
+
incident_description?: string | undefined;
|
|
302
302
|
insurance_claimed_amount?: unknown;
|
|
303
303
|
insurance_settled_amount?: unknown;
|
|
304
304
|
insurance_policy_number?: string | undefined;
|
|
@@ -312,9 +312,9 @@ declare const FleetIncidentManagementSchema: z.ZodObject<{
|
|
|
312
312
|
legal_description?: string | undefined;
|
|
313
313
|
involved_parties_description?: string | undefined;
|
|
314
314
|
FleetIncidentManagementFileSchema?: {
|
|
315
|
-
vehicle_incident_id: string;
|
|
316
315
|
status: Status;
|
|
317
316
|
organisation_id: string;
|
|
317
|
+
vehicle_incident_id: string;
|
|
318
318
|
usage_type: string;
|
|
319
319
|
file_type: FileType;
|
|
320
320
|
file_url?: string | undefined;
|
|
@@ -379,16 +379,6 @@ 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[];
|
|
392
382
|
status: Status[];
|
|
393
383
|
time_zone_id: string;
|
|
394
384
|
search: string;
|
|
@@ -410,32 +400,32 @@ declare const FleetIncidentManagementQuerySchema: z.ZodObject<{
|
|
|
410
400
|
}[];
|
|
411
401
|
include_master_data: YesNo;
|
|
412
402
|
date_format_id: string;
|
|
413
|
-
vehicle_incident_ids: string[];
|
|
414
403
|
organisation_ids: string[];
|
|
415
404
|
user_ids: string[];
|
|
416
405
|
vehicle_ids: string[];
|
|
417
406
|
driver_ids: string[];
|
|
418
|
-
|
|
419
|
-
fleet_incident_status_ids: string[];
|
|
420
|
-
fleet_incident_severity_ids: string[];
|
|
421
|
-
fleet_insurance_claim_status_ids: string[];
|
|
407
|
+
vehicle_incident_ids: string[];
|
|
422
408
|
from_date: string;
|
|
423
409
|
to_date: string;
|
|
410
|
+
fleet_insurance_claim_status_ids: string[];
|
|
411
|
+
fleet_incident_severity_ids: string[];
|
|
412
|
+
fleet_incident_status_ids: string[];
|
|
413
|
+
fleet_incident_type_ids: string[];
|
|
414
|
+
was_towed: YesNo[];
|
|
415
|
+
is_vehicle_operational: YesNo[];
|
|
416
|
+
incident_time: IncidentTime[];
|
|
417
|
+
incident_weather: IncidentWeather[];
|
|
418
|
+
incident_road_type: IncidentRoadType[];
|
|
419
|
+
incident_visibility: IncidentVisibility[];
|
|
420
|
+
insurance_cover: YesNo[];
|
|
421
|
+
insurance_claimed: YesNo[];
|
|
422
|
+
police_report_filed: YesNo[];
|
|
423
|
+
any_injuries: YesNo[];
|
|
424
424
|
}, {
|
|
425
425
|
time_zone_id: string;
|
|
426
426
|
date_format_id: string;
|
|
427
427
|
from_date: string;
|
|
428
428
|
to_date: string;
|
|
429
|
-
was_towed?: YesNo[] | undefined;
|
|
430
|
-
is_vehicle_operational?: YesNo[] | undefined;
|
|
431
|
-
incident_time?: IncidentTime[] | undefined;
|
|
432
|
-
incident_weather?: IncidentWeather[] | undefined;
|
|
433
|
-
incident_road_type?: IncidentRoadType[] | undefined;
|
|
434
|
-
incident_visibility?: IncidentVisibility[] | undefined;
|
|
435
|
-
insurance_cover?: YesNo[] | undefined;
|
|
436
|
-
insurance_claimed?: YesNo[] | undefined;
|
|
437
|
-
police_report_filed?: YesNo[] | undefined;
|
|
438
|
-
any_injuries?: YesNo[] | undefined;
|
|
439
429
|
status?: Status[] | undefined;
|
|
440
430
|
search?: string | undefined;
|
|
441
431
|
paging?: PAGING | undefined;
|
|
@@ -455,15 +445,25 @@ declare const FleetIncidentManagementQuerySchema: z.ZodObject<{
|
|
|
455
445
|
direction: OrderBy;
|
|
456
446
|
}[] | undefined;
|
|
457
447
|
include_master_data?: YesNo | undefined;
|
|
458
|
-
vehicle_incident_ids?: string[] | undefined;
|
|
459
448
|
organisation_ids?: string[] | undefined;
|
|
460
449
|
user_ids?: string[] | undefined;
|
|
461
450
|
vehicle_ids?: string[] | undefined;
|
|
462
451
|
driver_ids?: string[] | undefined;
|
|
463
|
-
|
|
464
|
-
fleet_incident_status_ids?: string[] | undefined;
|
|
465
|
-
fleet_incident_severity_ids?: string[] | undefined;
|
|
452
|
+
vehicle_incident_ids?: string[] | undefined;
|
|
466
453
|
fleet_insurance_claim_status_ids?: string[] | undefined;
|
|
454
|
+
fleet_incident_severity_ids?: string[] | undefined;
|
|
455
|
+
fleet_incident_status_ids?: string[] | undefined;
|
|
456
|
+
fleet_incident_type_ids?: string[] | undefined;
|
|
457
|
+
was_towed?: YesNo[] | undefined;
|
|
458
|
+
is_vehicle_operational?: YesNo[] | undefined;
|
|
459
|
+
incident_time?: IncidentTime[] | undefined;
|
|
460
|
+
incident_weather?: IncidentWeather[] | undefined;
|
|
461
|
+
incident_road_type?: IncidentRoadType[] | undefined;
|
|
462
|
+
incident_visibility?: IncidentVisibility[] | undefined;
|
|
463
|
+
insurance_cover?: YesNo[] | undefined;
|
|
464
|
+
insurance_claimed?: YesNo[] | undefined;
|
|
465
|
+
police_report_filed?: YesNo[] | undefined;
|
|
466
|
+
any_injuries?: YesNo[] | undefined;
|
|
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;
|
|
480
479
|
status: Status;
|
|
481
480
|
organisation_id: string;
|
|
481
|
+
vehicle_incident_id: string;
|
|
482
|
+
time_zone_id: string;
|
|
483
|
+
expense_name_id: string;
|
|
482
484
|
incident_cost_description: string;
|
|
483
485
|
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;
|
|
489
488
|
status: Status;
|
|
490
489
|
organisation_id: string;
|
|
491
|
-
|
|
492
|
-
expense_name_id: string;
|
|
490
|
+
vehicle_incident_id: string;
|
|
493
491
|
time_zone_id: string;
|
|
492
|
+
expense_name_id: string;
|
|
493
|
+
incident_cost_date: 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
|
-
vehicle_incident_ids: string[];
|
|
556
555
|
organisation_ids: string[];
|
|
557
|
-
|
|
556
|
+
vehicle_incident_ids: string[];
|
|
558
557
|
expense_name_ids: string[];
|
|
558
|
+
incident_cost_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
|
-
vehicle_incident_ids?: string[] | undefined;
|
|
582
581
|
organisation_ids?: string[] | undefined;
|
|
583
|
-
|
|
582
|
+
vehicle_incident_ids?: string[] | undefined;
|
|
584
583
|
expense_name_ids?: string[] | undefined;
|
|
584
|
+
incident_cost_ids?: string[] | undefined;
|
|
585
585
|
}>;
|
|
586
586
|
type FleetIncidentManagementCostQueryDTO = z.infer<typeof FleetIncidentManagementCostQuerySchema>;
|
|
587
587
|
declare const toFleetIncidentManagementPayload: (row: FleetIncidentManagement) => FleetIncidentManagementDTO;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import '../../../core/Enums.js';
|
|
2
|
+
import '../../../core/BaseResponse.js';
|
|
3
|
+
import 'zod';
|
|
4
|
+
import '../../../user_organisation_service-KwfWBPXf.js';
|
|
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
|
+
import '../../../zod_utils/zod_base_schema.js';
|
|
7
|
+
import '../../master/main/master_main_sim_provider_service.js';
|
|
8
|
+
import '../issue_management/issue_management_service.js';
|
|
9
|
+
import '../incident_management/incident_management_service.js';
|
|
10
|
+
import '../../master/fleet/master_fleet_insurance_claim_status_service.js';
|
|
11
|
+
import '../../master/fleet/master_fleet_incident_severity_service.js';
|
|
12
|
+
import '../../master/fleet/master_fleet_incident_status_service.js';
|
|
13
|
+
import '../../master/fleet/master_fleet_incident_type_service.js';
|
|
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';
|