vms-nest-prisma-api-document 110.0.0 → 140.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.
Files changed (97) hide show
  1. package/dist/core/Enums.d.ts +34 -1
  2. package/dist/core/Enums.js +47 -0
  3. package/dist/services/account/analytics/user_login_analytics_service.d.ts +3 -3
  4. package/dist/services/account/analytics/user_page_analytics_service.d.ts +1 -1
  5. package/dist/services/account/bookmark_service.d.ts +1 -1
  6. package/dist/services/account/notification_preferences.service.d.ts +1 -1
  7. package/dist/services/account/report_preferences.service.d.ts +1 -1
  8. package/dist/services/account/ticket_service.d.ts +1 -1
  9. package/dist/services/fleet/bus_mangement/bus_stop.d.ts +250 -0
  10. package/dist/services/fleet/bus_mangement/bus_stop.js +453 -0
  11. package/dist/services/fleet/bus_mangement/calender.d.ts +145 -0
  12. package/dist/services/fleet/bus_mangement/calender.js +342 -0
  13. package/dist/services/fleet/bus_mangement/master_route.d.ts +801 -0
  14. package/dist/services/fleet/bus_mangement/master_route.js +763 -0
  15. package/dist/services/fleet/bus_mangement/notice_board.d.ts +138 -0
  16. package/dist/services/fleet/bus_mangement/notice_board.js +329 -0
  17. package/dist/services/fleet/bus_mangement/student.d.ts +1192 -0
  18. package/dist/services/fleet/bus_mangement/student.js +948 -0
  19. package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.d.ts +1 -1
  20. package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.d.ts +1 -1
  21. package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +1 -1
  22. package/dist/services/gps/features/geofence/gps_geofence_service.d.ts +5 -5
  23. package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +1 -1
  24. package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +1 -1
  25. package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +1 -1
  26. package/dist/services/gps/features/gps_live_track_share_link_service.d.ts +5 -5
  27. package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +8 -8
  28. package/dist/services/gps/reports/gps_reports_mongo_service.d.ts +46 -46
  29. package/dist/services/main/devices/master_device_service.d.ts +1 -1
  30. package/dist/services/main/drivers/master_driver_service.d.ts +1 -1
  31. package/dist/services/main/sims/master_sim_service.d.ts +1 -1
  32. package/dist/services/main/users/auth_service.d.ts +1 -1
  33. package/dist/services/main/users/user_organisation_service.d.ts +1 -1
  34. package/dist/services/main/users/user_service.d.ts +1 -1
  35. package/dist/services/main/vehicle/childs/vehicle_odometer_history.d.ts +1 -1
  36. package/dist/services/main/vehicle/master_vehicle_service.d.ts +1 -1
  37. package/dist/services/main/vehicle/master_vehicle_service.js +8 -1
  38. package/dist/services/master/bus/master_class_service.d.ts +2 -2
  39. package/dist/services/master/bus/master_program_service.d.ts +4 -4
  40. package/dist/services/master/bus/master_relationship_service.d.ts +2 -2
  41. package/dist/services/master/bus/master_section_service.d.ts +2 -2
  42. package/dist/services/master/bus/master_semester_service.d.ts +2 -2
  43. package/dist/services/master/bus/master_stream_service.d.ts +2 -2
  44. package/dist/services/master/bus/master_year_service.d.ts +2 -2
  45. package/dist/services/master/device/master_device_manufacturer_service.d.ts +1 -1
  46. package/dist/services/master/device/master_device_model_service.d.ts +1 -1
  47. package/dist/services/master/device/master_device_type_service.d.ts +1 -1
  48. package/dist/services/master/expense/master_expense_name_service.d.ts +1 -1
  49. package/dist/services/master/expense/master_expense_type_service.d.ts +1 -1
  50. package/dist/services/master/expense/master_fuel_company_service.d.ts +1 -1
  51. package/dist/services/master/expense/master_vendor_document_type_service.d.ts +1 -1
  52. package/dist/services/master/expense/master_vendor_type_service.d.ts +1 -1
  53. package/dist/services/master/fleet/master_fleet_incident_severity_service.d.ts +1 -1
  54. package/dist/services/master/fleet/master_fleet_incident_status_service.d.ts +1 -1
  55. package/dist/services/master/fleet/master_fleet_incident_type_service.d.ts +1 -1
  56. package/dist/services/master/fleet/master_fleet_insurance_claim_status_service.d.ts +1 -1
  57. package/dist/services/master/fleet/master_fleet_service_task_service.d.ts +1 -1
  58. package/dist/services/master/main/master_main_country_service.d.ts +1 -1
  59. package/dist/services/master/main/master_main_currency_service.d.ts +1 -1
  60. package/dist/services/master/main/master_main_date_format_service.d.ts +1 -1
  61. package/dist/services/master/main/master_main_industry_service.d.ts +1 -1
  62. package/dist/services/master/main/master_main_landmark_service.d.ts +3 -3
  63. package/dist/services/master/main/master_main_language_service.d.ts +1 -1
  64. package/dist/services/master/main/master_main_state_service.d.ts +1 -1
  65. package/dist/services/master/main/master_main_timezone_service.d.ts +1 -1
  66. package/dist/services/master/main/master_main_unit_distance_service.d.ts +1 -1
  67. package/dist/services/master/main/master_main_unit_mileage_service.d.ts +1 -1
  68. package/dist/services/master/main/master_main_unit_volume_service.d.ts +1 -1
  69. package/dist/services/master/organisation/organisation_branch_service.d.ts +1 -1
  70. package/dist/services/master/organisation/organisation_color_service.d.ts +1 -1
  71. package/dist/services/master/organisation/organisation_group_service.d.ts +1 -1
  72. package/dist/services/master/organisation/organisation_sub_company_service.d.ts +1 -1
  73. package/dist/services/master/organisation/organisation_tag_service.d.ts +1 -1
  74. package/dist/services/master/spare_part/master_spare_part_category_service.d.ts +1 -1
  75. package/dist/services/master/spare_part/master_spare_part_sub_category_service.d.ts +1 -1
  76. package/dist/services/master/spare_part/master_spare_part_unit_service.d.ts +1 -1
  77. package/dist/services/master/trip/master_trip_party_type_service.d.ts +1 -1
  78. package/dist/services/master/tyre/master_tyre_grade_service.d.ts +1 -1
  79. package/dist/services/master/tyre/master_tyre_make_service.d.ts +1 -1
  80. package/dist/services/master/tyre/master_tyre_model_service.d.ts +1 -1
  81. package/dist/services/master/user/master_user_role_service.d.ts +1 -1
  82. package/dist/services/master/user/master_user_status_service.d.ts +1 -1
  83. package/dist/services/master/vehicle/master_vehicle_associated_to_service.d.ts +1 -1
  84. package/dist/services/master/vehicle/master_vehicle_document_type_service.d.ts +1 -1
  85. package/dist/services/master/vehicle/master_vehicle_fuel_removal_reason_service.d.ts +1 -1
  86. package/dist/services/master/vehicle/master_vehicle_fuel_type_service.d.ts +1 -1
  87. package/dist/services/master/vehicle/master_vehicle_fuel_unit_service.d.ts +1 -1
  88. package/dist/services/master/vehicle/master_vehicle_make_service.d.ts +1 -1
  89. package/dist/services/master/vehicle/master_vehicle_model_service.d.ts +1 -1
  90. package/dist/services/master/vehicle/master_vehicle_ownership_type_service.d.ts +1 -1
  91. package/dist/services/master/vehicle/master_vehicle_status_type_service.d.ts +1 -1
  92. package/dist/services/master/vehicle/master_vehicle_sub_model_service.d.ts +1 -1
  93. package/dist/services/master/vehicle/master_vehicle_type_service.d.ts +1 -1
  94. package/dist/services/website/contact_us_detail_service.d.ts +1 -1
  95. package/dist/services/website/faq_service.d.ts +1 -1
  96. package/dist/{user_organisation_service-Dkh1nIGX.d.ts → user_organisation_service-CdoeXDR4.d.ts} +6 -1
  97. package/package.json +1 -1
@@ -0,0 +1,801 @@
1
+ import { Status, BusLeg, YesNo, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy } from '../../../core/Enums.js';
2
+ import { FBR, SBR } from '../../../core/BaseResponse.js';
3
+ import { z } from 'zod';
4
+ import { U as UserOrganisation, O as OrganisationBranch, M as MasterVehicle, b as MasterDriver } from '../../../user_organisation_service-CdoeXDR4.js';
5
+ import { BusStop } from './bus_stop.js';
6
+ import { Student } from './student.js';
7
+ import '../../../zod_utils/zod_base_schema.js';
8
+ import '../../master/main/master_main_sim_provider_service.js';
9
+ import '../../master/bus/master_class_service.js';
10
+ import '../../master/bus/master_program_service.js';
11
+ import '../../master/bus/master_section_service.js';
12
+ import '../../master/bus/master_semester_service.js';
13
+ import '../../master/bus/master_stream_service.js';
14
+ import '../../master/bus/master_year_service.js';
15
+ import '../../master/bus/master_relationship_service.js';
16
+
17
+ interface MasterRoute extends Record<string, unknown> {
18
+ route_id: string;
19
+ route_name: string;
20
+ route_code?: string;
21
+ route_notes?: string;
22
+ route_status: Status;
23
+ pickup_journey_time_in_seconds?: number;
24
+ drop_journey_time_in_seconds?: number;
25
+ pickup_start_stop_id?: string;
26
+ pickup_end_stop_id?: string;
27
+ drop_start_stop_id?: string;
28
+ drop_end_stop_id?: string;
29
+ status: Status;
30
+ added_date_time?: string;
31
+ modified_date_time?: string;
32
+ organisation_id: string;
33
+ UserOrganisation?: UserOrganisation;
34
+ organisation_branch_id: string;
35
+ OrganisationBranch?: OrganisationBranch;
36
+ Pickup_Start_BusStop?: BusStop;
37
+ Pickup_End_BusStop?: BusStop;
38
+ Drop_Start_BusStop?: BusStop;
39
+ Drop_End_BusStop?: BusStop;
40
+ _count?: {
41
+ MasterRouteStop?: number;
42
+ MasterFixedSchedule?: number;
43
+ MasterRouteStudent?: number;
44
+ };
45
+ }
46
+ interface MasterRouteStop extends Record<string, unknown> {
47
+ route_stop_id: string;
48
+ leg: BusLeg;
49
+ order_no: number;
50
+ stop_duration_seconds: number;
51
+ travel_seconds_to_next_stop: number;
52
+ stop_name?: string;
53
+ status: Status;
54
+ added_date_time?: string;
55
+ modified_date_time?: string;
56
+ organisation_id: string;
57
+ organisation_branch_id: string;
58
+ route_id: string;
59
+ bus_stop_id?: string;
60
+ BusStop?: BusStop;
61
+ }
62
+ interface MasterFixedSchedule extends Record<string, unknown> {
63
+ fixed_schedule_id: string;
64
+ schedule_name: string;
65
+ schedule_status: Status;
66
+ is_stops_finalized: YesNo;
67
+ schedule_type: BusLeg;
68
+ start_hour?: number;
69
+ start_minute?: number;
70
+ end_hour?: number;
71
+ end_minute?: number;
72
+ schedule_plan_start_date?: string;
73
+ schedule_plan_end_date?: string;
74
+ sunday: YesNo;
75
+ monday: YesNo;
76
+ tuesday: YesNo;
77
+ wednesday: YesNo;
78
+ thursday: YesNo;
79
+ friday: YesNo;
80
+ saturday: YesNo;
81
+ status: Status;
82
+ added_date_time?: string;
83
+ modified_date_time?: string;
84
+ organisation_id: string;
85
+ organisation_branch_id: string;
86
+ route_id: string;
87
+ vehicle_id?: string;
88
+ driver_id?: string;
89
+ attendant_id?: string;
90
+ MasterVehicle?: MasterVehicle;
91
+ MasterDriver?: MasterDriver;
92
+ }
93
+ interface MasterRouteStudent extends Record<string, unknown> {
94
+ route_student_id: string;
95
+ leg: BusLeg | string;
96
+ status: Status;
97
+ added_date_time?: string;
98
+ modified_date_time?: string;
99
+ organisation_id?: string;
100
+ organisation_branch_id?: string;
101
+ route_id?: string;
102
+ student_id?: string;
103
+ route_stop_id?: string;
104
+ fixed_schedule_id?: string;
105
+ Student?: Student;
106
+ MasterRouteStop?: MasterRouteStop;
107
+ MasterFixedSchedule?: MasterFixedSchedule;
108
+ }
109
+ declare const MasterRouteSchema: z.ZodObject<{
110
+ organisation_id: z.ZodEffects<z.ZodString, string, string>;
111
+ organisation_branch_id: z.ZodEffects<z.ZodString, string, string>;
112
+ pickup_start_stop_id: z.ZodEffects<z.ZodString, string, string>;
113
+ pickup_end_stop_id: z.ZodEffects<z.ZodString, string, string>;
114
+ drop_start_stop_id: z.ZodEffects<z.ZodString, string, string>;
115
+ drop_end_stop_id: z.ZodEffects<z.ZodString, string, string>;
116
+ route_name: z.ZodEffects<z.ZodString, string, string>;
117
+ route_code: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
118
+ route_notes: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
119
+ route_status: z.ZodType<Status, z.ZodTypeDef, Status>;
120
+ pickup_journey_time_in_seconds: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
121
+ drop_journey_time_in_seconds: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
122
+ status: z.ZodType<Status, z.ZodTypeDef, Status>;
123
+ }, "strip", z.ZodTypeAny, {
124
+ route_name: string;
125
+ route_code: string;
126
+ route_notes: string;
127
+ route_status: Status;
128
+ pickup_journey_time_in_seconds: number;
129
+ drop_journey_time_in_seconds: number;
130
+ pickup_start_stop_id: string;
131
+ pickup_end_stop_id: string;
132
+ drop_start_stop_id: string;
133
+ drop_end_stop_id: string;
134
+ status: Status;
135
+ organisation_id: string;
136
+ organisation_branch_id: string;
137
+ }, {
138
+ route_name: string;
139
+ route_status: Status;
140
+ pickup_start_stop_id: string;
141
+ pickup_end_stop_id: string;
142
+ drop_start_stop_id: string;
143
+ drop_end_stop_id: string;
144
+ status: Status;
145
+ organisation_id: string;
146
+ organisation_branch_id: string;
147
+ route_code?: string | undefined;
148
+ route_notes?: string | undefined;
149
+ pickup_journey_time_in_seconds?: unknown;
150
+ drop_journey_time_in_seconds?: unknown;
151
+ }>;
152
+ type MasterRouteDTO = z.infer<typeof MasterRouteSchema>;
153
+ declare const MasterRouteQuerySchema: z.ZodObject<{
154
+ search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
155
+ status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
156
+ paging: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof PAGING>>>;
157
+ page_count: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
158
+ page_index: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
159
+ load_parents: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadParents>>>;
160
+ load_parents_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
161
+ load_child: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChild>>>;
162
+ load_child_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
163
+ load_child_count: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChildCount>>>;
164
+ load_child_count_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
165
+ include_details: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
166
+ where_relations: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
167
+ order_by: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
168
+ name: z.ZodEffects<z.ZodString, string, string>;
169
+ field: z.ZodEffects<z.ZodString, string, string>;
170
+ direction: z.ZodType<OrderBy, z.ZodTypeDef, OrderBy>;
171
+ }, "strip", z.ZodTypeAny, {
172
+ name: string;
173
+ field: string;
174
+ direction: OrderBy;
175
+ }, {
176
+ name: string;
177
+ field: string;
178
+ direction: OrderBy;
179
+ }>, "many">>>;
180
+ include_master_data: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
181
+ date_format_id: z.ZodEffects<z.ZodString, string, string>;
182
+ time_zone_id: z.ZodEffects<z.ZodString, string, string>;
183
+ } & {
184
+ organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
185
+ organisation_branch_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
186
+ route_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
187
+ route_status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
188
+ }, "strip", z.ZodTypeAny, {
189
+ route_status: Status[];
190
+ status: Status[];
191
+ search: string;
192
+ paging: PAGING;
193
+ page_count: number;
194
+ page_index: number;
195
+ load_parents: LoadParents;
196
+ load_parents_list: string[];
197
+ load_child: LoadChild;
198
+ load_child_list: string[];
199
+ load_child_count: LoadChildCount;
200
+ load_child_count_list: string[];
201
+ include_details: Record<string, any>;
202
+ where_relations: Record<string, any>;
203
+ order_by: {
204
+ name: string;
205
+ field: string;
206
+ direction: OrderBy;
207
+ }[];
208
+ include_master_data: YesNo;
209
+ date_format_id: string;
210
+ time_zone_id: string;
211
+ organisation_ids: string[];
212
+ organisation_branch_ids: string[];
213
+ route_ids: string[];
214
+ }, {
215
+ date_format_id: string;
216
+ time_zone_id: string;
217
+ route_status?: Status[] | undefined;
218
+ status?: Status[] | undefined;
219
+ search?: string | undefined;
220
+ paging?: PAGING | undefined;
221
+ page_count?: unknown;
222
+ page_index?: unknown;
223
+ load_parents?: LoadParents | undefined;
224
+ load_parents_list?: string[] | undefined;
225
+ load_child?: LoadChild | undefined;
226
+ load_child_list?: string[] | undefined;
227
+ load_child_count?: LoadChildCount | undefined;
228
+ load_child_count_list?: string[] | undefined;
229
+ include_details?: Record<string, any> | undefined;
230
+ where_relations?: Record<string, any> | undefined;
231
+ order_by?: {
232
+ name: string;
233
+ field: string;
234
+ direction: OrderBy;
235
+ }[] | undefined;
236
+ include_master_data?: YesNo | undefined;
237
+ organisation_ids?: string[] | undefined;
238
+ organisation_branch_ids?: string[] | undefined;
239
+ route_ids?: string[] | undefined;
240
+ }>;
241
+ type MasterRouteQueryDTO = z.infer<typeof MasterRouteQuerySchema>;
242
+ declare const MasterFixedScheduleSchema: z.ZodObject<{
243
+ organisation_id: z.ZodEffects<z.ZodString, string, string>;
244
+ organisation_branch_id: z.ZodEffects<z.ZodString, string, string>;
245
+ route_id: z.ZodEffects<z.ZodString, string, string>;
246
+ vehicle_id: z.ZodEffects<z.ZodString, string, string>;
247
+ driver_id: z.ZodEffects<z.ZodString, string, string>;
248
+ attendant_id: z.ZodEffects<z.ZodString, string, string>;
249
+ schedule_name: z.ZodEffects<z.ZodString, string, string>;
250
+ schedule_status: z.ZodType<Status, z.ZodTypeDef, Status>;
251
+ is_stops_finalized: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
252
+ schedule_type: z.ZodType<BusLeg, z.ZodTypeDef, BusLeg>;
253
+ start_hour: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
254
+ start_minute: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
255
+ end_hour: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
256
+ end_minute: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
257
+ schedule_plan_start_date: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
258
+ schedule_plan_end_date: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
259
+ sunday: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
260
+ monday: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
261
+ tuesday: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
262
+ wednesday: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
263
+ thursday: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
264
+ friday: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
265
+ saturday: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
266
+ status: z.ZodType<Status, z.ZodTypeDef, Status>;
267
+ }, "strip", z.ZodTypeAny, {
268
+ route_id: string;
269
+ status: Status;
270
+ organisation_id: string;
271
+ organisation_branch_id: string;
272
+ schedule_name: string;
273
+ schedule_status: Status;
274
+ is_stops_finalized: YesNo;
275
+ schedule_type: BusLeg;
276
+ start_hour: number;
277
+ start_minute: number;
278
+ end_hour: number;
279
+ end_minute: number;
280
+ schedule_plan_start_date: string;
281
+ schedule_plan_end_date: string;
282
+ sunday: YesNo;
283
+ monday: YesNo;
284
+ tuesday: YesNo;
285
+ wednesday: YesNo;
286
+ thursday: YesNo;
287
+ friday: YesNo;
288
+ saturday: YesNo;
289
+ vehicle_id: string;
290
+ driver_id: string;
291
+ attendant_id: string;
292
+ }, {
293
+ route_id: string;
294
+ status: Status;
295
+ organisation_id: string;
296
+ organisation_branch_id: string;
297
+ schedule_name: string;
298
+ schedule_status: Status;
299
+ is_stops_finalized: YesNo;
300
+ schedule_type: BusLeg;
301
+ sunday: YesNo;
302
+ monday: YesNo;
303
+ tuesday: YesNo;
304
+ wednesday: YesNo;
305
+ thursday: YesNo;
306
+ friday: YesNo;
307
+ saturday: YesNo;
308
+ vehicle_id: string;
309
+ driver_id: string;
310
+ attendant_id: string;
311
+ start_hour?: unknown;
312
+ start_minute?: unknown;
313
+ end_hour?: unknown;
314
+ end_minute?: unknown;
315
+ schedule_plan_start_date?: string | undefined;
316
+ schedule_plan_end_date?: string | undefined;
317
+ }>;
318
+ type MasterFixedScheduleDTO = z.infer<typeof MasterFixedScheduleSchema>;
319
+ declare const MasterFixedScheduleQuerySchema: z.ZodObject<{
320
+ search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
321
+ status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
322
+ paging: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof PAGING>>>;
323
+ page_count: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
324
+ page_index: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
325
+ load_parents: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadParents>>>;
326
+ load_parents_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
327
+ load_child: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChild>>>;
328
+ load_child_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
329
+ load_child_count: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChildCount>>>;
330
+ load_child_count_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
331
+ include_details: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
332
+ where_relations: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
333
+ order_by: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
334
+ name: z.ZodEffects<z.ZodString, string, string>;
335
+ field: z.ZodEffects<z.ZodString, string, string>;
336
+ direction: z.ZodType<OrderBy, z.ZodTypeDef, OrderBy>;
337
+ }, "strip", z.ZodTypeAny, {
338
+ name: string;
339
+ field: string;
340
+ direction: OrderBy;
341
+ }, {
342
+ name: string;
343
+ field: string;
344
+ direction: OrderBy;
345
+ }>, "many">>>;
346
+ include_master_data: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
347
+ date_format_id: z.ZodEffects<z.ZodString, string, string>;
348
+ time_zone_id: z.ZodEffects<z.ZodString, string, string>;
349
+ } & {
350
+ organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
351
+ organisation_branch_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
352
+ route_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
353
+ vehicle_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
354
+ driver_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
355
+ attendant_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
356
+ fixed_schedule_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
357
+ schedule_status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
358
+ is_stops_finalized: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof YesNo>, "many">>>;
359
+ schedule_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof BusLeg>, "many">>>;
360
+ }, "strip", z.ZodTypeAny, {
361
+ status: Status[];
362
+ schedule_status: Status[];
363
+ is_stops_finalized: YesNo[];
364
+ schedule_type: BusLeg[];
365
+ search: string;
366
+ paging: PAGING;
367
+ page_count: number;
368
+ page_index: number;
369
+ load_parents: LoadParents;
370
+ load_parents_list: string[];
371
+ load_child: LoadChild;
372
+ load_child_list: string[];
373
+ load_child_count: LoadChildCount;
374
+ load_child_count_list: string[];
375
+ include_details: Record<string, any>;
376
+ where_relations: Record<string, any>;
377
+ order_by: {
378
+ name: string;
379
+ field: string;
380
+ direction: OrderBy;
381
+ }[];
382
+ include_master_data: YesNo;
383
+ date_format_id: string;
384
+ time_zone_id: string;
385
+ organisation_ids: string[];
386
+ organisation_branch_ids: string[];
387
+ route_ids: string[];
388
+ vehicle_ids: string[];
389
+ driver_ids: string[];
390
+ attendant_ids: string[];
391
+ fixed_schedule_ids: string[];
392
+ }, {
393
+ date_format_id: string;
394
+ time_zone_id: string;
395
+ status?: Status[] | undefined;
396
+ schedule_status?: Status[] | undefined;
397
+ is_stops_finalized?: YesNo[] | undefined;
398
+ schedule_type?: BusLeg[] | undefined;
399
+ search?: string | undefined;
400
+ paging?: PAGING | undefined;
401
+ page_count?: unknown;
402
+ page_index?: unknown;
403
+ load_parents?: LoadParents | undefined;
404
+ load_parents_list?: string[] | undefined;
405
+ load_child?: LoadChild | undefined;
406
+ load_child_list?: string[] | undefined;
407
+ load_child_count?: LoadChildCount | undefined;
408
+ load_child_count_list?: string[] | undefined;
409
+ include_details?: Record<string, any> | undefined;
410
+ where_relations?: Record<string, any> | undefined;
411
+ order_by?: {
412
+ name: string;
413
+ field: string;
414
+ direction: OrderBy;
415
+ }[] | undefined;
416
+ include_master_data?: YesNo | undefined;
417
+ organisation_ids?: string[] | undefined;
418
+ organisation_branch_ids?: string[] | undefined;
419
+ route_ids?: string[] | undefined;
420
+ vehicle_ids?: string[] | undefined;
421
+ driver_ids?: string[] | undefined;
422
+ attendant_ids?: string[] | undefined;
423
+ fixed_schedule_ids?: string[] | undefined;
424
+ }>;
425
+ type MasterFixedScheduleQueryDTO = z.infer<typeof MasterFixedScheduleQuerySchema>;
426
+ declare const MasterRouteStopSchema: z.ZodObject<{
427
+ order_no: z.ZodEffects<z.ZodNumber, number, unknown>;
428
+ stop_duration_seconds: z.ZodEffects<z.ZodNumber, number, unknown>;
429
+ travel_seconds_to_next_stop: z.ZodEffects<z.ZodNumber, number, unknown>;
430
+ bus_stop_id: z.ZodEffects<z.ZodString, string, string>;
431
+ }, "strip", z.ZodTypeAny, {
432
+ order_no: number;
433
+ stop_duration_seconds: number;
434
+ travel_seconds_to_next_stop: number;
435
+ bus_stop_id: string;
436
+ }, {
437
+ bus_stop_id: string;
438
+ order_no?: unknown;
439
+ stop_duration_seconds?: unknown;
440
+ travel_seconds_to_next_stop?: unknown;
441
+ }>;
442
+ type MasterRouteStopDTO = z.infer<typeof MasterRouteStopSchema>;
443
+ declare const MasterRouteStopUpdateSchema: z.ZodObject<{
444
+ stop_duration_seconds: z.ZodEffects<z.ZodNumber, number, unknown>;
445
+ travel_seconds_to_next_stop: z.ZodEffects<z.ZodNumber, number, unknown>;
446
+ bus_stop_id: z.ZodEffects<z.ZodString, string, string>;
447
+ }, "strip", z.ZodTypeAny, {
448
+ stop_duration_seconds: number;
449
+ travel_seconds_to_next_stop: number;
450
+ bus_stop_id: string;
451
+ }, {
452
+ bus_stop_id: string;
453
+ stop_duration_seconds?: unknown;
454
+ travel_seconds_to_next_stop?: unknown;
455
+ }>;
456
+ type MasterRouteStopUpdateDTO = z.infer<typeof MasterRouteStopUpdateSchema>;
457
+ declare const MasterRouteStopCreateSchema: z.ZodObject<{
458
+ organisation_id: z.ZodEffects<z.ZodString, string, string>;
459
+ organisation_branch_id: z.ZodEffects<z.ZodString, string, string>;
460
+ route_id: z.ZodEffects<z.ZodString, string, string>;
461
+ leg: z.ZodType<BusLeg, z.ZodTypeDef, BusLeg>;
462
+ status: z.ZodType<Status, z.ZodTypeDef, Status>;
463
+ MasterRouteStop: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
464
+ order_no: z.ZodEffects<z.ZodNumber, number, unknown>;
465
+ stop_duration_seconds: z.ZodEffects<z.ZodNumber, number, unknown>;
466
+ travel_seconds_to_next_stop: z.ZodEffects<z.ZodNumber, number, unknown>;
467
+ bus_stop_id: z.ZodEffects<z.ZodString, string, string>;
468
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
469
+ order_no: number;
470
+ stop_duration_seconds: number;
471
+ travel_seconds_to_next_stop: number;
472
+ bus_stop_id: string;
473
+ }, {
474
+ bus_stop_id: string;
475
+ order_no?: unknown;
476
+ stop_duration_seconds?: unknown;
477
+ travel_seconds_to_next_stop?: unknown;
478
+ }>, "many">>>;
479
+ }, "strip", z.ZodTypeAny, {
480
+ route_id: string;
481
+ status: Status;
482
+ organisation_id: string;
483
+ organisation_branch_id: string;
484
+ leg: BusLeg;
485
+ MasterRouteStop: {
486
+ order_no: number;
487
+ stop_duration_seconds: number;
488
+ travel_seconds_to_next_stop: number;
489
+ bus_stop_id: string;
490
+ }[];
491
+ }, {
492
+ route_id: string;
493
+ status: Status;
494
+ organisation_id: string;
495
+ organisation_branch_id: string;
496
+ leg: BusLeg;
497
+ MasterRouteStop?: {
498
+ bus_stop_id: string;
499
+ order_no?: unknown;
500
+ stop_duration_seconds?: unknown;
501
+ travel_seconds_to_next_stop?: unknown;
502
+ }[] | undefined;
503
+ }>;
504
+ type MasterRouteStopCreateDTO = z.infer<typeof MasterRouteStopCreateSchema>;
505
+ declare const MasterRouteStopIds: z.ZodObject<{
506
+ route_stop_id: z.ZodEffects<z.ZodString, string, string>;
507
+ }, "strip", z.ZodTypeAny, {
508
+ route_stop_id: string;
509
+ }, {
510
+ route_stop_id: string;
511
+ }>;
512
+ type MasterRouteStopIdsDTO = z.infer<typeof MasterRouteStopIds>;
513
+ declare const MasterRouteStopReorderSchema: z.ZodObject<{
514
+ route_id: z.ZodEffects<z.ZodString, string, string>;
515
+ leg: z.ZodType<BusLeg, z.ZodTypeDef, BusLeg>;
516
+ MasterRouteStopIds: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
517
+ route_stop_id: z.ZodEffects<z.ZodString, string, string>;
518
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
519
+ route_stop_id: string;
520
+ }, {
521
+ route_stop_id: string;
522
+ }>, "many">>>;
523
+ }, "strip", z.ZodTypeAny, {
524
+ route_id: string;
525
+ leg: BusLeg;
526
+ MasterRouteStopIds: {
527
+ route_stop_id: string;
528
+ }[];
529
+ }, {
530
+ route_id: string;
531
+ leg: BusLeg;
532
+ MasterRouteStopIds?: {
533
+ route_stop_id: string;
534
+ }[] | undefined;
535
+ }>;
536
+ type MasterRouteStopReorderDTO = z.infer<typeof MasterRouteStopReorderSchema>;
537
+ declare const MasterRouteStopDeleteAllSchema: z.ZodObject<{
538
+ route_id: z.ZodEffects<z.ZodString, string, string>;
539
+ leg: z.ZodType<BusLeg, z.ZodTypeDef, BusLeg>;
540
+ }, "strip", z.ZodTypeAny, {
541
+ route_id: string;
542
+ leg: BusLeg;
543
+ }, {
544
+ route_id: string;
545
+ leg: BusLeg;
546
+ }>;
547
+ type MasterRouteStopDeleteDTO = z.infer<typeof MasterRouteStopDeleteAllSchema>;
548
+ declare const MasterRouteStopDeleteSchema: z.ZodObject<{
549
+ route_id: z.ZodEffects<z.ZodString, string, string>;
550
+ bus_stop_id: z.ZodEffects<z.ZodString, string, string>;
551
+ leg: z.ZodType<BusLeg, z.ZodTypeDef, BusLeg>;
552
+ }, "strip", z.ZodTypeAny, {
553
+ route_id: string;
554
+ leg: BusLeg;
555
+ bus_stop_id: string;
556
+ }, {
557
+ route_id: string;
558
+ leg: BusLeg;
559
+ bus_stop_id: string;
560
+ }>;
561
+ type MasterRouteStopDeleteReOrderDTO = z.infer<typeof MasterRouteStopDeleteSchema>;
562
+ declare const StudentNoStopQuerySchema: z.ZodObject<{
563
+ search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
564
+ status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
565
+ paging: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof PAGING>>>;
566
+ page_count: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
567
+ page_index: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
568
+ load_parents: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadParents>>>;
569
+ load_parents_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
570
+ load_child: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChild>>>;
571
+ load_child_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
572
+ load_child_count: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChildCount>>>;
573
+ load_child_count_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
574
+ include_details: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
575
+ where_relations: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
576
+ order_by: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
577
+ name: z.ZodEffects<z.ZodString, string, string>;
578
+ field: z.ZodEffects<z.ZodString, string, string>;
579
+ direction: z.ZodType<OrderBy, z.ZodTypeDef, OrderBy>;
580
+ }, "strip", z.ZodTypeAny, {
581
+ name: string;
582
+ field: string;
583
+ direction: OrderBy;
584
+ }, {
585
+ name: string;
586
+ field: string;
587
+ direction: OrderBy;
588
+ }>, "many">>>;
589
+ include_master_data: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
590
+ date_format_id: z.ZodEffects<z.ZodString, string, string>;
591
+ time_zone_id: z.ZodEffects<z.ZodString, string, string>;
592
+ } & {
593
+ route_id: z.ZodEffects<z.ZodString, string, string>;
594
+ }, "strip", z.ZodTypeAny, {
595
+ route_id: string;
596
+ status: Status[];
597
+ search: string;
598
+ paging: PAGING;
599
+ page_count: number;
600
+ page_index: number;
601
+ load_parents: LoadParents;
602
+ load_parents_list: string[];
603
+ load_child: LoadChild;
604
+ load_child_list: string[];
605
+ load_child_count: LoadChildCount;
606
+ load_child_count_list: string[];
607
+ include_details: Record<string, any>;
608
+ where_relations: Record<string, any>;
609
+ order_by: {
610
+ name: string;
611
+ field: string;
612
+ direction: OrderBy;
613
+ }[];
614
+ include_master_data: YesNo;
615
+ date_format_id: string;
616
+ time_zone_id: string;
617
+ }, {
618
+ route_id: string;
619
+ date_format_id: string;
620
+ time_zone_id: string;
621
+ status?: Status[] | undefined;
622
+ search?: string | undefined;
623
+ paging?: PAGING | undefined;
624
+ page_count?: unknown;
625
+ page_index?: unknown;
626
+ load_parents?: LoadParents | undefined;
627
+ load_parents_list?: string[] | undefined;
628
+ load_child?: LoadChild | undefined;
629
+ load_child_list?: string[] | undefined;
630
+ load_child_count?: LoadChildCount | undefined;
631
+ load_child_count_list?: string[] | undefined;
632
+ include_details?: Record<string, any> | undefined;
633
+ where_relations?: Record<string, any> | undefined;
634
+ order_by?: {
635
+ name: string;
636
+ field: string;
637
+ direction: OrderBy;
638
+ }[] | undefined;
639
+ include_master_data?: YesNo | undefined;
640
+ }>;
641
+ type StudentNoStopQueryDTO = z.infer<typeof StudentNoStopQuerySchema>;
642
+ declare const StudentNoScheduleQuerySchema: z.ZodObject<{
643
+ search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
644
+ status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
645
+ paging: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof PAGING>>>;
646
+ page_count: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
647
+ page_index: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
648
+ load_parents: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadParents>>>;
649
+ load_parents_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
650
+ load_child: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChild>>>;
651
+ load_child_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
652
+ load_child_count: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChildCount>>>;
653
+ load_child_count_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
654
+ include_details: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
655
+ where_relations: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
656
+ order_by: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
657
+ name: z.ZodEffects<z.ZodString, string, string>;
658
+ field: z.ZodEffects<z.ZodString, string, string>;
659
+ direction: z.ZodType<OrderBy, z.ZodTypeDef, OrderBy>;
660
+ }, "strip", z.ZodTypeAny, {
661
+ name: string;
662
+ field: string;
663
+ direction: OrderBy;
664
+ }, {
665
+ name: string;
666
+ field: string;
667
+ direction: OrderBy;
668
+ }>, "many">>>;
669
+ include_master_data: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
670
+ date_format_id: z.ZodEffects<z.ZodString, string, string>;
671
+ time_zone_id: z.ZodEffects<z.ZodString, string, string>;
672
+ } & {
673
+ route_id: z.ZodEffects<z.ZodString, string, string>;
674
+ }, "strip", z.ZodTypeAny, {
675
+ route_id: string;
676
+ status: Status[];
677
+ search: string;
678
+ paging: PAGING;
679
+ page_count: number;
680
+ page_index: number;
681
+ load_parents: LoadParents;
682
+ load_parents_list: string[];
683
+ load_child: LoadChild;
684
+ load_child_list: string[];
685
+ load_child_count: LoadChildCount;
686
+ load_child_count_list: string[];
687
+ include_details: Record<string, any>;
688
+ where_relations: Record<string, any>;
689
+ order_by: {
690
+ name: string;
691
+ field: string;
692
+ direction: OrderBy;
693
+ }[];
694
+ include_master_data: YesNo;
695
+ date_format_id: string;
696
+ time_zone_id: string;
697
+ }, {
698
+ route_id: string;
699
+ date_format_id: string;
700
+ time_zone_id: string;
701
+ status?: Status[] | undefined;
702
+ search?: string | undefined;
703
+ paging?: PAGING | undefined;
704
+ page_count?: unknown;
705
+ page_index?: unknown;
706
+ load_parents?: LoadParents | undefined;
707
+ load_parents_list?: string[] | undefined;
708
+ load_child?: LoadChild | undefined;
709
+ load_child_list?: string[] | undefined;
710
+ load_child_count?: LoadChildCount | undefined;
711
+ load_child_count_list?: string[] | undefined;
712
+ include_details?: Record<string, any> | undefined;
713
+ where_relations?: Record<string, any> | undefined;
714
+ order_by?: {
715
+ name: string;
716
+ field: string;
717
+ direction: OrderBy;
718
+ }[] | undefined;
719
+ include_master_data?: YesNo | undefined;
720
+ }>;
721
+ type StudentNoScheduleQueryDTO = z.infer<typeof StudentNoScheduleQuerySchema>;
722
+ declare const MasterRouteStudentAssignRemoveSchema: z.ZodObject<{
723
+ route_id: z.ZodEffects<z.ZodString, string, string>;
724
+ student_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
725
+ }, "strip", z.ZodTypeAny, {
726
+ route_id: string;
727
+ student_ids: string[];
728
+ }, {
729
+ route_id: string;
730
+ student_ids?: string[] | undefined;
731
+ }>;
732
+ type MasterRouteStudentAssignRemoveDTO = z.infer<typeof MasterRouteStudentAssignRemoveSchema>;
733
+ declare const MasterRouteStudentStopAssignRemoveSchema: z.ZodObject<{
734
+ route_id: z.ZodEffects<z.ZodString, string, string>;
735
+ route_stop_id: z.ZodEffects<z.ZodString, string, string>;
736
+ route_student_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
737
+ }, "strip", z.ZodTypeAny, {
738
+ route_id: string;
739
+ route_stop_id: string;
740
+ route_student_ids: string[];
741
+ }, {
742
+ route_id: string;
743
+ route_stop_id: string;
744
+ route_student_ids?: string[] | undefined;
745
+ }>;
746
+ type MasterRouteStudentStopAssignRemoveDTO = z.infer<typeof MasterRouteStudentStopAssignRemoveSchema>;
747
+ declare const MasterRouteStudentScheduleAssignRemoveSchema: z.ZodObject<{
748
+ route_id: z.ZodEffects<z.ZodString, string, string>;
749
+ fixed_schedule_id: z.ZodEffects<z.ZodString, string, string>;
750
+ route_student_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
751
+ }, "strip", z.ZodTypeAny, {
752
+ route_id: string;
753
+ fixed_schedule_id: string;
754
+ route_student_ids: string[];
755
+ }, {
756
+ route_id: string;
757
+ fixed_schedule_id: string;
758
+ route_student_ids?: string[] | undefined;
759
+ }>;
760
+ type MasterRouteStudentScheduleAssignRemoveDTO = z.infer<typeof MasterRouteStudentScheduleAssignRemoveSchema>;
761
+ declare const toMasterRoutePayload: (row: MasterRoute) => MasterRouteDTO;
762
+ declare const newMasterRoutePayload: () => MasterRouteDTO;
763
+ declare const toMasterFixedSchedulePayload: (row: MasterFixedSchedule) => MasterFixedScheduleDTO;
764
+ declare const newMasterFixedSchedulePayload: () => MasterFixedScheduleDTO;
765
+ declare const toMasterRouteStopPayload: (row: MasterRouteStop) => MasterRouteStopCreateDTO;
766
+ declare const newMasterRouteStopPayload: () => MasterRouteStopCreateDTO;
767
+ declare const toMasterRouteStopReorderPayload: (row: MasterRouteStop) => MasterRouteStopReorderDTO;
768
+ declare const toMasterRouteStudentAssignPayload: (row: MasterRouteStudent) => MasterRouteStudentAssignRemoveDTO;
769
+ declare const newMasterRouteStudentAssignPayload: () => MasterRouteStudentAssignRemoveDTO;
770
+ declare const findMasterRoute: (data: MasterRouteQueryDTO) => Promise<FBR<MasterRoute[]>>;
771
+ declare const createMasterRoute: (id: string, data: MasterRouteDTO) => Promise<SBR>;
772
+ declare const updateMasterRoute: (id: string, data: MasterRouteDTO) => Promise<SBR>;
773
+ declare const deleteMasterRoute: (id: string) => Promise<SBR>;
774
+ declare const findMasterFixedSchedule: (data: MasterFixedScheduleQueryDTO) => Promise<FBR<MasterFixedSchedule[]>>;
775
+ declare const createMasterFixedSchedule: (data: MasterFixedScheduleDTO) => Promise<SBR>;
776
+ declare const updateMasterFixedSchedule: (id: string, data: MasterFixedScheduleDTO) => Promise<SBR>;
777
+ declare const deleteMasterFixedSchedule: (id: string) => Promise<SBR>;
778
+ declare const createStopsFirstTimeRoute: (data: MasterRouteStopCreateDTO) => Promise<SBR>;
779
+ declare const appendRouteStop: (data: MasterRouteStopCreateDTO) => Promise<SBR>;
780
+ declare const updateRouteStop: (id: string, data: MasterRouteStopUpdateDTO) => Promise<SBR>;
781
+ declare const reorderRouteStops: (data: MasterRouteStopReorderDTO) => Promise<SBR>;
782
+ declare const deleteRouteStopsAll: (data: MasterRouteStopDeleteDTO) => Promise<SBR>;
783
+ declare const deleteRouteStopReorder: (data: MasterRouteStopDeleteReOrderDTO) => Promise<SBR>;
784
+ declare const findStudentsWithNoStopPickup: (data: StudentNoStopQueryDTO) => Promise<FBR<MasterRouteStudent[]>>;
785
+ declare const findStudentsWithNoStopDrop: (data: StudentNoStopQueryDTO) => Promise<FBR<MasterRouteStudent[]>>;
786
+ declare const findStudentsWithNoSchedulePickup: (data: StudentNoScheduleQueryDTO) => Promise<FBR<MasterRouteStudent[]>>;
787
+ declare const findStudentsWithNoScheduleDrop: (data: StudentNoScheduleQueryDTO) => Promise<FBR<MasterRouteStudent[]>>;
788
+ declare const assignRouteStudentsPickup: (data: MasterRouteStudentAssignRemoveDTO) => Promise<SBR>;
789
+ declare const assignRouteStudentsDrop: (data: MasterRouteStudentAssignRemoveDTO) => Promise<SBR>;
790
+ declare const removeRouteStudentsPickup: (data: MasterRouteStudentAssignRemoveDTO) => Promise<SBR>;
791
+ declare const removeRouteStudentsDrop: (data: MasterRouteStudentAssignRemoveDTO) => Promise<SBR>;
792
+ declare const assignMasterRouteStudentStopToStudentsPickup: (data: MasterRouteStudentStopAssignRemoveDTO) => Promise<SBR>;
793
+ declare const assignMasterRouteStudentStopToStudentsDrop: (data: MasterRouteStudentStopAssignRemoveDTO) => Promise<SBR>;
794
+ declare const removeMasterRouteStudentStopToStudentsPickup: (data: MasterRouteStudentStopAssignRemoveDTO) => Promise<SBR>;
795
+ declare const removeMasterRouteStudentStopToStudentsDrop: (data: MasterRouteStudentStopAssignRemoveDTO) => Promise<SBR>;
796
+ declare const assignMasterRouteStudentScheduleToStudentsPickup: (data: MasterRouteStudentScheduleAssignRemoveDTO) => Promise<SBR>;
797
+ declare const assignMasterRouteStudentScheduleToStudentDrop: (data: MasterRouteStudentScheduleAssignRemoveDTO) => Promise<SBR>;
798
+ declare const removeMasterRouteStudentScheduleToStudentPickup: (data: MasterRouteStudentScheduleAssignRemoveDTO) => Promise<SBR>;
799
+ declare const removeMasterRouteStudentScheduleToStudentDrop: (data: MasterRouteStudentScheduleAssignRemoveDTO) => Promise<SBR>;
800
+
801
+ export { type MasterFixedSchedule, type MasterFixedScheduleDTO, type MasterFixedScheduleQueryDTO, MasterFixedScheduleQuerySchema, MasterFixedScheduleSchema, type MasterRoute, type MasterRouteDTO, type MasterRouteQueryDTO, MasterRouteQuerySchema, MasterRouteSchema, type MasterRouteStop, type MasterRouteStopCreateDTO, MasterRouteStopCreateSchema, type MasterRouteStopDTO, MasterRouteStopDeleteAllSchema, type MasterRouteStopDeleteDTO, type MasterRouteStopDeleteReOrderDTO, MasterRouteStopDeleteSchema, MasterRouteStopIds, type MasterRouteStopIdsDTO, type MasterRouteStopReorderDTO, MasterRouteStopReorderSchema, MasterRouteStopSchema, type MasterRouteStopUpdateDTO, MasterRouteStopUpdateSchema, type MasterRouteStudent, type MasterRouteStudentAssignRemoveDTO, MasterRouteStudentAssignRemoveSchema, type MasterRouteStudentScheduleAssignRemoveDTO, MasterRouteStudentScheduleAssignRemoveSchema, type MasterRouteStudentStopAssignRemoveDTO, MasterRouteStudentStopAssignRemoveSchema, type StudentNoScheduleQueryDTO, StudentNoScheduleQuerySchema, type StudentNoStopQueryDTO, StudentNoStopQuerySchema, appendRouteStop, assignMasterRouteStudentScheduleToStudentDrop, assignMasterRouteStudentScheduleToStudentsPickup, assignMasterRouteStudentStopToStudentsDrop, assignMasterRouteStudentStopToStudentsPickup, assignRouteStudentsDrop, assignRouteStudentsPickup, createMasterFixedSchedule, createMasterRoute, createStopsFirstTimeRoute, deleteMasterFixedSchedule, deleteMasterRoute, deleteRouteStopReorder, deleteRouteStopsAll, findMasterFixedSchedule, findMasterRoute, findStudentsWithNoScheduleDrop, findStudentsWithNoSchedulePickup, findStudentsWithNoStopDrop, findStudentsWithNoStopPickup, newMasterFixedSchedulePayload, newMasterRoutePayload, newMasterRouteStopPayload, newMasterRouteStudentAssignPayload, removeMasterRouteStudentScheduleToStudentDrop, removeMasterRouteStudentScheduleToStudentPickup, removeMasterRouteStudentStopToStudentsDrop, removeMasterRouteStudentStopToStudentsPickup, removeRouteStudentsDrop, removeRouteStudentsPickup, reorderRouteStops, toMasterFixedSchedulePayload, toMasterRoutePayload, toMasterRouteStopPayload, toMasterRouteStopReorderPayload, toMasterRouteStudentAssignPayload, updateMasterFixedSchedule, updateMasterRoute, updateRouteStop };