vms-nest-prisma-api-document 6.0.16 → 6.0.17
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 +11 -11
- package/dist/services/account/notification_service.d.ts +27 -27
- package/dist/services/account/ticket_service.d.ts +3 -3
- 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_data_service.d.ts +3 -3
- 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 +5 -5
- 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_models/GpsAnalytics.d.ts +1 -1
- package/dist/services/gps/reports/gps_models/GpsPacket.d.ts +1 -1
- package/dist/services/gps/reports/gps_models/GpsSensor.d.ts +1 -1
- package/dist/services/gps/reports/gps_reports_mongo_service.d.ts +18 -18
- package/dist/services/gps/reports/gps_reports_mongo_service.js +6 -6
- 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_admin_service.d.ts +2 -2
- 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/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_eway_bill_provider_service.d.ts +2 -2
- package/dist/services/master/main/master_main_fasttag_bank_service.d.ts +2 -2
- package/dist/services/master/main/master_main_industry_service.d.ts +1 -1
- package/dist/services/master/main/master_main_landmark_service.d.ts +7 -7
- package/dist/services/master/main/master_main_language_service.d.ts +1 -1
- package/dist/services/master/main/master_main_sim_provider_service.d.ts +2 -2
- 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-Cx3ffrVp.d.ts → user_organisation_service-CukiDGua.d.ts} +127 -127
- 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-CukiDGua.js';
|
|
5
5
|
import '../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -40,9 +40,12 @@ declare const BookMarkSchema: z.ZodObject<{
|
|
|
40
40
|
sub_item_url: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
41
41
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
42
42
|
}, "strip", z.ZodTypeAny, {
|
|
43
|
+
status: Status;
|
|
44
|
+
organisation_id: string;
|
|
45
|
+
user_id: string;
|
|
46
|
+
group_name: string;
|
|
43
47
|
module_name: string;
|
|
44
48
|
menu_type: MenuType;
|
|
45
|
-
group_name: string;
|
|
46
49
|
group_name_language: string;
|
|
47
50
|
group_icon: string;
|
|
48
51
|
group_url: string;
|
|
@@ -50,19 +53,16 @@ declare const BookMarkSchema: z.ZodObject<{
|
|
|
50
53
|
sub_item_name_language: string;
|
|
51
54
|
sub_item_icon: string;
|
|
52
55
|
sub_item_url: string;
|
|
56
|
+
}, {
|
|
53
57
|
status: Status;
|
|
54
58
|
organisation_id: string;
|
|
55
59
|
user_id: string;
|
|
56
|
-
|
|
60
|
+
group_name: string;
|
|
57
61
|
module_name: string;
|
|
58
62
|
menu_type: MenuType;
|
|
59
|
-
group_name: string;
|
|
60
63
|
group_name_language: string;
|
|
61
64
|
group_icon: string;
|
|
62
65
|
group_url: string;
|
|
63
|
-
status: Status;
|
|
64
|
-
organisation_id: string;
|
|
65
|
-
user_id: string;
|
|
66
66
|
sub_item_name?: string | undefined;
|
|
67
67
|
sub_item_name_language?: string | undefined;
|
|
68
68
|
sub_item_icon?: string | undefined;
|
|
@@ -105,8 +105,8 @@ declare const BookMarkQuerySchema: z.ZodObject<{
|
|
|
105
105
|
bookmark_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
106
106
|
menu_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof MenuType>, "many">>>;
|
|
107
107
|
}, "strip", z.ZodTypeAny, {
|
|
108
|
-
menu_type: MenuType[];
|
|
109
108
|
status: Status[];
|
|
109
|
+
time_zone_id: string;
|
|
110
110
|
search: string;
|
|
111
111
|
paging: PAGING;
|
|
112
112
|
page_count: number;
|
|
@@ -126,14 +126,13 @@ declare const BookMarkQuerySchema: z.ZodObject<{
|
|
|
126
126
|
}[];
|
|
127
127
|
include_master_data: YesNo;
|
|
128
128
|
date_format_id: string;
|
|
129
|
-
time_zone_id: string;
|
|
130
129
|
organisation_ids: string[];
|
|
131
130
|
user_ids: string[];
|
|
131
|
+
menu_type: MenuType[];
|
|
132
132
|
bookmark_ids: string[];
|
|
133
133
|
}, {
|
|
134
|
-
date_format_id: string;
|
|
135
134
|
time_zone_id: string;
|
|
136
|
-
|
|
135
|
+
date_format_id: string;
|
|
137
136
|
status?: Status[] | undefined;
|
|
138
137
|
search?: string | undefined;
|
|
139
138
|
paging?: PAGING | undefined;
|
|
@@ -155,6 +154,7 @@ declare const BookMarkQuerySchema: z.ZodObject<{
|
|
|
155
154
|
include_master_data?: YesNo | undefined;
|
|
156
155
|
organisation_ids?: string[] | undefined;
|
|
157
156
|
user_ids?: string[] | undefined;
|
|
157
|
+
menu_type?: MenuType[] | undefined;
|
|
158
158
|
bookmark_ids?: string[] | undefined;
|
|
159
159
|
}>;
|
|
160
160
|
type BookMarkQueryDTO = z.infer<typeof BookMarkQuerySchema>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Module, AlertType, AlertSubType, 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 } from '../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver } from '../../user_organisation_service-CukiDGua.js';
|
|
5
5
|
import { GPSGeofenceData } from '../gps/features/geofence/gps_geofence_data_service.js';
|
|
6
6
|
import { MasterMainLandmark } from '../master/main/master_main_landmark_service.js';
|
|
7
7
|
import '../../zod_utils/zod_base_schema.js';
|
|
@@ -71,14 +71,6 @@ declare const NotificationSchema: z.ZodObject<{
|
|
|
71
71
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
72
72
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
73
73
|
}, "strip", z.ZodTypeAny, {
|
|
74
|
-
status: Status;
|
|
75
|
-
organisation_id: string;
|
|
76
|
-
user_id: string;
|
|
77
|
-
time_zone_id: string;
|
|
78
|
-
driver_id: string;
|
|
79
|
-
vehicle_id: string;
|
|
80
|
-
gps_geofence_id: string;
|
|
81
|
-
google_location: string;
|
|
82
74
|
module: Module;
|
|
83
75
|
alert_type: AlertType;
|
|
84
76
|
alert_sub_type: AlertSubType;
|
|
@@ -91,24 +83,29 @@ declare const NotificationSchema: z.ZodObject<{
|
|
|
91
83
|
notification_key_4: string;
|
|
92
84
|
notification_key_5: string;
|
|
93
85
|
notification_key_6: string;
|
|
94
|
-
|
|
95
|
-
longitude?: number | undefined;
|
|
96
|
-
}, {
|
|
86
|
+
google_location: string;
|
|
97
87
|
status: Status;
|
|
98
88
|
organisation_id: string;
|
|
99
89
|
user_id: string;
|
|
100
|
-
time_zone_id: string;
|
|
101
|
-
driver_id: string;
|
|
102
90
|
vehicle_id: string;
|
|
91
|
+
driver_id: string;
|
|
103
92
|
gps_geofence_id: string;
|
|
93
|
+
time_zone_id: string;
|
|
94
|
+
latitude?: number | undefined;
|
|
95
|
+
longitude?: number | undefined;
|
|
96
|
+
}, {
|
|
104
97
|
module: Module;
|
|
105
98
|
alert_type: AlertType;
|
|
106
99
|
alert_sub_type: AlertSubType;
|
|
107
100
|
date_time: string;
|
|
108
101
|
notification_message: string;
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
102
|
+
status: Status;
|
|
103
|
+
organisation_id: string;
|
|
104
|
+
user_id: string;
|
|
105
|
+
vehicle_id: string;
|
|
106
|
+
driver_id: string;
|
|
107
|
+
gps_geofence_id: string;
|
|
108
|
+
time_zone_id: string;
|
|
112
109
|
notification_html_message?: string | undefined;
|
|
113
110
|
notification_key_1?: string | undefined;
|
|
114
111
|
notification_key_2?: string | undefined;
|
|
@@ -116,6 +113,9 @@ declare const NotificationSchema: z.ZodObject<{
|
|
|
116
113
|
notification_key_4?: string | undefined;
|
|
117
114
|
notification_key_5?: string | undefined;
|
|
118
115
|
notification_key_6?: string | undefined;
|
|
116
|
+
latitude?: unknown;
|
|
117
|
+
longitude?: unknown;
|
|
118
|
+
google_location?: string | undefined;
|
|
119
119
|
}>;
|
|
120
120
|
type NotificationDTO = z.infer<typeof NotificationSchema>;
|
|
121
121
|
declare const NotificationQuerySchema: z.ZodObject<{
|
|
@@ -159,7 +159,11 @@ declare const NotificationQuerySchema: z.ZodObject<{
|
|
|
159
159
|
alert_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof AlertType>, "many">>>;
|
|
160
160
|
alert_sub_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof AlertSubType>, "many">>>;
|
|
161
161
|
}, "strip", z.ZodTypeAny, {
|
|
162
|
+
module: Module[];
|
|
163
|
+
alert_type: AlertType[];
|
|
164
|
+
alert_sub_type: AlertSubType[];
|
|
162
165
|
status: Status[];
|
|
166
|
+
time_zone_id: string;
|
|
163
167
|
search: string;
|
|
164
168
|
paging: PAGING;
|
|
165
169
|
page_count: number;
|
|
@@ -179,19 +183,18 @@ declare const NotificationQuerySchema: z.ZodObject<{
|
|
|
179
183
|
}[];
|
|
180
184
|
include_master_data: YesNo;
|
|
181
185
|
date_format_id: string;
|
|
182
|
-
|
|
186
|
+
notification_ids: string[];
|
|
183
187
|
organisation_ids: string[];
|
|
184
188
|
user_ids: string[];
|
|
185
189
|
vehicle_ids: string[];
|
|
186
190
|
driver_ids: string[];
|
|
187
|
-
module: Module[];
|
|
188
|
-
alert_type: AlertType[];
|
|
189
|
-
alert_sub_type: AlertSubType[];
|
|
190
|
-
notification_ids: string[];
|
|
191
191
|
gps_geofence_ids: string[];
|
|
192
192
|
}, {
|
|
193
|
-
date_format_id: string;
|
|
194
193
|
time_zone_id: string;
|
|
194
|
+
date_format_id: string;
|
|
195
|
+
module?: Module[] | undefined;
|
|
196
|
+
alert_type?: AlertType[] | undefined;
|
|
197
|
+
alert_sub_type?: AlertSubType[] | undefined;
|
|
195
198
|
status?: Status[] | undefined;
|
|
196
199
|
search?: string | undefined;
|
|
197
200
|
paging?: PAGING | undefined;
|
|
@@ -211,14 +214,11 @@ declare const NotificationQuerySchema: z.ZodObject<{
|
|
|
211
214
|
direction: OrderBy;
|
|
212
215
|
}[] | undefined;
|
|
213
216
|
include_master_data?: YesNo | undefined;
|
|
217
|
+
notification_ids?: string[] | undefined;
|
|
214
218
|
organisation_ids?: string[] | undefined;
|
|
215
219
|
user_ids?: string[] | undefined;
|
|
216
220
|
vehicle_ids?: string[] | undefined;
|
|
217
221
|
driver_ids?: string[] | undefined;
|
|
218
|
-
module?: Module[] | undefined;
|
|
219
|
-
alert_type?: AlertType[] | undefined;
|
|
220
|
-
alert_sub_type?: AlertSubType[] | undefined;
|
|
221
|
-
notification_ids?: string[] | undefined;
|
|
222
222
|
gps_geofence_ids?: string[] | undefined;
|
|
223
223
|
}>;
|
|
224
224
|
type NotificationQueryDTO = z.infer<typeof NotificationQuerySchema>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FileType, Status, TicketStatus, 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-CukiDGua.js';
|
|
5
5
|
import { UserAdmin } from '../main/users/user_admin_service.js';
|
|
6
6
|
import '../../zod_utils/zod_base_schema.js';
|
|
7
7
|
import '../master/main/master_main_sim_provider_service.js';
|
|
@@ -191,6 +191,7 @@ declare const TicketQuerySchema: z.ZodObject<{
|
|
|
191
191
|
ticket_status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof TicketStatus>, "many">>>;
|
|
192
192
|
}, "strip", z.ZodTypeAny, {
|
|
193
193
|
status: Status[];
|
|
194
|
+
time_zone_id: string;
|
|
194
195
|
search: string;
|
|
195
196
|
paging: PAGING;
|
|
196
197
|
page_count: number;
|
|
@@ -210,15 +211,14 @@ declare const TicketQuerySchema: z.ZodObject<{
|
|
|
210
211
|
}[];
|
|
211
212
|
include_master_data: YesNo;
|
|
212
213
|
date_format_id: string;
|
|
213
|
-
time_zone_id: string;
|
|
214
214
|
organisation_ids: string[];
|
|
215
215
|
user_ids: string[];
|
|
216
216
|
admin_ids: string[];
|
|
217
217
|
ticket_status: TicketStatus[];
|
|
218
218
|
ticket_ids: string[];
|
|
219
219
|
}, {
|
|
220
|
-
date_format_id: string;
|
|
221
220
|
time_zone_id: string;
|
|
221
|
+
date_format_id: string;
|
|
222
222
|
status?: Status[] | undefined;
|
|
223
223
|
search?: string | undefined;
|
|
224
224
|
paging?: PAGING | undefined;
|
|
@@ -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-CukiDGua.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 { YesNo, PaymentMode, PaymentStatus, RefillMethod, RefillEntrySource, GPS
|
|
|
2
2
|
import { 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 } from '../../../user_organisation_service-
|
|
5
|
+
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice, d as MasterVehicleFuelType } from '../../../user_organisation_service-CukiDGua.js';
|
|
6
6
|
import { MasterMainLandmark } from '../../master/main/master_main_landmark_service.js';
|
|
7
7
|
import { MasterVehicleFuelUnit } from '../../master/vehicle/master_vehicle_fuel_unit_service.js';
|
|
8
8
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
@@ -2,7 +2,7 @@ import { RefillEntrySource, GPSFuelApproveStatus, Status, FileType, PAGING, Load
|
|
|
2
2
|
import { 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 } from '../../../user_organisation_service-
|
|
5
|
+
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice, d as MasterVehicleFuelType } from '../../../user_organisation_service-CukiDGua.js';
|
|
6
6
|
import { MasterMainLandmark } from '../../master/main/master_main_landmark_service.js';
|
|
7
7
|
import { MasterVehicleFuelUnit } from '../../master/vehicle/master_vehicle_fuel_unit_service.js';
|
|
8
8
|
import { MasterVehicleFuelRemovalReason } from '../../master/vehicle/master_vehicle_fuel_removal_reason_service.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GeofenceType, GeofencePurposeType, 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-CukiDGua.js';
|
|
5
5
|
import '../../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -126,6 +126,7 @@ declare const GPSGeofenceDataQuerySchema: z.ZodObject<{
|
|
|
126
126
|
geofence_purpose_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof GeofencePurposeType>, "many">>>;
|
|
127
127
|
}, "strip", z.ZodTypeAny, {
|
|
128
128
|
status: Status[];
|
|
129
|
+
time_zone_id: string;
|
|
129
130
|
search: string;
|
|
130
131
|
paging: PAGING;
|
|
131
132
|
page_count: number;
|
|
@@ -145,13 +146,12 @@ declare const GPSGeofenceDataQuerySchema: z.ZodObject<{
|
|
|
145
146
|
}[];
|
|
146
147
|
include_master_data: YesNo;
|
|
147
148
|
date_format_id: string;
|
|
148
|
-
time_zone_id: string;
|
|
149
149
|
organisation_ids: string[];
|
|
150
150
|
geofence_type: GeofenceType[];
|
|
151
151
|
geofence_purpose_type: GeofencePurposeType[];
|
|
152
152
|
}, {
|
|
153
|
-
date_format_id: string;
|
|
154
153
|
time_zone_id: string;
|
|
154
|
+
date_format_id: string;
|
|
155
155
|
status?: Status[] | undefined;
|
|
156
156
|
search?: string | undefined;
|
|
157
157
|
paging?: PAGING | undefined;
|
|
@@ -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-CukiDGua.js';
|
|
5
5
|
import { GPSGeofenceData } from './gps_geofence_data_service.js';
|
|
6
6
|
import '../../../../zod_utils/zod_base_schema.js';
|
|
7
7
|
import '../../../master/main/master_main_sim_provider_service.js';
|
|
@@ -31,21 +31,21 @@ declare const GPSGeofenceTransactionSchema: z.ZodObject<{
|
|
|
31
31
|
geofence_time: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
32
32
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
33
33
|
}, "strip", z.ZodTypeAny, {
|
|
34
|
+
geofence_status_type: GeofenceStatusType;
|
|
35
|
+
geofence_time: string;
|
|
34
36
|
status: Status;
|
|
35
37
|
organisation_id: string;
|
|
36
38
|
vehicle_id: string;
|
|
37
39
|
driver_id: string;
|
|
38
40
|
gps_geofence_id: string;
|
|
41
|
+
}, {
|
|
39
42
|
geofence_status_type: GeofenceStatusType;
|
|
40
43
|
geofence_time: string;
|
|
41
|
-
}, {
|
|
42
44
|
status: Status;
|
|
43
45
|
organisation_id: string;
|
|
44
46
|
vehicle_id: string;
|
|
45
47
|
driver_id: string;
|
|
46
48
|
gps_geofence_id: string;
|
|
47
|
-
geofence_status_type: GeofenceStatusType;
|
|
48
|
-
geofence_time: string;
|
|
49
49
|
}>;
|
|
50
50
|
type GPSGeofenceTransactionDTO = z.infer<typeof GPSGeofenceTransactionSchema>;
|
|
51
51
|
declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
@@ -85,6 +85,7 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
|
85
85
|
gps_geofence_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
86
86
|
geofence_status_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof GeofenceStatusType>, "many">>>;
|
|
87
87
|
}, "strip", z.ZodTypeAny, {
|
|
88
|
+
geofence_status_type: GeofenceStatusType[];
|
|
88
89
|
status: Status[];
|
|
89
90
|
search: string;
|
|
90
91
|
paging: PAGING;
|
|
@@ -110,10 +111,10 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
|
110
111
|
vehicle_ids: string[];
|
|
111
112
|
driver_ids: string[];
|
|
112
113
|
gps_geofence_ids: string[];
|
|
113
|
-
geofence_status_type: GeofenceStatusType[];
|
|
114
114
|
}, {
|
|
115
115
|
date_format_id: string;
|
|
116
116
|
time_zone_id: string;
|
|
117
|
+
geofence_status_type?: GeofenceStatusType[] | undefined;
|
|
117
118
|
status?: Status[] | undefined;
|
|
118
119
|
search?: string | undefined;
|
|
119
120
|
paging?: PAGING | undefined;
|
|
@@ -137,7 +138,6 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
|
137
138
|
vehicle_ids?: string[] | undefined;
|
|
138
139
|
driver_ids?: string[] | undefined;
|
|
139
140
|
gps_geofence_ids?: string[] | undefined;
|
|
140
|
-
geofence_status_type?: GeofenceStatusType[] | undefined;
|
|
141
141
|
}>;
|
|
142
142
|
type GPSGeofenceTransactionQueryDTO = z.infer<typeof GPSGeofenceTransactionQuerySchema>;
|
|
143
143
|
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-CukiDGua.js';
|
|
5
5
|
import { GPSGeofenceData } from './gps_geofence_data_service.js';
|
|
6
6
|
import { GPSGeofenceTransaction } from './gps_geofence_transaction_service.js';
|
|
7
7
|
import '../../../../zod_utils/zod_base_schema.js';
|
|
@@ -40,23 +40,23 @@ declare const GPSGeofenceTransactionSummarySchema: z.ZodObject<{
|
|
|
40
40
|
duration_seconds: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
41
41
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
42
42
|
}, "strip", z.ZodTypeAny, {
|
|
43
|
-
geofence_enter_date_time: string;
|
|
44
|
-
geofence_exit_date_time: string;
|
|
45
|
-
duration_seconds: number;
|
|
46
43
|
status: Status;
|
|
47
44
|
organisation_id: string;
|
|
48
45
|
vehicle_id: string;
|
|
49
46
|
driver_id: string;
|
|
50
47
|
gps_geofence_id: string;
|
|
48
|
+
geofence_enter_date_time: string;
|
|
49
|
+
geofence_exit_date_time: string;
|
|
50
|
+
duration_seconds: number;
|
|
51
51
|
enter_gps_geofence_transaction_id: string;
|
|
52
52
|
exit_gps_geofence_transaction_id: string;
|
|
53
53
|
}, {
|
|
54
|
-
geofence_enter_date_time: string;
|
|
55
54
|
status: Status;
|
|
56
55
|
organisation_id: string;
|
|
57
56
|
vehicle_id: string;
|
|
58
57
|
driver_id: string;
|
|
59
58
|
gps_geofence_id: string;
|
|
59
|
+
geofence_enter_date_time: string;
|
|
60
60
|
enter_gps_geofence_transaction_id: string;
|
|
61
61
|
exit_gps_geofence_transaction_id: string;
|
|
62
62
|
geofence_exit_date_time?: string | undefined;
|
|
@@ -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-CukiDGua.js';
|
|
5
5
|
import { GPSGeofenceData } from './gps_geofence_data_service.js';
|
|
6
6
|
import '../../../../zod_utils/zod_base_schema.js';
|
|
7
7
|
import '../../../master/main/master_main_sim_provider_service.js';
|
|
@@ -62,11 +62,11 @@ declare const TripGeofenceToGeofenceSchema: z.ZodObject<{
|
|
|
62
62
|
mileage: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
63
63
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
64
64
|
}, "strip", z.ZodTypeAny, {
|
|
65
|
-
duration_seconds: number;
|
|
66
65
|
status: Status;
|
|
67
66
|
organisation_id: string;
|
|
68
67
|
vehicle_id: string;
|
|
69
68
|
driver_id: string;
|
|
69
|
+
duration_seconds: number;
|
|
70
70
|
from_geofence_exit_date_time: string;
|
|
71
71
|
to_geofence_enter_date_time: string;
|
|
72
72
|
travel_duration_seconds: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { LinkType, LinkStatus, 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-CukiDGua.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, 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-CukiDGua.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -22,7 +22,7 @@ declare const MultipleVehicleReportSchema: z.ZodObject<{
|
|
|
22
22
|
} & {
|
|
23
23
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
24
24
|
db_instance: z.ZodEffects<z.ZodString, string, string>;
|
|
25
|
-
|
|
25
|
+
db_group: z.ZodEffects<z.ZodString, string, string>;
|
|
26
26
|
vehicle_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
27
27
|
from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
28
28
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
@@ -42,7 +42,7 @@ declare const MultipleVehicleReportSchema: z.ZodObject<{
|
|
|
42
42
|
time_zone_id: string;
|
|
43
43
|
organisation_id: string;
|
|
44
44
|
db_instance: string;
|
|
45
|
-
|
|
45
|
+
db_group: string;
|
|
46
46
|
vehicle_ids: string[];
|
|
47
47
|
from_date: string;
|
|
48
48
|
to_date: string;
|
|
@@ -58,7 +58,7 @@ declare const MultipleVehicleReportSchema: z.ZodObject<{
|
|
|
58
58
|
time_zone_id: string;
|
|
59
59
|
organisation_id: string;
|
|
60
60
|
db_instance: string;
|
|
61
|
-
|
|
61
|
+
db_group: string;
|
|
62
62
|
from_date: string;
|
|
63
63
|
to_date: string;
|
|
64
64
|
search?: string | undefined;
|
|
@@ -85,7 +85,7 @@ declare const MultipleDriverReportSchema: z.ZodObject<{
|
|
|
85
85
|
} & {
|
|
86
86
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
87
87
|
db_instance: z.ZodEffects<z.ZodString, string, string>;
|
|
88
|
-
|
|
88
|
+
db_group: z.ZodEffects<z.ZodString, string, string>;
|
|
89
89
|
driver_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
90
90
|
from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
91
91
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
@@ -105,7 +105,7 @@ declare const MultipleDriverReportSchema: z.ZodObject<{
|
|
|
105
105
|
time_zone_id: string;
|
|
106
106
|
organisation_id: string;
|
|
107
107
|
db_instance: string;
|
|
108
|
-
|
|
108
|
+
db_group: string;
|
|
109
109
|
from_date: string;
|
|
110
110
|
to_date: string;
|
|
111
111
|
time_slot: TimeSlot;
|
|
@@ -121,7 +121,7 @@ declare const MultipleDriverReportSchema: z.ZodObject<{
|
|
|
121
121
|
time_zone_id: string;
|
|
122
122
|
organisation_id: string;
|
|
123
123
|
db_instance: string;
|
|
124
|
-
|
|
124
|
+
db_group: string;
|
|
125
125
|
from_date: string;
|
|
126
126
|
to_date: string;
|
|
127
127
|
search?: string | undefined;
|
|
@@ -148,7 +148,7 @@ declare const SimpleReportSchema: z.ZodObject<{
|
|
|
148
148
|
} & {
|
|
149
149
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
150
150
|
db_instance: z.ZodEffects<z.ZodString, string, string>;
|
|
151
|
-
|
|
151
|
+
db_group: z.ZodEffects<z.ZodString, string, string>;
|
|
152
152
|
vehicle_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
153
153
|
from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
154
154
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
@@ -165,7 +165,7 @@ declare const SimpleReportSchema: z.ZodObject<{
|
|
|
165
165
|
time_zone_id: string;
|
|
166
166
|
organisation_id: string;
|
|
167
167
|
db_instance: string;
|
|
168
|
-
|
|
168
|
+
db_group: string;
|
|
169
169
|
vehicle_ids: string[];
|
|
170
170
|
from_date: string;
|
|
171
171
|
to_date: string;
|
|
@@ -178,7 +178,7 @@ declare const SimpleReportSchema: z.ZodObject<{
|
|
|
178
178
|
time_zone_id: string;
|
|
179
179
|
organisation_id: string;
|
|
180
180
|
db_instance: string;
|
|
181
|
-
|
|
181
|
+
db_group: string;
|
|
182
182
|
from_date: string;
|
|
183
183
|
to_date: string;
|
|
184
184
|
gps_type: GPSType;
|
|
@@ -202,7 +202,7 @@ declare const MultipleVehicleLast24HoursReportSchema: z.ZodObject<{
|
|
|
202
202
|
} & {
|
|
203
203
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
204
204
|
db_instance: z.ZodEffects<z.ZodString, string, string>;
|
|
205
|
-
|
|
205
|
+
db_group: z.ZodEffects<z.ZodString, string, string>;
|
|
206
206
|
vehicle_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
207
207
|
utilization_km: z.ZodEffects<z.ZodNumber, number, unknown>;
|
|
208
208
|
is12am: z.ZodType<Is12AM, z.ZodTypeDef, Is12AM>;
|
|
@@ -216,7 +216,7 @@ declare const MultipleVehicleLast24HoursReportSchema: z.ZodObject<{
|
|
|
216
216
|
time_zone_id: string;
|
|
217
217
|
organisation_id: string;
|
|
218
218
|
db_instance: string;
|
|
219
|
-
|
|
219
|
+
db_group: string;
|
|
220
220
|
vehicle_ids: string[];
|
|
221
221
|
utilization_km: number;
|
|
222
222
|
is12am: Is12AM;
|
|
@@ -226,7 +226,7 @@ declare const MultipleVehicleLast24HoursReportSchema: z.ZodObject<{
|
|
|
226
226
|
time_zone_id: string;
|
|
227
227
|
organisation_id: string;
|
|
228
228
|
db_instance: string;
|
|
229
|
-
|
|
229
|
+
db_group: string;
|
|
230
230
|
is12am: Is12AM;
|
|
231
231
|
search?: string | undefined;
|
|
232
232
|
paging?: PAGING | undefined;
|
|
@@ -247,7 +247,7 @@ declare const SingleVehicleReportSchema: z.ZodObject<{
|
|
|
247
247
|
} & {
|
|
248
248
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
249
249
|
db_instance: z.ZodEffects<z.ZodString, string, string>;
|
|
250
|
-
|
|
250
|
+
db_group: z.ZodEffects<z.ZodString, string, string>;
|
|
251
251
|
vehicle_id: z.ZodEffects<z.ZodString, string, string>;
|
|
252
252
|
from_date_time: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
253
253
|
to_date_time: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
@@ -262,7 +262,7 @@ declare const SingleVehicleReportSchema: z.ZodObject<{
|
|
|
262
262
|
time_zone_id: string;
|
|
263
263
|
organisation_id: string;
|
|
264
264
|
db_instance: string;
|
|
265
|
-
|
|
265
|
+
db_group: string;
|
|
266
266
|
interval_seconds: number;
|
|
267
267
|
vehicle_id: string;
|
|
268
268
|
from_date_time: string;
|
|
@@ -273,7 +273,7 @@ declare const SingleVehicleReportSchema: z.ZodObject<{
|
|
|
273
273
|
time_zone_id: string;
|
|
274
274
|
organisation_id: string;
|
|
275
275
|
db_instance: string;
|
|
276
|
-
|
|
276
|
+
db_group: string;
|
|
277
277
|
vehicle_id: string;
|
|
278
278
|
from_date_time: string;
|
|
279
279
|
to_date_time: string;
|
|
@@ -295,7 +295,7 @@ declare const VehicleDashboardSummaryQuerySchema: z.ZodObject<{
|
|
|
295
295
|
} & {
|
|
296
296
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
297
297
|
db_instance: z.ZodEffects<z.ZodString, string, string>;
|
|
298
|
-
|
|
298
|
+
db_group: z.ZodEffects<z.ZodString, string, string>;
|
|
299
299
|
vehicle_id: z.ZodEffects<z.ZodString, string, string>;
|
|
300
300
|
}, "strip", z.ZodTypeAny, {
|
|
301
301
|
search: string;
|
|
@@ -307,7 +307,7 @@ declare const VehicleDashboardSummaryQuerySchema: z.ZodObject<{
|
|
|
307
307
|
time_zone_id: string;
|
|
308
308
|
organisation_id: string;
|
|
309
309
|
db_instance: string;
|
|
310
|
-
|
|
310
|
+
db_group: string;
|
|
311
311
|
vehicle_id: string;
|
|
312
312
|
}, {
|
|
313
313
|
login_from: LoginFrom;
|
|
@@ -315,7 +315,7 @@ declare const VehicleDashboardSummaryQuerySchema: z.ZodObject<{
|
|
|
315
315
|
time_zone_id: string;
|
|
316
316
|
organisation_id: string;
|
|
317
317
|
db_instance: string;
|
|
318
|
-
|
|
318
|
+
db_group: string;
|
|
319
319
|
vehicle_id: string;
|
|
320
320
|
search?: string | undefined;
|
|
321
321
|
paging?: PAGING | undefined;
|