vms-nest-prisma-api-document 100.0.0 → 110.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/services/account/bookmark_service.d.ts +1 -1
- package/dist/services/account/notification_preferences.service.d.ts +1 -1
- package/dist/services/account/report_preferences.service.d.ts +1 -1
- package/dist/services/account/ticket_service.d.ts +1 -1
- package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.d.ts +1 -1
- package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.d.ts +1 -1
- package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +1 -1
- package/dist/services/gps/features/geofence/gps_geofence_service.d.ts +1 -1
- package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +6 -6
- package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +7 -7
- package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +2 -2
- package/dist/services/gps/features/gps_live_track_share_link_service.d.ts +1 -1
- package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +1 -1
- package/dist/services/gps/reports/gps_reports_mongo_service.d.ts +46 -46
- package/dist/services/main/devices/master_device_service.d.ts +1 -1
- package/dist/services/main/drivers/master_driver_service.d.ts +1 -1
- package/dist/services/main/sims/master_sim_service.d.ts +1 -1
- package/dist/services/main/users/auth_service.d.ts +1 -1
- package/dist/services/main/users/user_organisation_service.d.ts +1 -1
- package/dist/services/main/users/user_service.d.ts +1 -1
- package/dist/services/main/vehicle/childs/vehicle_odometer_history.d.ts +1 -1
- package/dist/services/main/vehicle/master_vehicle_service.d.ts +1 -1
- package/dist/services/main/vehicle/master_vehicle_service.js +12 -0
- package/dist/services/master/bus/master_class_service.d.ts +131 -0
- package/dist/services/master/bus/master_class_service.js +312 -0
- package/dist/services/master/bus/master_program_service.d.ts +131 -0
- package/dist/services/master/bus/master_program_service.js +312 -0
- package/dist/services/master/bus/master_relationship_service.d.ts +131 -0
- package/dist/services/master/bus/master_relationship_service.js +312 -0
- package/dist/services/master/bus/master_section_service.d.ts +131 -0
- package/dist/services/master/bus/master_section_service.js +312 -0
- package/dist/services/master/bus/master_semester_service.d.ts +131 -0
- package/dist/services/master/bus/master_semester_service.js +312 -0
- package/dist/services/master/bus/master_stream_service.d.ts +131 -0
- package/dist/services/master/bus/master_stream_service.js +312 -0
- package/dist/services/master/bus/master_year_service.d.ts +131 -0
- package/dist/services/master/bus/master_year_service.js +312 -0
- package/dist/services/master/device/master_device_manufacturer_service.d.ts +1 -1
- package/dist/services/master/device/master_device_model_service.d.ts +1 -1
- package/dist/services/master/device/master_device_type_service.d.ts +1 -1
- package/dist/services/master/expense/master_expense_name_service.d.ts +1 -1
- package/dist/services/master/expense/master_expense_type_service.d.ts +1 -1
- package/dist/services/master/expense/master_fuel_company_service.d.ts +6 -6
- package/dist/services/master/expense/master_vendor_document_type_service.d.ts +3 -3
- package/dist/services/master/expense/master_vendor_type_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_incident_severity_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_incident_status_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_incident_type_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_insurance_claim_status_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_service_task_service.d.ts +1 -1
- package/dist/services/master/main/master_main_country_service.d.ts +1 -1
- package/dist/services/master/main/master_main_currency_service.d.ts +1 -1
- package/dist/services/master/main/master_main_date_format_service.d.ts +1 -1
- package/dist/services/master/main/master_main_industry_service.d.ts +1 -1
- package/dist/services/master/main/master_main_landmark_service.d.ts +1 -1
- package/dist/services/master/main/master_main_language_service.d.ts +1 -1
- package/dist/services/master/main/master_main_state_service.d.ts +1 -1
- package/dist/services/master/main/master_main_timezone_service.d.ts +1 -1
- package/dist/services/master/main/master_main_unit_distance_service.d.ts +1 -1
- package/dist/services/master/main/master_main_unit_mileage_service.d.ts +1 -1
- package/dist/services/master/main/master_main_unit_volume_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_branch_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_color_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_group_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_sub_company_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_tag_service.d.ts +1 -1
- package/dist/services/master/spare_part/master_spare_part_category_service.d.ts +1 -1
- 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_unit_service.d.ts +1 -1
- package/dist/services/master/trip/master_trip_party_type_service.d.ts +1 -1
- package/dist/services/master/tyre/master_tyre_grade_service.d.ts +1 -1
- package/dist/services/master/tyre/master_tyre_make_service.d.ts +1 -1
- package/dist/services/master/tyre/master_tyre_model_service.d.ts +1 -1
- package/dist/services/master/user/master_user_role_service.d.ts +1 -1
- package/dist/services/master/user/master_user_status_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_associated_to_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_document_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_fuel_removal_reason_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_fuel_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_fuel_unit_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_make_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_model_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_ownership_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_status_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_sub_model_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_type_service.d.ts +1 -1
- package/dist/{user_organisation_service-Cpaz0P99.d.ts → user_organisation_service-Dkh1nIGX.d.ts} +19 -0
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MenuType, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR } from '../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, a as User } from '../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, a as User } from '../../user_organisation_service-Dkh1nIGX.js';
|
|
5
5
|
import '../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OnOff, NotificationChannel, YesNo, NotificationList, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy } from '../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR } from '../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, M as MasterVehicle, a as User } from '../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, M as MasterVehicle, a as User } from '../../user_organisation_service-Dkh1nIGX.js';
|
|
5
5
|
import { GPSGeofence } from '../gps/features/geofence/gps_geofence_service.js';
|
|
6
6
|
import '../../zod_utils/zod_base_schema.js';
|
|
7
7
|
import '../master/main/master_main_sim_provider_service.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OnOff, ReportType, ReportList, ReportChannel, YesNo, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy } from '../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR } from '../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, M as MasterVehicle } from '../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, M as MasterVehicle } from '../../user_organisation_service-Dkh1nIGX.js';
|
|
5
5
|
import '../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -2,7 +2,7 @@ import { TicketStatus, Status, FileType, PAGING, LoadParents, LoadChild, LoadChi
|
|
|
2
2
|
import { BaseCommionFile, FBR, SBR, BR, AWSPresignedUrl } from '../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { FilePresignedUrlDTO } from '../../zod_utils/zod_base_schema.js';
|
|
5
|
-
import { U as UserOrganisation, a as User } from '../../user_organisation_service-
|
|
5
|
+
import { U as UserOrganisation, a as User } from '../../user_organisation_service-Dkh1nIGX.js';
|
|
6
6
|
import { UserAdmin } from '../main/users/user_admin_service.js';
|
|
7
7
|
import '../master/main/master_main_sim_provider_service.js';
|
|
8
8
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR } from '../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice } from '../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice } from '../../../user_organisation_service-Dkh1nIGX.js';
|
|
5
5
|
import { FuelConsumptionMonthly } from '../../gps/reports/gps_models/FuelConsumptionMonthly.js';
|
|
6
6
|
import '../../../zod_utils/zod_base_schema.js';
|
|
7
7
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
@@ -2,7 +2,7 @@ import { GPSFuelApproveStatus, RefillEntrySource, RefillMethod, PaymentMode, Pay
|
|
|
2
2
|
import { BaseCommionFile, FBR, SBR, BR, AWSPresignedUrl } from '../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { FilePresignedUrlDTO } from '../../../zod_utils/zod_base_schema.js';
|
|
5
|
-
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice, d as MasterVehicleFuelType, e as MasterVehicleFuelUnit } from '../../../user_organisation_service-
|
|
5
|
+
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice, d as MasterVehicleFuelType, e as MasterVehicleFuelUnit } from '../../../user_organisation_service-Dkh1nIGX.js';
|
|
6
6
|
import { MasterMainLandmark } from '../../master/main/master_main_landmark_service.js';
|
|
7
7
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@ import { GPSFuelApproveStatus, RefillEntrySource, Status, FileType, PAGING, Load
|
|
|
2
2
|
import { BaseCommionFile, FBR, SBR, BR, AWSPresignedUrl } from '../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { FilePresignedUrlDTO } from '../../../zod_utils/zod_base_schema.js';
|
|
5
|
-
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice, d as MasterVehicleFuelType, e as MasterVehicleFuelUnit } from '../../../user_organisation_service-
|
|
5
|
+
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice, d as MasterVehicleFuelType, e as MasterVehicleFuelUnit } from '../../../user_organisation_service-Dkh1nIGX.js';
|
|
6
6
|
import { MasterMainLandmark } from '../../master/main/master_main_landmark_service.js';
|
|
7
7
|
import { MasterVehicleFuelRemovalReason } from '../../master/vehicle/master_vehicle_fuel_removal_reason_service.js';
|
|
8
8
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GeofencePurposeType, GeofenceType, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR } from '../../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation } from '../../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation } from '../../../../user_organisation_service-Dkh1nIGX.js';
|
|
5
5
|
import '../../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GeofenceStatusType, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR } from '../../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-Dkh1nIGX.js';
|
|
5
5
|
import { GPSGeofence } from './gps_geofence_service.js';
|
|
6
6
|
import '../../../../zod_utils/zod_base_schema.js';
|
|
7
7
|
import '../../../master/main/master_main_sim_provider_service.js';
|
|
@@ -36,23 +36,23 @@ declare const GPSGeofenceTransactionSchema: z.ZodObject<{
|
|
|
36
36
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
37
37
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
38
38
|
}, "strip", z.ZodTypeAny, {
|
|
39
|
-
geofence_status_type: GeofenceStatusType;
|
|
40
|
-
geofence_time: string;
|
|
41
39
|
status: Status;
|
|
42
40
|
organisation_id: string;
|
|
43
41
|
vehicle_id: string;
|
|
44
42
|
driver_id: string;
|
|
45
43
|
gps_geofence_id: string;
|
|
46
44
|
time_zone_id: string;
|
|
47
|
-
}, {
|
|
48
45
|
geofence_status_type: GeofenceStatusType;
|
|
49
46
|
geofence_time: string;
|
|
47
|
+
}, {
|
|
50
48
|
status: Status;
|
|
51
49
|
organisation_id: string;
|
|
52
50
|
vehicle_id: string;
|
|
53
51
|
driver_id: string;
|
|
54
52
|
gps_geofence_id: string;
|
|
55
53
|
time_zone_id: string;
|
|
54
|
+
geofence_status_type: GeofenceStatusType;
|
|
55
|
+
geofence_time: string;
|
|
56
56
|
}>;
|
|
57
57
|
type GPSGeofenceTransactionDTO = z.infer<typeof GPSGeofenceTransactionSchema>;
|
|
58
58
|
declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
@@ -94,7 +94,6 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
|
94
94
|
from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
95
95
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
96
96
|
}, "strip", z.ZodTypeAny, {
|
|
97
|
-
geofence_status_type: GeofenceStatusType[];
|
|
98
97
|
status: Status[];
|
|
99
98
|
time_zone_id: string;
|
|
100
99
|
search: string;
|
|
@@ -122,12 +121,12 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
|
122
121
|
gps_geofence_ids: string[];
|
|
123
122
|
from_date: string;
|
|
124
123
|
to_date: string;
|
|
124
|
+
geofence_status_type: GeofenceStatusType[];
|
|
125
125
|
}, {
|
|
126
126
|
time_zone_id: string;
|
|
127
127
|
date_format_id: string;
|
|
128
128
|
from_date: string;
|
|
129
129
|
to_date: string;
|
|
130
|
-
geofence_status_type?: GeofenceStatusType[] | undefined;
|
|
131
130
|
status?: Status[] | undefined;
|
|
132
131
|
search?: string | undefined;
|
|
133
132
|
paging?: PAGING | undefined;
|
|
@@ -151,6 +150,7 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
|
151
150
|
vehicle_ids?: string[] | undefined;
|
|
152
151
|
driver_ids?: string[] | undefined;
|
|
153
152
|
gps_geofence_ids?: string[] | undefined;
|
|
153
|
+
geofence_status_type?: GeofenceStatusType[] | undefined;
|
|
154
154
|
}>;
|
|
155
155
|
type GPSGeofenceTransactionQueryDTO = z.infer<typeof GPSGeofenceTransactionQuerySchema>;
|
|
156
156
|
declare const toGPSGeofenceTransactionPayload: (data: GPSGeofenceTransaction) => GPSGeofenceTransactionDTO;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR } from '../../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-Dkh1nIGX.js';
|
|
5
5
|
import { GPSGeofence } from './gps_geofence_service.js';
|
|
6
6
|
import { GPSGeofenceTransaction } from './gps_geofence_transaction_service.js';
|
|
7
7
|
import '../../../../zod_utils/zod_base_schema.js';
|
|
@@ -46,27 +46,27 @@ declare const GPSGeofenceTransactionSummarySchema: z.ZodObject<{
|
|
|
46
46
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
47
47
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
48
48
|
}, "strip", z.ZodTypeAny, {
|
|
49
|
+
geofence_enter_date_time: string;
|
|
50
|
+
geofence_exit_date_time: string;
|
|
51
|
+
duration_seconds: number;
|
|
49
52
|
status: Status;
|
|
50
53
|
organisation_id: string;
|
|
51
54
|
vehicle_id: string;
|
|
52
55
|
driver_id: string;
|
|
53
56
|
gps_geofence_id: string;
|
|
54
|
-
time_zone_id: string;
|
|
55
|
-
geofence_enter_date_time: string;
|
|
56
|
-
geofence_exit_date_time: string;
|
|
57
|
-
duration_seconds: number;
|
|
58
57
|
enter_gps_geofence_transaction_id: string;
|
|
59
58
|
exit_gps_geofence_transaction_id: string;
|
|
59
|
+
time_zone_id: string;
|
|
60
60
|
}, {
|
|
61
|
+
geofence_enter_date_time: string;
|
|
61
62
|
status: Status;
|
|
62
63
|
organisation_id: string;
|
|
63
64
|
vehicle_id: string;
|
|
64
65
|
driver_id: string;
|
|
65
66
|
gps_geofence_id: string;
|
|
66
|
-
time_zone_id: string;
|
|
67
|
-
geofence_enter_date_time: string;
|
|
68
67
|
enter_gps_geofence_transaction_id: string;
|
|
69
68
|
exit_gps_geofence_transaction_id: string;
|
|
69
|
+
time_zone_id: string;
|
|
70
70
|
geofence_exit_date_time?: string | undefined;
|
|
71
71
|
duration_seconds?: unknown;
|
|
72
72
|
}>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR } from '../../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-Dkh1nIGX.js';
|
|
5
5
|
import '../../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -55,12 +55,12 @@ declare const TripGeofenceToGeofenceSchema: z.ZodObject<{
|
|
|
55
55
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
56
56
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
57
57
|
}, "strip", z.ZodTypeAny, {
|
|
58
|
+
duration_seconds: number;
|
|
58
59
|
status: Status;
|
|
59
60
|
organisation_id: string;
|
|
60
61
|
vehicle_id: string;
|
|
61
62
|
driver_id: string;
|
|
62
63
|
time_zone_id: string;
|
|
63
|
-
duration_seconds: number;
|
|
64
64
|
from_geofence_exit_date_time: string;
|
|
65
65
|
to_geofence_enter_date_time: string;
|
|
66
66
|
travel_duration_seconds: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { LinkType, LinkStatus, Status, ShareChannel, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../core/Enums.js';
|
|
2
2
|
import { FBR, BR, 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-Dkh1nIGX.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TrackHistoryLinkStatus, Status, ShareChannel, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../core/Enums.js';
|
|
2
2
|
import { FBR, BR, 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-Dkh1nIGX.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -34,41 +34,41 @@ declare const MultipleVehicleReportSchema: z.ZodObject<{
|
|
|
34
34
|
vehicle_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
|
|
35
35
|
driver_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
|
|
36
36
|
}, "strip", z.ZodTypeAny, {
|
|
37
|
+
db_group: string;
|
|
38
|
+
db_instance: string;
|
|
39
|
+
night_driving: NightDriving;
|
|
37
40
|
search: string;
|
|
38
41
|
paging: PAGING;
|
|
39
42
|
page_count: number;
|
|
40
43
|
page_index: number;
|
|
41
|
-
login_from: LoginFrom;
|
|
42
44
|
date_format_id: string;
|
|
43
45
|
time_zone_id: string;
|
|
46
|
+
login_from: LoginFrom;
|
|
44
47
|
organisation_id: string;
|
|
45
|
-
db_instance: string;
|
|
46
|
-
db_group: string;
|
|
47
48
|
vehicle_ids: string[];
|
|
48
49
|
from_date: string;
|
|
49
50
|
to_date: string;
|
|
50
51
|
time_slot: TimeSlot;
|
|
51
|
-
night_driving: NightDriving;
|
|
52
52
|
over_speed: OverSpeed;
|
|
53
53
|
utilization_km: number;
|
|
54
54
|
vehicle_summary: YesNo;
|
|
55
55
|
driver_summary: YesNo;
|
|
56
56
|
}, {
|
|
57
|
-
|
|
57
|
+
db_group: string;
|
|
58
|
+
db_instance: string;
|
|
58
59
|
date_format_id: string;
|
|
59
60
|
time_zone_id: string;
|
|
61
|
+
login_from: LoginFrom;
|
|
60
62
|
organisation_id: string;
|
|
61
|
-
db_instance: string;
|
|
62
|
-
db_group: string;
|
|
63
63
|
from_date: string;
|
|
64
64
|
to_date: string;
|
|
65
|
+
night_driving?: NightDriving | undefined;
|
|
65
66
|
search?: string | undefined;
|
|
66
67
|
paging?: PAGING | undefined;
|
|
67
68
|
page_count?: unknown;
|
|
68
69
|
page_index?: unknown;
|
|
69
70
|
vehicle_ids?: string[] | undefined;
|
|
70
71
|
time_slot?: TimeSlot | undefined;
|
|
71
|
-
night_driving?: NightDriving | undefined;
|
|
72
72
|
over_speed?: OverSpeed | undefined;
|
|
73
73
|
utilization_km?: unknown;
|
|
74
74
|
vehicle_summary?: YesNo | undefined;
|
|
@@ -97,40 +97,40 @@ declare const MultipleDriverReportSchema: z.ZodObject<{
|
|
|
97
97
|
vehicle_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
|
|
98
98
|
driver_summary: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
|
|
99
99
|
}, "strip", z.ZodTypeAny, {
|
|
100
|
+
db_group: string;
|
|
101
|
+
db_instance: string;
|
|
102
|
+
night_driving: NightDriving;
|
|
100
103
|
search: string;
|
|
101
104
|
paging: PAGING;
|
|
102
105
|
page_count: number;
|
|
103
106
|
page_index: number;
|
|
104
|
-
login_from: LoginFrom;
|
|
105
107
|
date_format_id: string;
|
|
106
108
|
time_zone_id: string;
|
|
109
|
+
login_from: LoginFrom;
|
|
107
110
|
organisation_id: string;
|
|
108
|
-
db_instance: string;
|
|
109
|
-
db_group: string;
|
|
110
111
|
from_date: string;
|
|
111
112
|
to_date: string;
|
|
112
113
|
time_slot: TimeSlot;
|
|
113
|
-
night_driving: NightDriving;
|
|
114
114
|
over_speed: OverSpeed;
|
|
115
115
|
utilization_km: number;
|
|
116
116
|
vehicle_summary: YesNo;
|
|
117
117
|
driver_summary: YesNo;
|
|
118
118
|
driver_ids: string[];
|
|
119
119
|
}, {
|
|
120
|
-
|
|
120
|
+
db_group: string;
|
|
121
|
+
db_instance: string;
|
|
121
122
|
date_format_id: string;
|
|
122
123
|
time_zone_id: string;
|
|
124
|
+
login_from: LoginFrom;
|
|
123
125
|
organisation_id: string;
|
|
124
|
-
db_instance: string;
|
|
125
|
-
db_group: string;
|
|
126
126
|
from_date: string;
|
|
127
127
|
to_date: string;
|
|
128
|
+
night_driving?: NightDriving | undefined;
|
|
128
129
|
search?: string | undefined;
|
|
129
130
|
paging?: PAGING | undefined;
|
|
130
131
|
page_count?: unknown;
|
|
131
132
|
page_index?: unknown;
|
|
132
133
|
time_slot?: TimeSlot | undefined;
|
|
133
|
-
night_driving?: NightDriving | undefined;
|
|
134
134
|
over_speed?: OverSpeed | undefined;
|
|
135
135
|
utilization_km?: unknown;
|
|
136
136
|
vehicle_summary?: YesNo | undefined;
|
|
@@ -157,16 +157,16 @@ declare const SimpleReportSchema: z.ZodObject<{
|
|
|
157
157
|
interval_seconds: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
158
158
|
boolean_type: z.ZodType<BooleanType, z.ZodTypeDef, BooleanType>;
|
|
159
159
|
}, "strip", z.ZodTypeAny, {
|
|
160
|
+
db_group: string;
|
|
161
|
+
db_instance: string;
|
|
160
162
|
search: string;
|
|
161
163
|
paging: PAGING;
|
|
162
164
|
page_count: number;
|
|
163
165
|
page_index: number;
|
|
164
|
-
login_from: LoginFrom;
|
|
165
166
|
date_format_id: string;
|
|
166
167
|
time_zone_id: string;
|
|
168
|
+
login_from: LoginFrom;
|
|
167
169
|
organisation_id: string;
|
|
168
|
-
db_instance: string;
|
|
169
|
-
db_group: string;
|
|
170
170
|
vehicle_ids: string[];
|
|
171
171
|
from_date: string;
|
|
172
172
|
to_date: string;
|
|
@@ -174,12 +174,12 @@ declare const SimpleReportSchema: z.ZodObject<{
|
|
|
174
174
|
interval_seconds: number;
|
|
175
175
|
boolean_type: BooleanType;
|
|
176
176
|
}, {
|
|
177
|
-
|
|
177
|
+
db_group: string;
|
|
178
|
+
db_instance: string;
|
|
178
179
|
date_format_id: string;
|
|
179
180
|
time_zone_id: string;
|
|
181
|
+
login_from: LoginFrom;
|
|
180
182
|
organisation_id: string;
|
|
181
|
-
db_instance: string;
|
|
182
|
-
db_group: string;
|
|
183
183
|
from_date: string;
|
|
184
184
|
to_date: string;
|
|
185
185
|
gps_type: GPSType;
|
|
@@ -208,26 +208,26 @@ declare const MultipleVehicleLast24HoursReportSchema: z.ZodObject<{
|
|
|
208
208
|
utilization_km: z.ZodEffects<z.ZodNumber, number, unknown>;
|
|
209
209
|
is12am: z.ZodType<Is12AM, z.ZodTypeDef, Is12AM>;
|
|
210
210
|
}, "strip", z.ZodTypeAny, {
|
|
211
|
+
db_group: string;
|
|
212
|
+
db_instance: string;
|
|
211
213
|
search: string;
|
|
212
214
|
paging: PAGING;
|
|
213
215
|
page_count: number;
|
|
214
216
|
page_index: number;
|
|
215
|
-
login_from: LoginFrom;
|
|
216
217
|
date_format_id: string;
|
|
217
218
|
time_zone_id: string;
|
|
219
|
+
login_from: LoginFrom;
|
|
218
220
|
organisation_id: string;
|
|
219
|
-
db_instance: string;
|
|
220
|
-
db_group: string;
|
|
221
221
|
vehicle_ids: string[];
|
|
222
222
|
utilization_km: number;
|
|
223
223
|
is12am: Is12AM;
|
|
224
224
|
}, {
|
|
225
|
-
|
|
225
|
+
db_group: string;
|
|
226
|
+
db_instance: string;
|
|
226
227
|
date_format_id: string;
|
|
227
228
|
time_zone_id: string;
|
|
229
|
+
login_from: LoginFrom;
|
|
228
230
|
organisation_id: string;
|
|
229
|
-
db_instance: string;
|
|
230
|
-
db_group: string;
|
|
231
231
|
is12am: Is12AM;
|
|
232
232
|
search?: string | undefined;
|
|
233
233
|
paging?: PAGING | undefined;
|
|
@@ -254,27 +254,27 @@ declare const SingleVehicleReportSchema: z.ZodObject<{
|
|
|
254
254
|
to_date_time: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
255
255
|
interval_seconds: z.ZodEffects<z.ZodNumber, number, unknown>;
|
|
256
256
|
}, "strip", z.ZodTypeAny, {
|
|
257
|
+
db_group: string;
|
|
258
|
+
db_instance: string;
|
|
257
259
|
search: string;
|
|
258
260
|
paging: PAGING;
|
|
259
261
|
page_count: number;
|
|
260
262
|
page_index: number;
|
|
261
|
-
login_from: LoginFrom;
|
|
262
263
|
date_format_id: string;
|
|
263
264
|
time_zone_id: string;
|
|
265
|
+
login_from: LoginFrom;
|
|
264
266
|
organisation_id: string;
|
|
265
|
-
db_instance: string;
|
|
266
|
-
db_group: string;
|
|
267
267
|
interval_seconds: number;
|
|
268
268
|
vehicle_id: string;
|
|
269
269
|
from_date_time: string;
|
|
270
270
|
to_date_time: string;
|
|
271
271
|
}, {
|
|
272
|
-
|
|
272
|
+
db_group: string;
|
|
273
|
+
db_instance: string;
|
|
273
274
|
date_format_id: string;
|
|
274
275
|
time_zone_id: string;
|
|
276
|
+
login_from: LoginFrom;
|
|
275
277
|
organisation_id: string;
|
|
276
|
-
db_instance: string;
|
|
277
|
-
db_group: string;
|
|
278
278
|
vehicle_id: string;
|
|
279
279
|
from_date_time: string;
|
|
280
280
|
to_date_time: string;
|
|
@@ -299,24 +299,24 @@ declare const VehicleDashboardSummaryQuerySchema: z.ZodObject<{
|
|
|
299
299
|
db_group: z.ZodEffects<z.ZodString, string, string>;
|
|
300
300
|
vehicle_id: z.ZodEffects<z.ZodString, string, string>;
|
|
301
301
|
}, "strip", z.ZodTypeAny, {
|
|
302
|
+
db_group: string;
|
|
303
|
+
db_instance: string;
|
|
302
304
|
search: string;
|
|
303
305
|
paging: PAGING;
|
|
304
306
|
page_count: number;
|
|
305
307
|
page_index: number;
|
|
306
|
-
login_from: LoginFrom;
|
|
307
308
|
date_format_id: string;
|
|
308
309
|
time_zone_id: string;
|
|
310
|
+
login_from: LoginFrom;
|
|
309
311
|
organisation_id: string;
|
|
310
|
-
db_instance: string;
|
|
311
|
-
db_group: string;
|
|
312
312
|
vehicle_id: string;
|
|
313
313
|
}, {
|
|
314
|
-
|
|
314
|
+
db_group: string;
|
|
315
|
+
db_instance: string;
|
|
315
316
|
date_format_id: string;
|
|
316
317
|
time_zone_id: string;
|
|
318
|
+
login_from: LoginFrom;
|
|
317
319
|
organisation_id: string;
|
|
318
|
-
db_instance: string;
|
|
319
|
-
db_group: string;
|
|
320
320
|
vehicle_id: string;
|
|
321
321
|
search?: string | undefined;
|
|
322
322
|
paging?: PAGING | undefined;
|
|
@@ -346,16 +346,16 @@ declare const AlertReportSchema: z.ZodObject<{
|
|
|
346
346
|
from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
347
347
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
348
348
|
}, "strip", z.ZodTypeAny, {
|
|
349
|
+
db_group: string;
|
|
350
|
+
db_instance: string;
|
|
349
351
|
search: string;
|
|
350
352
|
paging: PAGING;
|
|
351
353
|
page_count: number;
|
|
352
354
|
page_index: number;
|
|
353
|
-
login_from: LoginFrom;
|
|
354
355
|
date_format_id: string;
|
|
355
356
|
time_zone_id: string;
|
|
357
|
+
login_from: LoginFrom;
|
|
356
358
|
organisation_id: string;
|
|
357
|
-
db_instance: string;
|
|
358
|
-
db_group: string;
|
|
359
359
|
vehicle_ids: string[];
|
|
360
360
|
from_date: string;
|
|
361
361
|
to_date: string;
|
|
@@ -366,12 +366,12 @@ declare const AlertReportSchema: z.ZodObject<{
|
|
|
366
366
|
alert_types: AlertType[];
|
|
367
367
|
alert_sub_types: AlertSubType[];
|
|
368
368
|
}, {
|
|
369
|
-
|
|
369
|
+
db_group: string;
|
|
370
|
+
db_instance: string;
|
|
370
371
|
date_format_id: string;
|
|
371
372
|
time_zone_id: string;
|
|
373
|
+
login_from: LoginFrom;
|
|
372
374
|
organisation_id: string;
|
|
373
|
-
db_instance: string;
|
|
374
|
-
db_group: string;
|
|
375
375
|
from_date: string;
|
|
376
376
|
to_date: string;
|
|
377
377
|
search?: string | undefined;
|
|
@@ -2,5 +2,5 @@ import '../../../core/Enums.js';
|
|
|
2
2
|
import '../../../core/BaseResponse.js';
|
|
3
3
|
import 'zod';
|
|
4
4
|
import '../../../zod_utils/zod_base_schema.js';
|
|
5
|
-
export { c2 as AssignRemoveDeviceHistory, c8 as DeviceSimLinkDTO, c7 as DeviceSimLinkSchema, c as MasterDevice, c4 as MasterDeviceDTO, c6 as MasterDeviceQueryDTO, c5 as MasterDeviceQuerySchema, c3 as MasterDeviceSchema, cc as createMasterDevice, ce as deleteMasterDevice, cf as device_sim_link, cg as device_sim_unlink, cb as findMasterDevices, ci as get_device_sim_link_history_by_device, ch as get_device_sim_link_history_by_sim, ca as newMasterDevicePayload, c9 as toMasterDevicePayload, cd as updateMasterDevice } from '../../../user_organisation_service-
|
|
5
|
+
export { c2 as AssignRemoveDeviceHistory, c8 as DeviceSimLinkDTO, c7 as DeviceSimLinkSchema, c as MasterDevice, c4 as MasterDeviceDTO, c6 as MasterDeviceQueryDTO, c5 as MasterDeviceQuerySchema, c3 as MasterDeviceSchema, cc as createMasterDevice, ce as deleteMasterDevice, cf as device_sim_link, cg as device_sim_unlink, cb as findMasterDevices, ci as get_device_sim_link_history_by_device, ch as get_device_sim_link_history_by_sim, ca as newMasterDevicePayload, c9 as toMasterDevicePayload, cd as updateMasterDevice } from '../../../user_organisation_service-Dkh1nIGX.js';
|
|
6
6
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '../../../core/Enums.js';
|
|
2
2
|
import '../../../core/BaseResponse.js';
|
|
3
3
|
import 'zod';
|
|
4
|
-
export { a_ as AssignRemoveDriverHistory, b2 as DriverQueryDTO, b1 as DriverQuerySchema, b as MasterDriver, b0 as MasterDriverDTO, a$ as MasterDriverSchema, b6 as createDriver, b8 as deleteDriver, b5 as findDrivers, ba as getDriverCache, bb as getDriverSimpleCache, b9 as getPresignedUrlForDriver, b4 as newDriverPayload, b3 as toDriverPayload, b7 as updateDriver } from '../../../user_organisation_service-
|
|
4
|
+
export { a_ as AssignRemoveDriverHistory, b2 as DriverQueryDTO, b1 as DriverQuerySchema, b as MasterDriver, b0 as MasterDriverDTO, a$ as MasterDriverSchema, b6 as createDriver, b8 as deleteDriver, b5 as findDrivers, ba as getDriverCache, bb as getDriverSimpleCache, b9 as getPresignedUrlForDriver, b4 as newDriverPayload, b3 as toDriverPayload, b7 as updateDriver } from '../../../user_organisation_service-Dkh1nIGX.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '../../../core/Enums.js';
|
|
2
2
|
import '../../../core/BaseResponse.js';
|
|
3
3
|
import 'zod';
|
|
4
|
-
export { bT as AssignRemoveSimHistory, bS as MasterSim, bV as MasterSimDTO, bX as MasterSimQueryDTO, bW as MasterSimQuerySchema, bU as MasterSimSchema, b$ as createMasterSim, c1 as deleteMasterSim, b_ as findMasterSims, bZ as newMasterSimPayload, bY as toMasterSimPayload, c0 as updateMasterSim } from '../../../user_organisation_service-
|
|
4
|
+
export { bT as AssignRemoveSimHistory, bS as MasterSim, bV as MasterSimDTO, bX as MasterSimQueryDTO, bW as MasterSimQuerySchema, bU as MasterSimSchema, b$ as createMasterSim, c1 as deleteMasterSim, b_ as findMasterSims, bZ as newMasterSimPayload, bY as toMasterSimPayload, c0 as updateMasterSim } from '../../../user_organisation_service-Dkh1nIGX.js';
|
|
5
5
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
6
6
|
import '../../../zod_utils/zod_base_schema.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BR, SBR } from '../../../core/BaseResponse.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import { a as User } from '../../../user_organisation_service-
|
|
3
|
+
import { a as User } from '../../../user_organisation_service-Dkh1nIGX.js';
|
|
4
4
|
import { UserAdmin } from './user_admin_service.js';
|
|
5
5
|
import { LoginFrom } from '../../../core/Enums.js';
|
|
6
6
|
import '../../../zod_utils/zod_base_schema.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '../../../core/Enums.js';
|
|
2
2
|
import '../../../core/BaseResponse.js';
|
|
3
3
|
import 'zod';
|
|
4
|
-
export { U as UserOrganisation, kl as UserOrganisationDTO, kn as UserOrganisationQueryDTO, km as UserOrganisationQuerySchema, kk as UserOrganisationSchema, kj as UserOrganisationSimple, kr as createUserOrganisation, kt as deleteUserOrganisation, kq as findUserOrganisations, ku as getUserOrganisationCache, kv as getUserOrganisationCacheSimple, kw as getUserOrganisationPresignedUrl, kp as newUserOrganisationPayload, ko as toUserOrganisationPayload, ks as updateUserOrganisation } from '../../../user_organisation_service-
|
|
4
|
+
export { U as UserOrganisation, kl as UserOrganisationDTO, kn as UserOrganisationQueryDTO, km as UserOrganisationQuerySchema, kk as UserOrganisationSchema, kj as UserOrganisationSimple, kr as createUserOrganisation, kt as deleteUserOrganisation, kq as findUserOrganisations, ku as getUserOrganisationCache, kv as getUserOrganisationCacheSimple, kw as getUserOrganisationPresignedUrl, kp as newUserOrganisationPayload, ko as toUserOrganisationPayload, ks as updateUserOrganisation } from '../../../user_organisation_service-Dkh1nIGX.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '../../../core/Enums.js';
|
|
2
2
|
import '../../../core/BaseResponse.js';
|
|
3
3
|
import 'zod';
|
|
4
|
-
export { h0 as CreateUserDTO, g$ as CreateUserSchema, a as User, h8 as UserDefaultDateFormatDTO, h7 as UserDefaultDateFormatSchema, h4 as UserDefaultLanguageDTO, h3 as UserDefaultLanguageSchema, h6 as UserDefaultTimeZoneDTO, h5 as UserDefaultTimeZoneSchema, h2 as UserQueryDTO, h1 as UserQuerySchema, g_ as UserVehicleLink, hc as createUser, he as deleteUser, hb as findUsers, hf as getUserCache, hg as getUserCacheSimple, hh as getUserPresignedUrl, h9 as newUserPayload, ha as toUserPayload, hd as updateUser, hk as updateUserDefaultDateformat, hi as updateUserDefaultLanguage, hj as updateUserDefaultTimezone } from '../../../user_organisation_service-
|
|
4
|
+
export { h0 as CreateUserDTO, g$ as CreateUserSchema, a as User, h8 as UserDefaultDateFormatDTO, h7 as UserDefaultDateFormatSchema, h4 as UserDefaultLanguageDTO, h3 as UserDefaultLanguageSchema, h6 as UserDefaultTimeZoneDTO, h5 as UserDefaultTimeZoneSchema, h2 as UserQueryDTO, h1 as UserQuerySchema, g_ as UserVehicleLink, hc as createUser, he as deleteUser, hb as findUsers, hf as getUserCache, hg as getUserCacheSimple, hh as getUserPresignedUrl, h9 as newUserPayload, ha as toUserPayload, hd as updateUser, hk as updateUserDefaultDateformat, hi as updateUserDefaultLanguage, hj as updateUserDefaultTimezone } from '../../../user_organisation_service-Dkh1nIGX.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OdometerSource, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR } from '../../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, M as MasterVehicle } from '../../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, M as MasterVehicle } from '../../../../user_organisation_service-Dkh1nIGX.js';
|
|
5
5
|
import '../../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -2,5 +2,5 @@ import '../../../core/Enums.js';
|
|
|
2
2
|
import '../../../core/BaseResponse.js';
|
|
3
3
|
import 'zod';
|
|
4
4
|
import '../../../zod_utils/zod_base_schema.js';
|
|
5
|
-
export { M as MasterVehicle, fn as MasterVehicleDropdown, fC as SimpleFindQueryDTO, fB as SimpleFindQuerySchema, fu as VehicleDTO, fo as VehicleDetailBody, fE as VehicleDetailBodyDTO, fD as VehicleDetailBodySchema, fr as VehicleDetailGPS, fK as VehicleDetailGPSAnalyticsDTO, fJ as VehicleDetailGPSAnalyticsSchema, fI as VehicleDetailGPSDataDTO, fH as VehicleDetailGPSDataSchema, fG as VehicleDetailGPSMainDTO, fF as VehicleDetailGPSMainSchema, fp as VehicleDetailLifeCycle, fM as VehicleDetailLifeCycleDto, fL as VehicleDetailLifeCycleSchema, fq as VehicleDetailPurchase, fO as VehicleDetailPurchaseDTO, fN as VehicleDetailPurchaseSchema, fs as VehicleDetailTrip, fQ as VehicleDetailTripDTO, fP as VehicleDetailTripSchema, fw as VehicleDeviceLinkDTO, fv as VehicleDeviceLinkSchema, fy as VehicleDeviceUnlinkDTO, fx as VehicleDeviceUnlinkSchema, fA as VehicleDriverLinkDTO, fz as VehicleDriverLinkSchema, fU as VehicleGPSQueryDTO, fT as VehicleGPSQuerySchema, fS as VehicleQueryDTO, fR as VehicleQuerySchema, ft as VehicleSchema, g2 as createVehicle, g4 as deleteVehicle, g1 as findVehicleGPSDetails, f$ as findVehicles, g0 as findVehiclesLiveDashboard, gj as getDeviceLinkHistoryByDevice, gi as getDeviceLinkHistoryByVehicle, gf as getDriverLinkHistoryByDriver, ge as getDriverLinkHistoryByVehicle, gk as getVehicleCache, gn as getVehicleParentCache, gl as getVehicleSimpleCache, gm as getVehicleSimpleDropdownCustom, gg as linkDeviceToVehicle, gc as linkDriverToVehicle, fW as newVehiclePayload, f_ as toVehicleDetailLifeCyclePayload, fZ as toVehicleDetailPurchasePayload, fY as toVehicleDetailsBodyPayload, fX as toVehicleDetailsGPSPayload, fV as toVehiclePayload, gh as unlinkDeviceFromVehicle, gd as unlinkDriverFromVehicle, g3 as updateVehicle, g5 as updateVehicleBodyDetails, ga as updateVehicleGPSDetailsAnalytics, g9 as updateVehicleGPSDetailsData, g8 as updateVehicleGPSDetailsMain, g6 as updateVehicleLifeCycleDetails, g7 as updateVehiclePurchaseDetails, gb as updateVehicleTripDetails } from '../../../user_organisation_service-
|
|
5
|
+
export { M as MasterVehicle, fn as MasterVehicleDropdown, fC as SimpleFindQueryDTO, fB as SimpleFindQuerySchema, fu as VehicleDTO, fo as VehicleDetailBody, fE as VehicleDetailBodyDTO, fD as VehicleDetailBodySchema, fr as VehicleDetailGPS, fK as VehicleDetailGPSAnalyticsDTO, fJ as VehicleDetailGPSAnalyticsSchema, fI as VehicleDetailGPSDataDTO, fH as VehicleDetailGPSDataSchema, fG as VehicleDetailGPSMainDTO, fF as VehicleDetailGPSMainSchema, fp as VehicleDetailLifeCycle, fM as VehicleDetailLifeCycleDto, fL as VehicleDetailLifeCycleSchema, fq as VehicleDetailPurchase, fO as VehicleDetailPurchaseDTO, fN as VehicleDetailPurchaseSchema, fs as VehicleDetailTrip, fQ as VehicleDetailTripDTO, fP as VehicleDetailTripSchema, fw as VehicleDeviceLinkDTO, fv as VehicleDeviceLinkSchema, fy as VehicleDeviceUnlinkDTO, fx as VehicleDeviceUnlinkSchema, fA as VehicleDriverLinkDTO, fz as VehicleDriverLinkSchema, fU as VehicleGPSQueryDTO, fT as VehicleGPSQuerySchema, fS as VehicleQueryDTO, fR as VehicleQuerySchema, ft as VehicleSchema, g2 as createVehicle, g4 as deleteVehicle, g1 as findVehicleGPSDetails, f$ as findVehicles, g0 as findVehiclesLiveDashboard, gj as getDeviceLinkHistoryByDevice, gi as getDeviceLinkHistoryByVehicle, gf as getDriverLinkHistoryByDriver, ge as getDriverLinkHistoryByVehicle, gk as getVehicleCache, gn as getVehicleParentCache, gl as getVehicleSimpleCache, gm as getVehicleSimpleDropdownCustom, gg as linkDeviceToVehicle, gc as linkDriverToVehicle, fW as newVehiclePayload, f_ as toVehicleDetailLifeCyclePayload, fZ as toVehicleDetailPurchasePayload, fY as toVehicleDetailsBodyPayload, fX as toVehicleDetailsGPSPayload, fV as toVehiclePayload, gh as unlinkDeviceFromVehicle, gd as unlinkDriverFromVehicle, g3 as updateVehicle, g5 as updateVehicleBodyDetails, ga as updateVehicleGPSDetailsAnalytics, g9 as updateVehicleGPSDetailsData, g8 as updateVehicleGPSDetailsMain, g6 as updateVehicleLifeCycleDetails, g7 as updateVehiclePurchaseDetails, gb as updateVehicleTripDetails } from '../../../user_organisation_service-Dkh1nIGX.js';
|
|
6
6
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
@@ -495,6 +495,12 @@ var VehicleDetailBodySchema = z3.object({
|
|
|
495
495
|
status: enumMandatory("Status", Status, "Active" /* Active */)
|
|
496
496
|
});
|
|
497
497
|
var VehicleDetailGPSMainSchema = z3.object({
|
|
498
|
+
temperature: enumOptional("Temperature", YesNo, "No" /* No */),
|
|
499
|
+
duel_temperature: enumOptional("Dual Temperature", YesNo, "No" /* No */),
|
|
500
|
+
fuel: enumOptional("Fuel", YesNo, "No" /* No */),
|
|
501
|
+
fuel_bluetooth: enumOptional("Fuel Bluetooth", YesNo, "No" /* No */),
|
|
502
|
+
fuel_tank_size: numberOptional("Fuel Tank Size"),
|
|
503
|
+
over_speed_kmph: numberOptional("Over Speed KMPH"),
|
|
498
504
|
gps_lock_relay: enumOptional("GPS Lock Relay", YesNo, "No" /* No */),
|
|
499
505
|
gps_door_locker: enumOptional("GPS Door Locker", YesNo, "No" /* No */),
|
|
500
506
|
door_sensor: enumOptional("Door Sensor", YesNo, "No" /* No */),
|
|
@@ -779,6 +785,12 @@ var newVehiclePayload = () => ({
|
|
|
779
785
|
vehicle_tank_2_fuel_quantity: 0
|
|
780
786
|
});
|
|
781
787
|
var toVehicleDetailsGPSPayload = (vehicleGPS) => ({
|
|
788
|
+
temperature: vehicleGPS?.temperature ?? "No" /* No */,
|
|
789
|
+
duel_temperature: vehicleGPS?.duel_temperature ?? "No" /* No */,
|
|
790
|
+
fuel: vehicleGPS?.fuel ?? "No" /* No */,
|
|
791
|
+
fuel_bluetooth: vehicleGPS?.fuel_bluetooth ?? "No" /* No */,
|
|
792
|
+
fuel_tank_size: vehicleGPS?.fuel_tank_size ?? 0,
|
|
793
|
+
over_speed_kmph: vehicleGPS?.over_speed_kmph ?? 0,
|
|
782
794
|
gps_lock_relay: vehicleGPS?.gps_lock_relay ?? "No" /* No */,
|
|
783
795
|
gps_door_locker: vehicleGPS?.gps_door_locker ?? "No" /* No */,
|
|
784
796
|
door_sensor: vehicleGPS?.door_sensor ?? "No" /* No */,
|