vms-nest-prisma-api-document 110.0.0 → 130.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. package/dist/core/Enums.d.ts +34 -1
  2. package/dist/core/Enums.js +47 -0
  3. package/dist/services/account/bookmark_service.d.ts +9 -9
  4. package/dist/services/account/notification_preferences.service.d.ts +11 -11
  5. package/dist/services/account/report_preferences.service.d.ts +24 -24
  6. package/dist/services/account/ticket_service.d.ts +2 -2
  7. package/dist/services/fleet/bus_mangement/bus_stop.d.ts +250 -0
  8. package/dist/services/fleet/bus_mangement/bus_stop.js +453 -0
  9. package/dist/services/fleet/bus_mangement/calender.d.ts +145 -0
  10. package/dist/services/fleet/bus_mangement/calender.js +342 -0
  11. package/dist/services/fleet/bus_mangement/master_route.d.ts +801 -0
  12. package/dist/services/fleet/bus_mangement/master_route.js +763 -0
  13. package/dist/services/fleet/bus_mangement/notice_board.d.ts +138 -0
  14. package/dist/services/fleet/bus_mangement/notice_board.js +329 -0
  15. package/dist/services/fleet/bus_mangement/student.d.ts +1192 -0
  16. package/dist/services/fleet/bus_mangement/student.js +948 -0
  17. package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.d.ts +1 -1
  18. package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.d.ts +1 -1
  19. package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +1 -1
  20. package/dist/services/gps/features/geofence/gps_geofence_service.d.ts +1 -1
  21. package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +6 -6
  22. package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +7 -7
  23. package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +2 -2
  24. package/dist/services/gps/features/gps_live_track_share_link_service.d.ts +1 -1
  25. package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +1 -1
  26. package/dist/services/main/devices/master_device_service.d.ts +1 -1
  27. package/dist/services/main/drivers/master_driver_service.d.ts +1 -1
  28. package/dist/services/main/sims/master_sim_service.d.ts +1 -1
  29. package/dist/services/main/users/auth_service.d.ts +1 -1
  30. package/dist/services/main/users/user_organisation_service.d.ts +1 -1
  31. package/dist/services/main/users/user_service.d.ts +1 -1
  32. package/dist/services/main/vehicle/childs/vehicle_odometer_history.d.ts +1 -1
  33. package/dist/services/main/vehicle/master_vehicle_service.d.ts +1 -1
  34. package/dist/services/main/vehicle/master_vehicle_service.js +8 -1
  35. package/dist/services/master/bus/master_class_service.d.ts +2 -2
  36. package/dist/services/master/bus/master_program_service.d.ts +4 -4
  37. package/dist/services/master/bus/master_relationship_service.d.ts +2 -2
  38. package/dist/services/master/bus/master_section_service.d.ts +2 -2
  39. package/dist/services/master/bus/master_semester_service.d.ts +2 -2
  40. package/dist/services/master/bus/master_stream_service.d.ts +2 -2
  41. package/dist/services/master/bus/master_year_service.d.ts +2 -2
  42. package/dist/services/master/device/master_device_manufacturer_service.d.ts +1 -1
  43. package/dist/services/master/device/master_device_model_service.d.ts +1 -1
  44. package/dist/services/master/device/master_device_type_service.d.ts +1 -1
  45. package/dist/services/master/expense/master_expense_name_service.d.ts +1 -1
  46. package/dist/services/master/expense/master_expense_type_service.d.ts +1 -1
  47. package/dist/services/master/expense/master_fuel_company_service.d.ts +6 -6
  48. package/dist/services/master/expense/master_vendor_document_type_service.d.ts +3 -3
  49. package/dist/services/master/expense/master_vendor_type_service.d.ts +1 -1
  50. package/dist/services/master/fleet/master_fleet_incident_severity_service.d.ts +1 -1
  51. package/dist/services/master/fleet/master_fleet_incident_status_service.d.ts +1 -1
  52. package/dist/services/master/fleet/master_fleet_incident_type_service.d.ts +1 -1
  53. package/dist/services/master/fleet/master_fleet_insurance_claim_status_service.d.ts +1 -1
  54. package/dist/services/master/fleet/master_fleet_service_task_service.d.ts +1 -1
  55. package/dist/services/master/main/master_main_country_service.d.ts +1 -1
  56. package/dist/services/master/main/master_main_currency_service.d.ts +1 -1
  57. package/dist/services/master/main/master_main_date_format_service.d.ts +1 -1
  58. package/dist/services/master/main/master_main_industry_service.d.ts +1 -1
  59. package/dist/services/master/main/master_main_landmark_service.d.ts +1 -1
  60. package/dist/services/master/main/master_main_language_service.d.ts +1 -1
  61. package/dist/services/master/main/master_main_state_service.d.ts +1 -1
  62. package/dist/services/master/main/master_main_timezone_service.d.ts +1 -1
  63. package/dist/services/master/main/master_main_unit_distance_service.d.ts +1 -1
  64. package/dist/services/master/main/master_main_unit_mileage_service.d.ts +1 -1
  65. package/dist/services/master/main/master_main_unit_volume_service.d.ts +1 -1
  66. package/dist/services/master/organisation/organisation_branch_service.d.ts +1 -1
  67. package/dist/services/master/organisation/organisation_color_service.d.ts +1 -1
  68. package/dist/services/master/organisation/organisation_group_service.d.ts +1 -1
  69. package/dist/services/master/organisation/organisation_sub_company_service.d.ts +1 -1
  70. package/dist/services/master/organisation/organisation_tag_service.d.ts +1 -1
  71. package/dist/services/master/spare_part/master_spare_part_category_service.d.ts +1 -1
  72. package/dist/services/master/spare_part/master_spare_part_sub_category_service.d.ts +1 -1
  73. package/dist/services/master/spare_part/master_spare_part_unit_service.d.ts +1 -1
  74. package/dist/services/master/trip/master_trip_party_type_service.d.ts +1 -1
  75. package/dist/services/master/tyre/master_tyre_grade_service.d.ts +1 -1
  76. package/dist/services/master/tyre/master_tyre_make_service.d.ts +1 -1
  77. package/dist/services/master/tyre/master_tyre_model_service.d.ts +1 -1
  78. package/dist/services/master/user/master_user_role_service.d.ts +1 -1
  79. package/dist/services/master/user/master_user_status_service.d.ts +1 -1
  80. package/dist/services/master/vehicle/master_vehicle_associated_to_service.d.ts +1 -1
  81. package/dist/services/master/vehicle/master_vehicle_document_type_service.d.ts +1 -1
  82. package/dist/services/master/vehicle/master_vehicle_fuel_removal_reason_service.d.ts +1 -1
  83. package/dist/services/master/vehicle/master_vehicle_fuel_type_service.d.ts +1 -1
  84. package/dist/services/master/vehicle/master_vehicle_fuel_unit_service.d.ts +1 -1
  85. package/dist/services/master/vehicle/master_vehicle_make_service.d.ts +1 -1
  86. package/dist/services/master/vehicle/master_vehicle_model_service.d.ts +1 -1
  87. package/dist/services/master/vehicle/master_vehicle_ownership_type_service.d.ts +1 -1
  88. package/dist/services/master/vehicle/master_vehicle_status_type_service.d.ts +1 -1
  89. package/dist/services/master/vehicle/master_vehicle_sub_model_service.d.ts +1 -1
  90. package/dist/services/master/vehicle/master_vehicle_type_service.d.ts +1 -1
  91. package/dist/services/website/contact_us_detail_service.d.ts +1 -1
  92. package/dist/services/website/faq_service.d.ts +1 -1
  93. package/dist/{user_organisation_service-Dkh1nIGX.d.ts → user_organisation_service-CTYXHeOC.d.ts} +31 -30
  94. package/package.json +1 -1
@@ -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 };
@@ -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
@@ -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-Dkh1nIGX.js';
4
+ import { U as UserOrganisation, a as User } from '../../user_organisation_service-CTYXHeOC.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
+ group_name: string;
46
+ user_id: 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;
59
+ group_name: string;
55
60
  user_id: string;
56
- }, {
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,7 +105,6 @@ 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[];
110
109
  search: string;
111
110
  paging: PAGING;
@@ -129,11 +128,11 @@ declare const BookMarkQuerySchema: z.ZodObject<{
129
128
  time_zone_id: string;
130
129
  organisation_ids: string[];
131
130
  user_ids: string[];
131
+ menu_type: MenuType[];
132
132
  bookmark_ids: string[];
133
133
  }, {
134
134
  date_format_id: string;
135
135
  time_zone_id: string;
136
- menu_type?: MenuType[] | undefined;
137
136
  status?: Status[] | undefined;
138
137
  search?: string | undefined;
139
138
  paging?: PAGING | undefined;
@@ -155,6 +154,7 @@ declare const BookMarkQuerySchema: z.ZodObject<{
155
154
  include_master_data?: YesNo | undefined;
156
155
  organisation_ids?: string[] | undefined;
157
156
  user_ids?: string[] | undefined;
157
+ menu_type?: MenuType[] | undefined;
158
158
  bookmark_ids?: string[] | undefined;
159
159
  }>;
160
160
  type BookMarkQueryDTO = z.infer<typeof BookMarkQuerySchema>;
@@ -1,7 +1,7 @@
1
1
  import { OnOff, NotificationChannel, YesNo, NotificationList, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy } from '../../core/Enums.js';
2
2
  import { FBR, SBR } from '../../core/BaseResponse.js';
3
3
  import { z } from 'zod';
4
- import { U as UserOrganisation, M as MasterVehicle, a as User } from '../../user_organisation_service-Dkh1nIGX.js';
4
+ import { U as UserOrganisation, M as MasterVehicle, a as User } from '../../user_organisation_service-CTYXHeOC.js';
5
5
  import { GPSGeofence } from '../gps/features/geofence/gps_geofence_service.js';
6
6
  import '../../zod_utils/zod_base_schema.js';
7
7
  import '../master/main/master_main_sim_provider_service.js';
@@ -85,37 +85,37 @@ declare const OrganisationNotificationPreferenceSchema: z.ZodObject<{
85
85
  vehicle_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
86
86
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
87
87
  }, "strip", z.ZodTypeAny, {
88
+ mobile_numbers: string;
89
+ email_ids: string;
90
+ cc_email_ids: string;
91
+ all_vehicles: YesNo;
88
92
  status: Status;
89
93
  organisation_id: string;
90
- user_ids: string[];
91
94
  vehicle_ids: string[];
92
- all_vehicles: YesNo;
95
+ user_ids: string[];
93
96
  gps_geofence_ids: string[];
94
97
  notification_name: string;
95
98
  notification_status: OnOff;
96
99
  notification_channels: NotificationChannel[];
97
- mobile_numbers: string;
98
- email_ids: string;
99
- cc_email_ids: string;
100
100
  all_users: YesNo;
101
101
  notification_list: NotificationList[];
102
102
  over_speed_limit: number;
103
103
  all_geofences: YesNo;
104
104
  }, {
105
+ all_vehicles: YesNo;
105
106
  status: Status;
106
107
  organisation_id: string;
107
- all_vehicles: YesNo;
108
108
  notification_name: string;
109
109
  notification_status: OnOff;
110
110
  all_users: YesNo;
111
111
  all_geofences: YesNo;
112
- user_ids?: string[] | undefined;
113
- vehicle_ids?: string[] | undefined;
114
- gps_geofence_ids?: string[] | undefined;
115
- notification_channels?: NotificationChannel[] | undefined;
116
112
  mobile_numbers?: string | undefined;
117
113
  email_ids?: string | undefined;
118
114
  cc_email_ids?: string | undefined;
115
+ vehicle_ids?: string[] | undefined;
116
+ user_ids?: string[] | undefined;
117
+ gps_geofence_ids?: string[] | undefined;
118
+ notification_channels?: NotificationChannel[] | undefined;
119
119
  notification_list?: NotificationList[] | undefined;
120
120
  over_speed_limit?: unknown;
121
121
  }>;
@@ -1,7 +1,7 @@
1
1
  import { OnOff, ReportType, ReportList, ReportChannel, YesNo, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy } from '../../core/Enums.js';
2
2
  import { FBR, SBR } from '../../core/BaseResponse.js';
3
3
  import { z } from 'zod';
4
- import { U as UserOrganisation, M as MasterVehicle } from '../../user_organisation_service-Dkh1nIGX.js';
4
+ import { U as UserOrganisation, M as MasterVehicle } from '../../user_organisation_service-CTYXHeOC.js';
5
5
  import '../../zod_utils/zod_base_schema.js';
6
6
  import '../master/main/master_main_sim_provider_service.js';
7
7
 
@@ -113,6 +113,7 @@ declare const OrganisationReportAutomationMailQuerySchema: z.ZodObject<{
113
113
  report_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof ReportType>, "many">>>;
114
114
  }, "strip", z.ZodTypeAny, {
115
115
  status: Status[];
116
+ report_type: ReportType[];
116
117
  search: string;
117
118
  paging: PAGING;
118
119
  page_count: number;
@@ -134,13 +135,13 @@ declare const OrganisationReportAutomationMailQuerySchema: z.ZodObject<{
134
135
  date_format_id: string;
135
136
  time_zone_id: string;
136
137
  organisation_ids: string[];
137
- report_type: ReportType[];
138
138
  report_preference_ids: string[];
139
139
  report_automation_mail_ids: string[];
140
140
  }, {
141
141
  date_format_id: string;
142
142
  time_zone_id: string;
143
143
  status?: Status[] | undefined;
144
+ report_type?: ReportType[] | undefined;
144
145
  search?: string | undefined;
145
146
  paging?: PAGING | undefined;
146
147
  page_count?: unknown;
@@ -160,7 +161,6 @@ declare const OrganisationReportAutomationMailQuerySchema: z.ZodObject<{
160
161
  }[] | undefined;
161
162
  include_master_data?: YesNo | undefined;
162
163
  organisation_ids?: string[] | undefined;
163
- report_type?: ReportType[] | undefined;
164
164
  report_preference_ids?: string[] | undefined;
165
165
  report_automation_mail_ids?: string[] | undefined;
166
166
  }>;
@@ -179,31 +179,31 @@ declare const OrganisationReportPreferenceSchema: z.ZodObject<{
179
179
  vehicle_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
180
180
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
181
181
  }, "strip", z.ZodTypeAny, {
182
- status: Status;
183
- organisation_id: string;
184
- vehicle_ids: string[];
185
- all_vehicles: YesNo;
186
- mobile_numbers: string;
187
- email_ids: string;
188
- cc_email_ids: string;
189
182
  report_name: string;
190
183
  report_status: OnOff;
191
184
  report_types: ReportType[];
192
185
  report_list: ReportList[];
193
186
  report_channels: ReportChannel.Email[];
194
- }, {
187
+ mobile_numbers: string;
188
+ email_ids: string;
189
+ cc_email_ids: string;
190
+ all_vehicles: YesNo;
195
191
  status: Status;
196
192
  organisation_id: string;
197
- all_vehicles: YesNo;
193
+ vehicle_ids: string[];
194
+ }, {
198
195
  report_name: string;
199
196
  report_status: OnOff;
200
- vehicle_ids?: string[] | undefined;
201
- mobile_numbers?: string | undefined;
202
- email_ids?: string | undefined;
203
- cc_email_ids?: string | undefined;
197
+ all_vehicles: YesNo;
198
+ status: Status;
199
+ organisation_id: string;
204
200
  report_types?: ReportType[] | undefined;
205
201
  report_list?: ReportList[] | undefined;
206
202
  report_channels?: ReportChannel.Email[] | undefined;
203
+ mobile_numbers?: string | undefined;
204
+ email_ids?: string | undefined;
205
+ cc_email_ids?: string | undefined;
206
+ vehicle_ids?: string[] | undefined;
207
207
  }>;
208
208
  type OrganisationReportPreferenceDTO = z.infer<typeof OrganisationReportPreferenceSchema>;
209
209
  declare const OrganisationReportPreferenceQuerySchema: z.ZodObject<{
@@ -244,6 +244,10 @@ declare const OrganisationReportPreferenceQuerySchema: z.ZodObject<{
244
244
  report_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof ReportList>, "many">>>;
245
245
  report_channels: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof ReportChannel>, "many">>>;
246
246
  }, "strip", z.ZodTypeAny, {
247
+ report_status: OnOff[];
248
+ report_types: ReportType[];
249
+ report_list: ReportList[];
250
+ report_channels: ReportChannel.Email[];
247
251
  status: Status[];
248
252
  search: string;
249
253
  paging: PAGING;
@@ -266,14 +270,14 @@ declare const OrganisationReportPreferenceQuerySchema: z.ZodObject<{
266
270
  date_format_id: string;
267
271
  time_zone_id: string;
268
272
  organisation_ids: string[];
269
- report_status: OnOff[];
270
- report_types: ReportType[];
271
- report_list: ReportList[];
272
- report_channels: ReportChannel.Email[];
273
273
  report_preference_ids: string[];
274
274
  }, {
275
275
  date_format_id: string;
276
276
  time_zone_id: string;
277
+ report_status?: OnOff[] | undefined;
278
+ report_types?: ReportType[] | undefined;
279
+ report_list?: ReportList[] | undefined;
280
+ report_channels?: ReportChannel.Email[] | undefined;
277
281
  status?: Status[] | undefined;
278
282
  search?: string | undefined;
279
283
  paging?: PAGING | undefined;
@@ -294,10 +298,6 @@ declare const OrganisationReportPreferenceQuerySchema: z.ZodObject<{
294
298
  }[] | undefined;
295
299
  include_master_data?: YesNo | undefined;
296
300
  organisation_ids?: string[] | undefined;
297
- report_status?: OnOff[] | undefined;
298
- report_types?: ReportType[] | undefined;
299
- report_list?: ReportList[] | undefined;
300
- report_channels?: ReportChannel.Email[] | undefined;
301
301
  report_preference_ids?: string[] | undefined;
302
302
  }>;
303
303
  type OrganisationReportPreferenceQueryDTO = z.infer<typeof OrganisationReportPreferenceQuerySchema>;
@@ -2,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-Dkh1nIGX.js';
5
+ import { U as UserOrganisation, a as User } from '../../user_organisation_service-CTYXHeOC.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
 
@@ -120,8 +120,8 @@ declare const TicketSchema: z.ZodObject<{
120
120
  }, "strip", z.ZodTypeAny, {
121
121
  status: Status;
122
122
  organisation_id: string;
123
- user_id: string;
124
123
  description: string;
124
+ user_id: string;
125
125
  admin_id: string;
126
126
  subject: string;
127
127
  admin_message: string;
@@ -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-CTYXHeOC.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
+ 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 };