vms-nest-prisma-api-document 6.0.51 → 7.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. package/dist/services/account/analytics/user_login_analytics_service.d.ts +3 -3
  2. package/dist/services/account/analytics/user_page_analytics_service.d.ts +1 -1
  3. package/dist/services/account/bookmark_service.d.ts +9 -9
  4. package/dist/services/account/ticket_service.d.ts +17 -17
  5. package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.d.ts +17 -17
  6. package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.d.ts +50 -50
  7. package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +35 -35
  8. package/dist/services/gps/features/geofence/{gps_geofence_data_service.d.ts → gps_geofence_service.d.ts} +46 -39
  9. package/dist/services/gps/features/geofence/{gps_geofence_data_service.js → gps_geofence_service.js} +44 -39
  10. package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +22 -13
  11. package/dist/services/gps/features/geofence/gps_geofence_transaction_service.js +17 -12
  12. package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +18 -15
  13. package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.js +13 -10
  14. package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +11 -9
  15. package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.js +11 -8
  16. package/dist/services/gps/features/gps_live_track_share_link_service.d.ts +17 -17
  17. package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +10 -10
  18. package/dist/services/gps/reports/gps_reports_mongo_service.d.ts +46 -46
  19. package/dist/services/main/devices/master_device_service.d.ts +1 -1
  20. package/dist/services/main/drivers/master_driver_service.d.ts +1 -1
  21. package/dist/services/main/sims/master_sim_service.d.ts +1 -1
  22. package/dist/services/main/users/auth_service.d.ts +1 -1
  23. package/dist/services/main/users/user_organisation_service.d.ts +1 -1
  24. package/dist/services/main/users/user_service.d.ts +1 -1
  25. package/dist/services/main/vehicle/childs/vehicle_odometer_history.d.ts +1 -1
  26. package/dist/services/main/vehicle/master_vehicle_service.d.ts +1 -1
  27. package/dist/services/master/device/master_device_manufacturer_service.d.ts +1 -1
  28. package/dist/services/master/device/master_device_model_service.d.ts +1 -1
  29. package/dist/services/master/device/master_device_type_service.d.ts +1 -1
  30. package/dist/services/master/expense/master_expense_name_service.d.ts +1 -1
  31. package/dist/services/master/expense/master_expense_type_service.d.ts +1 -1
  32. package/dist/services/master/expense/master_fuel_company_service.d.ts +1 -1
  33. package/dist/services/master/expense/master_vendor_document_type_service.d.ts +1 -1
  34. package/dist/services/master/expense/master_vendor_type_service.d.ts +1 -1
  35. package/dist/services/master/fleet/master_fleet_incident_severity_service.d.ts +1 -1
  36. package/dist/services/master/fleet/master_fleet_incident_status_service.d.ts +1 -1
  37. package/dist/services/master/fleet/master_fleet_incident_type_service.d.ts +1 -1
  38. package/dist/services/master/fleet/master_fleet_insurance_claim_status_service.d.ts +1 -1
  39. package/dist/services/master/fleet/master_fleet_service_task_service.d.ts +1 -1
  40. package/dist/services/master/main/master_main_country_service.d.ts +1 -1
  41. package/dist/services/master/main/master_main_currency_service.d.ts +1 -1
  42. package/dist/services/master/main/master_main_date_format_service.d.ts +1 -1
  43. package/dist/services/master/main/master_main_industry_service.d.ts +1 -1
  44. package/dist/services/master/main/master_main_landmark_service.d.ts +7 -7
  45. package/dist/services/master/main/master_main_language_service.d.ts +1 -1
  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 +1 -1
  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/dist/services/website/contact_us_detail_service.d.ts +1 -1
  77. package/dist/services/website/faq_service.d.ts +1 -1
  78. package/package.json +1 -1
  79. package/dist/{user_organisation_service-D3GhFJqI.d.ts → user_organisation_service-BmevBmkg.d.ts} +3 -3
@@ -264,7 +264,7 @@ var ENDPOINTS = {
264
264
  delete: (id) => `${URL}/${id}`
265
265
  };
266
266
  var GPSGeofenceTransactionSchema = z3.object({
267
- organisation_id: single_select_mandatory("Organisation ID"),
267
+ organisation_id: single_select_mandatory("UserOrganisation"),
268
268
  vehicle_id: single_select_mandatory("Master Vehicle ID"),
269
269
  driver_id: single_select_optional("Driver ID"),
270
270
  gps_geofence_id: single_select_mandatory("GPS Geofence ID"),
@@ -274,22 +274,25 @@ var GPSGeofenceTransactionSchema = z3.object({
274
274
  "Enter" /* Enter */
275
275
  ),
276
276
  geofence_time: dateMandatory("Geofence Time"),
277
- status: enumMandatory("Status", Status, "Active" /* Active */)
277
+ status: enumMandatory("Status", Status, "Active" /* Active */),
278
+ time_zone_id: single_select_mandatory("MasterMainTimeZone")
278
279
  });
279
280
  var GPSGeofenceTransactionQuerySchema = BaseQuerySchema.extend({
280
- organisation_ids: multi_select_optional("User Organisation IDs"),
281
+ organisation_ids: multi_select_optional("UserOrganisation"),
281
282
  // ✅ Multi-selection -> UserOrganisation
282
- vehicle_ids: multi_select_optional("Master Vehicle IDs"),
283
- // ✅ Multi-selection -> Master Vehicle
284
- driver_ids: multi_select_optional("Master Driver IDs"),
285
- // ✅ Multi-selection -> Master Driver
283
+ vehicle_ids: multi_select_optional("MasterVehicle"),
284
+ // ✅ Multi-selection -> MasterVehicle
285
+ driver_ids: multi_select_optional("MasterDriver"),
286
+ // ✅ Multi-selection -> MasterDriver
286
287
  gps_geofence_ids: multi_select_optional("Gps Geofence IDs"),
287
288
  // ✅ Multi-selection -> Gps Geofence
288
289
  geofence_status_type: enumArrayOptional(
289
290
  "Geofence Status Type",
290
291
  GeofenceStatusType,
291
292
  getAllEnums(GeofenceStatusType)
292
- )
293
+ ),
294
+ from_date: dateMandatory("From Date"),
295
+ to_date: dateMandatory("To Date")
293
296
  });
294
297
  var toGPSGeofenceTransactionPayload = (data) => ({
295
298
  organisation_id: data.organisation_id,
@@ -298,7 +301,8 @@ var toGPSGeofenceTransactionPayload = (data) => ({
298
301
  driver_id: data.driver_id || "",
299
302
  geofence_status_type: data.geofence_status_type,
300
303
  geofence_time: data.geofence_time,
301
- status: data.status
304
+ status: data.status,
305
+ time_zone_id: ""
302
306
  });
303
307
  var newGPSGeofenceTransactionPayload = () => ({
304
308
  organisation_id: "",
@@ -307,9 +311,10 @@ var newGPSGeofenceTransactionPayload = () => ({
307
311
  driver_id: "",
308
312
  geofence_status_type: "Enter" /* Enter */,
309
313
  geofence_time: (/* @__PURE__ */ new Date()).toISOString(),
310
- status: "Active" /* Active */
314
+ status: "Active" /* Active */,
315
+ time_zone_id: ""
311
316
  });
312
- var findGPSGeofenceTransactions = async (data) => {
317
+ var findGPSGeofenceTransaction = async (data) => {
313
318
  return apiPost(ENDPOINTS.find, data);
314
319
  };
315
320
  var createGPSGeofenceTransaction = async (data) => {
@@ -326,7 +331,7 @@ export {
326
331
  GPSGeofenceTransactionSchema,
327
332
  createGPSGeofenceTransaction,
328
333
  deleteGPSGeofenceTransaction,
329
- findGPSGeofenceTransactions,
334
+ findGPSGeofenceTransaction,
330
335
  newGPSGeofenceTransactionPayload,
331
336
  toGPSGeofenceTransactionPayload,
332
337
  updateGPSGeofenceTransaction
@@ -1,8 +1,8 @@
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-D3GhFJqI.js';
5
- import { GPSGeofenceData } from './gps_geofence_data_service.js';
4
+ import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-BmevBmkg.js';
5
+ import { GPSGeofence } from './gps_geofence_service.js';
6
6
  import { GPSGeofenceTransaction } from './gps_geofence_transaction_service.js';
7
7
  import '../../../../zod_utils/zod_base_schema.js';
8
8
  import '../../../master/main/master_main_sim_provider_service.js';
@@ -25,7 +25,7 @@ interface GPSGeofenceTransactionSummary extends Record<string, unknown> {
25
25
  MasterDriver?: MasterDriver;
26
26
  driver_details?: string;
27
27
  gps_geofence_id: string;
28
- GPSGeofenceData?: GPSGeofenceData;
28
+ GPSGeofenceData?: GPSGeofence;
29
29
  geofence_details?: string;
30
30
  enter_gps_geofence_transaction_id: string;
31
31
  EnterGPSGeofenceTransaction?: GPSGeofenceTransaction;
@@ -44,26 +44,29 @@ declare const GPSGeofenceTransactionSummarySchema: z.ZodObject<{
44
44
  geofence_exit_date_time: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
45
45
  duration_seconds: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
46
46
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
47
+ time_zone_id: z.ZodEffects<z.ZodString, string, string>;
47
48
  }, "strip", z.ZodTypeAny, {
48
- gps_geofence_id: string;
49
- status: Status;
50
- organisation_id: string;
51
- driver_id: string;
52
- vehicle_id: string;
53
49
  geofence_enter_date_time: string;
54
50
  geofence_exit_date_time: string;
55
51
  duration_seconds: number;
52
+ status: Status;
53
+ organisation_id: string;
54
+ vehicle_id: string;
55
+ driver_id: string;
56
+ gps_geofence_id: string;
56
57
  enter_gps_geofence_transaction_id: string;
57
58
  exit_gps_geofence_transaction_id: string;
59
+ time_zone_id: string;
58
60
  }, {
59
- gps_geofence_id: string;
61
+ geofence_enter_date_time: string;
60
62
  status: Status;
61
63
  organisation_id: string;
62
- driver_id: string;
63
64
  vehicle_id: string;
64
- geofence_enter_date_time: string;
65
+ driver_id: string;
66
+ gps_geofence_id: string;
65
67
  enter_gps_geofence_transaction_id: string;
66
68
  exit_gps_geofence_transaction_id: string;
69
+ time_zone_id: string;
67
70
  geofence_exit_date_time?: string | undefined;
68
71
  duration_seconds?: unknown;
69
72
  }>;
@@ -107,6 +110,7 @@ declare const GPSGeofenceTransactionSummaryQuerySchema: z.ZodObject<{
107
110
  to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
108
111
  }, "strip", z.ZodTypeAny, {
109
112
  status: Status[];
113
+ time_zone_id: string;
110
114
  search: string;
111
115
  paging: PAGING;
112
116
  page_count: number;
@@ -126,7 +130,6 @@ declare const GPSGeofenceTransactionSummaryQuerySchema: z.ZodObject<{
126
130
  }[];
127
131
  include_master_data: YesNo;
128
132
  date_format_id: string;
129
- time_zone_id: string;
130
133
  organisation_ids: string[];
131
134
  vehicle_ids: string[];
132
135
  driver_ids: string[];
@@ -134,8 +137,8 @@ declare const GPSGeofenceTransactionSummaryQuerySchema: z.ZodObject<{
134
137
  from_date: string;
135
138
  to_date: string;
136
139
  }, {
137
- date_format_id: string;
138
140
  time_zone_id: string;
141
+ date_format_id: string;
139
142
  from_date: string;
140
143
  to_date: string;
141
144
  status?: Status[] | undefined;
@@ -165,9 +168,9 @@ declare const GPSGeofenceTransactionSummaryQuerySchema: z.ZodObject<{
165
168
  type GPSGeofenceTransactionSummaryQueryDTO = z.infer<typeof GPSGeofenceTransactionSummaryQuerySchema>;
166
169
  declare const toGPSGeofenceTransactionSummaryPayload: (data: GPSGeofenceTransactionSummary) => GPSGeofenceTransactionSummaryDTO;
167
170
  declare const newGPSGeofenceTransactionSummaryPayload: () => GPSGeofenceTransactionSummaryDTO;
168
- declare const findGPSGeofenceTransactionSummaries: (data: GPSGeofenceTransactionSummaryQueryDTO) => Promise<FBR<GPSGeofenceTransactionSummary[]>>;
171
+ declare const findGPSGeofenceTransactionSummary: (data: GPSGeofenceTransactionSummaryQueryDTO) => Promise<FBR<GPSGeofenceTransactionSummary[]>>;
169
172
  declare const createGPSGeofenceTransactionSummary: (data: GPSGeofenceTransactionSummaryDTO) => Promise<SBR>;
170
173
  declare const updateGPSGeofenceTransactionSummary: (id: string, data: GPSGeofenceTransactionSummaryDTO) => Promise<SBR>;
171
174
  declare const deleteGPSGeofenceTransactionSummary: (id: string) => Promise<SBR>;
172
175
 
173
- export { type GPSGeofenceTransactionSummary, type GPSGeofenceTransactionSummaryDTO, type GPSGeofenceTransactionSummaryQueryDTO, GPSGeofenceTransactionSummaryQuerySchema, GPSGeofenceTransactionSummarySchema, createGPSGeofenceTransactionSummary, deleteGPSGeofenceTransactionSummary, findGPSGeofenceTransactionSummaries, newGPSGeofenceTransactionSummaryPayload, toGPSGeofenceTransactionSummaryPayload, updateGPSGeofenceTransactionSummary };
176
+ export { type GPSGeofenceTransactionSummary, type GPSGeofenceTransactionSummaryDTO, type GPSGeofenceTransactionSummaryQueryDTO, GPSGeofenceTransactionSummaryQuerySchema, GPSGeofenceTransactionSummarySchema, createGPSGeofenceTransactionSummary, deleteGPSGeofenceTransactionSummary, findGPSGeofenceTransactionSummary, newGPSGeofenceTransactionSummaryPayload, toGPSGeofenceTransactionSummaryPayload, updateGPSGeofenceTransactionSummary };
@@ -275,7 +275,7 @@ var ENDPOINTS = {
275
275
  delete: (id) => `${URL}/${id}`
276
276
  };
277
277
  var GPSGeofenceTransactionSummarySchema = z3.object({
278
- organisation_id: single_select_mandatory("Organisation ID"),
278
+ organisation_id: single_select_mandatory("UserOrganisation"),
279
279
  vehicle_id: single_select_mandatory("Master Vehicle ID"),
280
280
  driver_id: single_select_optional("Driver ID"),
281
281
  gps_geofence_id: single_select_mandatory("GPS Geofence ID"),
@@ -288,15 +288,16 @@ var GPSGeofenceTransactionSummarySchema = z3.object({
288
288
  geofence_enter_date_time: dateMandatory("Geofence Enter Date Time"),
289
289
  geofence_exit_date_time: dateOptional("Geofence Exit Date Time"),
290
290
  duration_seconds: numberOptional("Duration Seconds"),
291
- status: enumMandatory("Status", Status, "Active" /* Active */)
291
+ status: enumMandatory("Status", Status, "Active" /* Active */),
292
+ time_zone_id: single_select_mandatory("MasterMainTimeZone")
292
293
  });
293
294
  var GPSGeofenceTransactionSummaryQuerySchema = BaseQuerySchema.extend({
294
- organisation_ids: multi_select_optional("User Organisation IDs"),
295
+ organisation_ids: multi_select_optional("UserOrganisation"),
295
296
  // ✅ Multi-selection -> UserOrganisation
296
- vehicle_ids: multi_select_optional("Master Vehicle IDs"),
297
+ vehicle_ids: multi_select_optional("MasterVehicle"),
297
298
  // ✅ Multi-selection -> MasterVehicle
298
- driver_ids: multi_select_optional("Master Driver IDs"),
299
- // ✅ Multi-selection -> Master Driver
299
+ driver_ids: multi_select_optional("MasterDriver"),
300
+ // ✅ Multi-selection -> MasterDriver
300
301
  gps_geofence_ids: multi_select_optional("Gps Geofence IDs"),
301
302
  // ✅ Multi-selection -> Gps Geofence
302
303
  from_date: dateMandatory("From Date"),
@@ -312,7 +313,8 @@ var toGPSGeofenceTransactionSummaryPayload = (data) => ({
312
313
  geofence_enter_date_time: data.geofence_enter_date_time,
313
314
  geofence_exit_date_time: data.geofence_exit_date_time || "",
314
315
  duration_seconds: data.duration_seconds || 0,
315
- status: data.status
316
+ status: data.status,
317
+ time_zone_id: ""
316
318
  });
317
319
  var newGPSGeofenceTransactionSummaryPayload = () => ({
318
320
  organisation_id: "",
@@ -324,9 +326,10 @@ var newGPSGeofenceTransactionSummaryPayload = () => ({
324
326
  geofence_enter_date_time: "",
325
327
  geofence_exit_date_time: "",
326
328
  duration_seconds: 0,
327
- status: "Active" /* Active */
329
+ status: "Active" /* Active */,
330
+ time_zone_id: ""
328
331
  });
329
- var findGPSGeofenceTransactionSummaries = async (data) => {
332
+ var findGPSGeofenceTransactionSummary = async (data) => {
330
333
  return apiPost(ENDPOINTS.find, data);
331
334
  };
332
335
  var createGPSGeofenceTransactionSummary = async (data) => {
@@ -343,7 +346,7 @@ export {
343
346
  GPSGeofenceTransactionSummarySchema,
344
347
  createGPSGeofenceTransactionSummary,
345
348
  deleteGPSGeofenceTransactionSummary,
346
- findGPSGeofenceTransactionSummaries,
349
+ findGPSGeofenceTransactionSummary,
347
350
  newGPSGeofenceTransactionSummaryPayload,
348
351
  toGPSGeofenceTransactionSummaryPayload,
349
352
  updateGPSGeofenceTransactionSummary
@@ -1,8 +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-D3GhFJqI.js';
5
- import { GPSGeofenceData } from './gps_geofence_data_service.js';
4
+ import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-BmevBmkg.js';
6
5
  import '../../../../zod_utils/zod_base_schema.js';
7
6
  import '../../../master/main/master_main_sim_provider_service.js';
8
7
 
@@ -29,10 +28,10 @@ interface TripGeofenceToGeofence extends Record<string, unknown> {
29
28
  MasterDriver?: MasterDriver;
30
29
  driver_details?: string;
31
30
  from_geofence_id: string;
32
- FromGeofence?: GPSGeofenceData;
31
+ FromGeofence?: TripGeofenceToGeofence;
33
32
  from_geofence_details?: string;
34
33
  to_geofence_id: string;
35
- ToGeofence?: GPSGeofenceData;
34
+ ToGeofence?: TripGeofenceToGeofence;
36
35
  to_geofence_details?: string;
37
36
  duration_seconds_f?: string;
38
37
  travel_duration_seconds_f?: string;
@@ -54,12 +53,14 @@ declare const TripGeofenceToGeofenceSchema: z.ZodObject<{
54
53
  max_speed: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
55
54
  avg_speed: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
56
55
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
56
+ time_zone_id: z.ZodEffects<z.ZodString, string, string>;
57
57
  }, "strip", z.ZodTypeAny, {
58
+ duration_seconds: number;
58
59
  status: Status;
59
60
  organisation_id: string;
60
- driver_id: string;
61
61
  vehicle_id: string;
62
- duration_seconds: number;
62
+ driver_id: string;
63
+ time_zone_id: string;
63
64
  from_geofence_exit_date_time: string;
64
65
  to_geofence_enter_date_time: string;
65
66
  travel_duration_seconds: number;
@@ -72,8 +73,9 @@ declare const TripGeofenceToGeofenceSchema: z.ZodObject<{
72
73
  }, {
73
74
  status: Status;
74
75
  organisation_id: string;
75
- driver_id: string;
76
76
  vehicle_id: string;
77
+ driver_id: string;
78
+ time_zone_id: string;
77
79
  from_geofence_exit_date_time: string;
78
80
  to_geofence_enter_date_time: string;
79
81
  from_geofence_id: string;
@@ -126,6 +128,7 @@ declare const TripGeofenceToGeofenceQuerySchema: z.ZodObject<{
126
128
  to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
127
129
  }, "strip", z.ZodTypeAny, {
128
130
  status: Status[];
131
+ time_zone_id: string;
129
132
  search: string;
130
133
  paging: PAGING;
131
134
  page_count: number;
@@ -145,7 +148,6 @@ declare const TripGeofenceToGeofenceQuerySchema: z.ZodObject<{
145
148
  }[];
146
149
  include_master_data: YesNo;
147
150
  date_format_id: string;
148
- time_zone_id: string;
149
151
  organisation_ids: string[];
150
152
  vehicle_ids: string[];
151
153
  driver_ids: string[];
@@ -154,8 +156,8 @@ declare const TripGeofenceToGeofenceQuerySchema: z.ZodObject<{
154
156
  from_geofence_ids: string[];
155
157
  to_geofence_ids: string[];
156
158
  }, {
157
- date_format_id: string;
158
159
  time_zone_id: string;
160
+ date_format_id: string;
159
161
  from_date: string;
160
162
  to_date: string;
161
163
  status?: Status[] | undefined;
@@ -287,7 +287,7 @@ var ENDPOINTS = {
287
287
  delete: (id) => `${URL}/${id}`
288
288
  };
289
289
  var TripGeofenceToGeofenceSchema = z3.object({
290
- organisation_id: single_select_mandatory("Organisation ID"),
290
+ organisation_id: single_select_mandatory("UserOrganisation"),
291
291
  vehicle_id: single_select_mandatory("Master Vehicle ID"),
292
292
  driver_id: single_select_optional("Driver ID"),
293
293
  from_geofence_id: single_select_mandatory("From Geofence ID"),
@@ -301,15 +301,16 @@ 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
- status: enumMandatory("Status", Status, "Active" /* Active */)
304
+ status: enumMandatory("Status", Status, "Active" /* Active */),
305
+ time_zone_id: single_select_mandatory("MasterMainTimeZone")
305
306
  });
306
307
  var TripGeofenceToGeofenceQuerySchema = BaseQuerySchema.extend({
307
- organisation_ids: multi_select_optional("User Organisation IDs"),
308
+ organisation_ids: multi_select_optional("UserOrganisation"),
308
309
  // ✅ Multi-selection -> UserOrganisation
309
- vehicle_ids: multi_select_optional("Master Vehicle IDs"),
310
+ vehicle_ids: multi_select_optional("MasterVehicle"),
310
311
  // ✅ Multi-selection -> MasterVehicle
311
- driver_ids: multi_select_optional("Master Driver IDs"),
312
- // ✅ Multi-selection -> Master Driver
312
+ driver_ids: multi_select_optional("MasterDriver"),
313
+ // ✅ Multi-selection -> MasterDriver
313
314
  from_geofence_ids: multi_select_optional("From Geofence IDs"),
314
315
  // ✅ Multi-selection -> From Geofence
315
316
  to_geofence_ids: multi_select_optional("To Geofence IDs"),
@@ -331,7 +332,8 @@ var toTripGeofenceToGeofencePayload = (data) => ({
331
332
  distance_meters: data.distance_meters,
332
333
  max_speed: data.max_speed || 0,
333
334
  avg_speed: data.avg_speed || 0,
334
- status: data.status
335
+ status: data.status,
336
+ time_zone_id: ""
335
337
  });
336
338
  var newTripGeofenceToGeofencePayload = () => ({
337
339
  organisation_id: "",
@@ -347,7 +349,8 @@ var newTripGeofenceToGeofencePayload = () => ({
347
349
  distance_meters: 0,
348
350
  max_speed: 0,
349
351
  avg_speed: 0,
350
- status: "Active" /* Active */
352
+ status: "Active" /* Active */,
353
+ time_zone_id: ""
351
354
  });
352
355
  var findTripGeofenceToGeofence = async (data) => {
353
356
  return apiPost(ENDPOINTS.find, 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-D3GhFJqI.js';
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;
46
45
  status: Status;
47
46
  organisation_id: string;
48
47
  type: NotificationType;
49
48
  to_recipients: string;
50
- }, {
51
49
  gps_live_track_share_link_id: string;
50
+ }, {
52
51
  status: Status;
53
52
  organisation_id: string;
54
53
  type: NotificationType;
55
54
  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;
77
76
  status: Status;
78
77
  organisation_id: string;
79
78
  type: NotificationType;
80
79
  to_recipients: string;
81
- }, {
82
80
  gps_live_track_share_link_id: string;
81
+ }, {
83
82
  status: Status;
84
83
  organisation_id: string;
85
84
  type: NotificationType;
86
85
  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;
91
89
  link_status: LinkStatus;
92
90
  status: Status;
93
91
  organisation_id: string;
94
92
  vehicle_id: string;
95
93
  trip_id: string;
96
- expire_milliseconds: number;
97
94
  notifications: {
98
- gps_live_track_share_link_id: string;
99
95
  status: Status;
100
96
  organisation_id: string;
101
97
  type: NotificationType;
102
98
  to_recipients: string;
99
+ gps_live_track_share_link_id: string;
103
100
  }[];
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;
108
107
  link_status: LinkStatus;
109
108
  status: Status;
110
109
  organisation_id: string;
111
110
  vehicle_id: string;
112
111
  trip_id: string;
113
- latitude?: unknown;
114
- longitude?: unknown;
115
- location?: string | undefined;
116
- expire_milliseconds?: unknown;
112
+ link_type: LinkType;
117
113
  notifications?: {
118
- gps_live_track_share_link_id: string;
119
114
  status: Status;
120
115
  organisation_id: string;
121
116
  type: NotificationType;
122
117
  to_recipients: string;
118
+ gps_live_track_share_link_id: string;
123
119
  }[] | 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,7 +176,6 @@ 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[];
180
179
  link_status: LinkStatus[];
181
180
  status: Status[];
182
181
  search: string;
@@ -202,10 +201,10 @@ declare const GPSLiveTrackShareLinkQuerySchema: z.ZodObject<{
202
201
  organisation_ids: string[];
203
202
  vehicle_ids: string[];
204
203
  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;
209
208
  link_status?: LinkStatus[] | undefined;
210
209
  status?: Status[] | undefined;
211
210
  search?: string | undefined;
@@ -229,6 +228,7 @@ declare const GPSLiveTrackShareLinkQuerySchema: z.ZodObject<{
229
228
  organisation_ids?: string[] | undefined;
230
229
  vehicle_ids?: string[] | undefined;
231
230
  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-D3GhFJqI.js';
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;
43
44
  status: Status;
44
45
  organisation_id: string;
45
46
  type: NotificationType;
46
47
  to_recipients: string;
47
- gps_track_history_share_link_id: string;
48
48
  }, {
49
+ gps_track_history_share_link_id: string;
49
50
  status: Status;
50
51
  organisation_id: string;
51
52
  type: NotificationType;
52
53
  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;
71
72
  status: Status;
72
73
  organisation_id: string;
73
74
  type: NotificationType;
74
75
  to_recipients: string;
75
- gps_track_history_share_link_id: string;
76
76
  }, {
77
+ gps_track_history_share_link_id: string;
77
78
  status: Status;
78
79
  organisation_id: string;
79
80
  type: NotificationType;
80
81
  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;
84
86
  link_status: TrackHistoryLinkStatus;
85
87
  status: Status;
86
88
  organisation_id: string;
87
89
  vehicle_id: string;
88
90
  trip_id: string;
89
91
  notifications: {
92
+ gps_track_history_share_link_id: string;
90
93
  status: Status;
91
94
  organisation_id: string;
92
95
  type: NotificationType;
93
96
  to_recipients: string;
94
- gps_track_history_share_link_id: string;
95
97
  }[];
98
+ }, {
96
99
  from_date_time: string;
97
100
  to_date_time: string;
98
- }, {
99
101
  link_status: TrackHistoryLinkStatus;
100
102
  status: Status;
101
103
  organisation_id: string;
102
104
  vehicle_id: string;
103
105
  trip_id: string;
104
- from_date_time: string;
105
- to_date_time: string;
106
106
  notifications?: {
107
+ gps_track_history_share_link_id: string;
107
108
  status: Status;
108
109
  organisation_id: string;
109
110
  type: NotificationType;
110
111
  to_recipients: string;
111
- gps_track_history_share_link_id: string;
112
112
  }[] | undefined;
113
113
  }>;
114
114
  type GPSTrackHistoryShareLinkDTO = z.infer<typeof GPSTrackHistoryShareLinkSchema>;