vms-nest-prisma-api-document 300.0.0 → 320.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 (180) hide show
  1. package/dist/services/account/analytics/user_login_analytics_service.d.ts +3 -3
  2. package/dist/services/account/analytics/user_page_analytics_service.d.ts +1 -1
  3. package/dist/services/account/bookmark_service.d.ts +11 -12
  4. package/dist/services/account/notification_preferences.service.d.ts +18 -19
  5. package/dist/services/account/report_preferences.service.d.ts +7 -8
  6. package/dist/services/account/ticket_service.d.ts +1 -2
  7. package/dist/services/fleet/bus_mangement/bus_stop.d.ts +1 -11
  8. package/dist/services/fleet/bus_mangement/bus_stop.js +3 -2
  9. package/dist/services/fleet/bus_mangement/calender.d.ts +1 -3
  10. package/dist/services/fleet/bus_mangement/calender.js +3 -2
  11. package/dist/services/fleet/bus_mangement/master_route.d.ts +4 -1047
  12. package/dist/services/fleet/bus_mangement/master_route.js +8 -7
  13. package/dist/services/fleet/bus_mangement/notice_board.d.ts +3 -3
  14. package/dist/services/fleet/bus_mangement/notice_board.js +3 -2
  15. package/dist/services/fleet/bus_mangement/student.d.ts +4 -1204
  16. package/dist/services/fleet/bus_mangement/student.js +19 -19
  17. package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.d.ts +5 -6
  18. package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.js +16 -15
  19. package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.d.ts +5 -467
  20. package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.js +13 -11
  21. package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +5 -395
  22. package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.js +13 -11
  23. package/dist/services/fleet/incident_management/incident_management_service.d.ts +1 -8
  24. package/dist/services/fleet/inspection_management/fleet_inspection_form_service.d.ts +1 -9
  25. package/dist/services/fleet/inspection_management/fleet_inspection_form_service.js +2 -1
  26. package/dist/services/fleet/inspection_management/fleet_inspection_management_service.d.ts +1 -9
  27. package/dist/services/fleet/inspection_management/fleet_inspection_management_service.js +15 -13
  28. package/dist/services/fleet/inspection_management/fleet_inspection_schedule_service.d.ts +5 -694
  29. package/dist/services/fleet/inspection_management/fleet_inspection_schedule_service.js +3 -2
  30. package/dist/services/fleet/issue_management/issue_management_service.d.ts +1 -8
  31. package/dist/services/fleet/issue_management/issue_management_service.js +17 -16
  32. package/dist/services/fleet/service_management/fleet_service_management_service.d.ts +1 -2
  33. package/dist/services/fleet/service_management/fleet_service_management_service.js +24 -23
  34. package/dist/services/fleet/service_management/fleet_service_schedule_service.d.ts +4 -163
  35. package/dist/services/fleet/service_management/fleet_service_schedule_service.js +2 -1
  36. package/dist/services/fleet/vendor_management/fleet_vendor_fuel_station.d.ts +1 -2
  37. package/dist/services/fleet/vendor_management/fleet_vendor_fuel_station.js +4 -3
  38. package/dist/services/fleet/vendor_management/fleet_vendor_service.d.ts +1 -2
  39. package/dist/services/fleet/vendor_management/fleet_vendor_service.js +18 -15
  40. package/dist/services/fleet/vendor_management/fleet_vendor_service_center.d.ts +1 -2
  41. package/dist/services/fleet/vendor_management/fleet_vendor_service_center.js +4 -3
  42. package/dist/services/gps/features/geofence/gps_geofence_service.d.ts +15 -16
  43. package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +1 -2
  44. package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +1 -2
  45. package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +1 -2
  46. package/dist/services/gps/features/gps_live_track_share_link_service.d.ts +5 -6
  47. package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +8 -9
  48. package/dist/services/gps/reports/gps_reports_mongo_service.d.ts +46 -46
  49. package/dist/services/main/devices/master_device_service.d.ts +1 -2
  50. package/dist/services/main/drivers/master_driver_service.d.ts +1 -2
  51. package/dist/services/main/sims/master_sim_service.d.ts +1 -2
  52. package/dist/services/main/users/auth_service.d.ts +1 -2
  53. package/dist/services/main/users/user_admin_service.d.ts +3 -4
  54. package/dist/services/main/users/user_organisation_service.d.ts +1 -2
  55. package/dist/services/main/users/user_service.d.ts +1 -2
  56. package/dist/services/main/vehicle/childs/vehicle_odometer_history.d.ts +1 -2
  57. package/dist/services/main/vehicle/master_vehicle_service.d.ts +1 -2
  58. package/dist/services/master/bus/master_class_service.d.ts +4 -130
  59. package/dist/services/master/bus/master_class_service.js +5 -3
  60. package/dist/services/master/bus/master_program_service.d.ts +4 -130
  61. package/dist/services/master/bus/master_program_service.js +5 -3
  62. package/dist/services/master/bus/master_relationship_service.d.ts +4 -130
  63. package/dist/services/master/bus/master_relationship_service.js +5 -3
  64. package/dist/services/master/bus/master_section_service.d.ts +4 -130
  65. package/dist/services/master/bus/master_section_service.js +5 -3
  66. package/dist/services/master/bus/master_semester_service.d.ts +4 -130
  67. package/dist/services/master/bus/master_semester_service.js +5 -3
  68. package/dist/services/master/bus/master_stream_service.d.ts +4 -130
  69. package/dist/services/master/bus/master_stream_service.js +5 -3
  70. package/dist/services/master/bus/master_year_service.d.ts +4 -130
  71. package/dist/services/master/bus/master_year_service.js +5 -3
  72. package/dist/services/master/device/master_device_manufacturer_service.d.ts +1 -2
  73. package/dist/services/master/device/master_device_manufacturer_service.js +5 -3
  74. package/dist/services/master/device/master_device_model_service.d.ts +1 -2
  75. package/dist/services/master/device/master_device_model_service.js +6 -4
  76. package/dist/services/master/device/master_device_type_service.d.ts +1 -2
  77. package/dist/services/master/device/master_device_type_service.js +8 -6
  78. package/dist/services/master/expense/master_expense_name_service.d.ts +4 -136
  79. package/dist/services/master/expense/master_expense_name_service.js +6 -4
  80. package/dist/services/master/expense/master_expense_type_service.d.ts +2 -3
  81. package/dist/services/master/expense/master_expense_type_service.js +5 -3
  82. package/dist/services/master/expense/master_fuel_company_service.d.ts +1 -2
  83. package/dist/services/master/expense/master_fuel_company_service.js +7 -5
  84. package/dist/services/master/expense/master_vendor_document_type_service.d.ts +1 -2
  85. package/dist/services/master/expense/master_vendor_document_type_service.js +6 -4
  86. package/dist/services/master/expense/master_vendor_tag_service.d.ts +1 -2
  87. package/dist/services/master/expense/master_vendor_tag_service.js +6 -4
  88. package/dist/services/master/expense/master_vendor_type_service.d.ts +1 -2
  89. package/dist/services/master/expense/master_vendor_type_service.js +6 -4
  90. package/dist/services/master/fleet/master_fleet_incident_severity_service.d.ts +4 -128
  91. package/dist/services/master/fleet/master_fleet_incident_severity_service.js +5 -3
  92. package/dist/services/master/fleet/master_fleet_incident_status_service.d.ts +4 -128
  93. package/dist/services/master/fleet/master_fleet_incident_status_service.js +5 -3
  94. package/dist/services/master/fleet/master_fleet_incident_type_service.d.ts +4 -128
  95. package/dist/services/master/fleet/master_fleet_incident_type_service.js +5 -3
  96. package/dist/services/master/fleet/master_fleet_insurance_claim_status_service.d.ts +4 -128
  97. package/dist/services/master/fleet/master_fleet_insurance_claim_status_service.js +5 -3
  98. package/dist/services/master/fleet/master_fleet_service_task_service.d.ts +1 -2
  99. package/dist/services/master/fleet/master_fleet_service_task_service.js +5 -3
  100. package/dist/services/master/main/master_main_country_service.d.ts +1 -2
  101. package/dist/services/master/main/master_main_country_service.js +6 -4
  102. package/dist/services/master/main/master_main_currency_service.d.ts +1 -2
  103. package/dist/services/master/main/master_main_currency_service.js +7 -5
  104. package/dist/services/master/main/master_main_date_format_service.d.ts +1 -2
  105. package/dist/services/master/main/master_main_date_format_service.js +5 -3
  106. package/dist/services/master/main/master_main_eway_bill_provider_service.d.ts +5 -2
  107. package/dist/services/master/main/master_main_eway_bill_provider_service.js +5 -3
  108. package/dist/services/master/main/master_main_fasttag_bank_service.d.ts +5 -2
  109. package/dist/services/master/main/master_main_fasttag_bank_service.js +5 -3
  110. package/dist/services/master/main/master_main_industry_service.d.ts +1 -2
  111. package/dist/services/master/main/master_main_industry_service.js +5 -3
  112. package/dist/services/master/main/master_main_landmark_service.d.ts +1 -2
  113. package/dist/services/master/main/master_main_landmark_service.js +13 -15
  114. package/dist/services/master/main/master_main_language_service.d.ts +1 -2
  115. package/dist/services/master/main/master_main_language_service.js +5 -3
  116. package/dist/services/master/main/master_main_sim_provider_service.d.ts +5 -116
  117. package/dist/services/master/main/master_main_sim_provider_service.js +5 -3
  118. package/dist/services/master/main/master_main_state_service.d.ts +1 -2
  119. package/dist/services/master/main/master_main_state_service.js +6 -4
  120. package/dist/services/master/main/master_main_timezone_service.d.ts +1 -2
  121. package/dist/services/master/main/master_main_timezone_service.js +9 -7
  122. package/dist/services/master/main/master_main_unit_distance_service.d.ts +3 -4
  123. package/dist/services/master/main/master_main_unit_distance_service.js +5 -3
  124. package/dist/services/master/main/master_main_unit_mileage_service.d.ts +1 -2
  125. package/dist/services/master/main/master_main_unit_mileage_service.js +5 -3
  126. package/dist/services/master/main/master_main_unit_volume_service.d.ts +1 -2
  127. package/dist/services/master/main/master_main_unit_volume_service.js +5 -3
  128. package/dist/services/master/organisation/organisation_branch_service.d.ts +1 -2
  129. package/dist/services/master/organisation/organisation_branch_service.js +1 -1
  130. package/dist/services/master/organisation/organisation_color_service.d.ts +1 -2
  131. package/dist/services/master/organisation/organisation_color_service.js +6 -4
  132. package/dist/services/master/organisation/organisation_group_service.d.ts +1 -2
  133. package/dist/services/master/organisation/organisation_group_service.js +2 -0
  134. package/dist/services/master/organisation/organisation_sub_company_service.d.ts +1 -2
  135. package/dist/services/master/organisation/organisation_sub_company_service.js +6 -4
  136. package/dist/services/master/organisation/organisation_tag_service.d.ts +1 -2
  137. package/dist/services/master/organisation/organisation_tag_service.js +5 -3
  138. package/dist/services/master/spare_part/master_spare_part_category_service.d.ts +1 -2
  139. package/dist/services/master/spare_part/master_spare_part_category_service.js +6 -4
  140. package/dist/services/master/spare_part/master_spare_part_sub_category_service.d.ts +7 -8
  141. package/dist/services/master/spare_part/master_spare_part_sub_category_service.js +7 -5
  142. package/dist/services/master/spare_part/master_spare_part_unit_service.d.ts +3 -4
  143. package/dist/services/master/spare_part/master_spare_part_unit_service.js +6 -4
  144. package/dist/services/master/trip/master_trip_party_type_service.d.ts +3 -4
  145. package/dist/services/master/trip/master_trip_party_type_service.js +5 -3
  146. package/dist/services/master/tyre/master_tyre_grade_service.d.ts +5 -6
  147. package/dist/services/master/tyre/master_tyre_grade_service.js +5 -3
  148. package/dist/services/master/tyre/master_tyre_make_service.d.ts +1 -2
  149. package/dist/services/master/tyre/master_tyre_make_service.js +5 -3
  150. package/dist/services/master/tyre/master_tyre_model_service.d.ts +9 -10
  151. package/dist/services/master/tyre/master_tyre_model_service.js +6 -4
  152. package/dist/services/master/user/master_user_role_service.d.ts +1 -2
  153. package/dist/services/master/user/master_user_role_service.js +5 -3
  154. package/dist/services/master/user/master_user_status_service.d.ts +1 -2
  155. package/dist/services/master/user/master_user_status_service.js +5 -3
  156. package/dist/services/master/vehicle/master_vehicle_associated_to_service.d.ts +1 -2
  157. package/dist/services/master/vehicle/master_vehicle_associated_to_service.js +5 -3
  158. package/dist/services/master/vehicle/master_vehicle_document_type_service.d.ts +1 -2
  159. package/dist/services/master/vehicle/master_vehicle_document_type_service.js +5 -3
  160. package/dist/services/master/vehicle/master_vehicle_fuel_removal_reason_service.d.ts +4 -130
  161. package/dist/services/master/vehicle/master_vehicle_fuel_removal_reason_service.js +5 -3
  162. package/dist/services/master/vehicle/master_vehicle_fuel_type_service.d.ts +1 -2
  163. package/dist/services/master/vehicle/master_vehicle_fuel_type_service.js +5 -3
  164. package/dist/services/master/vehicle/master_vehicle_fuel_unit_service.d.ts +1 -2
  165. package/dist/services/master/vehicle/master_vehicle_fuel_unit_service.js +5 -3
  166. package/dist/services/master/vehicle/master_vehicle_make_service.d.ts +1 -2
  167. package/dist/services/master/vehicle/master_vehicle_make_service.js +5 -3
  168. package/dist/services/master/vehicle/master_vehicle_model_service.d.ts +1 -2
  169. package/dist/services/master/vehicle/master_vehicle_model_service.js +6 -4
  170. package/dist/services/master/vehicle/master_vehicle_ownership_type_service.d.ts +1 -2
  171. package/dist/services/master/vehicle/master_vehicle_ownership_type_service.js +5 -3
  172. package/dist/services/master/vehicle/master_vehicle_status_type_service.d.ts +1 -2
  173. package/dist/services/master/vehicle/master_vehicle_status_type_service.js +5 -3
  174. package/dist/services/master/vehicle/master_vehicle_sub_model_service.d.ts +1 -2
  175. package/dist/services/master/vehicle/master_vehicle_sub_model_service.js +6 -4
  176. package/dist/services/master/vehicle/master_vehicle_type_service.d.ts +1 -2
  177. package/dist/services/master/vehicle/master_vehicle_type_service.js +5 -3
  178. package/dist/{user_organisation_service-B2f6Wfhh.d.ts → user_organisation_service-Cbc_ZtO4.d.ts} +12265 -5291
  179. package/package.json +1 -1
  180. package/dist/issue_management_service-c-CppH3O.d.ts +0 -1290
@@ -1,1048 +1,5 @@
1
- import { BusLeg, Status, YesNo, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, BusStopType, GeofenceType } 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-B2f6Wfhh.js';
5
- import { Student } from './student.js';
1
+ import '../../../core/Enums.js';
2
+ import '../../../core/BaseResponse.js';
3
+ import 'zod';
4
+ export { fB as MasterFixedSchedule, fI as MasterFixedScheduleDTO, fK as MasterFixedScheduleQueryDTO, fJ as MasterFixedScheduleQuerySchema, fH as MasterFixedScheduleSchema, fz as MasterRoute, fE as MasterRouteDTO, fG as MasterRouteQueryDTO, fF as MasterRouteQuerySchema, fD as MasterRouteSchema, fA as MasterRouteStop, fQ as MasterRouteStopCreateDTO, fP as MasterRouteStopCreateSchema, fM as MasterRouteStopDTO, fV as MasterRouteStopDeleteAllSchema, fW as MasterRouteStopDeleteDTO, fY as MasterRouteStopDeleteReOrderDTO, fX as MasterRouteStopDeleteSchema, fR as MasterRouteStopIds, fS as MasterRouteStopIdsDTO, fU as MasterRouteStopReorderDTO, fT as MasterRouteStopReorderSchema, fL as MasterRouteStopSchema, fO as MasterRouteStopUpdateDTO, fN as MasterRouteStopUpdateSchema, fC as MasterRouteStudent, g2 as MasterRouteStudentAssignRemoveDTO, g1 as MasterRouteStudentAssignRemoveSchema, g6 as MasterRouteStudentScheduleAssignRemoveDTO, g5 as MasterRouteStudentScheduleAssignRemoveSchema, g4 as MasterRouteStudentStopAssignRemoveDTO, g3 as MasterRouteStudentStopAssignRemoveSchema, g0 as StudentNoScheduleQueryDTO, f$ as StudentNoScheduleQuerySchema, f_ as StudentNoStopQueryDTO, fZ as StudentNoStopQuerySchema, gp as appendRouteStop, gH as assignMasterRouteStudentScheduleToStudentDrop, gG as assignMasterRouteStudentScheduleToStudentsPickup, gD as assignMasterRouteStudentStopToStudentsDrop, gC as assignMasterRouteStudentStopToStudentsPickup, gz as assignRouteStudentsDrop, gy as assignRouteStudentsPickup, gl as createMasterFixedSchedule, gh as createMasterRoute, go as createStopsFirstTimeRoute, gn as deleteMasterFixedSchedule, gj as deleteMasterRoute, gt as deleteRouteStopReorder, gs as deleteRouteStopsAll, gk as findMasterFixedSchedule, gg as findMasterRoute, gx as findStudentsWithNoScheduleDrop, gw as findStudentsWithNoSchedulePickup, gv as findStudentsWithNoStopDrop, gu as findStudentsWithNoStopPickup, ga as newMasterFixedSchedulePayload, g8 as newMasterRoutePayload, gc as newMasterRouteStopPayload, gf as newMasterRouteStudentAssignPayload, gJ as removeMasterRouteStudentScheduleToStudentDrop, gI as removeMasterRouteStudentScheduleToStudentPickup, gF as removeMasterRouteStudentStopToStudentsDrop, gE as removeMasterRouteStudentStopToStudentsPickup, gB as removeRouteStudentsDrop, gA as removeRouteStudentsPickup, gr as reorderRouteStops, g9 as toMasterFixedSchedulePayload, g7 as toMasterRoutePayload, gb as toMasterRouteStopPayload, gd as toMasterRouteStopReorderPayload, ge as toMasterRouteStudentAssignPayload, gm as updateMasterFixedSchedule, gi as updateMasterRoute, gq as updateRouteStop } from '../../../user_organisation_service-Cbc_ZtO4.js';
6
5
  import '../../../zod_utils/zod_base_schema.js';
7
- import '../../master/main/master_main_sim_provider_service.js';
8
- import '../../master/bus/master_class_service.js';
9
- import '../../master/bus/master_program_service.js';
10
- import '../../master/bus/master_section_service.js';
11
- import '../../master/bus/master_semester_service.js';
12
- import '../../master/bus/master_stream_service.js';
13
- import '../../master/bus/master_year_service.js';
14
- import '../../master/bus/master_relationship_service.js';
15
-
16
- interface MasterRoute extends Record<string, unknown> {
17
- route_id: string;
18
- route_name: string;
19
- route_code?: string;
20
- route_notes?: string;
21
- route_status: Status;
22
- pickup_journey_time_in_seconds?: number;
23
- drop_journey_time_in_seconds?: number;
24
- pickup_start_stop_id?: string;
25
- pickup_end_stop_id?: string;
26
- drop_start_stop_id?: string;
27
- drop_end_stop_id?: string;
28
- status: Status;
29
- added_date_time?: string;
30
- modified_date_time?: string;
31
- organisation_id: string;
32
- UserOrganisation?: UserOrganisation;
33
- organisation_branch_id: string;
34
- OrganisationBranch?: OrganisationBranch;
35
- Pickup_Start_BusStop?: BusStop;
36
- Pickup_End_BusStop?: BusStop;
37
- Drop_Start_BusStop?: BusStop;
38
- Drop_End_BusStop?: BusStop;
39
- _count?: {
40
- MasterRouteStop?: number;
41
- MasterFixedSchedule?: number;
42
- MasterRouteStudent?: number;
43
- };
44
- }
45
- interface MasterRouteStop extends Record<string, unknown> {
46
- route_stop_id: string;
47
- leg: BusLeg;
48
- order_no: number;
49
- stop_duration_seconds: number;
50
- travel_seconds_to_next_stop: number;
51
- stop_name?: string;
52
- status: Status;
53
- added_date_time?: string;
54
- modified_date_time?: string;
55
- organisation_id: string;
56
- organisation_branch_id: string;
57
- route_id: string;
58
- bus_stop_id?: string;
59
- BusStop?: BusStop;
60
- }
61
- interface MasterFixedSchedule extends Record<string, unknown> {
62
- fixed_schedule_id: string;
63
- schedule_name: string;
64
- schedule_status: Status;
65
- is_stops_finalized: YesNo;
66
- schedule_type: BusLeg;
67
- start_hour?: number;
68
- start_minute?: number;
69
- end_hour?: number;
70
- end_minute?: number;
71
- schedule_plan_start_date?: string;
72
- schedule_plan_end_date?: string;
73
- sunday: YesNo;
74
- monday: YesNo;
75
- tuesday: YesNo;
76
- wednesday: YesNo;
77
- thursday: YesNo;
78
- friday: YesNo;
79
- saturday: YesNo;
80
- status: Status;
81
- added_date_time?: string;
82
- modified_date_time?: string;
83
- organisation_id: string;
84
- organisation_branch_id: string;
85
- route_id: string;
86
- vehicle_id?: string;
87
- driver_id?: string;
88
- attendant_id?: string;
89
- MasterVehicle?: MasterVehicle;
90
- MasterDriver?: MasterDriver;
91
- }
92
- interface MasterRouteStudent extends Record<string, unknown> {
93
- route_student_id: string;
94
- leg: BusLeg | string;
95
- status: Status;
96
- added_date_time?: string;
97
- modified_date_time?: string;
98
- organisation_id?: string;
99
- organisation_branch_id?: string;
100
- route_id?: string;
101
- student_id?: string;
102
- route_stop_id?: string;
103
- fixed_schedule_id?: string;
104
- Student?: Student;
105
- MasterRouteStop?: MasterRouteStop;
106
- MasterFixedSchedule?: MasterFixedSchedule;
107
- }
108
- declare const MasterRouteSchema: z.ZodObject<{
109
- organisation_id: z.ZodEffects<z.ZodString, string, string>;
110
- organisation_branch_id: z.ZodEffects<z.ZodString, string, string>;
111
- pickup_start_stop_id: z.ZodEffects<z.ZodString, string, string>;
112
- pickup_end_stop_id: z.ZodEffects<z.ZodString, string, string>;
113
- drop_start_stop_id: z.ZodEffects<z.ZodString, string, string>;
114
- drop_end_stop_id: z.ZodEffects<z.ZodString, string, string>;
115
- route_name: z.ZodEffects<z.ZodString, string, string>;
116
- route_code: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
117
- route_notes: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
118
- route_status: z.ZodType<Status, z.ZodTypeDef, Status>;
119
- pickup_journey_time_in_seconds: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
120
- drop_journey_time_in_seconds: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
121
- status: z.ZodType<Status, z.ZodTypeDef, Status>;
122
- }, "strip", z.ZodTypeAny, {
123
- status: Status;
124
- organisation_id: string;
125
- organisation_branch_id: string;
126
- route_name: string;
127
- route_code: string;
128
- route_notes: string;
129
- route_status: Status;
130
- pickup_journey_time_in_seconds: number;
131
- drop_journey_time_in_seconds: number;
132
- pickup_start_stop_id: string;
133
- pickup_end_stop_id: string;
134
- drop_start_stop_id: string;
135
- drop_end_stop_id: string;
136
- }, {
137
- status: Status;
138
- organisation_id: string;
139
- organisation_branch_id: string;
140
- route_name: string;
141
- route_status: Status;
142
- pickup_start_stop_id: string;
143
- pickup_end_stop_id: string;
144
- drop_start_stop_id: string;
145
- drop_end_stop_id: string;
146
- route_code?: string | undefined;
147
- route_notes?: string | undefined;
148
- pickup_journey_time_in_seconds?: unknown;
149
- drop_journey_time_in_seconds?: unknown;
150
- }>;
151
- type MasterRouteDTO = z.infer<typeof MasterRouteSchema>;
152
- declare const MasterRouteQuerySchema: z.ZodObject<{
153
- search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
154
- status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
155
- paging: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof PAGING>>>;
156
- page_count: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
157
- page_index: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
158
- load_parents: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadParents>>>;
159
- load_parents_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
160
- load_child: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChild>>>;
161
- load_child_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
162
- load_child_count: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChildCount>>>;
163
- load_child_count_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
164
- include_details: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
165
- where_relations: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
166
- order_by: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
167
- name: z.ZodEffects<z.ZodString, string, string>;
168
- field: z.ZodEffects<z.ZodString, string, string>;
169
- direction: z.ZodType<OrderBy, z.ZodTypeDef, OrderBy>;
170
- }, "strip", z.ZodTypeAny, {
171
- name: string;
172
- field: string;
173
- direction: OrderBy;
174
- }, {
175
- name: string;
176
- field: string;
177
- direction: OrderBy;
178
- }>, "many">>>;
179
- include_master_data: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
180
- date_format_id: z.ZodEffects<z.ZodString, string, string>;
181
- time_zone_id: z.ZodEffects<z.ZodString, string, string>;
182
- } & {
183
- organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
184
- organisation_branch_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
185
- route_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
186
- route_status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
187
- }, "strip", z.ZodTypeAny, {
188
- status: Status[];
189
- time_zone_id: string;
190
- search: string;
191
- paging: PAGING;
192
- page_count: number;
193
- page_index: number;
194
- load_parents: LoadParents;
195
- load_parents_list: string[];
196
- load_child: LoadChild;
197
- load_child_list: string[];
198
- load_child_count: LoadChildCount;
199
- load_child_count_list: string[];
200
- include_details: Record<string, any>;
201
- where_relations: Record<string, any>;
202
- order_by: {
203
- name: string;
204
- field: string;
205
- direction: OrderBy;
206
- }[];
207
- include_master_data: YesNo;
208
- date_format_id: string;
209
- organisation_ids: string[];
210
- organisation_branch_ids: string[];
211
- route_status: Status[];
212
- route_ids: string[];
213
- }, {
214
- time_zone_id: string;
215
- date_format_id: string;
216
- status?: Status[] | undefined;
217
- search?: string | undefined;
218
- paging?: PAGING | undefined;
219
- page_count?: unknown;
220
- page_index?: unknown;
221
- load_parents?: LoadParents | undefined;
222
- load_parents_list?: string[] | undefined;
223
- load_child?: LoadChild | undefined;
224
- load_child_list?: string[] | undefined;
225
- load_child_count?: LoadChildCount | undefined;
226
- load_child_count_list?: string[] | undefined;
227
- include_details?: Record<string, any> | undefined;
228
- where_relations?: Record<string, any> | undefined;
229
- order_by?: {
230
- name: string;
231
- field: string;
232
- direction: OrderBy;
233
- }[] | undefined;
234
- include_master_data?: YesNo | undefined;
235
- organisation_ids?: string[] | undefined;
236
- organisation_branch_ids?: string[] | undefined;
237
- route_status?: Status[] | undefined;
238
- route_ids?: string[] | undefined;
239
- }>;
240
- type MasterRouteQueryDTO = z.infer<typeof MasterRouteQuerySchema>;
241
- declare const MasterFixedScheduleSchema: z.ZodObject<{
242
- organisation_id: z.ZodEffects<z.ZodString, string, string>;
243
- organisation_branch_id: z.ZodEffects<z.ZodString, string, string>;
244
- route_id: z.ZodEffects<z.ZodString, string, string>;
245
- vehicle_id: z.ZodEffects<z.ZodString, string, string>;
246
- driver_id: z.ZodEffects<z.ZodString, string, string>;
247
- attendant_id: z.ZodEffects<z.ZodString, string, string>;
248
- schedule_name: z.ZodEffects<z.ZodString, string, string>;
249
- schedule_status: z.ZodType<Status, z.ZodTypeDef, Status>;
250
- is_stops_finalized: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
251
- schedule_type: z.ZodType<BusLeg, z.ZodTypeDef, BusLeg>;
252
- start_hour: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
253
- start_minute: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
254
- end_hour: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
255
- end_minute: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
256
- schedule_plan_start_date: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
257
- schedule_plan_end_date: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
258
- sunday: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
259
- monday: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
260
- tuesday: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
261
- wednesday: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
262
- thursday: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
263
- friday: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
264
- saturday: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
265
- status: z.ZodType<Status, z.ZodTypeDef, Status>;
266
- time_zone_id: z.ZodEffects<z.ZodString, string, string>;
267
- }, "strip", z.ZodTypeAny, {
268
- status: Status;
269
- organisation_id: string;
270
- organisation_branch_id: string;
271
- time_zone_id: string;
272
- driver_id: string;
273
- vehicle_id: string;
274
- route_id: string;
275
- schedule_name: string;
276
- schedule_status: Status;
277
- is_stops_finalized: YesNo;
278
- schedule_type: BusLeg;
279
- start_hour: number;
280
- start_minute: number;
281
- end_hour: number;
282
- end_minute: number;
283
- schedule_plan_start_date: string;
284
- schedule_plan_end_date: string;
285
- sunday: YesNo;
286
- monday: YesNo;
287
- tuesday: YesNo;
288
- wednesday: YesNo;
289
- thursday: YesNo;
290
- friday: YesNo;
291
- saturday: YesNo;
292
- attendant_id: string;
293
- }, {
294
- status: Status;
295
- organisation_id: string;
296
- organisation_branch_id: string;
297
- time_zone_id: string;
298
- driver_id: string;
299
- vehicle_id: string;
300
- route_id: string;
301
- schedule_name: string;
302
- schedule_status: Status;
303
- is_stops_finalized: YesNo;
304
- schedule_type: BusLeg;
305
- sunday: YesNo;
306
- monday: YesNo;
307
- tuesday: YesNo;
308
- wednesday: YesNo;
309
- thursday: YesNo;
310
- friday: YesNo;
311
- saturday: YesNo;
312
- attendant_id: string;
313
- start_hour?: unknown;
314
- start_minute?: unknown;
315
- end_hour?: unknown;
316
- end_minute?: unknown;
317
- schedule_plan_start_date?: string | undefined;
318
- schedule_plan_end_date?: string | undefined;
319
- }>;
320
- type MasterFixedScheduleDTO = z.infer<typeof MasterFixedScheduleSchema>;
321
- declare const MasterFixedScheduleQuerySchema: z.ZodObject<{
322
- search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
323
- status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
324
- paging: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof PAGING>>>;
325
- page_count: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
326
- page_index: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
327
- load_parents: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadParents>>>;
328
- load_parents_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
329
- load_child: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChild>>>;
330
- load_child_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
331
- load_child_count: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChildCount>>>;
332
- load_child_count_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
333
- include_details: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
334
- where_relations: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
335
- order_by: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
336
- name: z.ZodEffects<z.ZodString, string, string>;
337
- field: z.ZodEffects<z.ZodString, string, string>;
338
- direction: z.ZodType<OrderBy, z.ZodTypeDef, OrderBy>;
339
- }, "strip", z.ZodTypeAny, {
340
- name: string;
341
- field: string;
342
- direction: OrderBy;
343
- }, {
344
- name: string;
345
- field: string;
346
- direction: OrderBy;
347
- }>, "many">>>;
348
- include_master_data: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
349
- date_format_id: z.ZodEffects<z.ZodString, string, string>;
350
- time_zone_id: z.ZodEffects<z.ZodString, string, string>;
351
- } & {
352
- organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
353
- organisation_branch_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
354
- route_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
355
- vehicle_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
356
- driver_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
357
- attendant_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
358
- fixed_schedule_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
359
- schedule_status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
360
- is_stops_finalized: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof YesNo>, "many">>>;
361
- schedule_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof BusLeg>, "many">>>;
362
- }, "strip", z.ZodTypeAny, {
363
- status: Status[];
364
- time_zone_id: string;
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
- organisation_ids: string[];
385
- organisation_branch_ids: string[];
386
- vehicle_ids: string[];
387
- driver_ids: string[];
388
- schedule_status: Status[];
389
- is_stops_finalized: YesNo[];
390
- schedule_type: BusLeg[];
391
- route_ids: string[];
392
- attendant_ids: string[];
393
- fixed_schedule_ids: string[];
394
- }, {
395
- time_zone_id: string;
396
- date_format_id: string;
397
- status?: Status[] | undefined;
398
- search?: string | undefined;
399
- paging?: PAGING | undefined;
400
- page_count?: unknown;
401
- page_index?: unknown;
402
- load_parents?: LoadParents | undefined;
403
- load_parents_list?: string[] | undefined;
404
- load_child?: LoadChild | undefined;
405
- load_child_list?: string[] | undefined;
406
- load_child_count?: LoadChildCount | undefined;
407
- load_child_count_list?: string[] | undefined;
408
- include_details?: Record<string, any> | undefined;
409
- where_relations?: Record<string, any> | undefined;
410
- order_by?: {
411
- name: string;
412
- field: string;
413
- direction: OrderBy;
414
- }[] | undefined;
415
- include_master_data?: YesNo | undefined;
416
- organisation_ids?: string[] | undefined;
417
- organisation_branch_ids?: string[] | undefined;
418
- vehicle_ids?: string[] | undefined;
419
- driver_ids?: string[] | undefined;
420
- schedule_status?: Status[] | undefined;
421
- is_stops_finalized?: YesNo[] | undefined;
422
- schedule_type?: BusLeg[] | undefined;
423
- route_ids?: string[] | undefined;
424
- attendant_ids?: string[] | undefined;
425
- fixed_schedule_ids?: string[] | undefined;
426
- }>;
427
- type MasterFixedScheduleQueryDTO = z.infer<typeof MasterFixedScheduleQuerySchema>;
428
- declare const MasterRouteStopSchema: z.ZodObject<{
429
- order_no: z.ZodEffects<z.ZodNumber, number, unknown>;
430
- stop_duration_seconds: z.ZodEffects<z.ZodNumber, number, unknown>;
431
- travel_seconds_to_next_stop: z.ZodEffects<z.ZodNumber, number, unknown>;
432
- bus_stop_id: z.ZodEffects<z.ZodString, string, string>;
433
- }, "strip", z.ZodTypeAny, {
434
- bus_stop_id: string;
435
- order_no: number;
436
- stop_duration_seconds: number;
437
- travel_seconds_to_next_stop: number;
438
- }, {
439
- bus_stop_id: string;
440
- order_no?: unknown;
441
- stop_duration_seconds?: unknown;
442
- travel_seconds_to_next_stop?: unknown;
443
- }>;
444
- type MasterRouteStopDTO = z.infer<typeof MasterRouteStopSchema>;
445
- declare const MasterRouteStopUpdateSchema: z.ZodObject<{
446
- stop_duration_seconds: z.ZodEffects<z.ZodNumber, number, unknown>;
447
- travel_seconds_to_next_stop: z.ZodEffects<z.ZodNumber, number, unknown>;
448
- bus_stop_id: z.ZodEffects<z.ZodString, string, string>;
449
- }, "strip", z.ZodTypeAny, {
450
- bus_stop_id: string;
451
- stop_duration_seconds: number;
452
- travel_seconds_to_next_stop: number;
453
- }, {
454
- bus_stop_id: string;
455
- stop_duration_seconds?: unknown;
456
- travel_seconds_to_next_stop?: unknown;
457
- }>;
458
- type MasterRouteStopUpdateDTO = z.infer<typeof MasterRouteStopUpdateSchema>;
459
- declare const MasterRouteStopCreateSchema: z.ZodObject<{
460
- organisation_id: z.ZodEffects<z.ZodString, string, string>;
461
- organisation_branch_id: z.ZodEffects<z.ZodString, string, string>;
462
- route_id: z.ZodEffects<z.ZodString, string, string>;
463
- leg: z.ZodType<BusLeg, z.ZodTypeDef, BusLeg>;
464
- status: z.ZodType<Status, z.ZodTypeDef, Status>;
465
- MasterRouteStop: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
466
- order_no: z.ZodEffects<z.ZodNumber, number, unknown>;
467
- stop_duration_seconds: z.ZodEffects<z.ZodNumber, number, unknown>;
468
- travel_seconds_to_next_stop: z.ZodEffects<z.ZodNumber, number, unknown>;
469
- bus_stop_id: z.ZodEffects<z.ZodString, string, string>;
470
- }, z.UnknownKeysParam, z.ZodTypeAny, {
471
- bus_stop_id: string;
472
- order_no: number;
473
- stop_duration_seconds: number;
474
- travel_seconds_to_next_stop: number;
475
- }, {
476
- bus_stop_id: string;
477
- order_no?: unknown;
478
- stop_duration_seconds?: unknown;
479
- travel_seconds_to_next_stop?: unknown;
480
- }>, "many">>>;
481
- }, "strip", z.ZodTypeAny, {
482
- status: Status;
483
- organisation_id: string;
484
- organisation_branch_id: string;
485
- MasterRouteStop: {
486
- bus_stop_id: string;
487
- order_no: number;
488
- stop_duration_seconds: number;
489
- travel_seconds_to_next_stop: number;
490
- }[];
491
- route_id: string;
492
- leg: BusLeg;
493
- }, {
494
- status: Status;
495
- organisation_id: string;
496
- organisation_branch_id: string;
497
- route_id: string;
498
- leg: BusLeg;
499
- MasterRouteStop?: {
500
- bus_stop_id: string;
501
- order_no?: unknown;
502
- stop_duration_seconds?: unknown;
503
- travel_seconds_to_next_stop?: unknown;
504
- }[] | undefined;
505
- }>;
506
- type MasterRouteStopCreateDTO = z.infer<typeof MasterRouteStopCreateSchema>;
507
- declare const MasterRouteStopIds: z.ZodObject<{
508
- route_stop_id: z.ZodEffects<z.ZodString, string, string>;
509
- }, "strip", z.ZodTypeAny, {
510
- route_stop_id: string;
511
- }, {
512
- route_stop_id: string;
513
- }>;
514
- type MasterRouteStopIdsDTO = z.infer<typeof MasterRouteStopIds>;
515
- declare const MasterRouteStopReorderSchema: z.ZodObject<{
516
- route_id: z.ZodEffects<z.ZodString, string, string>;
517
- leg: z.ZodType<BusLeg, z.ZodTypeDef, BusLeg>;
518
- MasterRouteStopIds: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
519
- route_stop_id: z.ZodEffects<z.ZodString, string, string>;
520
- }, z.UnknownKeysParam, z.ZodTypeAny, {
521
- route_stop_id: string;
522
- }, {
523
- route_stop_id: string;
524
- }>, "many">>>;
525
- }, "strip", z.ZodTypeAny, {
526
- route_id: string;
527
- leg: BusLeg;
528
- MasterRouteStopIds: {
529
- route_stop_id: string;
530
- }[];
531
- }, {
532
- route_id: string;
533
- leg: BusLeg;
534
- MasterRouteStopIds?: {
535
- route_stop_id: string;
536
- }[] | undefined;
537
- }>;
538
- type MasterRouteStopReorderDTO = z.infer<typeof MasterRouteStopReorderSchema>;
539
- declare const MasterRouteStopDeleteAllSchema: z.ZodObject<{
540
- route_id: z.ZodEffects<z.ZodString, string, string>;
541
- leg: z.ZodType<BusLeg, z.ZodTypeDef, BusLeg>;
542
- }, "strip", z.ZodTypeAny, {
543
- route_id: string;
544
- leg: BusLeg;
545
- }, {
546
- route_id: string;
547
- leg: BusLeg;
548
- }>;
549
- type MasterRouteStopDeleteDTO = z.infer<typeof MasterRouteStopDeleteAllSchema>;
550
- declare const MasterRouteStopDeleteSchema: z.ZodObject<{
551
- route_id: z.ZodEffects<z.ZodString, string, string>;
552
- bus_stop_id: z.ZodEffects<z.ZodString, string, string>;
553
- leg: z.ZodType<BusLeg, z.ZodTypeDef, BusLeg>;
554
- }, "strip", z.ZodTypeAny, {
555
- bus_stop_id: string;
556
- route_id: string;
557
- leg: BusLeg;
558
- }, {
559
- bus_stop_id: string;
560
- route_id: string;
561
- leg: BusLeg;
562
- }>;
563
- type MasterRouteStopDeleteReOrderDTO = z.infer<typeof MasterRouteStopDeleteSchema>;
564
- declare const StudentNoStopQuerySchema: z.ZodObject<{
565
- search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
566
- status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
567
- paging: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof PAGING>>>;
568
- page_count: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
569
- page_index: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
570
- load_parents: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadParents>>>;
571
- load_parents_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
572
- load_child: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChild>>>;
573
- load_child_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
574
- load_child_count: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChildCount>>>;
575
- load_child_count_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
576
- include_details: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
577
- where_relations: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
578
- order_by: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
579
- name: z.ZodEffects<z.ZodString, string, string>;
580
- field: z.ZodEffects<z.ZodString, string, string>;
581
- direction: z.ZodType<OrderBy, z.ZodTypeDef, OrderBy>;
582
- }, "strip", z.ZodTypeAny, {
583
- name: string;
584
- field: string;
585
- direction: OrderBy;
586
- }, {
587
- name: string;
588
- field: string;
589
- direction: OrderBy;
590
- }>, "many">>>;
591
- include_master_data: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
592
- date_format_id: z.ZodEffects<z.ZodString, string, string>;
593
- time_zone_id: z.ZodEffects<z.ZodString, string, string>;
594
- } & {
595
- route_id: z.ZodEffects<z.ZodString, string, string>;
596
- }, "strip", z.ZodTypeAny, {
597
- status: Status[];
598
- time_zone_id: string;
599
- search: string;
600
- paging: PAGING;
601
- page_count: number;
602
- page_index: number;
603
- load_parents: LoadParents;
604
- load_parents_list: string[];
605
- load_child: LoadChild;
606
- load_child_list: string[];
607
- load_child_count: LoadChildCount;
608
- load_child_count_list: string[];
609
- include_details: Record<string, any>;
610
- where_relations: Record<string, any>;
611
- order_by: {
612
- name: string;
613
- field: string;
614
- direction: OrderBy;
615
- }[];
616
- include_master_data: YesNo;
617
- date_format_id: string;
618
- route_id: string;
619
- }, {
620
- time_zone_id: string;
621
- date_format_id: string;
622
- route_id: string;
623
- status?: Status[] | undefined;
624
- search?: string | undefined;
625
- paging?: PAGING | undefined;
626
- page_count?: unknown;
627
- page_index?: unknown;
628
- load_parents?: LoadParents | undefined;
629
- load_parents_list?: string[] | undefined;
630
- load_child?: LoadChild | undefined;
631
- load_child_list?: string[] | undefined;
632
- load_child_count?: LoadChildCount | undefined;
633
- load_child_count_list?: string[] | undefined;
634
- include_details?: Record<string, any> | undefined;
635
- where_relations?: Record<string, any> | undefined;
636
- order_by?: {
637
- name: string;
638
- field: string;
639
- direction: OrderBy;
640
- }[] | undefined;
641
- include_master_data?: YesNo | undefined;
642
- }>;
643
- type StudentNoStopQueryDTO = z.infer<typeof StudentNoStopQuerySchema>;
644
- declare const StudentNoScheduleQuerySchema: z.ZodObject<{
645
- search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
646
- status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
647
- paging: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof PAGING>>>;
648
- page_count: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
649
- page_index: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
650
- load_parents: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadParents>>>;
651
- load_parents_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
652
- load_child: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChild>>>;
653
- load_child_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
654
- load_child_count: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChildCount>>>;
655
- load_child_count_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
656
- include_details: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
657
- where_relations: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
658
- order_by: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
659
- name: z.ZodEffects<z.ZodString, string, string>;
660
- field: z.ZodEffects<z.ZodString, string, string>;
661
- direction: z.ZodType<OrderBy, z.ZodTypeDef, OrderBy>;
662
- }, "strip", z.ZodTypeAny, {
663
- name: string;
664
- field: string;
665
- direction: OrderBy;
666
- }, {
667
- name: string;
668
- field: string;
669
- direction: OrderBy;
670
- }>, "many">>>;
671
- include_master_data: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
672
- date_format_id: z.ZodEffects<z.ZodString, string, string>;
673
- time_zone_id: z.ZodEffects<z.ZodString, string, string>;
674
- } & {
675
- route_id: z.ZodEffects<z.ZodString, string, string>;
676
- }, "strip", z.ZodTypeAny, {
677
- status: Status[];
678
- time_zone_id: string;
679
- search: string;
680
- paging: PAGING;
681
- page_count: number;
682
- page_index: number;
683
- load_parents: LoadParents;
684
- load_parents_list: string[];
685
- load_child: LoadChild;
686
- load_child_list: string[];
687
- load_child_count: LoadChildCount;
688
- load_child_count_list: string[];
689
- include_details: Record<string, any>;
690
- where_relations: Record<string, any>;
691
- order_by: {
692
- name: string;
693
- field: string;
694
- direction: OrderBy;
695
- }[];
696
- include_master_data: YesNo;
697
- date_format_id: string;
698
- route_id: string;
699
- }, {
700
- time_zone_id: string;
701
- date_format_id: string;
702
- route_id: string;
703
- status?: Status[] | undefined;
704
- search?: string | undefined;
705
- paging?: PAGING | undefined;
706
- page_count?: unknown;
707
- page_index?: unknown;
708
- load_parents?: LoadParents | undefined;
709
- load_parents_list?: string[] | undefined;
710
- load_child?: LoadChild | undefined;
711
- load_child_list?: string[] | undefined;
712
- load_child_count?: LoadChildCount | undefined;
713
- load_child_count_list?: string[] | undefined;
714
- include_details?: Record<string, any> | undefined;
715
- where_relations?: Record<string, any> | undefined;
716
- order_by?: {
717
- name: string;
718
- field: string;
719
- direction: OrderBy;
720
- }[] | undefined;
721
- include_master_data?: YesNo | undefined;
722
- }>;
723
- type StudentNoScheduleQueryDTO = z.infer<typeof StudentNoScheduleQuerySchema>;
724
- declare const MasterRouteStudentAssignRemoveSchema: z.ZodObject<{
725
- route_id: z.ZodEffects<z.ZodString, string, string>;
726
- student_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
727
- }, "strip", z.ZodTypeAny, {
728
- student_ids: string[];
729
- route_id: string;
730
- }, {
731
- route_id: string;
732
- student_ids?: string[] | undefined;
733
- }>;
734
- type MasterRouteStudentAssignRemoveDTO = z.infer<typeof MasterRouteStudentAssignRemoveSchema>;
735
- declare const MasterRouteStudentStopAssignRemoveSchema: z.ZodObject<{
736
- route_id: z.ZodEffects<z.ZodString, string, string>;
737
- route_stop_id: z.ZodEffects<z.ZodString, string, string>;
738
- route_student_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
739
- }, "strip", z.ZodTypeAny, {
740
- route_id: string;
741
- route_stop_id: string;
742
- route_student_ids: string[];
743
- }, {
744
- route_id: string;
745
- route_stop_id: string;
746
- route_student_ids?: string[] | undefined;
747
- }>;
748
- type MasterRouteStudentStopAssignRemoveDTO = z.infer<typeof MasterRouteStudentStopAssignRemoveSchema>;
749
- declare const MasterRouteStudentScheduleAssignRemoveSchema: z.ZodObject<{
750
- route_id: z.ZodEffects<z.ZodString, string, string>;
751
- fixed_schedule_id: z.ZodEffects<z.ZodString, string, string>;
752
- route_student_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
753
- }, "strip", z.ZodTypeAny, {
754
- route_id: string;
755
- fixed_schedule_id: string;
756
- route_student_ids: string[];
757
- }, {
758
- route_id: string;
759
- fixed_schedule_id: string;
760
- route_student_ids?: string[] | undefined;
761
- }>;
762
- type MasterRouteStudentScheduleAssignRemoveDTO = z.infer<typeof MasterRouteStudentScheduleAssignRemoveSchema>;
763
- declare const toMasterRoutePayload: (row: MasterRoute) => MasterRouteDTO;
764
- declare const newMasterRoutePayload: () => MasterRouteDTO;
765
- declare const toMasterFixedSchedulePayload: (row: MasterFixedSchedule) => MasterFixedScheduleDTO;
766
- declare const newMasterFixedSchedulePayload: () => MasterFixedScheduleDTO;
767
- declare const toMasterRouteStopPayload: (row: MasterRouteStop) => MasterRouteStopCreateDTO;
768
- declare const newMasterRouteStopPayload: () => MasterRouteStopCreateDTO;
769
- declare const toMasterRouteStopReorderPayload: (row: MasterRouteStop) => MasterRouteStopReorderDTO;
770
- declare const toMasterRouteStudentAssignPayload: (row: MasterRouteStudent) => MasterRouteStudentAssignRemoveDTO;
771
- declare const newMasterRouteStudentAssignPayload: () => MasterRouteStudentAssignRemoveDTO;
772
- declare const findMasterRoute: (data: MasterRouteQueryDTO) => Promise<FBR<MasterRoute[]>>;
773
- declare const createMasterRoute: (id: string, data: MasterRouteDTO) => Promise<SBR>;
774
- declare const updateMasterRoute: (id: string, data: MasterRouteDTO) => Promise<SBR>;
775
- declare const deleteMasterRoute: (id: string) => Promise<SBR>;
776
- declare const findMasterFixedSchedule: (data: MasterFixedScheduleQueryDTO) => Promise<FBR<MasterFixedSchedule[]>>;
777
- declare const createMasterFixedSchedule: (data: MasterFixedScheduleDTO) => Promise<SBR>;
778
- declare const updateMasterFixedSchedule: (id: string, data: MasterFixedScheduleDTO) => Promise<SBR>;
779
- declare const deleteMasterFixedSchedule: (id: string) => Promise<SBR>;
780
- declare const createStopsFirstTimeRoute: (data: MasterRouteStopCreateDTO) => Promise<SBR>;
781
- declare const appendRouteStop: (data: MasterRouteStopCreateDTO) => Promise<SBR>;
782
- declare const updateRouteStop: (id: string, data: MasterRouteStopUpdateDTO) => Promise<SBR>;
783
- declare const reorderRouteStops: (data: MasterRouteStopReorderDTO) => Promise<SBR>;
784
- declare const deleteRouteStopsAll: (data: MasterRouteStopDeleteDTO) => Promise<SBR>;
785
- declare const deleteRouteStopReorder: (data: MasterRouteStopDeleteReOrderDTO) => Promise<SBR>;
786
- declare const findStudentsWithNoStopPickup: (data: StudentNoStopQueryDTO) => Promise<FBR<MasterRouteStudent[]>>;
787
- declare const findStudentsWithNoStopDrop: (data: StudentNoStopQueryDTO) => Promise<FBR<MasterRouteStudent[]>>;
788
- declare const findStudentsWithNoSchedulePickup: (data: StudentNoScheduleQueryDTO) => Promise<FBR<MasterRouteStudent[]>>;
789
- declare const findStudentsWithNoScheduleDrop: (data: StudentNoScheduleQueryDTO) => Promise<FBR<MasterRouteStudent[]>>;
790
- declare const assignRouteStudentsPickup: (data: MasterRouteStudentAssignRemoveDTO) => Promise<SBR>;
791
- declare const assignRouteStudentsDrop: (data: MasterRouteStudentAssignRemoveDTO) => Promise<SBR>;
792
- declare const removeRouteStudentsPickup: (data: MasterRouteStudentAssignRemoveDTO) => Promise<SBR>;
793
- declare const removeRouteStudentsDrop: (data: MasterRouteStudentAssignRemoveDTO) => Promise<SBR>;
794
- declare const assignMasterRouteStudentStopToStudentsPickup: (data: MasterRouteStudentStopAssignRemoveDTO) => Promise<SBR>;
795
- declare const assignMasterRouteStudentStopToStudentsDrop: (data: MasterRouteStudentStopAssignRemoveDTO) => Promise<SBR>;
796
- declare const removeMasterRouteStudentStopToStudentsPickup: (data: MasterRouteStudentStopAssignRemoveDTO) => Promise<SBR>;
797
- declare const removeMasterRouteStudentStopToStudentsDrop: (data: MasterRouteStudentStopAssignRemoveDTO) => Promise<SBR>;
798
- declare const assignMasterRouteStudentScheduleToStudentsPickup: (data: MasterRouteStudentScheduleAssignRemoveDTO) => Promise<SBR>;
799
- declare const assignMasterRouteStudentScheduleToStudentDrop: (data: MasterRouteStudentScheduleAssignRemoveDTO) => Promise<SBR>;
800
- declare const removeMasterRouteStudentScheduleToStudentPickup: (data: MasterRouteStudentScheduleAssignRemoveDTO) => Promise<SBR>;
801
- declare const removeMasterRouteStudentScheduleToStudentDrop: (data: MasterRouteStudentScheduleAssignRemoveDTO) => Promise<SBR>;
802
-
803
- interface BusStopPolygonData {
804
- latitude: number;
805
- longitude: number;
806
- }
807
- interface BusStop extends Record<string, unknown> {
808
- bus_stop_id: string;
809
- stop_name: string;
810
- stop_code?: string;
811
- stop_type: BusStopType;
812
- stop_description?: string;
813
- stop_duration_seconds?: number;
814
- address_line1?: string;
815
- address_line2?: string;
816
- locality_landmark?: string;
817
- neighborhood?: string;
818
- town_city?: string;
819
- district_county?: string;
820
- state_province_region?: string;
821
- postal_code?: string;
822
- country?: string;
823
- country_code?: string;
824
- google_location?: string;
825
- geofence_type: GeofenceType;
826
- stop_latitude?: number;
827
- stop_longitude?: number;
828
- radius_meters?: number;
829
- radius_km?: number;
830
- polygon_data?: BusStopPolygonData[];
831
- status: Status;
832
- added_date_time: string;
833
- modified_date_time: string;
834
- organisation_id: string;
835
- UserOrganisation?: UserOrganisation;
836
- organisation_branch_id?: string;
837
- OrganisationBranch?: OrganisationBranch;
838
- MasterRouteStop: MasterRouteStop[];
839
- _count?: {
840
- MasterRouteStop: number;
841
- };
842
- }
843
- declare const BusStopPolygonDataSchema: z.ZodObject<{
844
- latitude: z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>;
845
- longitude: z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>;
846
- }, "strip", z.ZodTypeAny, {
847
- latitude: number;
848
- longitude: number;
849
- }, {
850
- latitude?: unknown;
851
- longitude?: unknown;
852
- }>;
853
- type BusStopPolygonDataDTO = z.infer<typeof BusStopPolygonDataSchema>;
854
- declare const BusStopSchema: z.ZodObject<{
855
- organisation_id: z.ZodEffects<z.ZodString, string, string>;
856
- organisation_branch_id: z.ZodEffects<z.ZodString, string, string>;
857
- stop_name: z.ZodEffects<z.ZodString, string, string>;
858
- stop_code: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
859
- stop_type: z.ZodType<BusStopType, z.ZodTypeDef, BusStopType>;
860
- stop_description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
861
- stop_duration_seconds: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
862
- address_line1: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
863
- address_line2: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
864
- locality_landmark: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
865
- neighborhood: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
866
- town_city: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
867
- district_county: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
868
- state_province_region: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
869
- postal_code: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
870
- country: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
871
- country_code: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
872
- google_location: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
873
- geofence_type: z.ZodType<GeofenceType, z.ZodTypeDef, GeofenceType>;
874
- stop_latitude: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
875
- stop_longitude: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
876
- radius_meters: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
877
- radius_km: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
878
- polygon_data: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
879
- latitude: z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>;
880
- longitude: z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>;
881
- }, z.UnknownKeysParam, z.ZodTypeAny, {
882
- latitude: number;
883
- longitude: number;
884
- }, {
885
- latitude?: unknown;
886
- longitude?: unknown;
887
- }>, "many">>>;
888
- status: z.ZodType<Status, z.ZodTypeDef, Status>;
889
- }, "strip", z.ZodTypeAny, {
890
- status: Status;
891
- organisation_id: string;
892
- organisation_branch_id: string;
893
- country_code: string;
894
- google_location: string;
895
- address_line1: string;
896
- address_line2: string;
897
- locality_landmark: string;
898
- neighborhood: string;
899
- town_city: string;
900
- district_county: string;
901
- state_province_region: string;
902
- postal_code: string;
903
- country: string;
904
- stop_name: string;
905
- stop_duration_seconds: number;
906
- stop_code: string;
907
- stop_type: BusStopType;
908
- stop_description: string;
909
- geofence_type: GeofenceType;
910
- polygon_data: {
911
- latitude: number;
912
- longitude: number;
913
- }[];
914
- stop_latitude?: number | undefined;
915
- stop_longitude?: number | undefined;
916
- radius_meters?: number | undefined;
917
- radius_km?: number | undefined;
918
- }, {
919
- status: Status;
920
- organisation_id: string;
921
- organisation_branch_id: string;
922
- stop_name: string;
923
- stop_type: BusStopType;
924
- geofence_type: GeofenceType;
925
- country_code?: string | undefined;
926
- google_location?: string | undefined;
927
- address_line1?: string | undefined;
928
- address_line2?: string | undefined;
929
- locality_landmark?: string | undefined;
930
- neighborhood?: string | undefined;
931
- town_city?: string | undefined;
932
- district_county?: string | undefined;
933
- state_province_region?: string | undefined;
934
- postal_code?: string | undefined;
935
- country?: string | undefined;
936
- stop_duration_seconds?: unknown;
937
- stop_code?: string | undefined;
938
- stop_description?: string | undefined;
939
- stop_latitude?: unknown;
940
- stop_longitude?: unknown;
941
- radius_meters?: unknown;
942
- radius_km?: unknown;
943
- polygon_data?: {
944
- latitude?: unknown;
945
- longitude?: unknown;
946
- }[] | undefined;
947
- }>;
948
- type BusStopDTO = z.infer<typeof BusStopSchema>;
949
- declare const BusStopQuerySchema: z.ZodObject<{
950
- search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
951
- status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
952
- paging: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof PAGING>>>;
953
- page_count: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
954
- page_index: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
955
- load_parents: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadParents>>>;
956
- load_parents_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
957
- load_child: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChild>>>;
958
- load_child_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
959
- load_child_count: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChildCount>>>;
960
- load_child_count_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
961
- include_details: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
962
- where_relations: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
963
- order_by: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
964
- name: z.ZodEffects<z.ZodString, string, string>;
965
- field: z.ZodEffects<z.ZodString, string, string>;
966
- direction: z.ZodType<OrderBy, z.ZodTypeDef, OrderBy>;
967
- }, "strip", z.ZodTypeAny, {
968
- name: string;
969
- field: string;
970
- direction: OrderBy;
971
- }, {
972
- name: string;
973
- field: string;
974
- direction: OrderBy;
975
- }>, "many">>>;
976
- include_master_data: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
977
- date_format_id: z.ZodEffects<z.ZodString, string, string>;
978
- time_zone_id: z.ZodEffects<z.ZodString, string, string>;
979
- } & {
980
- bus_stop_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
981
- organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
982
- organisation_branch_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
983
- stop_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof BusStopType>, "many">>>;
984
- geofence_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof GeofenceType>, "many">>>;
985
- }, "strip", z.ZodTypeAny, {
986
- status: Status[];
987
- time_zone_id: string;
988
- search: string;
989
- paging: PAGING;
990
- page_count: number;
991
- page_index: number;
992
- load_parents: LoadParents;
993
- load_parents_list: string[];
994
- load_child: LoadChild;
995
- load_child_list: string[];
996
- load_child_count: LoadChildCount;
997
- load_child_count_list: string[];
998
- include_details: Record<string, any>;
999
- where_relations: Record<string, any>;
1000
- order_by: {
1001
- name: string;
1002
- field: string;
1003
- direction: OrderBy;
1004
- }[];
1005
- include_master_data: YesNo;
1006
- date_format_id: string;
1007
- organisation_ids: string[];
1008
- organisation_branch_ids: string[];
1009
- bus_stop_ids: string[];
1010
- stop_type: BusStopType[];
1011
- geofence_type: GeofenceType[];
1012
- }, {
1013
- time_zone_id: string;
1014
- date_format_id: string;
1015
- status?: Status[] | undefined;
1016
- search?: string | undefined;
1017
- paging?: PAGING | undefined;
1018
- page_count?: unknown;
1019
- page_index?: unknown;
1020
- load_parents?: LoadParents | undefined;
1021
- load_parents_list?: string[] | undefined;
1022
- load_child?: LoadChild | undefined;
1023
- load_child_list?: string[] | undefined;
1024
- load_child_count?: LoadChildCount | undefined;
1025
- load_child_count_list?: string[] | undefined;
1026
- include_details?: Record<string, any> | undefined;
1027
- where_relations?: Record<string, any> | undefined;
1028
- order_by?: {
1029
- name: string;
1030
- field: string;
1031
- direction: OrderBy;
1032
- }[] | undefined;
1033
- include_master_data?: YesNo | undefined;
1034
- organisation_ids?: string[] | undefined;
1035
- organisation_branch_ids?: string[] | undefined;
1036
- bus_stop_ids?: string[] | undefined;
1037
- stop_type?: BusStopType[] | undefined;
1038
- geofence_type?: GeofenceType[] | undefined;
1039
- }>;
1040
- type BusStopQueryDTO = z.infer<typeof BusStopQuerySchema>;
1041
- declare const toBusStopPayload: (row: BusStop) => BusStopDTO;
1042
- declare const newBusStopPayload: () => BusStopDTO;
1043
- declare const findBusStop: (data: BusStopQueryDTO) => Promise<FBR<BusStop[]>>;
1044
- declare const createBusStop: (data: BusStopDTO) => Promise<SBR>;
1045
- declare const updateBusStop: (id: string, data: BusStopDTO) => Promise<SBR>;
1046
- declare const deleteBusStop: (id: string) => Promise<SBR>;
1047
-
1048
- export { type BusStopPolygonData as B, 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, type BusStop as a, appendRouteStop, assignMasterRouteStudentScheduleToStudentDrop, assignMasterRouteStudentScheduleToStudentsPickup, assignMasterRouteStudentStopToStudentsDrop, assignMasterRouteStudentStopToStudentsPickup, assignRouteStudentsDrop, assignRouteStudentsPickup, BusStopPolygonDataSchema as b, type BusStopPolygonDataDTO as c, createMasterFixedSchedule, createMasterRoute, createStopsFirstTimeRoute, BusStopSchema as d, deleteMasterFixedSchedule, deleteMasterRoute, deleteRouteStopReorder, deleteRouteStopsAll, type BusStopDTO as e, BusStopQuerySchema as f, findMasterFixedSchedule, findMasterRoute, findStudentsWithNoScheduleDrop, findStudentsWithNoSchedulePickup, findStudentsWithNoStopDrop, findStudentsWithNoStopPickup, type BusStopQueryDTO as g, findBusStop as h, createBusStop as i, deleteBusStop as j, newBusStopPayload as n, newMasterFixedSchedulePayload, newMasterRoutePayload, newMasterRouteStopPayload, newMasterRouteStudentAssignPayload, removeMasterRouteStudentScheduleToStudentDrop, removeMasterRouteStudentScheduleToStudentPickup, removeMasterRouteStudentStopToStudentsDrop, removeMasterRouteStudentStopToStudentsPickup, removeRouteStudentsDrop, removeRouteStudentsPickup, reorderRouteStops, toBusStopPayload as t, toMasterFixedSchedulePayload, toMasterRoutePayload, toMasterRouteStopPayload, toMasterRouteStopReorderPayload, toMasterRouteStudentAssignPayload, updateBusStop as u, updateMasterFixedSchedule, updateMasterRoute, updateRouteStop };