vms-nest-prisma-api-document 218.0.0 → 219.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/core/Enums.d.ts +8 -1
- package/dist/core/Enums.js +9 -0
- package/dist/services/account/bookmark_service.d.ts +11 -11
- package/dist/services/account/notification_preferences.service.d.ts +18 -18
- package/dist/services/account/report_preferences.service.d.ts +7 -7
- package/dist/services/account/ticket_service.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/bus_stop.d.ts +23 -23
- package/dist/services/fleet/bus_mangement/calender.d.ts +8 -8
- package/dist/services/fleet/bus_mangement/master_route.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/notice_board.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/student.d.ts +17 -17
- package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.d.ts +17 -17
- package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.d.ts +46 -46
- package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.js +1 -0
- package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +30 -30
- package/dist/services/fleet/incident_management/incident_management_service.d.ts +77 -71
- package/dist/services/fleet/incident_management/incident_management_service.js +17 -5
- package/dist/services/fleet/issue_management/issue_management_service.d.ts +17 -11
- package/dist/services/fleet/issue_management/issue_management_service.js +12 -6
- package/dist/services/fleet/service_management/fleet_service_management_service.d.ts +400 -0
- package/dist/services/fleet/service_management/fleet_service_management_service.js +573 -0
- package/dist/services/fleet/service_management/fleet_service_management_task_service.d.ts +145 -0
- package/dist/services/fleet/service_management/fleet_service_management_task_service.js +326 -0
- package/dist/services/fleet/vendor_management/fleet_vendor_fuel_station.d.ts +1 -1
- package/dist/services/fleet/vendor_management/fleet_vendor_fuel_station.js +41 -41
- package/dist/services/fleet/vendor_management/fleet_vendor_service.d.ts +1 -1
- package/dist/services/fleet/vendor_management/fleet_vendor_service.js +99 -93
- package/dist/services/fleet/vendor_management/fleet_vendor_service_center.d.ts +1 -1
- package/dist/services/fleet/vendor_management/fleet_vendor_service_center.js +53 -53
- package/dist/services/gps/features/geofence/gps_geofence_service.d.ts +3 -3
- package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +6 -6
- package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +7 -7
- package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +2 -2
- 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 +3 -3
- 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 +5 -5
- 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 +4 -4
- package/dist/services/master/fleet/master_fleet_incident_status_service.d.ts +4 -4
- package/dist/services/master/fleet/master_fleet_incident_type_service.d.ts +4 -4
- package/dist/services/master/fleet/master_fleet_insurance_claim_status_service.d.ts +4 -4
- package/dist/services/master/fleet/master_fleet_service_task_service.d.ts +5 -5
- 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 +1 -1
- 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 +3 -3
- package/dist/services/master/tyre/master_tyre_make_service.d.ts +1 -1
- package/dist/services/master/tyre/master_tyre_model_service.d.ts +5 -5
- 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/static_pages_service.d.ts +1 -1
- package/dist/{user_organisation_service-BE5iA8UK.d.ts → user_organisation_service-Bkq3GOUs.d.ts} +59 -56
- package/package.json +1 -1
package/dist/core/Enums.d.ts
CHANGED
|
@@ -262,6 +262,13 @@ declare enum JobCardStatus {
|
|
|
262
262
|
Cancelled = "Cancelled",
|
|
263
263
|
Completed = "Completed"
|
|
264
264
|
}
|
|
265
|
+
declare enum ServiceStatus {
|
|
266
|
+
Pending = "Pending",
|
|
267
|
+
InProgress = "InProgress",
|
|
268
|
+
OnHold = "OnHold",
|
|
269
|
+
Cancelled = "Cancelled",
|
|
270
|
+
Completed = "Completed"
|
|
271
|
+
}
|
|
265
272
|
declare enum ServiceType {
|
|
266
273
|
Preventive = "Preventive",
|
|
267
274
|
Corrective = "Corrective",
|
|
@@ -766,4 +773,4 @@ declare enum IncidentVisibility {
|
|
|
766
773
|
Unknown = "Unknown"
|
|
767
774
|
}
|
|
768
775
|
|
|
769
|
-
export { AdminRole, AlertSubType, AlertType, ApprovalStatus, BillingStatus, BooleanType, BusLeg, BusStopType, DeviceStatus, DeviceType, DocumentStatus, DocumentType, DocumentValidityStatus, DoorSensorStatus, DriverType, EnrollmentStatus, ExpenseCategory, ExpiryType, FileType, FleetSize, FleetVendorAddressLabel, FuelTankType, GPSFuelApproveStatus, GPSSource, GPSType, GeofencePurposeType, GeofenceStatusType, GeofenceType, HolidayType, IncidentRoadType, IncidentTime, IncidentVisibility, IncidentWeather, InspectionActionStatus, InspectionStatus, InspectionType, Is12AM, IssueSeverity, IssueSource, IssueStatus, JobCardStatus, LifeExpiry, LinkStatus, LinkType, LoadChild, LoadChildCount, LoadParents, LoanInterestType, LoginFrom, MenuType, Module, NightDriving, NotificationChannel, NotificationList, NotificationPreference, OdometerSource, OnOff, OrderBy, OverSpeed, PAGING, PaymentMode, PaymentStatus, Priority, PurchaseOrderStatus, PurchaseType, PurchaseVehicleType, RecurrenceInterval, RefillEntrySource, RefillMethod, ReminderSource, ReminderStatus, ReminderTriggerType, ReportChannel, ReportList, ReportType, RequestType, RetreadingMethod, ScheduleStatus, ScheduleType, ServiceType, ShareChannel, SimStatus, Status, SteeringType, StockType, StudentLeaveType, TicketStatus, TimeSlot, TrackHistoryLinkStatus, TransportPlanType, TyreStatus, VehicleLifeStatus, VerifyStatus, WheelDriveType, YesNo };
|
|
776
|
+
export { AdminRole, AlertSubType, AlertType, ApprovalStatus, BillingStatus, BooleanType, BusLeg, BusStopType, DeviceStatus, DeviceType, DocumentStatus, DocumentType, DocumentValidityStatus, DoorSensorStatus, DriverType, EnrollmentStatus, ExpenseCategory, ExpiryType, FileType, FleetSize, FleetVendorAddressLabel, FuelTankType, GPSFuelApproveStatus, GPSSource, GPSType, GeofencePurposeType, GeofenceStatusType, GeofenceType, HolidayType, IncidentRoadType, IncidentTime, IncidentVisibility, IncidentWeather, InspectionActionStatus, InspectionStatus, InspectionType, Is12AM, IssueSeverity, IssueSource, IssueStatus, JobCardStatus, LifeExpiry, LinkStatus, LinkType, LoadChild, LoadChildCount, LoadParents, LoanInterestType, LoginFrom, MenuType, Module, NightDriving, NotificationChannel, NotificationList, NotificationPreference, OdometerSource, OnOff, OrderBy, OverSpeed, PAGING, PaymentMode, PaymentStatus, Priority, PurchaseOrderStatus, PurchaseType, PurchaseVehicleType, RecurrenceInterval, RefillEntrySource, RefillMethod, ReminderSource, ReminderStatus, ReminderTriggerType, ReportChannel, ReportList, ReportType, RequestType, RetreadingMethod, ScheduleStatus, ScheduleType, ServiceStatus, ServiceType, ShareChannel, SimStatus, Status, SteeringType, StockType, StudentLeaveType, TicketStatus, TimeSlot, TrackHistoryLinkStatus, TransportPlanType, TyreStatus, VehicleLifeStatus, VerifyStatus, WheelDriveType, YesNo };
|
package/dist/core/Enums.js
CHANGED
|
@@ -308,6 +308,14 @@ var JobCardStatus = /* @__PURE__ */ ((JobCardStatus2) => {
|
|
|
308
308
|
JobCardStatus2["Completed"] = "Completed";
|
|
309
309
|
return JobCardStatus2;
|
|
310
310
|
})(JobCardStatus || {});
|
|
311
|
+
var ServiceStatus = /* @__PURE__ */ ((ServiceStatus2) => {
|
|
312
|
+
ServiceStatus2["Pending"] = "Pending";
|
|
313
|
+
ServiceStatus2["InProgress"] = "InProgress";
|
|
314
|
+
ServiceStatus2["OnHold"] = "OnHold";
|
|
315
|
+
ServiceStatus2["Cancelled"] = "Cancelled";
|
|
316
|
+
ServiceStatus2["Completed"] = "Completed";
|
|
317
|
+
return ServiceStatus2;
|
|
318
|
+
})(ServiceStatus || {});
|
|
311
319
|
var ServiceType = /* @__PURE__ */ ((ServiceType2) => {
|
|
312
320
|
ServiceType2["Preventive"] = "Preventive";
|
|
313
321
|
ServiceType2["Corrective"] = "Corrective";
|
|
@@ -941,6 +949,7 @@ export {
|
|
|
941
949
|
RetreadingMethod,
|
|
942
950
|
ScheduleStatus,
|
|
943
951
|
ScheduleType,
|
|
952
|
+
ServiceStatus,
|
|
944
953
|
ServiceType,
|
|
945
954
|
ShareChannel,
|
|
946
955
|
SimStatus,
|
|
@@ -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-
|
|
4
|
+
import { U as UserOrganisation, a as User } from '../../user_organisation_service-Bkq3GOUs.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
|
-
user_id: string;
|
|
46
|
-
group_name: 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
55
|
user_id: string;
|
|
60
|
-
|
|
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,8 +105,8 @@ 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
|
-
user_ids: string[];
|
|
110
110
|
search: string;
|
|
111
111
|
paging: PAGING;
|
|
112
112
|
page_count: number;
|
|
@@ -128,13 +128,13 @@ declare const BookMarkQuerySchema: z.ZodObject<{
|
|
|
128
128
|
date_format_id: string;
|
|
129
129
|
time_zone_id: string;
|
|
130
130
|
organisation_ids: string[];
|
|
131
|
-
|
|
131
|
+
user_ids: string[];
|
|
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
|
-
user_ids?: string[] | undefined;
|
|
138
138
|
search?: string | undefined;
|
|
139
139
|
paging?: PAGING | undefined;
|
|
140
140
|
page_count?: unknown;
|
|
@@ -154,7 +154,7 @@ declare const BookMarkQuerySchema: z.ZodObject<{
|
|
|
154
154
|
}[] | undefined;
|
|
155
155
|
include_master_data?: YesNo | undefined;
|
|
156
156
|
organisation_ids?: string[] | undefined;
|
|
157
|
-
|
|
157
|
+
user_ids?: string[] | 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-
|
|
4
|
+
import { U as UserOrganisation, M as MasterVehicle, a as User } from '../../user_organisation_service-Bkq3GOUs.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,6 +85,12 @@ 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
|
+
status: Status;
|
|
89
|
+
organisation_id: string;
|
|
90
|
+
user_ids: string[];
|
|
91
|
+
vehicle_ids: string[];
|
|
92
|
+
all_vehicles: YesNo;
|
|
93
|
+
gps_geofence_ids: string[];
|
|
88
94
|
notification_name: string;
|
|
89
95
|
notification_status: OnOff;
|
|
90
96
|
notification_channels: NotificationChannel[];
|
|
@@ -95,29 +101,23 @@ declare const OrganisationNotificationPreferenceSchema: z.ZodObject<{
|
|
|
95
101
|
notification_list: NotificationList[];
|
|
96
102
|
over_speed_limit: number;
|
|
97
103
|
all_geofences: YesNo;
|
|
98
|
-
|
|
104
|
+
}, {
|
|
99
105
|
status: Status;
|
|
100
106
|
organisation_id: string;
|
|
101
|
-
|
|
102
|
-
gps_geofence_ids: string[];
|
|
103
|
-
vehicle_ids: string[];
|
|
104
|
-
}, {
|
|
107
|
+
all_vehicles: YesNo;
|
|
105
108
|
notification_name: string;
|
|
106
109
|
notification_status: OnOff;
|
|
107
110
|
all_users: YesNo;
|
|
108
111
|
all_geofences: YesNo;
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
+
user_ids?: string[] | undefined;
|
|
113
|
+
vehicle_ids?: string[] | undefined;
|
|
114
|
+
gps_geofence_ids?: string[] | undefined;
|
|
112
115
|
notification_channels?: NotificationChannel[] | undefined;
|
|
113
116
|
mobile_numbers?: string | undefined;
|
|
114
117
|
email_ids?: string | undefined;
|
|
115
118
|
cc_email_ids?: string | undefined;
|
|
116
119
|
notification_list?: NotificationList[] | undefined;
|
|
117
120
|
over_speed_limit?: unknown;
|
|
118
|
-
user_ids?: string[] | undefined;
|
|
119
|
-
gps_geofence_ids?: string[] | undefined;
|
|
120
|
-
vehicle_ids?: string[] | undefined;
|
|
121
121
|
}>;
|
|
122
122
|
type OrganisationNotificationPreferenceDTO = z.infer<typeof OrganisationNotificationPreferenceSchema>;
|
|
123
123
|
declare const OrganisationNotificationPreferenceQuerySchema: z.ZodObject<{
|
|
@@ -157,9 +157,6 @@ declare const OrganisationNotificationPreferenceQuerySchema: z.ZodObject<{
|
|
|
157
157
|
notification_channels: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof NotificationChannel>, "many">>>;
|
|
158
158
|
notification_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof NotificationList>, "many">>>;
|
|
159
159
|
}, "strip", z.ZodTypeAny, {
|
|
160
|
-
notification_status: OnOff[];
|
|
161
|
-
notification_channels: NotificationChannel[];
|
|
162
|
-
notification_list: NotificationList[];
|
|
163
160
|
status: Status[];
|
|
164
161
|
search: string;
|
|
165
162
|
paging: PAGING;
|
|
@@ -182,13 +179,13 @@ declare const OrganisationNotificationPreferenceQuerySchema: z.ZodObject<{
|
|
|
182
179
|
date_format_id: string;
|
|
183
180
|
time_zone_id: string;
|
|
184
181
|
organisation_ids: string[];
|
|
182
|
+
notification_status: OnOff[];
|
|
183
|
+
notification_channels: NotificationChannel[];
|
|
184
|
+
notification_list: NotificationList[];
|
|
185
185
|
notification_preference_ids: string[];
|
|
186
186
|
}, {
|
|
187
187
|
date_format_id: string;
|
|
188
188
|
time_zone_id: string;
|
|
189
|
-
notification_status?: OnOff[] | undefined;
|
|
190
|
-
notification_channels?: NotificationChannel[] | undefined;
|
|
191
|
-
notification_list?: NotificationList[] | undefined;
|
|
192
189
|
status?: Status[] | undefined;
|
|
193
190
|
search?: string | undefined;
|
|
194
191
|
paging?: PAGING | undefined;
|
|
@@ -209,6 +206,9 @@ declare const OrganisationNotificationPreferenceQuerySchema: z.ZodObject<{
|
|
|
209
206
|
}[] | undefined;
|
|
210
207
|
include_master_data?: YesNo | undefined;
|
|
211
208
|
organisation_ids?: string[] | undefined;
|
|
209
|
+
notification_status?: OnOff[] | undefined;
|
|
210
|
+
notification_channels?: NotificationChannel[] | undefined;
|
|
211
|
+
notification_list?: NotificationList[] | undefined;
|
|
212
212
|
notification_preference_ids?: string[] | undefined;
|
|
213
213
|
}>;
|
|
214
214
|
type OrganisationNotificationPreferenceQueryDTO = z.infer<typeof OrganisationNotificationPreferenceQuerySchema>;
|
|
@@ -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-
|
|
4
|
+
import { U as UserOrganisation, M as MasterVehicle } from '../../user_organisation_service-Bkq3GOUs.js';
|
|
5
5
|
import '../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -179,28 +179,28 @@ 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
|
-
mobile_numbers: string;
|
|
183
|
-
email_ids: string;
|
|
184
|
-
cc_email_ids: string;
|
|
185
|
-
all_vehicles: YesNo;
|
|
186
182
|
status: Status;
|
|
187
183
|
organisation_id: string;
|
|
188
184
|
vehicle_ids: string[];
|
|
185
|
+
all_vehicles: YesNo;
|
|
186
|
+
mobile_numbers: string;
|
|
187
|
+
email_ids: string;
|
|
188
|
+
cc_email_ids: string;
|
|
189
189
|
report_name: string;
|
|
190
190
|
report_status: OnOff;
|
|
191
191
|
report_types: ReportType[];
|
|
192
192
|
report_list: ReportList[];
|
|
193
193
|
report_channels: ReportChannel.Email[];
|
|
194
194
|
}, {
|
|
195
|
-
all_vehicles: YesNo;
|
|
196
195
|
status: Status;
|
|
197
196
|
organisation_id: string;
|
|
197
|
+
all_vehicles: YesNo;
|
|
198
198
|
report_name: string;
|
|
199
199
|
report_status: OnOff;
|
|
200
|
+
vehicle_ids?: string[] | undefined;
|
|
200
201
|
mobile_numbers?: string | undefined;
|
|
201
202
|
email_ids?: string | undefined;
|
|
202
203
|
cc_email_ids?: string | undefined;
|
|
203
|
-
vehicle_ids?: string[] | undefined;
|
|
204
204
|
report_types?: ReportType[] | undefined;
|
|
205
205
|
report_list?: ReportList[] | undefined;
|
|
206
206
|
report_channels?: ReportChannel.Email[] | undefined;
|
|
@@ -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-
|
|
5
|
+
import '../../user_organisation_service-Bkq3GOUs.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-
|
|
4
|
+
import { U as UserOrganisation, O as OrganisationBranch } from '../../../user_organisation_service-Bkq3GOUs.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,11 @@ declare const BusStopSchema: z.ZodObject<{
|
|
|
89
89
|
}>, "many">>>;
|
|
90
90
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
91
91
|
}, "strip", z.ZodTypeAny, {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
92
|
+
stop_name: string;
|
|
93
|
+
stop_code: string;
|
|
94
|
+
stop_type: BusStopType;
|
|
95
|
+
stop_description: string;
|
|
96
|
+
stop_duration_seconds: number;
|
|
97
97
|
address_line1: string;
|
|
98
98
|
address_line2: string;
|
|
99
99
|
locality_landmark: string;
|
|
@@ -103,29 +103,30 @@ declare const BusStopSchema: z.ZodObject<{
|
|
|
103
103
|
state_province_region: string;
|
|
104
104
|
postal_code: string;
|
|
105
105
|
country: string;
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
stop_type: BusStopType;
|
|
109
|
-
stop_description: string;
|
|
110
|
-
stop_duration_seconds: number;
|
|
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;
|
|
127
|
-
|
|
128
|
-
|
|
124
|
+
status: Status;
|
|
125
|
+
organisation_id: string;
|
|
126
|
+
organisation_branch_id: string;
|
|
127
|
+
stop_code?: string | undefined;
|
|
128
|
+
stop_description?: string | undefined;
|
|
129
|
+
stop_duration_seconds?: unknown;
|
|
129
130
|
address_line1?: string | undefined;
|
|
130
131
|
address_line2?: string | undefined;
|
|
131
132
|
locality_landmark?: string | undefined;
|
|
@@ -135,9 +136,8 @@ declare const BusStopSchema: z.ZodObject<{
|
|
|
135
136
|
state_province_region?: string | undefined;
|
|
136
137
|
postal_code?: string | undefined;
|
|
137
138
|
country?: string | undefined;
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
stop_duration_seconds?: unknown;
|
|
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-
|
|
4
|
+
import { U as UserOrganisation, O as OrganisationBranch } from '../../../user_organisation_service-Bkq3GOUs.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -29,20 +29,20 @@ declare const OrganisationCalendarSchema: z.ZodObject<{
|
|
|
29
29
|
notes: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
30
30
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
31
31
|
}, "strip", z.ZodTypeAny, {
|
|
32
|
-
calendar_date: string;
|
|
33
|
-
holiday_type: HolidayType;
|
|
34
|
-
title: string;
|
|
35
|
-
notes: string;
|
|
36
32
|
status: Status;
|
|
37
33
|
organisation_id: string;
|
|
38
34
|
organisation_branch_id: string;
|
|
39
|
-
|
|
35
|
+
notes: string;
|
|
40
36
|
calendar_date: string;
|
|
41
37
|
holiday_type: HolidayType;
|
|
42
38
|
title: string;
|
|
39
|
+
}, {
|
|
43
40
|
status: Status;
|
|
44
41
|
organisation_id: string;
|
|
45
42
|
organisation_branch_id: string;
|
|
43
|
+
calendar_date: string;
|
|
44
|
+
holiday_type: HolidayType;
|
|
45
|
+
title: string;
|
|
46
46
|
notes?: string | undefined;
|
|
47
47
|
}>;
|
|
48
48
|
type OrganisationCalendarDTO = z.infer<typeof OrganisationCalendarSchema>;
|
|
@@ -82,7 +82,6 @@ declare const OrganisationCalendarQuerySchema: z.ZodObject<{
|
|
|
82
82
|
calendar_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
83
83
|
holiday_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof HolidayType>, "many">>>;
|
|
84
84
|
}, "strip", z.ZodTypeAny, {
|
|
85
|
-
holiday_type: HolidayType[];
|
|
86
85
|
status: Status[];
|
|
87
86
|
search: string;
|
|
88
87
|
paging: PAGING;
|
|
@@ -106,11 +105,11 @@ declare const OrganisationCalendarQuerySchema: z.ZodObject<{
|
|
|
106
105
|
time_zone_id: string;
|
|
107
106
|
organisation_ids: string[];
|
|
108
107
|
organisation_branch_ids: string[];
|
|
108
|
+
holiday_type: HolidayType[];
|
|
109
109
|
calendar_ids: string[];
|
|
110
110
|
}, {
|
|
111
111
|
date_format_id: string;
|
|
112
112
|
time_zone_id: string;
|
|
113
|
-
holiday_type?: HolidayType[] | undefined;
|
|
114
113
|
status?: Status[] | undefined;
|
|
115
114
|
search?: string | undefined;
|
|
116
115
|
paging?: PAGING | undefined;
|
|
@@ -132,6 +131,7 @@ declare const OrganisationCalendarQuerySchema: z.ZodObject<{
|
|
|
132
131
|
include_master_data?: YesNo | undefined;
|
|
133
132
|
organisation_ids?: string[] | undefined;
|
|
134
133
|
organisation_branch_ids?: string[] | undefined;
|
|
134
|
+
holiday_type?: HolidayType[] | undefined;
|
|
135
135
|
calendar_ids?: string[] | undefined;
|
|
136
136
|
}>;
|
|
137
137
|
type OrganisationCalendarQueryDTO = z.infer<typeof OrganisationCalendarQuerySchema>;
|
|
@@ -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-Bkq3GOUs.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';
|
|
@@ -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-Bkq3GOUs.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-Bkq3GOUs.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';
|
|
@@ -464,12 +464,6 @@ 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
|
-
notes: string;
|
|
468
|
-
status: Status;
|
|
469
|
-
organisation_id: string;
|
|
470
|
-
organisation_branch_id: string;
|
|
471
|
-
country_code: string;
|
|
472
|
-
google_location: string;
|
|
473
467
|
address_line1: string;
|
|
474
468
|
address_line2: string;
|
|
475
469
|
locality_landmark: string;
|
|
@@ -479,22 +473,23 @@ declare const StudentAddressSchema: z.ZodObject<{
|
|
|
479
473
|
state_province_region: string;
|
|
480
474
|
postal_code: string;
|
|
481
475
|
country: string;
|
|
476
|
+
country_code: string;
|
|
477
|
+
google_location: string;
|
|
478
|
+
status: Status;
|
|
479
|
+
organisation_id: string;
|
|
480
|
+
organisation_branch_id: string;
|
|
482
481
|
is_default: YesNo;
|
|
482
|
+
notes: string;
|
|
483
483
|
student_id: string;
|
|
484
484
|
latitude?: number | undefined;
|
|
485
485
|
longitude?: number | undefined;
|
|
486
486
|
}, {
|
|
487
|
+
address_line1: string;
|
|
487
488
|
status: Status;
|
|
488
489
|
organisation_id: string;
|
|
489
490
|
organisation_branch_id: string;
|
|
490
|
-
address_line1: string;
|
|
491
491
|
is_default: YesNo;
|
|
492
492
|
student_id: string;
|
|
493
|
-
notes?: string | undefined;
|
|
494
|
-
country_code?: string | undefined;
|
|
495
|
-
latitude?: unknown;
|
|
496
|
-
longitude?: unknown;
|
|
497
|
-
google_location?: string | undefined;
|
|
498
493
|
address_line2?: string | undefined;
|
|
499
494
|
locality_landmark?: string | undefined;
|
|
500
495
|
neighborhood?: string | undefined;
|
|
@@ -503,6 +498,11 @@ declare const StudentAddressSchema: z.ZodObject<{
|
|
|
503
498
|
state_province_region?: string | undefined;
|
|
504
499
|
postal_code?: string | undefined;
|
|
505
500
|
country?: string | undefined;
|
|
501
|
+
country_code?: string | undefined;
|
|
502
|
+
google_location?: string | undefined;
|
|
503
|
+
latitude?: unknown;
|
|
504
|
+
longitude?: unknown;
|
|
505
|
+
notes?: string | undefined;
|
|
506
506
|
}>;
|
|
507
507
|
type StudentAddressDTO = z.infer<typeof StudentAddressSchema>;
|
|
508
508
|
declare const StudentAddressBusStopAssignSchema: z.ZodObject<{
|
|
@@ -574,8 +574,8 @@ declare const StudentAddressQuerySchema: z.ZodObject<{
|
|
|
574
574
|
time_zone_id: string;
|
|
575
575
|
organisation_ids: string[];
|
|
576
576
|
organisation_branch_ids: string[];
|
|
577
|
-
is_default: YesNo[];
|
|
578
577
|
bus_stop_ids: string[];
|
|
578
|
+
is_default: YesNo[];
|
|
579
579
|
student_ids: string[];
|
|
580
580
|
student_address_ids: string[];
|
|
581
581
|
}, {
|
|
@@ -602,8 +602,8 @@ 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
|
-
is_default?: YesNo[] | undefined;
|
|
606
605
|
bus_stop_ids?: string[] | undefined;
|
|
606
|
+
is_default?: YesNo[] | undefined;
|
|
607
607
|
student_ids?: string[] | undefined;
|
|
608
608
|
student_address_ids?: string[] | undefined;
|
|
609
609
|
}>;
|
|
@@ -624,12 +624,12 @@ declare const StudentGuardianLinkSchema: z.ZodObject<{
|
|
|
624
624
|
alternative_mobile: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
625
625
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
626
626
|
}, "strip", z.ZodTypeAny, {
|
|
627
|
-
notes: string;
|
|
628
627
|
status: Status;
|
|
629
628
|
organisation_id: string;
|
|
630
629
|
organisation_branch_id: string;
|
|
631
630
|
email: string;
|
|
632
631
|
mobile: string;
|
|
632
|
+
notes: string;
|
|
633
633
|
is_primary: YesNo;
|
|
634
634
|
alternative_mobile: string;
|
|
635
635
|
relationship_id: string;
|
|
@@ -647,8 +647,8 @@ declare const StudentGuardianLinkSchema: z.ZodObject<{
|
|
|
647
647
|
relationship_id: string;
|
|
648
648
|
student_id: string;
|
|
649
649
|
full_name: string;
|
|
650
|
-
notes?: string | undefined;
|
|
651
650
|
email?: string | undefined;
|
|
651
|
+
notes?: string | undefined;
|
|
652
652
|
alternative_mobile?: string | undefined;
|
|
653
653
|
photo_url?: string | undefined;
|
|
654
654
|
photo_key?: string | undefined;
|