vms-nest-prisma-api-document 209.0.0 → 212.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/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 +9 -9
- package/dist/services/account/notification_preferences.service.d.ts +1 -1
- package/dist/services/account/report_preferences.service.d.ts +1 -1
- package/dist/services/account/ticket_service.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/bus_stop.d.ts +19 -19
- package/dist/services/fleet/bus_mangement/calender.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/master_route.d.ts +41 -41
- package/dist/services/fleet/bus_mangement/notice_board.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/student.d.ts +20 -20
- package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.d.ts +17 -17
- package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.d.ts +47 -47
- package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +30 -30
- 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 +6 -6
- package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +7 -7
- package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +2 -2
- package/dist/services/gps/features/gps_live_track_share_link_service.d.ts +1 -1
- package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +1 -1
- package/dist/services/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 +20 -20
- 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/main/vehicle/master_vehicle_service.js +11 -11
- package/dist/services/master/bus/master_class_service.d.ts +1 -1
- package/dist/services/master/bus/master_program_service.d.ts +1 -1
- package/dist/services/master/bus/master_relationship_service.d.ts +1 -1
- package/dist/services/master/bus/master_section_service.d.ts +1 -1
- package/dist/services/master/bus/master_semester_service.d.ts +1 -1
- package/dist/services/master/bus/master_stream_service.d.ts +1 -1
- package/dist/services/master/bus/master_year_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 +6 -6
- package/dist/services/master/expense/master_expense_type_service.d.ts +3 -3
- 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 +3 -3
- package/dist/services/master/fleet/master_fleet_incident_status_service.d.ts +3 -3
- 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_industry_service.d.ts +1 -1
- package/dist/services/master/main/master_main_landmark_service.d.ts +5 -5
- 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 +3 -3
- package/dist/services/master/tyre/master_tyre_make_service.d.ts +1 -1
- package/dist/services/master/tyre/master_tyre_model_service.d.ts +5 -5
- 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 +3 -3
- package/dist/services/master/vehicle/master_vehicle_fuel_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_fuel_unit_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_make_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_model_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_ownership_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_status_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_sub_model_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_type_service.d.ts +1 -1
- package/dist/{user_organisation_service-N8kI-Upv.d.ts → user_organisation_service-DuOC_IdW.d.ts} +26 -23
- package/package.json +1 -1
|
@@ -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-DuOC_IdW.js';
|
|
5
5
|
import '../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -40,9 +40,12 @@ declare const BookMarkSchema: z.ZodObject<{
|
|
|
40
40
|
sub_item_url: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
41
41
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
42
42
|
}, "strip", z.ZodTypeAny, {
|
|
43
|
+
status: Status;
|
|
44
|
+
organisation_id: string;
|
|
45
|
+
user_id: string;
|
|
46
|
+
group_name: string;
|
|
43
47
|
module_name: string;
|
|
44
48
|
menu_type: MenuType;
|
|
45
|
-
group_name: string;
|
|
46
49
|
group_name_language: string;
|
|
47
50
|
group_icon: string;
|
|
48
51
|
group_url: string;
|
|
@@ -50,19 +53,16 @@ declare const BookMarkSchema: z.ZodObject<{
|
|
|
50
53
|
sub_item_name_language: string;
|
|
51
54
|
sub_item_icon: string;
|
|
52
55
|
sub_item_url: string;
|
|
56
|
+
}, {
|
|
53
57
|
status: Status;
|
|
54
58
|
organisation_id: string;
|
|
55
59
|
user_id: string;
|
|
56
|
-
|
|
60
|
+
group_name: string;
|
|
57
61
|
module_name: string;
|
|
58
62
|
menu_type: MenuType;
|
|
59
|
-
group_name: string;
|
|
60
63
|
group_name_language: string;
|
|
61
64
|
group_icon: string;
|
|
62
65
|
group_url: string;
|
|
63
|
-
status: Status;
|
|
64
|
-
organisation_id: string;
|
|
65
|
-
user_id: string;
|
|
66
66
|
sub_item_name?: string | undefined;
|
|
67
67
|
sub_item_name_language?: string | undefined;
|
|
68
68
|
sub_item_icon?: string | undefined;
|
|
@@ -105,7 +105,6 @@ declare const BookMarkQuerySchema: z.ZodObject<{
|
|
|
105
105
|
bookmark_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
106
106
|
menu_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof MenuType>, "many">>>;
|
|
107
107
|
}, "strip", z.ZodTypeAny, {
|
|
108
|
-
menu_type: MenuType[];
|
|
109
108
|
status: Status[];
|
|
110
109
|
search: string;
|
|
111
110
|
paging: PAGING;
|
|
@@ -129,11 +128,11 @@ declare const BookMarkQuerySchema: z.ZodObject<{
|
|
|
129
128
|
time_zone_id: string;
|
|
130
129
|
organisation_ids: string[];
|
|
131
130
|
user_ids: string[];
|
|
131
|
+
menu_type: MenuType[];
|
|
132
132
|
bookmark_ids: string[];
|
|
133
133
|
}, {
|
|
134
134
|
date_format_id: string;
|
|
135
135
|
time_zone_id: string;
|
|
136
|
-
menu_type?: MenuType[] | undefined;
|
|
137
136
|
status?: Status[] | undefined;
|
|
138
137
|
search?: string | undefined;
|
|
139
138
|
paging?: PAGING | undefined;
|
|
@@ -155,6 +154,7 @@ declare const BookMarkQuerySchema: z.ZodObject<{
|
|
|
155
154
|
include_master_data?: YesNo | undefined;
|
|
156
155
|
organisation_ids?: string[] | undefined;
|
|
157
156
|
user_ids?: string[] | undefined;
|
|
157
|
+
menu_type?: MenuType[] | undefined;
|
|
158
158
|
bookmark_ids?: string[] | undefined;
|
|
159
159
|
}>;
|
|
160
160
|
type BookMarkQueryDTO = z.infer<typeof BookMarkQuerySchema>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { 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-DuOC_IdW.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';
|
|
@@ -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-DuOC_IdW.js';
|
|
5
5
|
import '../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -2,6 +2,6 @@ import '../../core/Enums.js';
|
|
|
2
2
|
import '../../core/BaseResponse.js';
|
|
3
3
|
import 'zod';
|
|
4
4
|
import '../../zod_utils/zod_base_schema.js';
|
|
5
|
-
import '../../user_organisation_service-
|
|
5
|
+
import '../../user_organisation_service-DuOC_IdW.js';
|
|
6
6
|
export { T as Ticket, e as TicketDTO, a as TicketFile, c as TicketFileDTO, b as TicketFileSchema, i as TicketQueryDTO, h as TicketQuerySchema, d as TicketSchema, g as TicketVerifyDTO, f as TicketVerifySchema, l as createTicket, q as createTicketFile, o as deleteTicket, k as findTickets, p as getTicketFilePresignedUrl, n as newTicketPayload, r as removeTicketFile, t as toTicketPayload, j as toVerifyTicketPayload, u as updateTicket, m as updateVerifyStatus } from '../main/users/user_admin_service.js';
|
|
7
7
|
import '../master/main/master_main_sim_provider_service.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BusStopType, 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, O as OrganisationBranch } from '../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, O as OrganisationBranch } from '../../../user_organisation_service-DuOC_IdW.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -89,12 +89,11 @@ declare const BusStopSchema: z.ZodObject<{
|
|
|
89
89
|
}>, "many">>>;
|
|
90
90
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
91
91
|
}, "strip", z.ZodTypeAny, {
|
|
92
|
-
status: Status;
|
|
93
|
-
organisation_id: string;
|
|
94
|
-
organisation_branch_id: string;
|
|
95
|
-
stop_duration_seconds: number;
|
|
96
92
|
stop_name: string;
|
|
97
|
-
|
|
93
|
+
stop_code: string;
|
|
94
|
+
stop_type: BusStopType;
|
|
95
|
+
stop_description: string;
|
|
96
|
+
stop_duration_seconds: number;
|
|
98
97
|
address_line1: string;
|
|
99
98
|
address_line2: string;
|
|
100
99
|
locality_landmark: string;
|
|
@@ -104,28 +103,30 @@ declare const BusStopSchema: z.ZodObject<{
|
|
|
104
103
|
state_province_region: string;
|
|
105
104
|
postal_code: string;
|
|
106
105
|
country: string;
|
|
107
|
-
|
|
108
|
-
stop_type: BusStopType;
|
|
109
|
-
stop_description: string;
|
|
106
|
+
country_code: string;
|
|
110
107
|
google_location: string;
|
|
111
108
|
geofence_type: GeofenceType;
|
|
112
109
|
polygon_data: {
|
|
113
110
|
latitude: number;
|
|
114
111
|
longitude: number;
|
|
115
112
|
}[];
|
|
113
|
+
status: Status;
|
|
114
|
+
organisation_id: string;
|
|
115
|
+
organisation_branch_id: string;
|
|
116
116
|
stop_latitude?: number | undefined;
|
|
117
117
|
stop_longitude?: number | undefined;
|
|
118
118
|
radius_meters?: number | undefined;
|
|
119
119
|
radius_km?: number | undefined;
|
|
120
120
|
}, {
|
|
121
|
-
status: Status;
|
|
122
|
-
organisation_id: string;
|
|
123
|
-
organisation_branch_id: string;
|
|
124
121
|
stop_name: string;
|
|
125
122
|
stop_type: BusStopType;
|
|
126
123
|
geofence_type: GeofenceType;
|
|
124
|
+
status: Status;
|
|
125
|
+
organisation_id: string;
|
|
126
|
+
organisation_branch_id: string;
|
|
127
|
+
stop_code?: string | undefined;
|
|
128
|
+
stop_description?: string | undefined;
|
|
127
129
|
stop_duration_seconds?: unknown;
|
|
128
|
-
country_code?: string | undefined;
|
|
129
130
|
address_line1?: string | undefined;
|
|
130
131
|
address_line2?: string | undefined;
|
|
131
132
|
locality_landmark?: string | undefined;
|
|
@@ -135,8 +136,7 @@ declare const BusStopSchema: z.ZodObject<{
|
|
|
135
136
|
state_province_region?: string | undefined;
|
|
136
137
|
postal_code?: string | undefined;
|
|
137
138
|
country?: string | undefined;
|
|
138
|
-
|
|
139
|
-
stop_description?: string | undefined;
|
|
139
|
+
country_code?: string | undefined;
|
|
140
140
|
google_location?: string | undefined;
|
|
141
141
|
stop_latitude?: unknown;
|
|
142
142
|
stop_longitude?: unknown;
|
|
@@ -185,6 +185,8 @@ declare const BusStopQuerySchema: z.ZodObject<{
|
|
|
185
185
|
stop_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof BusStopType>, "many">>>;
|
|
186
186
|
geofence_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof GeofenceType>, "many">>>;
|
|
187
187
|
}, "strip", z.ZodTypeAny, {
|
|
188
|
+
stop_type: BusStopType[];
|
|
189
|
+
geofence_type: GeofenceType[];
|
|
188
190
|
status: Status[];
|
|
189
191
|
search: string;
|
|
190
192
|
paging: PAGING;
|
|
@@ -208,12 +210,12 @@ declare const BusStopQuerySchema: z.ZodObject<{
|
|
|
208
210
|
time_zone_id: string;
|
|
209
211
|
organisation_ids: string[];
|
|
210
212
|
organisation_branch_ids: string[];
|
|
211
|
-
stop_type: BusStopType[];
|
|
212
|
-
geofence_type: GeofenceType[];
|
|
213
213
|
bus_stop_ids: string[];
|
|
214
214
|
}, {
|
|
215
215
|
date_format_id: string;
|
|
216
216
|
time_zone_id: string;
|
|
217
|
+
stop_type?: BusStopType[] | undefined;
|
|
218
|
+
geofence_type?: GeofenceType[] | undefined;
|
|
217
219
|
status?: Status[] | undefined;
|
|
218
220
|
search?: string | undefined;
|
|
219
221
|
paging?: PAGING | undefined;
|
|
@@ -235,8 +237,6 @@ declare const BusStopQuerySchema: z.ZodObject<{
|
|
|
235
237
|
include_master_data?: YesNo | undefined;
|
|
236
238
|
organisation_ids?: string[] | undefined;
|
|
237
239
|
organisation_branch_ids?: string[] | undefined;
|
|
238
|
-
stop_type?: BusStopType[] | undefined;
|
|
239
|
-
geofence_type?: GeofenceType[] | undefined;
|
|
240
240
|
bus_stop_ids?: string[] | undefined;
|
|
241
241
|
}>;
|
|
242
242
|
type BusStopQueryDTO = z.infer<typeof BusStopQuerySchema>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HolidayType, 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, O as OrganisationBranch } from '../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, O as OrganisationBranch } from '../../../user_organisation_service-DuOC_IdW.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 { Status, BusLeg, YesNo, 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, O as OrganisationBranch, M as MasterVehicle, b as MasterDriver } from '../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, O as OrganisationBranch, M as MasterVehicle, b as MasterDriver } from '../../../user_organisation_service-DuOC_IdW.js';
|
|
5
5
|
import { BusStop } from './bus_stop.js';
|
|
6
6
|
import { Student } from './student.js';
|
|
7
7
|
import '../../../zod_utils/zod_base_schema.js';
|
|
@@ -121,6 +121,9 @@ declare const MasterRouteSchema: z.ZodObject<{
|
|
|
121
121
|
drop_journey_time_in_seconds: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
122
122
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
123
123
|
}, "strip", z.ZodTypeAny, {
|
|
124
|
+
status: Status;
|
|
125
|
+
organisation_id: string;
|
|
126
|
+
organisation_branch_id: string;
|
|
124
127
|
route_name: string;
|
|
125
128
|
route_code: string;
|
|
126
129
|
route_notes: string;
|
|
@@ -131,19 +134,16 @@ declare const MasterRouteSchema: z.ZodObject<{
|
|
|
131
134
|
pickup_end_stop_id: string;
|
|
132
135
|
drop_start_stop_id: string;
|
|
133
136
|
drop_end_stop_id: string;
|
|
137
|
+
}, {
|
|
134
138
|
status: Status;
|
|
135
139
|
organisation_id: string;
|
|
136
140
|
organisation_branch_id: string;
|
|
137
|
-
}, {
|
|
138
141
|
route_name: string;
|
|
139
142
|
route_status: Status;
|
|
140
143
|
pickup_start_stop_id: string;
|
|
141
144
|
pickup_end_stop_id: string;
|
|
142
145
|
drop_start_stop_id: string;
|
|
143
146
|
drop_end_stop_id: string;
|
|
144
|
-
status: Status;
|
|
145
|
-
organisation_id: string;
|
|
146
|
-
organisation_branch_id: string;
|
|
147
147
|
route_code?: string | undefined;
|
|
148
148
|
route_notes?: string | undefined;
|
|
149
149
|
pickup_journey_time_in_seconds?: unknown;
|
|
@@ -186,7 +186,6 @@ declare const MasterRouteQuerySchema: z.ZodObject<{
|
|
|
186
186
|
route_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
187
187
|
route_status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
|
|
188
188
|
}, "strip", z.ZodTypeAny, {
|
|
189
|
-
route_status: Status[];
|
|
190
189
|
status: Status[];
|
|
191
190
|
search: string;
|
|
192
191
|
paging: PAGING;
|
|
@@ -210,11 +209,11 @@ declare const MasterRouteQuerySchema: z.ZodObject<{
|
|
|
210
209
|
time_zone_id: string;
|
|
211
210
|
organisation_ids: string[];
|
|
212
211
|
organisation_branch_ids: string[];
|
|
212
|
+
route_status: Status[];
|
|
213
213
|
route_ids: string[];
|
|
214
214
|
}, {
|
|
215
215
|
date_format_id: string;
|
|
216
216
|
time_zone_id: string;
|
|
217
|
-
route_status?: Status[] | undefined;
|
|
218
217
|
status?: Status[] | undefined;
|
|
219
218
|
search?: string | undefined;
|
|
220
219
|
paging?: PAGING | undefined;
|
|
@@ -236,6 +235,7 @@ declare const MasterRouteQuerySchema: z.ZodObject<{
|
|
|
236
235
|
include_master_data?: YesNo | undefined;
|
|
237
236
|
organisation_ids?: string[] | undefined;
|
|
238
237
|
organisation_branch_ids?: string[] | undefined;
|
|
238
|
+
route_status?: Status[] | undefined;
|
|
239
239
|
route_ids?: string[] | undefined;
|
|
240
240
|
}>;
|
|
241
241
|
type MasterRouteQueryDTO = z.infer<typeof MasterRouteQuerySchema>;
|
|
@@ -265,10 +265,12 @@ declare const MasterFixedScheduleSchema: z.ZodObject<{
|
|
|
265
265
|
saturday: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
|
|
266
266
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
267
267
|
}, "strip", z.ZodTypeAny, {
|
|
268
|
-
route_id: string;
|
|
269
268
|
status: Status;
|
|
270
269
|
organisation_id: string;
|
|
271
270
|
organisation_branch_id: string;
|
|
271
|
+
driver_id: string;
|
|
272
|
+
vehicle_id: string;
|
|
273
|
+
route_id: string;
|
|
272
274
|
schedule_name: string;
|
|
273
275
|
schedule_status: Status;
|
|
274
276
|
is_stops_finalized: YesNo;
|
|
@@ -286,14 +288,14 @@ declare const MasterFixedScheduleSchema: z.ZodObject<{
|
|
|
286
288
|
thursday: YesNo;
|
|
287
289
|
friday: YesNo;
|
|
288
290
|
saturday: YesNo;
|
|
289
|
-
vehicle_id: string;
|
|
290
|
-
driver_id: string;
|
|
291
291
|
attendant_id: string;
|
|
292
292
|
}, {
|
|
293
|
-
route_id: string;
|
|
294
293
|
status: Status;
|
|
295
294
|
organisation_id: string;
|
|
296
295
|
organisation_branch_id: string;
|
|
296
|
+
driver_id: string;
|
|
297
|
+
vehicle_id: string;
|
|
298
|
+
route_id: string;
|
|
297
299
|
schedule_name: string;
|
|
298
300
|
schedule_status: Status;
|
|
299
301
|
is_stops_finalized: YesNo;
|
|
@@ -305,8 +307,6 @@ declare const MasterFixedScheduleSchema: z.ZodObject<{
|
|
|
305
307
|
thursday: YesNo;
|
|
306
308
|
friday: YesNo;
|
|
307
309
|
saturday: YesNo;
|
|
308
|
-
vehicle_id: string;
|
|
309
|
-
driver_id: string;
|
|
310
310
|
attendant_id: string;
|
|
311
311
|
start_hour?: unknown;
|
|
312
312
|
start_minute?: unknown;
|
|
@@ -359,9 +359,6 @@ declare const MasterFixedScheduleQuerySchema: z.ZodObject<{
|
|
|
359
359
|
schedule_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof BusLeg>, "many">>>;
|
|
360
360
|
}, "strip", z.ZodTypeAny, {
|
|
361
361
|
status: Status[];
|
|
362
|
-
schedule_status: Status[];
|
|
363
|
-
is_stops_finalized: YesNo[];
|
|
364
|
-
schedule_type: BusLeg[];
|
|
365
362
|
search: string;
|
|
366
363
|
paging: PAGING;
|
|
367
364
|
page_count: number;
|
|
@@ -384,18 +381,18 @@ declare const MasterFixedScheduleQuerySchema: z.ZodObject<{
|
|
|
384
381
|
time_zone_id: string;
|
|
385
382
|
organisation_ids: string[];
|
|
386
383
|
organisation_branch_ids: string[];
|
|
387
|
-
route_ids: string[];
|
|
388
384
|
vehicle_ids: string[];
|
|
389
385
|
driver_ids: string[];
|
|
386
|
+
schedule_status: Status[];
|
|
387
|
+
is_stops_finalized: YesNo[];
|
|
388
|
+
schedule_type: BusLeg[];
|
|
389
|
+
route_ids: string[];
|
|
390
390
|
attendant_ids: string[];
|
|
391
391
|
fixed_schedule_ids: string[];
|
|
392
392
|
}, {
|
|
393
393
|
date_format_id: string;
|
|
394
394
|
time_zone_id: string;
|
|
395
395
|
status?: Status[] | undefined;
|
|
396
|
-
schedule_status?: Status[] | undefined;
|
|
397
|
-
is_stops_finalized?: YesNo[] | undefined;
|
|
398
|
-
schedule_type?: BusLeg[] | undefined;
|
|
399
396
|
search?: string | undefined;
|
|
400
397
|
paging?: PAGING | undefined;
|
|
401
398
|
page_count?: unknown;
|
|
@@ -416,9 +413,12 @@ declare const MasterFixedScheduleQuerySchema: z.ZodObject<{
|
|
|
416
413
|
include_master_data?: YesNo | undefined;
|
|
417
414
|
organisation_ids?: string[] | undefined;
|
|
418
415
|
organisation_branch_ids?: string[] | undefined;
|
|
419
|
-
route_ids?: string[] | undefined;
|
|
420
416
|
vehicle_ids?: string[] | undefined;
|
|
421
417
|
driver_ids?: string[] | undefined;
|
|
418
|
+
schedule_status?: Status[] | undefined;
|
|
419
|
+
is_stops_finalized?: YesNo[] | undefined;
|
|
420
|
+
schedule_type?: BusLeg[] | undefined;
|
|
421
|
+
route_ids?: string[] | undefined;
|
|
422
422
|
attendant_ids?: string[] | undefined;
|
|
423
423
|
fixed_schedule_ids?: string[] | undefined;
|
|
424
424
|
}>;
|
|
@@ -429,14 +429,14 @@ declare const MasterRouteStopSchema: z.ZodObject<{
|
|
|
429
429
|
travel_seconds_to_next_stop: z.ZodEffects<z.ZodNumber, number, unknown>;
|
|
430
430
|
bus_stop_id: z.ZodEffects<z.ZodString, string, string>;
|
|
431
431
|
}, "strip", z.ZodTypeAny, {
|
|
432
|
-
|
|
432
|
+
bus_stop_id: string;
|
|
433
433
|
stop_duration_seconds: number;
|
|
434
|
+
order_no: number;
|
|
434
435
|
travel_seconds_to_next_stop: number;
|
|
435
|
-
bus_stop_id: string;
|
|
436
436
|
}, {
|
|
437
437
|
bus_stop_id: string;
|
|
438
|
-
order_no?: unknown;
|
|
439
438
|
stop_duration_seconds?: unknown;
|
|
439
|
+
order_no?: unknown;
|
|
440
440
|
travel_seconds_to_next_stop?: unknown;
|
|
441
441
|
}>;
|
|
442
442
|
type MasterRouteStopDTO = z.infer<typeof MasterRouteStopSchema>;
|
|
@@ -445,9 +445,9 @@ declare const MasterRouteStopUpdateSchema: z.ZodObject<{
|
|
|
445
445
|
travel_seconds_to_next_stop: z.ZodEffects<z.ZodNumber, number, unknown>;
|
|
446
446
|
bus_stop_id: z.ZodEffects<z.ZodString, string, string>;
|
|
447
447
|
}, "strip", z.ZodTypeAny, {
|
|
448
|
+
bus_stop_id: string;
|
|
448
449
|
stop_duration_seconds: number;
|
|
449
450
|
travel_seconds_to_next_stop: number;
|
|
450
|
-
bus_stop_id: string;
|
|
451
451
|
}, {
|
|
452
452
|
bus_stop_id: string;
|
|
453
453
|
stop_duration_seconds?: unknown;
|
|
@@ -466,38 +466,38 @@ declare const MasterRouteStopCreateSchema: z.ZodObject<{
|
|
|
466
466
|
travel_seconds_to_next_stop: z.ZodEffects<z.ZodNumber, number, unknown>;
|
|
467
467
|
bus_stop_id: z.ZodEffects<z.ZodString, string, string>;
|
|
468
468
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
469
|
-
|
|
469
|
+
bus_stop_id: string;
|
|
470
470
|
stop_duration_seconds: number;
|
|
471
|
+
order_no: number;
|
|
471
472
|
travel_seconds_to_next_stop: number;
|
|
472
|
-
bus_stop_id: string;
|
|
473
473
|
}, {
|
|
474
474
|
bus_stop_id: string;
|
|
475
|
-
order_no?: unknown;
|
|
476
475
|
stop_duration_seconds?: unknown;
|
|
476
|
+
order_no?: unknown;
|
|
477
477
|
travel_seconds_to_next_stop?: unknown;
|
|
478
478
|
}>, "many">>>;
|
|
479
479
|
}, "strip", z.ZodTypeAny, {
|
|
480
|
-
route_id: string;
|
|
481
480
|
status: Status;
|
|
482
481
|
organisation_id: string;
|
|
483
482
|
organisation_branch_id: string;
|
|
484
|
-
leg: BusLeg;
|
|
485
483
|
MasterRouteStop: {
|
|
486
|
-
|
|
484
|
+
bus_stop_id: string;
|
|
487
485
|
stop_duration_seconds: number;
|
|
486
|
+
order_no: number;
|
|
488
487
|
travel_seconds_to_next_stop: number;
|
|
489
|
-
bus_stop_id: string;
|
|
490
488
|
}[];
|
|
491
|
-
}, {
|
|
492
489
|
route_id: string;
|
|
490
|
+
leg: BusLeg;
|
|
491
|
+
}, {
|
|
493
492
|
status: Status;
|
|
494
493
|
organisation_id: string;
|
|
495
494
|
organisation_branch_id: string;
|
|
495
|
+
route_id: string;
|
|
496
496
|
leg: BusLeg;
|
|
497
497
|
MasterRouteStop?: {
|
|
498
498
|
bus_stop_id: string;
|
|
499
|
-
order_no?: unknown;
|
|
500
499
|
stop_duration_seconds?: unknown;
|
|
500
|
+
order_no?: unknown;
|
|
501
501
|
travel_seconds_to_next_stop?: unknown;
|
|
502
502
|
}[] | undefined;
|
|
503
503
|
}>;
|
|
@@ -550,13 +550,13 @@ declare const MasterRouteStopDeleteSchema: z.ZodObject<{
|
|
|
550
550
|
bus_stop_id: z.ZodEffects<z.ZodString, string, string>;
|
|
551
551
|
leg: z.ZodType<BusLeg, z.ZodTypeDef, BusLeg>;
|
|
552
552
|
}, "strip", z.ZodTypeAny, {
|
|
553
|
+
bus_stop_id: string;
|
|
553
554
|
route_id: string;
|
|
554
555
|
leg: BusLeg;
|
|
555
|
-
bus_stop_id: string;
|
|
556
556
|
}, {
|
|
557
|
+
bus_stop_id: string;
|
|
557
558
|
route_id: string;
|
|
558
559
|
leg: BusLeg;
|
|
559
|
-
bus_stop_id: string;
|
|
560
560
|
}>;
|
|
561
561
|
type MasterRouteStopDeleteReOrderDTO = z.infer<typeof MasterRouteStopDeleteSchema>;
|
|
562
562
|
declare const StudentNoStopQuerySchema: z.ZodObject<{
|
|
@@ -592,7 +592,6 @@ declare const StudentNoStopQuerySchema: z.ZodObject<{
|
|
|
592
592
|
} & {
|
|
593
593
|
route_id: z.ZodEffects<z.ZodString, string, string>;
|
|
594
594
|
}, "strip", z.ZodTypeAny, {
|
|
595
|
-
route_id: string;
|
|
596
595
|
status: Status[];
|
|
597
596
|
search: string;
|
|
598
597
|
paging: PAGING;
|
|
@@ -614,10 +613,11 @@ declare const StudentNoStopQuerySchema: z.ZodObject<{
|
|
|
614
613
|
include_master_data: YesNo;
|
|
615
614
|
date_format_id: string;
|
|
616
615
|
time_zone_id: string;
|
|
617
|
-
}, {
|
|
618
616
|
route_id: string;
|
|
617
|
+
}, {
|
|
619
618
|
date_format_id: string;
|
|
620
619
|
time_zone_id: string;
|
|
620
|
+
route_id: string;
|
|
621
621
|
status?: Status[] | undefined;
|
|
622
622
|
search?: string | undefined;
|
|
623
623
|
paging?: PAGING | undefined;
|
|
@@ -672,7 +672,6 @@ declare const StudentNoScheduleQuerySchema: z.ZodObject<{
|
|
|
672
672
|
} & {
|
|
673
673
|
route_id: z.ZodEffects<z.ZodString, string, string>;
|
|
674
674
|
}, "strip", z.ZodTypeAny, {
|
|
675
|
-
route_id: string;
|
|
676
675
|
status: Status[];
|
|
677
676
|
search: string;
|
|
678
677
|
paging: PAGING;
|
|
@@ -694,10 +693,11 @@ declare const StudentNoScheduleQuerySchema: z.ZodObject<{
|
|
|
694
693
|
include_master_data: YesNo;
|
|
695
694
|
date_format_id: string;
|
|
696
695
|
time_zone_id: string;
|
|
697
|
-
}, {
|
|
698
696
|
route_id: string;
|
|
697
|
+
}, {
|
|
699
698
|
date_format_id: string;
|
|
700
699
|
time_zone_id: string;
|
|
700
|
+
route_id: string;
|
|
701
701
|
status?: Status[] | undefined;
|
|
702
702
|
search?: string | undefined;
|
|
703
703
|
paging?: PAGING | undefined;
|
|
@@ -723,8 +723,8 @@ declare const MasterRouteStudentAssignRemoveSchema: z.ZodObject<{
|
|
|
723
723
|
route_id: z.ZodEffects<z.ZodString, string, string>;
|
|
724
724
|
student_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
725
725
|
}, "strip", z.ZodTypeAny, {
|
|
726
|
-
route_id: string;
|
|
727
726
|
student_ids: string[];
|
|
727
|
+
route_id: string;
|
|
728
728
|
}, {
|
|
729
729
|
route_id: string;
|
|
730
730
|
student_ids?: 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, O as OrganisationBranch } from '../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, O as OrganisationBranch } from '../../../user_organisation_service-DuOC_IdW.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|