vms-nest-prisma-api-document 223.0.0 → 225.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/services/account/analytics/user_login_analytics_service.d.ts +3 -3
- package/dist/services/account/analytics/user_page_analytics_service.d.ts +1 -1
- package/dist/services/account/bookmark_service.d.ts +9 -9
- package/dist/services/account/notification_preferences.service.d.ts +11 -11
- package/dist/services/account/report_preferences.service.d.ts +24 -24
- package/dist/services/account/ticket_service.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/bus_stop.d.ts +21 -21
- package/dist/services/fleet/bus_mangement/calender.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/master_route.d.ts +41 -41
- package/dist/services/fleet/bus_mangement/notice_board.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/student.d.ts +25 -25
- package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.d.ts +3 -3
- package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.d.ts +57 -55
- package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +27 -25
- package/dist/services/fleet/incident_management/incident_management_service.d.ts +1 -1
- package/dist/services/fleet/issue_management/issue_management_service.d.ts +1 -1
- package/dist/services/fleet/service_management/fleet_service_management_service.d.ts +40 -40
- package/dist/services/fleet/service_management/fleet_service_management_task_service.d.ts +6 -6
- package/dist/services/fleet/vendor_management/fleet_vendor_fuel_station.d.ts +1 -1
- package/dist/services/fleet/vendor_management/fleet_vendor_service.d.ts +1 -1
- package/dist/services/fleet/vendor_management/fleet_vendor_service_center.d.ts +1 -1
- package/dist/services/gps/features/geofence/gps_geofence_service.d.ts +1 -1
- package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +1 -1
- package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +1 -1
- package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +1 -1
- package/dist/services/gps/features/gps_live_track_share_link_service.d.ts +1 -1
- package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +1 -1
- package/dist/services/gps/reports/gps_reports_mongo_service.d.ts +46 -46
- package/dist/services/main/devices/master_device_service.d.ts +1 -1
- package/dist/services/main/drivers/master_driver_service.d.ts +1 -1
- package/dist/services/main/sims/master_sim_service.d.ts +1 -1
- package/dist/services/main/users/auth_service.d.ts +1 -1
- package/dist/services/main/users/user_admin_service.d.ts +2 -2
- package/dist/services/main/users/user_organisation_service.d.ts +1 -1
- package/dist/services/main/users/user_service.d.ts +1 -1
- package/dist/services/main/vehicle/childs/vehicle_odometer_history.d.ts +1 -1
- package/dist/services/main/vehicle/master_vehicle_service.d.ts +1 -1
- package/dist/services/master/bus/master_class_service.d.ts +1 -1
- package/dist/services/master/bus/master_program_service.d.ts +1 -1
- package/dist/services/master/bus/master_relationship_service.d.ts +1 -1
- package/dist/services/master/bus/master_section_service.d.ts +1 -1
- package/dist/services/master/bus/master_semester_service.d.ts +1 -1
- package/dist/services/master/bus/master_stream_service.d.ts +1 -1
- package/dist/services/master/bus/master_year_service.d.ts +1 -1
- package/dist/services/master/device/master_device_manufacturer_service.d.ts +1 -1
- package/dist/services/master/device/master_device_model_service.d.ts +1 -1
- package/dist/services/master/device/master_device_type_service.d.ts +1 -1
- package/dist/services/master/expense/master_expense_name_service.d.ts +1 -1
- package/dist/services/master/expense/master_expense_type_service.d.ts +1 -1
- package/dist/services/master/expense/master_fuel_company_service.d.ts +1 -1
- package/dist/services/master/expense/master_vendor_document_type_service.d.ts +1 -1
- package/dist/services/master/expense/master_vendor_tag_service.d.ts +1 -1
- package/dist/services/master/expense/master_vendor_type_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_incident_severity_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_incident_status_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_incident_type_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_insurance_claim_status_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_service_task_service.d.ts +6 -6
- package/dist/services/master/main/master_main_country_service.d.ts +1 -1
- package/dist/services/master/main/master_main_currency_service.d.ts +1 -1
- package/dist/services/master/main/master_main_date_format_service.d.ts +1 -1
- package/dist/services/master/main/master_main_industry_service.d.ts +1 -1
- package/dist/services/master/main/master_main_landmark_service.d.ts +1 -1
- package/dist/services/master/main/master_main_language_service.d.ts +1 -1
- package/dist/services/master/main/master_main_state_service.d.ts +1 -1
- package/dist/services/master/main/master_main_timezone_service.d.ts +1 -1
- package/dist/services/master/main/master_main_unit_distance_service.d.ts +1 -1
- package/dist/services/master/main/master_main_unit_mileage_service.d.ts +1 -1
- package/dist/services/master/main/master_main_unit_volume_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_branch_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_color_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_group_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_sub_company_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_tag_service.d.ts +1 -1
- package/dist/services/master/spare_part/master_spare_part_category_service.d.ts +1 -1
- package/dist/services/master/spare_part/master_spare_part_sub_category_service.d.ts +9 -9
- package/dist/services/master/spare_part/master_spare_part_unit_service.d.ts +1 -1
- package/dist/services/master/trip/master_trip_party_type_service.d.ts +1 -1
- package/dist/services/master/tyre/master_tyre_grade_service.d.ts +1 -1
- package/dist/services/master/tyre/master_tyre_make_service.d.ts +1 -1
- package/dist/services/master/tyre/master_tyre_model_service.d.ts +1 -1
- package/dist/services/master/user/master_user_role_service.d.ts +1 -1
- package/dist/services/master/user/master_user_status_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_associated_to_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_document_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_fuel_removal_reason_service.d.ts +3 -3
- package/dist/services/master/vehicle/master_vehicle_fuel_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_fuel_unit_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_make_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_model_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_ownership_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_status_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_sub_model_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_type_service.d.ts +1 -1
- package/dist/services/website/contact_us_detail_service.d.ts +1 -1
- package/dist/services/website/faq_service.d.ts +1 -1
- package/package.json +1 -1
- package/dist/{user_organisation_service-CJhn--xh.d.ts → user_organisation_service-DFQbMQ0s.d.ts} +47 -47
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Status, BusLeg, YesNo, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy } from '../../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR } from '../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, O as OrganisationBranch, M as MasterVehicle, b as MasterDriver } from '../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, O as OrganisationBranch, M as MasterVehicle, b as MasterDriver } from '../../../user_organisation_service-DFQbMQ0s.js';
|
|
5
5
|
import { BusStop } from './bus_stop.js';
|
|
6
6
|
import { Student } from './student.js';
|
|
7
7
|
import '../../../zod_utils/zod_base_schema.js';
|
|
@@ -121,9 +121,6 @@ declare const MasterRouteSchema: z.ZodObject<{
|
|
|
121
121
|
drop_journey_time_in_seconds: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
122
122
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
123
123
|
}, "strip", z.ZodTypeAny, {
|
|
124
|
-
status: Status;
|
|
125
|
-
organisation_id: string;
|
|
126
|
-
organisation_branch_id: string;
|
|
127
124
|
route_name: string;
|
|
128
125
|
route_code: string;
|
|
129
126
|
route_notes: string;
|
|
@@ -134,16 +131,19 @@ declare const MasterRouteSchema: z.ZodObject<{
|
|
|
134
131
|
pickup_end_stop_id: string;
|
|
135
132
|
drop_start_stop_id: string;
|
|
136
133
|
drop_end_stop_id: string;
|
|
137
|
-
}, {
|
|
138
134
|
status: Status;
|
|
139
135
|
organisation_id: string;
|
|
140
136
|
organisation_branch_id: string;
|
|
137
|
+
}, {
|
|
141
138
|
route_name: string;
|
|
142
139
|
route_status: Status;
|
|
143
140
|
pickup_start_stop_id: string;
|
|
144
141
|
pickup_end_stop_id: string;
|
|
145
142
|
drop_start_stop_id: string;
|
|
146
143
|
drop_end_stop_id: string;
|
|
144
|
+
status: Status;
|
|
145
|
+
organisation_id: string;
|
|
146
|
+
organisation_branch_id: string;
|
|
147
147
|
route_code?: string | undefined;
|
|
148
148
|
route_notes?: string | undefined;
|
|
149
149
|
pickup_journey_time_in_seconds?: unknown;
|
|
@@ -186,6 +186,7 @@ declare const MasterRouteQuerySchema: z.ZodObject<{
|
|
|
186
186
|
route_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
187
187
|
route_status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
|
|
188
188
|
}, "strip", z.ZodTypeAny, {
|
|
189
|
+
route_status: Status[];
|
|
189
190
|
status: Status[];
|
|
190
191
|
search: string;
|
|
191
192
|
paging: PAGING;
|
|
@@ -209,11 +210,11 @@ declare const MasterRouteQuerySchema: z.ZodObject<{
|
|
|
209
210
|
time_zone_id: string;
|
|
210
211
|
organisation_ids: string[];
|
|
211
212
|
organisation_branch_ids: string[];
|
|
212
|
-
route_status: Status[];
|
|
213
213
|
route_ids: string[];
|
|
214
214
|
}, {
|
|
215
215
|
date_format_id: string;
|
|
216
216
|
time_zone_id: string;
|
|
217
|
+
route_status?: Status[] | undefined;
|
|
217
218
|
status?: Status[] | undefined;
|
|
218
219
|
search?: string | undefined;
|
|
219
220
|
paging?: PAGING | undefined;
|
|
@@ -235,7 +236,6 @@ declare const MasterRouteQuerySchema: z.ZodObject<{
|
|
|
235
236
|
include_master_data?: YesNo | undefined;
|
|
236
237
|
organisation_ids?: string[] | undefined;
|
|
237
238
|
organisation_branch_ids?: string[] | undefined;
|
|
238
|
-
route_status?: Status[] | undefined;
|
|
239
239
|
route_ids?: string[] | undefined;
|
|
240
240
|
}>;
|
|
241
241
|
type MasterRouteQueryDTO = z.infer<typeof MasterRouteQuerySchema>;
|
|
@@ -265,12 +265,10 @@ declare const MasterFixedScheduleSchema: z.ZodObject<{
|
|
|
265
265
|
saturday: z.ZodType<YesNo, z.ZodTypeDef, YesNo>;
|
|
266
266
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
267
267
|
}, "strip", z.ZodTypeAny, {
|
|
268
|
+
route_id: string;
|
|
268
269
|
status: Status;
|
|
269
270
|
organisation_id: string;
|
|
270
271
|
organisation_branch_id: string;
|
|
271
|
-
driver_id: string;
|
|
272
|
-
vehicle_id: string;
|
|
273
|
-
route_id: string;
|
|
274
272
|
schedule_name: string;
|
|
275
273
|
schedule_status: Status;
|
|
276
274
|
is_stops_finalized: YesNo;
|
|
@@ -288,14 +286,14 @@ declare const MasterFixedScheduleSchema: z.ZodObject<{
|
|
|
288
286
|
thursday: YesNo;
|
|
289
287
|
friday: YesNo;
|
|
290
288
|
saturday: YesNo;
|
|
289
|
+
vehicle_id: string;
|
|
290
|
+
driver_id: string;
|
|
291
291
|
attendant_id: string;
|
|
292
292
|
}, {
|
|
293
|
+
route_id: string;
|
|
293
294
|
status: Status;
|
|
294
295
|
organisation_id: string;
|
|
295
296
|
organisation_branch_id: string;
|
|
296
|
-
driver_id: string;
|
|
297
|
-
vehicle_id: string;
|
|
298
|
-
route_id: string;
|
|
299
297
|
schedule_name: string;
|
|
300
298
|
schedule_status: Status;
|
|
301
299
|
is_stops_finalized: YesNo;
|
|
@@ -307,6 +305,8 @@ declare const MasterFixedScheduleSchema: z.ZodObject<{
|
|
|
307
305
|
thursday: YesNo;
|
|
308
306
|
friday: YesNo;
|
|
309
307
|
saturday: YesNo;
|
|
308
|
+
vehicle_id: string;
|
|
309
|
+
driver_id: string;
|
|
310
310
|
attendant_id: string;
|
|
311
311
|
start_hour?: unknown;
|
|
312
312
|
start_minute?: unknown;
|
|
@@ -359,6 +359,9 @@ declare const MasterFixedScheduleQuerySchema: z.ZodObject<{
|
|
|
359
359
|
schedule_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof BusLeg>, "many">>>;
|
|
360
360
|
}, "strip", z.ZodTypeAny, {
|
|
361
361
|
status: Status[];
|
|
362
|
+
schedule_status: Status[];
|
|
363
|
+
is_stops_finalized: YesNo[];
|
|
364
|
+
schedule_type: BusLeg[];
|
|
362
365
|
search: string;
|
|
363
366
|
paging: PAGING;
|
|
364
367
|
page_count: number;
|
|
@@ -381,18 +384,18 @@ declare const MasterFixedScheduleQuerySchema: z.ZodObject<{
|
|
|
381
384
|
time_zone_id: string;
|
|
382
385
|
organisation_ids: string[];
|
|
383
386
|
organisation_branch_ids: string[];
|
|
387
|
+
route_ids: string[];
|
|
384
388
|
vehicle_ids: string[];
|
|
385
389
|
driver_ids: string[];
|
|
386
|
-
schedule_status: Status[];
|
|
387
|
-
is_stops_finalized: YesNo[];
|
|
388
|
-
schedule_type: BusLeg[];
|
|
389
|
-
route_ids: string[];
|
|
390
390
|
attendant_ids: string[];
|
|
391
391
|
fixed_schedule_ids: string[];
|
|
392
392
|
}, {
|
|
393
393
|
date_format_id: string;
|
|
394
394
|
time_zone_id: string;
|
|
395
395
|
status?: Status[] | undefined;
|
|
396
|
+
schedule_status?: Status[] | undefined;
|
|
397
|
+
is_stops_finalized?: YesNo[] | undefined;
|
|
398
|
+
schedule_type?: BusLeg[] | undefined;
|
|
396
399
|
search?: string | undefined;
|
|
397
400
|
paging?: PAGING | undefined;
|
|
398
401
|
page_count?: unknown;
|
|
@@ -413,12 +416,9 @@ declare const MasterFixedScheduleQuerySchema: z.ZodObject<{
|
|
|
413
416
|
include_master_data?: YesNo | undefined;
|
|
414
417
|
organisation_ids?: string[] | undefined;
|
|
415
418
|
organisation_branch_ids?: string[] | undefined;
|
|
419
|
+
route_ids?: string[] | undefined;
|
|
416
420
|
vehicle_ids?: string[] | undefined;
|
|
417
421
|
driver_ids?: string[] | undefined;
|
|
418
|
-
schedule_status?: Status[] | undefined;
|
|
419
|
-
is_stops_finalized?: YesNo[] | undefined;
|
|
420
|
-
schedule_type?: BusLeg[] | undefined;
|
|
421
|
-
route_ids?: string[] | undefined;
|
|
422
422
|
attendant_ids?: string[] | undefined;
|
|
423
423
|
fixed_schedule_ids?: string[] | undefined;
|
|
424
424
|
}>;
|
|
@@ -429,14 +429,14 @@ declare const MasterRouteStopSchema: z.ZodObject<{
|
|
|
429
429
|
travel_seconds_to_next_stop: z.ZodEffects<z.ZodNumber, number, unknown>;
|
|
430
430
|
bus_stop_id: z.ZodEffects<z.ZodString, string, string>;
|
|
431
431
|
}, "strip", z.ZodTypeAny, {
|
|
432
|
-
bus_stop_id: string;
|
|
433
|
-
stop_duration_seconds: number;
|
|
434
432
|
order_no: number;
|
|
433
|
+
stop_duration_seconds: number;
|
|
435
434
|
travel_seconds_to_next_stop: number;
|
|
435
|
+
bus_stop_id: string;
|
|
436
436
|
}, {
|
|
437
437
|
bus_stop_id: string;
|
|
438
|
-
stop_duration_seconds?: unknown;
|
|
439
438
|
order_no?: unknown;
|
|
439
|
+
stop_duration_seconds?: unknown;
|
|
440
440
|
travel_seconds_to_next_stop?: unknown;
|
|
441
441
|
}>;
|
|
442
442
|
type MasterRouteStopDTO = z.infer<typeof MasterRouteStopSchema>;
|
|
@@ -445,9 +445,9 @@ declare const MasterRouteStopUpdateSchema: z.ZodObject<{
|
|
|
445
445
|
travel_seconds_to_next_stop: z.ZodEffects<z.ZodNumber, number, unknown>;
|
|
446
446
|
bus_stop_id: z.ZodEffects<z.ZodString, string, string>;
|
|
447
447
|
}, "strip", z.ZodTypeAny, {
|
|
448
|
-
bus_stop_id: string;
|
|
449
448
|
stop_duration_seconds: number;
|
|
450
449
|
travel_seconds_to_next_stop: number;
|
|
450
|
+
bus_stop_id: string;
|
|
451
451
|
}, {
|
|
452
452
|
bus_stop_id: string;
|
|
453
453
|
stop_duration_seconds?: unknown;
|
|
@@ -466,38 +466,38 @@ declare const MasterRouteStopCreateSchema: z.ZodObject<{
|
|
|
466
466
|
travel_seconds_to_next_stop: z.ZodEffects<z.ZodNumber, number, unknown>;
|
|
467
467
|
bus_stop_id: z.ZodEffects<z.ZodString, string, string>;
|
|
468
468
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
469
|
-
bus_stop_id: string;
|
|
470
|
-
stop_duration_seconds: number;
|
|
471
469
|
order_no: number;
|
|
470
|
+
stop_duration_seconds: number;
|
|
472
471
|
travel_seconds_to_next_stop: number;
|
|
472
|
+
bus_stop_id: string;
|
|
473
473
|
}, {
|
|
474
474
|
bus_stop_id: string;
|
|
475
|
-
stop_duration_seconds?: unknown;
|
|
476
475
|
order_no?: unknown;
|
|
476
|
+
stop_duration_seconds?: unknown;
|
|
477
477
|
travel_seconds_to_next_stop?: unknown;
|
|
478
478
|
}>, "many">>>;
|
|
479
479
|
}, "strip", z.ZodTypeAny, {
|
|
480
|
+
route_id: string;
|
|
480
481
|
status: Status;
|
|
481
482
|
organisation_id: string;
|
|
482
483
|
organisation_branch_id: string;
|
|
484
|
+
leg: BusLeg;
|
|
483
485
|
MasterRouteStop: {
|
|
484
|
-
bus_stop_id: string;
|
|
485
|
-
stop_duration_seconds: number;
|
|
486
486
|
order_no: number;
|
|
487
|
+
stop_duration_seconds: number;
|
|
487
488
|
travel_seconds_to_next_stop: number;
|
|
489
|
+
bus_stop_id: string;
|
|
488
490
|
}[];
|
|
489
|
-
route_id: string;
|
|
490
|
-
leg: BusLeg;
|
|
491
491
|
}, {
|
|
492
|
+
route_id: string;
|
|
492
493
|
status: Status;
|
|
493
494
|
organisation_id: string;
|
|
494
495
|
organisation_branch_id: string;
|
|
495
|
-
route_id: string;
|
|
496
496
|
leg: BusLeg;
|
|
497
497
|
MasterRouteStop?: {
|
|
498
498
|
bus_stop_id: string;
|
|
499
|
-
stop_duration_seconds?: unknown;
|
|
500
499
|
order_no?: unknown;
|
|
500
|
+
stop_duration_seconds?: unknown;
|
|
501
501
|
travel_seconds_to_next_stop?: unknown;
|
|
502
502
|
}[] | undefined;
|
|
503
503
|
}>;
|
|
@@ -550,13 +550,13 @@ declare const MasterRouteStopDeleteSchema: z.ZodObject<{
|
|
|
550
550
|
bus_stop_id: z.ZodEffects<z.ZodString, string, string>;
|
|
551
551
|
leg: z.ZodType<BusLeg, z.ZodTypeDef, BusLeg>;
|
|
552
552
|
}, "strip", z.ZodTypeAny, {
|
|
553
|
-
bus_stop_id: string;
|
|
554
553
|
route_id: string;
|
|
555
554
|
leg: BusLeg;
|
|
556
|
-
}, {
|
|
557
555
|
bus_stop_id: string;
|
|
556
|
+
}, {
|
|
558
557
|
route_id: string;
|
|
559
558
|
leg: BusLeg;
|
|
559
|
+
bus_stop_id: string;
|
|
560
560
|
}>;
|
|
561
561
|
type MasterRouteStopDeleteReOrderDTO = z.infer<typeof MasterRouteStopDeleteSchema>;
|
|
562
562
|
declare const StudentNoStopQuerySchema: z.ZodObject<{
|
|
@@ -592,6 +592,7 @@ declare const StudentNoStopQuerySchema: z.ZodObject<{
|
|
|
592
592
|
} & {
|
|
593
593
|
route_id: z.ZodEffects<z.ZodString, string, string>;
|
|
594
594
|
}, "strip", z.ZodTypeAny, {
|
|
595
|
+
route_id: string;
|
|
595
596
|
status: Status[];
|
|
596
597
|
search: string;
|
|
597
598
|
paging: PAGING;
|
|
@@ -613,11 +614,10 @@ declare const StudentNoStopQuerySchema: z.ZodObject<{
|
|
|
613
614
|
include_master_data: YesNo;
|
|
614
615
|
date_format_id: string;
|
|
615
616
|
time_zone_id: string;
|
|
616
|
-
route_id: string;
|
|
617
617
|
}, {
|
|
618
|
+
route_id: string;
|
|
618
619
|
date_format_id: string;
|
|
619
620
|
time_zone_id: string;
|
|
620
|
-
route_id: string;
|
|
621
621
|
status?: Status[] | undefined;
|
|
622
622
|
search?: string | undefined;
|
|
623
623
|
paging?: PAGING | undefined;
|
|
@@ -672,6 +672,7 @@ declare const StudentNoScheduleQuerySchema: z.ZodObject<{
|
|
|
672
672
|
} & {
|
|
673
673
|
route_id: z.ZodEffects<z.ZodString, string, string>;
|
|
674
674
|
}, "strip", z.ZodTypeAny, {
|
|
675
|
+
route_id: string;
|
|
675
676
|
status: Status[];
|
|
676
677
|
search: string;
|
|
677
678
|
paging: PAGING;
|
|
@@ -693,11 +694,10 @@ declare const StudentNoScheduleQuerySchema: z.ZodObject<{
|
|
|
693
694
|
include_master_data: YesNo;
|
|
694
695
|
date_format_id: string;
|
|
695
696
|
time_zone_id: string;
|
|
696
|
-
route_id: string;
|
|
697
697
|
}, {
|
|
698
|
+
route_id: string;
|
|
698
699
|
date_format_id: string;
|
|
699
700
|
time_zone_id: string;
|
|
700
|
-
route_id: string;
|
|
701
701
|
status?: Status[] | undefined;
|
|
702
702
|
search?: string | undefined;
|
|
703
703
|
paging?: PAGING | undefined;
|
|
@@ -723,8 +723,8 @@ declare const MasterRouteStudentAssignRemoveSchema: z.ZodObject<{
|
|
|
723
723
|
route_id: z.ZodEffects<z.ZodString, string, string>;
|
|
724
724
|
student_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
725
725
|
}, "strip", z.ZodTypeAny, {
|
|
726
|
-
student_ids: string[];
|
|
727
726
|
route_id: string;
|
|
727
|
+
student_ids: string[];
|
|
728
728
|
}, {
|
|
729
729
|
route_id: string;
|
|
730
730
|
student_ids?: string[] | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR } from '../../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, O as OrganisationBranch } from '../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, O as OrganisationBranch } from '../../../user_organisation_service-DFQbMQ0s.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-
|
|
4
|
+
import { U as UserOrganisation, O as OrganisationBranch } from '../../../user_organisation_service-DFQbMQ0s.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,12 @@ 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;
|
|
472
|
+
google_location: string;
|
|
467
473
|
address_line1: string;
|
|
468
474
|
address_line2: string;
|
|
469
475
|
locality_landmark: string;
|
|
@@ -473,23 +479,21 @@ declare const StudentAddressSchema: z.ZodObject<{
|
|
|
473
479
|
state_province_region: string;
|
|
474
480
|
postal_code: string;
|
|
475
481
|
country: string;
|
|
476
|
-
country_code: string;
|
|
477
|
-
google_location: string;
|
|
478
|
-
status: Status;
|
|
479
|
-
organisation_id: string;
|
|
480
|
-
organisation_branch_id: string;
|
|
481
482
|
is_default: YesNo;
|
|
482
483
|
notes: string;
|
|
483
|
-
student_id: string;
|
|
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
|
-
is_default: YesNo;
|
|
492
490
|
student_id: string;
|
|
491
|
+
address_line1: string;
|
|
492
|
+
is_default: YesNo;
|
|
493
|
+
country_code?: string | undefined;
|
|
494
|
+
latitude?: unknown;
|
|
495
|
+
longitude?: unknown;
|
|
496
|
+
google_location?: string | undefined;
|
|
493
497
|
address_line2?: string | undefined;
|
|
494
498
|
locality_landmark?: string | undefined;
|
|
495
499
|
neighborhood?: string | undefined;
|
|
@@ -498,10 +502,6 @@ declare const StudentAddressSchema: z.ZodObject<{
|
|
|
498
502
|
state_province_region?: string | undefined;
|
|
499
503
|
postal_code?: string | undefined;
|
|
500
504
|
country?: string | undefined;
|
|
501
|
-
country_code?: string | undefined;
|
|
502
|
-
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
|
-
bus_stop_ids: string[];
|
|
578
|
-
is_default: YesNo[];
|
|
579
577
|
student_ids: string[];
|
|
578
|
+
is_default: YesNo[];
|
|
579
|
+
bus_stop_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
|
-
bus_stop_ids?: string[] | undefined;
|
|
606
|
-
is_default?: YesNo[] | undefined;
|
|
607
605
|
student_ids?: string[] | undefined;
|
|
606
|
+
is_default?: YesNo[] | undefined;
|
|
607
|
+
bus_stop_ids?: string[] | undefined;
|
|
608
608
|
student_address_ids?: string[] | undefined;
|
|
609
609
|
}>;
|
|
610
610
|
type StudentAddressQueryDTO = z.infer<typeof StudentAddressQuerySchema>;
|
|
@@ -627,13 +627,13 @@ 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
|
is_primary: YesNo;
|
|
634
635
|
alternative_mobile: string;
|
|
635
636
|
relationship_id: string;
|
|
636
|
-
student_id: string;
|
|
637
637
|
photo_url: string;
|
|
638
638
|
photo_key: string;
|
|
639
639
|
photo_name: string;
|
|
@@ -642,10 +642,10 @@ 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
|
is_primary: YesNo;
|
|
647
648
|
relationship_id: string;
|
|
648
|
-
student_id: string;
|
|
649
649
|
full_name: string;
|
|
650
650
|
email?: string | undefined;
|
|
651
651
|
notes?: 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
|
}>;
|
|
@@ -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, a as User, M as MasterVehicle, b as MasterDriver, d as MasterDevice } from '../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, a as User, M as MasterVehicle, b as MasterDriver, d as MasterDevice } from '../../../user_organisation_service-DFQbMQ0s.js';
|
|
5
5
|
import { FuelConsumptionMonthly } from '../../gps/reports/gps_models/FuelConsumptionMonthly.js';
|
|
6
6
|
import '../../../zod_utils/zod_base_schema.js';
|
|
7
7
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
@@ -59,13 +59,13 @@ declare const FleetFuelDailySummarySchema: z.ZodObject<{
|
|
|
59
59
|
liters_per_100km: z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>;
|
|
60
60
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
61
61
|
}, "strip", z.ZodTypeAny, {
|
|
62
|
+
date: string;
|
|
62
63
|
status: Status;
|
|
63
64
|
organisation_id: string;
|
|
64
65
|
user_id: string;
|
|
65
66
|
vehicle_id: string;
|
|
66
67
|
driver_id: string;
|
|
67
68
|
device_id: string;
|
|
68
|
-
date: string;
|
|
69
69
|
total_km: number;
|
|
70
70
|
consumed_fuel_liters: number;
|
|
71
71
|
refills_count: number;
|
|
@@ -77,13 +77,13 @@ declare const FleetFuelDailySummarySchema: z.ZodObject<{
|
|
|
77
77
|
mileage_kmpl: number;
|
|
78
78
|
liters_per_100km: number;
|
|
79
79
|
}, {
|
|
80
|
+
date: string;
|
|
80
81
|
status: Status;
|
|
81
82
|
organisation_id: string;
|
|
82
83
|
user_id: string;
|
|
83
84
|
vehicle_id: string;
|
|
84
85
|
driver_id: string;
|
|
85
86
|
device_id: string;
|
|
86
|
-
date: string;
|
|
87
87
|
total_km?: unknown;
|
|
88
88
|
consumed_fuel_liters?: unknown;
|
|
89
89
|
refills_count?: unknown;
|