vms-nest-prisma-api-document 1.4.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 (89) 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.d.ts +3 -3
  5. package/dist/services/account/analytics/user_login_analytics_service.js +1 -1
  6. package/dist/services/account/analytics/user_page_analytics_service.d.ts +1 -1
  7. package/dist/services/account/analytics/user_page_analytics_service.js +1 -1
  8. package/dist/services/account/bookmark_service.js +1 -1
  9. package/dist/services/account/notification_service.js +1 -1
  10. package/dist/services/account/ticket_service.js +1 -1
  11. package/dist/services/gps/features/fuel/gps_fuel_vehicle_daily_summary_service.d.ts +12 -12
  12. package/dist/services/gps/features/fuel/gps_fuel_vehicle_daily_summary_service.js +1 -1
  13. package/dist/services/gps/features/fuel/gps_fuel_vehicle_refill_service.d.ts +27 -27
  14. package/dist/services/gps/features/fuel/gps_fuel_vehicle_refill_service.js +1 -1
  15. package/dist/services/gps/features/fuel/gps_fuel_vehicle_removal_service.d.ts +22 -22
  16. package/dist/services/gps/features/fuel/gps_fuel_vehicle_removal_service.js +1 -1
  17. package/dist/services/gps/features/geofence/gps_geofence_data_service.d.ts +10 -10
  18. package/dist/services/gps/features/geofence/gps_geofence_data_service.js +1 -1
  19. package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +9 -9
  20. package/dist/services/gps/features/geofence/gps_geofence_transaction_service.js +1 -1
  21. package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +4 -4
  22. package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.js +1 -1
  23. package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +2 -2
  24. package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.js +1 -1
  25. package/dist/services/gps/features/gps_live_track_share_link_service.js +1 -1
  26. package/dist/services/gps/features/gps_track_history_share_link_service.js +1 -1
  27. package/dist/services/gps/reports/gps_reports_mongo_service.d.ts +43 -43
  28. package/dist/services/gps/reports/gps_reports_mongo_service.js +1 -1
  29. package/dist/services/main/devices/master_device_service.js +1 -1
  30. package/dist/services/main/drivers/master_driver_service.js +1 -1
  31. package/dist/services/main/sims/master_sim_service.js +1 -1
  32. package/dist/services/main/users/auth_service.js +1 -1
  33. package/dist/services/main/users/user_admin_service.js +1 -1
  34. package/dist/services/main/users/user_organisation_service.js +1 -1
  35. package/dist/services/main/users/user_service.js +1 -1
  36. package/dist/services/main/vehicle/childs/vehicle_odometer_history.js +1 -1
  37. package/dist/services/main/vehicle/master_vehicle_service.js +1 -1
  38. package/dist/services/master/device/master_device_manufacturer_service.js +1 -1
  39. package/dist/services/master/device/master_device_model_service.js +1 -1
  40. package/dist/services/master/device/master_device_type_service.js +1 -1
  41. package/dist/services/master/expense/master_expense_name_service.js +1 -1
  42. package/dist/services/master/expense/master_expense_type_service.js +1 -1
  43. package/dist/services/master/expense/master_vendor_type_service.js +1 -1
  44. package/dist/services/master/fleet/master_fleet_incident_severity_service.js +1 -1
  45. package/dist/services/master/fleet/master_fleet_incident_status_service.js +1 -1
  46. package/dist/services/master/fleet/master_fleet_incident_type_service.js +1 -1
  47. package/dist/services/master/fleet/master_fleet_insurance_claim_status_service.js +1 -1
  48. package/dist/services/master/fleet/master_fleet_service_task_service.js +1 -1
  49. package/dist/services/master/main/master_main_country_service.js +1 -1
  50. package/dist/services/master/main/master_main_currency_service.js +1 -1
  51. package/dist/services/master/main/master_main_date_format_service.js +1 -1
  52. package/dist/services/master/main/master_main_eway_bill_provider_service.d.ts +2 -2
  53. package/dist/services/master/main/master_main_eway_bill_provider_service.js +1 -1
  54. package/dist/services/master/main/master_main_fasttag_bank_service.d.ts +2 -2
  55. package/dist/services/master/main/master_main_fasttag_bank_service.js +1 -1
  56. package/dist/services/master/main/master_main_industry_service.js +1 -1
  57. package/dist/services/master/main/master_main_landmark_service.js +1 -1
  58. package/dist/services/master/main/master_main_language_service.js +1 -1
  59. package/dist/services/master/main/master_main_sim_provider_service.js +1 -1
  60. package/dist/services/master/main/master_main_state_service.js +1 -1
  61. package/dist/services/master/main/master_main_timezone_service.js +1 -1
  62. package/dist/services/master/main/master_main_unit_distance_service.js +1 -1
  63. package/dist/services/master/main/master_main_unit_mileage_service.js +1 -1
  64. package/dist/services/master/main/master_main_unit_volume_service.js +1 -1
  65. package/dist/services/master/organisation/organisation_branch_service.js +1 -1
  66. package/dist/services/master/organisation/organisation_color_service.js +1 -1
  67. package/dist/services/master/organisation/organisation_group_service.js +1 -1
  68. package/dist/services/master/organisation/organisation_sub_company_service.js +1 -1
  69. package/dist/services/master/organisation/organisation_tag_service.js +1 -1
  70. package/dist/services/master/spare_part/master_spare_part_category_service.js +1 -1
  71. package/dist/services/master/spare_part/master_spare_part_sub_category_service.js +1 -1
  72. package/dist/services/master/spare_part/master_spare_part_unit_service.js +1 -1
  73. package/dist/services/master/trip/master_trip_party_type_service.js +1 -1
  74. package/dist/services/master/tyre/master_tyre_grade_service.js +1 -1
  75. package/dist/services/master/tyre/master_tyre_make_service.js +1 -1
  76. package/dist/services/master/tyre/master_tyre_model_service.js +1 -1
  77. package/dist/services/master/user/master_user_role_service.js +1 -1
  78. package/dist/services/master/user/master_user_status_service.js +1 -1
  79. package/dist/services/master/vehicle/master_vehicle_fuel_type_service.js +1 -1
  80. package/dist/services/master/vehicle/master_vehicle_make_service.js +1 -1
  81. package/dist/services/master/vehicle/master_vehicle_model_service.js +1 -1
  82. package/dist/services/master/vehicle/master_vehicle_ownership_type_service.js +1 -1
  83. package/dist/services/master/vehicle/master_vehicle_status_type_service.js +1 -1
  84. package/dist/services/master/vehicle/master_vehicle_sub_model_service.js +1 -1
  85. package/dist/services/master/vehicle/master_vehicle_type_service.js +1 -1
  86. package/dist/services/website/contact_us_detail_service.js +1 -1
  87. package/dist/services/website/faq_service.js +1 -1
  88. package/dist/services/website/static_pages_service.js +1 -1
  89. package/package.json +6 -6
@@ -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.4.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",
@@ -47,9 +47,9 @@
47
47
  "import": "./dist/core/*",
48
48
  "require": "./dist/core/*"
49
49
  },
50
- "./zod/*": {
51
- "import": "./dist/zod/*",
52
- "require": "./dist/zod/*"
50
+ "./zod_utils/*": {
51
+ "import": "./dist/zod_utils/*",
52
+ "require": "./dist/zod_utils/*"
53
53
  }
54
54
  },
55
55
  "typesVersions": {
@@ -60,8 +60,8 @@
60
60
  "core/*": [
61
61
  "dist/core/*"
62
62
  ],
63
- "zod/*": [
64
- "dist/zod/*"
63
+ "zod_utils/*": [
64
+ "dist/zod_utils/*"
65
65
  ]
66
66
  }
67
67
  },