vms-nest-prisma-api-document 225.0.0 → 227.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 (99) hide show
  1. package/dist/services/account/bookmark_service.d.ts +9 -9
  2. package/dist/services/account/notification_preferences.service.d.ts +11 -11
  3. package/dist/services/account/report_preferences.service.d.ts +24 -24
  4. package/dist/services/account/ticket_service.d.ts +1 -1
  5. package/dist/services/fleet/bus_mangement/bus_stop.d.ts +21 -21
  6. package/dist/services/fleet/bus_mangement/calender.d.ts +1 -1
  7. package/dist/services/fleet/bus_mangement/master_route.d.ts +41 -41
  8. package/dist/services/fleet/bus_mangement/notice_board.d.ts +1 -1
  9. package/dist/services/fleet/bus_mangement/student.d.ts +25 -25
  10. package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.d.ts +20 -20
  11. package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.d.ts +58 -58
  12. package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +30 -30
  13. package/dist/services/fleet/incident_management/incident_management_service.d.ts +2 -2
  14. package/dist/services/fleet/incident_management/incident_management_service.js +10 -10
  15. package/dist/services/fleet/issue_management/issue_management_service.d.ts +4 -2
  16. package/dist/services/fleet/issue_management/issue_management_service.js +9 -9
  17. package/dist/services/fleet/service_management/fleet_service_management_service.d.ts +40 -40
  18. package/dist/services/fleet/service_management/fleet_service_management_task_service.d.ts +6 -6
  19. package/dist/services/fleet/vendor_management/fleet_vendor_fuel_station.d.ts +1 -1
  20. package/dist/services/fleet/vendor_management/fleet_vendor_service.d.ts +1 -1
  21. package/dist/services/fleet/vendor_management/fleet_vendor_service.js +20 -21
  22. package/dist/services/fleet/vendor_management/fleet_vendor_service_center.d.ts +1 -1
  23. package/dist/services/gps/features/geofence/gps_geofence_service.d.ts +1 -1
  24. package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +9 -9
  25. package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +6 -6
  26. package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +12 -12
  27. package/dist/services/gps/features/gps_live_track_share_link_service.d.ts +1 -1
  28. package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +1 -1
  29. package/dist/services/gps/reports/gps_reports_mongo_service.d.ts +46 -46
  30. package/dist/services/main/devices/master_device_service.d.ts +1 -1
  31. package/dist/services/main/drivers/master_driver_service.d.ts +1 -1
  32. package/dist/services/main/sims/master_sim_service.d.ts +1 -1
  33. package/dist/services/main/users/auth_service.d.ts +1 -1
  34. package/dist/services/main/users/user_admin_service.d.ts +2 -2
  35. package/dist/services/main/users/user_organisation_service.d.ts +1 -1
  36. package/dist/services/main/users/user_service.d.ts +1 -1
  37. package/dist/services/main/vehicle/childs/vehicle_odometer_history.d.ts +1 -1
  38. package/dist/services/main/vehicle/master_vehicle_service.d.ts +1 -1
  39. package/dist/services/master/bus/master_class_service.d.ts +1 -1
  40. package/dist/services/master/bus/master_program_service.d.ts +1 -1
  41. package/dist/services/master/bus/master_relationship_service.d.ts +1 -1
  42. package/dist/services/master/bus/master_section_service.d.ts +1 -1
  43. package/dist/services/master/bus/master_semester_service.d.ts +1 -1
  44. package/dist/services/master/bus/master_stream_service.d.ts +1 -1
  45. package/dist/services/master/bus/master_year_service.d.ts +1 -1
  46. package/dist/services/master/device/master_device_manufacturer_service.d.ts +1 -1
  47. package/dist/services/master/device/master_device_model_service.d.ts +1 -1
  48. package/dist/services/master/device/master_device_type_service.d.ts +1 -1
  49. package/dist/services/master/expense/master_expense_name_service.d.ts +1 -1
  50. package/dist/services/master/expense/master_expense_type_service.d.ts +1 -1
  51. package/dist/services/master/expense/master_fuel_company_service.d.ts +1 -1
  52. package/dist/services/master/expense/master_vendor_document_type_service.d.ts +1 -1
  53. package/dist/services/master/expense/master_vendor_tag_service.d.ts +1 -1
  54. package/dist/services/master/expense/master_vendor_type_service.d.ts +1 -1
  55. package/dist/services/master/fleet/master_fleet_incident_severity_service.d.ts +1 -1
  56. package/dist/services/master/fleet/master_fleet_incident_status_service.d.ts +1 -1
  57. package/dist/services/master/fleet/master_fleet_incident_type_service.d.ts +1 -1
  58. package/dist/services/master/fleet/master_fleet_insurance_claim_status_service.d.ts +1 -1
  59. package/dist/services/master/fleet/master_fleet_service_task_service.d.ts +6 -6
  60. package/dist/services/master/main/master_main_country_service.d.ts +1 -1
  61. package/dist/services/master/main/master_main_currency_service.d.ts +1 -1
  62. package/dist/services/master/main/master_main_date_format_service.d.ts +1 -1
  63. package/dist/services/master/main/master_main_eway_bill_provider_service.d.ts +2 -2
  64. package/dist/services/master/main/master_main_fasttag_bank_service.d.ts +2 -2
  65. package/dist/services/master/main/master_main_industry_service.d.ts +1 -1
  66. package/dist/services/master/main/master_main_landmark_service.d.ts +1 -1
  67. package/dist/services/master/main/master_main_language_service.d.ts +1 -1
  68. package/dist/services/master/main/master_main_state_service.d.ts +1 -1
  69. package/dist/services/master/main/master_main_timezone_service.d.ts +1 -1
  70. package/dist/services/master/main/master_main_unit_distance_service.d.ts +1 -1
  71. package/dist/services/master/main/master_main_unit_mileage_service.d.ts +1 -1
  72. package/dist/services/master/main/master_main_unit_volume_service.d.ts +1 -1
  73. package/dist/services/master/organisation/organisation_branch_service.d.ts +1 -1
  74. package/dist/services/master/organisation/organisation_color_service.d.ts +1 -1
  75. package/dist/services/master/organisation/organisation_group_service.d.ts +1 -1
  76. package/dist/services/master/organisation/organisation_sub_company_service.d.ts +1 -1
  77. package/dist/services/master/organisation/organisation_tag_service.d.ts +1 -1
  78. package/dist/services/master/spare_part/master_spare_part_category_service.d.ts +1 -1
  79. package/dist/services/master/spare_part/master_spare_part_sub_category_service.d.ts +1 -1
  80. package/dist/services/master/spare_part/master_spare_part_unit_service.d.ts +1 -1
  81. package/dist/services/master/trip/master_trip_party_type_service.d.ts +1 -1
  82. package/dist/services/master/tyre/master_tyre_grade_service.d.ts +3 -3
  83. package/dist/services/master/tyre/master_tyre_make_service.d.ts +1 -1
  84. package/dist/services/master/tyre/master_tyre_model_service.d.ts +5 -5
  85. package/dist/services/master/user/master_user_role_service.d.ts +1 -1
  86. package/dist/services/master/user/master_user_status_service.d.ts +1 -1
  87. package/dist/services/master/vehicle/master_vehicle_associated_to_service.d.ts +1 -1
  88. package/dist/services/master/vehicle/master_vehicle_document_type_service.d.ts +1 -1
  89. package/dist/services/master/vehicle/master_vehicle_fuel_removal_reason_service.d.ts +3 -3
  90. package/dist/services/master/vehicle/master_vehicle_fuel_type_service.d.ts +1 -1
  91. package/dist/services/master/vehicle/master_vehicle_fuel_unit_service.d.ts +1 -1
  92. package/dist/services/master/vehicle/master_vehicle_make_service.d.ts +1 -1
  93. package/dist/services/master/vehicle/master_vehicle_model_service.d.ts +1 -1
  94. package/dist/services/master/vehicle/master_vehicle_ownership_type_service.d.ts +1 -1
  95. package/dist/services/master/vehicle/master_vehicle_status_type_service.d.ts +1 -1
  96. package/dist/services/master/vehicle/master_vehicle_sub_model_service.d.ts +1 -1
  97. package/dist/services/master/vehicle/master_vehicle_type_service.d.ts +1 -1
  98. package/dist/{user_organisation_service-DFQbMQ0s.d.ts → user_organisation_service-5X-6GA_y.d.ts} +56 -56
  99. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  import { MenuType, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../core/Enums.js';
2
2
  import { FBR, SBR } from '../../core/BaseResponse.js';
3
3
  import { z } from 'zod';
4
- import { U as UserOrganisation, a as User } from '../../user_organisation_service-DFQbMQ0s.js';
4
+ import { U as UserOrganisation, a as User } from '../../user_organisation_service-5X-6GA_y.js';
5
5
  import '../../zod_utils/zod_base_schema.js';
6
6
  import '../master/main/master_main_sim_provider_service.js';
7
7
 
@@ -40,12 +40,9 @@ declare const BookMarkSchema: z.ZodObject<{
40
40
  sub_item_url: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
41
41
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
42
42
  }, "strip", z.ZodTypeAny, {
43
- status: Status;
44
- organisation_id: string;
45
- group_name: string;
46
- user_id: string;
47
43
  module_name: string;
48
44
  menu_type: MenuType;
45
+ group_name: string;
49
46
  group_name_language: string;
50
47
  group_icon: string;
51
48
  group_url: string;
@@ -53,16 +50,19 @@ declare const BookMarkSchema: z.ZodObject<{
53
50
  sub_item_name_language: string;
54
51
  sub_item_icon: string;
55
52
  sub_item_url: string;
56
- }, {
57
53
  status: Status;
58
54
  organisation_id: string;
59
- group_name: string;
60
55
  user_id: string;
56
+ }, {
61
57
  module_name: string;
62
58
  menu_type: MenuType;
59
+ group_name: string;
63
60
  group_name_language: string;
64
61
  group_icon: string;
65
62
  group_url: string;
63
+ status: Status;
64
+ organisation_id: string;
65
+ user_id: string;
66
66
  sub_item_name?: string | undefined;
67
67
  sub_item_name_language?: string | undefined;
68
68
  sub_item_icon?: string | undefined;
@@ -105,6 +105,7 @@ declare const BookMarkQuerySchema: z.ZodObject<{
105
105
  bookmark_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
106
106
  menu_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof MenuType>, "many">>>;
107
107
  }, "strip", z.ZodTypeAny, {
108
+ menu_type: MenuType[];
108
109
  status: Status[];
109
110
  search: string;
110
111
  paging: PAGING;
@@ -128,11 +129,11 @@ declare const BookMarkQuerySchema: z.ZodObject<{
128
129
  time_zone_id: string;
129
130
  organisation_ids: string[];
130
131
  user_ids: string[];
131
- menu_type: MenuType[];
132
132
  bookmark_ids: string[];
133
133
  }, {
134
134
  date_format_id: string;
135
135
  time_zone_id: string;
136
+ menu_type?: MenuType[] | undefined;
136
137
  status?: Status[] | undefined;
137
138
  search?: string | undefined;
138
139
  paging?: PAGING | undefined;
@@ -154,7 +155,6 @@ declare const BookMarkQuerySchema: z.ZodObject<{
154
155
  include_master_data?: YesNo | undefined;
155
156
  organisation_ids?: string[] | undefined;
156
157
  user_ids?: string[] | undefined;
157
- menu_type?: MenuType[] | undefined;
158
158
  bookmark_ids?: string[] | undefined;
159
159
  }>;
160
160
  type BookMarkQueryDTO = z.infer<typeof BookMarkQuerySchema>;
@@ -1,7 +1,7 @@
1
1
  import { OnOff, NotificationChannel, YesNo, NotificationList, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy } from '../../core/Enums.js';
2
2
  import { FBR, SBR } from '../../core/BaseResponse.js';
3
3
  import { z } from 'zod';
4
- import { U as UserOrganisation, M as MasterVehicle, a as User } from '../../user_organisation_service-DFQbMQ0s.js';
4
+ import { U as UserOrganisation, M as MasterVehicle, a as User } from '../../user_organisation_service-5X-6GA_y.js';
5
5
  import { GPSGeofence } from '../gps/features/geofence/gps_geofence_service.js';
6
6
  import '../../zod_utils/zod_base_schema.js';
7
7
  import '../master/main/master_main_sim_provider_service.js';
@@ -85,37 +85,37 @@ declare const OrganisationNotificationPreferenceSchema: z.ZodObject<{
85
85
  vehicle_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
86
86
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
87
87
  }, "strip", z.ZodTypeAny, {
88
- mobile_numbers: string;
89
- email_ids: string;
90
- cc_email_ids: string;
91
- all_vehicles: YesNo;
92
88
  status: Status;
93
89
  organisation_id: string;
94
- vehicle_ids: string[];
95
90
  user_ids: string[];
91
+ vehicle_ids: string[];
92
+ all_vehicles: YesNo;
96
93
  gps_geofence_ids: string[];
97
94
  notification_name: string;
98
95
  notification_status: OnOff;
99
96
  notification_channels: NotificationChannel[];
97
+ mobile_numbers: string;
98
+ email_ids: string;
99
+ cc_email_ids: string;
100
100
  all_users: YesNo;
101
101
  notification_list: NotificationList[];
102
102
  over_speed_limit: number;
103
103
  all_geofences: YesNo;
104
104
  }, {
105
- all_vehicles: YesNo;
106
105
  status: Status;
107
106
  organisation_id: string;
107
+ all_vehicles: YesNo;
108
108
  notification_name: string;
109
109
  notification_status: OnOff;
110
110
  all_users: YesNo;
111
111
  all_geofences: YesNo;
112
- mobile_numbers?: string | undefined;
113
- email_ids?: string | undefined;
114
- cc_email_ids?: string | undefined;
115
- vehicle_ids?: string[] | undefined;
116
112
  user_ids?: string[] | undefined;
113
+ vehicle_ids?: string[] | undefined;
117
114
  gps_geofence_ids?: string[] | undefined;
118
115
  notification_channels?: NotificationChannel[] | undefined;
116
+ mobile_numbers?: string | undefined;
117
+ email_ids?: string | undefined;
118
+ cc_email_ids?: string | undefined;
119
119
  notification_list?: NotificationList[] | undefined;
120
120
  over_speed_limit?: unknown;
121
121
  }>;
@@ -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-DFQbMQ0s.js';
4
+ import { U as UserOrganisation, M as MasterVehicle } from '../../user_organisation_service-5X-6GA_y.js';
5
5
  import '../../zod_utils/zod_base_schema.js';
6
6
  import '../master/main/master_main_sim_provider_service.js';
7
7
 
@@ -113,7 +113,6 @@ declare const OrganisationReportAutomationMailQuerySchema: z.ZodObject<{
113
113
  report_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof ReportType>, "many">>>;
114
114
  }, "strip", z.ZodTypeAny, {
115
115
  status: Status[];
116
- report_type: ReportType[];
117
116
  search: string;
118
117
  paging: PAGING;
119
118
  page_count: number;
@@ -135,13 +134,13 @@ declare const OrganisationReportAutomationMailQuerySchema: z.ZodObject<{
135
134
  date_format_id: string;
136
135
  time_zone_id: string;
137
136
  organisation_ids: string[];
137
+ report_type: ReportType[];
138
138
  report_preference_ids: string[];
139
139
  report_automation_mail_ids: string[];
140
140
  }, {
141
141
  date_format_id: string;
142
142
  time_zone_id: string;
143
143
  status?: Status[] | undefined;
144
- report_type?: ReportType[] | undefined;
145
144
  search?: string | undefined;
146
145
  paging?: PAGING | undefined;
147
146
  page_count?: unknown;
@@ -161,6 +160,7 @@ declare const OrganisationReportAutomationMailQuerySchema: z.ZodObject<{
161
160
  }[] | undefined;
162
161
  include_master_data?: YesNo | undefined;
163
162
  organisation_ids?: string[] | undefined;
163
+ report_type?: ReportType[] | undefined;
164
164
  report_preference_ids?: string[] | undefined;
165
165
  report_automation_mail_ids?: string[] | undefined;
166
166
  }>;
@@ -179,31 +179,31 @@ declare const OrganisationReportPreferenceSchema: z.ZodObject<{
179
179
  vehicle_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
180
180
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
181
181
  }, "strip", z.ZodTypeAny, {
182
+ status: Status;
183
+ organisation_id: string;
184
+ vehicle_ids: string[];
185
+ all_vehicles: YesNo;
186
+ mobile_numbers: string;
187
+ email_ids: string;
188
+ cc_email_ids: string;
182
189
  report_name: string;
183
190
  report_status: OnOff;
184
191
  report_types: ReportType[];
185
192
  report_list: ReportList[];
186
193
  report_channels: ReportChannel.Email[];
187
- mobile_numbers: string;
188
- email_ids: string;
189
- cc_email_ids: string;
190
- all_vehicles: YesNo;
194
+ }, {
191
195
  status: Status;
192
196
  organisation_id: string;
193
- vehicle_ids: string[];
194
- }, {
197
+ all_vehicles: YesNo;
195
198
  report_name: string;
196
199
  report_status: OnOff;
197
- all_vehicles: YesNo;
198
- status: Status;
199
- organisation_id: string;
200
- report_types?: ReportType[] | undefined;
201
- report_list?: ReportList[] | undefined;
202
- report_channels?: ReportChannel.Email[] | undefined;
200
+ vehicle_ids?: string[] | undefined;
203
201
  mobile_numbers?: string | undefined;
204
202
  email_ids?: string | undefined;
205
203
  cc_email_ids?: string | undefined;
206
- vehicle_ids?: string[] | undefined;
204
+ report_types?: ReportType[] | undefined;
205
+ report_list?: ReportList[] | undefined;
206
+ report_channels?: ReportChannel.Email[] | undefined;
207
207
  }>;
208
208
  type OrganisationReportPreferenceDTO = z.infer<typeof OrganisationReportPreferenceSchema>;
209
209
  declare const OrganisationReportPreferenceQuerySchema: z.ZodObject<{
@@ -244,10 +244,6 @@ declare const OrganisationReportPreferenceQuerySchema: z.ZodObject<{
244
244
  report_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof ReportList>, "many">>>;
245
245
  report_channels: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof ReportChannel>, "many">>>;
246
246
  }, "strip", z.ZodTypeAny, {
247
- report_status: OnOff[];
248
- report_types: ReportType[];
249
- report_list: ReportList[];
250
- report_channels: ReportChannel.Email[];
251
247
  status: Status[];
252
248
  search: string;
253
249
  paging: PAGING;
@@ -270,14 +266,14 @@ declare const OrganisationReportPreferenceQuerySchema: z.ZodObject<{
270
266
  date_format_id: string;
271
267
  time_zone_id: string;
272
268
  organisation_ids: string[];
269
+ report_status: OnOff[];
270
+ report_types: ReportType[];
271
+ report_list: ReportList[];
272
+ report_channels: ReportChannel.Email[];
273
273
  report_preference_ids: string[];
274
274
  }, {
275
275
  date_format_id: string;
276
276
  time_zone_id: string;
277
- report_status?: OnOff[] | undefined;
278
- report_types?: ReportType[] | undefined;
279
- report_list?: ReportList[] | undefined;
280
- report_channels?: ReportChannel.Email[] | undefined;
281
277
  status?: Status[] | undefined;
282
278
  search?: string | undefined;
283
279
  paging?: PAGING | undefined;
@@ -298,6 +294,10 @@ declare const OrganisationReportPreferenceQuerySchema: z.ZodObject<{
298
294
  }[] | undefined;
299
295
  include_master_data?: YesNo | undefined;
300
296
  organisation_ids?: string[] | undefined;
297
+ report_status?: OnOff[] | undefined;
298
+ report_types?: ReportType[] | undefined;
299
+ report_list?: ReportList[] | undefined;
300
+ report_channels?: ReportChannel.Email[] | undefined;
301
301
  report_preference_ids?: string[] | undefined;
302
302
  }>;
303
303
  type OrganisationReportPreferenceQueryDTO = z.infer<typeof OrganisationReportPreferenceQuerySchema>;
@@ -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-DFQbMQ0s.js';
5
+ import '../../user_organisation_service-5X-6GA_y.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-DFQbMQ0s.js';
4
+ import { U as UserOrganisation, O as OrganisationBranch } from '../../../user_organisation_service-5X-6GA_y.js';
5
5
  import '../../../zod_utils/zod_base_schema.js';
6
6
  import '../../master/main/master_main_sim_provider_service.js';
7
7
 
@@ -89,13 +89,11 @@ declare const BusStopSchema: z.ZodObject<{
89
89
  }>, "many">>>;
90
90
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
91
91
  }, "strip", z.ZodTypeAny, {
92
- status: Status;
93
- organisation_id: string;
94
- organisation_branch_id: string;
95
- stop_duration_seconds: number;
96
92
  stop_name: string;
97
- country_code: string;
98
- google_location: string;
93
+ stop_code: string;
94
+ stop_type: BusStopType;
95
+ stop_description: string;
96
+ stop_duration_seconds: number;
99
97
  address_line1: string;
100
98
  address_line2: string;
101
99
  locality_landmark: string;
@@ -105,28 +103,30 @@ declare const BusStopSchema: z.ZodObject<{
105
103
  state_province_region: string;
106
104
  postal_code: string;
107
105
  country: string;
108
- stop_code: string;
109
- stop_type: BusStopType;
110
- stop_description: string;
106
+ country_code: string;
107
+ google_location: string;
111
108
  geofence_type: GeofenceType;
112
109
  polygon_data: {
113
110
  latitude: number;
114
111
  longitude: number;
115
112
  }[];
113
+ status: Status;
114
+ organisation_id: string;
115
+ organisation_branch_id: string;
116
116
  stop_latitude?: number | undefined;
117
117
  stop_longitude?: number | undefined;
118
118
  radius_meters?: number | undefined;
119
119
  radius_km?: number | undefined;
120
120
  }, {
121
- status: Status;
122
- organisation_id: string;
123
- organisation_branch_id: string;
124
121
  stop_name: string;
125
122
  stop_type: BusStopType;
126
123
  geofence_type: GeofenceType;
124
+ status: Status;
125
+ organisation_id: string;
126
+ organisation_branch_id: string;
127
+ stop_code?: string | undefined;
128
+ stop_description?: string | undefined;
127
129
  stop_duration_seconds?: unknown;
128
- country_code?: string | undefined;
129
- google_location?: string | undefined;
130
130
  address_line1?: string | undefined;
131
131
  address_line2?: string | undefined;
132
132
  locality_landmark?: string | undefined;
@@ -136,8 +136,8 @@ declare const BusStopSchema: z.ZodObject<{
136
136
  state_province_region?: string | undefined;
137
137
  postal_code?: string | undefined;
138
138
  country?: string | undefined;
139
- stop_code?: string | undefined;
140
- stop_description?: string | undefined;
139
+ country_code?: string | undefined;
140
+ google_location?: string | undefined;
141
141
  stop_latitude?: unknown;
142
142
  stop_longitude?: unknown;
143
143
  radius_meters?: unknown;
@@ -185,6 +185,8 @@ declare const BusStopQuerySchema: z.ZodObject<{
185
185
  stop_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof BusStopType>, "many">>>;
186
186
  geofence_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof GeofenceType>, "many">>>;
187
187
  }, "strip", z.ZodTypeAny, {
188
+ stop_type: BusStopType[];
189
+ geofence_type: GeofenceType[];
188
190
  status: Status[];
189
191
  search: string;
190
192
  paging: PAGING;
@@ -208,12 +210,12 @@ declare const BusStopQuerySchema: z.ZodObject<{
208
210
  time_zone_id: string;
209
211
  organisation_ids: string[];
210
212
  organisation_branch_ids: string[];
211
- stop_type: BusStopType[];
212
- geofence_type: GeofenceType[];
213
213
  bus_stop_ids: string[];
214
214
  }, {
215
215
  date_format_id: string;
216
216
  time_zone_id: string;
217
+ stop_type?: BusStopType[] | undefined;
218
+ geofence_type?: GeofenceType[] | undefined;
217
219
  status?: Status[] | undefined;
218
220
  search?: string | undefined;
219
221
  paging?: PAGING | undefined;
@@ -235,8 +237,6 @@ declare const BusStopQuerySchema: z.ZodObject<{
235
237
  include_master_data?: YesNo | undefined;
236
238
  organisation_ids?: string[] | undefined;
237
239
  organisation_branch_ids?: string[] | undefined;
238
- stop_type?: BusStopType[] | undefined;
239
- geofence_type?: GeofenceType[] | undefined;
240
240
  bus_stop_ids?: string[] | undefined;
241
241
  }>;
242
242
  type BusStopQueryDTO = z.infer<typeof BusStopQuerySchema>;
@@ -1,7 +1,7 @@
1
1
  import { HolidayType, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../core/Enums.js';
2
2
  import { FBR, SBR } from '../../../core/BaseResponse.js';
3
3
  import { z } from 'zod';
4
- import { U as UserOrganisation, O as OrganisationBranch } from '../../../user_organisation_service-DFQbMQ0s.js';
4
+ import { U as UserOrganisation, O as OrganisationBranch } from '../../../user_organisation_service-5X-6GA_y.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-DFQbMQ0s.js';
4
+ import { U as UserOrganisation, O as OrganisationBranch, M as MasterVehicle, b as MasterDriver } from '../../../user_organisation_service-5X-6GA_y.js';
5
5
  import { BusStop } from './bus_stop.js';
6
6
  import { Student } from './student.js';
7
7
  import '../../../zod_utils/zod_base_schema.js';
@@ -121,6 +121,9 @@ declare const MasterRouteSchema: z.ZodObject<{
121
121
  drop_journey_time_in_seconds: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
122
122
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
123
123
  }, "strip", z.ZodTypeAny, {
124
+ status: Status;
125
+ organisation_id: string;
126
+ organisation_branch_id: string;
124
127
  route_name: string;
125
128
  route_code: string;
126
129
  route_notes: string;
@@ -131,19 +134,16 @@ declare const MasterRouteSchema: z.ZodObject<{
131
134
  pickup_end_stop_id: string;
132
135
  drop_start_stop_id: string;
133
136
  drop_end_stop_id: string;
137
+ }, {
134
138
  status: Status;
135
139
  organisation_id: string;
136
140
  organisation_branch_id: string;
137
- }, {
138
141
  route_name: string;
139
142
  route_status: Status;
140
143
  pickup_start_stop_id: string;
141
144
  pickup_end_stop_id: string;
142
145
  drop_start_stop_id: string;
143
146
  drop_end_stop_id: string;
144
- status: Status;
145
- organisation_id: string;
146
- organisation_branch_id: string;
147
147
  route_code?: string | undefined;
148
148
  route_notes?: string | undefined;
149
149
  pickup_journey_time_in_seconds?: unknown;
@@ -186,7 +186,6 @@ declare const MasterRouteQuerySchema: z.ZodObject<{
186
186
  route_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
187
187
  route_status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
188
188
  }, "strip", z.ZodTypeAny, {
189
- route_status: Status[];
190
189
  status: Status[];
191
190
  search: string;
192
191
  paging: PAGING;
@@ -210,11 +209,11 @@ declare const MasterRouteQuerySchema: z.ZodObject<{
210
209
  time_zone_id: string;
211
210
  organisation_ids: string[];
212
211
  organisation_branch_ids: string[];
212
+ route_status: Status[];
213
213
  route_ids: string[];
214
214
  }, {
215
215
  date_format_id: string;
216
216
  time_zone_id: string;
217
- route_status?: Status[] | undefined;
218
217
  status?: Status[] | undefined;
219
218
  search?: string | undefined;
220
219
  paging?: PAGING | undefined;
@@ -236,6 +235,7 @@ declare const MasterRouteQuerySchema: z.ZodObject<{
236
235
  include_master_data?: YesNo | undefined;
237
236
  organisation_ids?: string[] | undefined;
238
237
  organisation_branch_ids?: string[] | undefined;
238
+ route_status?: Status[] | undefined;
239
239
  route_ids?: string[] | undefined;
240
240
  }>;
241
241
  type MasterRouteQueryDTO = z.infer<typeof MasterRouteQuerySchema>;
@@ -265,10 +265,12 @@ declare const MasterFixedScheduleSchema: z.ZodObject<{
265
265
  saturday: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
266
266
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
267
267
  }, "strip", z.ZodTypeAny, {
268
- route_id: string;
269
268
  status: Status;
270
269
  organisation_id: string;
271
270
  organisation_branch_id: string;
271
+ driver_id: string;
272
+ vehicle_id: string;
273
+ route_id: string;
272
274
  schedule_name: string;
273
275
  schedule_status: Status;
274
276
  is_stops_finalized: YesNo;
@@ -286,14 +288,14 @@ declare const MasterFixedScheduleSchema: z.ZodObject<{
286
288
  thursday: YesNo;
287
289
  friday: YesNo;
288
290
  saturday: YesNo;
289
- vehicle_id: string;
290
- driver_id: string;
291
291
  attendant_id: string;
292
292
  }, {
293
- route_id: string;
294
293
  status: Status;
295
294
  organisation_id: string;
296
295
  organisation_branch_id: string;
296
+ driver_id: string;
297
+ vehicle_id: string;
298
+ route_id: string;
297
299
  schedule_name: string;
298
300
  schedule_status: Status;
299
301
  is_stops_finalized: YesNo;
@@ -305,8 +307,6 @@ declare const MasterFixedScheduleSchema: z.ZodObject<{
305
307
  thursday: YesNo;
306
308
  friday: YesNo;
307
309
  saturday: YesNo;
308
- vehicle_id: string;
309
- driver_id: string;
310
310
  attendant_id: string;
311
311
  start_hour?: unknown;
312
312
  start_minute?: unknown;
@@ -359,9 +359,6 @@ declare const MasterFixedScheduleQuerySchema: z.ZodObject<{
359
359
  schedule_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof BusLeg>, "many">>>;
360
360
  }, "strip", z.ZodTypeAny, {
361
361
  status: Status[];
362
- schedule_status: Status[];
363
- is_stops_finalized: YesNo[];
364
- schedule_type: BusLeg[];
365
362
  search: string;
366
363
  paging: PAGING;
367
364
  page_count: number;
@@ -384,18 +381,18 @@ declare const MasterFixedScheduleQuerySchema: z.ZodObject<{
384
381
  time_zone_id: string;
385
382
  organisation_ids: string[];
386
383
  organisation_branch_ids: string[];
387
- route_ids: string[];
388
384
  vehicle_ids: string[];
389
385
  driver_ids: string[];
386
+ schedule_status: Status[];
387
+ is_stops_finalized: YesNo[];
388
+ schedule_type: BusLeg[];
389
+ route_ids: string[];
390
390
  attendant_ids: string[];
391
391
  fixed_schedule_ids: string[];
392
392
  }, {
393
393
  date_format_id: string;
394
394
  time_zone_id: string;
395
395
  status?: Status[] | undefined;
396
- schedule_status?: Status[] | undefined;
397
- is_stops_finalized?: YesNo[] | undefined;
398
- schedule_type?: BusLeg[] | undefined;
399
396
  search?: string | undefined;
400
397
  paging?: PAGING | undefined;
401
398
  page_count?: unknown;
@@ -416,9 +413,12 @@ declare const MasterFixedScheduleQuerySchema: z.ZodObject<{
416
413
  include_master_data?: YesNo | undefined;
417
414
  organisation_ids?: string[] | undefined;
418
415
  organisation_branch_ids?: string[] | undefined;
419
- route_ids?: string[] | undefined;
420
416
  vehicle_ids?: string[] | undefined;
421
417
  driver_ids?: string[] | undefined;
418
+ schedule_status?: Status[] | undefined;
419
+ is_stops_finalized?: YesNo[] | undefined;
420
+ schedule_type?: BusLeg[] | undefined;
421
+ route_ids?: string[] | undefined;
422
422
  attendant_ids?: string[] | undefined;
423
423
  fixed_schedule_ids?: string[] | undefined;
424
424
  }>;
@@ -429,14 +429,14 @@ declare const MasterRouteStopSchema: z.ZodObject<{
429
429
  travel_seconds_to_next_stop: z.ZodEffects<z.ZodNumber, number, unknown>;
430
430
  bus_stop_id: z.ZodEffects<z.ZodString, string, string>;
431
431
  }, "strip", z.ZodTypeAny, {
432
- order_no: number;
432
+ bus_stop_id: string;
433
433
  stop_duration_seconds: number;
434
+ order_no: number;
434
435
  travel_seconds_to_next_stop: number;
435
- bus_stop_id: string;
436
436
  }, {
437
437
  bus_stop_id: string;
438
- order_no?: unknown;
439
438
  stop_duration_seconds?: unknown;
439
+ order_no?: unknown;
440
440
  travel_seconds_to_next_stop?: unknown;
441
441
  }>;
442
442
  type MasterRouteStopDTO = z.infer<typeof MasterRouteStopSchema>;
@@ -445,9 +445,9 @@ declare const MasterRouteStopUpdateSchema: z.ZodObject<{
445
445
  travel_seconds_to_next_stop: z.ZodEffects<z.ZodNumber, number, unknown>;
446
446
  bus_stop_id: z.ZodEffects<z.ZodString, string, string>;
447
447
  }, "strip", z.ZodTypeAny, {
448
+ bus_stop_id: string;
448
449
  stop_duration_seconds: number;
449
450
  travel_seconds_to_next_stop: number;
450
- bus_stop_id: string;
451
451
  }, {
452
452
  bus_stop_id: string;
453
453
  stop_duration_seconds?: unknown;
@@ -466,38 +466,38 @@ declare const MasterRouteStopCreateSchema: z.ZodObject<{
466
466
  travel_seconds_to_next_stop: z.ZodEffects<z.ZodNumber, number, unknown>;
467
467
  bus_stop_id: z.ZodEffects<z.ZodString, string, string>;
468
468
  }, z.UnknownKeysParam, z.ZodTypeAny, {
469
- order_no: number;
469
+ bus_stop_id: string;
470
470
  stop_duration_seconds: number;
471
+ order_no: number;
471
472
  travel_seconds_to_next_stop: number;
472
- bus_stop_id: string;
473
473
  }, {
474
474
  bus_stop_id: string;
475
- order_no?: unknown;
476
475
  stop_duration_seconds?: unknown;
476
+ order_no?: unknown;
477
477
  travel_seconds_to_next_stop?: unknown;
478
478
  }>, "many">>>;
479
479
  }, "strip", z.ZodTypeAny, {
480
- route_id: string;
481
480
  status: Status;
482
481
  organisation_id: string;
483
482
  organisation_branch_id: string;
484
- leg: BusLeg;
485
483
  MasterRouteStop: {
486
- order_no: number;
484
+ bus_stop_id: string;
487
485
  stop_duration_seconds: number;
486
+ order_no: number;
488
487
  travel_seconds_to_next_stop: number;
489
- bus_stop_id: string;
490
488
  }[];
491
- }, {
492
489
  route_id: string;
490
+ leg: BusLeg;
491
+ }, {
493
492
  status: Status;
494
493
  organisation_id: string;
495
494
  organisation_branch_id: string;
495
+ route_id: string;
496
496
  leg: BusLeg;
497
497
  MasterRouteStop?: {
498
498
  bus_stop_id: string;
499
- order_no?: unknown;
500
499
  stop_duration_seconds?: unknown;
500
+ order_no?: unknown;
501
501
  travel_seconds_to_next_stop?: unknown;
502
502
  }[] | undefined;
503
503
  }>;
@@ -550,13 +550,13 @@ declare const MasterRouteStopDeleteSchema: z.ZodObject<{
550
550
  bus_stop_id: z.ZodEffects<z.ZodString, string, string>;
551
551
  leg: z.ZodType<BusLeg, z.ZodTypeDef, BusLeg>;
552
552
  }, "strip", z.ZodTypeAny, {
553
+ bus_stop_id: string;
553
554
  route_id: string;
554
555
  leg: BusLeg;
555
- bus_stop_id: string;
556
556
  }, {
557
+ bus_stop_id: string;
557
558
  route_id: string;
558
559
  leg: BusLeg;
559
- bus_stop_id: string;
560
560
  }>;
561
561
  type MasterRouteStopDeleteReOrderDTO = z.infer<typeof MasterRouteStopDeleteSchema>;
562
562
  declare const StudentNoStopQuerySchema: z.ZodObject<{
@@ -592,7 +592,6 @@ declare const StudentNoStopQuerySchema: z.ZodObject<{
592
592
  } & {
593
593
  route_id: z.ZodEffects<z.ZodString, string, string>;
594
594
  }, "strip", z.ZodTypeAny, {
595
- route_id: string;
596
595
  status: Status[];
597
596
  search: string;
598
597
  paging: PAGING;
@@ -614,10 +613,11 @@ declare const StudentNoStopQuerySchema: z.ZodObject<{
614
613
  include_master_data: YesNo;
615
614
  date_format_id: string;
616
615
  time_zone_id: string;
617
- }, {
618
616
  route_id: string;
617
+ }, {
619
618
  date_format_id: string;
620
619
  time_zone_id: string;
620
+ route_id: string;
621
621
  status?: Status[] | undefined;
622
622
  search?: string | undefined;
623
623
  paging?: PAGING | undefined;
@@ -672,7 +672,6 @@ declare const StudentNoScheduleQuerySchema: z.ZodObject<{
672
672
  } & {
673
673
  route_id: z.ZodEffects<z.ZodString, string, string>;
674
674
  }, "strip", z.ZodTypeAny, {
675
- route_id: string;
676
675
  status: Status[];
677
676
  search: string;
678
677
  paging: PAGING;
@@ -694,10 +693,11 @@ declare const StudentNoScheduleQuerySchema: z.ZodObject<{
694
693
  include_master_data: YesNo;
695
694
  date_format_id: string;
696
695
  time_zone_id: string;
697
- }, {
698
696
  route_id: string;
697
+ }, {
699
698
  date_format_id: string;
700
699
  time_zone_id: string;
700
+ route_id: string;
701
701
  status?: Status[] | undefined;
702
702
  search?: string | undefined;
703
703
  paging?: PAGING | undefined;
@@ -723,8 +723,8 @@ declare const MasterRouteStudentAssignRemoveSchema: z.ZodObject<{
723
723
  route_id: z.ZodEffects<z.ZodString, string, string>;
724
724
  student_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
725
725
  }, "strip", z.ZodTypeAny, {
726
- route_id: string;
727
726
  student_ids: string[];
727
+ route_id: string;
728
728
  }, {
729
729
  route_id: string;
730
730
  student_ids?: string[] | undefined;
@@ -1,7 +1,7 @@
1
1
  import { Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../core/Enums.js';
2
2
  import { FBR, SBR } from '../../../core/BaseResponse.js';
3
3
  import { z } from 'zod';
4
- import { U as UserOrganisation, O as OrganisationBranch } from '../../../user_organisation_service-DFQbMQ0s.js';
4
+ import { U as UserOrganisation, O as OrganisationBranch } from '../../../user_organisation_service-5X-6GA_y.js';
5
5
  import '../../../zod_utils/zod_base_schema.js';
6
6
  import '../../master/main/master_main_sim_provider_service.js';
7
7