vms-nest-prisma-api-document 1.5.0 → 2.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 (83) hide show
  1. package/dist/core/apiCall.js +1 -1
  2. package/dist/core/sdk-config.js +1 -1
  3. package/dist/services/account/alert_service.js +1 -1
  4. package/dist/services/account/analytics/user_login_analytics_service.js +1 -1
  5. package/dist/services/account/analytics/user_page_analytics_service.js +1 -1
  6. package/dist/services/account/bookmark_service.js +1 -1
  7. package/dist/services/account/notification_service.js +1 -1
  8. package/dist/services/account/ticket_service.js +1 -1
  9. package/dist/services/gps/features/fuel/gps_fuel_vehicle_daily_summary_service.js +1 -1
  10. package/dist/services/gps/features/fuel/gps_fuel_vehicle_refill_service.js +1 -1
  11. package/dist/services/gps/features/fuel/gps_fuel_vehicle_removal_service.js +1 -1
  12. package/dist/services/gps/features/geofence/gps_geofence_data_service.d.ts +10 -10
  13. package/dist/services/gps/features/geofence/gps_geofence_data_service.js +1 -1
  14. package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +9 -9
  15. package/dist/services/gps/features/geofence/gps_geofence_transaction_service.js +1 -1
  16. package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +4 -4
  17. package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.js +1 -1
  18. package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +2 -2
  19. package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.js +1 -1
  20. package/dist/services/gps/features/gps_live_track_share_link_service.d.ts +16 -16
  21. package/dist/services/gps/features/gps_live_track_share_link_service.js +1 -1
  22. package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +9 -9
  23. package/dist/services/gps/features/gps_track_history_share_link_service.js +1 -1
  24. package/dist/services/gps/reports/gps_reports_mongo_service.js +1 -1
  25. package/dist/services/main/devices/master_device_service.js +1 -1
  26. package/dist/services/main/drivers/master_driver_service.js +1 -1
  27. package/dist/services/main/sims/master_sim_service.js +1 -1
  28. package/dist/services/main/users/auth_service.js +1 -1
  29. package/dist/services/main/users/user_admin_service.js +1 -1
  30. package/dist/services/main/users/user_organisation_service.js +1 -1
  31. package/dist/services/main/users/user_service.js +1 -1
  32. package/dist/services/main/vehicle/childs/vehicle_odometer_history.js +1 -1
  33. package/dist/services/main/vehicle/master_vehicle_service.js +1 -1
  34. package/dist/services/master/device/master_device_manufacturer_service.js +1 -1
  35. package/dist/services/master/device/master_device_model_service.js +1 -1
  36. package/dist/services/master/device/master_device_type_service.js +1 -1
  37. package/dist/services/master/expense/master_expense_name_service.js +1 -1
  38. package/dist/services/master/expense/master_expense_type_service.js +1 -1
  39. package/dist/services/master/expense/master_vendor_type_service.js +1 -1
  40. package/dist/services/master/fleet/master_fleet_incident_severity_service.js +1 -1
  41. package/dist/services/master/fleet/master_fleet_incident_status_service.js +1 -1
  42. package/dist/services/master/fleet/master_fleet_incident_type_service.js +1 -1
  43. package/dist/services/master/fleet/master_fleet_insurance_claim_status_service.js +1 -1
  44. package/dist/services/master/fleet/master_fleet_service_task_service.js +1 -1
  45. package/dist/services/master/main/master_main_country_service.js +1 -1
  46. package/dist/services/master/main/master_main_currency_service.js +1 -1
  47. package/dist/services/master/main/master_main_date_format_service.js +1 -1
  48. package/dist/services/master/main/master_main_eway_bill_provider_service.js +1 -1
  49. package/dist/services/master/main/master_main_fasttag_bank_service.js +1 -1
  50. package/dist/services/master/main/master_main_industry_service.js +1 -1
  51. package/dist/services/master/main/master_main_landmark_service.js +1 -1
  52. package/dist/services/master/main/master_main_language_service.js +1 -1
  53. package/dist/services/master/main/master_main_sim_provider_service.js +1 -1
  54. package/dist/services/master/main/master_main_state_service.js +1 -1
  55. package/dist/services/master/main/master_main_timezone_service.js +1 -1
  56. package/dist/services/master/main/master_main_unit_distance_service.js +1 -1
  57. package/dist/services/master/main/master_main_unit_mileage_service.js +1 -1
  58. package/dist/services/master/main/master_main_unit_volume_service.js +1 -1
  59. package/dist/services/master/organisation/organisation_branch_service.js +1 -1
  60. package/dist/services/master/organisation/organisation_color_service.js +1 -1
  61. package/dist/services/master/organisation/organisation_group_service.js +1 -1
  62. package/dist/services/master/organisation/organisation_sub_company_service.js +1 -1
  63. package/dist/services/master/organisation/organisation_tag_service.js +1 -1
  64. package/dist/services/master/spare_part/master_spare_part_category_service.js +1 -1
  65. package/dist/services/master/spare_part/master_spare_part_sub_category_service.js +1 -1
  66. package/dist/services/master/spare_part/master_spare_part_unit_service.js +1 -1
  67. package/dist/services/master/trip/master_trip_party_type_service.js +1 -1
  68. package/dist/services/master/tyre/master_tyre_grade_service.js +1 -1
  69. package/dist/services/master/tyre/master_tyre_make_service.js +1 -1
  70. package/dist/services/master/tyre/master_tyre_model_service.js +1 -1
  71. package/dist/services/master/user/master_user_role_service.js +1 -1
  72. package/dist/services/master/user/master_user_status_service.js +1 -1
  73. package/dist/services/master/vehicle/master_vehicle_fuel_type_service.js +1 -1
  74. package/dist/services/master/vehicle/master_vehicle_make_service.js +1 -1
  75. package/dist/services/master/vehicle/master_vehicle_model_service.js +1 -1
  76. package/dist/services/master/vehicle/master_vehicle_ownership_type_service.js +1 -1
  77. package/dist/services/master/vehicle/master_vehicle_status_type_service.js +1 -1
  78. package/dist/services/master/vehicle/master_vehicle_sub_model_service.js +1 -1
  79. package/dist/services/master/vehicle/master_vehicle_type_service.js +1 -1
  80. package/dist/services/website/contact_us_detail_service.js +1 -1
  81. package/dist/services/website/faq_service.js +1 -1
  82. package/dist/services/website/static_pages_service.js +1 -1
  83. package/package.json +1 -1
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -5,7 +5,7 @@ var setAxiosInstance = (instance) => {
5
5
  };
6
6
  var getAxiosInstance = () => {
7
7
  if (!axiosInstance) {
8
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
8
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
9
9
  }
10
10
  return axiosInstance;
11
11
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -59,8 +59,6 @@ declare const GPSGeofenceDataSchema: z.ZodObject<{
59
59
  geofence_purpose_type: z.ZodType<GeofencePurposeType, z.ZodTypeDef, GeofencePurposeType>;
60
60
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
61
61
  }, "strip", z.ZodTypeAny, {
62
- status: Status;
63
- organisation_id: string;
64
62
  geofence_name: string;
65
63
  location_name: string;
66
64
  geofence_type: GeofenceType;
@@ -70,19 +68,21 @@ declare const GPSGeofenceDataSchema: z.ZodObject<{
70
68
  }[];
71
69
  geofence_description: string;
72
70
  geofence_purpose_type: GeofencePurposeType;
71
+ status: Status;
72
+ organisation_id: string;
73
+ radius_km?: number | undefined;
73
74
  latitude?: number | undefined;
74
75
  longitude?: number | undefined;
75
- radius_km?: number | undefined;
76
76
  }, {
77
- status: Status;
78
- organisation_id: string;
79
77
  geofence_name: string;
80
78
  location_name: string;
81
79
  geofence_type: GeofenceType;
82
80
  geofence_purpose_type: GeofencePurposeType;
81
+ status: Status;
82
+ organisation_id: string;
83
+ radius_km?: unknown;
83
84
  latitude?: unknown;
84
85
  longitude?: unknown;
85
- radius_km?: unknown;
86
86
  poliline_data?: {
87
87
  latitude?: unknown;
88
88
  longitude?: unknown;
@@ -125,6 +125,8 @@ declare const GPSGeofenceDataQuerySchema: z.ZodObject<{
125
125
  geofence_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof GeofenceType>, "many">>>;
126
126
  geofence_purpose_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof GeofencePurposeType>, "many">>>;
127
127
  }, "strip", z.ZodTypeAny, {
128
+ geofence_type: GeofenceType[];
129
+ geofence_purpose_type: GeofencePurposeType[];
128
130
  status: Status[];
129
131
  search: string;
130
132
  paging: PAGING;
@@ -147,11 +149,11 @@ declare const GPSGeofenceDataQuerySchema: z.ZodObject<{
147
149
  date_format_id: string;
148
150
  time_zone_id: string;
149
151
  organisation_ids: string[];
150
- geofence_type: GeofenceType[];
151
- geofence_purpose_type: GeofencePurposeType[];
152
152
  }, {
153
153
  date_format_id: string;
154
154
  time_zone_id: string;
155
+ geofence_type?: GeofenceType[] | undefined;
156
+ geofence_purpose_type?: GeofencePurposeType[] | undefined;
155
157
  status?: Status[] | undefined;
156
158
  search?: string | undefined;
157
159
  paging?: PAGING | undefined;
@@ -172,8 +174,6 @@ declare const GPSGeofenceDataQuerySchema: z.ZodObject<{
172
174
  }[] | undefined;
173
175
  include_master_data?: YesNo | undefined;
174
176
  organisation_ids?: string[] | undefined;
175
- geofence_type?: GeofenceType[] | undefined;
176
- geofence_purpose_type?: GeofencePurposeType[] | undefined;
177
177
  }>;
178
178
  type GPSGeofenceDataQueryDTO = z.infer<typeof GPSGeofenceDataQuerySchema>;
179
179
  declare const toGPSGeofenceDataPayload: (data: GPSGeofenceData) => GPSGeofenceDataDTO;
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -31,21 +31,21 @@ declare const GPSGeofenceTransactionSchema: z.ZodObject<{
31
31
  geofence_time: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
32
32
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
33
33
  }, "strip", z.ZodTypeAny, {
34
- geofence_status_type: GeofenceStatusType;
35
- geofence_time: string;
34
+ gps_geofence_id: string;
36
35
  status: Status;
37
36
  organisation_id: string;
38
- vehicle_id: string;
39
37
  driver_id: string;
40
- gps_geofence_id: string;
41
- }, {
38
+ vehicle_id: string;
42
39
  geofence_status_type: GeofenceStatusType;
43
40
  geofence_time: string;
41
+ }, {
42
+ gps_geofence_id: string;
44
43
  status: Status;
45
44
  organisation_id: string;
46
- vehicle_id: string;
47
45
  driver_id: string;
48
- gps_geofence_id: string;
46
+ vehicle_id: string;
47
+ geofence_status_type: GeofenceStatusType;
48
+ geofence_time: string;
49
49
  }>;
50
50
  type GPSGeofenceTransactionDTO = z.infer<typeof GPSGeofenceTransactionSchema>;
51
51
  declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
@@ -85,7 +85,6 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
85
85
  gps_geofence_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
86
86
  geofence_status_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof GeofenceStatusType>, "many">>>;
87
87
  }, "strip", z.ZodTypeAny, {
88
- geofence_status_type: GeofenceStatusType[];
89
88
  status: Status[];
90
89
  search: string;
91
90
  paging: PAGING;
@@ -110,11 +109,11 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
110
109
  organisation_ids: string[];
111
110
  vehicle_ids: string[];
112
111
  driver_ids: string[];
112
+ geofence_status_type: GeofenceStatusType[];
113
113
  gps_geofence_ids: string[];
114
114
  }, {
115
115
  date_format_id: string;
116
116
  time_zone_id: string;
117
- geofence_status_type?: GeofenceStatusType[] | undefined;
118
117
  status?: Status[] | undefined;
119
118
  search?: string | undefined;
120
119
  paging?: PAGING | undefined;
@@ -137,6 +136,7 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
137
136
  organisation_ids?: string[] | undefined;
138
137
  vehicle_ids?: string[] | undefined;
139
138
  driver_ids?: string[] | undefined;
139
+ geofence_status_type?: GeofenceStatusType[] | undefined;
140
140
  gps_geofence_ids?: string[] | undefined;
141
141
  }>;
142
142
  type GPSGeofenceTransactionQueryDTO = z.infer<typeof GPSGeofenceTransactionQuerySchema>;
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -40,22 +40,22 @@ declare const GPSGeofenceTransactionSummarySchema: z.ZodObject<{
40
40
  duration_seconds: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
41
41
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
42
42
  }, "strip", z.ZodTypeAny, {
43
+ gps_geofence_id: string;
43
44
  status: Status;
44
45
  organisation_id: string;
45
- vehicle_id: string;
46
46
  driver_id: string;
47
- gps_geofence_id: string;
47
+ vehicle_id: string;
48
48
  geofence_enter_date_time: string;
49
49
  geofence_exit_date_time: string;
50
50
  duration_seconds: number;
51
51
  enter_gps_geofence_transaction_id: string;
52
52
  exit_gps_geofence_transaction_id: string;
53
53
  }, {
54
+ gps_geofence_id: string;
54
55
  status: Status;
55
56
  organisation_id: string;
56
- vehicle_id: string;
57
57
  driver_id: string;
58
- 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;
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -64,8 +64,8 @@ declare const TripGeofenceToGeofenceSchema: z.ZodObject<{
64
64
  }, "strip", z.ZodTypeAny, {
65
65
  status: Status;
66
66
  organisation_id: string;
67
- vehicle_id: string;
68
67
  driver_id: string;
68
+ vehicle_id: string;
69
69
  duration_seconds: number;
70
70
  from_geofence_exit_date_time: string;
71
71
  to_geofence_enter_date_time: string;
@@ -87,8 +87,8 @@ declare const TripGeofenceToGeofenceSchema: z.ZodObject<{
87
87
  }, {
88
88
  status: Status;
89
89
  organisation_id: string;
90
- vehicle_id: string;
91
90
  driver_id: string;
91
+ vehicle_id: string;
92
92
  from_geofence_exit_date_time: string;
93
93
  to_geofence_enter_date_time: string;
94
94
  from_geofence_id: string;
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -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;
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -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>;
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
@@ -2,7 +2,7 @@
2
2
  var axiosInstance;
3
3
  var getAxiosInstance = () => {
4
4
  if (!axiosInstance) {
5
- throw new Error("\u274C Axios instance not configured. Call setupSdk() first.");
5
+ throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
6
6
  }
7
7
  return axiosInstance;
8
8
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vms-nest-prisma-api-document",
3
- "version": "1.5.0",
3
+ "version": "2.0.0",
4
4
  "description": "Reusable API SDK built with NestJS, Prisma, Axios, and Zod for VMS frontends.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",