vms-nest-prisma-api-document 6.0.21 → 6.0.23
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 +3 -3
- package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +6 -6
- package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +10 -10
- 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/GpsAlert.d.ts +2 -1
- package/dist/services/gps/reports/gps_reports_mongo_service.d.ts +49 -49
- 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 +1 -1
- package/dist/services/master/expense/master_vendor_document_type_service.d.ts +1 -1
- 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/services/website/contact_us_detail_service.d.ts +1 -1
- package/dist/services/website/faq_service.d.ts +1 -1
- package/package.json +1 -1
- package/dist/{user_organisation_service-BLMLICYW.d.ts → user_organisation_service-CukiDGua.d.ts} +123 -123
|
@@ -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';
|
|
@@ -109,8 +109,8 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
|
109
109
|
organisation_ids: string[];
|
|
110
110
|
vehicle_ids: string[];
|
|
111
111
|
driver_ids: string[];
|
|
112
|
-
gps_geofence_ids: string[];
|
|
113
112
|
geofence_status_type: GeofenceStatusType[];
|
|
113
|
+
gps_geofence_ids: string[];
|
|
114
114
|
}, {
|
|
115
115
|
date_format_id: string;
|
|
116
116
|
time_zone_id: string;
|
|
@@ -136,8 +136,8 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
|
136
136
|
organisation_ids?: string[] | undefined;
|
|
137
137
|
vehicle_ids?: string[] | undefined;
|
|
138
138
|
driver_ids?: string[] | undefined;
|
|
139
|
-
gps_geofence_ids?: string[] | undefined;
|
|
140
139
|
geofence_status_type?: GeofenceStatusType[] | undefined;
|
|
140
|
+
gps_geofence_ids?: string[] | 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,27 +40,27 @@ 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
43
|
duration_seconds: number;
|
|
46
44
|
status: Status;
|
|
47
45
|
organisation_id: string;
|
|
48
46
|
vehicle_id: string;
|
|
49
47
|
driver_id: string;
|
|
50
48
|
gps_geofence_id: string;
|
|
49
|
+
geofence_enter_date_time: string;
|
|
50
|
+
geofence_exit_date_time: string;
|
|
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
|
-
geofence_exit_date_time?: string | undefined;
|
|
63
62
|
duration_seconds?: unknown;
|
|
63
|
+
geofence_exit_date_time?: string | undefined;
|
|
64
64
|
}>;
|
|
65
65
|
type GPSGeofenceTransactionSummaryDTO = z.infer<typeof GPSGeofenceTransactionSummarySchema>;
|
|
66
66
|
declare const GPSGeofenceTransactionSummaryQuerySchema: z.ZodObject<{
|
|
@@ -125,9 +125,9 @@ declare const GPSGeofenceTransactionSummaryQuerySchema: z.ZodObject<{
|
|
|
125
125
|
organisation_ids: string[];
|
|
126
126
|
vehicle_ids: string[];
|
|
127
127
|
driver_ids: string[];
|
|
128
|
-
gps_geofence_ids: string[];
|
|
129
128
|
from_date: string;
|
|
130
129
|
to_date: string;
|
|
130
|
+
gps_geofence_ids: string[];
|
|
131
131
|
}, {
|
|
132
132
|
date_format_id: string;
|
|
133
133
|
time_zone_id: string;
|
|
@@ -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,19 +62,19 @@ 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
|
-
status: Status;
|
|
67
|
-
organisation_id: string;
|
|
68
|
-
vehicle_id: string;
|
|
69
|
-
driver_id: string;
|
|
70
65
|
from_geofence_exit_date_time: string;
|
|
71
66
|
to_geofence_enter_date_time: string;
|
|
67
|
+
duration_seconds: number;
|
|
72
68
|
travel_duration_seconds: number;
|
|
73
69
|
stopped_duration_seconds: number;
|
|
74
70
|
max_speed: number;
|
|
75
71
|
avg_speed: number;
|
|
76
72
|
refills_count: number;
|
|
77
73
|
removals_count: number;
|
|
74
|
+
status: Status;
|
|
75
|
+
organisation_id: string;
|
|
76
|
+
vehicle_id: string;
|
|
77
|
+
driver_id: string;
|
|
78
78
|
from_geofence_id: string;
|
|
79
79
|
to_geofence_id: string;
|
|
80
80
|
distance_meters?: number | undefined;
|
|
@@ -85,12 +85,12 @@ declare const TripGeofenceToGeofenceSchema: z.ZodObject<{
|
|
|
85
85
|
removal_fuel_liters?: number | undefined;
|
|
86
86
|
mileage?: number | undefined;
|
|
87
87
|
}, {
|
|
88
|
+
from_geofence_exit_date_time: string;
|
|
89
|
+
to_geofence_enter_date_time: string;
|
|
88
90
|
status: Status;
|
|
89
91
|
organisation_id: string;
|
|
90
92
|
vehicle_id: string;
|
|
91
93
|
driver_id: string;
|
|
92
|
-
from_geofence_exit_date_time: string;
|
|
93
|
-
to_geofence_enter_date_time: string;
|
|
94
94
|
from_geofence_id: string;
|
|
95
95
|
to_geofence_id: string;
|
|
96
96
|
duration_seconds?: unknown;
|
|
@@ -172,10 +172,10 @@ declare const TripGeofenceToGeofenceQuerySchema: z.ZodObject<{
|
|
|
172
172
|
organisation_ids: string[];
|
|
173
173
|
vehicle_ids: string[];
|
|
174
174
|
driver_ids: string[];
|
|
175
|
-
from_date: string;
|
|
176
|
-
to_date: string;
|
|
177
175
|
from_geofence_ids: string[];
|
|
178
176
|
to_geofence_ids: string[];
|
|
177
|
+
from_date: string;
|
|
178
|
+
to_date: string;
|
|
179
179
|
}, {
|
|
180
180
|
date_format_id: string;
|
|
181
181
|
time_zone_id: string;
|
|
@@ -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
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Module, AlertType, AlertSubType } from '../../../../core/Enums.js';
|
|
2
2
|
|
|
3
|
-
interface GpsAlert {
|
|
3
|
+
interface GpsAlert extends Record<string, unknown> {
|
|
4
4
|
o_id: string;
|
|
5
5
|
db_i: string;
|
|
6
6
|
db_g: string;
|
|
@@ -18,6 +18,7 @@ interface GpsAlert {
|
|
|
18
18
|
alert_type: AlertType;
|
|
19
19
|
alert_sub_type: AlertSubType;
|
|
20
20
|
dt: string;
|
|
21
|
+
dt_f?: string;
|
|
21
22
|
dts: number;
|
|
22
23
|
la: number;
|
|
23
24
|
lo: number;
|