vms-nest-prisma-api-document 2.0.0 → 5.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 (144) hide show
  1. package/dist/core/apiCall.js +4 -3
  2. package/dist/core/sdk-config.js +6 -4
  3. package/dist/services/account/alert_service.d.ts +32 -32
  4. package/dist/services/account/alert_service.js +4 -3
  5. package/dist/services/account/analytics/user_login_analytics_service.d.ts +3 -3
  6. package/dist/services/account/analytics/user_login_analytics_service.js +4 -3
  7. package/dist/services/account/analytics/user_page_analytics_service.d.ts +1 -1
  8. package/dist/services/account/analytics/user_page_analytics_service.js +4 -3
  9. package/dist/services/account/bookmark_service.d.ts +9 -9
  10. package/dist/services/account/bookmark_service.js +4 -3
  11. package/dist/services/account/notification_service.d.ts +6 -6
  12. package/dist/services/account/notification_service.js +4 -3
  13. package/dist/services/account/ticket_service.d.ts +3 -3
  14. package/dist/services/account/ticket_service.js +4 -3
  15. package/dist/services/gps/features/fuel/gps_fuel_vehicle_daily_summary_service.d.ts +13 -13
  16. package/dist/services/gps/features/fuel/gps_fuel_vehicle_daily_summary_service.js +4 -3
  17. package/dist/services/gps/features/fuel/gps_fuel_vehicle_refill_service.d.ts +28 -28
  18. package/dist/services/gps/features/fuel/gps_fuel_vehicle_refill_service.js +4 -3
  19. package/dist/services/gps/features/fuel/gps_fuel_vehicle_removal_service.d.ts +23 -23
  20. package/dist/services/gps/features/fuel/gps_fuel_vehicle_removal_service.js +4 -3
  21. package/dist/services/gps/features/geofence/gps_geofence_data_service.d.ts +1 -1
  22. package/dist/services/gps/features/geofence/gps_geofence_data_service.js +4 -3
  23. package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +1 -1
  24. package/dist/services/gps/features/geofence/gps_geofence_transaction_service.js +4 -3
  25. package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +1 -1
  26. package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.js +4 -3
  27. package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +1 -1
  28. package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.js +4 -3
  29. package/dist/services/gps/features/gps_live_track_share_link_service.d.ts +17 -17
  30. package/dist/services/gps/features/gps_live_track_share_link_service.js +4 -3
  31. package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +10 -10
  32. package/dist/services/gps/features/gps_track_history_share_link_service.js +4 -3
  33. package/dist/services/gps/reports/gps_reports_mongo_service.js +4 -3
  34. package/dist/services/main/devices/master_device_service.d.ts +1 -1
  35. package/dist/services/main/devices/master_device_service.js +4 -3
  36. package/dist/services/main/drivers/master_driver_service.d.ts +1 -1
  37. package/dist/services/main/drivers/master_driver_service.js +4 -3
  38. package/dist/services/main/sims/master_sim_service.d.ts +1 -1
  39. package/dist/services/main/sims/master_sim_service.js +4 -3
  40. package/dist/services/main/users/auth_service.d.ts +1 -1
  41. package/dist/services/main/users/auth_service.js +4 -3
  42. package/dist/services/main/users/user_admin_service.js +4 -3
  43. package/dist/services/main/users/user_organisation_service.d.ts +1 -1
  44. package/dist/services/main/users/user_organisation_service.js +4 -3
  45. package/dist/services/main/users/user_service.d.ts +1 -1
  46. package/dist/services/main/users/user_service.js +4 -3
  47. package/dist/services/main/vehicle/childs/vehicle_odometer_history.d.ts +1 -1
  48. package/dist/services/main/vehicle/childs/vehicle_odometer_history.js +4 -3
  49. package/dist/services/main/vehicle/master_vehicle_service.d.ts +1 -1
  50. package/dist/services/main/vehicle/master_vehicle_service.js +4 -3
  51. package/dist/services/master/device/master_device_manufacturer_service.d.ts +1 -1
  52. package/dist/services/master/device/master_device_manufacturer_service.js +4 -3
  53. package/dist/services/master/device/master_device_model_service.d.ts +1 -1
  54. package/dist/services/master/device/master_device_model_service.js +4 -3
  55. package/dist/services/master/device/master_device_type_service.d.ts +1 -1
  56. package/dist/services/master/device/master_device_type_service.js +4 -3
  57. package/dist/services/master/expense/master_expense_name_service.d.ts +1 -1
  58. package/dist/services/master/expense/master_expense_name_service.js +4 -3
  59. package/dist/services/master/expense/master_expense_type_service.d.ts +1 -1
  60. package/dist/services/master/expense/master_expense_type_service.js +4 -3
  61. package/dist/services/master/expense/master_vendor_type_service.d.ts +1 -1
  62. package/dist/services/master/expense/master_vendor_type_service.js +4 -3
  63. package/dist/services/master/fleet/master_fleet_incident_severity_service.d.ts +1 -1
  64. package/dist/services/master/fleet/master_fleet_incident_severity_service.js +4 -3
  65. package/dist/services/master/fleet/master_fleet_incident_status_service.d.ts +1 -1
  66. package/dist/services/master/fleet/master_fleet_incident_status_service.js +4 -3
  67. package/dist/services/master/fleet/master_fleet_incident_type_service.d.ts +1 -1
  68. package/dist/services/master/fleet/master_fleet_incident_type_service.js +4 -3
  69. package/dist/services/master/fleet/master_fleet_insurance_claim_status_service.d.ts +1 -1
  70. package/dist/services/master/fleet/master_fleet_insurance_claim_status_service.js +4 -3
  71. package/dist/services/master/fleet/master_fleet_service_task_service.d.ts +1 -1
  72. package/dist/services/master/fleet/master_fleet_service_task_service.js +4 -3
  73. package/dist/services/master/main/master_main_country_service.d.ts +1 -1
  74. package/dist/services/master/main/master_main_country_service.js +4 -3
  75. package/dist/services/master/main/master_main_currency_service.d.ts +1 -1
  76. package/dist/services/master/main/master_main_currency_service.js +4 -3
  77. package/dist/services/master/main/master_main_date_format_service.d.ts +1 -1
  78. package/dist/services/master/main/master_main_date_format_service.js +4 -3
  79. package/dist/services/master/main/master_main_eway_bill_provider_service.js +4 -3
  80. package/dist/services/master/main/master_main_fasttag_bank_service.js +4 -3
  81. package/dist/services/master/main/master_main_industry_service.d.ts +1 -1
  82. package/dist/services/master/main/master_main_industry_service.js +4 -3
  83. package/dist/services/master/main/master_main_landmark_service.d.ts +1 -1
  84. package/dist/services/master/main/master_main_landmark_service.js +4 -3
  85. package/dist/services/master/main/master_main_language_service.d.ts +1 -1
  86. package/dist/services/master/main/master_main_language_service.js +4 -3
  87. package/dist/services/master/main/master_main_sim_provider_service.js +4 -3
  88. package/dist/services/master/main/master_main_state_service.d.ts +1 -1
  89. package/dist/services/master/main/master_main_state_service.js +4 -3
  90. package/dist/services/master/main/master_main_timezone_service.d.ts +1 -1
  91. package/dist/services/master/main/master_main_timezone_service.js +4 -3
  92. package/dist/services/master/main/master_main_unit_distance_service.d.ts +1 -1
  93. package/dist/services/master/main/master_main_unit_distance_service.js +4 -3
  94. package/dist/services/master/main/master_main_unit_mileage_service.d.ts +1 -1
  95. package/dist/services/master/main/master_main_unit_mileage_service.js +4 -3
  96. package/dist/services/master/main/master_main_unit_volume_service.d.ts +1 -1
  97. package/dist/services/master/main/master_main_unit_volume_service.js +4 -3
  98. package/dist/services/master/organisation/organisation_branch_service.d.ts +1 -1
  99. package/dist/services/master/organisation/organisation_branch_service.js +4 -3
  100. package/dist/services/master/organisation/organisation_color_service.d.ts +1 -1
  101. package/dist/services/master/organisation/organisation_color_service.js +4 -3
  102. package/dist/services/master/organisation/organisation_group_service.d.ts +1 -1
  103. package/dist/services/master/organisation/organisation_group_service.js +4 -3
  104. package/dist/services/master/organisation/organisation_sub_company_service.d.ts +1 -1
  105. package/dist/services/master/organisation/organisation_sub_company_service.js +4 -3
  106. package/dist/services/master/organisation/organisation_tag_service.d.ts +1 -1
  107. package/dist/services/master/organisation/organisation_tag_service.js +4 -3
  108. package/dist/services/master/spare_part/master_spare_part_category_service.d.ts +1 -1
  109. package/dist/services/master/spare_part/master_spare_part_category_service.js +4 -3
  110. package/dist/services/master/spare_part/master_spare_part_sub_category_service.d.ts +1 -1
  111. package/dist/services/master/spare_part/master_spare_part_sub_category_service.js +4 -3
  112. package/dist/services/master/spare_part/master_spare_part_unit_service.d.ts +1 -1
  113. package/dist/services/master/spare_part/master_spare_part_unit_service.js +4 -3
  114. package/dist/services/master/trip/master_trip_party_type_service.d.ts +1 -1
  115. package/dist/services/master/trip/master_trip_party_type_service.js +4 -3
  116. package/dist/services/master/tyre/master_tyre_grade_service.d.ts +1 -1
  117. package/dist/services/master/tyre/master_tyre_grade_service.js +4 -3
  118. package/dist/services/master/tyre/master_tyre_make_service.d.ts +1 -1
  119. package/dist/services/master/tyre/master_tyre_make_service.js +4 -3
  120. package/dist/services/master/tyre/master_tyre_model_service.d.ts +1 -1
  121. package/dist/services/master/tyre/master_tyre_model_service.js +4 -3
  122. package/dist/services/master/user/master_user_role_service.d.ts +1 -1
  123. package/dist/services/master/user/master_user_role_service.js +4 -3
  124. package/dist/services/master/user/master_user_status_service.d.ts +1 -1
  125. package/dist/services/master/user/master_user_status_service.js +4 -3
  126. package/dist/services/master/vehicle/master_vehicle_fuel_type_service.d.ts +1 -1
  127. package/dist/services/master/vehicle/master_vehicle_fuel_type_service.js +4 -3
  128. package/dist/services/master/vehicle/master_vehicle_make_service.d.ts +1 -1
  129. package/dist/services/master/vehicle/master_vehicle_make_service.js +4 -3
  130. package/dist/services/master/vehicle/master_vehicle_model_service.d.ts +1 -1
  131. package/dist/services/master/vehicle/master_vehicle_model_service.js +4 -3
  132. package/dist/services/master/vehicle/master_vehicle_ownership_type_service.d.ts +1 -1
  133. package/dist/services/master/vehicle/master_vehicle_ownership_type_service.js +4 -3
  134. package/dist/services/master/vehicle/master_vehicle_status_type_service.d.ts +1 -1
  135. package/dist/services/master/vehicle/master_vehicle_status_type_service.js +4 -3
  136. package/dist/services/master/vehicle/master_vehicle_sub_model_service.d.ts +1 -1
  137. package/dist/services/master/vehicle/master_vehicle_sub_model_service.js +4 -3
  138. package/dist/services/master/vehicle/master_vehicle_type_service.d.ts +1 -1
  139. package/dist/services/master/vehicle/master_vehicle_type_service.js +4 -3
  140. package/dist/services/website/contact_us_detail_service.js +4 -3
  141. package/dist/services/website/faq_service.js +4 -3
  142. package/dist/services/website/static_pages_service.js +4 -3
  143. package/package.json +1 -1
  144. package/dist/{user_organisation_service-DJWj2iMa.d.ts → user_organisation_service-B_mpMXYI.d.ts} +20 -20
@@ -1,7 +1,7 @@
1
1
  import { YesNo, GPSFuelApproveStatus, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy } 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, e as MasterDevice, b as MasterDriver, a as User } from '../../../../user_organisation_service-DJWj2iMa.js';
4
+ import { U as UserOrganisation, M as MasterVehicle, e as MasterDevice, b as MasterDriver, a as User } from '../../../../user_organisation_service-B_mpMXYI.js';
5
5
  import '../../../../zod_utils/zod_base_schema.js';
6
6
  import '../../../master/main/master_main_sim_provider_service.js';
7
7
 
@@ -62,47 +62,47 @@ declare const GPSFuelVehicleRemovalSchema: z.ZodObject<{
62
62
  ld: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
63
63
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
64
64
  }, "strip", z.ZodTypeAny, {
65
+ verified: YesNo;
66
+ approved: GPSFuelApproveStatus;
67
+ date_time: string;
68
+ refill_details: string;
69
+ gl: string;
70
+ lid: string;
71
+ ll: string;
72
+ ld: number;
65
73
  status: Status;
66
74
  organisation_id: string;
67
75
  vehicle_id: string;
68
76
  device_id: string;
69
77
  driver_id: string;
70
78
  user_id: string;
71
- gl: string;
72
- lid: string;
73
- ll: string;
74
- ld: number;
75
- verified: YesNo;
76
- approved: GPSFuelApproveStatus;
77
- date_time: string;
78
- refill_details: string;
79
79
  before_remove_fuel_liters: number;
80
80
  after_remove_fuel_liters: number;
81
81
  gps_removal_liters: number;
82
82
  verified_removal_liters: number;
83
- latitude?: number | undefined;
84
- longitude?: number | undefined;
85
83
  cost_per_liter?: number | undefined;
86
84
  total_cost?: number | undefined;
85
+ latitude?: number | undefined;
86
+ longitude?: number | undefined;
87
87
  }, {
88
+ verified: YesNo;
89
+ approved: GPSFuelApproveStatus;
90
+ date_time: string;
88
91
  status: Status;
89
92
  organisation_id: string;
90
93
  vehicle_id: string;
91
94
  device_id: string;
92
95
  driver_id: string;
93
96
  user_id: string;
94
- verified: YesNo;
95
- approved: GPSFuelApproveStatus;
96
- date_time: string;
97
+ cost_per_liter?: unknown;
98
+ total_cost?: unknown;
99
+ refill_details?: string | undefined;
97
100
  latitude?: unknown;
98
101
  longitude?: unknown;
99
102
  gl?: string | undefined;
100
103
  lid?: string | undefined;
101
104
  ll?: string | undefined;
102
105
  ld?: unknown;
103
- cost_per_liter?: unknown;
104
- total_cost?: unknown;
105
- refill_details?: string | undefined;
106
106
  before_remove_fuel_liters?: unknown;
107
107
  after_remove_fuel_liters?: unknown;
108
108
  gps_removal_liters?: unknown;
@@ -150,6 +150,8 @@ declare const GPSFuelVehicleRemovalQuerySchema: z.ZodObject<{
150
150
  from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
151
151
  to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
152
152
  }, "strip", z.ZodTypeAny, {
153
+ verified: YesNo[];
154
+ approved: GPSFuelApproveStatus[];
153
155
  status: Status[];
154
156
  search: string;
155
157
  paging: PAGING;
@@ -172,19 +174,19 @@ declare const GPSFuelVehicleRemovalQuerySchema: z.ZodObject<{
172
174
  date_format_id: string;
173
175
  time_zone_id: string;
174
176
  organisation_ids: string[];
177
+ user_ids: string[];
175
178
  vehicle_ids: string[];
176
179
  device_ids: string[];
177
180
  driver_ids: string[];
178
181
  from_date: string;
179
182
  to_date: string;
180
- user_ids: string[];
181
- verified: YesNo[];
182
- approved: GPSFuelApproveStatus[];
183
183
  }, {
184
184
  date_format_id: string;
185
185
  time_zone_id: string;
186
186
  from_date: string;
187
187
  to_date: string;
188
+ verified?: YesNo[] | undefined;
189
+ approved?: GPSFuelApproveStatus[] | undefined;
188
190
  status?: Status[] | undefined;
189
191
  search?: string | undefined;
190
192
  paging?: PAGING | undefined;
@@ -205,12 +207,10 @@ declare const GPSFuelVehicleRemovalQuerySchema: z.ZodObject<{
205
207
  }[] | undefined;
206
208
  include_master_data?: YesNo | undefined;
207
209
  organisation_ids?: string[] | undefined;
210
+ user_ids?: string[] | undefined;
208
211
  vehicle_ids?: string[] | undefined;
209
212
  device_ids?: string[] | undefined;
210
213
  driver_ids?: string[] | undefined;
211
- user_ids?: string[] | undefined;
212
- verified?: YesNo[] | undefined;
213
- approved?: GPSFuelApproveStatus[] | undefined;
214
214
  }>;
215
215
  type GPSFuelVehicleRemovalQueryDTO = z.infer<typeof GPSFuelVehicleRemovalQuerySchema>;
216
216
  declare const toGPSFuelVehicleRemovalPayload: (item: GPSFuelVehicleRemoval) => GPSFuelVehicleRemovalDTO;
@@ -1,10 +1,11 @@
1
1
  // src/core/sdk-config.ts
2
- var axiosInstance;
2
+ var KEY = "__vms_axios_instance__";
3
3
  var getAxiosInstance = () => {
4
- if (!axiosInstance) {
4
+ const instance = globalThis[KEY];
5
+ if (!instance) {
5
6
  throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
7
  }
7
- return axiosInstance;
8
+ return instance;
8
9
  };
9
10
 
10
11
  // src/core/apiCall.ts
@@ -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-DJWj2iMa.js';
4
+ import { U as UserOrganisation } from '../../../../user_organisation_service-B_mpMXYI.js';
5
5
  import '../../../../zod_utils/zod_base_schema.js';
6
6
  import '../../../master/main/master_main_sim_provider_service.js';
7
7
 
@@ -1,10 +1,11 @@
1
1
  // src/core/sdk-config.ts
2
- var axiosInstance;
2
+ var KEY = "__vms_axios_instance__";
3
3
  var getAxiosInstance = () => {
4
- if (!axiosInstance) {
4
+ const instance = globalThis[KEY];
5
+ if (!instance) {
5
6
  throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
7
  }
7
- return axiosInstance;
8
+ return instance;
8
9
  };
9
10
 
10
11
  // src/core/apiCall.ts
@@ -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-DJWj2iMa.js';
4
+ import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-B_mpMXYI.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';
@@ -1,10 +1,11 @@
1
1
  // src/core/sdk-config.ts
2
- var axiosInstance;
2
+ var KEY = "__vms_axios_instance__";
3
3
  var getAxiosInstance = () => {
4
- if (!axiosInstance) {
4
+ const instance = globalThis[KEY];
5
+ if (!instance) {
5
6
  throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
7
  }
7
- return axiosInstance;
8
+ return instance;
8
9
  };
9
10
 
10
11
  // src/core/apiCall.ts
@@ -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-DJWj2iMa.js';
4
+ import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-B_mpMXYI.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';
@@ -1,10 +1,11 @@
1
1
  // src/core/sdk-config.ts
2
- var axiosInstance;
2
+ var KEY = "__vms_axios_instance__";
3
3
  var getAxiosInstance = () => {
4
- if (!axiosInstance) {
4
+ const instance = globalThis[KEY];
5
+ if (!instance) {
5
6
  throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
7
  }
7
- return axiosInstance;
8
+ return instance;
8
9
  };
9
10
 
10
11
  // src/core/apiCall.ts
@@ -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-DJWj2iMa.js';
4
+ import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-B_mpMXYI.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';
@@ -1,10 +1,11 @@
1
1
  // src/core/sdk-config.ts
2
- var axiosInstance;
2
+ var KEY = "__vms_axios_instance__";
3
3
  var getAxiosInstance = () => {
4
- if (!axiosInstance) {
4
+ const instance = globalThis[KEY];
5
+ if (!instance) {
5
6
  throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
7
  }
7
- return axiosInstance;
8
+ return instance;
8
9
  };
9
10
 
10
11
  // src/core/apiCall.ts
@@ -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-DJWj2iMa.js';
4
+ import { U as UserOrganisation, M as MasterVehicle } from '../../../user_organisation_service-B_mpMXYI.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,10 +1,11 @@
1
1
  // src/core/sdk-config.ts
2
- var axiosInstance;
2
+ var KEY = "__vms_axios_instance__";
3
3
  var getAxiosInstance = () => {
4
- if (!axiosInstance) {
4
+ const instance = globalThis[KEY];
5
+ if (!instance) {
5
6
  throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
7
  }
7
- return axiosInstance;
8
+ return instance;
8
9
  };
9
10
 
10
11
  // src/core/apiCall.ts
@@ -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-DJWj2iMa.js';
4
+ import { U as UserOrganisation, M as MasterVehicle } from '../../../user_organisation_service-B_mpMXYI.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>;
@@ -1,10 +1,11 @@
1
1
  // src/core/sdk-config.ts
2
- var axiosInstance;
2
+ var KEY = "__vms_axios_instance__";
3
3
  var getAxiosInstance = () => {
4
- if (!axiosInstance) {
4
+ const instance = globalThis[KEY];
5
+ if (!instance) {
5
6
  throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
7
  }
7
- return axiosInstance;
8
+ return instance;
8
9
  };
9
10
 
10
11
  // src/core/apiCall.ts
@@ -1,10 +1,11 @@
1
1
  // src/core/sdk-config.ts
2
- var axiosInstance;
2
+ var KEY = "__vms_axios_instance__";
3
3
  var getAxiosInstance = () => {
4
- if (!axiosInstance) {
4
+ const instance = globalThis[KEY];
5
+ if (!instance) {
5
6
  throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
7
  }
7
- return axiosInstance;
8
+ return instance;
8
9
  };
9
10
 
10
11
  // src/core/apiCall.ts
@@ -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 { c0 as AssignRemoveDeviceHistory, c6 as DeviceSimLinkDTO, c5 as DeviceSimLinkSchema, e as MasterDevice, c2 as MasterDeviceDTO, c4 as MasterDeviceQueryDTO, c3 as MasterDeviceQuerySchema, c1 as MasterDeviceSchema, ca as createMasterDevice, cc as deleteMasterDevice, cd as device_sim_link, ce as device_sim_unlink, c9 as findMasterDevices, cg as get_device_sim_link_history_by_device, cf as get_device_sim_link_history_by_sim, c8 as newMasterDevicePayload, c7 as toMasterDevicePayload, cb as updateMasterDevice } from '../../../user_organisation_service-DJWj2iMa.js';
5
+ export { c0 as AssignRemoveDeviceHistory, c6 as DeviceSimLinkDTO, c5 as DeviceSimLinkSchema, e as MasterDevice, c2 as MasterDeviceDTO, c4 as MasterDeviceQueryDTO, c3 as MasterDeviceQuerySchema, c1 as MasterDeviceSchema, ca as createMasterDevice, cc as deleteMasterDevice, cd as device_sim_link, ce as device_sim_unlink, c9 as findMasterDevices, cg as get_device_sim_link_history_by_device, cf as get_device_sim_link_history_by_sim, c8 as newMasterDevicePayload, c7 as toMasterDevicePayload, cb as updateMasterDevice } from '../../../user_organisation_service-B_mpMXYI.js';
6
6
  import '../../master/main/master_main_sim_provider_service.js';
@@ -1,10 +1,11 @@
1
1
  // src/core/sdk-config.ts
2
- var axiosInstance;
2
+ var KEY = "__vms_axios_instance__";
3
3
  var getAxiosInstance = () => {
4
- if (!axiosInstance) {
4
+ const instance = globalThis[KEY];
5
+ if (!instance) {
5
6
  throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
7
  }
7
- return axiosInstance;
8
+ return instance;
8
9
  };
9
10
 
10
11
  // src/core/apiCall.ts
@@ -1,6 +1,6 @@
1
1
  import '../../../core/Enums.js';
2
2
  import '../../../core/BaseResponse.js';
3
3
  import 'zod';
4
- export { aY as AssignRemoveDriverHistory, b0 as DriverQueryDTO, a$ as DriverQuerySchema, b as MasterDriver, a_ as MasterDriverDTO, aZ as MasterDriverSchema, b4 as createDriver, b6 as deleteDriver, b3 as findDrivers, b8 as getDriverCache, b9 as getDriverSimpleCache, b7 as getPresignedUrlForDriver, b2 as newDriverPayload, b1 as toDriverPayload, b5 as updateDriver } from '../../../user_organisation_service-DJWj2iMa.js';
4
+ export { aY as AssignRemoveDriverHistory, b0 as DriverQueryDTO, a$ as DriverQuerySchema, b as MasterDriver, a_ as MasterDriverDTO, aZ as MasterDriverSchema, b4 as createDriver, b6 as deleteDriver, b3 as findDrivers, b8 as getDriverCache, b9 as getDriverSimpleCache, b7 as getPresignedUrlForDriver, b2 as newDriverPayload, b1 as toDriverPayload, b5 as updateDriver } from '../../../user_organisation_service-B_mpMXYI.js';
5
5
  import '../../../zod_utils/zod_base_schema.js';
6
6
  import '../../master/main/master_main_sim_provider_service.js';
@@ -1,10 +1,11 @@
1
1
  // src/core/sdk-config.ts
2
- var axiosInstance;
2
+ var KEY = "__vms_axios_instance__";
3
3
  var getAxiosInstance = () => {
4
- if (!axiosInstance) {
4
+ const instance = globalThis[KEY];
5
+ if (!instance) {
5
6
  throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
7
  }
7
- return axiosInstance;
8
+ return instance;
8
9
  };
9
10
 
10
11
  // src/core/apiCall.ts
@@ -1,6 +1,6 @@
1
1
  import '../../../core/Enums.js';
2
2
  import '../../../core/BaseResponse.js';
3
3
  import 'zod';
4
- export { bR as AssignRemoveSimHistory, bQ as MasterSim, bT as MasterSimDTO, bV as MasterSimQueryDTO, bU as MasterSimQuerySchema, bS as MasterSimSchema, bZ as createMasterSim, b$ as deleteMasterSim, bY as findMasterSims, bX as newMasterSimPayload, bW as toMasterSimPayload, b_ as updateMasterSim } from '../../../user_organisation_service-DJWj2iMa.js';
4
+ export { bR as AssignRemoveSimHistory, bQ as MasterSim, bT as MasterSimDTO, bV as MasterSimQueryDTO, bU as MasterSimQuerySchema, bS as MasterSimSchema, bZ as createMasterSim, b$ as deleteMasterSim, bY as findMasterSims, bX as newMasterSimPayload, bW as toMasterSimPayload, b_ as updateMasterSim } from '../../../user_organisation_service-B_mpMXYI.js';
5
5
  import '../../master/main/master_main_sim_provider_service.js';
6
6
  import '../../../zod_utils/zod_base_schema.js';
@@ -1,10 +1,11 @@
1
1
  // src/core/sdk-config.ts
2
- var axiosInstance;
2
+ var KEY = "__vms_axios_instance__";
3
3
  var getAxiosInstance = () => {
4
- if (!axiosInstance) {
4
+ const instance = globalThis[KEY];
5
+ if (!instance) {
5
6
  throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
7
  }
7
- return axiosInstance;
8
+ return instance;
8
9
  };
9
10
 
10
11
  // src/core/apiCall.ts
@@ -1,6 +1,6 @@
1
1
  import { BR, SBR } from '../../../core/BaseResponse.js';
2
2
  import { z } from 'zod';
3
- import { a as User } from '../../../user_organisation_service-DJWj2iMa.js';
3
+ import { a as User } from '../../../user_organisation_service-B_mpMXYI.js';
4
4
  import { UserAdmin } from './user_admin_service.js';
5
5
  import '../../../core/Enums.js';
6
6
  import '../../../zod_utils/zod_base_schema.js';
@@ -1,10 +1,11 @@
1
1
  // src/core/sdk-config.ts
2
- var axiosInstance;
2
+ var KEY = "__vms_axios_instance__";
3
3
  var getAxiosInstance = () => {
4
- if (!axiosInstance) {
4
+ const instance = globalThis[KEY];
5
+ if (!instance) {
5
6
  throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
7
  }
7
- return axiosInstance;
8
+ return instance;
8
9
  };
9
10
 
10
11
  // src/core/apiCall.ts
@@ -1,10 +1,11 @@
1
1
  // src/core/sdk-config.ts
2
- var axiosInstance;
2
+ var KEY = "__vms_axios_instance__";
3
3
  var getAxiosInstance = () => {
4
- if (!axiosInstance) {
4
+ const instance = globalThis[KEY];
5
+ if (!instance) {
5
6
  throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
7
  }
7
- return axiosInstance;
8
+ return instance;
8
9
  };
9
10
 
10
11
  // src/core/apiCall.ts
@@ -1,6 +1,6 @@
1
1
  import '../../../core/Enums.js';
2
2
  import '../../../core/BaseResponse.js';
3
3
  import 'zod';
4
- export { U as UserOrganisation, jU as UserOrganisationDTO, jW as UserOrganisationQueryDTO, jV as UserOrganisationQuerySchema, jT as UserOrganisationSchema, jS as UserOrganisationSimple, j_ as createUserOrganisation, k0 as deleteUserOrganisation, jZ as findUserOrganisations, k1 as getUserOrganisationCache, k2 as getUserOrganisationCacheSimple, k3 as getUserOrganisationPresignedUrl, jY as newUserOrganisationPayload, jX as toUserOrganisationPayload, j$ as updateUserOrganisation } from '../../../user_organisation_service-DJWj2iMa.js';
4
+ export { U as UserOrganisation, jU as UserOrganisationDTO, jW as UserOrganisationQueryDTO, jV as UserOrganisationQuerySchema, jT as UserOrganisationSchema, jS as UserOrganisationSimple, j_ as createUserOrganisation, k0 as deleteUserOrganisation, jZ as findUserOrganisations, k1 as getUserOrganisationCache, k2 as getUserOrganisationCacheSimple, k3 as getUserOrganisationPresignedUrl, jY as newUserOrganisationPayload, jX as toUserOrganisationPayload, j$ as updateUserOrganisation } from '../../../user_organisation_service-B_mpMXYI.js';
5
5
  import '../../../zod_utils/zod_base_schema.js';
6
6
  import '../../master/main/master_main_sim_provider_service.js';
@@ -1,10 +1,11 @@
1
1
  // src/core/sdk-config.ts
2
- var axiosInstance;
2
+ var KEY = "__vms_axios_instance__";
3
3
  var getAxiosInstance = () => {
4
- if (!axiosInstance) {
4
+ const instance = globalThis[KEY];
5
+ if (!instance) {
5
6
  throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
7
  }
7
- return axiosInstance;
8
+ return instance;
8
9
  };
9
10
 
10
11
  // src/core/apiCall.ts
@@ -1,6 +1,6 @@
1
1
  import '../../../core/Enums.js';
2
2
  import '../../../core/BaseResponse.js';
3
3
  import 'zod';
4
- export { gq as CreateUserDTO, gp as CreateUserSchema, a as User, gm as UserAccessControl, go as UserAccessControlDTO, gn as UserAccessControlSchema, gC as UserDefaultDateFormatDTO, gB as UserDefaultDateFormatSchema, gy as UserDefaultLanguageDTO, gx as UserDefaultLanguageSchema, gu as UserDefaultPageDTO, gt as UserDefaultPageSchema, gw as UserDefaultThemeDTO, gv as UserDefaultThemeSchema, gA as UserDefaultTimeZoneDTO, gz as UserDefaultTimeZoneSchema, gE as UserLoginPushDTO, gD as UserLoginPushSchema, gs as UserQueryDTO, gr as UserQuerySchema, gI as createUser, gT as createUserLoginPush, gK as deleteUser, gV as deleteUserLoginPush, gH as findUsers, gL as getUserCache, gM as getUserCacheSimple, gN as getUserPresignedUrl, gF as newUserPayload, gG as toUserPayload, gJ as updateUser, gS as updateUserDefaultDateformat, gQ as updateUserDefaultLanguage, gO as updateUserDefaultPage, gP as updateUserDefaultTheme, gR as updateUserDefaultTimezone, gU as updateUserLoginPush } from '../../../user_organisation_service-DJWj2iMa.js';
4
+ export { gq as CreateUserDTO, gp as CreateUserSchema, a as User, gm as UserAccessControl, go as UserAccessControlDTO, gn as UserAccessControlSchema, gC as UserDefaultDateFormatDTO, gB as UserDefaultDateFormatSchema, gy as UserDefaultLanguageDTO, gx as UserDefaultLanguageSchema, gu as UserDefaultPageDTO, gt as UserDefaultPageSchema, gw as UserDefaultThemeDTO, gv as UserDefaultThemeSchema, gA as UserDefaultTimeZoneDTO, gz as UserDefaultTimeZoneSchema, gE as UserLoginPushDTO, gD as UserLoginPushSchema, gs as UserQueryDTO, gr as UserQuerySchema, gI as createUser, gT as createUserLoginPush, gK as deleteUser, gV as deleteUserLoginPush, gH as findUsers, gL as getUserCache, gM as getUserCacheSimple, gN as getUserPresignedUrl, gF as newUserPayload, gG as toUserPayload, gJ as updateUser, gS as updateUserDefaultDateformat, gQ as updateUserDefaultLanguage, gO as updateUserDefaultPage, gP as updateUserDefaultTheme, gR as updateUserDefaultTimezone, gU as updateUserLoginPush } from '../../../user_organisation_service-B_mpMXYI.js';
5
5
  import '../../../zod_utils/zod_base_schema.js';
6
6
  import '../../master/main/master_main_sim_provider_service.js';