vms-nest-prisma-api-document 228.0.0 → 229.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/services/account/bookmark_service.d.ts +11 -11
- package/dist/services/account/notification_preferences.service.d.ts +18 -18
- package/dist/services/account/report_preferences.service.d.ts +7 -7
- package/dist/services/account/ticket_service.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/bus_stop.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/calender.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/master_route.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/notice_board.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/student.d.ts +1 -1
- package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.d.ts +20 -20
- package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.d.ts +34 -34
- package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +48 -48
- package/dist/services/fleet/incident_management/incident_management_service.d.ts +1 -1
- package/dist/services/fleet/issue_management/issue_management_service.d.ts +2 -1
- package/dist/services/fleet/service_management/fleet_service_management_service.d.ts +187 -46
- package/dist/services/fleet/service_management/fleet_service_management_service.js +97 -18
- package/dist/services/fleet/vendor_management/fleet_vendor_fuel_station.d.ts +1 -1
- package/dist/services/fleet/vendor_management/fleet_vendor_service.d.ts +1 -1
- package/dist/services/fleet/vendor_management/fleet_vendor_service_center.d.ts +1 -1
- package/dist/services/gps/features/geofence/gps_geofence_service.d.ts +3 -3
- package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +1 -1
- package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +1 -1
- package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +1 -1
- package/dist/services/gps/features/gps_live_track_share_link_service.d.ts +1 -1
- package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +1 -1
- package/dist/services/gps/reports/gps_reports_mongo_service.d.ts +46 -46
- package/dist/services/main/devices/master_device_service.d.ts +1 -1
- package/dist/services/main/drivers/master_driver_service.d.ts +1 -1
- package/dist/services/main/sims/master_sim_service.d.ts +1 -1
- package/dist/services/main/users/auth_service.d.ts +1 -1
- package/dist/services/main/users/user_admin_service.d.ts +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 +1 -1
- 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 +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 +7 -7
- package/dist/services/master/main/master_main_country_service.d.ts +1 -1
- package/dist/services/master/main/master_main_currency_service.d.ts +1 -1
- package/dist/services/master/main/master_main_date_format_service.d.ts +1 -1
- package/dist/services/master/main/master_main_industry_service.d.ts +1 -1
- package/dist/services/master/main/master_main_landmark_service.d.ts +1 -1
- package/dist/services/master/main/master_main_language_service.d.ts +1 -1
- package/dist/services/master/main/master_main_state_service.d.ts +1 -1
- package/dist/services/master/main/master_main_timezone_service.d.ts +1 -1
- package/dist/services/master/main/master_main_unit_distance_service.d.ts +1 -1
- package/dist/services/master/main/master_main_unit_mileage_service.d.ts +1 -1
- package/dist/services/master/main/master_main_unit_volume_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_branch_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_color_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_group_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_sub_company_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_tag_service.d.ts +1 -1
- package/dist/services/master/spare_part/master_spare_part_category_service.d.ts +1 -1
- package/dist/services/master/spare_part/master_spare_part_sub_category_service.d.ts +9 -9
- package/dist/services/master/spare_part/master_spare_part_unit_service.d.ts +1 -1
- package/dist/services/master/trip/master_trip_party_type_service.d.ts +1 -1
- package/dist/services/master/tyre/master_tyre_grade_service.d.ts +3 -3
- package/dist/services/master/tyre/master_tyre_make_service.d.ts +1 -1
- package/dist/services/master/tyre/master_tyre_model_service.d.ts +5 -5
- package/dist/services/master/user/master_user_role_service.d.ts +1 -1
- package/dist/services/master/user/master_user_status_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_associated_to_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_document_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_fuel_removal_reason_service.d.ts +5 -5
- package/dist/services/master/vehicle/master_vehicle_fuel_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_fuel_unit_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_make_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_model_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_ownership_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_status_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_sub_model_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_type_service.d.ts +1 -1
- package/package.json +1 -1
- package/dist/services/fleet/service_management/fleet_service_management_task_service.d.ts +0 -145
- package/dist/services/fleet/service_management/fleet_service_management_task_service.js +0 -326
- package/dist/{user_organisation_service-4bBzFQBd.d.ts → user_organisation_service-KwfWBPXf.d.ts} +47 -47
|
@@ -2,7 +2,7 @@ import { GPSFuelApproveStatus, RefillEntrySource, Status, FileType, PAGING, Load
|
|
|
2
2
|
import { BaseCommonFile, BR, AWSPresignedUrl, SBR, FBR } from '../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { FilePresignedUrlDTO } from '../../../zod_utils/zod_base_schema.js';
|
|
5
|
-
import { d as MasterMainLandmark, U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice, f as MasterVehicleFuelType, g as MasterVehicleFuelUnit } from '../../../user_organisation_service-
|
|
5
|
+
import { d as MasterMainLandmark, U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice, f as MasterVehicleFuelType, g as MasterVehicleFuelUnit } from '../../../user_organisation_service-KwfWBPXf.js';
|
|
6
6
|
import { MasterVehicleFuelRemovalReason } from '../../master/vehicle/master_vehicle_fuel_removal_reason_service.js';
|
|
7
7
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
8
8
|
|
|
@@ -85,7 +85,6 @@ declare const FleetFuelRemovalFileSchema: z.ZodObject<{
|
|
|
85
85
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
86
86
|
fleet_fuel_removal_id: z.ZodEffects<z.ZodString, string, string>;
|
|
87
87
|
}, "strip", z.ZodTypeAny, {
|
|
88
|
-
fleet_fuel_removal_id: string;
|
|
89
88
|
status: Status;
|
|
90
89
|
organisation_id: string;
|
|
91
90
|
usage_type: string;
|
|
@@ -96,12 +95,13 @@ declare const FleetFuelRemovalFileSchema: z.ZodObject<{
|
|
|
96
95
|
file_description: string;
|
|
97
96
|
file_size: number;
|
|
98
97
|
file_metadata: Record<string, any>;
|
|
99
|
-
}, {
|
|
100
98
|
fleet_fuel_removal_id: string;
|
|
99
|
+
}, {
|
|
101
100
|
status: Status;
|
|
102
101
|
organisation_id: string;
|
|
103
102
|
usage_type: string;
|
|
104
103
|
file_type: FileType;
|
|
104
|
+
fleet_fuel_removal_id: string;
|
|
105
105
|
file_url?: string | undefined;
|
|
106
106
|
file_key?: string | undefined;
|
|
107
107
|
file_name?: string | undefined;
|
|
@@ -153,7 +153,6 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
153
153
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
154
154
|
fleet_fuel_removal_id: z.ZodEffects<z.ZodString, string, string>;
|
|
155
155
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
156
|
-
fleet_fuel_removal_id: string;
|
|
157
156
|
status: Status;
|
|
158
157
|
organisation_id: string;
|
|
159
158
|
usage_type: string;
|
|
@@ -164,12 +163,13 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
164
163
|
file_description: string;
|
|
165
164
|
file_size: number;
|
|
166
165
|
file_metadata: Record<string, any>;
|
|
167
|
-
}, {
|
|
168
166
|
fleet_fuel_removal_id: string;
|
|
167
|
+
}, {
|
|
169
168
|
status: Status;
|
|
170
169
|
organisation_id: string;
|
|
171
170
|
usage_type: string;
|
|
172
171
|
file_type: FileType;
|
|
172
|
+
fleet_fuel_removal_id: string;
|
|
173
173
|
file_url?: string | undefined;
|
|
174
174
|
file_key?: string | undefined;
|
|
175
175
|
file_name?: string | undefined;
|
|
@@ -178,27 +178,26 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
178
178
|
file_metadata?: Record<string, any> | undefined;
|
|
179
179
|
}>, "many">>>;
|
|
180
180
|
}, "strip", z.ZodTypeAny, {
|
|
181
|
-
odometer_reading: number;
|
|
182
|
-
date_time: string;
|
|
183
|
-
admin_verify_status: GPSFuelApproveStatus;
|
|
184
|
-
transporter_verify_status: GPSFuelApproveStatus;
|
|
185
|
-
fuel_removal_reason_id: string;
|
|
186
|
-
removal_details: string;
|
|
187
|
-
entry_source: RefillEntrySource;
|
|
188
|
-
source_reference_id: string;
|
|
189
|
-
source_notes: string;
|
|
190
|
-
google_location: string;
|
|
191
181
|
status: Status;
|
|
192
182
|
organisation_id: string;
|
|
193
183
|
user_id: string;
|
|
194
184
|
vehicle_id: string;
|
|
195
185
|
driver_id: string;
|
|
196
186
|
device_id: string;
|
|
187
|
+
time_zone_id: string;
|
|
197
188
|
vehicle_fuel_type_id: string;
|
|
198
189
|
vehicle_fuel_unit_id: string;
|
|
199
|
-
|
|
190
|
+
google_location: string;
|
|
191
|
+
odometer_reading: number;
|
|
192
|
+
date_time: string;
|
|
193
|
+
admin_verify_status: GPSFuelApproveStatus;
|
|
194
|
+
transporter_verify_status: GPSFuelApproveStatus;
|
|
195
|
+
entry_source: RefillEntrySource;
|
|
196
|
+
source_reference_id: string;
|
|
197
|
+
source_notes: string;
|
|
198
|
+
fuel_removal_reason_id: string;
|
|
199
|
+
removal_details: string;
|
|
200
200
|
FleetFuelRemovalFileSchema: {
|
|
201
|
-
fleet_fuel_removal_id: string;
|
|
202
201
|
status: Status;
|
|
203
202
|
organisation_id: string;
|
|
204
203
|
usage_type: string;
|
|
@@ -209,51 +208,52 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
209
208
|
file_description: string;
|
|
210
209
|
file_size: number;
|
|
211
210
|
file_metadata: Record<string, any>;
|
|
211
|
+
fleet_fuel_removal_id: string;
|
|
212
212
|
}[];
|
|
213
|
+
latitude?: number | undefined;
|
|
214
|
+
longitude?: number | undefined;
|
|
215
|
+
cost_per_unit?: number | undefined;
|
|
216
|
+
total_cost?: number | undefined;
|
|
213
217
|
before_removal_quantity?: number | undefined;
|
|
214
218
|
after_removal_quantity?: number | undefined;
|
|
215
219
|
removal_quantity?: number | undefined;
|
|
216
220
|
verified_removal_quantity?: number | undefined;
|
|
217
221
|
diff_removal_quantity?: number | undefined;
|
|
218
|
-
cost_per_unit?: number | undefined;
|
|
219
|
-
total_cost?: number | undefined;
|
|
220
|
-
latitude?: number | undefined;
|
|
221
|
-
longitude?: number | undefined;
|
|
222
222
|
}, {
|
|
223
|
-
date_time: string;
|
|
224
|
-
admin_verify_status: GPSFuelApproveStatus;
|
|
225
|
-
transporter_verify_status: GPSFuelApproveStatus;
|
|
226
|
-
fuel_removal_reason_id: string;
|
|
227
223
|
status: Status;
|
|
228
224
|
organisation_id: string;
|
|
229
225
|
user_id: string;
|
|
230
226
|
vehicle_id: string;
|
|
231
227
|
driver_id: string;
|
|
232
228
|
device_id: string;
|
|
229
|
+
time_zone_id: string;
|
|
233
230
|
vehicle_fuel_type_id: string;
|
|
234
231
|
vehicle_fuel_unit_id: string;
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
232
|
+
date_time: string;
|
|
233
|
+
admin_verify_status: GPSFuelApproveStatus;
|
|
234
|
+
transporter_verify_status: GPSFuelApproveStatus;
|
|
235
|
+
fuel_removal_reason_id: string;
|
|
236
|
+
latitude?: unknown;
|
|
237
|
+
longitude?: unknown;
|
|
238
|
+
google_location?: string | undefined;
|
|
241
239
|
odometer_reading?: unknown;
|
|
242
240
|
cost_per_unit?: unknown;
|
|
243
241
|
total_cost?: unknown;
|
|
244
|
-
removal_details?: string | undefined;
|
|
245
242
|
entry_source?: RefillEntrySource | undefined;
|
|
246
243
|
source_reference_id?: string | undefined;
|
|
247
244
|
source_notes?: string | undefined;
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
245
|
+
before_removal_quantity?: unknown;
|
|
246
|
+
after_removal_quantity?: unknown;
|
|
247
|
+
removal_quantity?: unknown;
|
|
248
|
+
verified_removal_quantity?: unknown;
|
|
249
|
+
diff_removal_quantity?: unknown;
|
|
250
|
+
removal_details?: string | undefined;
|
|
251
251
|
FleetFuelRemovalFileSchema?: {
|
|
252
|
-
fleet_fuel_removal_id: string;
|
|
253
252
|
status: Status;
|
|
254
253
|
organisation_id: string;
|
|
255
254
|
usage_type: string;
|
|
256
255
|
file_type: FileType;
|
|
256
|
+
fleet_fuel_removal_id: string;
|
|
257
257
|
file_url?: string | undefined;
|
|
258
258
|
file_key?: string | undefined;
|
|
259
259
|
file_name?: string | undefined;
|
|
@@ -309,11 +309,7 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
|
|
|
309
309
|
from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
310
310
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
311
311
|
}, "strip", z.ZodTypeAny, {
|
|
312
|
-
admin_verify_status: GPSFuelApproveStatus[];
|
|
313
|
-
transporter_verify_status: GPSFuelApproveStatus[];
|
|
314
|
-
entry_source: RefillEntrySource[];
|
|
315
312
|
status: Status[];
|
|
316
|
-
time_zone_id: string;
|
|
317
313
|
search: string;
|
|
318
314
|
paging: PAGING;
|
|
319
315
|
page_count: number;
|
|
@@ -333,25 +329,26 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
|
|
|
333
329
|
}[];
|
|
334
330
|
include_master_data: YesNo;
|
|
335
331
|
date_format_id: string;
|
|
336
|
-
|
|
332
|
+
time_zone_id: string;
|
|
337
333
|
organisation_ids: string[];
|
|
338
334
|
user_ids: string[];
|
|
339
335
|
vehicle_ids: string[];
|
|
340
336
|
driver_ids: string[];
|
|
341
337
|
device_ids: string[];
|
|
338
|
+
from_date: string;
|
|
339
|
+
to_date: string;
|
|
342
340
|
vehicle_fuel_type_ids: string[];
|
|
343
341
|
vehicle_fuel_unit_ids: string[];
|
|
342
|
+
admin_verify_status: GPSFuelApproveStatus[];
|
|
343
|
+
transporter_verify_status: GPSFuelApproveStatus[];
|
|
344
|
+
entry_source: RefillEntrySource[];
|
|
344
345
|
fuel_removal_reason_ids: string[];
|
|
345
|
-
|
|
346
|
-
to_date: string;
|
|
346
|
+
fleet_fuel_removal_ids: string[];
|
|
347
347
|
}, {
|
|
348
|
-
time_zone_id: string;
|
|
349
348
|
date_format_id: string;
|
|
349
|
+
time_zone_id: string;
|
|
350
350
|
from_date: string;
|
|
351
351
|
to_date: string;
|
|
352
|
-
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
353
|
-
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
354
|
-
entry_source?: RefillEntrySource[] | undefined;
|
|
355
352
|
status?: Status[] | undefined;
|
|
356
353
|
search?: string | undefined;
|
|
357
354
|
paging?: PAGING | undefined;
|
|
@@ -371,7 +368,6 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
|
|
|
371
368
|
direction: OrderBy;
|
|
372
369
|
}[] | undefined;
|
|
373
370
|
include_master_data?: YesNo | undefined;
|
|
374
|
-
fleet_fuel_removal_ids?: string[] | undefined;
|
|
375
371
|
organisation_ids?: string[] | undefined;
|
|
376
372
|
user_ids?: string[] | undefined;
|
|
377
373
|
vehicle_ids?: string[] | undefined;
|
|
@@ -379,7 +375,11 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
|
|
|
379
375
|
device_ids?: string[] | undefined;
|
|
380
376
|
vehicle_fuel_type_ids?: string[] | undefined;
|
|
381
377
|
vehicle_fuel_unit_ids?: string[] | undefined;
|
|
378
|
+
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
379
|
+
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
380
|
+
entry_source?: RefillEntrySource[] | undefined;
|
|
382
381
|
fuel_removal_reason_ids?: string[] | undefined;
|
|
382
|
+
fleet_fuel_removal_ids?: string[] | undefined;
|
|
383
383
|
}>;
|
|
384
384
|
type FleetFuelRemovalQueryDTO = z.infer<typeof FleetFuelRemovalQuerySchema>;
|
|
385
385
|
declare const toFleetFuelRemovalPayload: (row: FleetFuelRemoval) => FleetFuelRemovalDTO;
|
|
@@ -2,7 +2,7 @@ import { YesNo, IncidentTime, IncidentWeather, IncidentRoadType, IncidentVisibil
|
|
|
2
2
|
import { BaseCommonFile, BR, AWSPresignedUrl, SBR, FBR } from '../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { FilePresignedUrlDTO } from '../../../zod_utils/zod_base_schema.js';
|
|
5
|
-
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver } from '../../../user_organisation_service-
|
|
5
|
+
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver } from '../../../user_organisation_service-KwfWBPXf.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';
|
|
@@ -2,7 +2,7 @@ import { IssueStatus, Priority, IssueSeverity, IssueSource, Status, FileType, PA
|
|
|
2
2
|
import { BaseCommonFile, BR, AWSPresignedUrl, SBR, FBR } from '../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { FilePresignedUrlDTO } from '../../../zod_utils/zod_base_schema.js';
|
|
5
|
-
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver } from '../../../user_organisation_service-
|
|
5
|
+
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver } from '../../../user_organisation_service-KwfWBPXf.js';
|
|
6
6
|
import { FleetIncidentManagement } from '../incident_management/incident_management_service.js';
|
|
7
7
|
import { FleetServiceManagement } from '../service_management/fleet_service_management_service.js';
|
|
8
8
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
@@ -11,6 +11,7 @@ import '../../master/fleet/master_fleet_incident_severity_service.js';
|
|
|
11
11
|
import '../../master/fleet/master_fleet_incident_status_service.js';
|
|
12
12
|
import '../../master/fleet/master_fleet_incident_type_service.js';
|
|
13
13
|
import '../../master/expense/master_expense_name_service.js';
|
|
14
|
+
import '../../master/fleet/master_fleet_service_task_service.js';
|
|
14
15
|
|
|
15
16
|
interface FleetIssueManagement extends Record<string, unknown> {
|
|
16
17
|
vehicle_issue_id: string;
|
|
@@ -2,7 +2,8 @@ import { ServiceStatus, ServiceType, YesNo, PaymentStatus, Status, FileType, PAG
|
|
|
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, F as FleetVendor, h as FleetVendorServiceCenter } from '../../../user_organisation_service-
|
|
5
|
+
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, F as FleetVendor, h as FleetVendorServiceCenter } from '../../../user_organisation_service-KwfWBPXf.js';
|
|
6
|
+
import { MasterFleetServiceTask } from '../../master/fleet/master_fleet_service_task_service.js';
|
|
6
7
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
7
8
|
|
|
8
9
|
interface FleetServiceManagement extends Record<string, unknown> {
|
|
@@ -63,6 +64,22 @@ interface FleetServiceManagement extends Record<string, unknown> {
|
|
|
63
64
|
FleetIssueManagement: number;
|
|
64
65
|
};
|
|
65
66
|
}
|
|
67
|
+
interface FleetServiceManagementTask extends Record<string, unknown> {
|
|
68
|
+
fleet_service_management_task_id: string;
|
|
69
|
+
task_cost?: number;
|
|
70
|
+
labor_cost?: number;
|
|
71
|
+
parts_cost?: number;
|
|
72
|
+
task_notes?: string;
|
|
73
|
+
status: Status;
|
|
74
|
+
added_date_time: string;
|
|
75
|
+
modified_date_time: string;
|
|
76
|
+
service_management_id: string;
|
|
77
|
+
FleetServiceManagement?: FleetServiceManagement;
|
|
78
|
+
fleet_service_task_id: string;
|
|
79
|
+
MasterFleetServiceTask?: MasterFleetServiceTask;
|
|
80
|
+
fleet_service_task?: string;
|
|
81
|
+
_count?: {};
|
|
82
|
+
}
|
|
66
83
|
interface FleetServiceManagementFile extends BaseCommonFile {
|
|
67
84
|
fleet_service_management_file_id: string;
|
|
68
85
|
organisation_id: string;
|
|
@@ -84,8 +101,9 @@ declare const FleetServiceManagementFileSchema: z.ZodObject<{
|
|
|
84
101
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
85
102
|
service_management_id: z.ZodEffects<z.ZodString, string, string>;
|
|
86
103
|
}, "strip", z.ZodTypeAny, {
|
|
87
|
-
status: Status;
|
|
88
104
|
service_management_id: string;
|
|
105
|
+
status: Status;
|
|
106
|
+
organisation_id: string;
|
|
89
107
|
usage_type: string;
|
|
90
108
|
file_type: FileType;
|
|
91
109
|
file_url: string;
|
|
@@ -94,13 +112,12 @@ declare const FleetServiceManagementFileSchema: z.ZodObject<{
|
|
|
94
112
|
file_description: string;
|
|
95
113
|
file_size: number;
|
|
96
114
|
file_metadata: Record<string, any>;
|
|
97
|
-
organisation_id: string;
|
|
98
115
|
}, {
|
|
99
|
-
status: Status;
|
|
100
116
|
service_management_id: string;
|
|
117
|
+
status: Status;
|
|
118
|
+
organisation_id: string;
|
|
101
119
|
usage_type: string;
|
|
102
120
|
file_type: FileType;
|
|
103
|
-
organisation_id: string;
|
|
104
121
|
file_url?: string | undefined;
|
|
105
122
|
file_key?: string | undefined;
|
|
106
123
|
file_name?: string | undefined;
|
|
@@ -116,6 +133,7 @@ declare const FleetServiceManagementSchema: z.ZodObject<{
|
|
|
116
133
|
driver_id: z.ZodEffects<z.ZodString, string, string>;
|
|
117
134
|
vendor_id: z.ZodEffects<z.ZodString, string, string>;
|
|
118
135
|
service_center_id: z.ZodEffects<z.ZodString, string, string>;
|
|
136
|
+
service_schedule_id: z.ZodEffects<z.ZodString, string, string>;
|
|
119
137
|
service_status: z.ZodType<ServiceStatus, z.ZodTypeDef, ServiceStatus>;
|
|
120
138
|
service_type: z.ZodType<ServiceType, z.ZodTypeDef, ServiceType>;
|
|
121
139
|
service_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
@@ -141,6 +159,7 @@ declare const FleetServiceManagementSchema: z.ZodObject<{
|
|
|
141
159
|
next_odometer_reading: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
142
160
|
next_service_schedule_date: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
143
161
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
162
|
+
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
144
163
|
FleetServiceManagementFileSchema: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
145
164
|
usage_type: z.ZodEffects<z.ZodString, string, string>;
|
|
146
165
|
file_type: z.ZodType<FileType, z.ZodTypeDef, FileType>;
|
|
@@ -155,8 +174,9 @@ declare const FleetServiceManagementSchema: z.ZodObject<{
|
|
|
155
174
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
156
175
|
service_management_id: z.ZodEffects<z.ZodString, string, string>;
|
|
157
176
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
158
|
-
status: Status;
|
|
159
177
|
service_management_id: string;
|
|
178
|
+
status: Status;
|
|
179
|
+
organisation_id: string;
|
|
160
180
|
usage_type: string;
|
|
161
181
|
file_type: FileType;
|
|
162
182
|
file_url: string;
|
|
@@ -165,13 +185,12 @@ declare const FleetServiceManagementSchema: z.ZodObject<{
|
|
|
165
185
|
file_description: string;
|
|
166
186
|
file_size: number;
|
|
167
187
|
file_metadata: Record<string, any>;
|
|
168
|
-
organisation_id: string;
|
|
169
188
|
}, {
|
|
170
|
-
status: Status;
|
|
171
189
|
service_management_id: string;
|
|
190
|
+
status: Status;
|
|
191
|
+
organisation_id: string;
|
|
172
192
|
usage_type: string;
|
|
173
193
|
file_type: FileType;
|
|
174
|
-
organisation_id: string;
|
|
175
194
|
file_url?: string | undefined;
|
|
176
195
|
file_key?: string | undefined;
|
|
177
196
|
file_name?: string | undefined;
|
|
@@ -180,23 +199,16 @@ declare const FleetServiceManagementSchema: z.ZodObject<{
|
|
|
180
199
|
file_metadata?: Record<string, any> | undefined;
|
|
181
200
|
}>, "many">>>;
|
|
182
201
|
}, "strip", z.ZodTypeAny, {
|
|
183
|
-
status: Status;
|
|
184
|
-
organisation_id: string;
|
|
185
|
-
driver_id: string;
|
|
186
|
-
vehicle_id: string;
|
|
187
|
-
user_id: string;
|
|
188
|
-
service_center_id: string;
|
|
189
|
-
vendor_id: string;
|
|
190
|
-
rating: number;
|
|
191
|
-
odometer_reading: number;
|
|
192
|
-
service_start_date: string;
|
|
193
202
|
service_status: ServiceStatus;
|
|
194
203
|
service_type: ServiceType;
|
|
195
204
|
service_date: string;
|
|
205
|
+
service_start_date: string;
|
|
196
206
|
service_complete_date: string;
|
|
207
|
+
odometer_reading: number;
|
|
197
208
|
estimated_notes: string;
|
|
198
209
|
final_notes: string;
|
|
199
210
|
is_inhouse_service: YesNo;
|
|
211
|
+
rating: number;
|
|
200
212
|
rating_comments: string;
|
|
201
213
|
warranty_related_information: string;
|
|
202
214
|
payment_related_information: string;
|
|
@@ -204,9 +216,19 @@ declare const FleetServiceManagementSchema: z.ZodObject<{
|
|
|
204
216
|
payment_method: string;
|
|
205
217
|
next_odometer_reading: number;
|
|
206
218
|
next_service_schedule_date: string;
|
|
219
|
+
status: Status;
|
|
220
|
+
organisation_id: string;
|
|
221
|
+
user_id: string;
|
|
222
|
+
vehicle_id: string;
|
|
223
|
+
driver_id: string;
|
|
224
|
+
vendor_id: string;
|
|
225
|
+
service_center_id: string;
|
|
226
|
+
service_schedule_id: string;
|
|
227
|
+
time_zone_id: string;
|
|
207
228
|
FleetServiceManagementFileSchema: {
|
|
208
|
-
status: Status;
|
|
209
229
|
service_management_id: string;
|
|
230
|
+
status: Status;
|
|
231
|
+
organisation_id: string;
|
|
210
232
|
usage_type: string;
|
|
211
233
|
file_type: FileType;
|
|
212
234
|
file_url: string;
|
|
@@ -215,7 +237,6 @@ declare const FleetServiceManagementSchema: z.ZodObject<{
|
|
|
215
237
|
file_description: string;
|
|
216
238
|
file_size: number;
|
|
217
239
|
file_metadata: Record<string, any>;
|
|
218
|
-
organisation_id: string;
|
|
219
240
|
}[];
|
|
220
241
|
fuel?: number | undefined;
|
|
221
242
|
estimated_labor_cost?: number | undefined;
|
|
@@ -225,23 +246,24 @@ declare const FleetServiceManagementSchema: z.ZodObject<{
|
|
|
225
246
|
actual_parts_cost?: number | undefined;
|
|
226
247
|
actual_total_cost?: number | undefined;
|
|
227
248
|
}, {
|
|
228
|
-
status: Status;
|
|
229
|
-
organisation_id: string;
|
|
230
|
-
driver_id: string;
|
|
231
|
-
vehicle_id: string;
|
|
232
|
-
user_id: string;
|
|
233
|
-
service_center_id: string;
|
|
234
|
-
vendor_id: string;
|
|
235
249
|
service_status: ServiceStatus;
|
|
236
250
|
service_type: ServiceType;
|
|
237
251
|
service_date: string;
|
|
238
252
|
is_inhouse_service: YesNo;
|
|
239
253
|
payment_status: PaymentStatus;
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
254
|
+
status: Status;
|
|
255
|
+
organisation_id: string;
|
|
256
|
+
user_id: string;
|
|
257
|
+
vehicle_id: string;
|
|
258
|
+
driver_id: string;
|
|
259
|
+
vendor_id: string;
|
|
260
|
+
service_center_id: string;
|
|
261
|
+
service_schedule_id: string;
|
|
262
|
+
time_zone_id: string;
|
|
243
263
|
service_start_date?: string | undefined;
|
|
244
264
|
service_complete_date?: string | undefined;
|
|
265
|
+
odometer_reading?: unknown;
|
|
266
|
+
fuel?: unknown;
|
|
245
267
|
estimated_labor_cost?: unknown;
|
|
246
268
|
estimated_parts_cost?: unknown;
|
|
247
269
|
estimated_total_cost?: unknown;
|
|
@@ -250,6 +272,7 @@ declare const FleetServiceManagementSchema: z.ZodObject<{
|
|
|
250
272
|
actual_parts_cost?: unknown;
|
|
251
273
|
actual_total_cost?: unknown;
|
|
252
274
|
final_notes?: string | undefined;
|
|
275
|
+
rating?: unknown;
|
|
253
276
|
rating_comments?: string | undefined;
|
|
254
277
|
warranty_related_information?: string | undefined;
|
|
255
278
|
payment_related_information?: string | undefined;
|
|
@@ -257,11 +280,11 @@ declare const FleetServiceManagementSchema: z.ZodObject<{
|
|
|
257
280
|
next_odometer_reading?: unknown;
|
|
258
281
|
next_service_schedule_date?: string | undefined;
|
|
259
282
|
FleetServiceManagementFileSchema?: {
|
|
260
|
-
status: Status;
|
|
261
283
|
service_management_id: string;
|
|
284
|
+
status: Status;
|
|
285
|
+
organisation_id: string;
|
|
262
286
|
usage_type: string;
|
|
263
287
|
file_type: FileType;
|
|
264
|
-
organisation_id: string;
|
|
265
288
|
file_url?: string | undefined;
|
|
266
289
|
file_key?: string | undefined;
|
|
267
290
|
file_name?: string | undefined;
|
|
@@ -316,7 +339,12 @@ declare const FleetServiceManagementQuerySchema: z.ZodObject<{
|
|
|
316
339
|
from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
317
340
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
318
341
|
}, "strip", z.ZodTypeAny, {
|
|
342
|
+
service_status: ServiceStatus[];
|
|
343
|
+
service_type: ServiceType[];
|
|
344
|
+
is_inhouse_service: YesNo[];
|
|
345
|
+
payment_status: PaymentStatus[];
|
|
319
346
|
status: Status[];
|
|
347
|
+
time_zone_id: string;
|
|
320
348
|
search: string;
|
|
321
349
|
paging: PAGING;
|
|
322
350
|
page_count: number;
|
|
@@ -336,25 +364,24 @@ declare const FleetServiceManagementQuerySchema: z.ZodObject<{
|
|
|
336
364
|
}[];
|
|
337
365
|
include_master_data: YesNo;
|
|
338
366
|
date_format_id: string;
|
|
339
|
-
time_zone_id: string;
|
|
340
367
|
service_management_ids: string[];
|
|
341
368
|
organisation_ids: string[];
|
|
369
|
+
user_ids: string[];
|
|
342
370
|
vehicle_ids: string[];
|
|
343
371
|
driver_ids: string[];
|
|
344
|
-
user_ids: string[];
|
|
345
372
|
vendor_ids: string[];
|
|
346
373
|
service_center_ids: string[];
|
|
347
|
-
service_status: ServiceStatus[];
|
|
348
|
-
service_type: ServiceType[];
|
|
349
|
-
is_inhouse_service: YesNo[];
|
|
350
|
-
payment_status: PaymentStatus[];
|
|
351
374
|
from_date: string;
|
|
352
375
|
to_date: string;
|
|
353
376
|
}, {
|
|
354
|
-
date_format_id: string;
|
|
355
377
|
time_zone_id: string;
|
|
378
|
+
date_format_id: string;
|
|
356
379
|
from_date: string;
|
|
357
380
|
to_date: string;
|
|
381
|
+
service_status?: ServiceStatus[] | undefined;
|
|
382
|
+
service_type?: ServiceType[] | undefined;
|
|
383
|
+
is_inhouse_service?: YesNo[] | undefined;
|
|
384
|
+
payment_status?: PaymentStatus[] | undefined;
|
|
358
385
|
status?: Status[] | undefined;
|
|
359
386
|
search?: string | undefined;
|
|
360
387
|
paging?: PAGING | undefined;
|
|
@@ -376,19 +403,129 @@ declare const FleetServiceManagementQuerySchema: z.ZodObject<{
|
|
|
376
403
|
include_master_data?: YesNo | undefined;
|
|
377
404
|
service_management_ids?: string[] | undefined;
|
|
378
405
|
organisation_ids?: string[] | undefined;
|
|
406
|
+
user_ids?: string[] | undefined;
|
|
379
407
|
vehicle_ids?: string[] | undefined;
|
|
380
408
|
driver_ids?: string[] | undefined;
|
|
381
|
-
user_ids?: string[] | undefined;
|
|
382
409
|
vendor_ids?: string[] | undefined;
|
|
383
410
|
service_center_ids?: string[] | undefined;
|
|
384
|
-
service_status?: ServiceStatus[] | undefined;
|
|
385
|
-
service_type?: ServiceType[] | undefined;
|
|
386
|
-
is_inhouse_service?: YesNo[] | undefined;
|
|
387
|
-
payment_status?: PaymentStatus[] | undefined;
|
|
388
411
|
}>;
|
|
389
412
|
type FleetServiceManagementQueryDTO = z.infer<typeof FleetServiceManagementQuerySchema>;
|
|
413
|
+
declare const FleetServiceManagementTaskSchema: z.ZodObject<{
|
|
414
|
+
fleet_service_task_id: z.ZodEffects<z.ZodString, string, string>;
|
|
415
|
+
service_management_id: z.ZodEffects<z.ZodString, string, string>;
|
|
416
|
+
task_cost: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
417
|
+
labor_cost: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
418
|
+
parts_cost: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
419
|
+
task_notes: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
420
|
+
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
421
|
+
}, "strip", z.ZodTypeAny, {
|
|
422
|
+
service_management_id: string;
|
|
423
|
+
status: Status;
|
|
424
|
+
task_notes: string;
|
|
425
|
+
fleet_service_task_id: string;
|
|
426
|
+
task_cost?: number | undefined;
|
|
427
|
+
labor_cost?: number | undefined;
|
|
428
|
+
parts_cost?: number | undefined;
|
|
429
|
+
}, {
|
|
430
|
+
service_management_id: string;
|
|
431
|
+
status: Status;
|
|
432
|
+
fleet_service_task_id: string;
|
|
433
|
+
task_cost?: unknown;
|
|
434
|
+
labor_cost?: unknown;
|
|
435
|
+
parts_cost?: unknown;
|
|
436
|
+
task_notes?: string | undefined;
|
|
437
|
+
}>;
|
|
438
|
+
type FleetServiceManagementTaskDTO = z.infer<typeof FleetServiceManagementTaskSchema>;
|
|
439
|
+
declare const FleetServiceManagementTaskQuerySchema: z.ZodObject<{
|
|
440
|
+
search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
441
|
+
status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
|
|
442
|
+
paging: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof PAGING>>>;
|
|
443
|
+
page_count: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
444
|
+
page_index: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
445
|
+
load_parents: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadParents>>>;
|
|
446
|
+
load_parents_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
447
|
+
load_child: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChild>>>;
|
|
448
|
+
load_child_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
449
|
+
load_child_count: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChildCount>>>;
|
|
450
|
+
load_child_count_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
451
|
+
include_details: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
452
|
+
where_relations: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
453
|
+
order_by: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
454
|
+
name: z.ZodEffects<z.ZodString, string, string>;
|
|
455
|
+
field: z.ZodEffects<z.ZodString, string, string>;
|
|
456
|
+
direction: z.ZodType<OrderBy, z.ZodTypeDef, OrderBy>;
|
|
457
|
+
}, "strip", z.ZodTypeAny, {
|
|
458
|
+
name: string;
|
|
459
|
+
field: string;
|
|
460
|
+
direction: OrderBy;
|
|
461
|
+
}, {
|
|
462
|
+
name: string;
|
|
463
|
+
field: string;
|
|
464
|
+
direction: OrderBy;
|
|
465
|
+
}>, "many">>>;
|
|
466
|
+
include_master_data: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
|
|
467
|
+
date_format_id: z.ZodEffects<z.ZodString, string, string>;
|
|
468
|
+
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
469
|
+
} & {
|
|
470
|
+
fleet_service_management_task_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
471
|
+
service_management_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
472
|
+
fleet_service_task_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
473
|
+
}, "strip", z.ZodTypeAny, {
|
|
474
|
+
status: Status[];
|
|
475
|
+
time_zone_id: string;
|
|
476
|
+
search: string;
|
|
477
|
+
paging: PAGING;
|
|
478
|
+
page_count: number;
|
|
479
|
+
page_index: number;
|
|
480
|
+
load_parents: LoadParents;
|
|
481
|
+
load_parents_list: string[];
|
|
482
|
+
load_child: LoadChild;
|
|
483
|
+
load_child_list: string[];
|
|
484
|
+
load_child_count: LoadChildCount;
|
|
485
|
+
load_child_count_list: string[];
|
|
486
|
+
include_details: Record<string, any>;
|
|
487
|
+
where_relations: Record<string, any>;
|
|
488
|
+
order_by: {
|
|
489
|
+
name: string;
|
|
490
|
+
field: string;
|
|
491
|
+
direction: OrderBy;
|
|
492
|
+
}[];
|
|
493
|
+
include_master_data: YesNo;
|
|
494
|
+
date_format_id: string;
|
|
495
|
+
service_management_ids: string[];
|
|
496
|
+
fleet_service_management_task_ids: string[];
|
|
497
|
+
fleet_service_task_ids: string[];
|
|
498
|
+
}, {
|
|
499
|
+
time_zone_id: string;
|
|
500
|
+
date_format_id: string;
|
|
501
|
+
status?: Status[] | undefined;
|
|
502
|
+
search?: string | undefined;
|
|
503
|
+
paging?: PAGING | undefined;
|
|
504
|
+
page_count?: unknown;
|
|
505
|
+
page_index?: unknown;
|
|
506
|
+
load_parents?: LoadParents | undefined;
|
|
507
|
+
load_parents_list?: string[] | undefined;
|
|
508
|
+
load_child?: LoadChild | undefined;
|
|
509
|
+
load_child_list?: string[] | undefined;
|
|
510
|
+
load_child_count?: LoadChildCount | undefined;
|
|
511
|
+
load_child_count_list?: string[] | undefined;
|
|
512
|
+
include_details?: Record<string, any> | undefined;
|
|
513
|
+
where_relations?: Record<string, any> | undefined;
|
|
514
|
+
order_by?: {
|
|
515
|
+
name: string;
|
|
516
|
+
field: string;
|
|
517
|
+
direction: OrderBy;
|
|
518
|
+
}[] | undefined;
|
|
519
|
+
include_master_data?: YesNo | undefined;
|
|
520
|
+
service_management_ids?: string[] | undefined;
|
|
521
|
+
fleet_service_management_task_ids?: string[] | undefined;
|
|
522
|
+
fleet_service_task_ids?: string[] | undefined;
|
|
523
|
+
}>;
|
|
524
|
+
type FleetServiceManagementTaskQueryDTO = z.infer<typeof FleetServiceManagementTaskQuerySchema>;
|
|
390
525
|
declare const toFleetServiceManagementPayload: (row: FleetServiceManagement) => FleetServiceManagementDTO;
|
|
391
526
|
declare const newFleetServiceManagementPayload: () => FleetServiceManagementDTO;
|
|
527
|
+
declare const toFleetServiceManagementTaskPayload: (row: FleetServiceManagementTask) => FleetServiceManagementTaskDTO;
|
|
528
|
+
declare const newFleetServiceManagementTaskPayload: () => FleetServiceManagementTaskDTO;
|
|
392
529
|
declare const get_service_file_presigned_url: (data: FilePresignedUrlDTO) => Promise<BR<AWSPresignedUrl>>;
|
|
393
530
|
declare const create_service_file: (data: FleetServiceManagementFileDTO) => Promise<SBR>;
|
|
394
531
|
declare const remove_service_file: (id: string) => Promise<SBR>;
|
|
@@ -396,5 +533,9 @@ declare const findFleetServiceManagement: (data: FleetServiceManagementQueryDTO)
|
|
|
396
533
|
declare const createFleetServiceManagement: (data: FleetServiceManagementDTO) => Promise<SBR>;
|
|
397
534
|
declare const updateFleetServiceManagement: (id: string, data: FleetServiceManagementDTO) => Promise<SBR>;
|
|
398
535
|
declare const deleteFleetServiceManagement: (id: string) => Promise<SBR>;
|
|
536
|
+
declare const findFleetServiceManagementTask: (data: FleetServiceManagementTaskQueryDTO) => Promise<FBR<FleetServiceManagementTask[]>>;
|
|
537
|
+
declare const createFleetServiceManagementTask: (data: FleetServiceManagementTaskDTO) => Promise<SBR>;
|
|
538
|
+
declare const updateFleetServiceManagementTask: (id: string, data: FleetServiceManagementTaskDTO) => Promise<SBR>;
|
|
539
|
+
declare const deleteFleetServiceManagementTask: (id: string) => Promise<SBR>;
|
|
399
540
|
|
|
400
|
-
export { type FleetServiceManagement, type FleetServiceManagementDTO, type FleetServiceManagementFile, type FleetServiceManagementFileDTO, FleetServiceManagementFileSchema, type FleetServiceManagementQueryDTO, FleetServiceManagementQuerySchema, FleetServiceManagementSchema, createFleetServiceManagement, create_service_file, deleteFleetServiceManagement, findFleetServiceManagement, get_service_file_presigned_url, newFleetServiceManagementPayload, remove_service_file, toFleetServiceManagementPayload, updateFleetServiceManagement };
|
|
541
|
+
export { type FleetServiceManagement, type FleetServiceManagementDTO, type FleetServiceManagementFile, type FleetServiceManagementFileDTO, FleetServiceManagementFileSchema, type FleetServiceManagementQueryDTO, FleetServiceManagementQuerySchema, FleetServiceManagementSchema, type FleetServiceManagementTask, type FleetServiceManagementTaskDTO, type FleetServiceManagementTaskQueryDTO, FleetServiceManagementTaskQuerySchema, FleetServiceManagementTaskSchema, createFleetServiceManagement, createFleetServiceManagementTask, create_service_file, deleteFleetServiceManagement, deleteFleetServiceManagementTask, findFleetServiceManagement, findFleetServiceManagementTask, get_service_file_presigned_url, newFleetServiceManagementPayload, newFleetServiceManagementTaskPayload, remove_service_file, toFleetServiceManagementPayload, toFleetServiceManagementTaskPayload, updateFleetServiceManagement, updateFleetServiceManagementTask };
|