vms-nest-prisma-api-document 6.0.26 → 6.0.50
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 +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 +1 -1
- package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +6 -2
- package/dist/services/gps/features/geofence/gps_geofence_transaction_service.js +1 -1
- package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +6 -1
- package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +11 -34
- package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.js +1 -25
- package/dist/services/gps/features/gps_live_track_share_link_service.d.ts +17 -17
- package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +10 -10
- package/dist/services/gps/reports/gps_models/GpsAnalytics.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_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 +6 -6
- package/dist/services/master/expense/master_vendor_document_type_service.d.ts +3 -3
- 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_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 +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/{user_organisation_service-De28fHzO.d.ts → user_organisation_service-BmevBmkg.d.ts} +4 -3
- package/package.json +1 -1
|
@@ -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, 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-BmevBmkg.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';
|
|
@@ -96,10 +96,10 @@ declare const FleetFuelRemovalFileSchema: z.ZodObject<{
|
|
|
96
96
|
}, "strip", z.ZodTypeAny, {
|
|
97
97
|
status: Status;
|
|
98
98
|
organisation_id: string;
|
|
99
|
+
file_name: string;
|
|
99
100
|
file_type: FileType;
|
|
100
101
|
file_url: string;
|
|
101
102
|
file_key: string;
|
|
102
|
-
file_name: string;
|
|
103
103
|
file_description: string;
|
|
104
104
|
file_size: number;
|
|
105
105
|
file_metadata: Record<string, any>;
|
|
@@ -109,9 +109,9 @@ declare const FleetFuelRemovalFileSchema: z.ZodObject<{
|
|
|
109
109
|
organisation_id: string;
|
|
110
110
|
file_type: FileType;
|
|
111
111
|
fleet_fuel_removal_id: string;
|
|
112
|
+
file_name?: string | undefined;
|
|
112
113
|
file_url?: string | undefined;
|
|
113
114
|
file_key?: string | undefined;
|
|
114
|
-
file_name?: string | undefined;
|
|
115
115
|
file_description?: string | undefined;
|
|
116
116
|
file_size?: unknown;
|
|
117
117
|
file_metadata?: Record<string, any> | undefined;
|
|
@@ -160,10 +160,10 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
160
160
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
161
161
|
status: Status;
|
|
162
162
|
organisation_id: string;
|
|
163
|
+
file_name: string;
|
|
163
164
|
file_type: FileType;
|
|
164
165
|
file_url: string;
|
|
165
166
|
file_key: string;
|
|
166
|
-
file_name: string;
|
|
167
167
|
file_description: string;
|
|
168
168
|
file_size: number;
|
|
169
169
|
file_metadata: Record<string, any>;
|
|
@@ -173,77 +173,77 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
173
173
|
organisation_id: string;
|
|
174
174
|
file_type: FileType;
|
|
175
175
|
fleet_fuel_removal_id: string;
|
|
176
|
+
file_name?: string | undefined;
|
|
176
177
|
file_url?: string | undefined;
|
|
177
178
|
file_key?: string | undefined;
|
|
178
|
-
file_name?: string | undefined;
|
|
179
179
|
file_description?: string | undefined;
|
|
180
180
|
file_size?: unknown;
|
|
181
181
|
file_metadata?: Record<string, any> | undefined;
|
|
182
182
|
}>, "many">>>;
|
|
183
183
|
}, "strip", z.ZodTypeAny, {
|
|
184
|
-
odometer_reading: number;
|
|
185
|
-
date_time: string;
|
|
186
|
-
entry_source: RefillEntrySource;
|
|
187
|
-
source_reference_id: string;
|
|
188
|
-
source_notes: string;
|
|
189
|
-
admin_verify_status: GPSFuelApproveStatus;
|
|
190
|
-
transporter_verify_status: GPSFuelApproveStatus;
|
|
191
|
-
google_location: string;
|
|
192
184
|
status: Status;
|
|
193
185
|
organisation_id: string;
|
|
194
186
|
user_id: string;
|
|
195
187
|
vehicle_id: string;
|
|
196
188
|
driver_id: string;
|
|
197
189
|
device_id: string;
|
|
190
|
+
time_zone_id: string;
|
|
198
191
|
vehicle_fuel_type_id: string;
|
|
199
192
|
vehicle_fuel_unit_id: string;
|
|
200
|
-
|
|
193
|
+
odometer_reading: number;
|
|
194
|
+
google_location: string;
|
|
195
|
+
date_time: string;
|
|
196
|
+
entry_source: RefillEntrySource;
|
|
197
|
+
source_reference_id: string;
|
|
198
|
+
source_notes: string;
|
|
199
|
+
admin_verify_status: GPSFuelApproveStatus;
|
|
200
|
+
transporter_verify_status: GPSFuelApproveStatus;
|
|
201
201
|
fuel_removal_reason_id: string;
|
|
202
202
|
removal_details: string;
|
|
203
203
|
removal_files: {
|
|
204
204
|
status: Status;
|
|
205
205
|
organisation_id: string;
|
|
206
|
+
file_name: string;
|
|
206
207
|
file_type: FileType;
|
|
207
208
|
file_url: string;
|
|
208
209
|
file_key: string;
|
|
209
|
-
file_name: string;
|
|
210
210
|
file_description: string;
|
|
211
211
|
file_size: number;
|
|
212
212
|
file_metadata: Record<string, any>;
|
|
213
213
|
fleet_fuel_removal_id: string;
|
|
214
214
|
}[];
|
|
215
|
-
cost_per_unit?: number | undefined;
|
|
216
|
-
total_cost?: number | undefined;
|
|
217
215
|
latitude?: number | undefined;
|
|
218
216
|
longitude?: number | undefined;
|
|
217
|
+
cost_per_unit?: number | undefined;
|
|
218
|
+
total_cost?: number | undefined;
|
|
219
219
|
before_removal_quantity?: number | undefined;
|
|
220
220
|
after_removal_quantity?: number | undefined;
|
|
221
221
|
removal_quantity?: number | undefined;
|
|
222
222
|
verified_removal_quantity?: number | undefined;
|
|
223
223
|
diff_removal_quantity?: number | undefined;
|
|
224
224
|
}, {
|
|
225
|
-
date_time: string;
|
|
226
|
-
admin_verify_status: GPSFuelApproveStatus;
|
|
227
|
-
transporter_verify_status: GPSFuelApproveStatus;
|
|
228
225
|
status: Status;
|
|
229
226
|
organisation_id: string;
|
|
230
227
|
user_id: string;
|
|
231
228
|
vehicle_id: string;
|
|
232
229
|
driver_id: string;
|
|
233
230
|
device_id: string;
|
|
231
|
+
time_zone_id: string;
|
|
234
232
|
vehicle_fuel_type_id: string;
|
|
235
233
|
vehicle_fuel_unit_id: string;
|
|
236
|
-
|
|
234
|
+
date_time: string;
|
|
235
|
+
admin_verify_status: GPSFuelApproveStatus;
|
|
236
|
+
transporter_verify_status: GPSFuelApproveStatus;
|
|
237
237
|
fuel_removal_reason_id: string;
|
|
238
238
|
odometer_reading?: unknown;
|
|
239
|
+
latitude?: unknown;
|
|
240
|
+
longitude?: unknown;
|
|
241
|
+
google_location?: string | undefined;
|
|
239
242
|
cost_per_unit?: unknown;
|
|
240
243
|
total_cost?: unknown;
|
|
241
244
|
entry_source?: RefillEntrySource | undefined;
|
|
242
245
|
source_reference_id?: string | undefined;
|
|
243
246
|
source_notes?: string | undefined;
|
|
244
|
-
latitude?: unknown;
|
|
245
|
-
longitude?: unknown;
|
|
246
|
-
google_location?: string | undefined;
|
|
247
247
|
before_removal_quantity?: unknown;
|
|
248
248
|
after_removal_quantity?: unknown;
|
|
249
249
|
removal_quantity?: unknown;
|
|
@@ -255,9 +255,9 @@ declare const FleetFuelRemovalSchema: z.ZodObject<{
|
|
|
255
255
|
organisation_id: string;
|
|
256
256
|
file_type: FileType;
|
|
257
257
|
fleet_fuel_removal_id: string;
|
|
258
|
+
file_name?: string | undefined;
|
|
258
259
|
file_url?: string | undefined;
|
|
259
260
|
file_key?: string | undefined;
|
|
260
|
-
file_name?: string | undefined;
|
|
261
261
|
file_description?: string | undefined;
|
|
262
262
|
file_size?: unknown;
|
|
263
263
|
file_metadata?: Record<string, any> | undefined;
|
|
@@ -309,11 +309,7 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
|
|
|
309
309
|
from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
310
310
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
311
311
|
}, "strip", z.ZodTypeAny, {
|
|
312
|
-
entry_source: RefillEntrySource[];
|
|
313
|
-
admin_verify_status: GPSFuelApproveStatus[];
|
|
314
|
-
transporter_verify_status: GPSFuelApproveStatus[];
|
|
315
312
|
status: Status[];
|
|
316
|
-
time_zone_id: string;
|
|
317
313
|
search: string;
|
|
318
314
|
paging: PAGING;
|
|
319
315
|
page_count: number;
|
|
@@ -333,24 +329,25 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
|
|
|
333
329
|
}[];
|
|
334
330
|
include_master_data: YesNo;
|
|
335
331
|
date_format_id: string;
|
|
332
|
+
time_zone_id: string;
|
|
336
333
|
organisation_ids: string[];
|
|
337
334
|
user_ids: string[];
|
|
338
335
|
vehicle_ids: string[];
|
|
339
336
|
driver_ids: string[];
|
|
340
337
|
device_ids: string[];
|
|
341
|
-
vehicle_fuel_type_ids: string[];
|
|
342
|
-
vehicle_fuel_unit_ids: string[];
|
|
343
338
|
from_date: string;
|
|
344
339
|
to_date: string;
|
|
340
|
+
vehicle_fuel_type_ids: string[];
|
|
341
|
+
entry_source: RefillEntrySource[];
|
|
342
|
+
admin_verify_status: GPSFuelApproveStatus[];
|
|
343
|
+
transporter_verify_status: GPSFuelApproveStatus[];
|
|
344
|
+
vehicle_fuel_unit_ids: string[];
|
|
345
345
|
fuel_removal_reason_ids: string[];
|
|
346
346
|
}, {
|
|
347
|
-
time_zone_id: string;
|
|
348
347
|
date_format_id: string;
|
|
348
|
+
time_zone_id: string;
|
|
349
349
|
from_date: string;
|
|
350
350
|
to_date: string;
|
|
351
|
-
entry_source?: RefillEntrySource[] | undefined;
|
|
352
|
-
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
353
|
-
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
354
351
|
status?: Status[] | undefined;
|
|
355
352
|
search?: string | undefined;
|
|
356
353
|
paging?: PAGING | undefined;
|
|
@@ -376,6 +373,9 @@ declare const FleetFuelRemovalQuerySchema: z.ZodObject<{
|
|
|
376
373
|
driver_ids?: string[] | undefined;
|
|
377
374
|
device_ids?: string[] | undefined;
|
|
378
375
|
vehicle_fuel_type_ids?: string[] | undefined;
|
|
376
|
+
entry_source?: RefillEntrySource[] | undefined;
|
|
377
|
+
admin_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
378
|
+
transporter_verify_status?: GPSFuelApproveStatus[] | undefined;
|
|
379
379
|
vehicle_fuel_unit_ids?: string[] | undefined;
|
|
380
380
|
fuel_removal_reason_ids?: string[] | undefined;
|
|
381
381
|
}>;
|
|
@@ -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-BmevBmkg.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 { 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-BmevBmkg.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';
|
|
@@ -17,16 +17,20 @@ interface GPSGeofenceTransaction extends Record<string, unknown> {
|
|
|
17
17
|
UserOrganisation?: UserOrganisation;
|
|
18
18
|
vehicle_id: string;
|
|
19
19
|
MasterVehicle?: MasterVehicle;
|
|
20
|
+
vehicle_number?: string;
|
|
21
|
+
vehicle_type?: string;
|
|
20
22
|
driver_id?: string;
|
|
21
23
|
MasterDriver?: MasterDriver;
|
|
24
|
+
driver_details?: string;
|
|
22
25
|
gps_geofence_id: string;
|
|
23
26
|
GPSGeofenceData?: GPSGeofenceData;
|
|
27
|
+
geofence_details?: string;
|
|
24
28
|
}
|
|
25
29
|
declare const GPSGeofenceTransactionSchema: z.ZodObject<{
|
|
26
30
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
27
31
|
vehicle_id: z.ZodEffects<z.ZodString, string, string>;
|
|
28
|
-
gps_geofence_id: z.ZodEffects<z.ZodString, string, string>;
|
|
29
32
|
driver_id: z.ZodEffects<z.ZodString, string, string>;
|
|
33
|
+
gps_geofence_id: z.ZodEffects<z.ZodString, string, string>;
|
|
30
34
|
geofence_status_type: z.ZodType<GeofenceStatusType, z.ZodTypeDef, GeofenceStatusType>;
|
|
31
35
|
geofence_time: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
32
36
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
@@ -266,8 +266,8 @@ var ENDPOINTS = {
|
|
|
266
266
|
var GPSGeofenceTransactionSchema = z3.object({
|
|
267
267
|
organisation_id: single_select_mandatory("Organisation ID"),
|
|
268
268
|
vehicle_id: single_select_mandatory("Master Vehicle ID"),
|
|
269
|
-
gps_geofence_id: single_select_mandatory("GPS Geofence ID"),
|
|
270
269
|
driver_id: single_select_optional("Driver ID"),
|
|
270
|
+
gps_geofence_id: single_select_mandatory("GPS Geofence ID"),
|
|
271
271
|
geofence_status_type: enumMandatory(
|
|
272
272
|
"Geofence Status Type",
|
|
273
273
|
GeofenceStatusType,
|
|
@@ -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-BmevBmkg.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';
|
|
@@ -19,14 +19,19 @@ interface GPSGeofenceTransactionSummary extends Record<string, unknown> {
|
|
|
19
19
|
UserOrganisation?: UserOrganisation;
|
|
20
20
|
vehicle_id: string;
|
|
21
21
|
MasterVehicle?: MasterVehicle;
|
|
22
|
+
vehicle_number?: string;
|
|
23
|
+
vehicle_type?: string;
|
|
22
24
|
driver_id?: string;
|
|
23
25
|
MasterDriver?: MasterDriver;
|
|
26
|
+
driver_details?: string;
|
|
24
27
|
gps_geofence_id: string;
|
|
25
28
|
GPSGeofenceData?: GPSGeofenceData;
|
|
29
|
+
geofence_details?: string;
|
|
26
30
|
enter_gps_geofence_transaction_id: string;
|
|
27
31
|
EnterGPSGeofenceTransaction?: GPSGeofenceTransaction;
|
|
28
32
|
exit_gps_geofence_transaction_id?: string;
|
|
29
33
|
ExitGPSGeofenceTransaction?: GPSGeofenceTransaction;
|
|
34
|
+
duration_seconds_f?: string;
|
|
30
35
|
}
|
|
31
36
|
declare const GPSGeofenceTransactionSummarySchema: z.ZodObject<{
|
|
32
37
|
organisation_id: z.ZodEffects<z.ZodString, string, 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-BmevBmkg.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';
|
|
@@ -16,14 +16,6 @@ interface TripGeofenceToGeofence extends Record<string, unknown> {
|
|
|
16
16
|
distance_meters?: number;
|
|
17
17
|
max_speed?: number;
|
|
18
18
|
avg_speed?: number;
|
|
19
|
-
start_fuel_liters?: number;
|
|
20
|
-
end_fuel_liters?: number;
|
|
21
|
-
consumed_fuel_liters?: number;
|
|
22
|
-
refill_fuel_liters?: number;
|
|
23
|
-
removal_fuel_liters?: number;
|
|
24
|
-
refills_count?: number;
|
|
25
|
-
removals_count?: number;
|
|
26
|
-
mileage?: number;
|
|
27
19
|
status: Status;
|
|
28
20
|
added_date_time: string;
|
|
29
21
|
modified_date_time: string;
|
|
@@ -31,19 +23,28 @@ interface TripGeofenceToGeofence extends Record<string, unknown> {
|
|
|
31
23
|
UserOrganisation?: UserOrganisation;
|
|
32
24
|
vehicle_id: string;
|
|
33
25
|
MasterVehicle?: MasterVehicle;
|
|
26
|
+
vehicle_number?: string;
|
|
27
|
+
vehicle_type?: string;
|
|
34
28
|
driver_id?: string;
|
|
35
29
|
MasterDriver?: MasterDriver;
|
|
30
|
+
driver_details?: string;
|
|
36
31
|
from_geofence_id: string;
|
|
37
32
|
FromGeofence?: GPSGeofenceData;
|
|
33
|
+
from_geofence_details?: string;
|
|
38
34
|
to_geofence_id: string;
|
|
39
35
|
ToGeofence?: GPSGeofenceData;
|
|
36
|
+
to_geofence_details?: string;
|
|
37
|
+
duration_seconds_f?: string;
|
|
38
|
+
travel_duration_seconds_f?: string;
|
|
39
|
+
stopped_duration_seconds_f?: string;
|
|
40
|
+
distance_km_f?: string;
|
|
40
41
|
}
|
|
41
42
|
declare const TripGeofenceToGeofenceSchema: z.ZodObject<{
|
|
42
43
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
43
44
|
vehicle_id: z.ZodEffects<z.ZodString, string, string>;
|
|
45
|
+
driver_id: z.ZodEffects<z.ZodString, string, string>;
|
|
44
46
|
from_geofence_id: z.ZodEffects<z.ZodString, string, string>;
|
|
45
47
|
to_geofence_id: z.ZodEffects<z.ZodString, string, string>;
|
|
46
|
-
driver_id: z.ZodEffects<z.ZodString, string, string>;
|
|
47
48
|
from_geofence_exit_date_time: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
48
49
|
to_geofence_enter_date_time: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
49
50
|
duration_seconds: z.ZodEffects<z.ZodNumber, number, unknown>;
|
|
@@ -52,14 +53,6 @@ declare const TripGeofenceToGeofenceSchema: z.ZodObject<{
|
|
|
52
53
|
distance_meters: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
53
54
|
max_speed: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
54
55
|
avg_speed: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
55
|
-
start_fuel_liters: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
56
|
-
end_fuel_liters: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
57
|
-
consumed_fuel_liters: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
58
|
-
refill_fuel_liters: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
59
|
-
removal_fuel_liters: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
60
|
-
refills_count: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
61
|
-
removals_count: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
62
|
-
mileage: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
63
56
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
64
57
|
}, "strip", z.ZodTypeAny, {
|
|
65
58
|
status: Status;
|
|
@@ -73,17 +66,9 @@ declare const TripGeofenceToGeofenceSchema: z.ZodObject<{
|
|
|
73
66
|
stopped_duration_seconds: number;
|
|
74
67
|
max_speed: number;
|
|
75
68
|
avg_speed: number;
|
|
76
|
-
refills_count: number;
|
|
77
|
-
removals_count: number;
|
|
78
69
|
from_geofence_id: string;
|
|
79
70
|
to_geofence_id: string;
|
|
80
71
|
distance_meters?: number | undefined;
|
|
81
|
-
start_fuel_liters?: number | undefined;
|
|
82
|
-
end_fuel_liters?: number | undefined;
|
|
83
|
-
consumed_fuel_liters?: number | undefined;
|
|
84
|
-
refill_fuel_liters?: number | undefined;
|
|
85
|
-
removal_fuel_liters?: number | undefined;
|
|
86
|
-
mileage?: number | undefined;
|
|
87
72
|
}, {
|
|
88
73
|
status: Status;
|
|
89
74
|
organisation_id: string;
|
|
@@ -99,14 +84,6 @@ declare const TripGeofenceToGeofenceSchema: z.ZodObject<{
|
|
|
99
84
|
distance_meters?: unknown;
|
|
100
85
|
max_speed?: unknown;
|
|
101
86
|
avg_speed?: unknown;
|
|
102
|
-
start_fuel_liters?: unknown;
|
|
103
|
-
end_fuel_liters?: unknown;
|
|
104
|
-
consumed_fuel_liters?: unknown;
|
|
105
|
-
refill_fuel_liters?: unknown;
|
|
106
|
-
removal_fuel_liters?: unknown;
|
|
107
|
-
refills_count?: unknown;
|
|
108
|
-
removals_count?: unknown;
|
|
109
|
-
mileage?: unknown;
|
|
110
87
|
}>;
|
|
111
88
|
type TripGeofenceToGeofenceDTO = z.infer<typeof TripGeofenceToGeofenceSchema>;
|
|
112
89
|
declare const TripGeofenceToGeofenceQuerySchema: z.ZodObject<{
|
|
@@ -289,9 +289,9 @@ var ENDPOINTS = {
|
|
|
289
289
|
var TripGeofenceToGeofenceSchema = z3.object({
|
|
290
290
|
organisation_id: single_select_mandatory("Organisation ID"),
|
|
291
291
|
vehicle_id: single_select_mandatory("Master Vehicle ID"),
|
|
292
|
+
driver_id: single_select_optional("Driver ID"),
|
|
292
293
|
from_geofence_id: single_select_mandatory("From Geofence ID"),
|
|
293
294
|
to_geofence_id: single_select_mandatory("To Geofence ID"),
|
|
294
|
-
driver_id: single_select_optional("Driver ID"),
|
|
295
295
|
from_geofence_exit_date_time: dateMandatory("From Geofence Exit Date Time"),
|
|
296
296
|
to_geofence_enter_date_time: dateMandatory("To Geofence Enter Date Time"),
|
|
297
297
|
duration_seconds: numberMandatory("Duration Seconds"),
|
|
@@ -301,14 +301,6 @@ var TripGeofenceToGeofenceSchema = z3.object({
|
|
|
301
301
|
distance_meters: doubleOptional("Distance KM"),
|
|
302
302
|
max_speed: numberOptional("Max Speed"),
|
|
303
303
|
avg_speed: numberOptional("Avg Speed"),
|
|
304
|
-
start_fuel_liters: doubleOptional("Start Fuel Liters"),
|
|
305
|
-
end_fuel_liters: doubleOptional("End Fuel Liters"),
|
|
306
|
-
consumed_fuel_liters: doubleOptional("Consumed Fuel Liters"),
|
|
307
|
-
refill_fuel_liters: doubleOptional("Refill Fuel Liters"),
|
|
308
|
-
removal_fuel_liters: doubleOptional("Removals Fuel Liters"),
|
|
309
|
-
refills_count: numberOptional("Refills Count"),
|
|
310
|
-
removals_count: numberOptional("Removals Count"),
|
|
311
|
-
mileage: doubleOptional("Mileage"),
|
|
312
304
|
status: enumMandatory("Status", Status, "Active" /* Active */)
|
|
313
305
|
});
|
|
314
306
|
var TripGeofenceToGeofenceQuerySchema = BaseQuerySchema.extend({
|
|
@@ -339,14 +331,6 @@ var toTripGeofenceToGeofencePayload = (data) => ({
|
|
|
339
331
|
distance_meters: data.distance_meters,
|
|
340
332
|
max_speed: data.max_speed || 0,
|
|
341
333
|
avg_speed: data.avg_speed || 0,
|
|
342
|
-
start_fuel_liters: data.start_fuel_liters,
|
|
343
|
-
end_fuel_liters: data.end_fuel_liters,
|
|
344
|
-
consumed_fuel_liters: data.consumed_fuel_liters,
|
|
345
|
-
refill_fuel_liters: data.refill_fuel_liters,
|
|
346
|
-
removal_fuel_liters: data.removal_fuel_liters,
|
|
347
|
-
refills_count: data.refills_count || 0,
|
|
348
|
-
removals_count: data.removals_count || 0,
|
|
349
|
-
mileage: data.mileage,
|
|
350
334
|
status: data.status
|
|
351
335
|
});
|
|
352
336
|
var newTripGeofenceToGeofencePayload = () => ({
|
|
@@ -363,14 +347,6 @@ var newTripGeofenceToGeofencePayload = () => ({
|
|
|
363
347
|
distance_meters: 0,
|
|
364
348
|
max_speed: 0,
|
|
365
349
|
avg_speed: 0,
|
|
366
|
-
start_fuel_liters: 0,
|
|
367
|
-
end_fuel_liters: 0,
|
|
368
|
-
consumed_fuel_liters: 0,
|
|
369
|
-
refill_fuel_liters: 0,
|
|
370
|
-
removal_fuel_liters: 0,
|
|
371
|
-
refills_count: 0,
|
|
372
|
-
removals_count: 0,
|
|
373
|
-
mileage: 0,
|
|
374
350
|
status: "Active" /* Active */
|
|
375
351
|
});
|
|
376
352
|
var findTripGeofenceToGeofence = async (data) => {
|
|
@@ -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-BmevBmkg.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -42,17 +42,17 @@ declare const GPSLiveTrackShareLinkNotificationsSchema: z.ZodObject<{
|
|
|
42
42
|
to_recipients: z.ZodEffects<z.ZodString, string, string>;
|
|
43
43
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
44
44
|
}, "strip", z.ZodTypeAny, {
|
|
45
|
+
gps_live_track_share_link_id: string;
|
|
45
46
|
status: Status;
|
|
46
47
|
organisation_id: string;
|
|
47
48
|
type: NotificationType;
|
|
48
49
|
to_recipients: string;
|
|
49
|
-
gps_live_track_share_link_id: string;
|
|
50
50
|
}, {
|
|
51
|
+
gps_live_track_share_link_id: string;
|
|
51
52
|
status: Status;
|
|
52
53
|
organisation_id: string;
|
|
53
54
|
type: NotificationType;
|
|
54
55
|
to_recipients: string;
|
|
55
|
-
gps_live_track_share_link_id: string;
|
|
56
56
|
}>;
|
|
57
57
|
type GPSLiveTrackShareLinkNotificationsDTO = z.infer<typeof GPSLiveTrackShareLinkNotificationsSchema>;
|
|
58
58
|
declare const GPSLiveTrackShareLinkSchema: z.ZodObject<{
|
|
@@ -73,54 +73,54 @@ declare const GPSLiveTrackShareLinkSchema: z.ZodObject<{
|
|
|
73
73
|
to_recipients: z.ZodEffects<z.ZodString, string, string>;
|
|
74
74
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
75
75
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
76
|
+
gps_live_track_share_link_id: string;
|
|
76
77
|
status: Status;
|
|
77
78
|
organisation_id: string;
|
|
78
79
|
type: NotificationType;
|
|
79
80
|
to_recipients: string;
|
|
80
|
-
gps_live_track_share_link_id: string;
|
|
81
81
|
}, {
|
|
82
|
+
gps_live_track_share_link_id: string;
|
|
82
83
|
status: Status;
|
|
83
84
|
organisation_id: string;
|
|
84
85
|
type: NotificationType;
|
|
85
86
|
to_recipients: string;
|
|
86
|
-
gps_live_track_share_link_id: string;
|
|
87
87
|
}>, "many">>>;
|
|
88
88
|
}, "strip", z.ZodTypeAny, {
|
|
89
|
+
link_type: LinkType;
|
|
90
|
+
location: string;
|
|
89
91
|
link_status: LinkStatus;
|
|
90
92
|
status: Status;
|
|
91
93
|
organisation_id: string;
|
|
92
94
|
vehicle_id: string;
|
|
93
95
|
trip_id: string;
|
|
96
|
+
expire_milliseconds: number;
|
|
94
97
|
notifications: {
|
|
98
|
+
gps_live_track_share_link_id: string;
|
|
95
99
|
status: Status;
|
|
96
100
|
organisation_id: string;
|
|
97
101
|
type: NotificationType;
|
|
98
102
|
to_recipients: string;
|
|
99
|
-
gps_live_track_share_link_id: string;
|
|
100
103
|
}[];
|
|
101
|
-
link_type: LinkType;
|
|
102
|
-
location: string;
|
|
103
|
-
expire_milliseconds: number;
|
|
104
104
|
latitude?: number | undefined;
|
|
105
105
|
longitude?: number | undefined;
|
|
106
106
|
}, {
|
|
107
|
+
link_type: LinkType;
|
|
107
108
|
link_status: LinkStatus;
|
|
108
109
|
status: Status;
|
|
109
110
|
organisation_id: string;
|
|
110
111
|
vehicle_id: string;
|
|
111
112
|
trip_id: string;
|
|
112
|
-
|
|
113
|
+
latitude?: unknown;
|
|
114
|
+
longitude?: unknown;
|
|
115
|
+
location?: string | undefined;
|
|
116
|
+
expire_milliseconds?: unknown;
|
|
113
117
|
notifications?: {
|
|
118
|
+
gps_live_track_share_link_id: string;
|
|
114
119
|
status: Status;
|
|
115
120
|
organisation_id: string;
|
|
116
121
|
type: NotificationType;
|
|
117
122
|
to_recipients: string;
|
|
118
|
-
gps_live_track_share_link_id: string;
|
|
119
123
|
}[] | undefined;
|
|
120
|
-
latitude?: unknown;
|
|
121
|
-
longitude?: unknown;
|
|
122
|
-
location?: string | undefined;
|
|
123
|
-
expire_milliseconds?: unknown;
|
|
124
124
|
}>;
|
|
125
125
|
type GPSLiveTrackShareLinkDTO = z.infer<typeof GPSLiveTrackShareLinkSchema>;
|
|
126
126
|
declare const GPSLiveTrackShareLinkTimeSchema: z.ZodObject<{
|
|
@@ -176,6 +176,7 @@ declare const GPSLiveTrackShareLinkQuerySchema: z.ZodObject<{
|
|
|
176
176
|
link_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof LinkType>, "many">>>;
|
|
177
177
|
link_status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof LinkStatus>, "many">>>;
|
|
178
178
|
}, "strip", z.ZodTypeAny, {
|
|
179
|
+
link_type: LinkType[];
|
|
179
180
|
link_status: LinkStatus[];
|
|
180
181
|
status: Status[];
|
|
181
182
|
search: string;
|
|
@@ -201,10 +202,10 @@ declare const GPSLiveTrackShareLinkQuerySchema: z.ZodObject<{
|
|
|
201
202
|
organisation_ids: string[];
|
|
202
203
|
vehicle_ids: string[];
|
|
203
204
|
trip_ids: string[];
|
|
204
|
-
link_type: LinkType[];
|
|
205
205
|
}, {
|
|
206
206
|
date_format_id: string;
|
|
207
207
|
time_zone_id: string;
|
|
208
|
+
link_type?: LinkType[] | undefined;
|
|
208
209
|
link_status?: LinkStatus[] | undefined;
|
|
209
210
|
status?: Status[] | undefined;
|
|
210
211
|
search?: string | undefined;
|
|
@@ -228,7 +229,6 @@ declare const GPSLiveTrackShareLinkQuerySchema: z.ZodObject<{
|
|
|
228
229
|
organisation_ids?: string[] | undefined;
|
|
229
230
|
vehicle_ids?: string[] | undefined;
|
|
230
231
|
trip_ids?: string[] | undefined;
|
|
231
|
-
link_type?: LinkType[] | undefined;
|
|
232
232
|
}>;
|
|
233
233
|
type GPSLiveTrackShareLinkQueryDTO = z.infer<typeof GPSLiveTrackShareLinkQuerySchema>;
|
|
234
234
|
declare const toGPSLiveTrackShareLinkPayload: (data: GPSLiveTrackShareLink) => GPSLiveTrackShareLinkDTO;
|
|
@@ -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-BmevBmkg.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -40,17 +40,17 @@ declare const GPSTrackHistoryShareLinkNotificationsSchema: z.ZodObject<{
|
|
|
40
40
|
to_recipients: z.ZodEffects<z.ZodString, string, string>;
|
|
41
41
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
42
42
|
}, "strip", z.ZodTypeAny, {
|
|
43
|
-
gps_track_history_share_link_id: string;
|
|
44
43
|
status: Status;
|
|
45
44
|
organisation_id: string;
|
|
46
45
|
type: NotificationType;
|
|
47
46
|
to_recipients: string;
|
|
48
|
-
}, {
|
|
49
47
|
gps_track_history_share_link_id: string;
|
|
48
|
+
}, {
|
|
50
49
|
status: Status;
|
|
51
50
|
organisation_id: string;
|
|
52
51
|
type: NotificationType;
|
|
53
52
|
to_recipients: string;
|
|
53
|
+
gps_track_history_share_link_id: string;
|
|
54
54
|
}>;
|
|
55
55
|
type GPSTrackHistoryShareLinkNotificationsDTO = z.infer<typeof GPSTrackHistoryShareLinkNotificationsSchema>;
|
|
56
56
|
declare const GPSTrackHistoryShareLinkSchema: z.ZodObject<{
|
|
@@ -68,47 +68,47 @@ declare const GPSTrackHistoryShareLinkSchema: z.ZodObject<{
|
|
|
68
68
|
to_recipients: z.ZodEffects<z.ZodString, string, string>;
|
|
69
69
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
70
70
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
71
|
-
gps_track_history_share_link_id: string;
|
|
72
71
|
status: Status;
|
|
73
72
|
organisation_id: string;
|
|
74
73
|
type: NotificationType;
|
|
75
74
|
to_recipients: string;
|
|
76
|
-
}, {
|
|
77
75
|
gps_track_history_share_link_id: string;
|
|
76
|
+
}, {
|
|
78
77
|
status: Status;
|
|
79
78
|
organisation_id: string;
|
|
80
79
|
type: NotificationType;
|
|
81
80
|
to_recipients: string;
|
|
81
|
+
gps_track_history_share_link_id: string;
|
|
82
82
|
}>, "many">>>;
|
|
83
83
|
}, "strip", z.ZodTypeAny, {
|
|
84
|
-
from_date_time: string;
|
|
85
|
-
to_date_time: string;
|
|
86
84
|
link_status: TrackHistoryLinkStatus;
|
|
87
85
|
status: Status;
|
|
88
86
|
organisation_id: string;
|
|
89
87
|
vehicle_id: string;
|
|
90
88
|
trip_id: string;
|
|
91
89
|
notifications: {
|
|
92
|
-
gps_track_history_share_link_id: string;
|
|
93
90
|
status: Status;
|
|
94
91
|
organisation_id: string;
|
|
95
92
|
type: NotificationType;
|
|
96
93
|
to_recipients: string;
|
|
94
|
+
gps_track_history_share_link_id: string;
|
|
97
95
|
}[];
|
|
98
|
-
}, {
|
|
99
96
|
from_date_time: string;
|
|
100
97
|
to_date_time: string;
|
|
98
|
+
}, {
|
|
101
99
|
link_status: TrackHistoryLinkStatus;
|
|
102
100
|
status: Status;
|
|
103
101
|
organisation_id: string;
|
|
104
102
|
vehicle_id: string;
|
|
105
103
|
trip_id: string;
|
|
104
|
+
from_date_time: string;
|
|
105
|
+
to_date_time: string;
|
|
106
106
|
notifications?: {
|
|
107
|
-
gps_track_history_share_link_id: string;
|
|
108
107
|
status: Status;
|
|
109
108
|
organisation_id: string;
|
|
110
109
|
type: NotificationType;
|
|
111
110
|
to_recipients: string;
|
|
111
|
+
gps_track_history_share_link_id: string;
|
|
112
112
|
}[] | undefined;
|
|
113
113
|
}>;
|
|
114
114
|
type GPSTrackHistoryShareLinkDTO = z.infer<typeof GPSTrackHistoryShareLinkSchema>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
interface GpsAnalytics extends Record<string, unknown> {
|
|
2
|
-
si: number;
|
|
3
2
|
org_id: string;
|
|
4
3
|
v_id: string;
|
|
5
4
|
d_id: string;
|
|
@@ -16,6 +15,7 @@ interface GpsAnalytics extends Record<string, unknown> {
|
|
|
16
15
|
analytics_full: AnalyticsFull;
|
|
17
16
|
hourly_analysis: HourlyAnalysis[];
|
|
18
17
|
night_driving: NightDriving;
|
|
18
|
+
si: number;
|
|
19
19
|
date_f: string;
|
|
20
20
|
vn_f: string;
|
|
21
21
|
vt: string;
|
|
@@ -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 { c2 as AssignRemoveDeviceHistory, c8 as DeviceSimLinkDTO, c7 as DeviceSimLinkSchema, c as MasterDevice, c4 as MasterDeviceDTO, c6 as MasterDeviceQueryDTO, c5 as MasterDeviceQuerySchema, c3 as MasterDeviceSchema, cc as createMasterDevice, ce as deleteMasterDevice, cf as device_sim_link, cg as device_sim_unlink, cb as findMasterDevices, ci as get_device_sim_link_history_by_device, ch as get_device_sim_link_history_by_sim, ca as newMasterDevicePayload, c9 as toMasterDevicePayload, cd as updateMasterDevice } from '../../../user_organisation_service-
|
|
5
|
+
export { c2 as AssignRemoveDeviceHistory, c8 as DeviceSimLinkDTO, c7 as DeviceSimLinkSchema, c as MasterDevice, c4 as MasterDeviceDTO, c6 as MasterDeviceQueryDTO, c5 as MasterDeviceQuerySchema, c3 as MasterDeviceSchema, cc as createMasterDevice, ce as deleteMasterDevice, cf as device_sim_link, cg as device_sim_unlink, cb as findMasterDevices, ci as get_device_sim_link_history_by_device, ch as get_device_sim_link_history_by_sim, ca as newMasterDevicePayload, c9 as toMasterDevicePayload, cd as updateMasterDevice } from '../../../user_organisation_service-BmevBmkg.js';
|
|
6
6
|
import '../../master/main/master_main_sim_provider_service.js';
|