vms-nest-prisma-api-document 80.0.0 → 85.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/services/account/bookmark_service.d.ts +3 -3
- package/dist/services/account/notification_preferences.service.d.ts +11 -11
- package/dist/services/account/report_preferences.service.d.ts +24 -24
- package/dist/services/account/ticket_service.d.ts +15 -15
- package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.d.ts +1 -1
- package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.d.ts +1 -1
- package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +1 -1
- package/dist/services/gps/features/geofence/gps_geofence_service.d.ts +1 -1
- package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +9 -9
- 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 +12 -12
- package/dist/services/gps/features/gps_live_track_share_link_service.d.ts +1 -1
- package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +1 -1
- package/dist/services/gps/reports/gps_reports_mongo_service.d.ts +46 -46
- package/dist/services/main/devices/master_device_service.d.ts +1 -1
- package/dist/services/main/drivers/master_driver_service.d.ts +1 -1
- package/dist/services/main/sims/master_sim_service.d.ts +1 -1
- package/dist/services/main/users/auth_service.d.ts +1 -1
- package/dist/services/main/users/user_organisation_service.d.ts +1 -1
- package/dist/services/main/users/user_service.d.ts +1 -1
- package/dist/services/main/vehicle/childs/vehicle_odometer_history.d.ts +1 -1
- package/dist/services/main/vehicle/master_vehicle_service.d.ts +1 -1
- package/dist/services/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 +1 -1
- package/dist/services/master/main/master_main_language_service.d.ts +1 -1
- package/dist/services/master/main/master_main_state_service.d.ts +1 -1
- package/dist/services/master/main/master_main_timezone_service.d.ts +1 -1
- package/dist/services/master/main/master_main_unit_distance_service.d.ts +1 -1
- package/dist/services/master/main/master_main_unit_mileage_service.d.ts +1 -1
- package/dist/services/master/main/master_main_unit_volume_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_branch_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_color_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_group_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_sub_company_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_tag_service.d.ts +1 -1
- package/dist/services/master/spare_part/master_spare_part_category_service.d.ts +1 -1
- package/dist/services/master/spare_part/master_spare_part_sub_category_service.d.ts +1 -1
- package/dist/services/master/spare_part/master_spare_part_unit_service.d.ts +1 -1
- package/dist/services/master/trip/master_trip_party_type_service.d.ts +1 -1
- package/dist/services/master/tyre/master_tyre_grade_service.d.ts +1 -1
- package/dist/services/master/tyre/master_tyre_make_service.d.ts +1 -1
- package/dist/services/master/tyre/master_tyre_model_service.d.ts +1 -1
- package/dist/services/master/user/master_user_role_service.d.ts +1 -1
- package/dist/services/master/user/master_user_status_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_associated_to_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_document_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_fuel_removal_reason_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_fuel_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_fuel_unit_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_make_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_model_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_ownership_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_status_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_sub_model_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_type_service.d.ts +1 -1
- package/dist/services/website/contact_us_detail_service.d.ts +1 -1
- package/dist/services/website/faq_service.d.ts +1 -1
- package/dist/{user_organisation_service-DUivHiRQ.d.ts → user_organisation_service-CUD01Lze.d.ts} +81 -69
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MenuType, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR } from '../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, a as User } from '../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, a as User } from '../../user_organisation_service-CUD01Lze.js';
|
|
5
5
|
import '../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -42,8 +42,8 @@ declare const BookMarkSchema: z.ZodObject<{
|
|
|
42
42
|
}, "strip", z.ZodTypeAny, {
|
|
43
43
|
status: Status;
|
|
44
44
|
organisation_id: string;
|
|
45
|
-
group_name: string;
|
|
46
45
|
user_id: string;
|
|
46
|
+
group_name: string;
|
|
47
47
|
module_name: string;
|
|
48
48
|
menu_type: MenuType;
|
|
49
49
|
group_name_language: string;
|
|
@@ -56,8 +56,8 @@ declare const BookMarkSchema: z.ZodObject<{
|
|
|
56
56
|
}, {
|
|
57
57
|
status: Status;
|
|
58
58
|
organisation_id: string;
|
|
59
|
-
group_name: string;
|
|
60
59
|
user_id: string;
|
|
60
|
+
group_name: string;
|
|
61
61
|
module_name: string;
|
|
62
62
|
menu_type: MenuType;
|
|
63
63
|
group_name_language: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OnOff, NotificationChannel, YesNo, NotificationList, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy } from '../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR } from '../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, M as MasterVehicle, a as User } from '../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, M as MasterVehicle, a as User } from '../../user_organisation_service-CUD01Lze.js';
|
|
5
5
|
import { GPSGeofence } from '../gps/features/geofence/gps_geofence_service.js';
|
|
6
6
|
import '../../zod_utils/zod_base_schema.js';
|
|
7
7
|
import '../master/main/master_main_sim_provider_service.js';
|
|
@@ -85,37 +85,37 @@ declare const OrganisationNotificationPreferenceSchema: z.ZodObject<{
|
|
|
85
85
|
vehicle_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
86
86
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
87
87
|
}, "strip", z.ZodTypeAny, {
|
|
88
|
-
mobile_numbers: string;
|
|
89
|
-
email_ids: string;
|
|
90
|
-
cc_email_ids: string;
|
|
91
|
-
all_vehicles: YesNo;
|
|
92
88
|
status: Status;
|
|
93
89
|
organisation_id: string;
|
|
94
|
-
vehicle_ids: string[];
|
|
95
90
|
user_ids: string[];
|
|
91
|
+
vehicle_ids: string[];
|
|
92
|
+
all_vehicles: YesNo;
|
|
96
93
|
gps_geofence_ids: string[];
|
|
97
94
|
notification_name: string;
|
|
98
95
|
notification_status: OnOff;
|
|
99
96
|
notification_channels: NotificationChannel[];
|
|
97
|
+
mobile_numbers: string;
|
|
98
|
+
email_ids: string;
|
|
99
|
+
cc_email_ids: string;
|
|
100
100
|
all_users: YesNo;
|
|
101
101
|
notification_list: NotificationList[];
|
|
102
102
|
over_speed_limit: number;
|
|
103
103
|
all_geofences: YesNo;
|
|
104
104
|
}, {
|
|
105
|
-
all_vehicles: YesNo;
|
|
106
105
|
status: Status;
|
|
107
106
|
organisation_id: string;
|
|
107
|
+
all_vehicles: YesNo;
|
|
108
108
|
notification_name: string;
|
|
109
109
|
notification_status: OnOff;
|
|
110
110
|
all_users: YesNo;
|
|
111
111
|
all_geofences: YesNo;
|
|
112
|
-
mobile_numbers?: string | undefined;
|
|
113
|
-
email_ids?: string | undefined;
|
|
114
|
-
cc_email_ids?: string | undefined;
|
|
115
|
-
vehicle_ids?: string[] | undefined;
|
|
116
112
|
user_ids?: string[] | undefined;
|
|
113
|
+
vehicle_ids?: string[] | undefined;
|
|
117
114
|
gps_geofence_ids?: string[] | undefined;
|
|
118
115
|
notification_channels?: NotificationChannel[] | undefined;
|
|
116
|
+
mobile_numbers?: string | undefined;
|
|
117
|
+
email_ids?: string | undefined;
|
|
118
|
+
cc_email_ids?: string | undefined;
|
|
119
119
|
notification_list?: NotificationList[] | undefined;
|
|
120
120
|
over_speed_limit?: unknown;
|
|
121
121
|
}>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OnOff, ReportType, ReportList, ReportChannel, YesNo, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy } from '../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR } from '../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, M as MasterVehicle } from '../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, M as MasterVehicle } from '../../user_organisation_service-CUD01Lze.js';
|
|
5
5
|
import '../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -113,7 +113,6 @@ declare const OrganisationReportAutomationMailQuerySchema: z.ZodObject<{
|
|
|
113
113
|
report_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof ReportType>, "many">>>;
|
|
114
114
|
}, "strip", z.ZodTypeAny, {
|
|
115
115
|
status: Status[];
|
|
116
|
-
report_type: ReportType[];
|
|
117
116
|
search: string;
|
|
118
117
|
paging: PAGING;
|
|
119
118
|
page_count: number;
|
|
@@ -135,13 +134,13 @@ declare const OrganisationReportAutomationMailQuerySchema: z.ZodObject<{
|
|
|
135
134
|
date_format_id: string;
|
|
136
135
|
time_zone_id: string;
|
|
137
136
|
organisation_ids: string[];
|
|
137
|
+
report_type: ReportType[];
|
|
138
138
|
report_preference_ids: string[];
|
|
139
139
|
report_automation_mail_ids: string[];
|
|
140
140
|
}, {
|
|
141
141
|
date_format_id: string;
|
|
142
142
|
time_zone_id: string;
|
|
143
143
|
status?: Status[] | undefined;
|
|
144
|
-
report_type?: ReportType[] | undefined;
|
|
145
144
|
search?: string | undefined;
|
|
146
145
|
paging?: PAGING | undefined;
|
|
147
146
|
page_count?: unknown;
|
|
@@ -161,6 +160,7 @@ declare const OrganisationReportAutomationMailQuerySchema: z.ZodObject<{
|
|
|
161
160
|
}[] | undefined;
|
|
162
161
|
include_master_data?: YesNo | undefined;
|
|
163
162
|
organisation_ids?: string[] | undefined;
|
|
163
|
+
report_type?: ReportType[] | undefined;
|
|
164
164
|
report_preference_ids?: string[] | undefined;
|
|
165
165
|
report_automation_mail_ids?: string[] | undefined;
|
|
166
166
|
}>;
|
|
@@ -179,31 +179,31 @@ declare const OrganisationReportPreferenceSchema: z.ZodObject<{
|
|
|
179
179
|
vehicle_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
180
180
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
181
181
|
}, "strip", z.ZodTypeAny, {
|
|
182
|
+
status: Status;
|
|
183
|
+
organisation_id: string;
|
|
184
|
+
vehicle_ids: string[];
|
|
185
|
+
all_vehicles: YesNo;
|
|
186
|
+
mobile_numbers: string;
|
|
187
|
+
email_ids: string;
|
|
188
|
+
cc_email_ids: string;
|
|
182
189
|
report_name: string;
|
|
183
190
|
report_status: OnOff;
|
|
184
191
|
report_types: ReportType[];
|
|
185
192
|
report_list: ReportList[];
|
|
186
193
|
report_channels: ReportChannel.Email[];
|
|
187
|
-
|
|
188
|
-
email_ids: string;
|
|
189
|
-
cc_email_ids: string;
|
|
190
|
-
all_vehicles: YesNo;
|
|
194
|
+
}, {
|
|
191
195
|
status: Status;
|
|
192
196
|
organisation_id: string;
|
|
193
|
-
|
|
194
|
-
}, {
|
|
197
|
+
all_vehicles: YesNo;
|
|
195
198
|
report_name: string;
|
|
196
199
|
report_status: OnOff;
|
|
197
|
-
|
|
198
|
-
status: Status;
|
|
199
|
-
organisation_id: string;
|
|
200
|
-
report_types?: ReportType[] | undefined;
|
|
201
|
-
report_list?: ReportList[] | undefined;
|
|
202
|
-
report_channels?: ReportChannel.Email[] | undefined;
|
|
200
|
+
vehicle_ids?: string[] | undefined;
|
|
203
201
|
mobile_numbers?: string | undefined;
|
|
204
202
|
email_ids?: string | undefined;
|
|
205
203
|
cc_email_ids?: string | undefined;
|
|
206
|
-
|
|
204
|
+
report_types?: ReportType[] | undefined;
|
|
205
|
+
report_list?: ReportList[] | undefined;
|
|
206
|
+
report_channels?: ReportChannel.Email[] | undefined;
|
|
207
207
|
}>;
|
|
208
208
|
type OrganisationReportPreferenceDTO = z.infer<typeof OrganisationReportPreferenceSchema>;
|
|
209
209
|
declare const OrganisationReportPreferenceQuerySchema: z.ZodObject<{
|
|
@@ -244,10 +244,6 @@ declare const OrganisationReportPreferenceQuerySchema: z.ZodObject<{
|
|
|
244
244
|
report_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof ReportList>, "many">>>;
|
|
245
245
|
report_channels: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof ReportChannel>, "many">>>;
|
|
246
246
|
}, "strip", z.ZodTypeAny, {
|
|
247
|
-
report_status: OnOff[];
|
|
248
|
-
report_types: ReportType[];
|
|
249
|
-
report_list: ReportList[];
|
|
250
|
-
report_channels: ReportChannel.Email[];
|
|
251
247
|
status: Status[];
|
|
252
248
|
search: string;
|
|
253
249
|
paging: PAGING;
|
|
@@ -270,14 +266,14 @@ declare const OrganisationReportPreferenceQuerySchema: z.ZodObject<{
|
|
|
270
266
|
date_format_id: string;
|
|
271
267
|
time_zone_id: string;
|
|
272
268
|
organisation_ids: string[];
|
|
269
|
+
report_status: OnOff[];
|
|
270
|
+
report_types: ReportType[];
|
|
271
|
+
report_list: ReportList[];
|
|
272
|
+
report_channels: ReportChannel.Email[];
|
|
273
273
|
report_preference_ids: string[];
|
|
274
274
|
}, {
|
|
275
275
|
date_format_id: string;
|
|
276
276
|
time_zone_id: string;
|
|
277
|
-
report_status?: OnOff[] | undefined;
|
|
278
|
-
report_types?: ReportType[] | undefined;
|
|
279
|
-
report_list?: ReportList[] | undefined;
|
|
280
|
-
report_channels?: ReportChannel.Email[] | undefined;
|
|
281
277
|
status?: Status[] | undefined;
|
|
282
278
|
search?: string | undefined;
|
|
283
279
|
paging?: PAGING | undefined;
|
|
@@ -298,6 +294,10 @@ declare const OrganisationReportPreferenceQuerySchema: z.ZodObject<{
|
|
|
298
294
|
}[] | undefined;
|
|
299
295
|
include_master_data?: YesNo | undefined;
|
|
300
296
|
organisation_ids?: string[] | undefined;
|
|
297
|
+
report_status?: OnOff[] | undefined;
|
|
298
|
+
report_types?: ReportType[] | undefined;
|
|
299
|
+
report_list?: ReportList[] | undefined;
|
|
300
|
+
report_channels?: ReportChannel.Email[] | undefined;
|
|
301
301
|
report_preference_ids?: string[] | undefined;
|
|
302
302
|
}>;
|
|
303
303
|
type OrganisationReportPreferenceQueryDTO = z.infer<typeof OrganisationReportPreferenceQuerySchema>;
|
|
@@ -2,7 +2,7 @@ import { TicketStatus, Status, FileType, PAGING, LoadParents, LoadChild, LoadChi
|
|
|
2
2
|
import { BaseCommionFile, FBR, SBR, BR, AWSPresignedUrl } from '../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { FilePresignedUrlDTO } from '../../zod_utils/zod_base_schema.js';
|
|
5
|
-
import { U as UserOrganisation, a as User } from '../../user_organisation_service-
|
|
5
|
+
import { U as UserOrganisation, a as User } from '../../user_organisation_service-CUD01Lze.js';
|
|
6
6
|
import { UserAdmin } from '../main/users/user_admin_service.js';
|
|
7
7
|
import '../master/main/master_main_sim_provider_service.js';
|
|
8
8
|
|
|
@@ -45,6 +45,7 @@ declare const TicketFileSchema: z.ZodObject<{
|
|
|
45
45
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
46
46
|
ticket_id: z.ZodEffects<z.ZodString, string, string>;
|
|
47
47
|
}, "strip", z.ZodTypeAny, {
|
|
48
|
+
ticket_id: string;
|
|
48
49
|
status: Status;
|
|
49
50
|
organisation_id: string;
|
|
50
51
|
usage_type: string;
|
|
@@ -55,13 +56,12 @@ declare const TicketFileSchema: z.ZodObject<{
|
|
|
55
56
|
file_description: string;
|
|
56
57
|
file_size: number;
|
|
57
58
|
file_metadata: Record<string, any>;
|
|
58
|
-
ticket_id: string;
|
|
59
59
|
}, {
|
|
60
|
+
ticket_id: string;
|
|
60
61
|
status: Status;
|
|
61
62
|
organisation_id: string;
|
|
62
63
|
usage_type: string;
|
|
63
64
|
file_type: FileType;
|
|
64
|
-
ticket_id: string;
|
|
65
65
|
file_url?: string | undefined;
|
|
66
66
|
file_key?: string | undefined;
|
|
67
67
|
file_name?: string | undefined;
|
|
@@ -92,6 +92,7 @@ declare const TicketSchema: z.ZodObject<{
|
|
|
92
92
|
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
93
93
|
ticket_id: z.ZodEffects<z.ZodString, string, string>;
|
|
94
94
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
95
|
+
ticket_id: string;
|
|
95
96
|
status: Status;
|
|
96
97
|
organisation_id: string;
|
|
97
98
|
usage_type: string;
|
|
@@ -102,13 +103,12 @@ declare const TicketSchema: z.ZodObject<{
|
|
|
102
103
|
file_description: string;
|
|
103
104
|
file_size: number;
|
|
104
105
|
file_metadata: Record<string, any>;
|
|
105
|
-
ticket_id: string;
|
|
106
106
|
}, {
|
|
107
|
+
ticket_id: string;
|
|
107
108
|
status: Status;
|
|
108
109
|
organisation_id: string;
|
|
109
110
|
usage_type: string;
|
|
110
111
|
file_type: FileType;
|
|
111
|
-
ticket_id: string;
|
|
112
112
|
file_url?: string | undefined;
|
|
113
113
|
file_key?: string | undefined;
|
|
114
114
|
file_name?: string | undefined;
|
|
@@ -118,15 +118,16 @@ declare const TicketSchema: z.ZodObject<{
|
|
|
118
118
|
}>, "many">>>;
|
|
119
119
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
120
120
|
}, "strip", z.ZodTypeAny, {
|
|
121
|
+
subject: string;
|
|
122
|
+
description: string;
|
|
123
|
+
admin_message: string;
|
|
124
|
+
ticket_status: TicketStatus;
|
|
121
125
|
status: Status;
|
|
122
126
|
organisation_id: string;
|
|
123
|
-
description: string;
|
|
124
127
|
user_id: string;
|
|
125
128
|
admin_id: string;
|
|
126
|
-
subject: string;
|
|
127
|
-
admin_message: string;
|
|
128
|
-
ticket_status: TicketStatus;
|
|
129
129
|
TicketFile: {
|
|
130
|
+
ticket_id: string;
|
|
130
131
|
status: Status;
|
|
131
132
|
organisation_id: string;
|
|
132
133
|
usage_type: string;
|
|
@@ -137,23 +138,22 @@ declare const TicketSchema: z.ZodObject<{
|
|
|
137
138
|
file_description: string;
|
|
138
139
|
file_size: number;
|
|
139
140
|
file_metadata: Record<string, any>;
|
|
140
|
-
ticket_id: string;
|
|
141
141
|
}[];
|
|
142
142
|
}, {
|
|
143
|
+
subject: string;
|
|
144
|
+
ticket_status: TicketStatus;
|
|
143
145
|
status: Status;
|
|
144
146
|
organisation_id: string;
|
|
145
147
|
user_id: string;
|
|
146
148
|
admin_id: string;
|
|
147
|
-
subject: string;
|
|
148
|
-
ticket_status: TicketStatus;
|
|
149
149
|
description?: string | undefined;
|
|
150
150
|
admin_message?: string | undefined;
|
|
151
151
|
TicketFile?: {
|
|
152
|
+
ticket_id: string;
|
|
152
153
|
status: Status;
|
|
153
154
|
organisation_id: string;
|
|
154
155
|
usage_type: string;
|
|
155
156
|
file_type: FileType;
|
|
156
|
-
ticket_id: string;
|
|
157
157
|
file_url?: string | undefined;
|
|
158
158
|
file_key?: string | undefined;
|
|
159
159
|
file_name?: string | undefined;
|
|
@@ -200,6 +200,7 @@ declare const TicketQuerySchema: z.ZodObject<{
|
|
|
200
200
|
ticket_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
201
201
|
ticket_status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof TicketStatus>, "many">>>;
|
|
202
202
|
}, "strip", z.ZodTypeAny, {
|
|
203
|
+
ticket_status: TicketStatus[];
|
|
203
204
|
status: Status[];
|
|
204
205
|
search: string;
|
|
205
206
|
paging: PAGING;
|
|
@@ -224,11 +225,11 @@ declare const TicketQuerySchema: z.ZodObject<{
|
|
|
224
225
|
organisation_ids: string[];
|
|
225
226
|
user_ids: string[];
|
|
226
227
|
admin_ids: string[];
|
|
227
|
-
ticket_status: TicketStatus[];
|
|
228
228
|
ticket_ids: string[];
|
|
229
229
|
}, {
|
|
230
230
|
date_format_id: string;
|
|
231
231
|
time_zone_id: string;
|
|
232
|
+
ticket_status?: TicketStatus[] | undefined;
|
|
232
233
|
status?: Status[] | undefined;
|
|
233
234
|
search?: string | undefined;
|
|
234
235
|
paging?: PAGING | undefined;
|
|
@@ -251,7 +252,6 @@ declare const TicketQuerySchema: z.ZodObject<{
|
|
|
251
252
|
organisation_ids?: string[] | undefined;
|
|
252
253
|
user_ids?: string[] | undefined;
|
|
253
254
|
admin_ids?: string[] | undefined;
|
|
254
|
-
ticket_status?: TicketStatus[] | undefined;
|
|
255
255
|
ticket_ids?: string[] | undefined;
|
|
256
256
|
}>;
|
|
257
257
|
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,
|
|
4
|
+
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice } from '../../../user_organisation_service-CUD01Lze.js';
|
|
5
5
|
import { FuelConsumptionMonthly } from '../../gps/reports/gps_models/FuelConsumptionMonthly.js';
|
|
6
6
|
import '../../../zod_utils/zod_base_schema.js';
|
|
7
7
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
@@ -2,7 +2,7 @@ import { GPSFuelApproveStatus, RefillEntrySource, RefillMethod, PaymentMode, Pay
|
|
|
2
2
|
import { BaseCommionFile, FBR, SBR, BR, AWSPresignedUrl } from '../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { FilePresignedUrlDTO } from '../../../zod_utils/zod_base_schema.js';
|
|
5
|
-
import { U as UserOrganisation, a as User, M as MasterVehicle,
|
|
5
|
+
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice, d as MasterVehicleFuelType, e as MasterVehicleFuelUnit } from '../../../user_organisation_service-CUD01Lze.js';
|
|
6
6
|
import { MasterMainLandmark } from '../../master/main/master_main_landmark_service.js';
|
|
7
7
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@ import { GPSFuelApproveStatus, RefillEntrySource, Status, FileType, PAGING, Load
|
|
|
2
2
|
import { BaseCommionFile, FBR, SBR, BR, AWSPresignedUrl } from '../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { FilePresignedUrlDTO } from '../../../zod_utils/zod_base_schema.js';
|
|
5
|
-
import { U as UserOrganisation, a as User, M as MasterVehicle,
|
|
5
|
+
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, c as MasterDevice, d as MasterVehicleFuelType, e as MasterVehicleFuelUnit } from '../../../user_organisation_service-CUD01Lze.js';
|
|
6
6
|
import { MasterMainLandmark } from '../../master/main/master_main_landmark_service.js';
|
|
7
7
|
import { MasterVehicleFuelRemovalReason } from '../../master/vehicle/master_vehicle_fuel_removal_reason_service.js';
|
|
8
8
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GeofencePurposeType, GeofenceType, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR } from '../../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation } from '../../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation } from '../../../../user_organisation_service-CUD01Lze.js';
|
|
5
5
|
import '../../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GeofenceStatusType, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR } from '../../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, M as MasterVehicle,
|
|
4
|
+
import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-CUD01Lze.js';
|
|
5
5
|
import { GPSGeofence } from './gps_geofence_service.js';
|
|
6
6
|
import '../../../../zod_utils/zod_base_schema.js';
|
|
7
7
|
import '../../../master/main/master_main_sim_provider_service.js';
|
|
@@ -36,23 +36,23 @@ declare const GPSGeofenceTransactionSchema: z.ZodObject<{
|
|
|
36
36
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
37
37
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
38
38
|
}, "strip", z.ZodTypeAny, {
|
|
39
|
-
geofence_status_type: GeofenceStatusType;
|
|
40
|
-
geofence_time: string;
|
|
41
39
|
status: Status;
|
|
42
40
|
organisation_id: string;
|
|
43
41
|
vehicle_id: string;
|
|
44
42
|
driver_id: string;
|
|
45
|
-
gps_geofence_id: string;
|
|
46
43
|
time_zone_id: string;
|
|
47
|
-
|
|
44
|
+
gps_geofence_id: string;
|
|
48
45
|
geofence_status_type: GeofenceStatusType;
|
|
49
46
|
geofence_time: string;
|
|
47
|
+
}, {
|
|
50
48
|
status: Status;
|
|
51
49
|
organisation_id: string;
|
|
52
50
|
vehicle_id: string;
|
|
53
51
|
driver_id: string;
|
|
54
|
-
gps_geofence_id: string;
|
|
55
52
|
time_zone_id: string;
|
|
53
|
+
gps_geofence_id: string;
|
|
54
|
+
geofence_status_type: GeofenceStatusType;
|
|
55
|
+
geofence_time: string;
|
|
56
56
|
}>;
|
|
57
57
|
type GPSGeofenceTransactionDTO = z.infer<typeof GPSGeofenceTransactionSchema>;
|
|
58
58
|
declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
@@ -94,7 +94,6 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
|
94
94
|
from_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
95
95
|
to_date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
96
96
|
}, "strip", z.ZodTypeAny, {
|
|
97
|
-
geofence_status_type: GeofenceStatusType[];
|
|
98
97
|
status: Status[];
|
|
99
98
|
time_zone_id: string;
|
|
100
99
|
search: string;
|
|
@@ -119,15 +118,15 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
|
119
118
|
organisation_ids: string[];
|
|
120
119
|
vehicle_ids: string[];
|
|
121
120
|
driver_ids: string[];
|
|
122
|
-
gps_geofence_ids: string[];
|
|
123
121
|
from_date: string;
|
|
124
122
|
to_date: string;
|
|
123
|
+
gps_geofence_ids: string[];
|
|
124
|
+
geofence_status_type: GeofenceStatusType[];
|
|
125
125
|
}, {
|
|
126
126
|
time_zone_id: string;
|
|
127
127
|
date_format_id: string;
|
|
128
128
|
from_date: string;
|
|
129
129
|
to_date: string;
|
|
130
|
-
geofence_status_type?: GeofenceStatusType[] | undefined;
|
|
131
130
|
status?: Status[] | undefined;
|
|
132
131
|
search?: string | undefined;
|
|
133
132
|
paging?: PAGING | undefined;
|
|
@@ -151,6 +150,7 @@ declare const GPSGeofenceTransactionQuerySchema: z.ZodObject<{
|
|
|
151
150
|
vehicle_ids?: string[] | undefined;
|
|
152
151
|
driver_ids?: string[] | undefined;
|
|
153
152
|
gps_geofence_ids?: string[] | undefined;
|
|
153
|
+
geofence_status_type?: GeofenceStatusType[] | undefined;
|
|
154
154
|
}>;
|
|
155
155
|
type GPSGeofenceTransactionQueryDTO = z.infer<typeof GPSGeofenceTransactionQuerySchema>;
|
|
156
156
|
declare const toGPSGeofenceTransactionPayload: (data: GPSGeofenceTransaction) => GPSGeofenceTransactionDTO;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR } from '../../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, M as MasterVehicle,
|
|
4
|
+
import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-CUD01Lze.js';
|
|
5
5
|
import { GPSGeofence } from './gps_geofence_service.js';
|
|
6
6
|
import { GPSGeofenceTransaction } from './gps_geofence_transaction_service.js';
|
|
7
7
|
import '../../../../zod_utils/zod_base_schema.js';
|
|
@@ -46,15 +46,15 @@ declare const GPSGeofenceTransactionSummarySchema: z.ZodObject<{
|
|
|
46
46
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
47
47
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
48
48
|
}, "strip", z.ZodTypeAny, {
|
|
49
|
+
duration_seconds: number;
|
|
49
50
|
status: Status;
|
|
50
51
|
organisation_id: string;
|
|
51
52
|
vehicle_id: string;
|
|
52
53
|
driver_id: string;
|
|
53
|
-
gps_geofence_id: string;
|
|
54
54
|
time_zone_id: string;
|
|
55
|
+
gps_geofence_id: string;
|
|
55
56
|
geofence_enter_date_time: string;
|
|
56
57
|
geofence_exit_date_time: string;
|
|
57
|
-
duration_seconds: number;
|
|
58
58
|
enter_gps_geofence_transaction_id: string;
|
|
59
59
|
exit_gps_geofence_transaction_id: string;
|
|
60
60
|
}, {
|
|
@@ -62,13 +62,13 @@ declare const GPSGeofenceTransactionSummarySchema: z.ZodObject<{
|
|
|
62
62
|
organisation_id: string;
|
|
63
63
|
vehicle_id: string;
|
|
64
64
|
driver_id: string;
|
|
65
|
-
gps_geofence_id: string;
|
|
66
65
|
time_zone_id: string;
|
|
66
|
+
gps_geofence_id: string;
|
|
67
67
|
geofence_enter_date_time: string;
|
|
68
68
|
enter_gps_geofence_transaction_id: string;
|
|
69
69
|
exit_gps_geofence_transaction_id: string;
|
|
70
|
-
geofence_exit_date_time?: string | undefined;
|
|
71
70
|
duration_seconds?: unknown;
|
|
71
|
+
geofence_exit_date_time?: string | undefined;
|
|
72
72
|
}>;
|
|
73
73
|
type GPSGeofenceTransactionSummaryDTO = z.infer<typeof GPSGeofenceTransactionSummarySchema>;
|
|
74
74
|
declare const GPSGeofenceTransactionSummaryQuerySchema: z.ZodObject<{
|
|
@@ -133,9 +133,9 @@ declare const GPSGeofenceTransactionSummaryQuerySchema: z.ZodObject<{
|
|
|
133
133
|
organisation_ids: string[];
|
|
134
134
|
vehicle_ids: string[];
|
|
135
135
|
driver_ids: string[];
|
|
136
|
-
gps_geofence_ids: string[];
|
|
137
136
|
from_date: string;
|
|
138
137
|
to_date: string;
|
|
138
|
+
gps_geofence_ids: string[];
|
|
139
139
|
}, {
|
|
140
140
|
time_zone_id: string;
|
|
141
141
|
date_format_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,
|
|
4
|
+
import { U as UserOrganisation, M as MasterVehicle, b as MasterDriver } from '../../../../user_organisation_service-CUD01Lze.js';
|
|
5
5
|
import '../../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -55,31 +55,31 @@ declare const TripGeofenceToGeofenceSchema: z.ZodObject<{
|
|
|
55
55
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
56
56
|
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
57
57
|
}, "strip", z.ZodTypeAny, {
|
|
58
|
-
status: Status;
|
|
59
|
-
organisation_id: string;
|
|
60
|
-
vehicle_id: string;
|
|
61
|
-
driver_id: string;
|
|
62
|
-
time_zone_id: string;
|
|
63
|
-
duration_seconds: number;
|
|
64
58
|
from_geofence_exit_date_time: string;
|
|
65
59
|
to_geofence_enter_date_time: string;
|
|
60
|
+
duration_seconds: number;
|
|
66
61
|
travel_duration_seconds: number;
|
|
67
62
|
stopped_duration_seconds: number;
|
|
68
63
|
max_speed: number;
|
|
69
64
|
avg_speed: number;
|
|
65
|
+
status: Status;
|
|
66
|
+
organisation_id: string;
|
|
67
|
+
vehicle_id: string;
|
|
68
|
+
driver_id: string;
|
|
70
69
|
from_geofence_id: string;
|
|
71
70
|
to_geofence_id: string;
|
|
71
|
+
time_zone_id: string;
|
|
72
72
|
distance_meters?: number | undefined;
|
|
73
73
|
}, {
|
|
74
|
+
from_geofence_exit_date_time: string;
|
|
75
|
+
to_geofence_enter_date_time: string;
|
|
74
76
|
status: Status;
|
|
75
77
|
organisation_id: string;
|
|
76
78
|
vehicle_id: string;
|
|
77
79
|
driver_id: string;
|
|
78
|
-
time_zone_id: string;
|
|
79
|
-
from_geofence_exit_date_time: string;
|
|
80
|
-
to_geofence_enter_date_time: string;
|
|
81
80
|
from_geofence_id: string;
|
|
82
81
|
to_geofence_id: string;
|
|
82
|
+
time_zone_id: string;
|
|
83
83
|
duration_seconds?: unknown;
|
|
84
84
|
travel_duration_seconds?: unknown;
|
|
85
85
|
stopped_duration_seconds?: unknown;
|
|
@@ -151,10 +151,10 @@ declare const TripGeofenceToGeofenceQuerySchema: z.ZodObject<{
|
|
|
151
151
|
organisation_ids: string[];
|
|
152
152
|
vehicle_ids: string[];
|
|
153
153
|
driver_ids: string[];
|
|
154
|
-
from_date: string;
|
|
155
|
-
to_date: string;
|
|
156
154
|
from_geofence_ids: string[];
|
|
157
155
|
to_geofence_ids: string[];
|
|
156
|
+
from_date: string;
|
|
157
|
+
to_date: string;
|
|
158
158
|
}, {
|
|
159
159
|
time_zone_id: string;
|
|
160
160
|
date_format_id: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { LinkType, LinkStatus, Status, ShareChannel, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../core/Enums.js';
|
|
2
2
|
import { FBR, BR, SBR } from '../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, M as MasterVehicle } from '../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, M as MasterVehicle } from '../../../user_organisation_service-CUD01Lze.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TrackHistoryLinkStatus, Status, ShareChannel, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../core/Enums.js';
|
|
2
2
|
import { FBR, BR, SBR } from '../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, M as MasterVehicle } from '../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, M as MasterVehicle } from '../../../user_organisation_service-CUD01Lze.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|