vms-nest-prisma-api-document 6.0.24 → 6.0.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/services/account/bookmark_service.d.ts +9 -9
- package/dist/services/account/ticket_service.d.ts +17 -17
- package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.d.ts +17 -17
- package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.d.ts +50 -50
- package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +35 -35
- package/dist/services/gps/features/geofence/gps_geofence_data_service.d.ts +11 -11
- package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +10 -10
- package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +5 -5
- package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +3 -3
- 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/GpsAlert.d.ts +8 -7
- package/dist/services/gps/reports/gps_models/GpsPacket.d.ts +22 -12
- package/dist/services/gps/reports/gps_models/GpsSensor.d.ts +16 -9
- package/dist/services/gps/reports/gps_reports_mongo_service.d.ts +6 -6
- package/dist/services/gps/reports/gps_reports_mongo_service.js +10 -10
- 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_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/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 +1 -1
- package/dist/services/master/fleet/master_fleet_incident_status_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_incident_type_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_insurance_claim_status_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_service_task_service.d.ts +1 -1
- package/dist/services/master/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 +7 -7
- 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 +4 -4
- package/dist/services/master/vehicle/master_vehicle_make_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_model_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_ownership_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_status_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_sub_model_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_type_service.d.ts +1 -1
- package/package.json +1 -1
- package/dist/services/account/notification_service.d.ts +0 -232
- package/dist/services/account/notification_service.js +0 -529
- package/dist/{user_organisation_service-BLMLICYW.d.ts → user_organisation_service-DS5AX39n.d.ts} +3 -3
|
@@ -2,7 +2,7 @@ import { RefillEntrySource, GPSFuelApproveStatus, Status, FileType, PAGING, Load
|
|
|
2
2
|
import { 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 } from '../../../user_organisation_service-
|
|
5
|
+
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice, d as MasterVehicleFuelType } from '../../../user_organisation_service-DS5AX39n.js';
|
|
6
6
|
import { MasterMainLandmark } from '../../master/main/master_main_landmark_service.js';
|
|
7
7
|
import { MasterVehicleFuelUnit } from '../../master/vehicle/master_vehicle_fuel_unit_service.js';
|
|
8
8
|
import { MasterVehicleFuelRemovalReason } from '../../master/vehicle/master_vehicle_fuel_removal_reason_service.js';
|
|
@@ -97,10 +97,10 @@ declare const FleetFuelRemovalFileSchema: z.ZodObject<{
|
|
|
97
97
|
}, "strip", z.ZodTypeAny, {
|
|
98
98
|
status: Status;
|
|
99
99
|
organisation_id: string;
|
|
100
|
-
file_name: string;
|
|
101
100
|
file_type: FileType;
|
|
102
101
|
file_url: string;
|
|
103
102
|
file_key: string;
|
|
103
|
+
file_name: string;
|
|
104
104
|
file_description: string;
|
|
105
105
|
file_size: number;
|
|
106
106
|
file_metadata: Record<string, any>;
|
|
@@ -110,9 +110,9 @@ declare const FleetFuelRemovalFileSchema: z.ZodObject<{
|
|
|
110
110
|
organisation_id: string;
|
|
111
111
|
file_type: FileType;
|
|
112
112
|
fleet_fuel_removal_id: string;
|
|
113
|
-
file_name?: string | undefined;
|
|
114
113
|
file_url?: string | undefined;
|
|
115
114
|
file_key?: string | undefined;
|
|
115
|
+
file_name?: string | undefined;
|
|
116
116
|
file_description?: string | undefined;
|
|
117
117
|
file_size?: unknown;
|
|
118
118
|
file_metadata?: Record<string, any> | undefined;
|
|
@@ -161,10 +161,10 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
161
161
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
162
162
|
status: Status;
|
|
163
163
|
organisation_id: string;
|
|
164
|
-
file_name: string;
|
|
165
164
|
file_type: FileType;
|
|
166
165
|
file_url: string;
|
|
167
166
|
file_key: string;
|
|
167
|
+
file_name: string;
|
|
168
168
|
file_description: string;
|
|
169
169
|
file_size: number;
|
|
170
170
|
file_metadata: Record<string, any>;
|
|
@@ -174,77 +174,77 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
174
174
|
organisation_id: string;
|
|
175
175
|
file_type: FileType;
|
|
176
176
|
fleet_fuel_removal_id: string;
|
|
177
|
-
file_name?: string | undefined;
|
|
178
177
|
file_url?: string | undefined;
|
|
179
178
|
file_key?: string | undefined;
|
|
179
|
+
file_name?: string | undefined;
|
|
180
180
|
file_description?: string | undefined;
|
|
181
181
|
file_size?: unknown;
|
|
182
182
|
file_metadata?: Record<string, any> | undefined;
|
|
183
183
|
}>, "many">>>;
|
|
184
184
|
}, "strip", z.ZodTypeAny, {
|
|
185
|
+
odometer_reading: number;
|
|
186
|
+
date_time: string;
|
|
187
|
+
entry_source: RefillEntrySource;
|
|
188
|
+
source_reference_id: string;
|
|
189
|
+
source_notes: string;
|
|
190
|
+
admin_verify_status: GPSFuelApproveStatus;
|
|
191
|
+
transporter_verify_status: GPSFuelApproveStatus;
|
|
192
|
+
google_location: string;
|
|
185
193
|
status: Status;
|
|
186
194
|
organisation_id: string;
|
|
187
195
|
user_id: string;
|
|
188
196
|
vehicle_id: string;
|
|
189
197
|
driver_id: string;
|
|
190
198
|
device_id: string;
|
|
191
|
-
time_zone_id: string;
|
|
192
199
|
vehicle_fuel_type_id: string;
|
|
193
|
-
odometer_reading: number;
|
|
194
|
-
google_location: string;
|
|
195
200
|
vehicle_fuel_unit_id: string;
|
|
196
|
-
|
|
197
|
-
entry_source: RefillEntrySource;
|
|
198
|
-
source_reference_id: string;
|
|
199
|
-
source_notes: string;
|
|
200
|
-
admin_verify_status: GPSFuelApproveStatus;
|
|
201
|
-
transporter_verify_status: GPSFuelApproveStatus;
|
|
201
|
+
time_zone_id: string;
|
|
202
202
|
fuel_removal_reason_id: string;
|
|
203
203
|
removal_details: string;
|
|
204
204
|
removal_files: {
|
|
205
205
|
status: Status;
|
|
206
206
|
organisation_id: string;
|
|
207
|
-
file_name: string;
|
|
208
207
|
file_type: FileType;
|
|
209
208
|
file_url: string;
|
|
210
209
|
file_key: string;
|
|
210
|
+
file_name: string;
|
|
211
211
|
file_description: string;
|
|
212
212
|
file_size: number;
|
|
213
213
|
file_metadata: Record<string, any>;
|
|
214
214
|
fleet_fuel_removal_id: string;
|
|
215
215
|
}[];
|
|
216
|
-
latitude?: number | undefined;
|
|
217
|
-
longitude?: number | undefined;
|
|
218
216
|
cost_per_unit?: number | undefined;
|
|
219
217
|
total_cost?: number | undefined;
|
|
218
|
+
latitude?: number | undefined;
|
|
219
|
+
longitude?: number | undefined;
|
|
220
220
|
before_removal_quantity?: number | undefined;
|
|
221
221
|
after_removal_quantity?: number | undefined;
|
|
222
222
|
removal_quantity?: number | undefined;
|
|
223
223
|
verified_removal_quantity?: number | undefined;
|
|
224
224
|
diff_removal_quantity?: number | undefined;
|
|
225
225
|
}, {
|
|
226
|
+
date_time: string;
|
|
227
|
+
admin_verify_status: GPSFuelApproveStatus;
|
|
228
|
+
transporter_verify_status: GPSFuelApproveStatus;
|
|
226
229
|
status: Status;
|
|
227
230
|
organisation_id: string;
|
|
228
231
|
user_id: string;
|
|
229
232
|
vehicle_id: string;
|
|
230
233
|
driver_id: string;
|
|
231
234
|
device_id: string;
|
|
232
|
-
time_zone_id: string;
|
|
233
235
|
vehicle_fuel_type_id: string;
|
|
234
236
|
vehicle_fuel_unit_id: string;
|
|
235
|
-
|
|
236
|
-
admin_verify_status: GPSFuelApproveStatus;
|
|
237
|
-
transporter_verify_status: GPSFuelApproveStatus;
|
|
237
|
+
time_zone_id: string;
|
|
238
238
|
fuel_removal_reason_id: string;
|
|
239
239
|
odometer_reading?: unknown;
|
|
240
|
-
latitude?: unknown;
|
|
241
|
-
longitude?: unknown;
|
|
242
|
-
google_location?: string | undefined;
|
|
243
240
|
cost_per_unit?: unknown;
|
|
244
241
|
total_cost?: unknown;
|
|
245
242
|
entry_source?: RefillEntrySource | undefined;
|
|
246
243
|
source_reference_id?: string | undefined;
|
|
247
244
|
source_notes?: string | undefined;
|
|
245
|
+
latitude?: unknown;
|
|
246
|
+
longitude?: unknown;
|
|
247
|
+
google_location?: string | undefined;
|
|
248
248
|
before_removal_quantity?: unknown;
|
|
249
249
|
after_removal_quantity?: unknown;
|
|
250
250
|
removal_quantity?: unknown;
|
|
@@ -256,9 +256,9 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
256
256
|
organisation_id: string;
|
|
257
257
|
file_type: FileType;
|
|
258
258
|
fleet_fuel_removal_id: string;
|
|
259
|
-
file_name?: string | undefined;
|
|
260
259
|
file_url?: string | undefined;
|
|
261
260
|
file_key?: string | undefined;
|
|
261
|
+
file_name?: string | undefined;
|
|
262
262
|
file_description?: string | undefined;
|
|
263
263
|
file_size?: unknown;
|
|
264
264
|
file_metadata?: Record<string, any> | undefined;
|
|
@@ -310,7 +310,11 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
|
|
|
310
310
|
from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
311
311
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
312
312
|
}, "strip", z.ZodTypeAny, {
|
|
313
|
+
entry_source: RefillEntrySource[];
|
|
314
|
+
admin_verify_status: GPSFuelApproveStatus[];
|
|
315
|
+
transporter_verify_status: GPSFuelApproveStatus[];
|
|
313
316
|
status: Status[];
|
|
317
|
+
time_zone_id: string;
|
|
314
318
|
search: string;
|
|
315
319
|
paging: PAGING;
|
|
316
320
|
page_count: number;
|
|
@@ -330,25 +334,24 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
|
|
|
330
334
|
}[];
|
|
331
335
|
include_master_data: YesNo;
|
|
332
336
|
date_format_id: string;
|
|
333
|
-
time_zone_id: string;
|
|
334
337
|
organisation_ids: string[];
|
|
335
338
|
user_ids: string[];
|
|
336
339
|
vehicle_ids: string[];
|
|
337
340
|
driver_ids: string[];
|
|
338
341
|
device_ids: string[];
|
|
339
|
-
from_date: string;
|
|
340
|
-
to_date: string;
|
|
341
342
|
vehicle_fuel_type_ids: string[];
|
|
342
|
-
entry_source: RefillEntrySource[];
|
|
343
|
-
admin_verify_status: GPSFuelApproveStatus[];
|
|
344
|
-
transporter_verify_status: GPSFuelApproveStatus[];
|
|
345
343
|
vehicle_fuel_unit_ids: string[];
|
|
344
|
+
from_date: string;
|
|
345
|
+
to_date: string;
|
|
346
346
|
fuel_removal_reason_ids: string[];
|
|
347
347
|
}, {
|
|
348
|
-
date_format_id: string;
|
|
349
348
|
time_zone_id: string;
|
|
349
|
+
date_format_id: string;
|
|
350
350
|
from_date: string;
|
|
351
351
|
to_date: string;
|
|
352
|
+
entry_source?: RefillEntrySource[] | undefined;
|
|
353
|
+
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
354
|
+
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
352
355
|
status?: Status[] | undefined;
|
|
353
356
|
search?: string | undefined;
|
|
354
357
|
paging?: PAGING | undefined;
|
|
@@ -374,9 +377,6 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
|
|
|
374
377
|
driver_ids?: string[] | undefined;
|
|
375
378
|
device_ids?: string[] | undefined;
|
|
376
379
|
vehicle_fuel_type_ids?: string[] | undefined;
|
|
377
|
-
entry_source?: RefillEntrySource[] | undefined;
|
|
378
|
-
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
379
|
-
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
380
380
|
vehicle_fuel_unit_ids?: string[] | undefined;
|
|
381
381
|
fuel_removal_reason_ids?: string[] | undefined;
|
|
382
382
|
}>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GeofenceType, GeofencePurposeType, 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-DS5AX39n.js';
|
|
5
5
|
import '../../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -59,8 +59,6 @@ declare const GPSGeofenceDataSchema: z.ZodObject<{
|
|
|
59
59
|
geofence_purpose_type: z.ZodType<GeofencePurposeType, z.ZodTypeDef, GeofencePurposeType>;
|
|
60
60
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
61
61
|
}, "strip", z.ZodTypeAny, {
|
|
62
|
-
status: Status;
|
|
63
|
-
organisation_id: string;
|
|
64
62
|
geofence_name: string;
|
|
65
63
|
location_name: string;
|
|
66
64
|
geofence_type: GeofenceType;
|
|
@@ -70,19 +68,21 @@ declare const GPSGeofenceDataSchema: z.ZodObject<{
|
|
|
70
68
|
}[];
|
|
71
69
|
geofence_description: string;
|
|
72
70
|
geofence_purpose_type: GeofencePurposeType;
|
|
71
|
+
status: Status;
|
|
72
|
+
organisation_id: string;
|
|
73
|
+
radius_km?: number | undefined;
|
|
73
74
|
latitude?: number | undefined;
|
|
74
75
|
longitude?: number | undefined;
|
|
75
|
-
radius_km?: number | undefined;
|
|
76
76
|
}, {
|
|
77
|
-
status: Status;
|
|
78
|
-
organisation_id: string;
|
|
79
77
|
geofence_name: string;
|
|
80
78
|
location_name: string;
|
|
81
79
|
geofence_type: GeofenceType;
|
|
82
80
|
geofence_purpose_type: GeofencePurposeType;
|
|
81
|
+
status: Status;
|
|
82
|
+
organisation_id: string;
|
|
83
|
+
radius_km?: unknown;
|
|
83
84
|
latitude?: unknown;
|
|
84
85
|
longitude?: unknown;
|
|
85
|
-
radius_km?: unknown;
|
|
86
86
|
poliline_data?: {
|
|
87
87
|
latitude?: unknown;
|
|
88
88
|
longitude?: unknown;
|
|
@@ -125,6 +125,8 @@ declare const GPSGeofenceDataQuerySchema: z.ZodObject<{
|
|
|
125
125
|
geofence_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof GeofenceType>, "many">>>;
|
|
126
126
|
geofence_purpose_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof GeofencePurposeType>, "many">>>;
|
|
127
127
|
}, "strip", z.ZodTypeAny, {
|
|
128
|
+
geofence_type: GeofenceType[];
|
|
129
|
+
geofence_purpose_type: GeofencePurposeType[];
|
|
128
130
|
status: Status[];
|
|
129
131
|
search: string;
|
|
130
132
|
paging: PAGING;
|
|
@@ -147,11 +149,11 @@ declare const GPSGeofenceDataQuerySchema: z.ZodObject<{
|
|
|
147
149
|
date_format_id: string;
|
|
148
150
|
time_zone_id: string;
|
|
149
151
|
organisation_ids: string[];
|
|
150
|
-
geofence_type: GeofenceType[];
|
|
151
|
-
geofence_purpose_type: GeofencePurposeType[];
|
|
152
152
|
}, {
|
|
153
153
|
date_format_id: string;
|
|
154
154
|
time_zone_id: string;
|
|
155
|
+
geofence_type?: GeofenceType[] | undefined;
|
|
156
|
+
geofence_purpose_type?: GeofencePurposeType[] | undefined;
|
|
155
157
|
status?: Status[] | undefined;
|
|
156
158
|
search?: string | undefined;
|
|
157
159
|
paging?: PAGING | undefined;
|
|
@@ -172,8 +174,6 @@ declare const GPSGeofenceDataQuerySchema: z.ZodObject<{
|
|
|
172
174
|
}[] | undefined;
|
|
173
175
|
include_master_data?: YesNo | undefined;
|
|
174
176
|
organisation_ids?: string[] | undefined;
|
|
175
|
-
geofence_type?: GeofenceType[] | undefined;
|
|
176
|
-
geofence_purpose_type?: GeofencePurposeType[] | undefined;
|
|
177
177
|
}>;
|
|
178
178
|
type GPSGeofenceDataQueryDTO = z.infer<typeof GPSGeofenceDataQuerySchema>;
|
|
179
179
|
declare const toGPSGeofenceDataPayload: (data: GPSGeofenceData) => GPSGeofenceDataDTO;
|
|
@@ -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-DS5AX39n.js';
|
|
5
5
|
import { GPSGeofenceData } from './gps_geofence_data_service.js';
|
|
6
6
|
import '../../../../zod_utils/zod_base_schema.js';
|
|
7
7
|
import '../../../master/main/master_main_sim_provider_service.js';
|
|
@@ -31,21 +31,21 @@ declare const GPSGeofenceTransactionSchema: z.ZodObject<{
|
|
|
31
31
|
geofence_time: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
32
32
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
33
33
|
}, "strip", z.ZodTypeAny, {
|
|
34
|
-
|
|
35
|
-
geofence_time: string;
|
|
34
|
+
gps_geofence_id: string;
|
|
36
35
|
status: Status;
|
|
37
36
|
organisation_id: string;
|
|
38
|
-
vehicle_id: string;
|
|
39
37
|
driver_id: string;
|
|
40
|
-
|
|
41
|
-
}, {
|
|
38
|
+
vehicle_id: string;
|
|
42
39
|
geofence_status_type: GeofenceStatusType;
|
|
43
40
|
geofence_time: string;
|
|
41
|
+
}, {
|
|
42
|
+
gps_geofence_id: string;
|
|
44
43
|
status: Status;
|
|
45
44
|
organisation_id: string;
|
|
46
|
-
vehicle_id: string;
|
|
47
45
|
driver_id: string;
|
|
48
|
-
|
|
46
|
+
vehicle_id: string;
|
|
47
|
+
geofence_status_type: GeofenceStatusType;
|
|
48
|
+
geofence_time: string;
|
|
49
49
|
}>;
|
|
50
50
|
type GPSGeofenceTransactionDTO = z.infer<typeof GPSGeofenceTransactionSchema>;
|
|
51
51
|
declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
@@ -85,7 +85,6 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
|
85
85
|
gps_geofence_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
86
86
|
geofence_status_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof GeofenceStatusType>, "many">>>;
|
|
87
87
|
}, "strip", z.ZodTypeAny, {
|
|
88
|
-
geofence_status_type: GeofenceStatusType[];
|
|
89
88
|
status: Status[];
|
|
90
89
|
search: string;
|
|
91
90
|
paging: PAGING;
|
|
@@ -110,11 +109,11 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
|
110
109
|
organisation_ids: string[];
|
|
111
110
|
vehicle_ids: string[];
|
|
112
111
|
driver_ids: string[];
|
|
112
|
+
geofence_status_type: GeofenceStatusType[];
|
|
113
113
|
gps_geofence_ids: string[];
|
|
114
114
|
}, {
|
|
115
115
|
date_format_id: string;
|
|
116
116
|
time_zone_id: string;
|
|
117
|
-
geofence_status_type?: GeofenceStatusType[] | undefined;
|
|
118
117
|
status?: Status[] | undefined;
|
|
119
118
|
search?: string | undefined;
|
|
120
119
|
paging?: PAGING | undefined;
|
|
@@ -137,6 +136,7 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
|
137
136
|
organisation_ids?: string[] | undefined;
|
|
138
137
|
vehicle_ids?: string[] | undefined;
|
|
139
138
|
driver_ids?: string[] | undefined;
|
|
139
|
+
geofence_status_type?: GeofenceStatusType[] | undefined;
|
|
140
140
|
gps_geofence_ids?: string[] | undefined;
|
|
141
141
|
}>;
|
|
142
142
|
type GPSGeofenceTransactionQueryDTO = z.infer<typeof GPSGeofenceTransactionQuerySchema>;
|
|
@@ -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-DS5AX39n.js';
|
|
5
5
|
import { GPSGeofenceData } from './gps_geofence_data_service.js';
|
|
6
6
|
import { GPSGeofenceTransaction } from './gps_geofence_transaction_service.js';
|
|
7
7
|
import '../../../../zod_utils/zod_base_schema.js';
|
|
@@ -40,22 +40,22 @@ declare const GPSGeofenceTransactionSummarySchema: z.ZodObject<{
|
|
|
40
40
|
duration_seconds: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
41
41
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
42
42
|
}, "strip", z.ZodTypeAny, {
|
|
43
|
+
gps_geofence_id: string;
|
|
43
44
|
status: Status;
|
|
44
45
|
organisation_id: string;
|
|
45
|
-
vehicle_id: string;
|
|
46
46
|
driver_id: string;
|
|
47
|
-
|
|
47
|
+
vehicle_id: string;
|
|
48
48
|
geofence_enter_date_time: string;
|
|
49
49
|
geofence_exit_date_time: string;
|
|
50
50
|
duration_seconds: number;
|
|
51
51
|
enter_gps_geofence_transaction_id: string;
|
|
52
52
|
exit_gps_geofence_transaction_id: string;
|
|
53
53
|
}, {
|
|
54
|
+
gps_geofence_id: string;
|
|
54
55
|
status: Status;
|
|
55
56
|
organisation_id: string;
|
|
56
|
-
vehicle_id: string;
|
|
57
57
|
driver_id: string;
|
|
58
|
-
|
|
58
|
+
vehicle_id: string;
|
|
59
59
|
geofence_enter_date_time: string;
|
|
60
60
|
enter_gps_geofence_transaction_id: string;
|
|
61
61
|
exit_gps_geofence_transaction_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-DS5AX39n.js';
|
|
5
5
|
import { GPSGeofenceData } from './gps_geofence_data_service.js';
|
|
6
6
|
import '../../../../zod_utils/zod_base_schema.js';
|
|
7
7
|
import '../../../master/main/master_main_sim_provider_service.js';
|
|
@@ -64,8 +64,8 @@ declare const TripGeofenceToGeofenceSchema: z.ZodObject<{
|
|
|
64
64
|
}, "strip", z.ZodTypeAny, {
|
|
65
65
|
status: Status;
|
|
66
66
|
organisation_id: string;
|
|
67
|
-
vehicle_id: string;
|
|
68
67
|
driver_id: string;
|
|
68
|
+
vehicle_id: string;
|
|
69
69
|
duration_seconds: number;
|
|
70
70
|
from_geofence_exit_date_time: string;
|
|
71
71
|
to_geofence_enter_date_time: string;
|
|
@@ -87,8 +87,8 @@ declare const TripGeofenceToGeofenceSchema: z.ZodObject<{
|
|
|
87
87
|
}, {
|
|
88
88
|
status: Status;
|
|
89
89
|
organisation_id: string;
|
|
90
|
-
vehicle_id: string;
|
|
91
90
|
driver_id: string;
|
|
91
|
+
vehicle_id: string;
|
|
92
92
|
from_geofence_exit_date_time: string;
|
|
93
93
|
to_geofence_enter_date_time: string;
|
|
94
94
|
from_geofence_id: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { LinkType, LinkStatus, Status, NotificationType, 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-DS5AX39n.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, NotificationType, 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-DS5AX39n.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -6,20 +6,13 @@ interface GpsAlert extends Record<string, unknown> {
|
|
|
6
6
|
db_i: string;
|
|
7
7
|
db_g: string;
|
|
8
8
|
u_id: string;
|
|
9
|
-
u_f?: string;
|
|
10
9
|
v_id: string;
|
|
11
|
-
vn_f?: string;
|
|
12
|
-
vt?: string;
|
|
13
10
|
d_id: string;
|
|
14
|
-
dr_f?: string;
|
|
15
11
|
g_id: string;
|
|
16
|
-
ge_n?: string;
|
|
17
|
-
ge_t?: string;
|
|
18
12
|
module: Module;
|
|
19
13
|
alert_type: AlertType;
|
|
20
14
|
alert_sub_type: AlertSubType;
|
|
21
15
|
dt: string;
|
|
22
|
-
dt_f?: string;
|
|
23
16
|
dts: number;
|
|
24
17
|
la: number;
|
|
25
18
|
lo: number;
|
|
@@ -35,6 +28,14 @@ interface GpsAlert extends Record<string, unknown> {
|
|
|
35
28
|
key_4?: string;
|
|
36
29
|
key_5?: string;
|
|
37
30
|
key_6?: string;
|
|
31
|
+
si?: number;
|
|
32
|
+
s_f?: string;
|
|
33
|
+
dt_f?: string;
|
|
34
|
+
u_f?: string;
|
|
35
|
+
vn_f?: string;
|
|
36
|
+
vt?: string;
|
|
37
|
+
dr_f?: string;
|
|
38
|
+
ge_f?: string;
|
|
38
39
|
}
|
|
39
40
|
|
|
40
41
|
export type { GpsAlert };
|
|
@@ -1,6 +1,17 @@
|
|
|
1
|
+
import { GPSSource } from '../../../../core/Enums.js';
|
|
2
|
+
|
|
1
3
|
interface GpsPacket extends Record<string, unknown> {
|
|
2
|
-
|
|
4
|
+
_id?: string;
|
|
5
|
+
o_id: string;
|
|
6
|
+
db_i: string;
|
|
7
|
+
db_g: string;
|
|
8
|
+
v_id: string;
|
|
9
|
+
g_s: GPSSource;
|
|
10
|
+
attributes: object;
|
|
11
|
+
fuel_values: object;
|
|
3
12
|
raw: string;
|
|
13
|
+
protocol: string;
|
|
14
|
+
api_code: string;
|
|
4
15
|
st: string;
|
|
5
16
|
dt: string;
|
|
6
17
|
ft: string;
|
|
@@ -15,6 +26,7 @@ interface GpsPacket extends Record<string, unknown> {
|
|
|
15
26
|
c: number;
|
|
16
27
|
i: boolean;
|
|
17
28
|
m: boolean;
|
|
29
|
+
os: boolean;
|
|
18
30
|
p: boolean;
|
|
19
31
|
v: boolean;
|
|
20
32
|
b_r: string;
|
|
@@ -26,21 +38,19 @@ interface GpsPacket extends Record<string, unknown> {
|
|
|
26
38
|
t2_r: string;
|
|
27
39
|
t1: number;
|
|
28
40
|
t2: number;
|
|
29
|
-
gl: string;
|
|
30
|
-
lid: string;
|
|
31
|
-
ll: string;
|
|
32
|
-
ld: number;
|
|
33
41
|
s_r_l: boolean;
|
|
34
42
|
s_d_l: boolean;
|
|
35
43
|
s_d: boolean;
|
|
36
44
|
s_g: boolean;
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
c_d
|
|
43
|
-
dt_f
|
|
45
|
+
gl: string;
|
|
46
|
+
lid: string;
|
|
47
|
+
ll: string;
|
|
48
|
+
ld: number;
|
|
49
|
+
si?: number;
|
|
50
|
+
c_d?: number;
|
|
51
|
+
dt_f?: string;
|
|
52
|
+
f1_f?: string;
|
|
53
|
+
t_f?: string;
|
|
44
54
|
}
|
|
45
55
|
|
|
46
56
|
export type { GpsPacket };
|
|
@@ -1,15 +1,19 @@
|
|
|
1
1
|
interface GpsSensor extends Record<string, unknown> {
|
|
2
|
-
|
|
3
|
-
v_id: string;
|
|
2
|
+
_id?: string;
|
|
4
3
|
o_id: string;
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
db_i: string;
|
|
5
|
+
db_g: string;
|
|
6
|
+
v_id: string;
|
|
7
|
+
d_id: string;
|
|
7
8
|
fdt: string;
|
|
8
9
|
fdts: number;
|
|
9
10
|
tdt: string;
|
|
10
11
|
tdts: number;
|
|
11
12
|
s: number;
|
|
13
|
+
ts: number;
|
|
12
14
|
me: number;
|
|
15
|
+
dm: number;
|
|
16
|
+
dmc: boolean;
|
|
13
17
|
s_la: number;
|
|
14
18
|
s_lo: number;
|
|
15
19
|
s_gl: string;
|
|
@@ -23,15 +27,18 @@ interface GpsSensor extends Record<string, unknown> {
|
|
|
23
27
|
e_ll: string;
|
|
24
28
|
e_ld: number;
|
|
25
29
|
t: string;
|
|
30
|
+
os: boolean;
|
|
26
31
|
m: boolean;
|
|
27
32
|
i: boolean;
|
|
28
33
|
s_d: boolean;
|
|
29
34
|
s_g: boolean;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
+
si?: number;
|
|
36
|
+
s_f?: string;
|
|
37
|
+
fdt_f?: string;
|
|
38
|
+
tdt_f?: string;
|
|
39
|
+
vn_f?: string;
|
|
40
|
+
vt?: string;
|
|
41
|
+
dr_f?: string;
|
|
35
42
|
}
|
|
36
43
|
|
|
37
44
|
export type { GpsSensor };
|
|
@@ -256,7 +256,6 @@ declare const SingleVehicleReportSchema: z.ZodObject<{
|
|
|
256
256
|
}, "strip", z.ZodTypeAny, {
|
|
257
257
|
db_group: string;
|
|
258
258
|
db_instance: string;
|
|
259
|
-
vehicle_id: string;
|
|
260
259
|
search: string;
|
|
261
260
|
paging: PAGING;
|
|
262
261
|
page_count: number;
|
|
@@ -266,16 +265,17 @@ declare const SingleVehicleReportSchema: z.ZodObject<{
|
|
|
266
265
|
login_from: LoginFrom;
|
|
267
266
|
organisation_id: string;
|
|
268
267
|
interval_seconds: number;
|
|
268
|
+
vehicle_id: string;
|
|
269
269
|
from_date_time: string;
|
|
270
270
|
to_date_time: string;
|
|
271
271
|
}, {
|
|
272
272
|
db_group: string;
|
|
273
273
|
db_instance: string;
|
|
274
|
-
vehicle_id: string;
|
|
275
274
|
date_format_id: string;
|
|
276
275
|
time_zone_id: string;
|
|
277
276
|
login_from: LoginFrom;
|
|
278
277
|
organisation_id: string;
|
|
278
|
+
vehicle_id: string;
|
|
279
279
|
from_date_time: string;
|
|
280
280
|
to_date_time: string;
|
|
281
281
|
search?: string | undefined;
|
|
@@ -301,7 +301,6 @@ declare const VehicleDashboardSummaryQuerySchema: z.ZodObject<{
|
|
|
301
301
|
}, "strip", z.ZodTypeAny, {
|
|
302
302
|
db_group: string;
|
|
303
303
|
db_instance: string;
|
|
304
|
-
vehicle_id: string;
|
|
305
304
|
search: string;
|
|
306
305
|
paging: PAGING;
|
|
307
306
|
page_count: number;
|
|
@@ -310,14 +309,15 @@ declare const VehicleDashboardSummaryQuerySchema: z.ZodObject<{
|
|
|
310
309
|
time_zone_id: string;
|
|
311
310
|
login_from: LoginFrom;
|
|
312
311
|
organisation_id: string;
|
|
312
|
+
vehicle_id: string;
|
|
313
313
|
}, {
|
|
314
314
|
db_group: string;
|
|
315
315
|
db_instance: string;
|
|
316
|
-
vehicle_id: string;
|
|
317
316
|
date_format_id: string;
|
|
318
317
|
time_zone_id: string;
|
|
319
318
|
login_from: LoginFrom;
|
|
320
319
|
organisation_id: string;
|
|
320
|
+
vehicle_id: string;
|
|
321
321
|
search?: string | undefined;
|
|
322
322
|
paging?: PAGING | undefined;
|
|
323
323
|
page_count?: unknown;
|
|
@@ -398,14 +398,14 @@ declare const all_drivers_over_speed_violation_report: (data: MultipleDriverRepo
|
|
|
398
398
|
declare const monthly_over_speed_summary_report: (data: MultipleVehicleReportQueryDTO) => Promise<FBR<OverSpeedViolationMonthly[]>>;
|
|
399
399
|
declare const vehicle_stoppage_track_report: (data: SimpleReportQueryDTO) => Promise<FBR<GpsSensor[]>>;
|
|
400
400
|
declare const ignition_sensor_report: (data: SimpleReportQueryDTO) => Promise<FBR<GpsSensor[]>>;
|
|
401
|
-
declare const door_sensor_report: (data: SimpleReportQueryDTO) => Promise<FBR<GpsSensor[]>>;
|
|
402
401
|
declare const genset_sensor_report: (data: SimpleReportQueryDTO) => Promise<FBR<GpsSensor[]>>;
|
|
402
|
+
declare const door_sensor_report: (data: SimpleReportQueryDTO) => Promise<FBR<GpsSensor[]>>;
|
|
403
|
+
declare const gps_alert_notifications: (data: AlertReportQueryDTO) => Promise<FBR<GpsAlert[]>>;
|
|
403
404
|
declare const vehicle_gps_raw_data_report: (data: SingleVehicleReportQueryDTO) => Promise<FBR<GpsPacket[]>>;
|
|
404
405
|
declare const temperature_report: (data: SingleVehicleReportQueryDTO) => Promise<FBR<GpsPacket[]>>;
|
|
405
406
|
declare const fuel_raw_data_report: (data: SingleVehicleReportQueryDTO) => Promise<FBR<GpsPacket[]>>;
|
|
406
407
|
declare const vehicle_track_history_report: (data: SingleVehicleReportQueryDTO) => Promise<FBR<GpsPacket[]>>;
|
|
407
408
|
declare const all_vehicles_last_24_hours_km_report: (data: MultipleVehicleLast24HoursReportQueryDTO) => Promise<FBR<Last24HoursKmReport[]>>;
|
|
408
409
|
declare const vehicle_dashboard_summary_report: (data: VehicleDashboardSummaryQueryDTO) => Promise<FBR<DashboardSummaryReport[]>>;
|
|
409
|
-
declare const gps_alert_notifications: (data: AlertReportQueryDTO) => Promise<FBR<GpsAlert[]>>;
|
|
410
410
|
|
|
411
411
|
export { type AlertReportQueryDTO, AlertReportSchema, type MultipleDriverReportQueryDTO, MultipleDriverReportSchema, type MultipleVehicleLast24HoursReportQueryDTO, MultipleVehicleLast24HoursReportSchema, type MultipleVehicleReportQueryDTO, MultipleVehicleReportSchema, type SimpleReportQueryDTO, SimpleReportSchema, type SingleVehicleReportQueryDTO, SingleVehicleReportSchema, type VehicleDashboardSummaryQueryDTO, VehicleDashboardSummaryQuerySchema, all_drivers_over_speed_violation_report, all_vehicles_24_hours_analysis_report, all_vehicles_last_24_hours_km_report, all_vehicles_over_speed_violation_report, door_sensor_report, driver_performance_report, find_test_api, find_test_api_2, fuel_raw_data_report, genset_sensor_report, gps_alert_notifications, ignition_sensor_report, monthly_kilometers_summary, monthly_over_speed_summary_report, temperature_report, vehicle_dashboard_summary_report, vehicle_gps_raw_data_report, vehicle_hourly_km_report, vehicle_stoppage_track_report, vehicle_track_history_report };
|