vms-nest-prisma-api-document 110.0.0 → 140.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 +34 -1
- package/dist/core/Enums.js +47 -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 +1 -1
- package/dist/services/account/notification_preferences.service.d.ts +1 -1
- package/dist/services/account/report_preferences.service.d.ts +1 -1
- package/dist/services/account/ticket_service.d.ts +1 -1
- package/dist/services/fleet/bus_mangement/bus_stop.d.ts +250 -0
- package/dist/services/fleet/bus_mangement/bus_stop.js +453 -0
- package/dist/services/fleet/bus_mangement/calender.d.ts +145 -0
- package/dist/services/fleet/bus_mangement/calender.js +342 -0
- package/dist/services/fleet/bus_mangement/master_route.d.ts +801 -0
- package/dist/services/fleet/bus_mangement/master_route.js +763 -0
- package/dist/services/fleet/bus_mangement/notice_board.d.ts +138 -0
- package/dist/services/fleet/bus_mangement/notice_board.js +329 -0
- package/dist/services/fleet/bus_mangement/student.d.ts +1192 -0
- package/dist/services/fleet/bus_mangement/student.js +948 -0
- package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.d.ts +1 -1
- package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.d.ts +1 -1
- package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +1 -1
- package/dist/services/gps/features/geofence/gps_geofence_service.d.ts +5 -5
- 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 +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_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 +8 -1
- package/dist/services/master/bus/master_class_service.d.ts +2 -2
- package/dist/services/master/bus/master_program_service.d.ts +4 -4
- package/dist/services/master/bus/master_relationship_service.d.ts +2 -2
- package/dist/services/master/bus/master_section_service.d.ts +2 -2
- package/dist/services/master/bus/master_semester_service.d.ts +2 -2
- package/dist/services/master/bus/master_stream_service.d.ts +2 -2
- package/dist/services/master/bus/master_year_service.d.ts +2 -2
- 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_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_industry_service.d.ts +1 -1
- package/dist/services/master/main/master_main_landmark_service.d.ts +3 -3
- 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 +1 -1
- 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/dist/{user_organisation_service-Dkh1nIGX.d.ts → user_organisation_service-CdoeXDR4.d.ts} +6 -1
- package/package.json +1 -1
package/dist/core/Enums.d.ts
CHANGED
|
@@ -641,5 +641,38 @@ declare enum PaymentMode {
|
|
|
641
641
|
BankTransfer = "BankTransfer",
|
|
642
642
|
Other = "Other"
|
|
643
643
|
}
|
|
644
|
+
declare enum BusLeg {
|
|
645
|
+
Pickup = "Pickup",
|
|
646
|
+
Drop = "Drop"
|
|
647
|
+
}
|
|
648
|
+
declare enum BusStopType {
|
|
649
|
+
FixedStop = "FixedStop",
|
|
650
|
+
HomeStop = "HomeStop",
|
|
651
|
+
BranchGate = "BranchGate",
|
|
652
|
+
ParkingStop = "ParkingStop"
|
|
653
|
+
}
|
|
654
|
+
declare enum EnrollmentStatus {
|
|
655
|
+
Active = "Active",
|
|
656
|
+
Inactive = "Inactive"
|
|
657
|
+
}
|
|
658
|
+
declare enum TransportPlanType {
|
|
659
|
+
Both = "Both",
|
|
660
|
+
PickupOnly = "PickupOnly",
|
|
661
|
+
DropOnly = "DropOnly"
|
|
662
|
+
}
|
|
663
|
+
declare enum ApprovalStatus {
|
|
664
|
+
Pending = "Pending",
|
|
665
|
+
Approved = "Approved",
|
|
666
|
+
Rejected = "Rejected"
|
|
667
|
+
}
|
|
668
|
+
declare enum StudentLeaveType {
|
|
669
|
+
FullDay = "FullDay",
|
|
670
|
+
PickupOnly = "PickupOnly",
|
|
671
|
+
DropOnly = "DropOnly"
|
|
672
|
+
}
|
|
673
|
+
declare enum HolidayType {
|
|
674
|
+
FullDay = "FullDay",
|
|
675
|
+
HalfDay = "HalfDay"
|
|
676
|
+
}
|
|
644
677
|
|
|
645
|
-
export { AdminRole, AlertSubType, AlertType, BillingStatus, BooleanType, DeviceStatus, DeviceType, DocumentStatus, DocumentType, DocumentValidityStatus, DoorSensorStatus, ExpenseCategory, FileType, FleetSize, GPSFuelApproveStatus, GPSSource, GPSType, GeofencePurposeType, GeofenceStatusType, GeofenceType, InspectionActionStatus, InspectionStatus, InspectionType, Is12AM, IssueSeverity, IssueSource, IssueStatus, JobCardStatus, LifeExpiry, LinkStatus, LinkType, LoadChild, LoadChildCount, LoadParents, 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, StockType, TicketStatus, TimeSlot, TrackHistoryLinkStatus, TyreStatus, VerifyStatus, YesNo };
|
|
678
|
+
export { AdminRole, AlertSubType, AlertType, ApprovalStatus, BillingStatus, BooleanType, BusLeg, BusStopType, DeviceStatus, DeviceType, DocumentStatus, DocumentType, DocumentValidityStatus, DoorSensorStatus, EnrollmentStatus, ExpenseCategory, FileType, FleetSize, GPSFuelApproveStatus, GPSSource, GPSType, GeofencePurposeType, GeofenceStatusType, GeofenceType, HolidayType, InspectionActionStatus, InspectionStatus, InspectionType, Is12AM, IssueSeverity, IssueSource, IssueStatus, JobCardStatus, LifeExpiry, LinkStatus, LinkType, LoadChild, LoadChildCount, LoadParents, 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, StockType, StudentLeaveType, TicketStatus, TimeSlot, TrackHistoryLinkStatus, TransportPlanType, TyreStatus, VerifyStatus, YesNo };
|
package/dist/core/Enums.js
CHANGED
|
@@ -718,18 +718,62 @@ var PaymentMode = /* @__PURE__ */ ((PaymentMode2) => {
|
|
|
718
718
|
PaymentMode2["Other"] = "Other";
|
|
719
719
|
return PaymentMode2;
|
|
720
720
|
})(PaymentMode || {});
|
|
721
|
+
var BusLeg = /* @__PURE__ */ ((BusLeg2) => {
|
|
722
|
+
BusLeg2["Pickup"] = "Pickup";
|
|
723
|
+
BusLeg2["Drop"] = "Drop";
|
|
724
|
+
return BusLeg2;
|
|
725
|
+
})(BusLeg || {});
|
|
726
|
+
var BusStopType = /* @__PURE__ */ ((BusStopType2) => {
|
|
727
|
+
BusStopType2["FixedStop"] = "FixedStop";
|
|
728
|
+
BusStopType2["HomeStop"] = "HomeStop";
|
|
729
|
+
BusStopType2["BranchGate"] = "BranchGate";
|
|
730
|
+
BusStopType2["ParkingStop"] = "ParkingStop";
|
|
731
|
+
return BusStopType2;
|
|
732
|
+
})(BusStopType || {});
|
|
733
|
+
var EnrollmentStatus = /* @__PURE__ */ ((EnrollmentStatus2) => {
|
|
734
|
+
EnrollmentStatus2["Active"] = "Active";
|
|
735
|
+
EnrollmentStatus2["Inactive"] = "Inactive";
|
|
736
|
+
return EnrollmentStatus2;
|
|
737
|
+
})(EnrollmentStatus || {});
|
|
738
|
+
var TransportPlanType = /* @__PURE__ */ ((TransportPlanType2) => {
|
|
739
|
+
TransportPlanType2["Both"] = "Both";
|
|
740
|
+
TransportPlanType2["PickupOnly"] = "PickupOnly";
|
|
741
|
+
TransportPlanType2["DropOnly"] = "DropOnly";
|
|
742
|
+
return TransportPlanType2;
|
|
743
|
+
})(TransportPlanType || {});
|
|
744
|
+
var ApprovalStatus = /* @__PURE__ */ ((ApprovalStatus2) => {
|
|
745
|
+
ApprovalStatus2["Pending"] = "Pending";
|
|
746
|
+
ApprovalStatus2["Approved"] = "Approved";
|
|
747
|
+
ApprovalStatus2["Rejected"] = "Rejected";
|
|
748
|
+
return ApprovalStatus2;
|
|
749
|
+
})(ApprovalStatus || {});
|
|
750
|
+
var StudentLeaveType = /* @__PURE__ */ ((StudentLeaveType2) => {
|
|
751
|
+
StudentLeaveType2["FullDay"] = "FullDay";
|
|
752
|
+
StudentLeaveType2["PickupOnly"] = "PickupOnly";
|
|
753
|
+
StudentLeaveType2["DropOnly"] = "DropOnly";
|
|
754
|
+
return StudentLeaveType2;
|
|
755
|
+
})(StudentLeaveType || {});
|
|
756
|
+
var HolidayType = /* @__PURE__ */ ((HolidayType2) => {
|
|
757
|
+
HolidayType2["FullDay"] = "FullDay";
|
|
758
|
+
HolidayType2["HalfDay"] = "HalfDay";
|
|
759
|
+
return HolidayType2;
|
|
760
|
+
})(HolidayType || {});
|
|
721
761
|
export {
|
|
722
762
|
AdminRole,
|
|
723
763
|
AlertSubType,
|
|
724
764
|
AlertType,
|
|
765
|
+
ApprovalStatus,
|
|
725
766
|
BillingStatus,
|
|
726
767
|
BooleanType,
|
|
768
|
+
BusLeg,
|
|
769
|
+
BusStopType,
|
|
727
770
|
DeviceStatus,
|
|
728
771
|
DeviceType,
|
|
729
772
|
DocumentStatus,
|
|
730
773
|
DocumentType,
|
|
731
774
|
DocumentValidityStatus,
|
|
732
775
|
DoorSensorStatus,
|
|
776
|
+
EnrollmentStatus,
|
|
733
777
|
ExpenseCategory,
|
|
734
778
|
FileType,
|
|
735
779
|
FleetSize,
|
|
@@ -739,6 +783,7 @@ export {
|
|
|
739
783
|
GeofencePurposeType,
|
|
740
784
|
GeofenceStatusType,
|
|
741
785
|
GeofenceType,
|
|
786
|
+
HolidayType,
|
|
742
787
|
InspectionActionStatus,
|
|
743
788
|
InspectionStatus,
|
|
744
789
|
InspectionType,
|
|
@@ -789,9 +834,11 @@ export {
|
|
|
789
834
|
SimStatus,
|
|
790
835
|
Status,
|
|
791
836
|
StockType,
|
|
837
|
+
StudentLeaveType,
|
|
792
838
|
TicketStatus,
|
|
793
839
|
TimeSlot,
|
|
794
840
|
TrackHistoryLinkStatus,
|
|
841
|
+
TransportPlanType,
|
|
795
842
|
TyreStatus,
|
|
796
843
|
VerifyStatus,
|
|
797
844
|
YesNo
|
|
@@ -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-CdoeXDR4.js';
|
|
5
5
|
import '../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OnOff, NotificationChannel, YesNo, NotificationList, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy } from '../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR } from '../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, M as MasterVehicle, a as User } from '../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, M as MasterVehicle, a as User } from '../../user_organisation_service-CdoeXDR4.js';
|
|
5
5
|
import { GPSGeofence } from '../gps/features/geofence/gps_geofence_service.js';
|
|
6
6
|
import '../../zod_utils/zod_base_schema.js';
|
|
7
7
|
import '../master/main/master_main_sim_provider_service.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OnOff, ReportType, ReportList, ReportChannel, YesNo, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy } from '../../core/Enums.js';
|
|
2
2
|
import { FBR, SBR } from '../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { U as UserOrganisation, M as MasterVehicle } from '../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, M as MasterVehicle } from '../../user_organisation_service-CdoeXDR4.js';
|
|
5
5
|
import '../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../master/main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -2,7 +2,7 @@ import { TicketStatus, Status, FileType, PAGING, LoadParents, LoadChild, LoadChi
|
|
|
2
2
|
import { BaseCommionFile, FBR, SBR, BR, AWSPresignedUrl } from '../../core/BaseResponse.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { FilePresignedUrlDTO } from '../../zod_utils/zod_base_schema.js';
|
|
5
|
-
import { U as UserOrganisation, a as User } from '../../user_organisation_service-
|
|
5
|
+
import { U as UserOrganisation, a as User } from '../../user_organisation_service-CdoeXDR4.js';
|
|
6
6
|
import { UserAdmin } from '../main/users/user_admin_service.js';
|
|
7
7
|
import '../master/main/master_main_sim_provider_service.js';
|
|
8
8
|
|
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
import { BusStopType, GeofenceType, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../core/Enums.js';
|
|
2
|
+
import { FBR, SBR } from '../../../core/BaseResponse.js';
|
|
3
|
+
import { z } from 'zod';
|
|
4
|
+
import { U as UserOrganisation, O as OrganisationBranch } from '../../../user_organisation_service-CdoeXDR4.js';
|
|
5
|
+
import '../../../zod_utils/zod_base_schema.js';
|
|
6
|
+
import '../../master/main/master_main_sim_provider_service.js';
|
|
7
|
+
|
|
8
|
+
interface BusStopPolygonData {
|
|
9
|
+
latitude: number;
|
|
10
|
+
longitude: number;
|
|
11
|
+
}
|
|
12
|
+
interface BusStop extends Record<string, unknown> {
|
|
13
|
+
bus_stop_id: string;
|
|
14
|
+
stop_name: string;
|
|
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
|
+
status: Status;
|
|
93
|
+
organisation_id: string;
|
|
94
|
+
organisation_branch_id: string;
|
|
95
|
+
stop_duration_seconds: number;
|
|
96
|
+
stop_name: string;
|
|
97
|
+
country_code: string;
|
|
98
|
+
address_line1: string;
|
|
99
|
+
address_line2: string;
|
|
100
|
+
locality_landmark: string;
|
|
101
|
+
neighborhood: string;
|
|
102
|
+
town_city: string;
|
|
103
|
+
district_county: string;
|
|
104
|
+
state_province_region: string;
|
|
105
|
+
postal_code: string;
|
|
106
|
+
country: string;
|
|
107
|
+
stop_code: string;
|
|
108
|
+
stop_type: BusStopType;
|
|
109
|
+
stop_description: string;
|
|
110
|
+
google_location: string;
|
|
111
|
+
geofence_type: GeofenceType;
|
|
112
|
+
polygon_data: {
|
|
113
|
+
latitude: number;
|
|
114
|
+
longitude: number;
|
|
115
|
+
}[];
|
|
116
|
+
stop_latitude?: number | undefined;
|
|
117
|
+
stop_longitude?: number | undefined;
|
|
118
|
+
radius_meters?: number | undefined;
|
|
119
|
+
radius_km?: number | undefined;
|
|
120
|
+
}, {
|
|
121
|
+
status: Status;
|
|
122
|
+
organisation_id: string;
|
|
123
|
+
organisation_branch_id: string;
|
|
124
|
+
stop_name: string;
|
|
125
|
+
stop_type: BusStopType;
|
|
126
|
+
geofence_type: GeofenceType;
|
|
127
|
+
stop_duration_seconds?: unknown;
|
|
128
|
+
country_code?: string | undefined;
|
|
129
|
+
address_line1?: string | undefined;
|
|
130
|
+
address_line2?: string | undefined;
|
|
131
|
+
locality_landmark?: string | undefined;
|
|
132
|
+
neighborhood?: string | undefined;
|
|
133
|
+
town_city?: string | undefined;
|
|
134
|
+
district_county?: string | undefined;
|
|
135
|
+
state_province_region?: string | undefined;
|
|
136
|
+
postal_code?: string | undefined;
|
|
137
|
+
country?: string | undefined;
|
|
138
|
+
stop_code?: string | undefined;
|
|
139
|
+
stop_description?: 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
|
+
status: Status[];
|
|
189
|
+
search: string;
|
|
190
|
+
paging: PAGING;
|
|
191
|
+
page_count: number;
|
|
192
|
+
page_index: number;
|
|
193
|
+
load_parents: LoadParents;
|
|
194
|
+
load_parents_list: string[];
|
|
195
|
+
load_child: LoadChild;
|
|
196
|
+
load_child_list: string[];
|
|
197
|
+
load_child_count: LoadChildCount;
|
|
198
|
+
load_child_count_list: string[];
|
|
199
|
+
include_details: Record<string, any>;
|
|
200
|
+
where_relations: Record<string, any>;
|
|
201
|
+
order_by: {
|
|
202
|
+
name: string;
|
|
203
|
+
field: string;
|
|
204
|
+
direction: OrderBy;
|
|
205
|
+
}[];
|
|
206
|
+
include_master_data: YesNo;
|
|
207
|
+
date_format_id: string;
|
|
208
|
+
time_zone_id: string;
|
|
209
|
+
organisation_ids: string[];
|
|
210
|
+
organisation_branch_ids: string[];
|
|
211
|
+
stop_type: BusStopType[];
|
|
212
|
+
geofence_type: GeofenceType[];
|
|
213
|
+
bus_stop_ids: string[];
|
|
214
|
+
}, {
|
|
215
|
+
date_format_id: string;
|
|
216
|
+
time_zone_id: string;
|
|
217
|
+
status?: Status[] | undefined;
|
|
218
|
+
search?: string | undefined;
|
|
219
|
+
paging?: PAGING | undefined;
|
|
220
|
+
page_count?: unknown;
|
|
221
|
+
page_index?: unknown;
|
|
222
|
+
load_parents?: LoadParents | undefined;
|
|
223
|
+
load_parents_list?: string[] | undefined;
|
|
224
|
+
load_child?: LoadChild | undefined;
|
|
225
|
+
load_child_list?: string[] | undefined;
|
|
226
|
+
load_child_count?: LoadChildCount | undefined;
|
|
227
|
+
load_child_count_list?: string[] | undefined;
|
|
228
|
+
include_details?: Record<string, any> | undefined;
|
|
229
|
+
where_relations?: Record<string, any> | undefined;
|
|
230
|
+
order_by?: {
|
|
231
|
+
name: string;
|
|
232
|
+
field: string;
|
|
233
|
+
direction: OrderBy;
|
|
234
|
+
}[] | undefined;
|
|
235
|
+
include_master_data?: YesNo | undefined;
|
|
236
|
+
organisation_ids?: string[] | undefined;
|
|
237
|
+
organisation_branch_ids?: string[] | undefined;
|
|
238
|
+
stop_type?: BusStopType[] | undefined;
|
|
239
|
+
geofence_type?: GeofenceType[] | 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 };
|