vms-nest-prisma-api-document 207.0.0 → 209.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) 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 +1 -1
  4. package/dist/services/account/notification_preferences.service.d.ts +1 -1
  5. package/dist/services/account/report_preferences.service.d.ts +1 -1
  6. package/dist/services/account/ticket_service.d.ts +1 -1
  7. package/dist/services/fleet/bus_mangement/bus_stop.d.ts +19 -19
  8. package/dist/services/fleet/bus_mangement/calender.d.ts +1 -1
  9. package/dist/services/fleet/bus_mangement/master_route.d.ts +41 -41
  10. package/dist/services/fleet/bus_mangement/notice_board.d.ts +1 -1
  11. package/dist/services/fleet/bus_mangement/student.d.ts +20 -20
  12. package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.d.ts +17 -17
  13. package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.d.ts +47 -47
  14. package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +30 -30
  15. package/dist/services/gps/features/geofence/gps_geofence_service.d.ts +1 -1
  16. package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +6 -6
  17. package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +7 -7
  18. package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +2 -2
  19. package/dist/services/gps/features/gps_live_track_share_link_service.d.ts +1 -1
  20. package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +1 -1
  21. package/dist/services/gps/reports/gps_reports_mongo_service.d.ts +46 -46
  22. package/dist/services/main/devices/master_device_service.d.ts +1 -1
  23. package/dist/services/main/drivers/master_driver_service.d.ts +1 -1
  24. package/dist/services/main/sims/master_sim_service.d.ts +1 -1
  25. package/dist/services/main/users/auth_service.d.ts +1 -1
  26. package/dist/services/main/users/user_admin_service.d.ts +1 -1
  27. package/dist/services/main/users/user_organisation_service.d.ts +1 -1
  28. package/dist/services/main/users/user_service.d.ts +1 -1
  29. package/dist/services/main/vehicle/childs/vehicle_odometer_history.d.ts +1 -1
  30. package/dist/services/main/vehicle/master_vehicle_service.d.ts +1 -1
  31. package/dist/services/main/vehicle/master_vehicle_service.js +11 -11
  32. package/dist/services/master/bus/master_class_service.d.ts +1 -1
  33. package/dist/services/master/bus/master_program_service.d.ts +1 -1
  34. package/dist/services/master/bus/master_relationship_service.d.ts +1 -1
  35. package/dist/services/master/bus/master_section_service.d.ts +1 -1
  36. package/dist/services/master/bus/master_semester_service.d.ts +1 -1
  37. package/dist/services/master/bus/master_stream_service.d.ts +1 -1
  38. package/dist/services/master/bus/master_year_service.d.ts +1 -1
  39. package/dist/services/master/device/master_device_manufacturer_service.d.ts +1 -1
  40. package/dist/services/master/device/master_device_model_service.d.ts +1 -1
  41. package/dist/services/master/device/master_device_type_service.d.ts +1 -1
  42. package/dist/services/master/expense/master_expense_name_service.d.ts +1 -1
  43. package/dist/services/master/expense/master_expense_type_service.d.ts +3 -3
  44. package/dist/services/master/expense/master_fuel_company_service.d.ts +6 -6
  45. package/dist/services/master/expense/master_vendor_document_type_service.d.ts +1 -1
  46. package/dist/services/master/expense/master_vendor_type_service.d.ts +1 -1
  47. package/dist/services/master/fleet/master_fleet_incident_severity_service.d.ts +1 -1
  48. package/dist/services/master/fleet/master_fleet_incident_status_service.d.ts +1 -1
  49. package/dist/services/master/fleet/master_fleet_incident_type_service.d.ts +1 -1
  50. package/dist/services/master/fleet/master_fleet_insurance_claim_status_service.d.ts +1 -1
  51. package/dist/services/master/fleet/master_fleet_service_task_service.d.ts +1 -1
  52. package/dist/services/master/main/master_main_country_service.d.ts +1 -1
  53. package/dist/services/master/main/master_main_currency_service.d.ts +1 -1
  54. package/dist/services/master/main/master_main_date_format_service.d.ts +1 -1
  55. package/dist/services/master/main/master_main_industry_service.d.ts +1 -1
  56. package/dist/services/master/main/master_main_landmark_service.d.ts +5 -5
  57. package/dist/services/master/main/master_main_language_service.d.ts +1 -1
  58. package/dist/services/master/main/master_main_state_service.d.ts +1 -1
  59. package/dist/services/master/main/master_main_timezone_service.d.ts +1 -1
  60. package/dist/services/master/main/master_main_unit_distance_service.d.ts +1 -1
  61. package/dist/services/master/main/master_main_unit_mileage_service.d.ts +1 -1
  62. package/dist/services/master/main/master_main_unit_volume_service.d.ts +1 -1
  63. package/dist/services/master/organisation/organisation_branch_service.d.ts +1 -1
  64. package/dist/services/master/organisation/organisation_color_service.d.ts +1 -1
  65. package/dist/services/master/organisation/organisation_group_service.d.ts +1 -1
  66. package/dist/services/master/organisation/organisation_sub_company_service.d.ts +1 -1
  67. package/dist/services/master/organisation/organisation_tag_service.d.ts +1 -1
  68. package/dist/services/master/spare_part/master_spare_part_category_service.d.ts +1 -1
  69. package/dist/services/master/spare_part/master_spare_part_sub_category_service.d.ts +9 -9
  70. package/dist/services/master/spare_part/master_spare_part_unit_service.d.ts +1 -1
  71. package/dist/services/master/trip/master_trip_party_type_service.d.ts +1 -1
  72. package/dist/services/master/tyre/master_tyre_grade_service.d.ts +1 -1
  73. package/dist/services/master/tyre/master_tyre_make_service.d.ts +1 -1
  74. package/dist/services/master/tyre/master_tyre_model_service.d.ts +1 -1
  75. package/dist/services/master/user/master_user_role_service.d.ts +1 -1
  76. package/dist/services/master/user/master_user_status_service.d.ts +1 -1
  77. package/dist/services/master/vehicle/master_vehicle_associated_to_service.d.ts +1 -1
  78. package/dist/services/master/vehicle/master_vehicle_document_type_service.d.ts +1 -1
  79. package/dist/services/master/vehicle/master_vehicle_fuel_removal_reason_service.d.ts +3 -3
  80. package/dist/services/master/vehicle/master_vehicle_fuel_type_service.d.ts +1 -1
  81. package/dist/services/master/vehicle/master_vehicle_fuel_unit_service.d.ts +1 -1
  82. package/dist/services/master/vehicle/master_vehicle_make_service.d.ts +1 -1
  83. package/dist/services/master/vehicle/master_vehicle_model_service.d.ts +1 -1
  84. package/dist/services/master/vehicle/master_vehicle_ownership_type_service.d.ts +1 -1
  85. package/dist/services/master/vehicle/master_vehicle_status_type_service.d.ts +1 -1
  86. package/dist/services/master/vehicle/master_vehicle_sub_model_service.d.ts +1 -1
  87. package/dist/services/master/vehicle/master_vehicle_type_service.d.ts +1 -1
  88. package/dist/{user_organisation_service-o2RNlNQJ.d.ts → user_organisation_service-N8kI-Upv.d.ts} +5 -5
  89. package/package.json +1 -1
@@ -22,15 +22,15 @@ declare const UserLoginAnalyticsSchema: z.ZodObject<{
22
22
  }, "strip", z.ZodTypeAny, {
23
23
  user_id: string;
24
24
  organisation_id: string;
25
- login_from: LoginFrom;
26
25
  country_id: string;
26
+ login_from: LoginFrom;
27
27
  os_details: Record<string, any>;
28
28
  ip_details: Record<string, any>;
29
29
  }, {
30
30
  user_id: string;
31
31
  organisation_id: string;
32
- login_from: LoginFrom;
33
32
  country_id: string;
33
+ login_from: LoginFrom;
34
34
  os_details?: Record<string, any> | undefined;
35
35
  ip_details?: Record<string, any> | undefined;
36
36
  }>;
@@ -48,11 +48,11 @@ declare const UserLoginAnalyticsQuerySchema: z.ZodObject<{
48
48
  organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
49
49
  country_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
50
50
  }, "strip", z.ZodTypeAny, {
51
+ login_from: LoginFrom;
51
52
  search: string;
52
53
  paging: PAGING;
53
54
  page_count: number;
54
55
  page_index: number;
55
- login_from: LoginFrom;
56
56
  date_format_id: string;
57
57
  time_zone_id: string;
58
58
  user_ids: string[];
@@ -43,11 +43,11 @@ declare const UserPageAnalyticsQuerySchema: z.ZodObject<{
43
43
  user_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
44
44
  organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
45
45
  }, "strip", z.ZodTypeAny, {
46
+ login_from: LoginFrom;
46
47
  search: string;
47
48
  paging: PAGING;
48
49
  page_count: number;
49
50
  page_index: number;
50
- login_from: LoginFrom;
51
51
  date_format_id: string;
52
52
  time_zone_id: string;
53
53
  user_ids: string[];
@@ -1,7 +1,7 @@
1
1
  import { MenuType, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../core/Enums.js';
2
2
  import { FBR, SBR } from '../../core/BaseResponse.js';
3
3
  import { z } from 'zod';
4
- import { U as UserOrganisation, a as User } from '../../user_organisation_service-o2RNlNQJ.js';
4
+ import { U as UserOrganisation, a as User } from '../../user_organisation_service-N8kI-Upv.js';
5
5
  import '../../zod_utils/zod_base_schema.js';
6
6
  import '../master/main/master_main_sim_provider_service.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  import { OnOff, NotificationChannel, YesNo, NotificationList, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy } from '../../core/Enums.js';
2
2
  import { FBR, SBR } from '../../core/BaseResponse.js';
3
3
  import { z } from 'zod';
4
- import { U as UserOrganisation, M as MasterVehicle, a as User } from '../../user_organisation_service-o2RNlNQJ.js';
4
+ import { U as UserOrganisation, M as MasterVehicle, a as User } from '../../user_organisation_service-N8kI-Upv.js';
5
5
  import { GPSGeofence } from '../gps/features/geofence/gps_geofence_service.js';
6
6
  import '../../zod_utils/zod_base_schema.js';
7
7
  import '../master/main/master_main_sim_provider_service.js';
@@ -1,7 +1,7 @@
1
1
  import { OnOff, ReportType, ReportList, ReportChannel, YesNo, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy } from '../../core/Enums.js';
2
2
  import { FBR, SBR } from '../../core/BaseResponse.js';
3
3
  import { z } from 'zod';
4
- import { U as UserOrganisation, M as MasterVehicle } from '../../user_organisation_service-o2RNlNQJ.js';
4
+ import { U as UserOrganisation, M as MasterVehicle } from '../../user_organisation_service-N8kI-Upv.js';
5
5
  import '../../zod_utils/zod_base_schema.js';
6
6
  import '../master/main/master_main_sim_provider_service.js';
7
7
 
@@ -2,6 +2,6 @@ import '../../core/Enums.js';
2
2
  import '../../core/BaseResponse.js';
3
3
  import 'zod';
4
4
  import '../../zod_utils/zod_base_schema.js';
5
- import '../../user_organisation_service-o2RNlNQJ.js';
5
+ import '../../user_organisation_service-N8kI-Upv.js';
6
6
  export { T as Ticket, e as TicketDTO, a as TicketFile, c as TicketFileDTO, b as TicketFileSchema, i as TicketQueryDTO, h as TicketQuerySchema, d as TicketSchema, g as TicketVerifyDTO, f as TicketVerifySchema, l as createTicket, q as createTicketFile, o as deleteTicket, k as findTickets, p as getTicketFilePresignedUrl, n as newTicketPayload, r as removeTicketFile, t as toTicketPayload, j as toVerifyTicketPayload, u as updateTicket, m as updateVerifyStatus } from '../main/users/user_admin_service.js';
7
7
  import '../master/main/master_main_sim_provider_service.js';
@@ -1,7 +1,7 @@
1
1
  import { BusStopType, GeofenceType, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../core/Enums.js';
2
2
  import { FBR, SBR } from '../../../core/BaseResponse.js';
3
3
  import { z } from 'zod';
4
- import { U as UserOrganisation, O as OrganisationBranch } from '../../../user_organisation_service-o2RNlNQJ.js';
4
+ import { U as UserOrganisation, O as OrganisationBranch } from '../../../user_organisation_service-N8kI-Upv.js';
5
5
  import '../../../zod_utils/zod_base_schema.js';
6
6
  import '../../master/main/master_main_sim_provider_service.js';
7
7
 
@@ -89,11 +89,12 @@ declare const BusStopSchema: z.ZodObject<{
89
89
  }>, "many">>>;
90
90
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
91
91
  }, "strip", z.ZodTypeAny, {
92
- stop_name: string;
93
- stop_code: string;
94
- stop_type: BusStopType;
95
- stop_description: string;
92
+ status: Status;
93
+ organisation_id: string;
94
+ organisation_branch_id: string;
96
95
  stop_duration_seconds: number;
96
+ stop_name: string;
97
+ country_code: string;
97
98
  address_line1: string;
98
99
  address_line2: string;
99
100
  locality_landmark: string;
@@ -103,30 +104,28 @@ declare const BusStopSchema: z.ZodObject<{
103
104
  state_province_region: string;
104
105
  postal_code: string;
105
106
  country: string;
106
- country_code: string;
107
+ stop_code: string;
108
+ stop_type: BusStopType;
109
+ stop_description: string;
107
110
  google_location: string;
108
111
  geofence_type: GeofenceType;
109
112
  polygon_data: {
110
113
  latitude: number;
111
114
  longitude: number;
112
115
  }[];
113
- status: Status;
114
- organisation_id: string;
115
- organisation_branch_id: string;
116
116
  stop_latitude?: number | undefined;
117
117
  stop_longitude?: number | undefined;
118
118
  radius_meters?: number | undefined;
119
119
  radius_km?: number | undefined;
120
120
  }, {
121
- stop_name: string;
122
- stop_type: BusStopType;
123
- geofence_type: GeofenceType;
124
121
  status: Status;
125
122
  organisation_id: string;
126
123
  organisation_branch_id: string;
127
- stop_code?: string | undefined;
128
- stop_description?: string | undefined;
124
+ stop_name: string;
125
+ stop_type: BusStopType;
126
+ geofence_type: GeofenceType;
129
127
  stop_duration_seconds?: unknown;
128
+ country_code?: string | undefined;
130
129
  address_line1?: string | undefined;
131
130
  address_line2?: string | undefined;
132
131
  locality_landmark?: string | undefined;
@@ -136,7 +135,8 @@ declare const BusStopSchema: z.ZodObject<{
136
135
  state_province_region?: string | undefined;
137
136
  postal_code?: string | undefined;
138
137
  country?: string | undefined;
139
- country_code?: string | undefined;
138
+ stop_code?: string | undefined;
139
+ stop_description?: string | undefined;
140
140
  google_location?: string | undefined;
141
141
  stop_latitude?: unknown;
142
142
  stop_longitude?: unknown;
@@ -185,8 +185,6 @@ declare const BusStopQuerySchema: z.ZodObject<{
185
185
  stop_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof BusStopType>, "many">>>;
186
186
  geofence_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof GeofenceType>, "many">>>;
187
187
  }, "strip", z.ZodTypeAny, {
188
- stop_type: BusStopType[];
189
- geofence_type: GeofenceType[];
190
188
  status: Status[];
191
189
  search: string;
192
190
  paging: PAGING;
@@ -210,12 +208,12 @@ declare const BusStopQuerySchema: z.ZodObject<{
210
208
  time_zone_id: string;
211
209
  organisation_ids: string[];
212
210
  organisation_branch_ids: string[];
211
+ stop_type: BusStopType[];
212
+ geofence_type: GeofenceType[];
213
213
  bus_stop_ids: string[];
214
214
  }, {
215
215
  date_format_id: string;
216
216
  time_zone_id: string;
217
- stop_type?: BusStopType[] | undefined;
218
- geofence_type?: GeofenceType[] | undefined;
219
217
  status?: Status[] | undefined;
220
218
  search?: string | undefined;
221
219
  paging?: PAGING | undefined;
@@ -237,6 +235,8 @@ declare const BusStopQuerySchema: z.ZodObject<{
237
235
  include_master_data?: YesNo | undefined;
238
236
  organisation_ids?: string[] | undefined;
239
237
  organisation_branch_ids?: string[] | undefined;
238
+ stop_type?: BusStopType[] | undefined;
239
+ geofence_type?: GeofenceType[] | undefined;
240
240
  bus_stop_ids?: string[] | undefined;
241
241
  }>;
242
242
  type BusStopQueryDTO = z.infer<typeof BusStopQuerySchema>;
@@ -1,7 +1,7 @@
1
1
  import { HolidayType, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../core/Enums.js';
2
2
  import { FBR, SBR } from '../../../core/BaseResponse.js';
3
3
  import { z } from 'zod';
4
- import { U as UserOrganisation, O as OrganisationBranch } from '../../../user_organisation_service-o2RNlNQJ.js';
4
+ import { U as UserOrganisation, O as OrganisationBranch } from '../../../user_organisation_service-N8kI-Upv.js';
5
5
  import '../../../zod_utils/zod_base_schema.js';
6
6
  import '../../master/main/master_main_sim_provider_service.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  import { Status, BusLeg, YesNo, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy } from '../../../core/Enums.js';
2
2
  import { FBR, SBR } from '../../../core/BaseResponse.js';
3
3
  import { z } from 'zod';
4
- import { U as UserOrganisation, O as OrganisationBranch, M as MasterVehicle, b as MasterDriver } from '../../../user_organisation_service-o2RNlNQJ.js';
4
+ import { U as UserOrganisation, O as OrganisationBranch, M as MasterVehicle, b as MasterDriver } from '../../../user_organisation_service-N8kI-Upv.js';
5
5
  import { BusStop } from './bus_stop.js';
6
6
  import { Student } from './student.js';
7
7
  import '../../../zod_utils/zod_base_schema.js';
@@ -121,9 +121,6 @@ declare const MasterRouteSchema: z.ZodObject<{
121
121
  drop_journey_time_in_seconds: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
122
122
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
123
123
  }, "strip", z.ZodTypeAny, {
124
- status: Status;
125
- organisation_id: string;
126
- organisation_branch_id: string;
127
124
  route_name: string;
128
125
  route_code: string;
129
126
  route_notes: string;
@@ -134,16 +131,19 @@ declare const MasterRouteSchema: z.ZodObject<{
134
131
  pickup_end_stop_id: string;
135
132
  drop_start_stop_id: string;
136
133
  drop_end_stop_id: string;
137
- }, {
138
134
  status: Status;
139
135
  organisation_id: string;
140
136
  organisation_branch_id: string;
137
+ }, {
141
138
  route_name: string;
142
139
  route_status: Status;
143
140
  pickup_start_stop_id: string;
144
141
  pickup_end_stop_id: string;
145
142
  drop_start_stop_id: string;
146
143
  drop_end_stop_id: string;
144
+ status: Status;
145
+ organisation_id: string;
146
+ organisation_branch_id: string;
147
147
  route_code?: string | undefined;
148
148
  route_notes?: string | undefined;
149
149
  pickup_journey_time_in_seconds?: unknown;
@@ -186,6 +186,7 @@ declare const MasterRouteQuerySchema: z.ZodObject<{
186
186
  route_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
187
187
  route_status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
188
188
  }, "strip", z.ZodTypeAny, {
189
+ route_status: Status[];
189
190
  status: Status[];
190
191
  search: string;
191
192
  paging: PAGING;
@@ -209,11 +210,11 @@ declare const MasterRouteQuerySchema: z.ZodObject<{
209
210
  time_zone_id: string;
210
211
  organisation_ids: string[];
211
212
  organisation_branch_ids: string[];
212
- route_status: Status[];
213
213
  route_ids: string[];
214
214
  }, {
215
215
  date_format_id: string;
216
216
  time_zone_id: string;
217
+ route_status?: Status[] | undefined;
217
218
  status?: Status[] | undefined;
218
219
  search?: string | undefined;
219
220
  paging?: PAGING | undefined;
@@ -235,7 +236,6 @@ declare const MasterRouteQuerySchema: z.ZodObject<{
235
236
  include_master_data?: YesNo | undefined;
236
237
  organisation_ids?: string[] | undefined;
237
238
  organisation_branch_ids?: string[] | undefined;
238
- route_status?: Status[] | undefined;
239
239
  route_ids?: string[] | undefined;
240
240
  }>;
241
241
  type MasterRouteQueryDTO = z.infer<typeof MasterRouteQuerySchema>;
@@ -265,12 +265,10 @@ declare const MasterFixedScheduleSchema: z.ZodObject<{
265
265
  saturday: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
266
266
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
267
267
  }, "strip", z.ZodTypeAny, {
268
+ route_id: string;
268
269
  status: Status;
269
270
  organisation_id: string;
270
271
  organisation_branch_id: string;
271
- driver_id: string;
272
- vehicle_id: string;
273
- route_id: string;
274
272
  schedule_name: string;
275
273
  schedule_status: Status;
276
274
  is_stops_finalized: YesNo;
@@ -288,14 +286,14 @@ declare const MasterFixedScheduleSchema: z.ZodObject<{
288
286
  thursday: YesNo;
289
287
  friday: YesNo;
290
288
  saturday: YesNo;
289
+ vehicle_id: string;
290
+ driver_id: string;
291
291
  attendant_id: string;
292
292
  }, {
293
+ route_id: string;
293
294
  status: Status;
294
295
  organisation_id: string;
295
296
  organisation_branch_id: string;
296
- driver_id: string;
297
- vehicle_id: string;
298
- route_id: string;
299
297
  schedule_name: string;
300
298
  schedule_status: Status;
301
299
  is_stops_finalized: YesNo;
@@ -307,6 +305,8 @@ declare const MasterFixedScheduleSchema: z.ZodObject<{
307
305
  thursday: YesNo;
308
306
  friday: YesNo;
309
307
  saturday: YesNo;
308
+ vehicle_id: string;
309
+ driver_id: string;
310
310
  attendant_id: string;
311
311
  start_hour?: unknown;
312
312
  start_minute?: unknown;
@@ -359,6 +359,9 @@ declare const MasterFixedScheduleQuerySchema: z.ZodObject<{
359
359
  schedule_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof BusLeg>, "many">>>;
360
360
  }, "strip", z.ZodTypeAny, {
361
361
  status: Status[];
362
+ schedule_status: Status[];
363
+ is_stops_finalized: YesNo[];
364
+ schedule_type: BusLeg[];
362
365
  search: string;
363
366
  paging: PAGING;
364
367
  page_count: number;
@@ -381,18 +384,18 @@ declare const MasterFixedScheduleQuerySchema: z.ZodObject<{
381
384
  time_zone_id: string;
382
385
  organisation_ids: string[];
383
386
  organisation_branch_ids: string[];
387
+ route_ids: string[];
384
388
  vehicle_ids: string[];
385
389
  driver_ids: string[];
386
- schedule_status: Status[];
387
- is_stops_finalized: YesNo[];
388
- schedule_type: BusLeg[];
389
- route_ids: string[];
390
390
  attendant_ids: string[];
391
391
  fixed_schedule_ids: string[];
392
392
  }, {
393
393
  date_format_id: string;
394
394
  time_zone_id: string;
395
395
  status?: Status[] | undefined;
396
+ schedule_status?: Status[] | undefined;
397
+ is_stops_finalized?: YesNo[] | undefined;
398
+ schedule_type?: BusLeg[] | undefined;
396
399
  search?: string | undefined;
397
400
  paging?: PAGING | undefined;
398
401
  page_count?: unknown;
@@ -413,12 +416,9 @@ declare const MasterFixedScheduleQuerySchema: z.ZodObject<{
413
416
  include_master_data?: YesNo | undefined;
414
417
  organisation_ids?: string[] | undefined;
415
418
  organisation_branch_ids?: string[] | undefined;
419
+ route_ids?: string[] | undefined;
416
420
  vehicle_ids?: string[] | undefined;
417
421
  driver_ids?: string[] | undefined;
418
- schedule_status?: Status[] | undefined;
419
- is_stops_finalized?: YesNo[] | undefined;
420
- schedule_type?: BusLeg[] | undefined;
421
- route_ids?: string[] | undefined;
422
422
  attendant_ids?: string[] | undefined;
423
423
  fixed_schedule_ids?: string[] | undefined;
424
424
  }>;
@@ -429,14 +429,14 @@ declare const MasterRouteStopSchema: z.ZodObject<{
429
429
  travel_seconds_to_next_stop: z.ZodEffects<z.ZodNumber, number, unknown>;
430
430
  bus_stop_id: z.ZodEffects<z.ZodString, string, string>;
431
431
  }, "strip", z.ZodTypeAny, {
432
- bus_stop_id: string;
433
- stop_duration_seconds: number;
434
432
  order_no: number;
433
+ stop_duration_seconds: number;
435
434
  travel_seconds_to_next_stop: number;
435
+ bus_stop_id: string;
436
436
  }, {
437
437
  bus_stop_id: string;
438
- stop_duration_seconds?: unknown;
439
438
  order_no?: unknown;
439
+ stop_duration_seconds?: unknown;
440
440
  travel_seconds_to_next_stop?: unknown;
441
441
  }>;
442
442
  type MasterRouteStopDTO = z.infer<typeof MasterRouteStopSchema>;
@@ -445,9 +445,9 @@ declare const MasterRouteStopUpdateSchema: z.ZodObject<{
445
445
  travel_seconds_to_next_stop: z.ZodEffects<z.ZodNumber, number, unknown>;
446
446
  bus_stop_id: z.ZodEffects<z.ZodString, string, string>;
447
447
  }, "strip", z.ZodTypeAny, {
448
- bus_stop_id: string;
449
448
  stop_duration_seconds: number;
450
449
  travel_seconds_to_next_stop: number;
450
+ bus_stop_id: string;
451
451
  }, {
452
452
  bus_stop_id: string;
453
453
  stop_duration_seconds?: unknown;
@@ -466,38 +466,38 @@ declare const MasterRouteStopCreateSchema: z.ZodObject<{
466
466
  travel_seconds_to_next_stop: z.ZodEffects<z.ZodNumber, number, unknown>;
467
467
  bus_stop_id: z.ZodEffects<z.ZodString, string, string>;
468
468
  }, z.UnknownKeysParam, z.ZodTypeAny, {
469
- bus_stop_id: string;
470
- stop_duration_seconds: number;
471
469
  order_no: number;
470
+ stop_duration_seconds: number;
472
471
  travel_seconds_to_next_stop: number;
472
+ bus_stop_id: string;
473
473
  }, {
474
474
  bus_stop_id: string;
475
- stop_duration_seconds?: unknown;
476
475
  order_no?: unknown;
476
+ stop_duration_seconds?: unknown;
477
477
  travel_seconds_to_next_stop?: unknown;
478
478
  }>, "many">>>;
479
479
  }, "strip", z.ZodTypeAny, {
480
+ route_id: string;
480
481
  status: Status;
481
482
  organisation_id: string;
482
483
  organisation_branch_id: string;
484
+ leg: BusLeg;
483
485
  MasterRouteStop: {
484
- bus_stop_id: string;
485
- stop_duration_seconds: number;
486
486
  order_no: number;
487
+ stop_duration_seconds: number;
487
488
  travel_seconds_to_next_stop: number;
489
+ bus_stop_id: string;
488
490
  }[];
489
- route_id: string;
490
- leg: BusLeg;
491
491
  }, {
492
+ route_id: string;
492
493
  status: Status;
493
494
  organisation_id: string;
494
495
  organisation_branch_id: string;
495
- route_id: string;
496
496
  leg: BusLeg;
497
497
  MasterRouteStop?: {
498
498
  bus_stop_id: string;
499
- stop_duration_seconds?: unknown;
500
499
  order_no?: unknown;
500
+ stop_duration_seconds?: unknown;
501
501
  travel_seconds_to_next_stop?: unknown;
502
502
  }[] | undefined;
503
503
  }>;
@@ -550,13 +550,13 @@ declare const MasterRouteStopDeleteSchema: z.ZodObject<{
550
550
  bus_stop_id: z.ZodEffects<z.ZodString, string, string>;
551
551
  leg: z.ZodType<BusLeg, z.ZodTypeDef, BusLeg>;
552
552
  }, "strip", z.ZodTypeAny, {
553
- bus_stop_id: string;
554
553
  route_id: string;
555
554
  leg: BusLeg;
556
- }, {
557
555
  bus_stop_id: string;
556
+ }, {
558
557
  route_id: string;
559
558
  leg: BusLeg;
559
+ bus_stop_id: string;
560
560
  }>;
561
561
  type MasterRouteStopDeleteReOrderDTO = z.infer<typeof MasterRouteStopDeleteSchema>;
562
562
  declare const StudentNoStopQuerySchema: z.ZodObject<{
@@ -592,6 +592,7 @@ declare const StudentNoStopQuerySchema: z.ZodObject<{
592
592
  } & {
593
593
  route_id: z.ZodEffects<z.ZodString, string, string>;
594
594
  }, "strip", z.ZodTypeAny, {
595
+ route_id: string;
595
596
  status: Status[];
596
597
  search: string;
597
598
  paging: PAGING;
@@ -613,11 +614,10 @@ declare const StudentNoStopQuerySchema: z.ZodObject<{
613
614
  include_master_data: YesNo;
614
615
  date_format_id: string;
615
616
  time_zone_id: string;
616
- route_id: string;
617
617
  }, {
618
+ route_id: string;
618
619
  date_format_id: string;
619
620
  time_zone_id: string;
620
- route_id: string;
621
621
  status?: Status[] | undefined;
622
622
  search?: string | undefined;
623
623
  paging?: PAGING | undefined;
@@ -672,6 +672,7 @@ declare const StudentNoScheduleQuerySchema: z.ZodObject<{
672
672
  } & {
673
673
  route_id: z.ZodEffects<z.ZodString, string, string>;
674
674
  }, "strip", z.ZodTypeAny, {
675
+ route_id: string;
675
676
  status: Status[];
676
677
  search: string;
677
678
  paging: PAGING;
@@ -693,11 +694,10 @@ declare const StudentNoScheduleQuerySchema: z.ZodObject<{
693
694
  include_master_data: YesNo;
694
695
  date_format_id: string;
695
696
  time_zone_id: string;
696
- route_id: string;
697
697
  }, {
698
+ route_id: string;
698
699
  date_format_id: string;
699
700
  time_zone_id: string;
700
- route_id: string;
701
701
  status?: Status[] | undefined;
702
702
  search?: string | undefined;
703
703
  paging?: PAGING | undefined;
@@ -723,8 +723,8 @@ declare const MasterRouteStudentAssignRemoveSchema: z.ZodObject<{
723
723
  route_id: z.ZodEffects<z.ZodString, string, string>;
724
724
  student_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
725
725
  }, "strip", z.ZodTypeAny, {
726
- student_ids: string[];
727
726
  route_id: string;
727
+ student_ids: string[];
728
728
  }, {
729
729
  route_id: string;
730
730
  student_ids?: string[] | undefined;
@@ -1,7 +1,7 @@
1
1
  import { Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../core/Enums.js';
2
2
  import { FBR, SBR } from '../../../core/BaseResponse.js';
3
3
  import { z } from 'zod';
4
- import { U as UserOrganisation, O as OrganisationBranch } from '../../../user_organisation_service-o2RNlNQJ.js';
4
+ import { U as UserOrganisation, O as OrganisationBranch } from '../../../user_organisation_service-N8kI-Upv.js';
5
5
  import '../../../zod_utils/zod_base_schema.js';
6
6
  import '../../master/main/master_main_sim_provider_service.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  import { EnrollmentStatus, TransportPlanType, Status, YesNo, StudentLeaveType, ApprovalStatus, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy } from '../../../core/Enums.js';
2
2
  import { FBR, SBR } from '../../../core/BaseResponse.js';
3
3
  import { z } from 'zod';
4
- import { U as UserOrganisation, O as OrganisationBranch } from '../../../user_organisation_service-o2RNlNQJ.js';
4
+ import { U as UserOrganisation, O as OrganisationBranch } from '../../../user_organisation_service-N8kI-Upv.js';
5
5
  import { MasterClass } from '../../master/bus/master_class_service.js';
6
6
  import { MasterProgram } from '../../master/bus/master_program_service.js';
7
7
  import { MasterSection } from '../../master/bus/master_section_service.js';
@@ -304,6 +304,7 @@ declare const StudentQuerySchema: z.ZodObject<{
304
304
  time_zone_id: string;
305
305
  organisation_ids: string[];
306
306
  organisation_branch_ids: string[];
307
+ student_ids: string[];
307
308
  class_ids: string[];
308
309
  program_ids: string[];
309
310
  section_ids: string[];
@@ -312,7 +313,6 @@ declare const StudentQuerySchema: z.ZodObject<{
312
313
  year_ids: string[];
313
314
  enrollment_status: EnrollmentStatus[];
314
315
  transport_plan_type: TransportPlanType[];
315
- student_ids: string[];
316
316
  pickup_route_ids: string[];
317
317
  drop_route_ids: string[];
318
318
  pickup_route_stop_ids: string[];
@@ -343,6 +343,7 @@ declare const StudentQuerySchema: z.ZodObject<{
343
343
  include_master_data?: YesNo | undefined;
344
344
  organisation_ids?: string[] | undefined;
345
345
  organisation_branch_ids?: string[] | undefined;
346
+ student_ids?: string[] | undefined;
346
347
  class_ids?: string[] | undefined;
347
348
  program_ids?: string[] | undefined;
348
349
  section_ids?: string[] | undefined;
@@ -351,7 +352,6 @@ declare const StudentQuerySchema: z.ZodObject<{
351
352
  year_ids?: string[] | undefined;
352
353
  enrollment_status?: EnrollmentStatus[] | undefined;
353
354
  transport_plan_type?: TransportPlanType[] | undefined;
354
- student_ids?: string[] | undefined;
355
355
  pickup_route_ids?: string[] | undefined;
356
356
  drop_route_ids?: string[] | undefined;
357
357
  pickup_route_stop_ids?: string[] | undefined;
@@ -464,6 +464,11 @@ declare const StudentAddressSchema: z.ZodObject<{
464
464
  notes: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
465
465
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
466
466
  }, "strip", z.ZodTypeAny, {
467
+ status: Status;
468
+ organisation_id: string;
469
+ organisation_branch_id: string;
470
+ student_id: string;
471
+ country_code: string;
467
472
  address_line1: string;
468
473
  address_line2: string;
469
474
  locality_landmark: string;
@@ -473,23 +478,21 @@ declare const StudentAddressSchema: z.ZodObject<{
473
478
  state_province_region: string;
474
479
  postal_code: string;
475
480
  country: string;
476
- country_code: string;
477
481
  google_location: string;
478
- status: Status;
479
- organisation_id: string;
480
- organisation_branch_id: string;
481
482
  notes: string;
482
- student_id: string;
483
483
  is_default: YesNo;
484
484
  latitude?: number | undefined;
485
485
  longitude?: number | undefined;
486
486
  }, {
487
- address_line1: string;
488
487
  status: Status;
489
488
  organisation_id: string;
490
489
  organisation_branch_id: string;
491
490
  student_id: string;
491
+ address_line1: string;
492
492
  is_default: YesNo;
493
+ country_code?: string | undefined;
494
+ latitude?: unknown;
495
+ longitude?: unknown;
493
496
  address_line2?: string | undefined;
494
497
  locality_landmark?: string | undefined;
495
498
  neighborhood?: string | undefined;
@@ -498,10 +501,7 @@ declare const StudentAddressSchema: z.ZodObject<{
498
501
  state_province_region?: string | undefined;
499
502
  postal_code?: string | undefined;
500
503
  country?: string | undefined;
501
- country_code?: string | undefined;
502
504
  google_location?: string | undefined;
503
- latitude?: unknown;
504
- longitude?: unknown;
505
505
  notes?: string | undefined;
506
506
  }>;
507
507
  type StudentAddressDTO = z.infer<typeof StudentAddressSchema>;
@@ -574,9 +574,9 @@ declare const StudentAddressQuerySchema: z.ZodObject<{
574
574
  time_zone_id: string;
575
575
  organisation_ids: string[];
576
576
  organisation_branch_ids: string[];
577
+ student_ids: string[];
577
578
  bus_stop_ids: string[];
578
579
  is_default: YesNo[];
579
- student_ids: string[];
580
580
  student_address_ids: string[];
581
581
  }, {
582
582
  date_format_id: string;
@@ -602,9 +602,9 @@ declare const StudentAddressQuerySchema: z.ZodObject<{
602
602
  include_master_data?: YesNo | undefined;
603
603
  organisation_ids?: string[] | undefined;
604
604
  organisation_branch_ids?: string[] | undefined;
605
+ student_ids?: string[] | undefined;
605
606
  bus_stop_ids?: string[] | undefined;
606
607
  is_default?: YesNo[] | undefined;
607
- student_ids?: string[] | undefined;
608
608
  student_address_ids?: string[] | undefined;
609
609
  }>;
610
610
  type StudentAddressQueryDTO = z.infer<typeof StudentAddressQuerySchema>;
@@ -627,11 +627,11 @@ declare const StudentGuardianLinkSchema: z.ZodObject<{
627
627
  status: Status;
628
628
  organisation_id: string;
629
629
  organisation_branch_id: string;
630
+ student_id: string;
630
631
  email: string;
631
632
  mobile: string;
632
633
  notes: string;
633
634
  relationship_id: string;
634
- student_id: string;
635
635
  photo_url: string;
636
636
  photo_key: string;
637
637
  photo_name: string;
@@ -642,9 +642,9 @@ declare const StudentGuardianLinkSchema: z.ZodObject<{
642
642
  status: Status;
643
643
  organisation_id: string;
644
644
  organisation_branch_id: string;
645
+ student_id: string;
645
646
  mobile: string;
646
647
  relationship_id: string;
647
- student_id: string;
648
648
  is_primary: YesNo;
649
649
  full_name: string;
650
650
  email?: string | undefined;
@@ -972,8 +972,8 @@ declare const StudentLeaveRequestQuerySchema: z.ZodObject<{
972
972
  time_zone_id: string;
973
973
  organisation_ids: string[];
974
974
  organisation_branch_ids: string[];
975
- approval_status: ApprovalStatus[];
976
975
  student_ids: string[];
976
+ approval_status: ApprovalStatus[];
977
977
  student_leave_request_ids: string[];
978
978
  }, {
979
979
  date_format_id: string;
@@ -999,8 +999,8 @@ declare const StudentLeaveRequestQuerySchema: z.ZodObject<{
999
999
  include_master_data?: YesNo | undefined;
1000
1000
  organisation_ids?: string[] | undefined;
1001
1001
  organisation_branch_ids?: string[] | undefined;
1002
- approval_status?: ApprovalStatus[] | undefined;
1003
1002
  student_ids?: string[] | undefined;
1003
+ approval_status?: ApprovalStatus[] | undefined;
1004
1004
  student_leave_request_ids?: string[] | undefined;
1005
1005
  }>;
1006
1006
  type StudentLeaveRequestQueryDTO = z.infer<typeof StudentLeaveRequestQuerySchema>;
@@ -1114,8 +1114,8 @@ declare const StudentStopChangeRequestQuerySchema: z.ZodObject<{
1114
1114
  time_zone_id: string;
1115
1115
  organisation_ids: string[];
1116
1116
  organisation_branch_ids: string[];
1117
- approval_status: ApprovalStatus[];
1118
1117
  student_ids: string[];
1118
+ approval_status: ApprovalStatus[];
1119
1119
  student_address_ids: string[];
1120
1120
  student_stop_change_request_ids: string[];
1121
1121
  }, {
@@ -1142,8 +1142,8 @@ declare const StudentStopChangeRequestQuerySchema: z.ZodObject<{
1142
1142
  include_master_data?: YesNo | undefined;
1143
1143
  organisation_ids?: string[] | undefined;
1144
1144
  organisation_branch_ids?: string[] | undefined;
1145
- approval_status?: ApprovalStatus[] | undefined;
1146
1145
  student_ids?: string[] | undefined;
1146
+ approval_status?: ApprovalStatus[] | undefined;
1147
1147
  student_address_ids?: string[] | undefined;
1148
1148
  student_stop_change_request_ids?: string[] | undefined;
1149
1149
  }>;