vms-nest-prisma-api-document 6.0.23 → 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.
Files changed (79) hide show
  1. package/dist/services/account/bookmark_service.d.ts +3 -3
  2. package/dist/services/account/ticket_service.d.ts +19 -19
  3. package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.d.ts +17 -17
  4. package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.d.ts +50 -50
  5. package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +35 -35
  6. package/dist/services/gps/features/geofence/gps_geofence_data_service.d.ts +13 -13
  7. package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +5 -5
  8. package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +8 -8
  9. package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +11 -11
  10. package/dist/services/gps/features/gps_live_track_share_link_service.d.ts +17 -17
  11. package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +10 -10
  12. package/dist/services/gps/reports/gps_models/GpsAlert.d.ts +9 -7
  13. package/dist/services/gps/reports/gps_models/GpsPacket.d.ts +22 -12
  14. package/dist/services/gps/reports/gps_models/GpsSensor.d.ts +16 -9
  15. package/dist/services/gps/reports/gps_reports_mongo_service.d.ts +6 -6
  16. package/dist/services/gps/reports/gps_reports_mongo_service.js +10 -10
  17. package/dist/services/main/devices/master_device_service.d.ts +1 -1
  18. package/dist/services/main/drivers/master_driver_service.d.ts +1 -1
  19. package/dist/services/main/sims/master_sim_service.d.ts +1 -1
  20. package/dist/services/main/users/auth_service.d.ts +1 -1
  21. package/dist/services/main/users/user_admin_service.d.ts +2 -2
  22. package/dist/services/main/users/user_organisation_service.d.ts +1 -1
  23. package/dist/services/main/users/user_service.d.ts +1 -1
  24. package/dist/services/main/vehicle/childs/vehicle_odometer_history.d.ts +1 -1
  25. package/dist/services/main/vehicle/master_vehicle_service.d.ts +1 -1
  26. package/dist/services/master/device/master_device_manufacturer_service.d.ts +1 -1
  27. package/dist/services/master/device/master_device_model_service.d.ts +1 -1
  28. package/dist/services/master/device/master_device_type_service.d.ts +1 -1
  29. package/dist/services/master/expense/master_expense_name_service.d.ts +1 -1
  30. package/dist/services/master/expense/master_expense_type_service.d.ts +1 -1
  31. package/dist/services/master/expense/master_fuel_company_service.d.ts +1 -1
  32. package/dist/services/master/expense/master_vendor_document_type_service.d.ts +1 -1
  33. package/dist/services/master/expense/master_vendor_type_service.d.ts +1 -1
  34. package/dist/services/master/fleet/master_fleet_incident_severity_service.d.ts +1 -1
  35. package/dist/services/master/fleet/master_fleet_incident_status_service.d.ts +1 -1
  36. package/dist/services/master/fleet/master_fleet_incident_type_service.d.ts +1 -1
  37. package/dist/services/master/fleet/master_fleet_insurance_claim_status_service.d.ts +1 -1
  38. package/dist/services/master/fleet/master_fleet_service_task_service.d.ts +1 -1
  39. package/dist/services/master/main/master_main_country_service.d.ts +1 -1
  40. package/dist/services/master/main/master_main_currency_service.d.ts +1 -1
  41. package/dist/services/master/main/master_main_date_format_service.d.ts +1 -1
  42. package/dist/services/master/main/master_main_industry_service.d.ts +1 -1
  43. package/dist/services/master/main/master_main_landmark_service.d.ts +1 -1
  44. package/dist/services/master/main/master_main_language_service.d.ts +1 -1
  45. package/dist/services/master/main/master_main_sim_provider_service.d.ts +2 -2
  46. package/dist/services/master/main/master_main_state_service.d.ts +1 -1
  47. package/dist/services/master/main/master_main_timezone_service.d.ts +1 -1
  48. package/dist/services/master/main/master_main_unit_distance_service.d.ts +1 -1
  49. package/dist/services/master/main/master_main_unit_mileage_service.d.ts +1 -1
  50. package/dist/services/master/main/master_main_unit_volume_service.d.ts +1 -1
  51. package/dist/services/master/organisation/organisation_branch_service.d.ts +1 -1
  52. package/dist/services/master/organisation/organisation_color_service.d.ts +1 -1
  53. package/dist/services/master/organisation/organisation_group_service.d.ts +1 -1
  54. package/dist/services/master/organisation/organisation_sub_company_service.d.ts +1 -1
  55. package/dist/services/master/organisation/organisation_tag_service.d.ts +1 -1
  56. package/dist/services/master/spare_part/master_spare_part_category_service.d.ts +1 -1
  57. package/dist/services/master/spare_part/master_spare_part_sub_category_service.d.ts +1 -1
  58. package/dist/services/master/spare_part/master_spare_part_unit_service.d.ts +1 -1
  59. package/dist/services/master/trip/master_trip_party_type_service.d.ts +1 -1
  60. package/dist/services/master/tyre/master_tyre_grade_service.d.ts +1 -1
  61. package/dist/services/master/tyre/master_tyre_make_service.d.ts +1 -1
  62. package/dist/services/master/tyre/master_tyre_model_service.d.ts +1 -1
  63. package/dist/services/master/user/master_user_role_service.d.ts +1 -1
  64. package/dist/services/master/user/master_user_status_service.d.ts +1 -1
  65. package/dist/services/master/vehicle/master_vehicle_associated_to_service.d.ts +1 -1
  66. package/dist/services/master/vehicle/master_vehicle_document_type_service.d.ts +1 -1
  67. package/dist/services/master/vehicle/master_vehicle_fuel_removal_reason_service.d.ts +3 -3
  68. package/dist/services/master/vehicle/master_vehicle_fuel_type_service.d.ts +1 -1
  69. package/dist/services/master/vehicle/master_vehicle_fuel_unit_service.d.ts +4 -4
  70. package/dist/services/master/vehicle/master_vehicle_make_service.d.ts +1 -1
  71. package/dist/services/master/vehicle/master_vehicle_model_service.d.ts +1 -1
  72. package/dist/services/master/vehicle/master_vehicle_ownership_type_service.d.ts +1 -1
  73. package/dist/services/master/vehicle/master_vehicle_status_type_service.d.ts +1 -1
  74. package/dist/services/master/vehicle/master_vehicle_sub_model_service.d.ts +1 -1
  75. package/dist/services/master/vehicle/master_vehicle_type_service.d.ts +1 -1
  76. package/package.json +1 -1
  77. package/dist/services/account/notification_service.d.ts +0 -232
  78. package/dist/services/account/notification_service.js +0 -529
  79. package/dist/{user_organisation_service-CukiDGua.d.ts → user_organisation_service-DS5AX39n.d.ts} +122 -122
@@ -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-CukiDGua.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-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
- date_time: string;
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
- date_time: string;
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-CukiDGua.js';
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,8 +125,9 @@ 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
- time_zone_id: string;
130
131
  search: string;
131
132
  paging: PAGING;
132
133
  page_count: number;
@@ -146,12 +147,13 @@ declare const GPSGeofenceDataQuerySchema: z.ZodObject<{
146
147
  }[];
147
148
  include_master_data: YesNo;
148
149
  date_format_id: string;
150
+ time_zone_id: string;
149
151
  organisation_ids: string[];
150
- geofence_type: GeofenceType[];
151
- geofence_purpose_type: GeofencePurposeType[];
152
152
  }, {
153
- time_zone_id: string;
154
153
  date_format_id: string;
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-CukiDGua.js';
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,19 +31,19 @@ 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
+ gps_geofence_id: string;
34
35
  status: Status;
35
36
  organisation_id: string;
36
- vehicle_id: string;
37
37
  driver_id: string;
38
- gps_geofence_id: string;
38
+ vehicle_id: string;
39
39
  geofence_status_type: GeofenceStatusType;
40
40
  geofence_time: string;
41
41
  }, {
42
+ gps_geofence_id: string;
42
43
  status: Status;
43
44
  organisation_id: string;
44
- vehicle_id: string;
45
45
  driver_id: string;
46
- gps_geofence_id: string;
46
+ vehicle_id: string;
47
47
  geofence_status_type: GeofenceStatusType;
48
48
  geofence_time: string;
49
49
  }>;
@@ -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-CukiDGua.js';
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,27 +40,27 @@ 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
- duration_seconds: number;
43
+ gps_geofence_id: string;
44
44
  status: Status;
45
45
  organisation_id: string;
46
- vehicle_id: string;
47
46
  driver_id: string;
48
- gps_geofence_id: string;
47
+ vehicle_id: string;
49
48
  geofence_enter_date_time: string;
50
49
  geofence_exit_date_time: string;
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
- gps_geofence_id: string;
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;
62
- duration_seconds?: unknown;
63
62
  geofence_exit_date_time?: string | undefined;
63
+ duration_seconds?: unknown;
64
64
  }>;
65
65
  type GPSGeofenceTransactionSummaryDTO = z.infer<typeof GPSGeofenceTransactionSummarySchema>;
66
66
  declare const GPSGeofenceTransactionSummaryQuerySchema: z.ZodObject<{
@@ -125,9 +125,9 @@ declare const GPSGeofenceTransactionSummaryQuerySchema: z.ZodObject<{
125
125
  organisation_ids: string[];
126
126
  vehicle_ids: string[];
127
127
  driver_ids: string[];
128
+ gps_geofence_ids: string[];
128
129
  from_date: string;
129
130
  to_date: string;
130
- gps_geofence_ids: string[];
131
131
  }, {
132
132
  date_format_id: string;
133
133
  time_zone_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-CukiDGua.js';
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';
@@ -62,19 +62,19 @@ declare const TripGeofenceToGeofenceSchema: z.ZodObject<{
62
62
  mileage: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
63
63
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
64
64
  }, "strip", z.ZodTypeAny, {
65
+ status: Status;
66
+ organisation_id: string;
67
+ driver_id: string;
68
+ vehicle_id: string;
69
+ duration_seconds: number;
65
70
  from_geofence_exit_date_time: string;
66
71
  to_geofence_enter_date_time: string;
67
- duration_seconds: number;
68
72
  travel_duration_seconds: number;
69
73
  stopped_duration_seconds: number;
70
74
  max_speed: number;
71
75
  avg_speed: number;
72
76
  refills_count: number;
73
77
  removals_count: number;
74
- status: Status;
75
- organisation_id: string;
76
- vehicle_id: string;
77
- driver_id: string;
78
78
  from_geofence_id: string;
79
79
  to_geofence_id: string;
80
80
  distance_meters?: number | undefined;
@@ -85,12 +85,12 @@ declare const TripGeofenceToGeofenceSchema: z.ZodObject<{
85
85
  removal_fuel_liters?: number | undefined;
86
86
  mileage?: number | undefined;
87
87
  }, {
88
- from_geofence_exit_date_time: string;
89
- to_geofence_enter_date_time: string;
90
88
  status: Status;
91
89
  organisation_id: string;
92
- vehicle_id: string;
93
90
  driver_id: string;
91
+ vehicle_id: string;
92
+ from_geofence_exit_date_time: string;
93
+ to_geofence_enter_date_time: string;
94
94
  from_geofence_id: string;
95
95
  to_geofence_id: string;
96
96
  duration_seconds?: unknown;
@@ -172,10 +172,10 @@ declare const TripGeofenceToGeofenceQuerySchema: z.ZodObject<{
172
172
  organisation_ids: string[];
173
173
  vehicle_ids: string[];
174
174
  driver_ids: string[];
175
- from_geofence_ids: string[];
176
- to_geofence_ids: string[];
177
175
  from_date: string;
178
176
  to_date: string;
177
+ from_geofence_ids: string[];
178
+ to_geofence_ids: string[];
179
179
  }, {
180
180
  date_format_id: string;
181
181
  time_zone_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-CukiDGua.js';
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
 
@@ -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
- link_type: LinkType;
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-CukiDGua.js';
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
 
@@ -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,24 +1,18 @@
1
1
  import { Module, AlertType, AlertSubType } from '../../../../core/Enums.js';
2
2
 
3
3
  interface GpsAlert extends Record<string, unknown> {
4
+ _id?: string;
4
5
  o_id: string;
5
6
  db_i: string;
6
7
  db_g: string;
7
8
  u_id: string;
8
- u_f?: string;
9
9
  v_id: string;
10
- vn_f?: string;
11
- vt?: string;
12
10
  d_id: string;
13
- dr_f?: string;
14
11
  g_id: string;
15
- ge_n?: string;
16
- ge_t?: string;
17
12
  module: Module;
18
13
  alert_type: AlertType;
19
14
  alert_sub_type: AlertSubType;
20
15
  dt: string;
21
- dt_f?: string;
22
16
  dts: number;
23
17
  la: number;
24
18
  lo: number;
@@ -34,6 +28,14 @@ interface GpsAlert extends Record<string, unknown> {
34
28
  key_4?: string;
35
29
  key_5?: string;
36
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;
37
39
  }
38
40
 
39
41
  export type { GpsAlert };