vms-nest-prisma-api-document 250.0.0 → 270.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/services/account/analytics/user_login_analytics_service.d.ts +3 -3
- package/dist/services/account/analytics/user_page_analytics_service.d.ts +1 -1
- package/dist/services/account/bookmark_service.d.ts +11 -11
- package/dist/services/account/notification_preferences.service.d.ts +18 -18
- package/dist/services/account/report_preferences.service.d.ts +7 -7
- package/dist/services/account/ticket_service.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/bus_stop.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/calender.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/master_route.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/notice_board.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/student.d.ts +1 -1
- package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.d.ts +1 -1
- package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.d.ts +5 -5
- package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +1 -1
- package/dist/services/fleet/incident_management/incident_management_service.d.ts +72 -72
- package/dist/services/fleet/inspection_management/fleet_inspection_form_service.d.ts +1 -3
- package/dist/services/fleet/inspection_management/fleet_inspection_management_service.d.ts +1 -3
- package/dist/services/fleet/inspection_management/fleet_inspection_schedule_service.d.ts +49 -51
- package/dist/services/fleet/issue_management/issue_management_service.d.ts +19 -21
- package/dist/services/fleet/service_management/fleet_service_management_service.d.ts +5 -660
- package/dist/services/fleet/service_management/fleet_service_schedule_service.d.ts +1 -3
- package/dist/services/fleet/vendor_management/fleet_vendor_fuel_station.d.ts +1 -1
- package/dist/services/fleet/vendor_management/fleet_vendor_fuel_station.js +17 -26
- package/dist/services/fleet/vendor_management/fleet_vendor_service.d.ts +1 -1
- package/dist/services/fleet/vendor_management/fleet_vendor_service.js +5 -15
- package/dist/services/fleet/vendor_management/fleet_vendor_service_center.d.ts +1 -1
- package/dist/services/fleet/vendor_management/fleet_vendor_service_center.js +14 -6
- package/dist/services/gps/features/geofence/gps_geofence_service.d.ts +3 -3
- package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +6 -6
- package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +7 -7
- package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +2 -2
- package/dist/services/gps/features/gps_live_track_share_link_service.d.ts +1 -1
- package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +1 -1
- package/dist/services/gps/reports/gps_models/GpsPacket.d.ts +5 -0
- package/dist/services/gps/reports/gps_reports_mongo_service.d.ts +46 -46
- package/dist/services/main/devices/master_device_service.d.ts +1 -1
- package/dist/services/main/drivers/master_driver_service.d.ts +1 -1
- package/dist/services/main/sims/master_sim_service.d.ts +1 -1
- package/dist/services/main/users/auth_service.d.ts +1 -1
- package/dist/services/main/users/user_admin_service.d.ts +3 -3
- package/dist/services/main/users/user_organisation_service.d.ts +1 -1
- package/dist/services/main/users/user_service.d.ts +1 -1
- package/dist/services/main/vehicle/childs/vehicle_odometer_history.d.ts +1 -1
- package/dist/services/main/vehicle/master_vehicle_service.d.ts +1 -1
- package/dist/services/master/bus/master_class_service.d.ts +1 -1
- package/dist/services/master/bus/master_program_service.d.ts +1 -1
- package/dist/services/master/bus/master_relationship_service.d.ts +1 -1
- package/dist/services/master/bus/master_section_service.d.ts +1 -1
- package/dist/services/master/bus/master_semester_service.d.ts +1 -1
- package/dist/services/master/bus/master_stream_service.d.ts +1 -1
- package/dist/services/master/bus/master_year_service.d.ts +1 -1
- package/dist/services/master/device/master_device_manufacturer_service.d.ts +1 -1
- package/dist/services/master/device/master_device_model_service.d.ts +1 -1
- package/dist/services/master/device/master_device_type_service.d.ts +1 -1
- package/dist/services/master/expense/master_expense_name_service.d.ts +3 -3
- package/dist/services/master/expense/master_expense_type_service.d.ts +1 -1
- package/dist/services/master/expense/master_fuel_company_service.d.ts +1 -1
- package/dist/services/master/expense/master_vendor_document_type_service.d.ts +1 -1
- package/dist/services/master/expense/master_vendor_tag_service.d.ts +1 -1
- package/dist/services/master/expense/master_vendor_type_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_incident_severity_service.d.ts +2 -2
- package/dist/services/master/fleet/master_fleet_incident_status_service.d.ts +2 -2
- package/dist/services/master/fleet/master_fleet_incident_type_service.d.ts +2 -2
- package/dist/services/master/fleet/master_fleet_insurance_claim_status_service.d.ts +2 -2
- package/dist/services/master/fleet/master_fleet_service_task_service.d.ts +4 -127
- package/dist/services/master/main/master_main_country_service.d.ts +1 -1
- package/dist/services/master/main/master_main_currency_service.d.ts +1 -1
- package/dist/services/master/main/master_main_date_format_service.d.ts +1 -1
- package/dist/services/master/main/master_main_eway_bill_provider_service.d.ts +2 -2
- package/dist/services/master/main/master_main_fasttag_bank_service.d.ts +2 -2
- package/dist/services/master/main/master_main_industry_service.d.ts +1 -1
- package/dist/services/master/main/master_main_landmark_service.d.ts +1 -1
- package/dist/services/master/main/master_main_language_service.d.ts +1 -1
- package/dist/services/master/main/master_main_state_service.d.ts +1 -1
- package/dist/services/master/main/master_main_timezone_service.d.ts +1 -1
- package/dist/services/master/main/master_main_unit_distance_service.d.ts +1 -1
- package/dist/services/master/main/master_main_unit_mileage_service.d.ts +1 -1
- package/dist/services/master/main/master_main_unit_volume_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_branch_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_color_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_group_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_sub_company_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_tag_service.d.ts +1 -1
- package/dist/services/master/spare_part/master_spare_part_category_service.d.ts +1 -1
- package/dist/services/master/spare_part/master_spare_part_sub_category_service.d.ts +9 -9
- package/dist/services/master/spare_part/master_spare_part_unit_service.d.ts +1 -1
- package/dist/services/master/trip/master_trip_party_type_service.d.ts +1 -1
- package/dist/services/master/tyre/master_tyre_grade_service.d.ts +1 -1
- package/dist/services/master/tyre/master_tyre_make_service.d.ts +1 -1
- package/dist/services/master/tyre/master_tyre_model_service.d.ts +1 -1
- package/dist/services/master/user/master_user_role_service.d.ts +1 -1
- package/dist/services/master/user/master_user_status_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_associated_to_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_document_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_fuel_removal_reason_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_fuel_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_fuel_unit_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_make_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_model_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_ownership_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_status_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_sub_model_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_type_service.d.ts +1 -1
- package/dist/services/website/contact_us_detail_service.d.ts +1 -1
- package/dist/services/website/static_pages_service.d.ts +1 -1
- package/dist/{user_organisation_service-CqR_hga1.d.ts → user_organisation_service-DnO03t9F.d.ts} +1012 -235
- package/package.json +1 -1
|
@@ -1,661 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
import { MasterFleetServiceTask } from '../../master/fleet/master_fleet_service_task_service.js';
|
|
1
|
+
import '../../../core/Enums.js';
|
|
2
|
+
import '../../../core/BaseResponse.js';
|
|
3
|
+
import 'zod';
|
|
4
|
+
import '../../../zod_utils/zod_base_schema.js';
|
|
5
|
+
export { F as FleetServiceManagement, hN as FleetServiceManagementDTO, hI as FleetServiceManagementFile, hL as FleetServiceManagementFileDTO, hK as FleetServiceManagementFileSchema, hP as FleetServiceManagementQueryDTO, hO as FleetServiceManagementQuerySchema, hM as FleetServiceManagementSchema, hH as FleetServiceManagementTask, hR as FleetServiceManagementTaskDTO, hT as FleetServiceManagementTaskQueryDTO, hS as FleetServiceManagementTaskQuerySchema, hQ as FleetServiceManagementTaskSchema, hJ as FleetServiceReminder, hV as FleetServiceReminderDTO, hX as FleetServiceReminderQueryDTO, hW as FleetServiceReminderQuerySchema, hU as FleetServiceReminderSchema, i6 as createFleetServiceManagement, ia as createFleetServiceManagementTask, ie as createFleetServiceReminder, i3 as create_service_file, i8 as deleteFleetServiceManagement, ic as deleteFleetServiceManagementTask, ih as deleteFleetServiceReminder, i5 as findFleetServiceManagement, i9 as findFleetServiceManagementTask, id as findFleetServiceReminder, i2 as get_service_file_presigned_url, hZ as newFleetServiceManagementPayload, i1 as newFleetServiceManagementTaskPayload, h$ as newFleetServiceReminderPayload, i4 as remove_service_file, hY as toFleetServiceManagementPayload, h_ as toFleetServiceManagementTaskPayload, i0 as toFleetServiceReminderPayload, i7 as updateFleetServiceManagement, ib as updateFleetServiceManagementTask, ig as updateFleetServiceReminder } from '../../../user_organisation_service-DnO03t9F.js';
|
|
7
6
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
8
|
-
|
|
9
|
-
interface FleetServiceManagement extends Record<string, unknown> {
|
|
10
|
-
service_management_id: string;
|
|
11
|
-
service_management_sub_id: number;
|
|
12
|
-
service_management_code: string;
|
|
13
|
-
service_status: ServiceStatus;
|
|
14
|
-
service_type: ServiceType;
|
|
15
|
-
service_start_date?: string;
|
|
16
|
-
service_start_date_f?: string;
|
|
17
|
-
service_complete_date?: string;
|
|
18
|
-
service_complete_date_f?: string;
|
|
19
|
-
odometer_reading?: number;
|
|
20
|
-
fuel?: number;
|
|
21
|
-
estimated_labor_cost?: number;
|
|
22
|
-
estimated_parts_cost?: number;
|
|
23
|
-
estimated_total_cost?: number;
|
|
24
|
-
estimated_notes?: string;
|
|
25
|
-
actual_labor_cost?: number;
|
|
26
|
-
actual_parts_cost?: number;
|
|
27
|
-
actual_total_cost?: number;
|
|
28
|
-
final_notes?: string;
|
|
29
|
-
is_inhouse_service: YesNo;
|
|
30
|
-
rating?: number;
|
|
31
|
-
rating_comments?: string;
|
|
32
|
-
warranty_related_information?: string;
|
|
33
|
-
payment_related_information?: string;
|
|
34
|
-
payment_status: PaymentStatus;
|
|
35
|
-
payment_method?: string;
|
|
36
|
-
next_odometer_reading?: number;
|
|
37
|
-
next_service_schedule_date?: string;
|
|
38
|
-
status: Status;
|
|
39
|
-
added_date_time: string;
|
|
40
|
-
modified_date_time: string;
|
|
41
|
-
organisation_id: string;
|
|
42
|
-
UserOrganisation?: UserOrganisation;
|
|
43
|
-
user_id: string;
|
|
44
|
-
User?: User;
|
|
45
|
-
vehicle_id: string;
|
|
46
|
-
MasterVehicle?: MasterVehicle;
|
|
47
|
-
vehicle_number?: string;
|
|
48
|
-
vehicle_type?: string;
|
|
49
|
-
driver_id?: string;
|
|
50
|
-
MasterDriver?: MasterDriver;
|
|
51
|
-
driver_details?: string;
|
|
52
|
-
vendor_id?: string;
|
|
53
|
-
FleetVendor?: FleetVendor;
|
|
54
|
-
vendor_name?: string;
|
|
55
|
-
service_center_id?: string;
|
|
56
|
-
FleetVendorServiceCenter?: FleetVendorServiceCenter;
|
|
57
|
-
center_name?: string;
|
|
58
|
-
FleetServiceManagementFile: FleetServiceManagementFile[];
|
|
59
|
-
_count?: {
|
|
60
|
-
FleetServiceManagementTask: number;
|
|
61
|
-
FleetServiceManagementFile: number;
|
|
62
|
-
FleetIssueManagement: number;
|
|
63
|
-
};
|
|
64
|
-
}
|
|
65
|
-
interface FleetServiceManagementTask extends Record<string, unknown> {
|
|
66
|
-
fleet_service_management_task_id: string;
|
|
67
|
-
task_cost?: number;
|
|
68
|
-
task_notes?: string;
|
|
69
|
-
status: Status;
|
|
70
|
-
added_date_time: string;
|
|
71
|
-
modified_date_time: string;
|
|
72
|
-
service_management_id: string;
|
|
73
|
-
FleetServiceManagement?: FleetServiceManagement;
|
|
74
|
-
fleet_service_task_id: string;
|
|
75
|
-
MasterFleetServiceTask?: MasterFleetServiceTask;
|
|
76
|
-
fleet_service_task?: string;
|
|
77
|
-
_count?: {};
|
|
78
|
-
}
|
|
79
|
-
interface FleetServiceManagementFile extends BaseCommonFile {
|
|
80
|
-
fleet_service_management_file_id: string;
|
|
81
|
-
organisation_id: string;
|
|
82
|
-
UserOrganisation?: UserOrganisation;
|
|
83
|
-
service_management_id: string;
|
|
84
|
-
FleetServiceManagement?: FleetServiceManagement;
|
|
85
|
-
}
|
|
86
|
-
interface FleetServiceReminder extends Record<string, unknown> {
|
|
87
|
-
service_reminder_id: string;
|
|
88
|
-
reminder_type?: ReminderType;
|
|
89
|
-
status: Status;
|
|
90
|
-
added_date_time: string;
|
|
91
|
-
modified_date_time: string;
|
|
92
|
-
organisation_id: string;
|
|
93
|
-
UserOrganisation?: UserOrganisation;
|
|
94
|
-
vehicle_id: string;
|
|
95
|
-
MasterVehicle?: MasterVehicle;
|
|
96
|
-
vehicle_number?: string;
|
|
97
|
-
vehicle_type?: string;
|
|
98
|
-
service_management_id: string;
|
|
99
|
-
FleetServiceManagement?: FleetServiceManagement;
|
|
100
|
-
}
|
|
101
|
-
declare const FleetServiceManagementFileSchema: z.ZodObject<{
|
|
102
|
-
usage_type: z.ZodEffects<z.ZodString, string, string>;
|
|
103
|
-
file_type: z.ZodType<FileType, z.ZodTypeDef, FileType>;
|
|
104
|
-
file_url: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
105
|
-
file_key: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
106
|
-
file_name: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
107
|
-
file_description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
108
|
-
file_size: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
109
|
-
file_metadata: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
110
|
-
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
111
|
-
} & {
|
|
112
|
-
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
113
|
-
service_management_id: z.ZodEffects<z.ZodString, string, string>;
|
|
114
|
-
}, "strip", z.ZodTypeAny, {
|
|
115
|
-
status: Status;
|
|
116
|
-
organisation_id: string;
|
|
117
|
-
service_management_id: string;
|
|
118
|
-
usage_type: string;
|
|
119
|
-
file_type: FileType;
|
|
120
|
-
file_url: string;
|
|
121
|
-
file_key: string;
|
|
122
|
-
file_name: string;
|
|
123
|
-
file_description: string;
|
|
124
|
-
file_size: number;
|
|
125
|
-
file_metadata: Record<string, any>;
|
|
126
|
-
}, {
|
|
127
|
-
status: Status;
|
|
128
|
-
organisation_id: string;
|
|
129
|
-
service_management_id: string;
|
|
130
|
-
usage_type: string;
|
|
131
|
-
file_type: FileType;
|
|
132
|
-
file_url?: string | undefined;
|
|
133
|
-
file_key?: string | undefined;
|
|
134
|
-
file_name?: string | undefined;
|
|
135
|
-
file_description?: string | undefined;
|
|
136
|
-
file_size?: unknown;
|
|
137
|
-
file_metadata?: Record<string, any> | undefined;
|
|
138
|
-
}>;
|
|
139
|
-
type FleetServiceManagementFileDTO = z.infer<typeof FleetServiceManagementFileSchema>;
|
|
140
|
-
declare const FleetServiceManagementSchema: z.ZodObject<{
|
|
141
|
-
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
142
|
-
user_id: z.ZodEffects<z.ZodString, string, string>;
|
|
143
|
-
vehicle_id: z.ZodEffects<z.ZodString, string, string>;
|
|
144
|
-
driver_id: z.ZodEffects<z.ZodString, string, string>;
|
|
145
|
-
vendor_id: z.ZodEffects<z.ZodString, string, string>;
|
|
146
|
-
service_center_id: z.ZodEffects<z.ZodString, string, string>;
|
|
147
|
-
service_schedule_id: z.ZodEffects<z.ZodString, string, string>;
|
|
148
|
-
service_status: z.ZodType<ServiceStatus, z.ZodTypeDef, ServiceStatus>;
|
|
149
|
-
service_type: z.ZodType<ServiceType, z.ZodTypeDef, ServiceType>;
|
|
150
|
-
service_start_date: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
151
|
-
service_complete_date: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
152
|
-
odometer_reading: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
153
|
-
fuel: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
154
|
-
estimated_labor_cost: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
155
|
-
estimated_parts_cost: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
156
|
-
estimated_total_cost: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
157
|
-
estimated_notes: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
158
|
-
actual_labor_cost: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
159
|
-
actual_parts_cost: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
160
|
-
actual_total_cost: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
161
|
-
final_notes: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
162
|
-
is_inhouse_service: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
|
|
163
|
-
rating: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
164
|
-
rating_comments: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
165
|
-
warranty_related_information: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
166
|
-
payment_related_information: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
167
|
-
payment_status: z.ZodType<PaymentStatus, z.ZodTypeDef, PaymentStatus>;
|
|
168
|
-
payment_method: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
169
|
-
next_odometer_reading: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
170
|
-
next_service_schedule_date: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
171
|
-
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
172
|
-
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
173
|
-
FleetServiceManagementFileSchema: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
174
|
-
usage_type: z.ZodEffects<z.ZodString, string, string>;
|
|
175
|
-
file_type: z.ZodType<FileType, z.ZodTypeDef, FileType>;
|
|
176
|
-
file_url: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
177
|
-
file_key: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
178
|
-
file_name: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
179
|
-
file_description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
180
|
-
file_size: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
181
|
-
file_metadata: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
182
|
-
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
183
|
-
} & {
|
|
184
|
-
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
185
|
-
service_management_id: z.ZodEffects<z.ZodString, string, string>;
|
|
186
|
-
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
187
|
-
status: Status;
|
|
188
|
-
organisation_id: string;
|
|
189
|
-
service_management_id: string;
|
|
190
|
-
usage_type: string;
|
|
191
|
-
file_type: FileType;
|
|
192
|
-
file_url: string;
|
|
193
|
-
file_key: string;
|
|
194
|
-
file_name: string;
|
|
195
|
-
file_description: string;
|
|
196
|
-
file_size: number;
|
|
197
|
-
file_metadata: Record<string, any>;
|
|
198
|
-
}, {
|
|
199
|
-
status: Status;
|
|
200
|
-
organisation_id: string;
|
|
201
|
-
service_management_id: string;
|
|
202
|
-
usage_type: string;
|
|
203
|
-
file_type: FileType;
|
|
204
|
-
file_url?: string | undefined;
|
|
205
|
-
file_key?: string | undefined;
|
|
206
|
-
file_name?: string | undefined;
|
|
207
|
-
file_description?: string | undefined;
|
|
208
|
-
file_size?: unknown;
|
|
209
|
-
file_metadata?: Record<string, any> | undefined;
|
|
210
|
-
}>, "many">>>;
|
|
211
|
-
}, "strip", z.ZodTypeAny, {
|
|
212
|
-
odometer_reading: number;
|
|
213
|
-
status: Status;
|
|
214
|
-
organisation_id: string;
|
|
215
|
-
vehicle_id: string;
|
|
216
|
-
driver_id: string;
|
|
217
|
-
time_zone_id: string;
|
|
218
|
-
user_id: string;
|
|
219
|
-
service_center_id: string;
|
|
220
|
-
vendor_id: string;
|
|
221
|
-
rating: number;
|
|
222
|
-
service_start_date: string;
|
|
223
|
-
service_status: ServiceStatus;
|
|
224
|
-
service_type: ServiceType;
|
|
225
|
-
service_complete_date: string;
|
|
226
|
-
estimated_notes: string;
|
|
227
|
-
final_notes: string;
|
|
228
|
-
is_inhouse_service: YesNo;
|
|
229
|
-
rating_comments: string;
|
|
230
|
-
warranty_related_information: string;
|
|
231
|
-
payment_related_information: string;
|
|
232
|
-
payment_status: PaymentStatus;
|
|
233
|
-
payment_method: string;
|
|
234
|
-
next_odometer_reading: number;
|
|
235
|
-
next_service_schedule_date: string;
|
|
236
|
-
service_schedule_id: string;
|
|
237
|
-
FleetServiceManagementFileSchema: {
|
|
238
|
-
status: Status;
|
|
239
|
-
organisation_id: string;
|
|
240
|
-
service_management_id: string;
|
|
241
|
-
usage_type: string;
|
|
242
|
-
file_type: FileType;
|
|
243
|
-
file_url: string;
|
|
244
|
-
file_key: string;
|
|
245
|
-
file_name: string;
|
|
246
|
-
file_description: string;
|
|
247
|
-
file_size: number;
|
|
248
|
-
file_metadata: Record<string, any>;
|
|
249
|
-
}[];
|
|
250
|
-
fuel?: number | undefined;
|
|
251
|
-
estimated_labor_cost?: number | undefined;
|
|
252
|
-
estimated_parts_cost?: number | undefined;
|
|
253
|
-
estimated_total_cost?: number | undefined;
|
|
254
|
-
actual_labor_cost?: number | undefined;
|
|
255
|
-
actual_parts_cost?: number | undefined;
|
|
256
|
-
actual_total_cost?: number | undefined;
|
|
257
|
-
}, {
|
|
258
|
-
status: Status;
|
|
259
|
-
organisation_id: string;
|
|
260
|
-
vehicle_id: string;
|
|
261
|
-
driver_id: string;
|
|
262
|
-
time_zone_id: string;
|
|
263
|
-
user_id: string;
|
|
264
|
-
service_center_id: string;
|
|
265
|
-
vendor_id: string;
|
|
266
|
-
service_status: ServiceStatus;
|
|
267
|
-
service_type: ServiceType;
|
|
268
|
-
is_inhouse_service: YesNo;
|
|
269
|
-
payment_status: PaymentStatus;
|
|
270
|
-
service_schedule_id: string;
|
|
271
|
-
odometer_reading?: unknown;
|
|
272
|
-
rating?: unknown;
|
|
273
|
-
fuel?: unknown;
|
|
274
|
-
service_start_date?: string | undefined;
|
|
275
|
-
service_complete_date?: string | undefined;
|
|
276
|
-
estimated_labor_cost?: unknown;
|
|
277
|
-
estimated_parts_cost?: unknown;
|
|
278
|
-
estimated_total_cost?: unknown;
|
|
279
|
-
estimated_notes?: string | undefined;
|
|
280
|
-
actual_labor_cost?: unknown;
|
|
281
|
-
actual_parts_cost?: unknown;
|
|
282
|
-
actual_total_cost?: unknown;
|
|
283
|
-
final_notes?: string | undefined;
|
|
284
|
-
rating_comments?: string | undefined;
|
|
285
|
-
warranty_related_information?: string | undefined;
|
|
286
|
-
payment_related_information?: string | undefined;
|
|
287
|
-
payment_method?: string | undefined;
|
|
288
|
-
next_odometer_reading?: unknown;
|
|
289
|
-
next_service_schedule_date?: string | undefined;
|
|
290
|
-
FleetServiceManagementFileSchema?: {
|
|
291
|
-
status: Status;
|
|
292
|
-
organisation_id: string;
|
|
293
|
-
service_management_id: string;
|
|
294
|
-
usage_type: string;
|
|
295
|
-
file_type: FileType;
|
|
296
|
-
file_url?: string | undefined;
|
|
297
|
-
file_key?: string | undefined;
|
|
298
|
-
file_name?: string | undefined;
|
|
299
|
-
file_description?: string | undefined;
|
|
300
|
-
file_size?: unknown;
|
|
301
|
-
file_metadata?: Record<string, any> | undefined;
|
|
302
|
-
}[] | undefined;
|
|
303
|
-
}>;
|
|
304
|
-
type FleetServiceManagementDTO = z.infer<typeof FleetServiceManagementSchema>;
|
|
305
|
-
declare const FleetServiceManagementQuerySchema: z.ZodObject<{
|
|
306
|
-
search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
307
|
-
status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
|
|
308
|
-
paging: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof PAGING>>>;
|
|
309
|
-
page_count: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
310
|
-
page_index: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
311
|
-
load_parents: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadParents>>>;
|
|
312
|
-
load_parents_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
313
|
-
load_child: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChild>>>;
|
|
314
|
-
load_child_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
315
|
-
load_child_count: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChildCount>>>;
|
|
316
|
-
load_child_count_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
317
|
-
include_details: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
318
|
-
where_relations: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
319
|
-
order_by: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
320
|
-
name: z.ZodEffects<z.ZodString, string, string>;
|
|
321
|
-
field: z.ZodEffects<z.ZodString, string, string>;
|
|
322
|
-
direction: z.ZodType<OrderBy, z.ZodTypeDef, OrderBy>;
|
|
323
|
-
}, "strip", z.ZodTypeAny, {
|
|
324
|
-
name: string;
|
|
325
|
-
field: string;
|
|
326
|
-
direction: OrderBy;
|
|
327
|
-
}, {
|
|
328
|
-
name: string;
|
|
329
|
-
field: string;
|
|
330
|
-
direction: OrderBy;
|
|
331
|
-
}>, "many">>>;
|
|
332
|
-
include_master_data: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
|
|
333
|
-
date_format_id: z.ZodEffects<z.ZodString, string, string>;
|
|
334
|
-
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
335
|
-
} & {
|
|
336
|
-
service_management_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
337
|
-
organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
338
|
-
user_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
339
|
-
vehicle_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
340
|
-
driver_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
341
|
-
vendor_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
342
|
-
service_center_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
343
|
-
service_status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof ServiceStatus>, "many">>>;
|
|
344
|
-
service_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof ServiceType>, "many">>>;
|
|
345
|
-
is_inhouse_service: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof YesNo>, "many">>>;
|
|
346
|
-
payment_status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof PaymentStatus>, "many">>>;
|
|
347
|
-
from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
348
|
-
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
349
|
-
}, "strip", z.ZodTypeAny, {
|
|
350
|
-
status: Status[];
|
|
351
|
-
time_zone_id: string;
|
|
352
|
-
search: string;
|
|
353
|
-
paging: PAGING;
|
|
354
|
-
page_count: number;
|
|
355
|
-
page_index: number;
|
|
356
|
-
load_parents: LoadParents;
|
|
357
|
-
load_parents_list: string[];
|
|
358
|
-
load_child: LoadChild;
|
|
359
|
-
load_child_list: string[];
|
|
360
|
-
load_child_count: LoadChildCount;
|
|
361
|
-
load_child_count_list: string[];
|
|
362
|
-
include_details: Record<string, any>;
|
|
363
|
-
where_relations: Record<string, any>;
|
|
364
|
-
order_by: {
|
|
365
|
-
name: string;
|
|
366
|
-
field: string;
|
|
367
|
-
direction: OrderBy;
|
|
368
|
-
}[];
|
|
369
|
-
include_master_data: YesNo;
|
|
370
|
-
date_format_id: string;
|
|
371
|
-
organisation_ids: string[];
|
|
372
|
-
vehicle_ids: string[];
|
|
373
|
-
driver_ids: string[];
|
|
374
|
-
service_management_ids: string[];
|
|
375
|
-
user_ids: string[];
|
|
376
|
-
vendor_ids: string[];
|
|
377
|
-
service_center_ids: string[];
|
|
378
|
-
from_date: string;
|
|
379
|
-
to_date: string;
|
|
380
|
-
service_status: ServiceStatus[];
|
|
381
|
-
service_type: ServiceType[];
|
|
382
|
-
is_inhouse_service: YesNo[];
|
|
383
|
-
payment_status: PaymentStatus[];
|
|
384
|
-
}, {
|
|
385
|
-
time_zone_id: string;
|
|
386
|
-
date_format_id: string;
|
|
387
|
-
from_date: string;
|
|
388
|
-
to_date: string;
|
|
389
|
-
status?: Status[] | undefined;
|
|
390
|
-
search?: string | undefined;
|
|
391
|
-
paging?: PAGING | undefined;
|
|
392
|
-
page_count?: unknown;
|
|
393
|
-
page_index?: unknown;
|
|
394
|
-
load_parents?: LoadParents | undefined;
|
|
395
|
-
load_parents_list?: string[] | undefined;
|
|
396
|
-
load_child?: LoadChild | undefined;
|
|
397
|
-
load_child_list?: string[] | undefined;
|
|
398
|
-
load_child_count?: LoadChildCount | undefined;
|
|
399
|
-
load_child_count_list?: string[] | undefined;
|
|
400
|
-
include_details?: Record<string, any> | undefined;
|
|
401
|
-
where_relations?: Record<string, any> | undefined;
|
|
402
|
-
order_by?: {
|
|
403
|
-
name: string;
|
|
404
|
-
field: string;
|
|
405
|
-
direction: OrderBy;
|
|
406
|
-
}[] | undefined;
|
|
407
|
-
include_master_data?: YesNo | undefined;
|
|
408
|
-
organisation_ids?: string[] | undefined;
|
|
409
|
-
vehicle_ids?: string[] | undefined;
|
|
410
|
-
driver_ids?: string[] | undefined;
|
|
411
|
-
service_management_ids?: string[] | undefined;
|
|
412
|
-
user_ids?: string[] | undefined;
|
|
413
|
-
vendor_ids?: string[] | undefined;
|
|
414
|
-
service_center_ids?: string[] | undefined;
|
|
415
|
-
service_status?: ServiceStatus[] | undefined;
|
|
416
|
-
service_type?: ServiceType[] | undefined;
|
|
417
|
-
is_inhouse_service?: YesNo[] | undefined;
|
|
418
|
-
payment_status?: PaymentStatus[] | undefined;
|
|
419
|
-
}>;
|
|
420
|
-
type FleetServiceManagementQueryDTO = z.infer<typeof FleetServiceManagementQuerySchema>;
|
|
421
|
-
declare const FleetServiceManagementTaskSchema: z.ZodObject<{
|
|
422
|
-
fleet_service_task_id: z.ZodEffects<z.ZodString, string, string>;
|
|
423
|
-
service_management_id: z.ZodEffects<z.ZodString, string, string>;
|
|
424
|
-
task_cost: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
425
|
-
task_notes: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
426
|
-
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
427
|
-
}, "strip", z.ZodTypeAny, {
|
|
428
|
-
status: Status;
|
|
429
|
-
service_management_id: string;
|
|
430
|
-
fleet_service_task_id: string;
|
|
431
|
-
task_notes: string;
|
|
432
|
-
task_cost?: number | undefined;
|
|
433
|
-
}, {
|
|
434
|
-
status: Status;
|
|
435
|
-
service_management_id: string;
|
|
436
|
-
fleet_service_task_id: string;
|
|
437
|
-
task_cost?: unknown;
|
|
438
|
-
task_notes?: string | undefined;
|
|
439
|
-
}>;
|
|
440
|
-
type FleetServiceManagementTaskDTO = z.infer<typeof FleetServiceManagementTaskSchema>;
|
|
441
|
-
declare const FleetServiceManagementTaskQuerySchema: z.ZodObject<{
|
|
442
|
-
search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
443
|
-
status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
|
|
444
|
-
paging: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof PAGING>>>;
|
|
445
|
-
page_count: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
446
|
-
page_index: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
447
|
-
load_parents: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadParents>>>;
|
|
448
|
-
load_parents_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
449
|
-
load_child: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChild>>>;
|
|
450
|
-
load_child_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
451
|
-
load_child_count: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChildCount>>>;
|
|
452
|
-
load_child_count_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
453
|
-
include_details: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
454
|
-
where_relations: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
455
|
-
order_by: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
456
|
-
name: z.ZodEffects<z.ZodString, string, string>;
|
|
457
|
-
field: z.ZodEffects<z.ZodString, string, string>;
|
|
458
|
-
direction: z.ZodType<OrderBy, z.ZodTypeDef, OrderBy>;
|
|
459
|
-
}, "strip", z.ZodTypeAny, {
|
|
460
|
-
name: string;
|
|
461
|
-
field: string;
|
|
462
|
-
direction: OrderBy;
|
|
463
|
-
}, {
|
|
464
|
-
name: string;
|
|
465
|
-
field: string;
|
|
466
|
-
direction: OrderBy;
|
|
467
|
-
}>, "many">>>;
|
|
468
|
-
include_master_data: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
|
|
469
|
-
date_format_id: z.ZodEffects<z.ZodString, string, string>;
|
|
470
|
-
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
471
|
-
} & {
|
|
472
|
-
fleet_service_management_task_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
473
|
-
service_management_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
474
|
-
fleet_service_task_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
475
|
-
}, "strip", z.ZodTypeAny, {
|
|
476
|
-
status: Status[];
|
|
477
|
-
time_zone_id: string;
|
|
478
|
-
search: string;
|
|
479
|
-
paging: PAGING;
|
|
480
|
-
page_count: number;
|
|
481
|
-
page_index: number;
|
|
482
|
-
load_parents: LoadParents;
|
|
483
|
-
load_parents_list: string[];
|
|
484
|
-
load_child: LoadChild;
|
|
485
|
-
load_child_list: string[];
|
|
486
|
-
load_child_count: LoadChildCount;
|
|
487
|
-
load_child_count_list: string[];
|
|
488
|
-
include_details: Record<string, any>;
|
|
489
|
-
where_relations: Record<string, any>;
|
|
490
|
-
order_by: {
|
|
491
|
-
name: string;
|
|
492
|
-
field: string;
|
|
493
|
-
direction: OrderBy;
|
|
494
|
-
}[];
|
|
495
|
-
include_master_data: YesNo;
|
|
496
|
-
date_format_id: string;
|
|
497
|
-
service_management_ids: string[];
|
|
498
|
-
fleet_service_task_ids: string[];
|
|
499
|
-
fleet_service_management_task_ids: string[];
|
|
500
|
-
}, {
|
|
501
|
-
time_zone_id: string;
|
|
502
|
-
date_format_id: string;
|
|
503
|
-
status?: Status[] | undefined;
|
|
504
|
-
search?: string | undefined;
|
|
505
|
-
paging?: PAGING | undefined;
|
|
506
|
-
page_count?: unknown;
|
|
507
|
-
page_index?: unknown;
|
|
508
|
-
load_parents?: LoadParents | undefined;
|
|
509
|
-
load_parents_list?: string[] | undefined;
|
|
510
|
-
load_child?: LoadChild | undefined;
|
|
511
|
-
load_child_list?: string[] | undefined;
|
|
512
|
-
load_child_count?: LoadChildCount | undefined;
|
|
513
|
-
load_child_count_list?: string[] | undefined;
|
|
514
|
-
include_details?: Record<string, any> | undefined;
|
|
515
|
-
where_relations?: Record<string, any> | undefined;
|
|
516
|
-
order_by?: {
|
|
517
|
-
name: string;
|
|
518
|
-
field: string;
|
|
519
|
-
direction: OrderBy;
|
|
520
|
-
}[] | undefined;
|
|
521
|
-
include_master_data?: YesNo | undefined;
|
|
522
|
-
service_management_ids?: string[] | undefined;
|
|
523
|
-
fleet_service_task_ids?: string[] | undefined;
|
|
524
|
-
fleet_service_management_task_ids?: string[] | undefined;
|
|
525
|
-
}>;
|
|
526
|
-
type FleetServiceManagementTaskQueryDTO = z.infer<typeof FleetServiceManagementTaskQuerySchema>;
|
|
527
|
-
declare const FleetServiceReminderSchema: z.ZodObject<{
|
|
528
|
-
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
529
|
-
vehicle_id: z.ZodEffects<z.ZodString, string, string>;
|
|
530
|
-
service_management_id: z.ZodEffects<z.ZodString, string, string>;
|
|
531
|
-
reminder_type: z.ZodType<ReminderType, z.ZodTypeDef, ReminderType>;
|
|
532
|
-
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
533
|
-
}, "strip", z.ZodTypeAny, {
|
|
534
|
-
status: Status;
|
|
535
|
-
organisation_id: string;
|
|
536
|
-
vehicle_id: string;
|
|
537
|
-
service_management_id: string;
|
|
538
|
-
reminder_type: ReminderType;
|
|
539
|
-
}, {
|
|
540
|
-
status: Status;
|
|
541
|
-
organisation_id: string;
|
|
542
|
-
vehicle_id: string;
|
|
543
|
-
service_management_id: string;
|
|
544
|
-
reminder_type: ReminderType;
|
|
545
|
-
}>;
|
|
546
|
-
type FleetServiceReminderDTO = z.infer<typeof FleetServiceReminderSchema>;
|
|
547
|
-
declare const FleetServiceReminderQuerySchema: z.ZodObject<{
|
|
548
|
-
search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
549
|
-
status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
|
|
550
|
-
paging: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof PAGING>>>;
|
|
551
|
-
page_count: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
552
|
-
page_index: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
553
|
-
load_parents: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadParents>>>;
|
|
554
|
-
load_parents_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
555
|
-
load_child: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChild>>>;
|
|
556
|
-
load_child_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
557
|
-
load_child_count: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChildCount>>>;
|
|
558
|
-
load_child_count_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
559
|
-
include_details: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
560
|
-
where_relations: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
561
|
-
order_by: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
562
|
-
name: z.ZodEffects<z.ZodString, string, string>;
|
|
563
|
-
field: z.ZodEffects<z.ZodString, string, string>;
|
|
564
|
-
direction: z.ZodType<OrderBy, z.ZodTypeDef, OrderBy>;
|
|
565
|
-
}, "strip", z.ZodTypeAny, {
|
|
566
|
-
name: string;
|
|
567
|
-
field: string;
|
|
568
|
-
direction: OrderBy;
|
|
569
|
-
}, {
|
|
570
|
-
name: string;
|
|
571
|
-
field: string;
|
|
572
|
-
direction: OrderBy;
|
|
573
|
-
}>, "many">>>;
|
|
574
|
-
include_master_data: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
|
|
575
|
-
date_format_id: z.ZodEffects<z.ZodString, string, string>;
|
|
576
|
-
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
577
|
-
} & {
|
|
578
|
-
organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
579
|
-
vehicle_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
580
|
-
service_management_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
581
|
-
service_reminder_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
582
|
-
reminder_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof ReminderType>, "many">>>;
|
|
583
|
-
}, "strip", z.ZodTypeAny, {
|
|
584
|
-
status: Status[];
|
|
585
|
-
time_zone_id: string;
|
|
586
|
-
search: string;
|
|
587
|
-
paging: PAGING;
|
|
588
|
-
page_count: number;
|
|
589
|
-
page_index: number;
|
|
590
|
-
load_parents: LoadParents;
|
|
591
|
-
load_parents_list: string[];
|
|
592
|
-
load_child: LoadChild;
|
|
593
|
-
load_child_list: string[];
|
|
594
|
-
load_child_count: LoadChildCount;
|
|
595
|
-
load_child_count_list: string[];
|
|
596
|
-
include_details: Record<string, any>;
|
|
597
|
-
where_relations: Record<string, any>;
|
|
598
|
-
order_by: {
|
|
599
|
-
name: string;
|
|
600
|
-
field: string;
|
|
601
|
-
direction: OrderBy;
|
|
602
|
-
}[];
|
|
603
|
-
include_master_data: YesNo;
|
|
604
|
-
date_format_id: string;
|
|
605
|
-
organisation_ids: string[];
|
|
606
|
-
vehicle_ids: string[];
|
|
607
|
-
service_management_ids: string[];
|
|
608
|
-
reminder_type: ReminderType[];
|
|
609
|
-
service_reminder_ids: string[];
|
|
610
|
-
}, {
|
|
611
|
-
time_zone_id: string;
|
|
612
|
-
date_format_id: string;
|
|
613
|
-
status?: Status[] | undefined;
|
|
614
|
-
search?: string | undefined;
|
|
615
|
-
paging?: PAGING | undefined;
|
|
616
|
-
page_count?: unknown;
|
|
617
|
-
page_index?: unknown;
|
|
618
|
-
load_parents?: LoadParents | undefined;
|
|
619
|
-
load_parents_list?: string[] | undefined;
|
|
620
|
-
load_child?: LoadChild | undefined;
|
|
621
|
-
load_child_list?: string[] | undefined;
|
|
622
|
-
load_child_count?: LoadChildCount | undefined;
|
|
623
|
-
load_child_count_list?: string[] | undefined;
|
|
624
|
-
include_details?: Record<string, any> | undefined;
|
|
625
|
-
where_relations?: Record<string, any> | undefined;
|
|
626
|
-
order_by?: {
|
|
627
|
-
name: string;
|
|
628
|
-
field: string;
|
|
629
|
-
direction: OrderBy;
|
|
630
|
-
}[] | undefined;
|
|
631
|
-
include_master_data?: YesNo | undefined;
|
|
632
|
-
organisation_ids?: string[] | undefined;
|
|
633
|
-
vehicle_ids?: string[] | undefined;
|
|
634
|
-
service_management_ids?: string[] | undefined;
|
|
635
|
-
reminder_type?: ReminderType[] | undefined;
|
|
636
|
-
service_reminder_ids?: string[] | undefined;
|
|
637
|
-
}>;
|
|
638
|
-
type FleetServiceReminderQueryDTO = z.infer<typeof FleetServiceReminderQuerySchema>;
|
|
639
|
-
declare const toFleetServiceManagementPayload: (row: FleetServiceManagement) => FleetServiceManagementDTO;
|
|
640
|
-
declare const newFleetServiceManagementPayload: () => FleetServiceManagementDTO;
|
|
641
|
-
declare const toFleetServiceManagementTaskPayload: (row: FleetServiceManagementTask) => FleetServiceManagementTaskDTO;
|
|
642
|
-
declare const newFleetServiceReminderPayload: () => FleetServiceReminderDTO;
|
|
643
|
-
declare const toFleetServiceReminderPayload: (row: FleetServiceReminder) => FleetServiceReminderDTO;
|
|
644
|
-
declare const newFleetServiceManagementTaskPayload: () => FleetServiceManagementTaskDTO;
|
|
645
|
-
declare const get_service_file_presigned_url: (data: FilePresignedUrlDTO) => Promise<BR<AWSPresignedUrl>>;
|
|
646
|
-
declare const create_service_file: (data: FleetServiceManagementFileDTO) => Promise<SBR>;
|
|
647
|
-
declare const remove_service_file: (id: string) => Promise<SBR>;
|
|
648
|
-
declare const findFleetServiceManagement: (data: FleetServiceManagementQueryDTO) => Promise<FBR<FleetServiceManagement[]>>;
|
|
649
|
-
declare const createFleetServiceManagement: (data: FleetServiceManagementDTO) => Promise<SBR>;
|
|
650
|
-
declare const updateFleetServiceManagement: (id: string, data: FleetServiceManagementDTO) => Promise<SBR>;
|
|
651
|
-
declare const deleteFleetServiceManagement: (id: string) => Promise<SBR>;
|
|
652
|
-
declare const findFleetServiceManagementTask: (data: FleetServiceManagementTaskQueryDTO) => Promise<FBR<FleetServiceManagementTask[]>>;
|
|
653
|
-
declare const createFleetServiceManagementTask: (data: FleetServiceManagementTaskDTO) => Promise<SBR>;
|
|
654
|
-
declare const updateFleetServiceManagementTask: (id: string, data: FleetServiceManagementTaskDTO) => Promise<SBR>;
|
|
655
|
-
declare const deleteFleetServiceManagementTask: (id: string) => Promise<SBR>;
|
|
656
|
-
declare const findFleetServiceReminder: (data: FleetServiceReminderQueryDTO) => Promise<FBR<FleetServiceReminder[]>>;
|
|
657
|
-
declare const createFleetServiceReminder: (data: FleetServiceReminderDTO) => Promise<SBR>;
|
|
658
|
-
declare const updateFleetServiceReminder: (id: string, data: FleetServiceReminderDTO) => Promise<SBR>;
|
|
659
|
-
declare const deleteFleetServiceReminder: (id: string) => Promise<SBR>;
|
|
660
|
-
|
|
661
|
-
export { type FleetServiceManagement, type FleetServiceManagementDTO, type FleetServiceManagementFile, type FleetServiceManagementFileDTO, FleetServiceManagementFileSchema, type FleetServiceManagementQueryDTO, FleetServiceManagementQuerySchema, FleetServiceManagementSchema, type FleetServiceManagementTask, type FleetServiceManagementTaskDTO, type FleetServiceManagementTaskQueryDTO, FleetServiceManagementTaskQuerySchema, FleetServiceManagementTaskSchema, type FleetServiceReminder, type FleetServiceReminderDTO, type FleetServiceReminderQueryDTO, FleetServiceReminderQuerySchema, FleetServiceReminderSchema, createFleetServiceManagement, createFleetServiceManagementTask, createFleetServiceReminder, create_service_file, deleteFleetServiceManagement, deleteFleetServiceManagementTask, deleteFleetServiceReminder, findFleetServiceManagement, findFleetServiceManagementTask, findFleetServiceReminder, get_service_file_presigned_url, newFleetServiceManagementPayload, newFleetServiceManagementTaskPayload, newFleetServiceReminderPayload, remove_service_file, toFleetServiceManagementPayload, toFleetServiceManagementTaskPayload, toFleetServiceReminderPayload, updateFleetServiceManagement, updateFleetServiceManagementTask, updateFleetServiceReminder };
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR } from '../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, a as User, M as MasterVehicle } from '../../../user_organisation_service-
|
|
5
|
-
import { FleetServiceManagement } from './fleet_service_management_service.js';
|
|
4
|
+
import { U as UserOrganisation, a as User, F as FleetServiceManagement, M as MasterVehicle } from '../../../user_organisation_service-DnO03t9F.js';
|
|
6
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
7
6
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
8
|
-
import '../../master/fleet/master_fleet_service_task_service.js';
|
|
9
7
|
|
|
10
8
|
interface FleetServiceSchedule extends Record<string, unknown> {
|
|
11
9
|
service_schedule_id: string;
|