vms-nest-prisma-api-document 6.0.22 → 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/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 +3 -3
- package/dist/services/account/notification_service.d.ts +27 -27
- package/dist/services/account/ticket_service.d.ts +19 -19
- 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 +4 -4
- 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 +1 -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/package.json +1 -1
- package/dist/{user_organisation_service-DS5AX39n.d.ts → user_organisation_service-CukiDGua.d.ts} +122 -122
|
@@ -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-CukiDGua.js';
|
|
5
5
|
import '../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -106,6 +106,7 @@ declare const BookMarkQuerySchema: z.ZodObject<{
|
|
|
106
106
|
menu_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof MenuType>, "many">>>;
|
|
107
107
|
}, "strip", z.ZodTypeAny, {
|
|
108
108
|
status: Status[];
|
|
109
|
+
time_zone_id: string;
|
|
109
110
|
search: string;
|
|
110
111
|
paging: PAGING;
|
|
111
112
|
page_count: number;
|
|
@@ -125,14 +126,13 @@ declare const BookMarkQuerySchema: z.ZodObject<{
|
|
|
125
126
|
}[];
|
|
126
127
|
include_master_data: YesNo;
|
|
127
128
|
date_format_id: string;
|
|
128
|
-
time_zone_id: string;
|
|
129
129
|
organisation_ids: string[];
|
|
130
130
|
user_ids: string[];
|
|
131
131
|
menu_type: MenuType[];
|
|
132
132
|
bookmark_ids: string[];
|
|
133
133
|
}, {
|
|
134
|
-
date_format_id: string;
|
|
135
134
|
time_zone_id: string;
|
|
135
|
+
date_format_id: string;
|
|
136
136
|
status?: Status[] | undefined;
|
|
137
137
|
search?: string | undefined;
|
|
138
138
|
paging?: PAGING | undefined;
|
|
@@ -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';
|
|
@@ -50,19 +50,19 @@ declare const TicketFileSchema: z.ZodObject<{
|
|
|
50
50
|
file_metadata: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
51
51
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
52
52
|
}, "strip", z.ZodTypeAny, {
|
|
53
|
+
status: Status;
|
|
54
|
+
organisation_id: string;
|
|
53
55
|
file_type: FileType;
|
|
54
56
|
file_url: string;
|
|
55
57
|
file_key: string;
|
|
56
58
|
file_description: string;
|
|
57
59
|
file_size: number;
|
|
58
60
|
file_metadata: Record<string, any>;
|
|
59
|
-
status: Status;
|
|
60
|
-
organisation_id: string;
|
|
61
61
|
ticket_id: string;
|
|
62
62
|
}, {
|
|
63
|
-
file_type: FileType;
|
|
64
63
|
status: Status;
|
|
65
64
|
organisation_id: string;
|
|
65
|
+
file_type: FileType;
|
|
66
66
|
ticket_id: string;
|
|
67
67
|
file_url?: string | undefined;
|
|
68
68
|
file_key?: string | undefined;
|
|
@@ -90,19 +90,19 @@ declare const TicketSchema: z.ZodObject<{
|
|
|
90
90
|
file_metadata: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
91
91
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
92
92
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
93
|
+
status: Status;
|
|
94
|
+
organisation_id: string;
|
|
93
95
|
file_type: FileType;
|
|
94
96
|
file_url: string;
|
|
95
97
|
file_key: string;
|
|
96
98
|
file_description: string;
|
|
97
99
|
file_size: number;
|
|
98
100
|
file_metadata: Record<string, any>;
|
|
99
|
-
status: Status;
|
|
100
|
-
organisation_id: string;
|
|
101
101
|
ticket_id: string;
|
|
102
102
|
}, {
|
|
103
|
-
file_type: FileType;
|
|
104
103
|
status: Status;
|
|
105
104
|
organisation_id: string;
|
|
105
|
+
file_type: FileType;
|
|
106
106
|
ticket_id: string;
|
|
107
107
|
file_url?: string | undefined;
|
|
108
108
|
file_key?: string | undefined;
|
|
@@ -114,36 +114,36 @@ declare const TicketSchema: z.ZodObject<{
|
|
|
114
114
|
}, "strip", z.ZodTypeAny, {
|
|
115
115
|
status: Status;
|
|
116
116
|
organisation_id: string;
|
|
117
|
-
|
|
117
|
+
user_id: string;
|
|
118
118
|
description: string;
|
|
119
|
+
admin_id: string;
|
|
120
|
+
subject: string;
|
|
119
121
|
admin_message: string;
|
|
120
122
|
ticket_status: TicketStatus;
|
|
121
|
-
user_id: string;
|
|
122
|
-
admin_id: string;
|
|
123
123
|
ticket_files: {
|
|
124
|
+
status: Status;
|
|
125
|
+
organisation_id: string;
|
|
124
126
|
file_type: FileType;
|
|
125
127
|
file_url: string;
|
|
126
128
|
file_key: string;
|
|
127
129
|
file_description: string;
|
|
128
130
|
file_size: number;
|
|
129
131
|
file_metadata: Record<string, any>;
|
|
130
|
-
status: Status;
|
|
131
|
-
organisation_id: string;
|
|
132
132
|
ticket_id: string;
|
|
133
133
|
}[];
|
|
134
134
|
}, {
|
|
135
135
|
status: Status;
|
|
136
136
|
organisation_id: string;
|
|
137
|
-
subject: string;
|
|
138
|
-
ticket_status: TicketStatus;
|
|
139
137
|
user_id: string;
|
|
140
138
|
admin_id: string;
|
|
139
|
+
subject: string;
|
|
140
|
+
ticket_status: TicketStatus;
|
|
141
141
|
description?: string | undefined;
|
|
142
142
|
admin_message?: string | undefined;
|
|
143
143
|
ticket_files?: {
|
|
144
|
-
file_type: FileType;
|
|
145
144
|
status: Status;
|
|
146
145
|
organisation_id: string;
|
|
146
|
+
file_type: FileType;
|
|
147
147
|
ticket_id: string;
|
|
148
148
|
file_url?: string | undefined;
|
|
149
149
|
file_key?: string | undefined;
|
|
@@ -191,7 +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
|
-
|
|
194
|
+
time_zone_id: string;
|
|
195
195
|
search: string;
|
|
196
196
|
paging: PAGING;
|
|
197
197
|
page_count: number;
|
|
@@ -211,16 +211,15 @@ declare const TicketQuerySchema: z.ZodObject<{
|
|
|
211
211
|
}[];
|
|
212
212
|
include_master_data: YesNo;
|
|
213
213
|
date_format_id: string;
|
|
214
|
-
time_zone_id: string;
|
|
215
214
|
organisation_ids: string[];
|
|
216
215
|
user_ids: string[];
|
|
217
216
|
admin_ids: string[];
|
|
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
|
-
ticket_status?: TicketStatus[] | undefined;
|
|
224
223
|
search?: string | undefined;
|
|
225
224
|
paging?: PAGING | undefined;
|
|
226
225
|
page_count?: unknown;
|
|
@@ -242,6 +241,7 @@ declare const TicketQuerySchema: z.ZodObject<{
|
|
|
242
241
|
organisation_ids?: string[] | undefined;
|
|
243
242
|
user_ids?: string[] | undefined;
|
|
244
243
|
admin_ids?: string[] | undefined;
|
|
244
|
+
ticket_status?: TicketStatus[] | undefined;
|
|
245
245
|
ticket_ids?: string[] | undefined;
|
|
246
246
|
}>;
|
|
247
247
|
type TicketQueryDTO = z.infer<typeof TicketQuerySchema>;
|
|
@@ -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;
|
|
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;
|
|
@@ -110,11 +109,11 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
|
110
109
|
organisation_ids: string[];
|
|
111
110
|
vehicle_ids: string[];
|
|
112
111
|
driver_ids: string[];
|
|
112
|
+
geofence_status_type: GeofenceStatusType[];
|
|
113
113
|
gps_geofence_ids: string[];
|
|
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;
|
|
@@ -137,6 +136,7 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
|
137
136
|
organisation_ids?: string[] | undefined;
|
|
138
137
|
vehicle_ids?: string[] | undefined;
|
|
139
138
|
driver_ids?: string[] | undefined;
|
|
139
|
+
geofence_status_type?: GeofenceStatusType[] | undefined;
|
|
140
140
|
gps_geofence_ids?: string[] | undefined;
|
|
141
141
|
}>;
|
|
142
142
|
type GPSGeofenceTransactionQueryDTO = z.infer<typeof GPSGeofenceTransactionQuerySchema>;
|
|
@@ -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,6 +40,7 @@ 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
|
+
duration_seconds: number;
|
|
43
44
|
status: Status;
|
|
44
45
|
organisation_id: string;
|
|
45
46
|
vehicle_id: string;
|
|
@@ -47,7 +48,6 @@ declare const GPSGeofenceTransactionSummarySchema: z.ZodObject<{
|
|
|
47
48
|
gps_geofence_id: string;
|
|
48
49
|
geofence_enter_date_time: string;
|
|
49
50
|
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
|
}, {
|
|
@@ -59,8 +59,8 @@ declare const GPSGeofenceTransactionSummarySchema: z.ZodObject<{
|
|
|
59
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
|
-
status: Status;
|
|
66
|
-
organisation_id: string;
|
|
67
|
-
vehicle_id: string;
|
|
68
|
-
driver_id: string;
|
|
69
|
-
duration_seconds: number;
|
|
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
|
|