vms-nest-prisma-api-document 221.0.0 → 222.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/services/fleet/bus_mangement/bus_stop.d.ts +22 -22
- package/dist/services/fleet/bus_mangement/calender.d.ts +7 -7
- package/dist/services/fleet/bus_mangement/student.d.ts +16 -16
- 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 +33 -33
- package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +47 -47
- package/dist/services/fleet/incident_management/incident_management_service.d.ts +70 -70
- package/dist/services/gps/reports/gps_reports_mongo_service.d.ts +46 -46
- package/dist/services/main/vehicle/master_vehicle_service.js +1 -1
- 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/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/tyre/master_tyre_model_service.d.ts +6 -6
- package/dist/services/master/vehicle/master_vehicle_fuel_removal_reason_service.d.ts +4 -4
- package/package.json +1 -1
|
@@ -83,6 +83,7 @@ declare const FleetFuelRemovalFileSchema: z.ZodObject<{
|
|
|
83
83
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
84
84
|
fleet_fuel_removal_id: z.ZodEffects<z.ZodString, string, string>;
|
|
85
85
|
}, "strip", z.ZodTypeAny, {
|
|
86
|
+
fleet_fuel_removal_id: string;
|
|
86
87
|
status: Status;
|
|
87
88
|
organisation_id: string;
|
|
88
89
|
usage_type: string;
|
|
@@ -93,13 +94,12 @@ declare const FleetFuelRemovalFileSchema: z.ZodObject<{
|
|
|
93
94
|
file_description: string;
|
|
94
95
|
file_size: number;
|
|
95
96
|
file_metadata: Record<string, any>;
|
|
96
|
-
fleet_fuel_removal_id: string;
|
|
97
97
|
}, {
|
|
98
|
+
fleet_fuel_removal_id: string;
|
|
98
99
|
status: Status;
|
|
99
100
|
organisation_id: string;
|
|
100
101
|
usage_type: string;
|
|
101
102
|
file_type: FileType;
|
|
102
|
-
fleet_fuel_removal_id: string;
|
|
103
103
|
file_url?: string | undefined;
|
|
104
104
|
file_key?: string | undefined;
|
|
105
105
|
file_name?: string | undefined;
|
|
@@ -151,6 +151,7 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
151
151
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
152
152
|
fleet_fuel_removal_id: z.ZodEffects<z.ZodString, string, string>;
|
|
153
153
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
154
|
+
fleet_fuel_removal_id: string;
|
|
154
155
|
status: Status;
|
|
155
156
|
organisation_id: string;
|
|
156
157
|
usage_type: string;
|
|
@@ -161,13 +162,12 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
161
162
|
file_description: string;
|
|
162
163
|
file_size: number;
|
|
163
164
|
file_metadata: Record<string, any>;
|
|
164
|
-
fleet_fuel_removal_id: string;
|
|
165
165
|
}, {
|
|
166
|
+
fleet_fuel_removal_id: string;
|
|
166
167
|
status: Status;
|
|
167
168
|
organisation_id: string;
|
|
168
169
|
usage_type: string;
|
|
169
170
|
file_type: FileType;
|
|
170
|
-
fleet_fuel_removal_id: string;
|
|
171
171
|
file_url?: string | undefined;
|
|
172
172
|
file_key?: string | undefined;
|
|
173
173
|
file_name?: string | undefined;
|
|
@@ -176,26 +176,27 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
176
176
|
file_metadata?: Record<string, any> | undefined;
|
|
177
177
|
}>, "many">>>;
|
|
178
178
|
}, "strip", z.ZodTypeAny, {
|
|
179
|
+
odometer_reading: number;
|
|
180
|
+
date_time: string;
|
|
181
|
+
admin_verify_status: GPSFuelApproveStatus;
|
|
182
|
+
transporter_verify_status: GPSFuelApproveStatus;
|
|
183
|
+
fuel_removal_reason_id: string;
|
|
184
|
+
removal_details: string;
|
|
185
|
+
entry_source: RefillEntrySource;
|
|
186
|
+
source_reference_id: string;
|
|
187
|
+
source_notes: string;
|
|
188
|
+
google_location: string;
|
|
179
189
|
status: Status;
|
|
180
190
|
organisation_id: string;
|
|
181
191
|
user_id: string;
|
|
182
192
|
vehicle_id: string;
|
|
183
193
|
driver_id: string;
|
|
184
194
|
device_id: string;
|
|
185
|
-
time_zone_id: string;
|
|
186
195
|
vehicle_fuel_type_id: string;
|
|
187
196
|
vehicle_fuel_unit_id: string;
|
|
188
|
-
|
|
189
|
-
odometer_reading: number;
|
|
190
|
-
date_time: string;
|
|
191
|
-
admin_verify_status: GPSFuelApproveStatus;
|
|
192
|
-
transporter_verify_status: GPSFuelApproveStatus;
|
|
193
|
-
entry_source: RefillEntrySource;
|
|
194
|
-
source_reference_id: string;
|
|
195
|
-
source_notes: string;
|
|
196
|
-
fuel_removal_reason_id: string;
|
|
197
|
-
removal_details: string;
|
|
197
|
+
time_zone_id: string;
|
|
198
198
|
FleetFuelRemovalFileSchema: {
|
|
199
|
+
fleet_fuel_removal_id: string;
|
|
199
200
|
status: Status;
|
|
200
201
|
organisation_id: string;
|
|
201
202
|
usage_type: string;
|
|
@@ -206,52 +207,51 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
206
207
|
file_description: string;
|
|
207
208
|
file_size: number;
|
|
208
209
|
file_metadata: Record<string, any>;
|
|
209
|
-
fleet_fuel_removal_id: string;
|
|
210
210
|
}[];
|
|
211
|
-
latitude?: number | undefined;
|
|
212
|
-
longitude?: number | undefined;
|
|
213
|
-
cost_per_unit?: number | undefined;
|
|
214
|
-
total_cost?: number | undefined;
|
|
215
211
|
before_removal_quantity?: number | undefined;
|
|
216
212
|
after_removal_quantity?: number | undefined;
|
|
217
213
|
removal_quantity?: number | undefined;
|
|
218
214
|
verified_removal_quantity?: number | undefined;
|
|
219
215
|
diff_removal_quantity?: number | undefined;
|
|
216
|
+
cost_per_unit?: number | undefined;
|
|
217
|
+
total_cost?: number | undefined;
|
|
218
|
+
latitude?: number | undefined;
|
|
219
|
+
longitude?: number | undefined;
|
|
220
220
|
}, {
|
|
221
|
+
date_time: string;
|
|
222
|
+
admin_verify_status: GPSFuelApproveStatus;
|
|
223
|
+
transporter_verify_status: GPSFuelApproveStatus;
|
|
224
|
+
fuel_removal_reason_id: string;
|
|
221
225
|
status: Status;
|
|
222
226
|
organisation_id: string;
|
|
223
227
|
user_id: string;
|
|
224
228
|
vehicle_id: string;
|
|
225
229
|
driver_id: string;
|
|
226
230
|
device_id: string;
|
|
227
|
-
time_zone_id: string;
|
|
228
231
|
vehicle_fuel_type_id: string;
|
|
229
232
|
vehicle_fuel_unit_id: string;
|
|
230
|
-
|
|
231
|
-
admin_verify_status: GPSFuelApproveStatus;
|
|
232
|
-
transporter_verify_status: GPSFuelApproveStatus;
|
|
233
|
-
fuel_removal_reason_id: string;
|
|
234
|
-
latitude?: unknown;
|
|
235
|
-
longitude?: unknown;
|
|
236
|
-
google_location?: string | undefined;
|
|
237
|
-
odometer_reading?: unknown;
|
|
238
|
-
cost_per_unit?: unknown;
|
|
239
|
-
total_cost?: unknown;
|
|
240
|
-
entry_source?: RefillEntrySource | undefined;
|
|
241
|
-
source_reference_id?: string | undefined;
|
|
242
|
-
source_notes?: string | undefined;
|
|
233
|
+
time_zone_id: string;
|
|
243
234
|
before_removal_quantity?: unknown;
|
|
244
235
|
after_removal_quantity?: unknown;
|
|
245
236
|
removal_quantity?: unknown;
|
|
246
237
|
verified_removal_quantity?: unknown;
|
|
247
238
|
diff_removal_quantity?: unknown;
|
|
239
|
+
odometer_reading?: unknown;
|
|
240
|
+
cost_per_unit?: unknown;
|
|
241
|
+
total_cost?: unknown;
|
|
248
242
|
removal_details?: string | undefined;
|
|
243
|
+
entry_source?: RefillEntrySource | undefined;
|
|
244
|
+
source_reference_id?: string | undefined;
|
|
245
|
+
source_notes?: string | undefined;
|
|
246
|
+
latitude?: unknown;
|
|
247
|
+
longitude?: unknown;
|
|
248
|
+
google_location?: string | undefined;
|
|
249
249
|
FleetFuelRemovalFileSchema?: {
|
|
250
|
+
fleet_fuel_removal_id: string;
|
|
250
251
|
status: Status;
|
|
251
252
|
organisation_id: string;
|
|
252
253
|
usage_type: string;
|
|
253
254
|
file_type: FileType;
|
|
254
|
-
fleet_fuel_removal_id: string;
|
|
255
255
|
file_url?: string | undefined;
|
|
256
256
|
file_key?: string | undefined;
|
|
257
257
|
file_name?: string | undefined;
|
|
@@ -307,7 +307,11 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
|
|
|
307
307
|
from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
308
308
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
309
309
|
}, "strip", z.ZodTypeAny, {
|
|
310
|
+
admin_verify_status: GPSFuelApproveStatus[];
|
|
311
|
+
transporter_verify_status: GPSFuelApproveStatus[];
|
|
312
|
+
entry_source: RefillEntrySource[];
|
|
310
313
|
status: Status[];
|
|
314
|
+
time_zone_id: string;
|
|
311
315
|
search: string;
|
|
312
316
|
paging: PAGING;
|
|
313
317
|
page_count: number;
|
|
@@ -327,26 +331,25 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
|
|
|
327
331
|
}[];
|
|
328
332
|
include_master_data: YesNo;
|
|
329
333
|
date_format_id: string;
|
|
330
|
-
|
|
334
|
+
fleet_fuel_removal_ids: string[];
|
|
331
335
|
organisation_ids: string[];
|
|
332
336
|
user_ids: string[];
|
|
333
337
|
vehicle_ids: string[];
|
|
334
338
|
driver_ids: string[];
|
|
335
339
|
device_ids: string[];
|
|
336
|
-
from_date: string;
|
|
337
|
-
to_date: string;
|
|
338
340
|
vehicle_fuel_type_ids: string[];
|
|
339
341
|
vehicle_fuel_unit_ids: string[];
|
|
340
|
-
admin_verify_status: GPSFuelApproveStatus[];
|
|
341
|
-
transporter_verify_status: GPSFuelApproveStatus[];
|
|
342
|
-
entry_source: RefillEntrySource[];
|
|
343
342
|
fuel_removal_reason_ids: string[];
|
|
344
|
-
|
|
343
|
+
from_date: string;
|
|
344
|
+
to_date: string;
|
|
345
345
|
}, {
|
|
346
|
-
date_format_id: string;
|
|
347
346
|
time_zone_id: string;
|
|
347
|
+
date_format_id: string;
|
|
348
348
|
from_date: string;
|
|
349
349
|
to_date: string;
|
|
350
|
+
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
351
|
+
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
352
|
+
entry_source?: RefillEntrySource[] | undefined;
|
|
350
353
|
status?: Status[] | undefined;
|
|
351
354
|
search?: string | undefined;
|
|
352
355
|
paging?: PAGING | undefined;
|
|
@@ -366,6 +369,7 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
|
|
|
366
369
|
direction: OrderBy;
|
|
367
370
|
}[] | undefined;
|
|
368
371
|
include_master_data?: YesNo | undefined;
|
|
372
|
+
fleet_fuel_removal_ids?: string[] | undefined;
|
|
369
373
|
organisation_ids?: string[] | undefined;
|
|
370
374
|
user_ids?: string[] | undefined;
|
|
371
375
|
vehicle_ids?: string[] | undefined;
|
|
@@ -373,11 +377,7 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
|
|
|
373
377
|
device_ids?: string[] | undefined;
|
|
374
378
|
vehicle_fuel_type_ids?: string[] | undefined;
|
|
375
379
|
vehicle_fuel_unit_ids?: string[] | undefined;
|
|
376
|
-
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
377
|
-
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
378
|
-
entry_source?: RefillEntrySource[] | undefined;
|
|
379
380
|
fuel_removal_reason_ids?: string[] | undefined;
|
|
380
|
-
fleet_fuel_removal_ids?: string[] | undefined;
|
|
381
381
|
}>;
|
|
382
382
|
type FleetFuelRemovalQueryDTO = z.infer<typeof FleetFuelRemovalQuerySchema>;
|
|
383
383
|
declare const toFleetFuelRemovalPayload: (row: FleetFuelRemoval) => FleetFuelRemovalDTO;
|
|
@@ -115,9 +115,9 @@ declare const FleetIncidentManagementFileSchema: z.ZodObject<{
|
|
|
115
115
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
116
116
|
vehicle_incident_id: z.ZodEffects<z.ZodString, string, string>;
|
|
117
117
|
}, "strip", z.ZodTypeAny, {
|
|
118
|
+
vehicle_incident_id: string;
|
|
118
119
|
status: Status;
|
|
119
120
|
organisation_id: string;
|
|
120
|
-
vehicle_incident_id: string;
|
|
121
121
|
usage_type: string;
|
|
122
122
|
file_type: FileType;
|
|
123
123
|
file_url: string;
|
|
@@ -127,9 +127,9 @@ declare const FleetIncidentManagementFileSchema: z.ZodObject<{
|
|
|
127
127
|
file_size: number;
|
|
128
128
|
file_metadata: Record<string, any>;
|
|
129
129
|
}, {
|
|
130
|
+
vehicle_incident_id: string;
|
|
130
131
|
status: Status;
|
|
131
132
|
organisation_id: string;
|
|
132
|
-
vehicle_incident_id: string;
|
|
133
133
|
usage_type: string;
|
|
134
134
|
file_type: FileType;
|
|
135
135
|
file_url?: string | undefined;
|
|
@@ -194,9 +194,9 @@ declare const FleetIncidentManagementSchema: z.ZodObject<{
|
|
|
194
194
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
195
195
|
vehicle_incident_id: z.ZodEffects<z.ZodString, string, string>;
|
|
196
196
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
197
|
+
vehicle_incident_id: string;
|
|
197
198
|
status: Status;
|
|
198
199
|
organisation_id: string;
|
|
199
|
-
vehicle_incident_id: string;
|
|
200
200
|
usage_type: string;
|
|
201
201
|
file_type: FileType;
|
|
202
202
|
file_url: string;
|
|
@@ -206,9 +206,9 @@ declare const FleetIncidentManagementSchema: z.ZodObject<{
|
|
|
206
206
|
file_size: number;
|
|
207
207
|
file_metadata: Record<string, any>;
|
|
208
208
|
}, {
|
|
209
|
+
vehicle_incident_id: string;
|
|
209
210
|
status: Status;
|
|
210
211
|
organisation_id: string;
|
|
211
|
-
vehicle_incident_id: string;
|
|
212
212
|
usage_type: string;
|
|
213
213
|
file_type: FileType;
|
|
214
214
|
file_url?: string | undefined;
|
|
@@ -219,18 +219,6 @@ declare const FleetIncidentManagementSchema: z.ZodObject<{
|
|
|
219
219
|
file_metadata?: Record<string, any> | undefined;
|
|
220
220
|
}>, "many">>>;
|
|
221
221
|
}, "strip", z.ZodTypeAny, {
|
|
222
|
-
odometer_reading: number;
|
|
223
|
-
status: Status;
|
|
224
|
-
organisation_id: string;
|
|
225
|
-
user_id: string;
|
|
226
|
-
vehicle_id: string;
|
|
227
|
-
driver_id: string;
|
|
228
|
-
time_zone_id: string;
|
|
229
|
-
google_location: string;
|
|
230
|
-
fleet_insurance_claim_status_id: string;
|
|
231
|
-
fleet_incident_severity_id: string;
|
|
232
|
-
fleet_incident_status_id: string;
|
|
233
|
-
fleet_incident_type_id: string;
|
|
234
222
|
incident_date: string;
|
|
235
223
|
was_towed: YesNo;
|
|
236
224
|
is_vehicle_operational: YesNo;
|
|
@@ -238,7 +226,9 @@ declare const FleetIncidentManagementSchema: z.ZodObject<{
|
|
|
238
226
|
incident_weather: IncidentWeather;
|
|
239
227
|
incident_road_type: IncidentRoadType;
|
|
240
228
|
incident_visibility: IncidentVisibility;
|
|
229
|
+
odometer_reading: number;
|
|
241
230
|
incident_description: string;
|
|
231
|
+
google_location: string;
|
|
242
232
|
insurance_cover: YesNo;
|
|
243
233
|
insurance_claimed: YesNo;
|
|
244
234
|
insurance_policy_number: string;
|
|
@@ -253,10 +243,20 @@ declare const FleetIncidentManagementSchema: z.ZodObject<{
|
|
|
253
243
|
injured_persons_count: number;
|
|
254
244
|
legal_description: string;
|
|
255
245
|
involved_parties_description: string;
|
|
246
|
+
status: Status;
|
|
247
|
+
organisation_id: string;
|
|
248
|
+
user_id: string;
|
|
249
|
+
vehicle_id: string;
|
|
250
|
+
driver_id: string;
|
|
251
|
+
fleet_incident_type_id: string;
|
|
252
|
+
fleet_incident_status_id: string;
|
|
253
|
+
fleet_incident_severity_id: string;
|
|
254
|
+
fleet_insurance_claim_status_id: string;
|
|
255
|
+
time_zone_id: string;
|
|
256
256
|
FleetIncidentManagementFileSchema: {
|
|
257
|
+
vehicle_incident_id: string;
|
|
257
258
|
status: Status;
|
|
258
259
|
organisation_id: string;
|
|
259
|
-
vehicle_incident_id: string;
|
|
260
260
|
usage_type: string;
|
|
261
261
|
file_type: FileType;
|
|
262
262
|
file_url: string;
|
|
@@ -266,22 +266,12 @@ declare const FleetIncidentManagementSchema: z.ZodObject<{
|
|
|
266
266
|
file_size: number;
|
|
267
267
|
file_metadata: Record<string, any>;
|
|
268
268
|
}[];
|
|
269
|
+
incident_cost?: number | undefined;
|
|
269
270
|
latitude?: number | undefined;
|
|
270
271
|
longitude?: number | undefined;
|
|
271
|
-
incident_cost?: number | undefined;
|
|
272
272
|
insurance_claimed_amount?: number | undefined;
|
|
273
273
|
insurance_settled_amount?: number | undefined;
|
|
274
274
|
}, {
|
|
275
|
-
status: Status;
|
|
276
|
-
organisation_id: string;
|
|
277
|
-
user_id: string;
|
|
278
|
-
vehicle_id: string;
|
|
279
|
-
driver_id: string;
|
|
280
|
-
time_zone_id: string;
|
|
281
|
-
fleet_insurance_claim_status_id: string;
|
|
282
|
-
fleet_incident_severity_id: string;
|
|
283
|
-
fleet_incident_status_id: string;
|
|
284
|
-
fleet_incident_type_id: string;
|
|
285
275
|
incident_date: string;
|
|
286
276
|
was_towed: YesNo;
|
|
287
277
|
is_vehicle_operational: YesNo;
|
|
@@ -293,12 +283,22 @@ declare const FleetIncidentManagementSchema: z.ZodObject<{
|
|
|
293
283
|
insurance_claimed: YesNo;
|
|
294
284
|
police_report_filed: YesNo;
|
|
295
285
|
any_injuries: YesNo;
|
|
286
|
+
status: Status;
|
|
287
|
+
organisation_id: string;
|
|
288
|
+
user_id: string;
|
|
289
|
+
vehicle_id: string;
|
|
290
|
+
driver_id: string;
|
|
291
|
+
fleet_incident_type_id: string;
|
|
292
|
+
fleet_incident_status_id: string;
|
|
293
|
+
fleet_incident_severity_id: string;
|
|
294
|
+
fleet_insurance_claim_status_id: string;
|
|
295
|
+
time_zone_id: string;
|
|
296
296
|
odometer_reading?: unknown;
|
|
297
|
+
incident_cost?: unknown;
|
|
298
|
+
incident_description?: string | undefined;
|
|
297
299
|
latitude?: unknown;
|
|
298
300
|
longitude?: unknown;
|
|
299
301
|
google_location?: string | undefined;
|
|
300
|
-
incident_cost?: unknown;
|
|
301
|
-
incident_description?: string | undefined;
|
|
302
302
|
insurance_claimed_amount?: unknown;
|
|
303
303
|
insurance_settled_amount?: unknown;
|
|
304
304
|
insurance_policy_number?: string | undefined;
|
|
@@ -312,9 +312,9 @@ declare const FleetIncidentManagementSchema: z.ZodObject<{
|
|
|
312
312
|
legal_description?: string | undefined;
|
|
313
313
|
involved_parties_description?: string | undefined;
|
|
314
314
|
FleetIncidentManagementFileSchema?: {
|
|
315
|
+
vehicle_incident_id: string;
|
|
315
316
|
status: Status;
|
|
316
317
|
organisation_id: string;
|
|
317
|
-
vehicle_incident_id: string;
|
|
318
318
|
usage_type: string;
|
|
319
319
|
file_type: FileType;
|
|
320
320
|
file_url?: string | undefined;
|
|
@@ -379,6 +379,16 @@ declare const FleetIncidentManagementQuerySchema: z.ZodObject<{
|
|
|
379
379
|
from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
380
380
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
381
381
|
}, "strip", z.ZodTypeAny, {
|
|
382
|
+
was_towed: YesNo[];
|
|
383
|
+
is_vehicle_operational: YesNo[];
|
|
384
|
+
incident_time: IncidentTime[];
|
|
385
|
+
incident_weather: IncidentWeather[];
|
|
386
|
+
incident_road_type: IncidentRoadType[];
|
|
387
|
+
incident_visibility: IncidentVisibility[];
|
|
388
|
+
insurance_cover: YesNo[];
|
|
389
|
+
insurance_claimed: YesNo[];
|
|
390
|
+
police_report_filed: YesNo[];
|
|
391
|
+
any_injuries: YesNo[];
|
|
382
392
|
status: Status[];
|
|
383
393
|
time_zone_id: string;
|
|
384
394
|
search: string;
|
|
@@ -400,32 +410,32 @@ declare const FleetIncidentManagementQuerySchema: z.ZodObject<{
|
|
|
400
410
|
}[];
|
|
401
411
|
include_master_data: YesNo;
|
|
402
412
|
date_format_id: string;
|
|
413
|
+
vehicle_incident_ids: string[];
|
|
403
414
|
organisation_ids: string[];
|
|
404
415
|
user_ids: string[];
|
|
405
416
|
vehicle_ids: string[];
|
|
406
417
|
driver_ids: string[];
|
|
407
|
-
|
|
418
|
+
fleet_incident_type_ids: string[];
|
|
419
|
+
fleet_incident_status_ids: string[];
|
|
420
|
+
fleet_incident_severity_ids: string[];
|
|
421
|
+
fleet_insurance_claim_status_ids: string[];
|
|
408
422
|
from_date: string;
|
|
409
423
|
to_date: string;
|
|
410
|
-
fleet_insurance_claim_status_ids: string[];
|
|
411
|
-
fleet_incident_severity_ids: string[];
|
|
412
|
-
fleet_incident_status_ids: string[];
|
|
413
|
-
fleet_incident_type_ids: string[];
|
|
414
|
-
was_towed: YesNo[];
|
|
415
|
-
is_vehicle_operational: YesNo[];
|
|
416
|
-
incident_time: IncidentTime[];
|
|
417
|
-
incident_weather: IncidentWeather[];
|
|
418
|
-
incident_road_type: IncidentRoadType[];
|
|
419
|
-
incident_visibility: IncidentVisibility[];
|
|
420
|
-
insurance_cover: YesNo[];
|
|
421
|
-
insurance_claimed: YesNo[];
|
|
422
|
-
police_report_filed: YesNo[];
|
|
423
|
-
any_injuries: YesNo[];
|
|
424
424
|
}, {
|
|
425
425
|
time_zone_id: string;
|
|
426
426
|
date_format_id: string;
|
|
427
427
|
from_date: string;
|
|
428
428
|
to_date: string;
|
|
429
|
+
was_towed?: YesNo[] | undefined;
|
|
430
|
+
is_vehicle_operational?: YesNo[] | undefined;
|
|
431
|
+
incident_time?: IncidentTime[] | undefined;
|
|
432
|
+
incident_weather?: IncidentWeather[] | undefined;
|
|
433
|
+
incident_road_type?: IncidentRoadType[] | undefined;
|
|
434
|
+
incident_visibility?: IncidentVisibility[] | undefined;
|
|
435
|
+
insurance_cover?: YesNo[] | undefined;
|
|
436
|
+
insurance_claimed?: YesNo[] | undefined;
|
|
437
|
+
police_report_filed?: YesNo[] | undefined;
|
|
438
|
+
any_injuries?: YesNo[] | undefined;
|
|
429
439
|
status?: Status[] | undefined;
|
|
430
440
|
search?: string | undefined;
|
|
431
441
|
paging?: PAGING | undefined;
|
|
@@ -445,25 +455,15 @@ declare const FleetIncidentManagementQuerySchema: z.ZodObject<{
|
|
|
445
455
|
direction: OrderBy;
|
|
446
456
|
}[] | undefined;
|
|
447
457
|
include_master_data?: YesNo | undefined;
|
|
458
|
+
vehicle_incident_ids?: string[] | undefined;
|
|
448
459
|
organisation_ids?: string[] | undefined;
|
|
449
460
|
user_ids?: string[] | undefined;
|
|
450
461
|
vehicle_ids?: string[] | undefined;
|
|
451
462
|
driver_ids?: string[] | undefined;
|
|
452
|
-
vehicle_incident_ids?: string[] | undefined;
|
|
453
|
-
fleet_insurance_claim_status_ids?: string[] | undefined;
|
|
454
|
-
fleet_incident_severity_ids?: string[] | undefined;
|
|
455
|
-
fleet_incident_status_ids?: string[] | undefined;
|
|
456
463
|
fleet_incident_type_ids?: string[] | undefined;
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
incident_weather?: IncidentWeather[] | undefined;
|
|
461
|
-
incident_road_type?: IncidentRoadType[] | undefined;
|
|
462
|
-
incident_visibility?: IncidentVisibility[] | undefined;
|
|
463
|
-
insurance_cover?: YesNo[] | undefined;
|
|
464
|
-
insurance_claimed?: YesNo[] | undefined;
|
|
465
|
-
police_report_filed?: YesNo[] | undefined;
|
|
466
|
-
any_injuries?: YesNo[] | undefined;
|
|
464
|
+
fleet_incident_status_ids?: string[] | undefined;
|
|
465
|
+
fleet_incident_severity_ids?: string[] | undefined;
|
|
466
|
+
fleet_insurance_claim_status_ids?: string[] | undefined;
|
|
467
467
|
}>;
|
|
468
468
|
type FleetIncidentManagementQueryDTO = z.infer<typeof FleetIncidentManagementQuerySchema>;
|
|
469
469
|
declare const FleetIncidentManagementCostSchema: z.ZodObject<{
|
|
@@ -476,21 +476,21 @@ declare const FleetIncidentManagementCostSchema: z.ZodObject<{
|
|
|
476
476
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
477
477
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
478
478
|
}, "strip", z.ZodTypeAny, {
|
|
479
|
+
vehicle_incident_id: string;
|
|
479
480
|
status: Status;
|
|
480
481
|
organisation_id: string;
|
|
481
|
-
vehicle_incident_id: string;
|
|
482
|
-
time_zone_id: string;
|
|
483
|
-
expense_name_id: string;
|
|
484
482
|
incident_cost_description: string;
|
|
485
483
|
incident_cost_date: string;
|
|
484
|
+
expense_name_id: string;
|
|
485
|
+
time_zone_id: string;
|
|
486
486
|
incident_cost_amount?: number | undefined;
|
|
487
487
|
}, {
|
|
488
|
+
vehicle_incident_id: string;
|
|
488
489
|
status: Status;
|
|
489
490
|
organisation_id: string;
|
|
490
|
-
vehicle_incident_id: string;
|
|
491
|
-
time_zone_id: string;
|
|
492
|
-
expense_name_id: string;
|
|
493
491
|
incident_cost_date: string;
|
|
492
|
+
expense_name_id: string;
|
|
493
|
+
time_zone_id: string;
|
|
494
494
|
incident_cost_description?: string | undefined;
|
|
495
495
|
incident_cost_amount?: unknown;
|
|
496
496
|
}>;
|
|
@@ -552,10 +552,10 @@ declare const FleetIncidentManagementCostQuerySchema: z.ZodObject<{
|
|
|
552
552
|
}[];
|
|
553
553
|
include_master_data: YesNo;
|
|
554
554
|
date_format_id: string;
|
|
555
|
-
organisation_ids: string[];
|
|
556
555
|
vehicle_incident_ids: string[];
|
|
557
|
-
|
|
556
|
+
organisation_ids: string[];
|
|
558
557
|
incident_cost_ids: string[];
|
|
558
|
+
expense_name_ids: string[];
|
|
559
559
|
}, {
|
|
560
560
|
time_zone_id: string;
|
|
561
561
|
date_format_id: string;
|
|
@@ -578,10 +578,10 @@ declare const FleetIncidentManagementCostQuerySchema: z.ZodObject<{
|
|
|
578
578
|
direction: OrderBy;
|
|
579
579
|
}[] | undefined;
|
|
580
580
|
include_master_data?: YesNo | undefined;
|
|
581
|
-
organisation_ids?: string[] | undefined;
|
|
582
581
|
vehicle_incident_ids?: string[] | undefined;
|
|
583
|
-
|
|
582
|
+
organisation_ids?: string[] | undefined;
|
|
584
583
|
incident_cost_ids?: string[] | undefined;
|
|
584
|
+
expense_name_ids?: string[] | undefined;
|
|
585
585
|
}>;
|
|
586
586
|
type FleetIncidentManagementCostQueryDTO = z.infer<typeof FleetIncidentManagementCostQuerySchema>;
|
|
587
587
|
declare const toFleetIncidentManagementPayload: (row: FleetIncidentManagement) => FleetIncidentManagementDTO;
|