vms-nest-prisma-api-document 6.0.17 → 6.0.20
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/analytics/user_login_analytics_service.d.ts +3 -3
- package/dist/services/account/analytics/user_page_analytics_service.d.ts +1 -1
- 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 +17 -17
- package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +10 -10
- package/dist/services/gps/reports/gps_models/GpsAlert.d.ts +32 -0
- package/dist/services/gps/reports/gps_models/GpsAlert.js +0 -0
- package/dist/services/gps/reports/gps_reports_mongo_service.d.ts +109 -44
- package/dist/services/gps/reports/gps_reports_mongo_service.js +155 -0
- 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-CukiDGua.d.ts → user_organisation_service-BLMLICYW.d.ts} +123 -123
|
@@ -22,15 +22,15 @@ declare const UserLoginAnalyticsSchema: z.ZodObject<{
|
|
|
22
22
|
}, "strip", z.ZodTypeAny, {
|
|
23
23
|
user_id: string;
|
|
24
24
|
organisation_id: string;
|
|
25
|
-
country_id: string;
|
|
26
25
|
login_from: LoginFrom;
|
|
26
|
+
country_id: string;
|
|
27
27
|
os_details: Record<string, any>;
|
|
28
28
|
ip_details: Record<string, any>;
|
|
29
29
|
}, {
|
|
30
30
|
user_id: string;
|
|
31
31
|
organisation_id: string;
|
|
32
|
-
country_id: string;
|
|
33
32
|
login_from: LoginFrom;
|
|
33
|
+
country_id: string;
|
|
34
34
|
os_details?: Record<string, any> | undefined;
|
|
35
35
|
ip_details?: Record<string, any> | undefined;
|
|
36
36
|
}>;
|
|
@@ -48,11 +48,11 @@ declare const UserLoginAnalyticsQuerySchema: z.ZodObject<{
|
|
|
48
48
|
organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
49
49
|
country_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
50
50
|
}, "strip", z.ZodTypeAny, {
|
|
51
|
-
login_from: LoginFrom;
|
|
52
51
|
search: string;
|
|
53
52
|
paging: PAGING;
|
|
54
53
|
page_count: number;
|
|
55
54
|
page_index: number;
|
|
55
|
+
login_from: LoginFrom;
|
|
56
56
|
date_format_id: string;
|
|
57
57
|
time_zone_id: string;
|
|
58
58
|
user_ids: string[];
|
|
@@ -43,11 +43,11 @@ declare const UserPageAnalyticsQuerySchema: z.ZodObject<{
|
|
|
43
43
|
user_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
44
44
|
organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
45
45
|
}, "strip", z.ZodTypeAny, {
|
|
46
|
-
login_from: LoginFrom;
|
|
47
46
|
search: string;
|
|
48
47
|
paging: PAGING;
|
|
49
48
|
page_count: number;
|
|
50
49
|
page_index: number;
|
|
50
|
+
login_from: LoginFrom;
|
|
51
51
|
date_format_id: string;
|
|
52
52
|
time_zone_id: string;
|
|
53
53
|
user_ids: string[];
|
|
@@ -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-BLMLICYW.js';
|
|
5
5
|
import '../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -40,12 +40,9 @@ 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;
|
|
47
43
|
module_name: string;
|
|
48
44
|
menu_type: MenuType;
|
|
45
|
+
group_name: string;
|
|
49
46
|
group_name_language: string;
|
|
50
47
|
group_icon: string;
|
|
51
48
|
group_url: string;
|
|
@@ -53,16 +50,19 @@ declare const BookMarkSchema: z.ZodObject<{
|
|
|
53
50
|
sub_item_name_language: string;
|
|
54
51
|
sub_item_icon: string;
|
|
55
52
|
sub_item_url: string;
|
|
56
|
-
}, {
|
|
57
53
|
status: Status;
|
|
58
54
|
organisation_id: string;
|
|
59
55
|
user_id: string;
|
|
60
|
-
|
|
56
|
+
}, {
|
|
61
57
|
module_name: string;
|
|
62
58
|
menu_type: MenuType;
|
|
59
|
+
group_name: string;
|
|
63
60
|
group_name_language: string;
|
|
64
61
|
group_icon: string;
|
|
65
62
|
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[];
|
|
108
109
|
status: Status[];
|
|
109
|
-
time_zone_id: string;
|
|
110
110
|
search: string;
|
|
111
111
|
paging: PAGING;
|
|
112
112
|
page_count: number;
|
|
@@ -126,13 +126,14 @@ declare const BookMarkQuerySchema: z.ZodObject<{
|
|
|
126
126
|
}[];
|
|
127
127
|
include_master_data: YesNo;
|
|
128
128
|
date_format_id: string;
|
|
129
|
+
time_zone_id: string;
|
|
129
130
|
organisation_ids: string[];
|
|
130
131
|
user_ids: string[];
|
|
131
|
-
menu_type: MenuType[];
|
|
132
132
|
bookmark_ids: string[];
|
|
133
133
|
}, {
|
|
134
|
-
time_zone_id: string;
|
|
135
134
|
date_format_id: string;
|
|
135
|
+
time_zone_id: string;
|
|
136
|
+
menu_type?: MenuType[] | undefined;
|
|
136
137
|
status?: Status[] | undefined;
|
|
137
138
|
search?: string | undefined;
|
|
138
139
|
paging?: PAGING | undefined;
|
|
@@ -154,7 +155,6 @@ declare const BookMarkQuerySchema: z.ZodObject<{
|
|
|
154
155
|
include_master_data?: YesNo | undefined;
|
|
155
156
|
organisation_ids?: string[] | undefined;
|
|
156
157
|
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-BLMLICYW.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,6 +71,14 @@ 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;
|
|
74
82
|
module: Module;
|
|
75
83
|
alert_type: AlertType;
|
|
76
84
|
alert_sub_type: AlertSubType;
|
|
@@ -83,29 +91,24 @@ declare const NotificationSchema: z.ZodObject<{
|
|
|
83
91
|
notification_key_4: string;
|
|
84
92
|
notification_key_5: string;
|
|
85
93
|
notification_key_6: string;
|
|
86
|
-
|
|
94
|
+
latitude?: number | undefined;
|
|
95
|
+
longitude?: number | undefined;
|
|
96
|
+
}, {
|
|
87
97
|
status: Status;
|
|
88
98
|
organisation_id: string;
|
|
89
99
|
user_id: string;
|
|
90
|
-
|
|
100
|
+
time_zone_id: string;
|
|
91
101
|
driver_id: string;
|
|
102
|
+
vehicle_id: string;
|
|
92
103
|
gps_geofence_id: string;
|
|
93
|
-
time_zone_id: string;
|
|
94
|
-
latitude?: number | undefined;
|
|
95
|
-
longitude?: number | undefined;
|
|
96
|
-
}, {
|
|
97
104
|
module: Module;
|
|
98
105
|
alert_type: AlertType;
|
|
99
106
|
alert_sub_type: AlertSubType;
|
|
100
107
|
date_time: string;
|
|
101
108
|
notification_message: string;
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
vehicle_id: string;
|
|
106
|
-
driver_id: string;
|
|
107
|
-
gps_geofence_id: string;
|
|
108
|
-
time_zone_id: string;
|
|
109
|
+
latitude?: unknown;
|
|
110
|
+
longitude?: unknown;
|
|
111
|
+
google_location?: string | undefined;
|
|
109
112
|
notification_html_message?: string | undefined;
|
|
110
113
|
notification_key_1?: string | undefined;
|
|
111
114
|
notification_key_2?: string | undefined;
|
|
@@ -113,9 +116,6 @@ declare const NotificationSchema: z.ZodObject<{
|
|
|
113
116
|
notification_key_4?: string | undefined;
|
|
114
117
|
notification_key_5?: string | undefined;
|
|
115
118
|
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,11 +159,7 @@ 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[];
|
|
165
162
|
status: Status[];
|
|
166
|
-
time_zone_id: string;
|
|
167
163
|
search: string;
|
|
168
164
|
paging: PAGING;
|
|
169
165
|
page_count: number;
|
|
@@ -183,18 +179,19 @@ declare const NotificationQuerySchema: z.ZodObject<{
|
|
|
183
179
|
}[];
|
|
184
180
|
include_master_data: YesNo;
|
|
185
181
|
date_format_id: string;
|
|
186
|
-
|
|
182
|
+
time_zone_id: string;
|
|
187
183
|
organisation_ids: string[];
|
|
188
184
|
user_ids: string[];
|
|
189
185
|
vehicle_ids: string[];
|
|
190
186
|
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
|
-
time_zone_id: string;
|
|
194
193
|
date_format_id: string;
|
|
195
|
-
|
|
196
|
-
alert_type?: AlertType[] | undefined;
|
|
197
|
-
alert_sub_type?: AlertSubType[] | undefined;
|
|
194
|
+
time_zone_id: string;
|
|
198
195
|
status?: Status[] | undefined;
|
|
199
196
|
search?: string | undefined;
|
|
200
197
|
paging?: PAGING | undefined;
|
|
@@ -214,11 +211,14 @@ declare const NotificationQuerySchema: z.ZodObject<{
|
|
|
214
211
|
direction: OrderBy;
|
|
215
212
|
}[] | undefined;
|
|
216
213
|
include_master_data?: YesNo | undefined;
|
|
217
|
-
notification_ids?: string[] | undefined;
|
|
218
214
|
organisation_ids?: string[] | undefined;
|
|
219
215
|
user_ids?: string[] | undefined;
|
|
220
216
|
vehicle_ids?: string[] | undefined;
|
|
221
217
|
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-BLMLICYW.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,7 +191,6 @@ 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;
|
|
195
194
|
search: string;
|
|
196
195
|
paging: PAGING;
|
|
197
196
|
page_count: number;
|
|
@@ -211,14 +210,15 @@ declare const TicketQuerySchema: z.ZodObject<{
|
|
|
211
210
|
}[];
|
|
212
211
|
include_master_data: YesNo;
|
|
213
212
|
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
|
-
time_zone_id: string;
|
|
221
220
|
date_format_id: string;
|
|
221
|
+
time_zone_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-BLMLICYW.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-BLMLICYW.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-BLMLICYW.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-BLMLICYW.js';
|
|
5
5
|
import '../../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -126,7 +126,6 @@ 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;
|
|
130
129
|
search: string;
|
|
131
130
|
paging: PAGING;
|
|
132
131
|
page_count: number;
|
|
@@ -146,12 +145,13 @@ declare const GPSGeofenceDataQuerySchema: z.ZodObject<{
|
|
|
146
145
|
}[];
|
|
147
146
|
include_master_data: YesNo;
|
|
148
147
|
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
|
-
time_zone_id: string;
|
|
154
153
|
date_format_id: string;
|
|
154
|
+
time_zone_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-BLMLICYW.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;
|
|
36
34
|
status: Status;
|
|
37
35
|
organisation_id: string;
|
|
38
36
|
vehicle_id: string;
|
|
39
37
|
driver_id: string;
|
|
40
38
|
gps_geofence_id: string;
|
|
41
|
-
}, {
|
|
42
39
|
geofence_status_type: GeofenceStatusType;
|
|
43
40
|
geofence_time: string;
|
|
41
|
+
}, {
|
|
44
42
|
status: Status;
|
|
45
43
|
organisation_id: string;
|
|
46
44
|
vehicle_id: string;
|
|
47
45
|
driver_id: string;
|
|
48
46
|
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,7 +85,6 @@ 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[];
|
|
89
88
|
status: Status[];
|
|
90
89
|
search: string;
|
|
91
90
|
paging: PAGING;
|
|
@@ -111,10 +110,10 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
|
111
110
|
vehicle_ids: string[];
|
|
112
111
|
driver_ids: string[];
|
|
113
112
|
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;
|
|
118
117
|
status?: Status[] | undefined;
|
|
119
118
|
search?: string | undefined;
|
|
120
119
|
paging?: PAGING | undefined;
|
|
@@ -138,6 +137,7 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
|
138
137
|
vehicle_ids?: string[] | undefined;
|
|
139
138
|
driver_ids?: string[] | undefined;
|
|
140
139
|
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-BLMLICYW.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;
|
|
43
46
|
status: Status;
|
|
44
47
|
organisation_id: string;
|
|
45
48
|
vehicle_id: string;
|
|
46
49
|
driver_id: string;
|
|
47
50
|
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;
|
|
54
55
|
status: Status;
|
|
55
56
|
organisation_id: string;
|
|
56
57
|
vehicle_id: string;
|
|
57
58
|
driver_id: string;
|
|
58
59
|
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-BLMLICYW.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;
|
|
65
66
|
status: Status;
|
|
66
67
|
organisation_id: string;
|
|
67
68
|
vehicle_id: string;
|
|
68
69
|
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-BLMLICYW.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -42,17 +42,17 @@ declare const GPSLiveTrackShareLinkNotificationsSchema: z.ZodObject<{
|
|
|
42
42
|
to_recipients: z.ZodEffects<z.ZodString, string, string>;
|
|
43
43
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
44
44
|
}, "strip", z.ZodTypeAny, {
|
|
45
|
-
gps_live_track_share_link_id: string;
|
|
46
45
|
status: Status;
|
|
47
46
|
organisation_id: string;
|
|
48
47
|
type: NotificationType;
|
|
49
48
|
to_recipients: string;
|
|
50
|
-
}, {
|
|
51
49
|
gps_live_track_share_link_id: string;
|
|
50
|
+
}, {
|
|
52
51
|
status: Status;
|
|
53
52
|
organisation_id: string;
|
|
54
53
|
type: NotificationType;
|
|
55
54
|
to_recipients: string;
|
|
55
|
+
gps_live_track_share_link_id: string;
|
|
56
56
|
}>;
|
|
57
57
|
type GPSLiveTrackShareLinkNotificationsDTO = z.infer<typeof GPSLiveTrackShareLinkNotificationsSchema>;
|
|
58
58
|
declare const GPSLiveTrackShareLinkSchema: z.ZodObject<{
|
|
@@ -73,54 +73,54 @@ declare const GPSLiveTrackShareLinkSchema: z.ZodObject<{
|
|
|
73
73
|
to_recipients: z.ZodEffects<z.ZodString, string, string>;
|
|
74
74
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
75
75
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
76
|
-
gps_live_track_share_link_id: string;
|
|
77
76
|
status: Status;
|
|
78
77
|
organisation_id: string;
|
|
79
78
|
type: NotificationType;
|
|
80
79
|
to_recipients: string;
|
|
81
|
-
}, {
|
|
82
80
|
gps_live_track_share_link_id: string;
|
|
81
|
+
}, {
|
|
83
82
|
status: Status;
|
|
84
83
|
organisation_id: string;
|
|
85
84
|
type: NotificationType;
|
|
86
85
|
to_recipients: string;
|
|
86
|
+
gps_live_track_share_link_id: string;
|
|
87
87
|
}>, "many">>>;
|
|
88
88
|
}, "strip", z.ZodTypeAny, {
|
|
89
|
-
link_type: LinkType;
|
|
90
|
-
location: string;
|
|
91
89
|
link_status: LinkStatus;
|
|
92
90
|
status: Status;
|
|
93
91
|
organisation_id: string;
|
|
94
92
|
vehicle_id: string;
|
|
95
93
|
trip_id: string;
|
|
96
|
-
expire_milliseconds: number;
|
|
97
94
|
notifications: {
|
|
98
|
-
gps_live_track_share_link_id: string;
|
|
99
95
|
status: Status;
|
|
100
96
|
organisation_id: string;
|
|
101
97
|
type: NotificationType;
|
|
102
98
|
to_recipients: string;
|
|
99
|
+
gps_live_track_share_link_id: string;
|
|
103
100
|
}[];
|
|
101
|
+
link_type: LinkType;
|
|
102
|
+
location: string;
|
|
103
|
+
expire_milliseconds: number;
|
|
104
104
|
latitude?: number | undefined;
|
|
105
105
|
longitude?: number | undefined;
|
|
106
106
|
}, {
|
|
107
|
-
link_type: LinkType;
|
|
108
107
|
link_status: LinkStatus;
|
|
109
108
|
status: Status;
|
|
110
109
|
organisation_id: string;
|
|
111
110
|
vehicle_id: string;
|
|
112
111
|
trip_id: string;
|
|
113
|
-
|
|
114
|
-
longitude?: unknown;
|
|
115
|
-
location?: string | undefined;
|
|
116
|
-
expire_milliseconds?: unknown;
|
|
112
|
+
link_type: LinkType;
|
|
117
113
|
notifications?: {
|
|
118
|
-
gps_live_track_share_link_id: string;
|
|
119
114
|
status: Status;
|
|
120
115
|
organisation_id: string;
|
|
121
116
|
type: NotificationType;
|
|
122
117
|
to_recipients: string;
|
|
118
|
+
gps_live_track_share_link_id: string;
|
|
123
119
|
}[] | undefined;
|
|
120
|
+
latitude?: unknown;
|
|
121
|
+
longitude?: unknown;
|
|
122
|
+
location?: string | undefined;
|
|
123
|
+
expire_milliseconds?: unknown;
|
|
124
124
|
}>;
|
|
125
125
|
type GPSLiveTrackShareLinkDTO = z.infer<typeof GPSLiveTrackShareLinkSchema>;
|
|
126
126
|
declare const GPSLiveTrackShareLinkTimeSchema: z.ZodObject<{
|
|
@@ -176,7 +176,6 @@ declare const GPSLiveTrackShareLinkQuerySchema: z.ZodObject<{
|
|
|
176
176
|
link_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof LinkType>, "many">>>;
|
|
177
177
|
link_status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof LinkStatus>, "many">>>;
|
|
178
178
|
}, "strip", z.ZodTypeAny, {
|
|
179
|
-
link_type: LinkType[];
|
|
180
179
|
link_status: LinkStatus[];
|
|
181
180
|
status: Status[];
|
|
182
181
|
search: string;
|
|
@@ -202,10 +201,10 @@ declare const GPSLiveTrackShareLinkQuerySchema: z.ZodObject<{
|
|
|
202
201
|
organisation_ids: string[];
|
|
203
202
|
vehicle_ids: string[];
|
|
204
203
|
trip_ids: string[];
|
|
204
|
+
link_type: LinkType[];
|
|
205
205
|
}, {
|
|
206
206
|
date_format_id: string;
|
|
207
207
|
time_zone_id: string;
|
|
208
|
-
link_type?: LinkType[] | undefined;
|
|
209
208
|
link_status?: LinkStatus[] | undefined;
|
|
210
209
|
status?: Status[] | undefined;
|
|
211
210
|
search?: string | undefined;
|
|
@@ -229,6 +228,7 @@ declare const GPSLiveTrackShareLinkQuerySchema: z.ZodObject<{
|
|
|
229
228
|
organisation_ids?: string[] | undefined;
|
|
230
229
|
vehicle_ids?: string[] | undefined;
|
|
231
230
|
trip_ids?: string[] | undefined;
|
|
231
|
+
link_type?: LinkType[] | undefined;
|
|
232
232
|
}>;
|
|
233
233
|
type GPSLiveTrackShareLinkQueryDTO = z.infer<typeof GPSLiveTrackShareLinkQuerySchema>;
|
|
234
234
|
declare const toGPSLiveTrackShareLinkPayload: (data: GPSLiveTrackShareLink) => GPSLiveTrackShareLinkDTO;
|