vms-nest-prisma-api-document 208.0.0 → 209.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 +11 -11
- package/dist/services/account/notification_preferences.service.d.ts +18 -18
- package/dist/services/account/report_preferences.service.d.ts +7 -7
- 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 +32 -32
- package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +46 -46
- package/dist/services/gps/features/geofence/gps_geofence_service.d.ts +3 -3
- package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +4 -4
- package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +8 -8
- 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_admin_service.d.ts +3 -3
- 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 +2 -2
- 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 +1 -1
- package/dist/services/master/expense/master_expense_type_service.d.ts +3 -3
- package/dist/services/master/expense/master_fuel_company_service.d.ts +6 -6
- 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 +1 -1
- package/dist/services/master/fleet/master_fleet_incident_type_service.d.ts +3 -3
- 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 +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 +9 -9
- 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 +5 -5
- 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-N4jFCSLT.d.ts → user_organisation_service-N8kI-Upv.d.ts} +44 -44
- 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-N8kI-Upv.js';
|
|
5
5
|
import '../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -40,12 +40,9 @@ declare const BookMarkSchema: z.ZodObject<{
|
|
|
40
40
|
sub_item_url: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
41
41
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
42
42
|
}, "strip", z.ZodTypeAny, {
|
|
43
|
-
status: Status;
|
|
44
|
-
organisation_id: string;
|
|
45
|
-
user_id: string;
|
|
46
|
-
group_name: string;
|
|
47
43
|
module_name: string;
|
|
48
44
|
menu_type: MenuType;
|
|
45
|
+
group_name: string;
|
|
49
46
|
group_name_language: string;
|
|
50
47
|
group_icon: string;
|
|
51
48
|
group_url: string;
|
|
@@ -53,16 +50,19 @@ declare const BookMarkSchema: z.ZodObject<{
|
|
|
53
50
|
sub_item_name_language: string;
|
|
54
51
|
sub_item_icon: string;
|
|
55
52
|
sub_item_url: string;
|
|
56
|
-
}, {
|
|
57
53
|
status: Status;
|
|
58
54
|
organisation_id: string;
|
|
59
55
|
user_id: string;
|
|
60
|
-
|
|
56
|
+
}, {
|
|
61
57
|
module_name: string;
|
|
62
58
|
menu_type: MenuType;
|
|
59
|
+
group_name: string;
|
|
63
60
|
group_name_language: string;
|
|
64
61
|
group_icon: string;
|
|
65
62
|
group_url: string;
|
|
63
|
+
status: Status;
|
|
64
|
+
organisation_id: string;
|
|
65
|
+
user_id: string;
|
|
66
66
|
sub_item_name?: string | undefined;
|
|
67
67
|
sub_item_name_language?: string | undefined;
|
|
68
68
|
sub_item_icon?: string | undefined;
|
|
@@ -105,8 +105,8 @@ declare const BookMarkQuerySchema: z.ZodObject<{
|
|
|
105
105
|
bookmark_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
106
106
|
menu_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof MenuType>, "many">>>;
|
|
107
107
|
}, "strip", z.ZodTypeAny, {
|
|
108
|
+
menu_type: MenuType[];
|
|
108
109
|
status: Status[];
|
|
109
|
-
user_ids: string[];
|
|
110
110
|
search: string;
|
|
111
111
|
paging: PAGING;
|
|
112
112
|
page_count: number;
|
|
@@ -128,13 +128,13 @@ declare const BookMarkQuerySchema: z.ZodObject<{
|
|
|
128
128
|
date_format_id: string;
|
|
129
129
|
time_zone_id: string;
|
|
130
130
|
organisation_ids: string[];
|
|
131
|
-
|
|
131
|
+
user_ids: string[];
|
|
132
132
|
bookmark_ids: string[];
|
|
133
133
|
}, {
|
|
134
134
|
date_format_id: string;
|
|
135
135
|
time_zone_id: string;
|
|
136
|
+
menu_type?: MenuType[] | undefined;
|
|
136
137
|
status?: Status[] | undefined;
|
|
137
|
-
user_ids?: string[] | undefined;
|
|
138
138
|
search?: string | undefined;
|
|
139
139
|
paging?: PAGING | undefined;
|
|
140
140
|
page_count?: unknown;
|
|
@@ -154,7 +154,7 @@ declare const BookMarkQuerySchema: z.ZodObject<{
|
|
|
154
154
|
}[] | undefined;
|
|
155
155
|
include_master_data?: YesNo | undefined;
|
|
156
156
|
organisation_ids?: string[] | undefined;
|
|
157
|
-
|
|
157
|
+
user_ids?: string[] | 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-N8kI-Upv.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,6 +85,12 @@ 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
|
+
status: Status;
|
|
89
|
+
organisation_id: string;
|
|
90
|
+
user_ids: string[];
|
|
91
|
+
vehicle_ids: string[];
|
|
92
|
+
all_vehicles: YesNo;
|
|
93
|
+
gps_geofence_ids: string[];
|
|
88
94
|
notification_name: string;
|
|
89
95
|
notification_status: OnOff;
|
|
90
96
|
notification_channels: NotificationChannel[];
|
|
@@ -95,29 +101,23 @@ declare const OrganisationNotificationPreferenceSchema: z.ZodObject<{
|
|
|
95
101
|
notification_list: NotificationList[];
|
|
96
102
|
over_speed_limit: number;
|
|
97
103
|
all_geofences: YesNo;
|
|
98
|
-
|
|
104
|
+
}, {
|
|
99
105
|
status: Status;
|
|
100
106
|
organisation_id: string;
|
|
101
|
-
|
|
102
|
-
gps_geofence_ids: string[];
|
|
103
|
-
vehicle_ids: string[];
|
|
104
|
-
}, {
|
|
107
|
+
all_vehicles: YesNo;
|
|
105
108
|
notification_name: string;
|
|
106
109
|
notification_status: OnOff;
|
|
107
110
|
all_users: YesNo;
|
|
108
111
|
all_geofences: YesNo;
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
+
user_ids?: string[] | undefined;
|
|
113
|
+
vehicle_ids?: string[] | undefined;
|
|
114
|
+
gps_geofence_ids?: string[] | undefined;
|
|
112
115
|
notification_channels?: NotificationChannel[] | undefined;
|
|
113
116
|
mobile_numbers?: string | undefined;
|
|
114
117
|
email_ids?: string | undefined;
|
|
115
118
|
cc_email_ids?: string | undefined;
|
|
116
119
|
notification_list?: NotificationList[] | undefined;
|
|
117
120
|
over_speed_limit?: unknown;
|
|
118
|
-
user_ids?: string[] | undefined;
|
|
119
|
-
gps_geofence_ids?: string[] | undefined;
|
|
120
|
-
vehicle_ids?: string[] | undefined;
|
|
121
121
|
}>;
|
|
122
122
|
type OrganisationNotificationPreferenceDTO = z.infer<typeof OrganisationNotificationPreferenceSchema>;
|
|
123
123
|
declare const OrganisationNotificationPreferenceQuerySchema: z.ZodObject<{
|
|
@@ -157,9 +157,6 @@ declare const OrganisationNotificationPreferenceQuerySchema: z.ZodObject<{
|
|
|
157
157
|
notification_channels: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof NotificationChannel>, "many">>>;
|
|
158
158
|
notification_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof NotificationList>, "many">>>;
|
|
159
159
|
}, "strip", z.ZodTypeAny, {
|
|
160
|
-
notification_status: OnOff[];
|
|
161
|
-
notification_channels: NotificationChannel[];
|
|
162
|
-
notification_list: NotificationList[];
|
|
163
160
|
status: Status[];
|
|
164
161
|
search: string;
|
|
165
162
|
paging: PAGING;
|
|
@@ -182,13 +179,13 @@ declare const OrganisationNotificationPreferenceQuerySchema: z.ZodObject<{
|
|
|
182
179
|
date_format_id: string;
|
|
183
180
|
time_zone_id: string;
|
|
184
181
|
organisation_ids: string[];
|
|
182
|
+
notification_status: OnOff[];
|
|
183
|
+
notification_channels: NotificationChannel[];
|
|
184
|
+
notification_list: NotificationList[];
|
|
185
185
|
notification_preference_ids: string[];
|
|
186
186
|
}, {
|
|
187
187
|
date_format_id: string;
|
|
188
188
|
time_zone_id: string;
|
|
189
|
-
notification_status?: OnOff[] | undefined;
|
|
190
|
-
notification_channels?: NotificationChannel[] | undefined;
|
|
191
|
-
notification_list?: NotificationList[] | undefined;
|
|
192
189
|
status?: Status[] | undefined;
|
|
193
190
|
search?: string | undefined;
|
|
194
191
|
paging?: PAGING | undefined;
|
|
@@ -209,6 +206,9 @@ declare const OrganisationNotificationPreferenceQuerySchema: z.ZodObject<{
|
|
|
209
206
|
}[] | undefined;
|
|
210
207
|
include_master_data?: YesNo | undefined;
|
|
211
208
|
organisation_ids?: string[] | undefined;
|
|
209
|
+
notification_status?: OnOff[] | undefined;
|
|
210
|
+
notification_channels?: NotificationChannel[] | undefined;
|
|
211
|
+
notification_list?: NotificationList[] | undefined;
|
|
212
212
|
notification_preference_ids?: string[] | undefined;
|
|
213
213
|
}>;
|
|
214
214
|
type OrganisationNotificationPreferenceQueryDTO = z.infer<typeof OrganisationNotificationPreferenceQuerySchema>;
|
|
@@ -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-N8kI-Upv.js';
|
|
5
5
|
import '../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -179,28 +179,28 @@ 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
|
-
mobile_numbers: string;
|
|
183
|
-
email_ids: string;
|
|
184
|
-
cc_email_ids: string;
|
|
185
|
-
all_vehicles: YesNo;
|
|
186
182
|
status: Status;
|
|
187
183
|
organisation_id: string;
|
|
188
184
|
vehicle_ids: string[];
|
|
185
|
+
all_vehicles: YesNo;
|
|
186
|
+
mobile_numbers: string;
|
|
187
|
+
email_ids: string;
|
|
188
|
+
cc_email_ids: string;
|
|
189
189
|
report_name: string;
|
|
190
190
|
report_status: OnOff;
|
|
191
191
|
report_types: ReportType[];
|
|
192
192
|
report_list: ReportList[];
|
|
193
193
|
report_channels: ReportChannel.Email[];
|
|
194
194
|
}, {
|
|
195
|
-
all_vehicles: YesNo;
|
|
196
195
|
status: Status;
|
|
197
196
|
organisation_id: string;
|
|
197
|
+
all_vehicles: YesNo;
|
|
198
198
|
report_name: string;
|
|
199
199
|
report_status: OnOff;
|
|
200
|
+
vehicle_ids?: string[] | undefined;
|
|
200
201
|
mobile_numbers?: string | undefined;
|
|
201
202
|
email_ids?: string | undefined;
|
|
202
203
|
cc_email_ids?: string | undefined;
|
|
203
|
-
vehicle_ids?: string[] | undefined;
|
|
204
204
|
report_types?: ReportType[] | undefined;
|
|
205
205
|
report_list?: ReportList[] | undefined;
|
|
206
206
|
report_channels?: ReportChannel.Email[] | undefined;
|
|
@@ -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-N8kI-Upv.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-N8kI-Upv.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -89,11 +89,12 @@ declare const BusStopSchema: z.ZodObject<{
|
|
|
89
89
|
}>, "many">>>;
|
|
90
90
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
91
91
|
}, "strip", z.ZodTypeAny, {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
stop_description: string;
|
|
92
|
+
status: Status;
|
|
93
|
+
organisation_id: string;
|
|
94
|
+
organisation_branch_id: string;
|
|
96
95
|
stop_duration_seconds: number;
|
|
96
|
+
stop_name: string;
|
|
97
|
+
country_code: string;
|
|
97
98
|
address_line1: string;
|
|
98
99
|
address_line2: string;
|
|
99
100
|
locality_landmark: string;
|
|
@@ -103,30 +104,28 @@ declare const BusStopSchema: z.ZodObject<{
|
|
|
103
104
|
state_province_region: string;
|
|
104
105
|
postal_code: string;
|
|
105
106
|
country: string;
|
|
106
|
-
|
|
107
|
+
stop_code: string;
|
|
108
|
+
stop_type: BusStopType;
|
|
109
|
+
stop_description: string;
|
|
107
110
|
google_location: string;
|
|
108
111
|
geofence_type: GeofenceType;
|
|
109
112
|
polygon_data: {
|
|
110
113
|
latitude: number;
|
|
111
114
|
longitude: number;
|
|
112
115
|
}[];
|
|
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
|
-
stop_name: string;
|
|
122
|
-
stop_type: BusStopType;
|
|
123
|
-
geofence_type: GeofenceType;
|
|
124
121
|
status: Status;
|
|
125
122
|
organisation_id: string;
|
|
126
123
|
organisation_branch_id: string;
|
|
127
|
-
|
|
128
|
-
|
|
124
|
+
stop_name: string;
|
|
125
|
+
stop_type: BusStopType;
|
|
126
|
+
geofence_type: GeofenceType;
|
|
129
127
|
stop_duration_seconds?: unknown;
|
|
128
|
+
country_code?: string | undefined;
|
|
130
129
|
address_line1?: string | undefined;
|
|
131
130
|
address_line2?: string | undefined;
|
|
132
131
|
locality_landmark?: string | undefined;
|
|
@@ -136,7 +135,8 @@ declare const BusStopSchema: z.ZodObject<{
|
|
|
136
135
|
state_province_region?: string | undefined;
|
|
137
136
|
postal_code?: string | undefined;
|
|
138
137
|
country?: string | undefined;
|
|
139
|
-
|
|
138
|
+
stop_code?: string | undefined;
|
|
139
|
+
stop_description?: string | undefined;
|
|
140
140
|
google_location?: string | undefined;
|
|
141
141
|
stop_latitude?: unknown;
|
|
142
142
|
stop_longitude?: unknown;
|
|
@@ -185,8 +185,6 @@ 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[];
|
|
190
188
|
status: Status[];
|
|
191
189
|
search: string;
|
|
192
190
|
paging: PAGING;
|
|
@@ -210,12 +208,12 @@ declare const BusStopQuerySchema: z.ZodObject<{
|
|
|
210
208
|
time_zone_id: string;
|
|
211
209
|
organisation_ids: string[];
|
|
212
210
|
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;
|
|
219
217
|
status?: Status[] | undefined;
|
|
220
218
|
search?: string | undefined;
|
|
221
219
|
paging?: PAGING | undefined;
|
|
@@ -237,6 +235,8 @@ declare const BusStopQuerySchema: z.ZodObject<{
|
|
|
237
235
|
include_master_data?: YesNo | undefined;
|
|
238
236
|
organisation_ids?: string[] | undefined;
|
|
239
237
|
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-N8kI-Upv.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-N8kI-Upv.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,9 +121,6 @@ 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;
|
|
127
124
|
route_name: string;
|
|
128
125
|
route_code: string;
|
|
129
126
|
route_notes: string;
|
|
@@ -134,16 +131,19 @@ declare const MasterRouteSchema: z.ZodObject<{
|
|
|
134
131
|
pickup_end_stop_id: string;
|
|
135
132
|
drop_start_stop_id: string;
|
|
136
133
|
drop_end_stop_id: string;
|
|
137
|
-
}, {
|
|
138
134
|
status: Status;
|
|
139
135
|
organisation_id: string;
|
|
140
136
|
organisation_branch_id: string;
|
|
137
|
+
}, {
|
|
141
138
|
route_name: string;
|
|
142
139
|
route_status: Status;
|
|
143
140
|
pickup_start_stop_id: string;
|
|
144
141
|
pickup_end_stop_id: string;
|
|
145
142
|
drop_start_stop_id: string;
|
|
146
143
|
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,6 +186,7 @@ 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[];
|
|
189
190
|
status: Status[];
|
|
190
191
|
search: string;
|
|
191
192
|
paging: PAGING;
|
|
@@ -209,11 +210,11 @@ declare const MasterRouteQuerySchema: z.ZodObject<{
|
|
|
209
210
|
time_zone_id: string;
|
|
210
211
|
organisation_ids: string[];
|
|
211
212
|
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;
|
|
217
218
|
status?: Status[] | undefined;
|
|
218
219
|
search?: string | undefined;
|
|
219
220
|
paging?: PAGING | undefined;
|
|
@@ -235,7 +236,6 @@ declare const MasterRouteQuerySchema: z.ZodObject<{
|
|
|
235
236
|
include_master_data?: YesNo | undefined;
|
|
236
237
|
organisation_ids?: string[] | undefined;
|
|
237
238
|
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,12 +265,10 @@ 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;
|
|
268
269
|
status: Status;
|
|
269
270
|
organisation_id: string;
|
|
270
271
|
organisation_branch_id: string;
|
|
271
|
-
driver_id: string;
|
|
272
|
-
vehicle_id: string;
|
|
273
|
-
route_id: string;
|
|
274
272
|
schedule_name: string;
|
|
275
273
|
schedule_status: Status;
|
|
276
274
|
is_stops_finalized: YesNo;
|
|
@@ -288,14 +286,14 @@ declare const MasterFixedScheduleSchema: z.ZodObject<{
|
|
|
288
286
|
thursday: YesNo;
|
|
289
287
|
friday: YesNo;
|
|
290
288
|
saturday: YesNo;
|
|
289
|
+
vehicle_id: string;
|
|
290
|
+
driver_id: string;
|
|
291
291
|
attendant_id: string;
|
|
292
292
|
}, {
|
|
293
|
+
route_id: string;
|
|
293
294
|
status: Status;
|
|
294
295
|
organisation_id: string;
|
|
295
296
|
organisation_branch_id: string;
|
|
296
|
-
driver_id: string;
|
|
297
|
-
vehicle_id: string;
|
|
298
|
-
route_id: string;
|
|
299
297
|
schedule_name: string;
|
|
300
298
|
schedule_status: Status;
|
|
301
299
|
is_stops_finalized: YesNo;
|
|
@@ -307,6 +305,8 @@ declare const MasterFixedScheduleSchema: z.ZodObject<{
|
|
|
307
305
|
thursday: YesNo;
|
|
308
306
|
friday: YesNo;
|
|
309
307
|
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,6 +359,9 @@ 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[];
|
|
362
365
|
search: string;
|
|
363
366
|
paging: PAGING;
|
|
364
367
|
page_count: number;
|
|
@@ -381,18 +384,18 @@ declare const MasterFixedScheduleQuerySchema: z.ZodObject<{
|
|
|
381
384
|
time_zone_id: string;
|
|
382
385
|
organisation_ids: string[];
|
|
383
386
|
organisation_branch_ids: string[];
|
|
387
|
+
route_ids: string[];
|
|
384
388
|
vehicle_ids: string[];
|
|
385
389
|
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;
|
|
396
399
|
search?: string | undefined;
|
|
397
400
|
paging?: PAGING | undefined;
|
|
398
401
|
page_count?: unknown;
|
|
@@ -413,12 +416,9 @@ declare const MasterFixedScheduleQuerySchema: z.ZodObject<{
|
|
|
413
416
|
include_master_data?: YesNo | undefined;
|
|
414
417
|
organisation_ids?: string[] | undefined;
|
|
415
418
|
organisation_branch_ids?: string[] | undefined;
|
|
419
|
+
route_ids?: string[] | undefined;
|
|
416
420
|
vehicle_ids?: string[] | undefined;
|
|
417
421
|
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
|
-
bus_stop_id: string;
|
|
433
|
-
stop_duration_seconds: number;
|
|
434
432
|
order_no: number;
|
|
433
|
+
stop_duration_seconds: number;
|
|
435
434
|
travel_seconds_to_next_stop: number;
|
|
435
|
+
bus_stop_id: string;
|
|
436
436
|
}, {
|
|
437
437
|
bus_stop_id: string;
|
|
438
|
-
stop_duration_seconds?: unknown;
|
|
439
438
|
order_no?: unknown;
|
|
439
|
+
stop_duration_seconds?: 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;
|
|
449
448
|
stop_duration_seconds: number;
|
|
450
449
|
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
|
-
bus_stop_id: string;
|
|
470
|
-
stop_duration_seconds: number;
|
|
471
469
|
order_no: number;
|
|
470
|
+
stop_duration_seconds: number;
|
|
472
471
|
travel_seconds_to_next_stop: number;
|
|
472
|
+
bus_stop_id: string;
|
|
473
473
|
}, {
|
|
474
474
|
bus_stop_id: string;
|
|
475
|
-
stop_duration_seconds?: unknown;
|
|
476
475
|
order_no?: unknown;
|
|
476
|
+
stop_duration_seconds?: unknown;
|
|
477
477
|
travel_seconds_to_next_stop?: unknown;
|
|
478
478
|
}>, "many">>>;
|
|
479
479
|
}, "strip", z.ZodTypeAny, {
|
|
480
|
+
route_id: string;
|
|
480
481
|
status: Status;
|
|
481
482
|
organisation_id: string;
|
|
482
483
|
organisation_branch_id: string;
|
|
484
|
+
leg: BusLeg;
|
|
483
485
|
MasterRouteStop: {
|
|
484
|
-
bus_stop_id: string;
|
|
485
|
-
stop_duration_seconds: number;
|
|
486
486
|
order_no: number;
|
|
487
|
+
stop_duration_seconds: number;
|
|
487
488
|
travel_seconds_to_next_stop: number;
|
|
489
|
+
bus_stop_id: string;
|
|
488
490
|
}[];
|
|
489
|
-
route_id: string;
|
|
490
|
-
leg: BusLeg;
|
|
491
491
|
}, {
|
|
492
|
+
route_id: string;
|
|
492
493
|
status: Status;
|
|
493
494
|
organisation_id: string;
|
|
494
495
|
organisation_branch_id: string;
|
|
495
|
-
route_id: string;
|
|
496
496
|
leg: BusLeg;
|
|
497
497
|
MasterRouteStop?: {
|
|
498
498
|
bus_stop_id: string;
|
|
499
|
-
stop_duration_seconds?: unknown;
|
|
500
499
|
order_no?: unknown;
|
|
500
|
+
stop_duration_seconds?: 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;
|
|
554
553
|
route_id: string;
|
|
555
554
|
leg: BusLeg;
|
|
556
|
-
}, {
|
|
557
555
|
bus_stop_id: string;
|
|
556
|
+
}, {
|
|
558
557
|
route_id: string;
|
|
559
558
|
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,6 +592,7 @@ 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;
|
|
595
596
|
status: Status[];
|
|
596
597
|
search: string;
|
|
597
598
|
paging: PAGING;
|
|
@@ -613,11 +614,10 @@ declare const StudentNoStopQuerySchema: z.ZodObject<{
|
|
|
613
614
|
include_master_data: YesNo;
|
|
614
615
|
date_format_id: string;
|
|
615
616
|
time_zone_id: string;
|
|
616
|
-
route_id: string;
|
|
617
617
|
}, {
|
|
618
|
+
route_id: string;
|
|
618
619
|
date_format_id: string;
|
|
619
620
|
time_zone_id: string;
|
|
620
|
-
route_id: string;
|
|
621
621
|
status?: Status[] | undefined;
|
|
622
622
|
search?: string | undefined;
|
|
623
623
|
paging?: PAGING | undefined;
|
|
@@ -672,6 +672,7 @@ 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;
|
|
675
676
|
status: Status[];
|
|
676
677
|
search: string;
|
|
677
678
|
paging: PAGING;
|
|
@@ -693,11 +694,10 @@ declare const StudentNoScheduleQuerySchema: z.ZodObject<{
|
|
|
693
694
|
include_master_data: YesNo;
|
|
694
695
|
date_format_id: string;
|
|
695
696
|
time_zone_id: string;
|
|
696
|
-
route_id: string;
|
|
697
697
|
}, {
|
|
698
|
+
route_id: string;
|
|
698
699
|
date_format_id: string;
|
|
699
700
|
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
|
-
student_ids: string[];
|
|
727
726
|
route_id: string;
|
|
727
|
+
student_ids: 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-N8kI-Upv.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|