vms-nest-prisma-api-document 230.0.0 → 250.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 +7 -1
- package/dist/core/Enums.js +8 -0
- 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 +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 +13 -248
- package/dist/services/fleet/bus_mangement/bus_stop.js +9 -7
- package/dist/services/fleet/bus_mangement/calender.d.ts +6 -2
- package/dist/services/fleet/bus_mangement/calender.js +18 -12
- package/dist/services/fleet/bus_mangement/master_route.d.ts +251 -4
- package/dist/services/fleet/bus_mangement/master_route.js +58 -52
- package/dist/services/fleet/bus_mangement/notice_board.d.ts +6 -2
- package/dist/services/fleet/bus_mangement/notice_board.js +17 -11
- package/dist/services/fleet/bus_mangement/student.d.ts +40 -27
- package/dist/services/fleet/bus_mangement/student.js +130 -105
- package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.d.ts +20 -20
- package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.d.ts +34 -34
- package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +48 -48
- package/dist/services/fleet/incident_management/incident_management_service.d.ts +19 -19
- package/dist/services/fleet/inspection_management/fleet_inspection_form_service.d.ts +1 -1
- package/dist/services/fleet/inspection_management/fleet_inspection_management_service.d.ts +1 -1
- package/dist/services/fleet/inspection_management/fleet_inspection_schedule_service.d.ts +49 -49
- package/dist/services/fleet/issue_management/issue_management_service.d.ts +47 -47
- package/dist/services/fleet/service_management/fleet_service_management_service.d.ts +7 -20
- package/dist/services/fleet/service_management/fleet_service_management_service.js +0 -9
- package/dist/services/fleet/service_management/fleet_service_schedule_service.d.ts +1 -1
- 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 +0 -61
- 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 +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 +5 -5
- package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +8 -8
- 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/main/vehicle/master_vehicle_service.js +13 -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 +1 -1
- 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_eway_bill_provider_service.d.ts +2 -2
- package/dist/services/master/main/master_main_fasttag_bank_service.d.ts +2 -2
- 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 +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 +5 -5
- 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-KwfWBPXf.d.ts → user_organisation_service-CqR_hga1.d.ts} +58 -177
- package/package.json +1 -1
package/dist/core/Enums.d.ts
CHANGED
|
@@ -376,6 +376,12 @@ declare enum GPSSource {
|
|
|
376
376
|
Protocol = "Protocol",
|
|
377
377
|
NoDevice = "NoDevice"
|
|
378
378
|
}
|
|
379
|
+
declare enum GPSVehicleCategory {
|
|
380
|
+
ALL = "ALL",
|
|
381
|
+
Moving = "Moving",
|
|
382
|
+
Stopped = "Stopped",
|
|
383
|
+
AwaitingGPS = "AwaitingGPS"
|
|
384
|
+
}
|
|
379
385
|
declare enum TicketStatus {
|
|
380
386
|
Open = "Open",
|
|
381
387
|
InProgress = "InProgress",
|
|
@@ -784,4 +790,4 @@ declare enum IncidentVisibility {
|
|
|
784
790
|
Unknown = "Unknown"
|
|
785
791
|
}
|
|
786
792
|
|
|
787
|
-
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, InspectionPriority, 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, ReminderType, ReportChannel, ReportList, ReportType, RequestType, RetreadingMethod, ScheduleStatus, ScheduleType, ServiceStatus, ServiceType, ShareChannel, SimStatus, Status, SteeringType, StockType, StudentLeaveType, TicketStatus, TimeSlot, TrackHistoryLinkStatus, TransportPlanType, TyreStatus, VehicleLifeStatus, VerifyStatus, WheelDriveType, YesNo };
|
|
793
|
+
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, GPSVehicleCategory, GeofencePurposeType, GeofenceStatusType, GeofenceType, HolidayType, IncidentRoadType, IncidentTime, IncidentVisibility, IncidentWeather, InspectionActionStatus, InspectionPriority, 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, ReminderType, 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
|
@@ -437,6 +437,13 @@ var GPSSource = /* @__PURE__ */ ((GPSSource2) => {
|
|
|
437
437
|
GPSSource2["NoDevice"] = "NoDevice";
|
|
438
438
|
return GPSSource2;
|
|
439
439
|
})(GPSSource || {});
|
|
440
|
+
var GPSVehicleCategory = /* @__PURE__ */ ((GPSVehicleCategory2) => {
|
|
441
|
+
GPSVehicleCategory2["ALL"] = "ALL";
|
|
442
|
+
GPSVehicleCategory2["Moving"] = "Moving";
|
|
443
|
+
GPSVehicleCategory2["Stopped"] = "Stopped";
|
|
444
|
+
GPSVehicleCategory2["AwaitingGPS"] = "AwaitingGPS";
|
|
445
|
+
return GPSVehicleCategory2;
|
|
446
|
+
})(GPSVehicleCategory || {});
|
|
440
447
|
var TicketStatus = /* @__PURE__ */ ((TicketStatus2) => {
|
|
441
448
|
TicketStatus2["Open"] = "Open";
|
|
442
449
|
TicketStatus2["InProgress"] = "InProgress";
|
|
@@ -908,6 +915,7 @@ export {
|
|
|
908
915
|
GPSFuelApproveStatus,
|
|
909
916
|
GPSSource,
|
|
910
917
|
GPSType,
|
|
918
|
+
GPSVehicleCategory,
|
|
911
919
|
GeofencePurposeType,
|
|
912
920
|
GeofenceStatusType,
|
|
913
921
|
GeofenceType,
|
|
@@ -22,15 +22,15 @@ declare const UserLoginAnalyticsSchema: z.ZodObject<{
|
|
|
22
22
|
}, "strip", z.ZodTypeAny, {
|
|
23
23
|
user_id: string;
|
|
24
24
|
organisation_id: string;
|
|
25
|
-
country_id: string;
|
|
26
25
|
login_from: LoginFrom;
|
|
26
|
+
country_id: string;
|
|
27
27
|
os_details: Record<string, any>;
|
|
28
28
|
ip_details: Record<string, any>;
|
|
29
29
|
}, {
|
|
30
30
|
user_id: string;
|
|
31
31
|
organisation_id: string;
|
|
32
|
-
country_id: string;
|
|
33
32
|
login_from: LoginFrom;
|
|
33
|
+
country_id: string;
|
|
34
34
|
os_details?: Record<string, any> | undefined;
|
|
35
35
|
ip_details?: Record<string, any> | undefined;
|
|
36
36
|
}>;
|
|
@@ -48,11 +48,11 @@ declare const UserLoginAnalyticsQuerySchema: z.ZodObject<{
|
|
|
48
48
|
organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
49
49
|
country_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
50
50
|
}, "strip", z.ZodTypeAny, {
|
|
51
|
-
login_from: LoginFrom;
|
|
52
51
|
search: string;
|
|
53
52
|
paging: PAGING;
|
|
54
53
|
page_count: number;
|
|
55
54
|
page_index: number;
|
|
55
|
+
login_from: LoginFrom;
|
|
56
56
|
date_format_id: string;
|
|
57
57
|
time_zone_id: string;
|
|
58
58
|
user_ids: string[];
|
|
@@ -43,11 +43,11 @@ declare const UserPageAnalyticsQuerySchema: z.ZodObject<{
|
|
|
43
43
|
user_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
44
44
|
organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
45
45
|
}, "strip", z.ZodTypeAny, {
|
|
46
|
-
login_from: LoginFrom;
|
|
47
46
|
search: string;
|
|
48
47
|
paging: PAGING;
|
|
49
48
|
page_count: number;
|
|
50
49
|
page_index: number;
|
|
50
|
+
login_from: LoginFrom;
|
|
51
51
|
date_format_id: string;
|
|
52
52
|
time_zone_id: string;
|
|
53
53
|
user_ids: string[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MenuType, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR } from '../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, a as User } from '../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, a as User } from '../../user_organisation_service-CqR_hga1.js';
|
|
5
5
|
import '../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -40,9 +40,12 @@ 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;
|
|
43
47
|
module_name: string;
|
|
44
48
|
menu_type: MenuType;
|
|
45
|
-
group_name: string;
|
|
46
49
|
group_name_language: string;
|
|
47
50
|
group_icon: string;
|
|
48
51
|
group_url: string;
|
|
@@ -50,19 +53,16 @@ declare const BookMarkSchema: z.ZodObject<{
|
|
|
50
53
|
sub_item_name_language: string;
|
|
51
54
|
sub_item_icon: string;
|
|
52
55
|
sub_item_url: string;
|
|
56
|
+
}, {
|
|
53
57
|
status: Status;
|
|
54
58
|
organisation_id: string;
|
|
55
59
|
user_id: string;
|
|
56
|
-
|
|
60
|
+
group_name: string;
|
|
57
61
|
module_name: string;
|
|
58
62
|
menu_type: MenuType;
|
|
59
|
-
group_name: string;
|
|
60
63
|
group_name_language: string;
|
|
61
64
|
group_icon: string;
|
|
62
65
|
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[];
|
|
109
108
|
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
|
+
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;
|
|
137
136
|
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
|
+
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-
|
|
4
|
+
import { U as UserOrganisation, M as MasterVehicle, a as User } from '../../user_organisation_service-CqR_hga1.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,12 +85,6 @@ 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[];
|
|
94
88
|
notification_name: string;
|
|
95
89
|
notification_status: OnOff;
|
|
96
90
|
notification_channels: NotificationChannel[];
|
|
@@ -101,23 +95,29 @@ declare const OrganisationNotificationPreferenceSchema: z.ZodObject<{
|
|
|
101
95
|
notification_list: NotificationList[];
|
|
102
96
|
over_speed_limit: number;
|
|
103
97
|
all_geofences: YesNo;
|
|
104
|
-
|
|
98
|
+
all_vehicles: YesNo;
|
|
105
99
|
status: Status;
|
|
106
100
|
organisation_id: string;
|
|
107
|
-
|
|
101
|
+
user_ids: string[];
|
|
102
|
+
gps_geofence_ids: string[];
|
|
103
|
+
vehicle_ids: string[];
|
|
104
|
+
}, {
|
|
108
105
|
notification_name: string;
|
|
109
106
|
notification_status: OnOff;
|
|
110
107
|
all_users: YesNo;
|
|
111
108
|
all_geofences: YesNo;
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
109
|
+
all_vehicles: YesNo;
|
|
110
|
+
status: Status;
|
|
111
|
+
organisation_id: string;
|
|
115
112
|
notification_channels?: NotificationChannel[] | undefined;
|
|
116
113
|
mobile_numbers?: string | undefined;
|
|
117
114
|
email_ids?: string | undefined;
|
|
118
115
|
cc_email_ids?: string | undefined;
|
|
119
116
|
notification_list?: NotificationList[] | undefined;
|
|
120
117
|
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,6 +157,9 @@ 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[];
|
|
160
163
|
status: Status[];
|
|
161
164
|
search: string;
|
|
162
165
|
paging: PAGING;
|
|
@@ -179,13 +182,13 @@ declare const OrganisationNotificationPreferenceQuerySchema: z.ZodObject<{
|
|
|
179
182
|
date_format_id: string;
|
|
180
183
|
time_zone_id: string;
|
|
181
184
|
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;
|
|
189
192
|
status?: Status[] | undefined;
|
|
190
193
|
search?: string | undefined;
|
|
191
194
|
paging?: PAGING | undefined;
|
|
@@ -206,9 +209,6 @@ declare const OrganisationNotificationPreferenceQuerySchema: z.ZodObject<{
|
|
|
206
209
|
}[] | undefined;
|
|
207
210
|
include_master_data?: YesNo | undefined;
|
|
208
211
|
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-CqR_hga1.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
|
-
status: Status;
|
|
183
|
-
organisation_id: string;
|
|
184
|
-
vehicle_ids: string[];
|
|
185
|
-
all_vehicles: YesNo;
|
|
186
182
|
mobile_numbers: string;
|
|
187
183
|
email_ids: string;
|
|
188
184
|
cc_email_ids: string;
|
|
185
|
+
all_vehicles: YesNo;
|
|
186
|
+
status: Status;
|
|
187
|
+
organisation_id: string;
|
|
188
|
+
vehicle_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;
|
|
195
196
|
status: Status;
|
|
196
197
|
organisation_id: string;
|
|
197
|
-
all_vehicles: YesNo;
|
|
198
198
|
report_name: string;
|
|
199
199
|
report_status: OnOff;
|
|
200
|
-
vehicle_ids?: string[] | undefined;
|
|
201
200
|
mobile_numbers?: string | undefined;
|
|
202
201
|
email_ids?: string | undefined;
|
|
203
202
|
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-CqR_hga1.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,250 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
1
|
+
import '../../../core/Enums.js';
|
|
2
|
+
import '../../../core/BaseResponse.js';
|
|
3
|
+
import 'zod';
|
|
4
|
+
import '../../../user_organisation_service-CqR_hga1.js';
|
|
5
|
+
export { a as BusStop, e as BusStopDTO, B as BusStopPolygonData, c as BusStopPolygonDataDTO, b as BusStopPolygonDataSchema, g as BusStopQueryDTO, f as BusStopQuerySchema, d as BusStopSchema, i as createBusStop, j as deleteBusStop, h as findBusStop, n as newBusStopPayload, t as toBusStopPayload, u as updateBusStop } from './master_route.js';
|
|
5
6
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
7
|
import '../../master/main/master_main_sim_provider_service.js';
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
stop_code?: string;
|
|
16
|
-
stop_type: BusStopType;
|
|
17
|
-
stop_description?: string;
|
|
18
|
-
stop_duration_seconds?: number;
|
|
19
|
-
address_line1?: string;
|
|
20
|
-
address_line2?: string;
|
|
21
|
-
locality_landmark?: string;
|
|
22
|
-
neighborhood?: string;
|
|
23
|
-
town_city?: string;
|
|
24
|
-
district_county?: string;
|
|
25
|
-
state_province_region?: string;
|
|
26
|
-
postal_code?: string;
|
|
27
|
-
country?: string;
|
|
28
|
-
country_code?: string;
|
|
29
|
-
google_location?: string;
|
|
30
|
-
geofence_type: GeofenceType;
|
|
31
|
-
stop_latitude?: number;
|
|
32
|
-
stop_longitude?: number;
|
|
33
|
-
radius_meters?: number;
|
|
34
|
-
radius_km?: number;
|
|
35
|
-
polygon_data?: BusStopPolygonData[];
|
|
36
|
-
status: Status;
|
|
37
|
-
added_date_time: string;
|
|
38
|
-
modified_date_time: string;
|
|
39
|
-
organisation_id: string;
|
|
40
|
-
UserOrganisation?: UserOrganisation;
|
|
41
|
-
organisation_branch_id?: string;
|
|
42
|
-
OrganisationBranch?: OrganisationBranch;
|
|
43
|
-
_count?: Record<string, number>;
|
|
44
|
-
}
|
|
45
|
-
declare const BusStopPolygonDataSchema: z.ZodObject<{
|
|
46
|
-
latitude: z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>;
|
|
47
|
-
longitude: z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>;
|
|
48
|
-
}, "strip", z.ZodTypeAny, {
|
|
49
|
-
latitude: number;
|
|
50
|
-
longitude: number;
|
|
51
|
-
}, {
|
|
52
|
-
latitude?: unknown;
|
|
53
|
-
longitude?: unknown;
|
|
54
|
-
}>;
|
|
55
|
-
type BusStopPolygonDataDTO = z.infer<typeof BusStopPolygonDataSchema>;
|
|
56
|
-
declare const BusStopSchema: z.ZodObject<{
|
|
57
|
-
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
58
|
-
organisation_branch_id: z.ZodEffects<z.ZodString, string, string>;
|
|
59
|
-
stop_name: z.ZodEffects<z.ZodString, string, string>;
|
|
60
|
-
stop_code: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
61
|
-
stop_type: z.ZodType<BusStopType, z.ZodTypeDef, BusStopType>;
|
|
62
|
-
stop_description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
63
|
-
stop_duration_seconds: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
64
|
-
address_line1: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
65
|
-
address_line2: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
66
|
-
locality_landmark: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
67
|
-
neighborhood: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
68
|
-
town_city: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
69
|
-
district_county: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
70
|
-
state_province_region: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
71
|
-
postal_code: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
72
|
-
country: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
73
|
-
country_code: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
74
|
-
google_location: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
75
|
-
geofence_type: z.ZodType<GeofenceType, z.ZodTypeDef, GeofenceType>;
|
|
76
|
-
stop_latitude: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
77
|
-
stop_longitude: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
78
|
-
radius_meters: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
79
|
-
radius_km: z.ZodOptional<z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>>;
|
|
80
|
-
polygon_data: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
81
|
-
latitude: z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>;
|
|
82
|
-
longitude: z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, unknown>;
|
|
83
|
-
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
84
|
-
latitude: number;
|
|
85
|
-
longitude: number;
|
|
86
|
-
}, {
|
|
87
|
-
latitude?: unknown;
|
|
88
|
-
longitude?: unknown;
|
|
89
|
-
}>, "many">>>;
|
|
90
|
-
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
91
|
-
}, "strip", z.ZodTypeAny, {
|
|
92
|
-
stop_name: string;
|
|
93
|
-
stop_code: string;
|
|
94
|
-
stop_type: BusStopType;
|
|
95
|
-
stop_description: string;
|
|
96
|
-
stop_duration_seconds: number;
|
|
97
|
-
address_line1: string;
|
|
98
|
-
address_line2: string;
|
|
99
|
-
locality_landmark: string;
|
|
100
|
-
neighborhood: string;
|
|
101
|
-
town_city: string;
|
|
102
|
-
district_county: string;
|
|
103
|
-
state_province_region: string;
|
|
104
|
-
postal_code: string;
|
|
105
|
-
country: string;
|
|
106
|
-
country_code: string;
|
|
107
|
-
google_location: string;
|
|
108
|
-
geofence_type: GeofenceType;
|
|
109
|
-
polygon_data: {
|
|
110
|
-
latitude: number;
|
|
111
|
-
longitude: number;
|
|
112
|
-
}[];
|
|
113
|
-
status: Status;
|
|
114
|
-
organisation_id: string;
|
|
115
|
-
organisation_branch_id: string;
|
|
116
|
-
stop_latitude?: number | undefined;
|
|
117
|
-
stop_longitude?: number | undefined;
|
|
118
|
-
radius_meters?: number | undefined;
|
|
119
|
-
radius_km?: number | undefined;
|
|
120
|
-
}, {
|
|
121
|
-
stop_name: string;
|
|
122
|
-
stop_type: BusStopType;
|
|
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;
|
|
129
|
-
stop_duration_seconds?: unknown;
|
|
130
|
-
address_line1?: string | undefined;
|
|
131
|
-
address_line2?: string | undefined;
|
|
132
|
-
locality_landmark?: string | undefined;
|
|
133
|
-
neighborhood?: string | undefined;
|
|
134
|
-
town_city?: string | undefined;
|
|
135
|
-
district_county?: string | undefined;
|
|
136
|
-
state_province_region?: string | undefined;
|
|
137
|
-
postal_code?: string | undefined;
|
|
138
|
-
country?: string | undefined;
|
|
139
|
-
country_code?: string | undefined;
|
|
140
|
-
google_location?: string | undefined;
|
|
141
|
-
stop_latitude?: unknown;
|
|
142
|
-
stop_longitude?: unknown;
|
|
143
|
-
radius_meters?: unknown;
|
|
144
|
-
radius_km?: unknown;
|
|
145
|
-
polygon_data?: {
|
|
146
|
-
latitude?: unknown;
|
|
147
|
-
longitude?: unknown;
|
|
148
|
-
}[] | undefined;
|
|
149
|
-
}>;
|
|
150
|
-
type BusStopDTO = z.infer<typeof BusStopSchema>;
|
|
151
|
-
declare const BusStopQuerySchema: z.ZodObject<{
|
|
152
|
-
search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
153
|
-
status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
|
|
154
|
-
paging: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof PAGING>>>;
|
|
155
|
-
page_count: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
156
|
-
page_index: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
157
|
-
load_parents: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadParents>>>;
|
|
158
|
-
load_parents_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
159
|
-
load_child: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChild>>>;
|
|
160
|
-
load_child_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
161
|
-
load_child_count: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChildCount>>>;
|
|
162
|
-
load_child_count_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
163
|
-
include_details: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
164
|
-
where_relations: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
165
|
-
order_by: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
166
|
-
name: z.ZodEffects<z.ZodString, string, string>;
|
|
167
|
-
field: z.ZodEffects<z.ZodString, string, string>;
|
|
168
|
-
direction: z.ZodType<OrderBy, z.ZodTypeDef, OrderBy>;
|
|
169
|
-
}, "strip", z.ZodTypeAny, {
|
|
170
|
-
name: string;
|
|
171
|
-
field: string;
|
|
172
|
-
direction: OrderBy;
|
|
173
|
-
}, {
|
|
174
|
-
name: string;
|
|
175
|
-
field: string;
|
|
176
|
-
direction: OrderBy;
|
|
177
|
-
}>, "many">>>;
|
|
178
|
-
include_master_data: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
|
|
179
|
-
date_format_id: z.ZodEffects<z.ZodString, string, string>;
|
|
180
|
-
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
181
|
-
} & {
|
|
182
|
-
organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
183
|
-
organisation_branch_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
184
|
-
bus_stop_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
185
|
-
stop_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof BusStopType>, "many">>>;
|
|
186
|
-
geofence_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof GeofenceType>, "many">>>;
|
|
187
|
-
}, "strip", z.ZodTypeAny, {
|
|
188
|
-
stop_type: BusStopType[];
|
|
189
|
-
geofence_type: GeofenceType[];
|
|
190
|
-
status: Status[];
|
|
191
|
-
search: string;
|
|
192
|
-
paging: PAGING;
|
|
193
|
-
page_count: number;
|
|
194
|
-
page_index: number;
|
|
195
|
-
load_parents: LoadParents;
|
|
196
|
-
load_parents_list: string[];
|
|
197
|
-
load_child: LoadChild;
|
|
198
|
-
load_child_list: string[];
|
|
199
|
-
load_child_count: LoadChildCount;
|
|
200
|
-
load_child_count_list: string[];
|
|
201
|
-
include_details: Record<string, any>;
|
|
202
|
-
where_relations: Record<string, any>;
|
|
203
|
-
order_by: {
|
|
204
|
-
name: string;
|
|
205
|
-
field: string;
|
|
206
|
-
direction: OrderBy;
|
|
207
|
-
}[];
|
|
208
|
-
include_master_data: YesNo;
|
|
209
|
-
date_format_id: string;
|
|
210
|
-
time_zone_id: string;
|
|
211
|
-
organisation_ids: string[];
|
|
212
|
-
organisation_branch_ids: string[];
|
|
213
|
-
bus_stop_ids: string[];
|
|
214
|
-
}, {
|
|
215
|
-
date_format_id: string;
|
|
216
|
-
time_zone_id: string;
|
|
217
|
-
stop_type?: BusStopType[] | undefined;
|
|
218
|
-
geofence_type?: GeofenceType[] | undefined;
|
|
219
|
-
status?: Status[] | undefined;
|
|
220
|
-
search?: string | undefined;
|
|
221
|
-
paging?: PAGING | undefined;
|
|
222
|
-
page_count?: unknown;
|
|
223
|
-
page_index?: unknown;
|
|
224
|
-
load_parents?: LoadParents | undefined;
|
|
225
|
-
load_parents_list?: string[] | undefined;
|
|
226
|
-
load_child?: LoadChild | undefined;
|
|
227
|
-
load_child_list?: string[] | undefined;
|
|
228
|
-
load_child_count?: LoadChildCount | undefined;
|
|
229
|
-
load_child_count_list?: string[] | undefined;
|
|
230
|
-
include_details?: Record<string, any> | undefined;
|
|
231
|
-
where_relations?: Record<string, any> | undefined;
|
|
232
|
-
order_by?: {
|
|
233
|
-
name: string;
|
|
234
|
-
field: string;
|
|
235
|
-
direction: OrderBy;
|
|
236
|
-
}[] | undefined;
|
|
237
|
-
include_master_data?: YesNo | undefined;
|
|
238
|
-
organisation_ids?: string[] | undefined;
|
|
239
|
-
organisation_branch_ids?: string[] | undefined;
|
|
240
|
-
bus_stop_ids?: string[] | undefined;
|
|
241
|
-
}>;
|
|
242
|
-
type BusStopQueryDTO = z.infer<typeof BusStopQuerySchema>;
|
|
243
|
-
declare const toBusStopPayload: (row: BusStop) => BusStopDTO;
|
|
244
|
-
declare const newBusStopPayload: () => BusStopDTO;
|
|
245
|
-
declare const findBusStop: (data: BusStopQueryDTO) => Promise<FBR<BusStop[]>>;
|
|
246
|
-
declare const createBusStop: (data: BusStopDTO) => Promise<SBR>;
|
|
247
|
-
declare const updateBusStop: (id: string, data: BusStopDTO) => Promise<SBR>;
|
|
248
|
-
declare const deleteBusStop: (id: string) => Promise<SBR>;
|
|
249
|
-
|
|
250
|
-
export { type BusStop, type BusStopDTO, type BusStopPolygonData, type BusStopPolygonDataDTO, BusStopPolygonDataSchema, type BusStopQueryDTO, BusStopQuerySchema, BusStopSchema, createBusStop, deleteBusStop, findBusStop, newBusStopPayload, toBusStopPayload, updateBusStop };
|
|
8
|
+
import './student.js';
|
|
9
|
+
import '../../master/bus/master_class_service.js';
|
|
10
|
+
import '../../master/bus/master_program_service.js';
|
|
11
|
+
import '../../master/bus/master_section_service.js';
|
|
12
|
+
import '../../master/bus/master_semester_service.js';
|
|
13
|
+
import '../../master/bus/master_stream_service.js';
|
|
14
|
+
import '../../master/bus/master_year_service.js';
|
|
15
|
+
import '../../master/bus/master_relationship_service.js';
|
|
@@ -324,11 +324,13 @@ var BusStopSchema = z3.object({
|
|
|
324
324
|
// ✅ Single-Selection -> UserOrganisation
|
|
325
325
|
organisation_branch_id: single_select_optional("OrganisationBranch"),
|
|
326
326
|
// ✅ Single-Selection -> OrganisationBranch
|
|
327
|
+
// Basic Info
|
|
327
328
|
stop_name: stringMandatory("Stop Name", 3, 120),
|
|
328
329
|
stop_code: stringOptional("Stop Code", 0, 50),
|
|
329
330
|
stop_type: enumMandatory("Stop Type", BusStopType, "FixedStop" /* FixedStop */),
|
|
330
331
|
stop_description: stringOptional("Stop Description", 0, 2e3),
|
|
331
332
|
stop_duration_seconds: numberOptional("Stop Duration Seconds"),
|
|
333
|
+
// Address
|
|
332
334
|
address_line1: stringOptional("Address Line 1", 0, 150),
|
|
333
335
|
address_line2: stringOptional("Address Line 2", 0, 150),
|
|
334
336
|
locality_landmark: stringOptional("Locality / Landmark", 0, 150),
|
|
@@ -357,12 +359,12 @@ var BusStopSchema = z3.object({
|
|
|
357
359
|
status: enumMandatory("Status", Status, "Active" /* Active */)
|
|
358
360
|
});
|
|
359
361
|
var BusStopQuerySchema = BaseQuerySchema.extend({
|
|
362
|
+
bus_stop_ids: multi_select_optional("BusStop"),
|
|
363
|
+
// ✅ Multi-selection -> BusStop
|
|
360
364
|
organisation_ids: multi_select_optional("UserOrganisation"),
|
|
361
365
|
// ✅ Multi-selection -> UserOrganisation
|
|
362
366
|
organisation_branch_ids: multi_select_optional("OrganisationBranch"),
|
|
363
367
|
// ✅ Multi-selection -> OrganisationBranch
|
|
364
|
-
bus_stop_ids: multi_select_optional("BusStop"),
|
|
365
|
-
// ✅ Multi-selection -> BusStop
|
|
366
368
|
stop_type: enumArrayOptional(
|
|
367
369
|
"Stop Type",
|
|
368
370
|
BusStopType,
|
|
@@ -375,11 +377,11 @@ var BusStopQuerySchema = BaseQuerySchema.extend({
|
|
|
375
377
|
)
|
|
376
378
|
});
|
|
377
379
|
var toBusStopPayload = (row) => ({
|
|
378
|
-
organisation_id: row.organisation_id,
|
|
379
|
-
organisation_branch_id: row.organisation_branch_id
|
|
380
|
-
stop_name: row.stop_name,
|
|
380
|
+
organisation_id: row.organisation_id || "",
|
|
381
|
+
organisation_branch_id: row.organisation_branch_id || "",
|
|
382
|
+
stop_name: row.stop_name || "",
|
|
381
383
|
stop_code: row.stop_code || "",
|
|
382
|
-
stop_type: row.stop_type
|
|
384
|
+
stop_type: row.stop_type || "FixedStop" /* FixedStop */,
|
|
383
385
|
stop_description: row.stop_description || "",
|
|
384
386
|
stop_duration_seconds: row.stop_duration_seconds || 0,
|
|
385
387
|
address_line1: row.address_line1 || "",
|
|
@@ -393,7 +395,7 @@ var toBusStopPayload = (row) => ({
|
|
|
393
395
|
country: row.country || "",
|
|
394
396
|
country_code: row.country_code || "",
|
|
395
397
|
google_location: row.google_location || "",
|
|
396
|
-
geofence_type: row.geofence_type
|
|
398
|
+
geofence_type: row.geofence_type || "Circle" /* Circle */,
|
|
397
399
|
stop_latitude: row.stop_latitude || 0,
|
|
398
400
|
stop_longitude: row.stop_longitude || 0,
|
|
399
401
|
radius_meters: row.radius_meters || 0,
|