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.
- package/dist/core/apiCall.js +1 -1
- package/dist/core/sdk-config.js +1 -1
- package/dist/services/account/alert_service.js +1 -1
- package/dist/services/account/analytics/user_login_analytics_service.d.ts +3 -3
- package/dist/services/account/analytics/user_login_analytics_service.js +1 -1
- package/dist/services/account/analytics/user_page_analytics_service.d.ts +1 -1
- package/dist/services/account/analytics/user_page_analytics_service.js +1 -1
- package/dist/services/account/bookmark_service.js +1 -1
- package/dist/services/account/notification_service.js +1 -1
- package/dist/services/account/ticket_service.js +1 -1
- package/dist/services/gps/features/fuel/gps_fuel_vehicle_daily_summary_service.d.ts +12 -12
- package/dist/services/gps/features/fuel/gps_fuel_vehicle_daily_summary_service.js +1 -1
- package/dist/services/gps/features/fuel/gps_fuel_vehicle_refill_service.d.ts +27 -27
- package/dist/services/gps/features/fuel/gps_fuel_vehicle_refill_service.js +1 -1
- package/dist/services/gps/features/fuel/gps_fuel_vehicle_removal_service.d.ts +22 -22
- package/dist/services/gps/features/fuel/gps_fuel_vehicle_removal_service.js +1 -1
- package/dist/services/gps/features/geofence/gps_geofence_data_service.d.ts +10 -10
- package/dist/services/gps/features/geofence/gps_geofence_data_service.js +1 -1
- package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +9 -9
- package/dist/services/gps/features/geofence/gps_geofence_transaction_service.js +1 -1
- package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +4 -4
- package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.js +1 -1
- package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +2 -2
- package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.js +1 -1
- package/dist/services/gps/features/gps_live_track_share_link_service.js +1 -1
- package/dist/services/gps/features/gps_track_history_share_link_service.js +1 -1
- package/dist/services/gps/reports/gps_reports_mongo_service.d.ts +43 -43
- package/dist/services/gps/reports/gps_reports_mongo_service.js +1 -1
- package/dist/services/main/devices/master_device_service.js +1 -1
- package/dist/services/main/drivers/master_driver_service.js +1 -1
- package/dist/services/main/sims/master_sim_service.js +1 -1
- package/dist/services/main/users/auth_service.js +1 -1
- package/dist/services/main/users/user_admin_service.js +1 -1
- package/dist/services/main/users/user_organisation_service.js +1 -1
- package/dist/services/main/users/user_service.js +1 -1
- package/dist/services/main/vehicle/childs/vehicle_odometer_history.js +1 -1
- package/dist/services/main/vehicle/master_vehicle_service.js +1 -1
- package/dist/services/master/device/master_device_manufacturer_service.js +1 -1
- package/dist/services/master/device/master_device_model_service.js +1 -1
- package/dist/services/master/device/master_device_type_service.js +1 -1
- package/dist/services/master/expense/master_expense_name_service.js +1 -1
- package/dist/services/master/expense/master_expense_type_service.js +1 -1
- package/dist/services/master/expense/master_vendor_type_service.js +1 -1
- package/dist/services/master/fleet/master_fleet_incident_severity_service.js +1 -1
- package/dist/services/master/fleet/master_fleet_incident_status_service.js +1 -1
- package/dist/services/master/fleet/master_fleet_incident_type_service.js +1 -1
- package/dist/services/master/fleet/master_fleet_insurance_claim_status_service.js +1 -1
- package/dist/services/master/fleet/master_fleet_service_task_service.js +1 -1
- package/dist/services/master/main/master_main_country_service.js +1 -1
- package/dist/services/master/main/master_main_currency_service.js +1 -1
- package/dist/services/master/main/master_main_date_format_service.js +1 -1
- package/dist/services/master/main/master_main_eway_bill_provider_service.d.ts +2 -2
- package/dist/services/master/main/master_main_eway_bill_provider_service.js +1 -1
- package/dist/services/master/main/master_main_fasttag_bank_service.d.ts +2 -2
- package/dist/services/master/main/master_main_fasttag_bank_service.js +1 -1
- package/dist/services/master/main/master_main_industry_service.js +1 -1
- package/dist/services/master/main/master_main_landmark_service.js +1 -1
- package/dist/services/master/main/master_main_language_service.js +1 -1
- package/dist/services/master/main/master_main_sim_provider_service.js +1 -1
- package/dist/services/master/main/master_main_state_service.js +1 -1
- package/dist/services/master/main/master_main_timezone_service.js +1 -1
- package/dist/services/master/main/master_main_unit_distance_service.js +1 -1
- package/dist/services/master/main/master_main_unit_mileage_service.js +1 -1
- package/dist/services/master/main/master_main_unit_volume_service.js +1 -1
- package/dist/services/master/organisation/organisation_branch_service.js +1 -1
- package/dist/services/master/organisation/organisation_color_service.js +1 -1
- package/dist/services/master/organisation/organisation_group_service.js +1 -1
- package/dist/services/master/organisation/organisation_sub_company_service.js +1 -1
- package/dist/services/master/organisation/organisation_tag_service.js +1 -1
- package/dist/services/master/spare_part/master_spare_part_category_service.js +1 -1
- package/dist/services/master/spare_part/master_spare_part_sub_category_service.js +1 -1
- package/dist/services/master/spare_part/master_spare_part_unit_service.js +1 -1
- package/dist/services/master/trip/master_trip_party_type_service.js +1 -1
- package/dist/services/master/tyre/master_tyre_grade_service.js +1 -1
- package/dist/services/master/tyre/master_tyre_make_service.js +1 -1
- package/dist/services/master/tyre/master_tyre_model_service.js +1 -1
- package/dist/services/master/user/master_user_role_service.js +1 -1
- package/dist/services/master/user/master_user_status_service.js +1 -1
- package/dist/services/master/vehicle/master_vehicle_fuel_type_service.js +1 -1
- package/dist/services/master/vehicle/master_vehicle_make_service.js +1 -1
- package/dist/services/master/vehicle/master_vehicle_model_service.js +1 -1
- package/dist/services/master/vehicle/master_vehicle_ownership_type_service.js +1 -1
- package/dist/services/master/vehicle/master_vehicle_status_type_service.js +1 -1
- package/dist/services/master/vehicle/master_vehicle_sub_model_service.js +1 -1
- package/dist/services/master/vehicle/master_vehicle_type_service.js +1 -1
- package/dist/services/website/contact_us_detail_service.js +1 -1
- package/dist/services/website/faq_service.js +1 -1
- package/dist/services/website/static_pages_service.js +1 -1
- 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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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": "
|
|
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
|
-
"./
|
|
51
|
-
"import": "./dist/
|
|
52
|
-
"require": "./dist/
|
|
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
|
-
"
|
|
64
|
-
"dist/
|
|
63
|
+
"zod_utils/*": [
|
|
64
|
+
"dist/zod_utils/*"
|
|
65
65
|
]
|
|
66
66
|
}
|
|
67
67
|
},
|