vms-nest-prisma-api-document 207.0.0 → 208.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 +43 -43
- package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +24 -24
- 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 +9 -9
- package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +6 -6
- package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +12 -12
- 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/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/main/vehicle/master_vehicle_service.js +9 -9
- 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_type_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_incident_severity_service.d.ts +3 -3
- 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 +3 -3
- package/dist/services/master/fleet/master_fleet_insurance_claim_status_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_service_task_service.d.ts +1 -1
- package/dist/services/master/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 +1 -1
- 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 +3 -3
- 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/faq_service.d.ts +1 -1
- package/dist/{user_organisation_service-o2RNlNQJ.d.ts → user_organisation_service-N4jFCSLT.d.ts} +44 -44
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import { GPSFuelApproveStatus, RefillEntrySource, Status, FileType, PAGING, Load
|
|
|
2
2
|
import { BaseCommonFile, FBR, SBR, BR, AWSPresignedUrl } 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, c as MasterDevice, d as MasterVehicleFuelType, e as MasterVehicleFuelUnit } from '../../../user_organisation_service-
|
|
5
|
+
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice, d as MasterVehicleFuelType, e as MasterVehicleFuelUnit } from '../../../user_organisation_service-N4jFCSLT.js';
|
|
6
6
|
import { MasterMainLandmark } from '../../master/main/master_main_landmark_service.js';
|
|
7
7
|
import { MasterVehicleFuelRemovalReason } from '../../master/vehicle/master_vehicle_fuel_removal_reason_service.js';
|
|
8
8
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
@@ -84,6 +84,7 @@ declare const FleetFuelRemovalFileSchema: z.ZodObject<{
|
|
|
84
84
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
85
85
|
fleet_fuel_removal_id: z.ZodEffects<z.ZodString, string, string>;
|
|
86
86
|
}, "strip", z.ZodTypeAny, {
|
|
87
|
+
fleet_fuel_removal_id: string;
|
|
87
88
|
status: Status;
|
|
88
89
|
organisation_id: string;
|
|
89
90
|
usage_type: string;
|
|
@@ -94,13 +95,12 @@ declare const FleetFuelRemovalFileSchema: z.ZodObject<{
|
|
|
94
95
|
file_description: string;
|
|
95
96
|
file_size: number;
|
|
96
97
|
file_metadata: Record<string, any>;
|
|
97
|
-
fleet_fuel_removal_id: string;
|
|
98
98
|
}, {
|
|
99
|
+
fleet_fuel_removal_id: string;
|
|
99
100
|
status: Status;
|
|
100
101
|
organisation_id: string;
|
|
101
102
|
usage_type: string;
|
|
102
103
|
file_type: FileType;
|
|
103
|
-
fleet_fuel_removal_id: string;
|
|
104
104
|
file_url?: string | undefined;
|
|
105
105
|
file_key?: string | undefined;
|
|
106
106
|
file_name?: string | undefined;
|
|
@@ -152,6 +152,7 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
152
152
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
153
153
|
fleet_fuel_removal_id: z.ZodEffects<z.ZodString, string, string>;
|
|
154
154
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
155
|
+
fleet_fuel_removal_id: string;
|
|
155
156
|
status: Status;
|
|
156
157
|
organisation_id: string;
|
|
157
158
|
usage_type: string;
|
|
@@ -162,13 +163,12 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
162
163
|
file_description: string;
|
|
163
164
|
file_size: number;
|
|
164
165
|
file_metadata: Record<string, any>;
|
|
165
|
-
fleet_fuel_removal_id: string;
|
|
166
166
|
}, {
|
|
167
|
+
fleet_fuel_removal_id: string;
|
|
167
168
|
status: Status;
|
|
168
169
|
organisation_id: string;
|
|
169
170
|
usage_type: string;
|
|
170
171
|
file_type: FileType;
|
|
171
|
-
fleet_fuel_removal_id: string;
|
|
172
172
|
file_url?: string | undefined;
|
|
173
173
|
file_key?: string | undefined;
|
|
174
174
|
file_name?: string | undefined;
|
|
@@ -177,14 +177,16 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
177
177
|
file_metadata?: Record<string, any> | undefined;
|
|
178
178
|
}>, "many">>>;
|
|
179
179
|
}, "strip", z.ZodTypeAny, {
|
|
180
|
+
odometer_reading: number;
|
|
180
181
|
date_time: string;
|
|
181
182
|
admin_verify_status: GPSFuelApproveStatus;
|
|
182
183
|
transporter_verify_status: GPSFuelApproveStatus;
|
|
184
|
+
fuel_removal_reason_id: string;
|
|
185
|
+
removal_details: string;
|
|
183
186
|
entry_source: RefillEntrySource;
|
|
184
187
|
source_reference_id: string;
|
|
185
188
|
source_notes: string;
|
|
186
189
|
google_location: string;
|
|
187
|
-
odometer_reading: number;
|
|
188
190
|
status: Status;
|
|
189
191
|
organisation_id: string;
|
|
190
192
|
user_id: string;
|
|
@@ -193,10 +195,8 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
193
195
|
device_id: string;
|
|
194
196
|
vehicle_fuel_type_id: string;
|
|
195
197
|
vehicle_fuel_unit_id: string;
|
|
196
|
-
time_zone_id: string;
|
|
197
|
-
fuel_removal_reason_id: string;
|
|
198
|
-
removal_details: string;
|
|
199
198
|
FleetFuelRemovalFile: {
|
|
199
|
+
fleet_fuel_removal_id: string;
|
|
200
200
|
status: Status;
|
|
201
201
|
organisation_id: string;
|
|
202
202
|
usage_type: string;
|
|
@@ -207,21 +207,22 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
207
207
|
file_description: string;
|
|
208
208
|
file_size: number;
|
|
209
209
|
file_metadata: Record<string, any>;
|
|
210
|
-
fleet_fuel_removal_id: string;
|
|
211
210
|
}[];
|
|
212
|
-
|
|
213
|
-
total_cost?: number | undefined;
|
|
214
|
-
latitude?: number | undefined;
|
|
215
|
-
longitude?: number | undefined;
|
|
211
|
+
time_zone_id: string;
|
|
216
212
|
before_removal_quantity?: number | undefined;
|
|
217
213
|
after_removal_quantity?: number | undefined;
|
|
218
214
|
removal_quantity?: number | undefined;
|
|
219
215
|
verified_removal_quantity?: number | undefined;
|
|
220
216
|
diff_removal_quantity?: number | undefined;
|
|
217
|
+
cost_per_unit?: number | undefined;
|
|
218
|
+
total_cost?: number | undefined;
|
|
219
|
+
latitude?: number | undefined;
|
|
220
|
+
longitude?: number | undefined;
|
|
221
221
|
}, {
|
|
222
222
|
date_time: string;
|
|
223
223
|
admin_verify_status: GPSFuelApproveStatus;
|
|
224
224
|
transporter_verify_status: GPSFuelApproveStatus;
|
|
225
|
+
fuel_removal_reason_id: string;
|
|
225
226
|
status: Status;
|
|
226
227
|
organisation_id: string;
|
|
227
228
|
user_id: string;
|
|
@@ -231,28 +232,27 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
231
232
|
vehicle_fuel_type_id: string;
|
|
232
233
|
vehicle_fuel_unit_id: string;
|
|
233
234
|
time_zone_id: string;
|
|
234
|
-
|
|
235
|
+
before_removal_quantity?: unknown;
|
|
236
|
+
after_removal_quantity?: unknown;
|
|
237
|
+
removal_quantity?: unknown;
|
|
238
|
+
verified_removal_quantity?: unknown;
|
|
239
|
+
diff_removal_quantity?: unknown;
|
|
240
|
+
odometer_reading?: unknown;
|
|
235
241
|
cost_per_unit?: unknown;
|
|
236
242
|
total_cost?: unknown;
|
|
243
|
+
removal_details?: string | undefined;
|
|
237
244
|
entry_source?: RefillEntrySource | undefined;
|
|
238
245
|
source_reference_id?: string | undefined;
|
|
239
246
|
source_notes?: string | undefined;
|
|
240
247
|
latitude?: unknown;
|
|
241
248
|
longitude?: unknown;
|
|
242
249
|
google_location?: string | undefined;
|
|
243
|
-
odometer_reading?: unknown;
|
|
244
|
-
before_removal_quantity?: unknown;
|
|
245
|
-
after_removal_quantity?: unknown;
|
|
246
|
-
removal_quantity?: unknown;
|
|
247
|
-
verified_removal_quantity?: unknown;
|
|
248
|
-
diff_removal_quantity?: unknown;
|
|
249
|
-
removal_details?: string | undefined;
|
|
250
250
|
FleetFuelRemovalFile?: {
|
|
251
|
+
fleet_fuel_removal_id: string;
|
|
251
252
|
status: Status;
|
|
252
253
|
organisation_id: string;
|
|
253
254
|
usage_type: string;
|
|
254
255
|
file_type: FileType;
|
|
255
|
-
fleet_fuel_removal_id: string;
|
|
256
256
|
file_url?: string | undefined;
|
|
257
257
|
file_key?: string | undefined;
|
|
258
258
|
file_name?: string | undefined;
|
|
@@ -338,9 +338,9 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
|
|
|
338
338
|
device_ids: string[];
|
|
339
339
|
vehicle_fuel_type_ids: string[];
|
|
340
340
|
vehicle_fuel_unit_ids: string[];
|
|
341
|
+
fuel_removal_reason_ids: string[];
|
|
341
342
|
from_date: string;
|
|
342
343
|
to_date: string;
|
|
343
|
-
fuel_removal_reason_ids: string[];
|
|
344
344
|
}, {
|
|
345
345
|
time_zone_id: string;
|
|
346
346
|
date_format_id: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GeofencePurposeType, GeofenceType, 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 } from '../../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation } from '../../../../user_organisation_service-N4jFCSLT.js';
|
|
5
5
|
import '../../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -172,6 +172,7 @@ declare const GPSGeofenceQuerySchema: z.ZodObject<{
|
|
|
172
172
|
gps_geofence_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
173
173
|
}, "strip", z.ZodTypeAny, {
|
|
174
174
|
status: Status[];
|
|
175
|
+
gps_geofence_ids: string[];
|
|
175
176
|
search: string;
|
|
176
177
|
paging: PAGING;
|
|
177
178
|
page_count: number;
|
|
@@ -195,11 +196,11 @@ declare const GPSGeofenceQuerySchema: z.ZodObject<{
|
|
|
195
196
|
organisation_ids: string[];
|
|
196
197
|
geofence_purpose_type: GeofencePurposeType[];
|
|
197
198
|
geofence_type: GeofenceType[];
|
|
198
|
-
gps_geofence_ids: string[];
|
|
199
199
|
}, {
|
|
200
200
|
date_format_id: string;
|
|
201
201
|
time_zone_id: string;
|
|
202
202
|
status?: Status[] | undefined;
|
|
203
|
+
gps_geofence_ids?: string[] | undefined;
|
|
203
204
|
search?: string | undefined;
|
|
204
205
|
paging?: PAGING | undefined;
|
|
205
206
|
page_count?: unknown;
|
|
@@ -221,7 +222,6 @@ declare const GPSGeofenceQuerySchema: z.ZodObject<{
|
|
|
221
222
|
organisation_ids?: string[] | undefined;
|
|
222
223
|
geofence_purpose_type?: GeofencePurposeType[] | undefined;
|
|
223
224
|
geofence_type?: GeofenceType[] | undefined;
|
|
224
|
-
gps_geofence_ids?: string[] | undefined;
|
|
225
225
|
}>;
|
|
226
226
|
type GPSGeofenceQueryDTO = z.infer<typeof GPSGeofenceQuerySchema>;
|
|
227
227
|
declare const toGPSGeofencePayload: (data: GPSGeofence) => GPSGeofenceDTO;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GeofenceStatusType, 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, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-N4jFCSLT.js';
|
|
5
5
|
import { GPSGeofence } from './gps_geofence_service.js';
|
|
6
6
|
import '../../../../zod_utils/zod_base_schema.js';
|
|
7
7
|
import '../../../master/main/master_main_sim_provider_service.js';
|
|
@@ -36,23 +36,23 @@ declare const GPSGeofenceTransactionSchema: z.ZodObject<{
|
|
|
36
36
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
37
37
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
38
38
|
}, "strip", z.ZodTypeAny, {
|
|
39
|
-
geofence_status_type: GeofenceStatusType;
|
|
40
|
-
geofence_time: string;
|
|
41
39
|
status: Status;
|
|
42
40
|
organisation_id: string;
|
|
43
41
|
vehicle_id: string;
|
|
44
42
|
driver_id: string;
|
|
45
|
-
gps_geofence_id: string;
|
|
46
43
|
time_zone_id: string;
|
|
47
|
-
|
|
44
|
+
gps_geofence_id: string;
|
|
48
45
|
geofence_status_type: GeofenceStatusType;
|
|
49
46
|
geofence_time: string;
|
|
47
|
+
}, {
|
|
50
48
|
status: Status;
|
|
51
49
|
organisation_id: string;
|
|
52
50
|
vehicle_id: string;
|
|
53
51
|
driver_id: string;
|
|
54
|
-
gps_geofence_id: string;
|
|
55
52
|
time_zone_id: string;
|
|
53
|
+
gps_geofence_id: string;
|
|
54
|
+
geofence_status_type: GeofenceStatusType;
|
|
55
|
+
geofence_time: string;
|
|
56
56
|
}>;
|
|
57
57
|
type GPSGeofenceTransactionDTO = z.infer<typeof GPSGeofenceTransactionSchema>;
|
|
58
58
|
declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
@@ -94,7 +94,6 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
|
94
94
|
from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
95
95
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
96
96
|
}, "strip", z.ZodTypeAny, {
|
|
97
|
-
geofence_status_type: GeofenceStatusType[];
|
|
98
97
|
status: Status[];
|
|
99
98
|
time_zone_id: string;
|
|
100
99
|
search: string;
|
|
@@ -119,15 +118,15 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
|
119
118
|
organisation_ids: string[];
|
|
120
119
|
vehicle_ids: string[];
|
|
121
120
|
driver_ids: string[];
|
|
122
|
-
gps_geofence_ids: string[];
|
|
123
121
|
from_date: string;
|
|
124
122
|
to_date: string;
|
|
123
|
+
gps_geofence_ids: string[];
|
|
124
|
+
geofence_status_type: GeofenceStatusType[];
|
|
125
125
|
}, {
|
|
126
126
|
time_zone_id: string;
|
|
127
127
|
date_format_id: string;
|
|
128
128
|
from_date: string;
|
|
129
129
|
to_date: string;
|
|
130
|
-
geofence_status_type?: GeofenceStatusType[] | undefined;
|
|
131
130
|
status?: Status[] | undefined;
|
|
132
131
|
search?: string | undefined;
|
|
133
132
|
paging?: PAGING | undefined;
|
|
@@ -151,6 +150,7 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
|
151
150
|
vehicle_ids?: string[] | undefined;
|
|
152
151
|
driver_ids?: string[] | undefined;
|
|
153
152
|
gps_geofence_ids?: string[] | undefined;
|
|
153
|
+
geofence_status_type?: GeofenceStatusType[] | undefined;
|
|
154
154
|
}>;
|
|
155
155
|
type GPSGeofenceTransactionQueryDTO = z.infer<typeof GPSGeofenceTransactionQuerySchema>;
|
|
156
156
|
declare const toGPSGeofenceTransactionPayload: (data: GPSGeofenceTransaction) => GPSGeofenceTransactionDTO;
|
|
@@ -1,7 +1,7 @@
|
|
|
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, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-N4jFCSLT.js';
|
|
5
5
|
import { GPSGeofence } from './gps_geofence_service.js';
|
|
6
6
|
import { GPSGeofenceTransaction } from './gps_geofence_transaction_service.js';
|
|
7
7
|
import '../../../../zod_utils/zod_base_schema.js';
|
|
@@ -46,15 +46,15 @@ declare const GPSGeofenceTransactionSummarySchema: z.ZodObject<{
|
|
|
46
46
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
47
47
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
48
48
|
}, "strip", z.ZodTypeAny, {
|
|
49
|
+
duration_seconds: number;
|
|
49
50
|
status: Status;
|
|
50
51
|
organisation_id: string;
|
|
51
52
|
vehicle_id: string;
|
|
52
53
|
driver_id: string;
|
|
53
|
-
gps_geofence_id: string;
|
|
54
54
|
time_zone_id: string;
|
|
55
|
+
gps_geofence_id: string;
|
|
55
56
|
geofence_enter_date_time: string;
|
|
56
57
|
geofence_exit_date_time: string;
|
|
57
|
-
duration_seconds: number;
|
|
58
58
|
enter_gps_geofence_transaction_id: string;
|
|
59
59
|
exit_gps_geofence_transaction_id: string;
|
|
60
60
|
}, {
|
|
@@ -62,13 +62,13 @@ declare const GPSGeofenceTransactionSummarySchema: z.ZodObject<{
|
|
|
62
62
|
organisation_id: string;
|
|
63
63
|
vehicle_id: string;
|
|
64
64
|
driver_id: string;
|
|
65
|
-
gps_geofence_id: string;
|
|
66
65
|
time_zone_id: string;
|
|
66
|
+
gps_geofence_id: string;
|
|
67
67
|
geofence_enter_date_time: string;
|
|
68
68
|
enter_gps_geofence_transaction_id: string;
|
|
69
69
|
exit_gps_geofence_transaction_id: string;
|
|
70
|
-
geofence_exit_date_time?: string | undefined;
|
|
71
70
|
duration_seconds?: unknown;
|
|
71
|
+
geofence_exit_date_time?: string | undefined;
|
|
72
72
|
}>;
|
|
73
73
|
type GPSGeofenceTransactionSummaryDTO = z.infer<typeof GPSGeofenceTransactionSummarySchema>;
|
|
74
74
|
declare const GPSGeofenceTransactionSummaryQuerySchema: z.ZodObject<{
|
|
@@ -133,9 +133,9 @@ declare const GPSGeofenceTransactionSummaryQuerySchema: z.ZodObject<{
|
|
|
133
133
|
organisation_ids: string[];
|
|
134
134
|
vehicle_ids: string[];
|
|
135
135
|
driver_ids: string[];
|
|
136
|
-
gps_geofence_ids: string[];
|
|
137
136
|
from_date: string;
|
|
138
137
|
to_date: string;
|
|
138
|
+
gps_geofence_ids: string[];
|
|
139
139
|
}, {
|
|
140
140
|
time_zone_id: string;
|
|
141
141
|
date_format_id: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
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, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-N4jFCSLT.js';
|
|
5
5
|
import '../../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -55,31 +55,31 @@ declare const TripGeofenceToGeofenceSchema: z.ZodObject<{
|
|
|
55
55
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
56
56
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
57
57
|
}, "strip", z.ZodTypeAny, {
|
|
58
|
-
status: Status;
|
|
59
|
-
organisation_id: string;
|
|
60
|
-
vehicle_id: string;
|
|
61
|
-
driver_id: string;
|
|
62
|
-
time_zone_id: string;
|
|
63
|
-
duration_seconds: number;
|
|
64
58
|
from_geofence_exit_date_time: string;
|
|
65
59
|
to_geofence_enter_date_time: string;
|
|
60
|
+
duration_seconds: number;
|
|
66
61
|
travel_duration_seconds: number;
|
|
67
62
|
stopped_duration_seconds: number;
|
|
68
63
|
max_speed: number;
|
|
69
64
|
avg_speed: number;
|
|
65
|
+
status: Status;
|
|
66
|
+
organisation_id: string;
|
|
67
|
+
vehicle_id: string;
|
|
68
|
+
driver_id: string;
|
|
70
69
|
from_geofence_id: string;
|
|
71
70
|
to_geofence_id: string;
|
|
71
|
+
time_zone_id: string;
|
|
72
72
|
distance_meters?: number | undefined;
|
|
73
73
|
}, {
|
|
74
|
+
from_geofence_exit_date_time: string;
|
|
75
|
+
to_geofence_enter_date_time: string;
|
|
74
76
|
status: Status;
|
|
75
77
|
organisation_id: string;
|
|
76
78
|
vehicle_id: string;
|
|
77
79
|
driver_id: string;
|
|
78
|
-
time_zone_id: string;
|
|
79
|
-
from_geofence_exit_date_time: string;
|
|
80
|
-
to_geofence_enter_date_time: string;
|
|
81
80
|
from_geofence_id: string;
|
|
82
81
|
to_geofence_id: string;
|
|
82
|
+
time_zone_id: string;
|
|
83
83
|
duration_seconds?: unknown;
|
|
84
84
|
travel_duration_seconds?: unknown;
|
|
85
85
|
stopped_duration_seconds?: unknown;
|
|
@@ -151,10 +151,10 @@ declare const TripGeofenceToGeofenceQuerySchema: z.ZodObject<{
|
|
|
151
151
|
organisation_ids: string[];
|
|
152
152
|
vehicle_ids: string[];
|
|
153
153
|
driver_ids: string[];
|
|
154
|
-
from_date: string;
|
|
155
|
-
to_date: string;
|
|
156
154
|
from_geofence_ids: string[];
|
|
157
155
|
to_geofence_ids: string[];
|
|
156
|
+
from_date: string;
|
|
157
|
+
to_date: string;
|
|
158
158
|
}, {
|
|
159
159
|
time_zone_id: string;
|
|
160
160
|
date_format_id: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { LinkType, LinkStatus, Status, ShareChannel, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../core/Enums.js';
|
|
2
2
|
import { FBR, BR, SBR } from '../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, M as MasterVehicle } from '../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, M as MasterVehicle } from '../../../user_organisation_service-N4jFCSLT.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TrackHistoryLinkStatus, Status, ShareChannel, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../core/Enums.js';
|
|
2
2
|
import { FBR, BR, SBR } from '../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, M as MasterVehicle } from '../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, M as MasterVehicle } from '../../../user_organisation_service-N4jFCSLT.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -2,5 +2,5 @@ import '../../../core/Enums.js';
|
|
|
2
2
|
import '../../../core/BaseResponse.js';
|
|
3
3
|
import 'zod';
|
|
4
4
|
import '../../../zod_utils/zod_base_schema.js';
|
|
5
|
-
export { c_ as AssignRemoveDeviceHistory, d4 as DeviceSimLinkDTO, d3 as DeviceSimLinkSchema, c as MasterDevice, d0 as MasterDeviceDTO, d2 as MasterDeviceQueryDTO, d1 as MasterDeviceQuerySchema, c$ as MasterDeviceSchema, d8 as createMasterDevice, da as deleteMasterDevice, db as device_sim_link, dc as device_sim_unlink, d7 as findMasterDevices, de as get_device_sim_link_history_by_device, dd as get_device_sim_link_history_by_sim, d6 as newMasterDevicePayload, d5 as toMasterDevicePayload, d9 as updateMasterDevice } from '../../../user_organisation_service-
|
|
5
|
+
export { c_ as AssignRemoveDeviceHistory, d4 as DeviceSimLinkDTO, d3 as DeviceSimLinkSchema, c as MasterDevice, d0 as MasterDeviceDTO, d2 as MasterDeviceQueryDTO, d1 as MasterDeviceQuerySchema, c$ as MasterDeviceSchema, d8 as createMasterDevice, da as deleteMasterDevice, db as device_sim_link, dc as device_sim_unlink, d7 as findMasterDevices, de as get_device_sim_link_history_by_device, dd as get_device_sim_link_history_by_sim, d6 as newMasterDevicePayload, d5 as toMasterDevicePayload, d9 as updateMasterDevice } from '../../../user_organisation_service-N4jFCSLT.js';
|
|
6
6
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
@@ -2,5 +2,5 @@ import '../../../core/Enums.js';
|
|
|
2
2
|
import '../../../core/BaseResponse.js';
|
|
3
3
|
import 'zod';
|
|
4
4
|
import '../../../zod_utils/zod_base_schema.js';
|
|
5
|
-
export { bI as AssignRemoveDriverHistory, bJ as DriverLoginPush, b as MasterDriver, bN as MasterDriverDTO, bH as MasterDriverFile, bL as MasterDriverFileDTO, bK as MasterDriverFileSchema, bR as MasterDriverLogoDTO, bQ as MasterDriverLogoSchema, bT as MasterDriverProfileDTO, bS as MasterDriverProfileSchema, bP as MasterDriverQueryDTO, bO as MasterDriverQuerySchema, bM as MasterDriverSchema, bY as createMasterDriver, c6 as create_file, b_ as deleteMasterDriver, c0 as deleteMasterDriverLogo, bX as findMasterDriver, c2 as getMasterDriverCache, c3 as getMasterDriverCacheSimple, c4 as get_master_driver_presigned_url, c5 as get_master_driver_presigned_url_file, bW as newDriverPayload, c7 as remove_file, bU as toDriverPayload, bV as toDriverProfilePayload, bZ as updateMasterDriver, b$ as updateMasterDriverLogo, c1 as updateMasterDriverProfile } from '../../../user_organisation_service-
|
|
5
|
+
export { bI as AssignRemoveDriverHistory, bJ as DriverLoginPush, b as MasterDriver, bN as MasterDriverDTO, bH as MasterDriverFile, bL as MasterDriverFileDTO, bK as MasterDriverFileSchema, bR as MasterDriverLogoDTO, bQ as MasterDriverLogoSchema, bT as MasterDriverProfileDTO, bS as MasterDriverProfileSchema, bP as MasterDriverQueryDTO, bO as MasterDriverQuerySchema, bM as MasterDriverSchema, bY as createMasterDriver, c6 as create_file, b_ as deleteMasterDriver, c0 as deleteMasterDriverLogo, bX as findMasterDriver, c2 as getMasterDriverCache, c3 as getMasterDriverCacheSimple, c4 as get_master_driver_presigned_url, c5 as get_master_driver_presigned_url_file, bW as newDriverPayload, c7 as remove_file, bU as toDriverPayload, bV as toDriverProfilePayload, bZ as updateMasterDriver, b$ as updateMasterDriverLogo, c1 as updateMasterDriverProfile } from '../../../user_organisation_service-N4jFCSLT.js';
|
|
6
6
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '../../../core/Enums.js';
|
|
2
2
|
import '../../../core/BaseResponse.js';
|
|
3
3
|
import 'zod';
|
|
4
|
-
export { cP as AssignRemoveSimHistory, cO as MasterSim, cR as MasterSimDTO, cT as MasterSimQueryDTO, cS as MasterSimQuerySchema, cQ as MasterSimSchema, cX as createMasterSim, cZ as deleteMasterSim, cW as findMasterSims, cV as newMasterSimPayload, cU as toMasterSimPayload, cY as updateMasterSim } from '../../../user_organisation_service-
|
|
4
|
+
export { cP as AssignRemoveSimHistory, cO as MasterSim, cR as MasterSimDTO, cT as MasterSimQueryDTO, cS as MasterSimQuerySchema, cQ as MasterSimSchema, cX as createMasterSim, cZ as deleteMasterSim, cW as findMasterSims, cV as newMasterSimPayload, cU as toMasterSimPayload, cY as updateMasterSim } from '../../../user_organisation_service-N4jFCSLT.js';
|
|
5
5
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
6
6
|
import '../../../zod_utils/zod_base_schema.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BR, SBR } from '../../../core/BaseResponse.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import { a as User, b as MasterDriver } from '../../../user_organisation_service-
|
|
3
|
+
import { a as User, b as MasterDriver } from '../../../user_organisation_service-N4jFCSLT.js';
|
|
4
4
|
import { UserAdmin } from './user_admin_service.js';
|
|
5
5
|
import { LoginFrom } from '../../../core/Enums.js';
|
|
6
6
|
import '../../../zod_utils/zod_base_schema.js';
|
|
@@ -2,7 +2,7 @@ import { AdminRole, Status, LoginFrom, PAGING, LoadParents, LoadChild, LoadChild
|
|
|
2
2
|
import { FBR, SBR, BR, AWSPresignedUrl, BaseCommonFile } from '../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { FilePresignedUrlDTO } from '../../../zod_utils/zod_base_schema.js';
|
|
5
|
-
import { a as User, U as UserOrganisation } from '../../../user_organisation_service-
|
|
5
|
+
import { a as User, U as UserOrganisation } from '../../../user_organisation_service-N4jFCSLT.js';
|
|
6
6
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
8
8
|
interface UserAdmin extends Record<string, unknown> {
|
|
@@ -473,6 +473,7 @@ declare const TicketQuerySchema: z.ZodObject<{
|
|
|
473
473
|
ticket_status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof TicketStatus>, "many">>>;
|
|
474
474
|
}, "strip", z.ZodTypeAny, {
|
|
475
475
|
status: Status[];
|
|
476
|
+
user_ids: string[];
|
|
476
477
|
search: string;
|
|
477
478
|
paging: PAGING;
|
|
478
479
|
page_count: number;
|
|
@@ -494,7 +495,6 @@ declare const TicketQuerySchema: z.ZodObject<{
|
|
|
494
495
|
date_format_id: string;
|
|
495
496
|
time_zone_id: string;
|
|
496
497
|
organisation_ids: string[];
|
|
497
|
-
user_ids: string[];
|
|
498
498
|
admin_ids: string[];
|
|
499
499
|
ticket_status: TicketStatus[];
|
|
500
500
|
ticket_ids: string[];
|
|
@@ -502,6 +502,7 @@ declare const TicketQuerySchema: z.ZodObject<{
|
|
|
502
502
|
date_format_id: string;
|
|
503
503
|
time_zone_id: string;
|
|
504
504
|
status?: Status[] | undefined;
|
|
505
|
+
user_ids?: string[] | undefined;
|
|
505
506
|
search?: string | undefined;
|
|
506
507
|
paging?: PAGING | undefined;
|
|
507
508
|
page_count?: unknown;
|
|
@@ -521,7 +522,6 @@ declare const TicketQuerySchema: z.ZodObject<{
|
|
|
521
522
|
}[] | undefined;
|
|
522
523
|
include_master_data?: YesNo | undefined;
|
|
523
524
|
organisation_ids?: string[] | undefined;
|
|
524
|
-
user_ids?: string[] | undefined;
|
|
525
525
|
admin_ids?: string[] | undefined;
|
|
526
526
|
ticket_status?: TicketStatus[] | undefined;
|
|
527
527
|
ticket_ids?: string[] | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '../../../core/Enums.js';
|
|
2
2
|
import '../../../core/BaseResponse.js';
|
|
3
3
|
import 'zod';
|
|
4
|
-
export { U as UserOrganisation, il as UserOrganisationDTO, iq as UserOrganisationLogoDTO, ip as UserOrganisationLogoSchema, io as UserOrganisationQueryDTO, im as UserOrganisationQuerySchema, ik as UserOrganisationSchema, ij as UserOrganisationSimple, iu as createUserOrganisation, iw as deleteUserOrganisation, iy as deleteUserOrganisationLogo, it as findUserOrganisation, iA as getUserOrganisationCache, iB as getUserOrganisationCacheSimple, iz as get_user_organisation_presigned_url, is as newUserOrganisationPayload, ir as toUserOrganisationPayload, iv as updateUserOrganisation, ix as updateUserOrganisationLogo } from '../../../user_organisation_service-
|
|
4
|
+
export { U as UserOrganisation, il as UserOrganisationDTO, iq as UserOrganisationLogoDTO, ip as UserOrganisationLogoSchema, io as UserOrganisationQueryDTO, im as UserOrganisationQuerySchema, ik as UserOrganisationSchema, ij as UserOrganisationSimple, iu as createUserOrganisation, iw as deleteUserOrganisation, iy as deleteUserOrganisationLogo, it as findUserOrganisation, iA as getUserOrganisationCache, iB as getUserOrganisationCacheSimple, iz as get_user_organisation_presigned_url, is as newUserOrganisationPayload, ir as toUserOrganisationPayload, iv as updateUserOrganisation, ix as updateUserOrganisationLogo } from '../../../user_organisation_service-N4jFCSLT.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '../../../core/Enums.js';
|
|
2
2
|
import '../../../core/BaseResponse.js';
|
|
3
3
|
import 'zod';
|
|
4
|
-
export { a as User, hR as UserDTO, i1 as UserDefaultDateFormatDTO, i0 as UserDefaultDateFormatSchema, hZ as UserDefaultLanguageDTO, hY as UserDefaultLanguageSchema, h$ as UserDefaultTimeZoneDTO, h_ as UserDefaultTimeZoneSchema, hP as UserLoginPush, hV as UserLogoDTO, hU as UserLogoSchema, hX as UserProfileDTO, hW as UserProfileSchema, hT as UserQueryDTO, hS as UserQuerySchema, hQ as UserSchema, hO as UserVehicleLink, i6 as createUser, i8 as deleteUser, ia as deleteUserLogo, i5 as findUser, ic as getUserCache, id as getUserCacheSimple, ie as get_user_presigned_url, i2 as newUserPayload, i3 as toUserPayload, i4 as toUserProfilePayload, i7 as updateUser, ii as updateUserDefaultDateformat, ig as updateUserDefaultLanguage, ih as updateUserDefaultTimezone, i9 as updateUserLogo, ib as updateUserProfile } from '../../../user_organisation_service-
|
|
4
|
+
export { a as User, hR as UserDTO, i1 as UserDefaultDateFormatDTO, i0 as UserDefaultDateFormatSchema, hZ as UserDefaultLanguageDTO, hY as UserDefaultLanguageSchema, h$ as UserDefaultTimeZoneDTO, h_ as UserDefaultTimeZoneSchema, hP as UserLoginPush, hV as UserLogoDTO, hU as UserLogoSchema, hX as UserProfileDTO, hW as UserProfileSchema, hT as UserQueryDTO, hS as UserQuerySchema, hQ as UserSchema, hO as UserVehicleLink, i6 as createUser, i8 as deleteUser, ia as deleteUserLogo, i5 as findUser, ic as getUserCache, id as getUserCacheSimple, ie as get_user_presigned_url, i2 as newUserPayload, i3 as toUserPayload, i4 as toUserProfilePayload, i7 as updateUser, ii as updateUserDefaultDateformat, ig as updateUserDefaultLanguage, ih as updateUserDefaultTimezone, i9 as updateUserLogo, ib as updateUserProfile } from '../../../user_organisation_service-N4jFCSLT.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OdometerSource, 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, M as MasterVehicle } from '../../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, M as MasterVehicle } from '../../../../user_organisation_service-N4jFCSLT.js';
|
|
5
5
|
import '../../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -2,5 +2,5 @@ import '../../../core/Enums.js';
|
|
|
2
2
|
import '../../../core/BaseResponse.js';
|
|
3
3
|
import 'zod';
|
|
4
4
|
import '../../../zod_utils/zod_base_schema.js';
|
|
5
|
-
export { fV as MasterDeviceFileDTO, fU as MasterDeviceFileSchema, M as MasterVehicle, gb as MasterVehicleDocumentFileDTO, ga as MasterVehicleDocumentFileSchema, fD as MasterVehicleDropdown, fE as MasterVehicleFile, fP as MasterVehicleFileDTO, fO as MasterVehicleFileSchema, gn as SimpleFindQueryDTO, gm as SimpleFindQuerySchema, fT as VehicleBulkDTO, fS as VehicleBulkSchema, fR as VehicleDTO, fH as VehicleDetailBody, g5 as VehicleDetailBodyDTO, g4 as VehicleDetailBodySchema, fF as VehicleDetailGPS, g1 as VehicleDetailGPSSensorDTO, g0 as VehicleDetailGPSSensorSchema, fI as VehicleDetailLifeCycle, g7 as VehicleDetailLifeCycleDto, g6 as VehicleDetailLifeCycleSchema, fJ as VehicleDetailPurchase, g9 as VehicleDetailPurchaseDTO, g8 as VehicleDetailPurchaseSchema, fG as VehicleDetailTrip, g3 as VehicleDetailTripDTO, g2 as VehicleDetailTripSchema, fX as VehicleDeviceLinkDTO, fW as VehicleDeviceLinkSchema, fZ as VehicleDeviceUnlinkDTO, fY as VehicleDeviceUnlinkSchema, fK as VehicleDocument, gd as VehicleDocumentDTO, fM as VehicleDocumentExpiry, gh as VehicleDocumentExpiryDTO, gj as VehicleDocumentExpiryQueryDTO, gi as VehicleDocumentExpiryQuerySchema, gg as VehicleDocumentExpirySchema, fL as VehicleDocumentFile, gf as VehicleDocumentQueryDTO, ge as VehicleDocumentQuerySchema, gc as VehicleDocumentSchema, f$ as VehicleDriverLinkDTO, f_ as VehicleDriverLinkSchema, gp as VehicleGPSQueryDTO, go as VehicleGPSQuerySchema, fN as VehicleOdometerHistory, gl as VehicleQueryDTO, gk as VehicleQuerySchema, fQ as VehicleSchema, gV as createDocument, h3 as createDocumentExpiry, g$ as createFileDevice, gZ as createFileVehicle, h1 as createFileVehicleDocument, gF as createVehicle, gH as deleteVehicle, gW as findDocument, h4 as findDocumentExpiry, gE as findVehicleGPSDetails, gC as findVehicles, gD as findVehiclesLiveDashboard, gU as getDeviceLinkHistoryByDevice, gT as getDeviceLinkHistoryByVehicle, gQ as getDriverLinkHistoryByDriver, gP as getDriverLinkHistoryByVehicle, h7 as getVehicleCache, h9 as getVehicleParentCache, h8 as getVehicleSimpleCache, hb as getVehicleSimpleDropdownCacheLiveData, ha as getVehicleSimpleDropdownCustom, gA as
|
|
5
|
+
export { fV as MasterDeviceFileDTO, fU as MasterDeviceFileSchema, M as MasterVehicle, gb as MasterVehicleDocumentFileDTO, ga as MasterVehicleDocumentFileSchema, fD as MasterVehicleDropdown, fE as MasterVehicleFile, fP as MasterVehicleFileDTO, fO as MasterVehicleFileSchema, gn as SimpleFindQueryDTO, gm as SimpleFindQuerySchema, fT as VehicleBulkDTO, fS as VehicleBulkSchema, fR as VehicleDTO, fH as VehicleDetailBody, g5 as VehicleDetailBodyDTO, g4 as VehicleDetailBodySchema, fF as VehicleDetailGPS, g1 as VehicleDetailGPSSensorDTO, g0 as VehicleDetailGPSSensorSchema, fI as VehicleDetailLifeCycle, g7 as VehicleDetailLifeCycleDto, g6 as VehicleDetailLifeCycleSchema, fJ as VehicleDetailPurchase, g9 as VehicleDetailPurchaseDTO, g8 as VehicleDetailPurchaseSchema, fG as VehicleDetailTrip, g3 as VehicleDetailTripDTO, g2 as VehicleDetailTripSchema, fX as VehicleDeviceLinkDTO, fW as VehicleDeviceLinkSchema, fZ as VehicleDeviceUnlinkDTO, fY as VehicleDeviceUnlinkSchema, fK as VehicleDocument, gd as VehicleDocumentDTO, fM as VehicleDocumentExpiry, gh as VehicleDocumentExpiryDTO, gj as VehicleDocumentExpiryQueryDTO, gi as VehicleDocumentExpiryQuerySchema, gg as VehicleDocumentExpirySchema, fL as VehicleDocumentFile, gf as VehicleDocumentQueryDTO, ge as VehicleDocumentQuerySchema, gc as VehicleDocumentSchema, f$ as VehicleDriverLinkDTO, f_ as VehicleDriverLinkSchema, gp as VehicleGPSQueryDTO, go as VehicleGPSQuerySchema, fN as VehicleOdometerHistory, gl as VehicleQueryDTO, gk as VehicleQuerySchema, fQ as VehicleSchema, gV as createDocument, h3 as createDocumentExpiry, g$ as createFileDevice, gZ as createFileVehicle, h1 as createFileVehicleDocument, gF as createVehicle, gH as deleteVehicle, gW as findDocument, h4 as findDocumentExpiry, gE as findVehicleGPSDetails, gC as findVehicles, gD as findVehiclesLiveDashboard, gU as getDeviceLinkHistoryByDevice, gT as getDeviceLinkHistoryByVehicle, gQ as getDriverLinkHistoryByDriver, gP as getDriverLinkHistoryByVehicle, h7 as getVehicleCache, h9 as getVehicleParentCache, h8 as getVehicleSimpleCache, hb as getVehicleSimpleDropdownCacheLiveData, ha as getVehicleSimpleDropdownCustom, gA as get_device_file_presigned_url, gB as get_master_driver_presigned_url_file, gz as get_vehicle_file_presigned_url, gR as linkDeviceToVehicle, gN as linkDriverToVehicle, gy as newVehicleDocumentExpiryPayload, gr as newVehiclePayload, gY as removeDocument, h6 as removeDocumentExpiry, h0 as removeFileDevice, g_ as removeFileVehicle, h2 as removeFileVehicleDocument, gv as toVehicleDetailLifeCyclePayload, gw as toVehicleDetailPurchasePayload, gu as toVehicleDetailsBodyPayload, gs as toVehicleDetailsGPSPayload, gt as toVehicleDetailsTripPayload, gx as toVehicleDocumentExpiryPayload, gq as toVehiclePayload, gS as unlinkDeviceFromVehicle, gO as unlinkDriverFromVehicle, gI as updateDetailsGpsSensor, gJ as updateDetailsTrip, gX as updateDocument, h5 as updateDocumentExpiry, gG as updateVehicle, gK as updateVehicleBodyDetails, gL as updateVehicleLifeCycleDetails, gM as updateVehiclePurchaseDetails } from '../../../user_organisation_service-N4jFCSLT.js';
|
|
6
6
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
@@ -370,9 +370,9 @@ var MongoBaseQuerySchema = z2.object({
|
|
|
370
370
|
var URL = "main/master_vehicle";
|
|
371
371
|
var ENDPOINTS = {
|
|
372
372
|
// AWS S3 PRESIGNED
|
|
373
|
-
vehicle_presigned_url: (file_name) => `${URL}/vehicle_presigned_url/${file_name}`,
|
|
374
|
-
device_presigned_url: (file_name) => `${URL}/device_presigned_url/${file_name}`,
|
|
375
373
|
vehicle_file_presigned_url: `${URL}/vehicle_file_presigned_url`,
|
|
374
|
+
device_file_presigned_url: `${URL}/device_file_presigned_url`,
|
|
375
|
+
vehicle_document_file_presigned_url: `${URL}/vehicle_document_file_presigned_url`,
|
|
376
376
|
// Vehicle CRED
|
|
377
377
|
find: `${URL}/search`,
|
|
378
378
|
find_live_dashboard: `${URL}/live_dashboard/search`,
|
|
@@ -1217,14 +1217,14 @@ var newVehicleDocumentExpiryPayload = () => ({
|
|
|
1217
1217
|
expiry_type: "Expiring" /* Expiring */,
|
|
1218
1218
|
status: "Active" /* Active */
|
|
1219
1219
|
});
|
|
1220
|
-
var
|
|
1221
|
-
return
|
|
1220
|
+
var get_vehicle_file_presigned_url = async (data) => {
|
|
1221
|
+
return apiPost(ENDPOINTS.vehicle_file_presigned_url, data);
|
|
1222
1222
|
};
|
|
1223
|
-
var
|
|
1224
|
-
return
|
|
1223
|
+
var get_device_file_presigned_url = async (data) => {
|
|
1224
|
+
return apiPost(ENDPOINTS.device_file_presigned_url, data);
|
|
1225
1225
|
};
|
|
1226
1226
|
var get_master_driver_presigned_url_file = async (data) => {
|
|
1227
|
-
return apiPost(ENDPOINTS.
|
|
1227
|
+
return apiPost(ENDPOINTS.vehicle_document_file_presigned_url, data);
|
|
1228
1228
|
};
|
|
1229
1229
|
var findVehicles = async (payload) => {
|
|
1230
1230
|
return apiPost(ENDPOINTS.find, payload);
|
|
@@ -1382,9 +1382,9 @@ export {
|
|
|
1382
1382
|
getVehicleSimpleCache,
|
|
1383
1383
|
getVehicleSimpleDropdownCacheLiveData,
|
|
1384
1384
|
getVehicleSimpleDropdownCustom,
|
|
1385
|
-
|
|
1385
|
+
get_device_file_presigned_url,
|
|
1386
1386
|
get_master_driver_presigned_url_file,
|
|
1387
|
-
|
|
1387
|
+
get_vehicle_file_presigned_url,
|
|
1388
1388
|
linkDeviceToVehicle,
|
|
1389
1389
|
linkDriverToVehicle,
|
|
1390
1390
|
newVehicleDocumentExpiryPayload,
|
|
@@ -1,7 +1,7 @@
|
|
|
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 } from '../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, a as User } from '../../../user_organisation_service-N4jFCSLT.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
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 } from '../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, a as User } from '../../../user_organisation_service-N4jFCSLT.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
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 } from '../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, a as User } from '../../../user_organisation_service-N4jFCSLT.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
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 } from '../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, a as User } from '../../../user_organisation_service-N4jFCSLT.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
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 } from '../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, a as User } from '../../../user_organisation_service-N4jFCSLT.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
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 } from '../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, a as User } from '../../../user_organisation_service-N4jFCSLT.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../main/master_main_sim_provider_service.js';
|
|
7
7
|
|