vms-nest-prisma-api-document 1.1.7 → 1.2.1
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/BaseRequest.js +28 -2
- package/dist/core/BaseResponse.js +27 -2
- package/dist/core/Enums.js +93 -2
- package/dist/core/apiCall.js +32 -2
- package/dist/core/sdk-config.js +28 -2
- package/dist/index.js +1 -0
- package/dist/services/account/alert_service.d.ts +32 -32
- package/dist/services/account/alert_service.js +84 -58
- package/dist/services/account/analytics/user_login_analytics_service.js +49 -21
- package/dist/services/account/analytics/user_page_analytics_service.js +47 -14
- package/dist/services/account/bookmark_service.d.ts +9 -9
- package/dist/services/account/bookmark_service.js +59 -33
- package/dist/services/account/notification_service.d.ts +6 -6
- package/dist/services/account/notification_service.js +64 -39
- package/dist/services/account/ticket_service.d.ts +3 -3
- package/dist/services/account/ticket_service.js +70 -44
- package/dist/services/gps/features/fuel/gps_fuel_vehicle_daily_summary_service.d.ts +1 -1
- package/dist/services/gps/features/fuel/gps_fuel_vehicle_daily_summary_service.js +71 -44
- package/dist/services/gps/features/fuel/gps_fuel_vehicle_refill_service.d.ts +11 -11
- package/dist/services/gps/features/fuel/gps_fuel_vehicle_refill_service.js +73 -52
- package/dist/services/gps/features/fuel/gps_fuel_vehicle_removal_service.d.ts +11 -11
- package/dist/services/gps/features/fuel/gps_fuel_vehicle_removal_service.js +73 -52
- package/dist/services/gps/features/geofence/gps_geofence_data_service.d.ts +11 -11
- package/dist/services/gps/features/geofence/gps_geofence_data_service.js +61 -38
- package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +10 -10
- package/dist/services/gps/features/geofence/gps_geofence_transaction_service.js +54 -28
- package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +5 -5
- package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.js +57 -31
- package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +3 -3
- package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.js +70 -45
- package/dist/services/gps/features/gps_live_track_share_link_service.d.ts +17 -17
- package/dist/services/gps/features/gps_live_track_share_link_service.js +74 -47
- package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +10 -10
- package/dist/services/gps/features/gps_track_history_share_link_service.js +62 -35
- package/dist/services/gps/reports/gps_models/DashboardSummaryReport.js +18 -0
- package/dist/services/gps/reports/gps_models/FuelConsumptionMonthly.js +18 -0
- package/dist/services/gps/reports/gps_models/GPSOverSpeedViolation.js +18 -0
- package/dist/services/gps/reports/gps_models/GpsAnalytics.js +18 -0
- package/dist/services/gps/reports/gps_models/GpsPacket.js +18 -0
- package/dist/services/gps/reports/gps_models/GpsSensor.js +18 -0
- package/dist/services/gps/reports/gps_models/HourlyKmAnalysis.js +18 -0
- package/dist/services/gps/reports/gps_models/KilometerMonthly.js +18 -0
- package/dist/services/gps/reports/gps_models/Last24HoursKmReport.js +18 -0
- package/dist/services/gps/reports/gps_models/OverSpeedViolationMonthly.js +18 -0
- package/dist/services/gps/reports/gps_reports_mongo_service.d.ts +43 -43
- package/dist/services/gps/reports/gps_reports_mongo_service.js +111 -70
- package/dist/services/gps/reports/gps_reports_postgre_service.js +1 -0
- package/dist/services/main/devices/master_device_service.d.ts +1 -1
- package/dist/services/main/devices/master_device_service.js +69 -38
- package/dist/services/main/drivers/master_driver_service.d.ts +1 -1
- package/dist/services/main/drivers/master_driver_service.js +73 -43
- package/dist/services/main/sims/master_sim_service.d.ts +1 -1
- package/dist/services/main/sims/master_sim_service.js +54 -27
- package/dist/services/main/users/auth_service.d.ts +1 -1
- package/dist/services/main/users/auth_service.js +47 -15
- package/dist/services/main/users/user_admin_service.js +52 -21
- package/dist/services/main/users/user_organisation_service.d.ts +1 -1
- package/dist/services/main/users/user_organisation_service.js +88 -59
- package/dist/services/main/users/user_service.d.ts +1 -1
- package/dist/services/main/users/user_service.js +142 -98
- package/dist/services/main/vehicle/childs/vehicle_odometer_history.d.ts +1 -1
- package/dist/services/main/vehicle/childs/vehicle_odometer_history.js +52 -24
- package/dist/services/main/vehicle/master_vehicle_service.d.ts +1 -1
- package/dist/services/main/vehicle/master_vehicle_service.js +282 -227
- package/dist/services/master/device/master_device_manufacturer_service.d.ts +1 -1
- package/dist/services/master/device/master_device_manufacturer_service.js +48 -16
- package/dist/services/master/device/master_device_model_service.d.ts +1 -1
- package/dist/services/master/device/master_device_model_service.js +50 -19
- package/dist/services/master/device/master_device_type_service.d.ts +1 -1
- package/dist/services/master/device/master_device_type_service.js +53 -22
- package/dist/services/master/expense/master_expense_name_service.d.ts +1 -1
- package/dist/services/master/expense/master_expense_name_service.js +49 -20
- package/dist/services/master/expense/master_expense_type_service.d.ts +1 -1
- package/dist/services/master/expense/master_expense_type_service.js +47 -17
- package/dist/services/master/expense/master_vendor_type_service.d.ts +1 -1
- package/dist/services/master/expense/master_vendor_type_service.js +48 -19
- package/dist/services/master/fleet/master_fleet_incident_severity_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_incident_severity_service.js +47 -17
- package/dist/services/master/fleet/master_fleet_incident_status_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_incident_status_service.js +47 -17
- package/dist/services/master/fleet/master_fleet_incident_type_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_incident_type_service.js +47 -17
- package/dist/services/master/fleet/master_fleet_insurance_claim_status_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_insurance_claim_status_service.js +47 -17
- package/dist/services/master/fleet/master_fleet_service_task_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_service_task_service.js +47 -17
- package/dist/services/master/main/master_main_country_service.d.ts +1 -1
- package/dist/services/master/main/master_main_country_service.js +48 -16
- package/dist/services/master/main/master_main_currency_service.d.ts +1 -1
- package/dist/services/master/main/master_main_currency_service.js +49 -20
- package/dist/services/master/main/master_main_date_format_service.d.ts +1 -1
- package/dist/services/master/main/master_main_date_format_service.js +46 -15
- 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 +46 -16
- 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 +46 -16
- package/dist/services/master/main/master_main_industry_service.d.ts +1 -1
- package/dist/services/master/main/master_main_industry_service.js +46 -16
- package/dist/services/master/main/master_main_landmark_service.d.ts +1 -1
- package/dist/services/master/main/master_main_landmark_service.js +55 -28
- package/dist/services/master/main/master_main_language_service.d.ts +1 -1
- package/dist/services/master/main/master_main_language_service.js +46 -15
- package/dist/services/master/main/master_main_sim_provider_service.js +46 -15
- package/dist/services/master/main/master_main_state_service.d.ts +1 -1
- package/dist/services/master/main/master_main_state_service.js +48 -19
- package/dist/services/master/main/master_main_timezone_service.d.ts +1 -1
- package/dist/services/master/main/master_main_timezone_service.js +51 -22
- package/dist/services/master/main/master_main_unit_distance_service.d.ts +1 -1
- package/dist/services/master/main/master_main_unit_distance_service.js +46 -15
- package/dist/services/master/main/master_main_unit_mileage_service.d.ts +1 -1
- package/dist/services/master/main/master_main_unit_mileage_service.js +46 -15
- package/dist/services/master/main/master_main_unit_volume_service.d.ts +1 -1
- package/dist/services/master/main/master_main_unit_volume_service.js +46 -15
- package/dist/services/master/organisation/organisation_branch_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_branch_service.js +51 -19
- package/dist/services/master/organisation/organisation_color_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_color_service.js +50 -18
- package/dist/services/master/organisation/organisation_group_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_group_service.js +51 -19
- package/dist/services/master/organisation/organisation_sub_company_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_sub_company_service.js +52 -21
- package/dist/services/master/organisation/organisation_tag_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_tag_service.js +49 -17
- package/dist/services/master/spare_part/master_spare_part_category_service.d.ts +1 -1
- package/dist/services/master/spare_part/master_spare_part_category_service.js +51 -18
- package/dist/services/master/spare_part/master_spare_part_sub_category_service.d.ts +1 -1
- package/dist/services/master/spare_part/master_spare_part_sub_category_service.js +50 -20
- package/dist/services/master/spare_part/master_spare_part_unit_service.d.ts +1 -1
- package/dist/services/master/spare_part/master_spare_part_unit_service.js +48 -18
- package/dist/services/master/trip/master_trip_party_type_service.d.ts +1 -1
- package/dist/services/master/trip/master_trip_party_type_service.js +47 -17
- package/dist/services/master/tyre/master_tyre_grade_service.d.ts +1 -1
- package/dist/services/master/tyre/master_tyre_grade_service.js +47 -17
- package/dist/services/master/tyre/master_tyre_make_service.d.ts +1 -1
- package/dist/services/master/tyre/master_tyre_make_service.js +50 -17
- package/dist/services/master/tyre/master_tyre_model_service.d.ts +1 -1
- package/dist/services/master/tyre/master_tyre_model_service.js +49 -19
- package/dist/services/master/user/master_user_role_service.d.ts +1 -1
- package/dist/services/master/user/master_user_role_service.js +47 -17
- package/dist/services/master/user/master_user_status_service.d.ts +1 -1
- package/dist/services/master/user/master_user_status_service.js +47 -17
- package/dist/services/master/vehicle/master_vehicle_fuel_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_fuel_type_service.js +47 -17
- package/dist/services/master/vehicle/master_vehicle_make_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_make_service.js +49 -17
- package/dist/services/master/vehicle/master_vehicle_model_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_model_service.js +49 -19
- package/dist/services/master/vehicle/master_vehicle_ownership_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_ownership_type_service.js +47 -17
- package/dist/services/master/vehicle/master_vehicle_status_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_status_type_service.js +47 -17
- package/dist/services/master/vehicle/master_vehicle_sub_model_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_sub_model_service.js +51 -21
- package/dist/services/master/vehicle/master_vehicle_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_type_service.js +49 -17
- package/dist/services/website/contact_us_detail_service.js +53 -23
- package/dist/services/website/faq_service.js +46 -16
- package/dist/services/website/static_pages_service.js +47 -17
- package/dist/zod/zod_base_schema.js +47 -20
- package/dist/zod/zod_utils.js +108 -49
- package/package.json +2 -2
- package/dist/{user_organisation_service-umUoNvpJ.d.ts → user_organisation_service-CNOJPhQD.d.ts} +20 -20
|
@@ -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-
|
|
4
|
+
import { U as UserOrganisation, M as MasterVehicle } from '../../../user_organisation_service-CNOJPhQD.js';
|
|
5
5
|
import 'zod/zod_base_schema';
|
|
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;
|
|
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>;
|
|
@@ -1,3 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/services/gps/features/gps_track_history_share_link_service.ts
|
|
21
|
+
var gps_track_history_share_link_service_exports = {};
|
|
22
|
+
__export(gps_track_history_share_link_service_exports, {
|
|
23
|
+
GPSTrackHistoryShareLinkNotificationsSchema: () => GPSTrackHistoryShareLinkNotificationsSchema,
|
|
24
|
+
GPSTrackHistoryShareLinkQuerySchema: () => GPSTrackHistoryShareLinkQuerySchema,
|
|
25
|
+
GPSTrackHistoryShareLinkSchema: () => GPSTrackHistoryShareLinkSchema,
|
|
26
|
+
createGPSTrackHistoryNotification: () => createGPSTrackHistoryNotification,
|
|
27
|
+
createGPSTrackHistoryShareLink: () => createGPSTrackHistoryShareLink,
|
|
28
|
+
deleteGPSTrackHistoryShareLink: () => deleteGPSTrackHistoryShareLink,
|
|
29
|
+
findGPSTrackHistoryShareLinks: () => findGPSTrackHistoryShareLinks,
|
|
30
|
+
newGPSTrackHistoryShareLinkPayload: () => newGPSTrackHistoryShareLinkPayload,
|
|
31
|
+
toGPSTrackHistoryShareLinkPayload: () => toGPSTrackHistoryShareLinkPayload,
|
|
32
|
+
updateGPSTrackHistoryShareLink: () => updateGPSTrackHistoryShareLink
|
|
33
|
+
});
|
|
34
|
+
module.exports = __toCommonJS(gps_track_history_share_link_service_exports);
|
|
35
|
+
|
|
1
36
|
// src/core/sdk-config.ts
|
|
2
37
|
var axiosInstance;
|
|
3
38
|
var getAxiosInstance = () => {
|
|
@@ -22,18 +57,9 @@ var apiDelete = async (url) => {
|
|
|
22
57
|
};
|
|
23
58
|
|
|
24
59
|
// src/services/gps/features/gps_track_history_share_link_service.ts
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
enumMandatory,
|
|
29
|
-
enumArrayOptional,
|
|
30
|
-
single_select_optional,
|
|
31
|
-
single_select_mandatory,
|
|
32
|
-
multi_select_optional,
|
|
33
|
-
getAllEnums,
|
|
34
|
-
nestedArrayOfObjectsOptional
|
|
35
|
-
} from "zod/zod_utils";
|
|
36
|
-
import { BaseQuerySchema } from "zod/zod_base_schema";
|
|
60
|
+
var import_zod = require("zod");
|
|
61
|
+
var import_zod_utils = require("zod/zod_utils");
|
|
62
|
+
var import_zod_base_schema = require("zod/zod_base_schema");
|
|
37
63
|
|
|
38
64
|
// src/core/Enums.ts
|
|
39
65
|
var Status = /* @__PURE__ */ ((Status2) => {
|
|
@@ -63,44 +89,44 @@ var ENDPOINTS = {
|
|
|
63
89
|
delete: (id) => `${URL}/${id}`,
|
|
64
90
|
createNotification: `${URL}/create_notifications`
|
|
65
91
|
};
|
|
66
|
-
var GPSTrackHistoryShareLinkNotificationsSchema = z.object({
|
|
67
|
-
organisation_id: single_select_optional("Organisation ID"),
|
|
68
|
-
gps_track_history_share_link_id: single_select_optional(
|
|
92
|
+
var GPSTrackHistoryShareLinkNotificationsSchema = import_zod.z.object({
|
|
93
|
+
organisation_id: (0, import_zod_utils.single_select_optional)("Organisation ID"),
|
|
94
|
+
gps_track_history_share_link_id: (0, import_zod_utils.single_select_optional)(
|
|
69
95
|
"GPS Track History Share Link ID"
|
|
70
96
|
),
|
|
71
|
-
type: enumMandatory("Type", NotificationType, "Email" /* Email */),
|
|
72
|
-
to_recipients: stringMandatory("To Recipients", 3, 500),
|
|
73
|
-
status: enumMandatory("Status", Status, "Active" /* Active */)
|
|
97
|
+
type: (0, import_zod_utils.enumMandatory)("Type", NotificationType, "Email" /* Email */),
|
|
98
|
+
to_recipients: (0, import_zod_utils.stringMandatory)("To Recipients", 3, 500),
|
|
99
|
+
status: (0, import_zod_utils.enumMandatory)("Status", Status, "Active" /* Active */)
|
|
74
100
|
});
|
|
75
|
-
var GPSTrackHistoryShareLinkSchema = z.object({
|
|
76
|
-
organisation_id: single_select_mandatory("Organisation ID"),
|
|
77
|
-
vehicle_id: single_select_mandatory("MasterVehicle ID"),
|
|
78
|
-
trip_id: single_select_optional("Trip ID"),
|
|
79
|
-
from_date_time: stringMandatory("From Date Time"),
|
|
80
|
-
to_date_time: stringMandatory("To Date Time"),
|
|
81
|
-
link_status: enumMandatory(
|
|
101
|
+
var GPSTrackHistoryShareLinkSchema = import_zod.z.object({
|
|
102
|
+
organisation_id: (0, import_zod_utils.single_select_mandatory)("Organisation ID"),
|
|
103
|
+
vehicle_id: (0, import_zod_utils.single_select_mandatory)("MasterVehicle ID"),
|
|
104
|
+
trip_id: (0, import_zod_utils.single_select_optional)("Trip ID"),
|
|
105
|
+
from_date_time: (0, import_zod_utils.stringMandatory)("From Date Time"),
|
|
106
|
+
to_date_time: (0, import_zod_utils.stringMandatory)("To Date Time"),
|
|
107
|
+
link_status: (0, import_zod_utils.enumMandatory)(
|
|
82
108
|
"Track History Link Status",
|
|
83
109
|
TrackHistoryLinkStatus,
|
|
84
110
|
"Active" /* Active */
|
|
85
111
|
),
|
|
86
|
-
status: enumMandatory("Status", Status, "Active" /* Active */),
|
|
87
|
-
notifications: nestedArrayOfObjectsOptional(
|
|
112
|
+
status: (0, import_zod_utils.enumMandatory)("Status", Status, "Active" /* Active */),
|
|
113
|
+
notifications: (0, import_zod_utils.nestedArrayOfObjectsOptional)(
|
|
88
114
|
"Notifications",
|
|
89
115
|
GPSTrackHistoryShareLinkNotificationsSchema,
|
|
90
116
|
[]
|
|
91
117
|
)
|
|
92
118
|
});
|
|
93
|
-
var GPSTrackHistoryShareLinkQuerySchema = BaseQuerySchema.extend({
|
|
94
|
-
organisation_ids: multi_select_optional("User Organisation IDs"),
|
|
119
|
+
var GPSTrackHistoryShareLinkQuerySchema = import_zod_base_schema.BaseQuerySchema.extend({
|
|
120
|
+
organisation_ids: (0, import_zod_utils.multi_select_optional)("User Organisation IDs"),
|
|
95
121
|
// ✅ Multi-selection -> UserOrganisation
|
|
96
|
-
vehicle_ids: multi_select_optional("MasterVehicle IDs"),
|
|
122
|
+
vehicle_ids: (0, import_zod_utils.multi_select_optional)("MasterVehicle IDs"),
|
|
97
123
|
// ✅ Multi-selection -> MasterVehicle
|
|
98
|
-
trip_ids: multi_select_optional("Trip IDs"),
|
|
124
|
+
trip_ids: (0, import_zod_utils.multi_select_optional)("Trip IDs"),
|
|
99
125
|
// ✅ Multi-selection -> Trip
|
|
100
|
-
link_status: enumArrayOptional(
|
|
126
|
+
link_status: (0, import_zod_utils.enumArrayOptional)(
|
|
101
127
|
"Track History Link Status",
|
|
102
128
|
TrackHistoryLinkStatus,
|
|
103
|
-
getAllEnums(TrackHistoryLinkStatus)
|
|
129
|
+
(0, import_zod_utils.getAllEnums)(TrackHistoryLinkStatus)
|
|
104
130
|
)
|
|
105
131
|
});
|
|
106
132
|
var toGPSTrackHistoryShareLinkPayload = (link) => ({
|
|
@@ -141,7 +167,8 @@ var createGPSTrackHistoryNotification = async (data) => {
|
|
|
141
167
|
data
|
|
142
168
|
);
|
|
143
169
|
};
|
|
144
|
-
export
|
|
170
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
171
|
+
0 && (module.exports = {
|
|
145
172
|
GPSTrackHistoryShareLinkNotificationsSchema,
|
|
146
173
|
GPSTrackHistoryShareLinkQuerySchema,
|
|
147
174
|
GPSTrackHistoryShareLinkSchema,
|
|
@@ -152,4 +179,4 @@ export {
|
|
|
152
179
|
newGPSTrackHistoryShareLinkPayload,
|
|
153
180
|
toGPSTrackHistoryShareLinkPayload,
|
|
154
181
|
updateGPSTrackHistoryShareLink
|
|
155
|
-
};
|
|
182
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
|
|
16
|
+
// src/services/gps/reports/gps_models/DashboardSummaryReport.ts
|
|
17
|
+
var DashboardSummaryReport_exports = {};
|
|
18
|
+
module.exports = __toCommonJS(DashboardSummaryReport_exports);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
|
|
16
|
+
// src/services/gps/reports/gps_models/FuelConsumptionMonthly.ts
|
|
17
|
+
var FuelConsumptionMonthly_exports = {};
|
|
18
|
+
module.exports = __toCommonJS(FuelConsumptionMonthly_exports);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
|
|
16
|
+
// src/services/gps/reports/gps_models/GPSOverSpeedViolation.ts
|
|
17
|
+
var GPSOverSpeedViolation_exports = {};
|
|
18
|
+
module.exports = __toCommonJS(GPSOverSpeedViolation_exports);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
|
|
16
|
+
// src/services/gps/reports/gps_models/GpsAnalytics.ts
|
|
17
|
+
var GpsAnalytics_exports = {};
|
|
18
|
+
module.exports = __toCommonJS(GpsAnalytics_exports);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
|
|
16
|
+
// src/services/gps/reports/gps_models/GpsPacket.ts
|
|
17
|
+
var GpsPacket_exports = {};
|
|
18
|
+
module.exports = __toCommonJS(GpsPacket_exports);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
|
|
16
|
+
// src/services/gps/reports/gps_models/GpsSensor.ts
|
|
17
|
+
var GpsSensor_exports = {};
|
|
18
|
+
module.exports = __toCommonJS(GpsSensor_exports);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
|
|
16
|
+
// src/services/gps/reports/gps_models/HourlyKmAnalysis.ts
|
|
17
|
+
var HourlyKmAnalysis_exports = {};
|
|
18
|
+
module.exports = __toCommonJS(HourlyKmAnalysis_exports);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
|
|
16
|
+
// src/services/gps/reports/gps_models/KilometerMonthly.ts
|
|
17
|
+
var KilometerMonthly_exports = {};
|
|
18
|
+
module.exports = __toCommonJS(KilometerMonthly_exports);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
|
|
16
|
+
// src/services/gps/reports/gps_models/Last24HoursKmReport.ts
|
|
17
|
+
var Last24HoursKmReport_exports = {};
|
|
18
|
+
module.exports = __toCommonJS(Last24HoursKmReport_exports);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
|
|
16
|
+
// src/services/gps/reports/gps_models/OverSpeedViolationMonthly.ts
|
|
17
|
+
var OverSpeedViolationMonthly_exports = {};
|
|
18
|
+
module.exports = __toCommonJS(OverSpeedViolationMonthly_exports);
|
|
@@ -33,41 +33,41 @@ declare const MultipleVehicleReportSchema: z.ZodObject<{
|
|
|
33
33
|
vehicle_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
|
|
34
34
|
driver_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
|
|
35
35
|
}, "strip", z.ZodTypeAny, {
|
|
36
|
+
db_index: string;
|
|
37
|
+
db_instance: string;
|
|
38
|
+
night_driving: NightDriving;
|
|
36
39
|
search: string;
|
|
37
40
|
paging: PAGING;
|
|
38
41
|
page_count: number;
|
|
39
42
|
page_index: number;
|
|
40
|
-
login_from: LoginFrom;
|
|
41
43
|
date_format_id: string;
|
|
42
44
|
time_zone_id: string;
|
|
45
|
+
login_from: LoginFrom;
|
|
43
46
|
organisation_id: string;
|
|
44
|
-
db_instance: string;
|
|
45
|
-
db_index: string;
|
|
46
47
|
vehicle_ids: string[];
|
|
47
48
|
from_date: string;
|
|
48
49
|
to_date: string;
|
|
49
50
|
time_slot: TimeSlot;
|
|
50
|
-
night_driving: NightDriving;
|
|
51
51
|
over_speed: OverSpeed;
|
|
52
52
|
utilization_km: number;
|
|
53
53
|
vehicle_summary: YesNo;
|
|
54
54
|
driver_summary: YesNo;
|
|
55
55
|
}, {
|
|
56
|
-
|
|
56
|
+
db_index: string;
|
|
57
|
+
db_instance: string;
|
|
57
58
|
date_format_id: string;
|
|
58
59
|
time_zone_id: string;
|
|
60
|
+
login_from: LoginFrom;
|
|
59
61
|
organisation_id: string;
|
|
60
|
-
db_instance: string;
|
|
61
|
-
db_index: string;
|
|
62
62
|
from_date: string;
|
|
63
63
|
to_date: string;
|
|
64
|
+
night_driving?: NightDriving | undefined;
|
|
64
65
|
search?: string | undefined;
|
|
65
66
|
paging?: PAGING | undefined;
|
|
66
67
|
page_count?: unknown;
|
|
67
68
|
page_index?: unknown;
|
|
68
69
|
vehicle_ids?: string[] | undefined;
|
|
69
70
|
time_slot?: TimeSlot | undefined;
|
|
70
|
-
night_driving?: NightDriving | undefined;
|
|
71
71
|
over_speed?: OverSpeed | undefined;
|
|
72
72
|
utilization_km?: unknown;
|
|
73
73
|
vehicle_summary?: YesNo | undefined;
|
|
@@ -96,40 +96,40 @@ declare const MultipleDriverReportSchema: z.ZodObject<{
|
|
|
96
96
|
vehicle_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
|
|
97
97
|
driver_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
|
|
98
98
|
}, "strip", z.ZodTypeAny, {
|
|
99
|
+
db_index: string;
|
|
100
|
+
db_instance: string;
|
|
101
|
+
night_driving: NightDriving;
|
|
99
102
|
search: string;
|
|
100
103
|
paging: PAGING;
|
|
101
104
|
page_count: number;
|
|
102
105
|
page_index: number;
|
|
103
|
-
login_from: LoginFrom;
|
|
104
106
|
date_format_id: string;
|
|
105
107
|
time_zone_id: string;
|
|
108
|
+
login_from: LoginFrom;
|
|
106
109
|
organisation_id: string;
|
|
107
|
-
db_instance: string;
|
|
108
|
-
db_index: string;
|
|
109
110
|
from_date: string;
|
|
110
111
|
to_date: string;
|
|
111
112
|
time_slot: TimeSlot;
|
|
112
|
-
night_driving: NightDriving;
|
|
113
113
|
over_speed: OverSpeed;
|
|
114
114
|
utilization_km: number;
|
|
115
115
|
vehicle_summary: YesNo;
|
|
116
116
|
driver_summary: YesNo;
|
|
117
117
|
driver_ids: string[];
|
|
118
118
|
}, {
|
|
119
|
-
|
|
119
|
+
db_index: string;
|
|
120
|
+
db_instance: string;
|
|
120
121
|
date_format_id: string;
|
|
121
122
|
time_zone_id: string;
|
|
123
|
+
login_from: LoginFrom;
|
|
122
124
|
organisation_id: string;
|
|
123
|
-
db_instance: string;
|
|
124
|
-
db_index: string;
|
|
125
125
|
from_date: string;
|
|
126
126
|
to_date: string;
|
|
127
|
+
night_driving?: NightDriving | undefined;
|
|
127
128
|
search?: string | undefined;
|
|
128
129
|
paging?: PAGING | undefined;
|
|
129
130
|
page_count?: unknown;
|
|
130
131
|
page_index?: unknown;
|
|
131
132
|
time_slot?: TimeSlot | undefined;
|
|
132
|
-
night_driving?: NightDriving | undefined;
|
|
133
133
|
over_speed?: OverSpeed | undefined;
|
|
134
134
|
utilization_km?: unknown;
|
|
135
135
|
vehicle_summary?: YesNo | undefined;
|
|
@@ -156,16 +156,16 @@ declare const SimpleReportSchema: z.ZodObject<{
|
|
|
156
156
|
interval_seconds: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
157
157
|
boolean_type: z.ZodType<BooleanType, z.ZodTypeDef, BooleanType>;
|
|
158
158
|
}, "strip", z.ZodTypeAny, {
|
|
159
|
+
db_index: string;
|
|
160
|
+
db_instance: string;
|
|
159
161
|
search: string;
|
|
160
162
|
paging: PAGING;
|
|
161
163
|
page_count: number;
|
|
162
164
|
page_index: number;
|
|
163
|
-
login_from: LoginFrom;
|
|
164
165
|
date_format_id: string;
|
|
165
166
|
time_zone_id: string;
|
|
167
|
+
login_from: LoginFrom;
|
|
166
168
|
organisation_id: string;
|
|
167
|
-
db_instance: string;
|
|
168
|
-
db_index: string;
|
|
169
169
|
vehicle_ids: string[];
|
|
170
170
|
from_date: string;
|
|
171
171
|
to_date: string;
|
|
@@ -173,12 +173,12 @@ declare const SimpleReportSchema: z.ZodObject<{
|
|
|
173
173
|
interval_seconds: number;
|
|
174
174
|
boolean_type: BooleanType;
|
|
175
175
|
}, {
|
|
176
|
-
|
|
176
|
+
db_index: string;
|
|
177
|
+
db_instance: string;
|
|
177
178
|
date_format_id: string;
|
|
178
179
|
time_zone_id: string;
|
|
180
|
+
login_from: LoginFrom;
|
|
179
181
|
organisation_id: string;
|
|
180
|
-
db_instance: string;
|
|
181
|
-
db_index: string;
|
|
182
182
|
from_date: string;
|
|
183
183
|
to_date: string;
|
|
184
184
|
gps_type: GPSType;
|
|
@@ -207,26 +207,26 @@ declare const MultipleVehicleLast24HoursReportSchema: z.ZodObject<{
|
|
|
207
207
|
utilization_km: z.ZodEffects<z.ZodNumber, number, unknown>;
|
|
208
208
|
is12am: z.ZodType<Is12AM, z.ZodTypeDef, Is12AM>;
|
|
209
209
|
}, "strip", z.ZodTypeAny, {
|
|
210
|
+
db_index: string;
|
|
211
|
+
db_instance: string;
|
|
210
212
|
search: string;
|
|
211
213
|
paging: PAGING;
|
|
212
214
|
page_count: number;
|
|
213
215
|
page_index: number;
|
|
214
|
-
login_from: LoginFrom;
|
|
215
216
|
date_format_id: string;
|
|
216
217
|
time_zone_id: string;
|
|
218
|
+
login_from: LoginFrom;
|
|
217
219
|
organisation_id: string;
|
|
218
|
-
db_instance: string;
|
|
219
|
-
db_index: string;
|
|
220
220
|
vehicle_ids: string[];
|
|
221
221
|
utilization_km: number;
|
|
222
222
|
is12am: Is12AM;
|
|
223
223
|
}, {
|
|
224
|
-
|
|
224
|
+
db_index: string;
|
|
225
|
+
db_instance: string;
|
|
225
226
|
date_format_id: string;
|
|
226
227
|
time_zone_id: string;
|
|
228
|
+
login_from: LoginFrom;
|
|
227
229
|
organisation_id: string;
|
|
228
|
-
db_instance: string;
|
|
229
|
-
db_index: string;
|
|
230
230
|
is12am: Is12AM;
|
|
231
231
|
search?: string | undefined;
|
|
232
232
|
paging?: PAGING | undefined;
|
|
@@ -253,28 +253,28 @@ declare const SingleVehicleReportSchema: z.ZodObject<{
|
|
|
253
253
|
to_date_time: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
254
254
|
interval_seconds: z.ZodEffects<z.ZodNumber, number, unknown>;
|
|
255
255
|
}, "strip", z.ZodTypeAny, {
|
|
256
|
+
db_index: string;
|
|
257
|
+
db_instance: string;
|
|
258
|
+
vehicle_id: string;
|
|
256
259
|
search: string;
|
|
257
260
|
paging: PAGING;
|
|
258
261
|
page_count: number;
|
|
259
262
|
page_index: number;
|
|
260
|
-
login_from: LoginFrom;
|
|
261
263
|
date_format_id: string;
|
|
262
264
|
time_zone_id: string;
|
|
265
|
+
login_from: LoginFrom;
|
|
263
266
|
organisation_id: string;
|
|
264
|
-
db_instance: string;
|
|
265
|
-
db_index: string;
|
|
266
267
|
interval_seconds: number;
|
|
267
|
-
vehicle_id: string;
|
|
268
268
|
from_date_time: string;
|
|
269
269
|
to_date_time: string;
|
|
270
270
|
}, {
|
|
271
|
-
|
|
271
|
+
db_index: string;
|
|
272
|
+
db_instance: string;
|
|
273
|
+
vehicle_id: string;
|
|
272
274
|
date_format_id: string;
|
|
273
275
|
time_zone_id: string;
|
|
276
|
+
login_from: LoginFrom;
|
|
274
277
|
organisation_id: string;
|
|
275
|
-
db_instance: string;
|
|
276
|
-
db_index: string;
|
|
277
|
-
vehicle_id: string;
|
|
278
278
|
from_date_time: string;
|
|
279
279
|
to_date_time: string;
|
|
280
280
|
search?: string | undefined;
|
|
@@ -298,25 +298,25 @@ declare const VehicleDashboardSummaryQuerySchema: z.ZodObject<{
|
|
|
298
298
|
db_index: z.ZodEffects<z.ZodString, string, string>;
|
|
299
299
|
vehicle_id: z.ZodEffects<z.ZodString, string, string>;
|
|
300
300
|
}, "strip", z.ZodTypeAny, {
|
|
301
|
+
db_index: string;
|
|
302
|
+
db_instance: string;
|
|
303
|
+
vehicle_id: string;
|
|
301
304
|
search: string;
|
|
302
305
|
paging: PAGING;
|
|
303
306
|
page_count: number;
|
|
304
307
|
page_index: number;
|
|
305
|
-
login_from: LoginFrom;
|
|
306
308
|
date_format_id: string;
|
|
307
309
|
time_zone_id: string;
|
|
310
|
+
login_from: LoginFrom;
|
|
308
311
|
organisation_id: string;
|
|
309
|
-
|
|
312
|
+
}, {
|
|
310
313
|
db_index: string;
|
|
314
|
+
db_instance: string;
|
|
311
315
|
vehicle_id: string;
|
|
312
|
-
}, {
|
|
313
|
-
login_from: LoginFrom;
|
|
314
316
|
date_format_id: string;
|
|
315
317
|
time_zone_id: string;
|
|
318
|
+
login_from: LoginFrom;
|
|
316
319
|
organisation_id: string;
|
|
317
|
-
db_instance: string;
|
|
318
|
-
db_index: string;
|
|
319
|
-
vehicle_id: string;
|
|
320
320
|
search?: string | undefined;
|
|
321
321
|
paging?: PAGING | undefined;
|
|
322
322
|
page_count?: unknown;
|