vms-nest-prisma-api-document 1004.0.0 → 1007.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 (113) hide show
  1. package/dist/{bookmark_service-DqbaOatm.d.ts → bookmark_service-CL4_vRjh.d.ts} +879 -927
  2. package/dist/core/Enums.d.ts +33 -1
  3. package/dist/core/Enums.js +42 -0
  4. package/dist/services/account/bookmark_service.d.ts +1 -1
  5. package/dist/services/account/invoice_service.d.ts +20 -20
  6. package/dist/services/account/notification_preferences.service.d.ts +1 -1
  7. package/dist/services/account/report_preferences.service.d.ts +1 -1
  8. package/dist/services/account/ticket_service.d.ts +1 -1
  9. package/dist/services/core/cronjobs.service.d.ts +12 -12
  10. package/dist/services/core/external_api.service.d.ts +10 -10
  11. package/dist/services/fleet/bus_mangement/bus_stop.d.ts +1 -1
  12. package/dist/services/fleet/bus_mangement/calendar.d.ts +1 -1
  13. package/dist/services/fleet/bus_mangement/day_run.d.ts +6 -0
  14. package/dist/services/fleet/bus_mangement/day_run.js +0 -0
  15. package/dist/services/fleet/bus_mangement/master_route.d.ts +1 -1
  16. package/dist/services/fleet/bus_mangement/master_route.js +15 -14
  17. package/dist/services/fleet/bus_mangement/master_schedule.d.ts +1 -1
  18. package/dist/services/fleet/bus_mangement/master_schedule.js +71 -159
  19. package/dist/services/fleet/bus_mangement/notice_board.d.ts +1 -1
  20. package/dist/services/fleet/bus_mangement/student.d.ts +1 -1
  21. package/dist/services/fleet/bus_mangement/student.js +21 -46
  22. package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.d.ts +1 -1
  23. package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.d.ts +1 -1
  24. package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +1 -1
  25. package/dist/services/fleet/incident_management/incident_management_service.d.ts +1 -1
  26. package/dist/services/fleet/inspection_management/fleet_inspection_form_service.d.ts +1 -1
  27. package/dist/services/fleet/inspection_management/fleet_inspection_management_service.d.ts +1 -1
  28. package/dist/services/fleet/inspection_management/fleet_inspection_schedule_service.d.ts +1 -1
  29. package/dist/services/fleet/issue_management/issue_management_service.d.ts +1 -1
  30. package/dist/services/fleet/service_management/fleet_service_management_service.d.ts +1 -1
  31. package/dist/services/fleet/service_management/fleet_service_schedule_service.d.ts +1 -1
  32. package/dist/services/fleet/vendor_management/fleet_vendor_fuel_station.d.ts +1 -1
  33. package/dist/services/fleet/vendor_management/fleet_vendor_service.d.ts +1 -1
  34. package/dist/services/fleet/vendor_management/fleet_vendor_service_center.d.ts +1 -1
  35. package/dist/services/gps/features/geofence/gps_geofence_service.d.ts +1 -1
  36. package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +1 -1
  37. package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +1 -1
  38. package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +1 -1
  39. package/dist/services/gps/features/gps_live_track_share_link_service.d.ts +1 -1
  40. package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +1 -1
  41. package/dist/services/main/devices/master_device_service.d.ts +1 -1
  42. package/dist/services/main/drivers/master_driver_service.d.ts +1 -1
  43. package/dist/services/main/sims/master_sim_service.d.ts +1 -1
  44. package/dist/services/main/users/auth_service.d.ts +1 -1
  45. package/dist/services/main/users/user_admin_service.d.ts +1 -1
  46. package/dist/services/main/users/user_organisation_service.d.ts +1 -1
  47. package/dist/services/main/users/user_service.d.ts +1 -1
  48. package/dist/services/main/vehicle/childs/vehicle_odometer_history.d.ts +1 -1
  49. package/dist/services/main/vehicle/master_vehicle_service.d.ts +1 -1
  50. package/dist/services/master/bus/master_class_service.d.ts +1 -1
  51. package/dist/services/master/bus/master_program_service.d.ts +1 -1
  52. package/dist/services/master/bus/master_relationship_service.d.ts +1 -1
  53. package/dist/services/master/bus/master_section_service.d.ts +1 -1
  54. package/dist/services/master/bus/master_semester_service.d.ts +1 -1
  55. package/dist/services/master/bus/master_stream_service.d.ts +1 -1
  56. package/dist/services/master/bus/master_year_service.d.ts +1 -1
  57. package/dist/services/master/cache_reset/master_reset_cache_service.d.ts +1 -1
  58. package/dist/services/master/device/master_device_manufacturer_service.d.ts +1 -1
  59. package/dist/services/master/device/master_device_model_service.d.ts +1 -1
  60. package/dist/services/master/device/master_device_type_service.d.ts +1 -1
  61. package/dist/services/master/expense/master_expense_name_service.d.ts +1 -1
  62. package/dist/services/master/expense/master_expense_type_service.d.ts +1 -1
  63. package/dist/services/master/expense/master_fuel_company_service.d.ts +1 -1
  64. package/dist/services/master/expense/master_vendor_document_type_service.d.ts +1 -1
  65. package/dist/services/master/expense/master_vendor_tag_service.d.ts +1 -1
  66. package/dist/services/master/expense/master_vendor_type_service.d.ts +1 -1
  67. package/dist/services/master/fleet/master_fleet_incident_severity_service.d.ts +1 -1
  68. package/dist/services/master/fleet/master_fleet_incident_status_service.d.ts +1 -1
  69. package/dist/services/master/fleet/master_fleet_incident_type_service.d.ts +1 -1
  70. package/dist/services/master/fleet/master_fleet_insurance_claim_status_service.d.ts +1 -1
  71. package/dist/services/master/fleet/master_fleet_service_task_service.d.ts +1 -1
  72. package/dist/services/master/main/master_main_country_service.d.ts +1 -1
  73. package/dist/services/master/main/master_main_currency_service.d.ts +1 -1
  74. package/dist/services/master/main/master_main_date_format_service.d.ts +1 -1
  75. package/dist/services/master/main/master_main_industry_service.d.ts +1 -1
  76. package/dist/services/master/main/master_main_landmark_service.d.ts +1 -1
  77. package/dist/services/master/main/master_main_language_service.d.ts +1 -1
  78. package/dist/services/master/main/master_main_sim_provider_service.d.ts +1 -1
  79. package/dist/services/master/main/master_main_state_service.d.ts +1 -1
  80. package/dist/services/master/main/master_main_timezone_service.d.ts +1 -1
  81. package/dist/services/master/main/master_main_unit_distance_service.d.ts +1 -1
  82. package/dist/services/master/main/master_main_unit_mileage_service.d.ts +1 -1
  83. package/dist/services/master/main/master_main_unit_volume_service.d.ts +1 -1
  84. package/dist/services/master/organisation/organisation_branch_service.d.ts +1 -1
  85. package/dist/services/master/organisation/organisation_color_service.d.ts +1 -1
  86. package/dist/services/master/organisation/organisation_group_service.d.ts +1 -1
  87. package/dist/services/master/organisation/organisation_sub_company_service.d.ts +1 -1
  88. package/dist/services/master/organisation/organisation_tag_service.d.ts +1 -1
  89. package/dist/services/master/spare_part/master_spare_part_category_service.d.ts +1 -1
  90. package/dist/services/master/spare_part/master_spare_part_sub_category_service.d.ts +1 -1
  91. package/dist/services/master/spare_part/master_spare_part_unit_service.d.ts +1 -1
  92. package/dist/services/master/trip/master_trip_party_type_service.d.ts +1 -1
  93. package/dist/services/master/tyre/master_tyre_grade_service.d.ts +1 -1
  94. package/dist/services/master/tyre/master_tyre_make_service.d.ts +1 -1
  95. package/dist/services/master/tyre/master_tyre_model_service.d.ts +1 -1
  96. package/dist/services/master/user/master_user_role_service.d.ts +1 -1
  97. package/dist/services/master/user/master_user_status_service.d.ts +1 -1
  98. package/dist/services/master/vehicle/master_vehicle_associated_to_service.d.ts +1 -1
  99. package/dist/services/master/vehicle/master_vehicle_document_type_service.d.ts +1 -1
  100. package/dist/services/master/vehicle/master_vehicle_fuel_removal_reason_service.d.ts +1 -1
  101. package/dist/services/master/vehicle/master_vehicle_fuel_type_service.d.ts +1 -1
  102. package/dist/services/master/vehicle/master_vehicle_fuel_unit_service.d.ts +1 -1
  103. package/dist/services/master/vehicle/master_vehicle_make_service.d.ts +1 -1
  104. package/dist/services/master/vehicle/master_vehicle_model_service.d.ts +1 -1
  105. package/dist/services/master/vehicle/master_vehicle_ownership_type_service.d.ts +1 -1
  106. package/dist/services/master/vehicle/master_vehicle_status_type_service.d.ts +1 -1
  107. package/dist/services/master/vehicle/master_vehicle_sub_model_service.d.ts +1 -1
  108. package/dist/services/master/vehicle/master_vehicle_type_service.d.ts +1 -1
  109. package/dist/services/website/contact_us_detail_service.d.ts +1 -1
  110. package/dist/services/website/exclusive_feature_access.d.ts +1 -1
  111. package/dist/services/website/faq_service.d.ts +1 -1
  112. package/dist/services/website/request_demo.service.d.ts +4 -4
  113. package/package.json +1 -1
@@ -728,6 +728,38 @@ declare enum StudentLeaveType {
728
728
  PickupOnly = "PickupOnly",
729
729
  DropOnly = "DropOnly"
730
730
  }
731
+ declare enum DayRunStatus {
732
+ Planned = "Planned",
733
+ InProgress = "InProgress",
734
+ Completed = "Completed",
735
+ Cancelled = "Cancelled"
736
+ }
737
+ declare enum DayRunRunningStatus {
738
+ OnTime = "OnTime",
739
+ Delayed = "Delayed"
740
+ }
741
+ declare enum DayRunStopStatus {
742
+ Pending = "Pending",
743
+ Arrived = "Arrived",
744
+ Departed = "Departed",
745
+ Skipped = "Skipped"
746
+ }
747
+ declare enum StudentLegStatus {
748
+ Planned = "Planned",
749
+ PlannedAbsent = "PlannedAbsent",
750
+ UnplannedAbsent = "UnplannedAbsent",
751
+ Boarded = "Boarded",
752
+ Handovered = "Handovered"
753
+ }
754
+ declare enum AttendanceMethod {
755
+ None = "None",
756
+ QRCode = "QRCode",
757
+ NFC = "NFC",
758
+ ParentAppCode = "ParentAppCode",
759
+ OTP = "OTP",
760
+ Photo = "Photo",
761
+ Manual = "Manual"
762
+ }
731
763
  declare enum HolidayType {
732
764
  FullDay = "FullDay",
733
765
  HalfDay = "HalfDay"
@@ -835,4 +867,4 @@ declare enum APIAuthType {
835
867
  BASIC_AUTH = "BASIC_AUTH"
836
868
  }
837
869
 
838
- export { APIAuthType, AdminRole, AlertSubType, AlertType, ApprovalStatus, BillingStatus, BloodGroup, BooleanType, BusLeg, BusStopType, DeviceStatus, DeviceType, DocumentStatus, DocumentType, DocumentValidityStatus, DoorSensorStatus, DriverType, ExecutionStatus, ExpenseCategory, ExpiryType, FileType, FleetSize, FleetVendorAddressLabel, FuelTankType, GPSFuelApproveStatus, GPSSource, GPSType, GPSVehicleCategory, Gender, GeofencePurposeType, GeofenceStatusType, GeofenceType, HolidayType, IncidentRoadType, IncidentTime, IncidentVisibility, IncidentWeather, InspectionActionStatus, InspectionPriority, InspectionScheduleStatus, InspectionStatus, InspectionType, InvoiceStatus, 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, RunType, ScheduleStatus, ScheduleType, ServiceScheduleStatus, ServiceStatus, ServiceType, ShareChannel, SimStatus, Status, SteeringType, StockType, StudentLeaveType, TicketStatus, TimeSlot, TrackHistoryLinkStatus, TransportPlanType, TyreStatus, VehicleLifeStatus, VerifyStatus, WheelDriveType, YesNo };
870
+ export { APIAuthType, AdminRole, AlertSubType, AlertType, ApprovalStatus, AttendanceMethod, BillingStatus, BloodGroup, BooleanType, BusLeg, BusStopType, DayRunRunningStatus, DayRunStatus, DayRunStopStatus, DeviceStatus, DeviceType, DocumentStatus, DocumentType, DocumentValidityStatus, DoorSensorStatus, DriverType, ExecutionStatus, ExpenseCategory, ExpiryType, FileType, FleetSize, FleetVendorAddressLabel, FuelTankType, GPSFuelApproveStatus, GPSSource, GPSType, GPSVehicleCategory, Gender, GeofencePurposeType, GeofenceStatusType, GeofenceType, HolidayType, IncidentRoadType, IncidentTime, IncidentVisibility, IncidentWeather, InspectionActionStatus, InspectionPriority, InspectionScheduleStatus, InspectionStatus, InspectionType, InvoiceStatus, 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, RunType, ScheduleStatus, ScheduleType, ServiceScheduleStatus, ServiceStatus, ServiceType, ShareChannel, SimStatus, Status, SteeringType, StockType, StudentLeaveType, StudentLegStatus, TicketStatus, TimeSlot, TrackHistoryLinkStatus, TransportPlanType, TyreStatus, VehicleLifeStatus, VerifyStatus, WheelDriveType, YesNo };
@@ -820,6 +820,43 @@ var StudentLeaveType = /* @__PURE__ */ ((StudentLeaveType2) => {
820
820
  StudentLeaveType2["DropOnly"] = "DropOnly";
821
821
  return StudentLeaveType2;
822
822
  })(StudentLeaveType || {});
823
+ var DayRunStatus = /* @__PURE__ */ ((DayRunStatus2) => {
824
+ DayRunStatus2["Planned"] = "Planned";
825
+ DayRunStatus2["InProgress"] = "InProgress";
826
+ DayRunStatus2["Completed"] = "Completed";
827
+ DayRunStatus2["Cancelled"] = "Cancelled";
828
+ return DayRunStatus2;
829
+ })(DayRunStatus || {});
830
+ var DayRunRunningStatus = /* @__PURE__ */ ((DayRunRunningStatus2) => {
831
+ DayRunRunningStatus2["OnTime"] = "OnTime";
832
+ DayRunRunningStatus2["Delayed"] = "Delayed";
833
+ return DayRunRunningStatus2;
834
+ })(DayRunRunningStatus || {});
835
+ var DayRunStopStatus = /* @__PURE__ */ ((DayRunStopStatus2) => {
836
+ DayRunStopStatus2["Pending"] = "Pending";
837
+ DayRunStopStatus2["Arrived"] = "Arrived";
838
+ DayRunStopStatus2["Departed"] = "Departed";
839
+ DayRunStopStatus2["Skipped"] = "Skipped";
840
+ return DayRunStopStatus2;
841
+ })(DayRunStopStatus || {});
842
+ var StudentLegStatus = /* @__PURE__ */ ((StudentLegStatus2) => {
843
+ StudentLegStatus2["Planned"] = "Planned";
844
+ StudentLegStatus2["PlannedAbsent"] = "PlannedAbsent";
845
+ StudentLegStatus2["UnplannedAbsent"] = "UnplannedAbsent";
846
+ StudentLegStatus2["Boarded"] = "Boarded";
847
+ StudentLegStatus2["Handovered"] = "Handovered";
848
+ return StudentLegStatus2;
849
+ })(StudentLegStatus || {});
850
+ var AttendanceMethod = /* @__PURE__ */ ((AttendanceMethod2) => {
851
+ AttendanceMethod2["None"] = "None";
852
+ AttendanceMethod2["QRCode"] = "QRCode";
853
+ AttendanceMethod2["NFC"] = "NFC";
854
+ AttendanceMethod2["ParentAppCode"] = "ParentAppCode";
855
+ AttendanceMethod2["OTP"] = "OTP";
856
+ AttendanceMethod2["Photo"] = "Photo";
857
+ AttendanceMethod2["Manual"] = "Manual";
858
+ return AttendanceMethod2;
859
+ })(AttendanceMethod || {});
823
860
  var HolidayType = /* @__PURE__ */ ((HolidayType2) => {
824
861
  HolidayType2["FullDay"] = "FullDay";
825
862
  HolidayType2["HalfDay"] = "HalfDay";
@@ -947,11 +984,15 @@ export {
947
984
  AlertSubType,
948
985
  AlertType,
949
986
  ApprovalStatus,
987
+ AttendanceMethod,
950
988
  BillingStatus,
951
989
  BloodGroup,
952
990
  BooleanType,
953
991
  BusLeg,
954
992
  BusStopType,
993
+ DayRunRunningStatus,
994
+ DayRunStatus,
995
+ DayRunStopStatus,
955
996
  DeviceStatus,
956
997
  DeviceType,
957
998
  DocumentStatus,
@@ -1039,6 +1080,7 @@ export {
1039
1080
  SteeringType,
1040
1081
  StockType,
1041
1082
  StudentLeaveType,
1083
+ StudentLegStatus,
1042
1084
  TicketStatus,
1043
1085
  TimeSlot,
1044
1086
  TrackHistoryLinkStatus,
@@ -1,6 +1,6 @@
1
1
  import '../../core/Enums.js';
2
2
  import '../../core/BaseResponse.js';
3
3
  import 'zod';
4
- export { A0 as BookMark, A2 as BookMarkDTO, A4 as BookMarkQueryDTO, A3 as BookMarkQuerySchema, A1 as BookMarkSchema, A8 as createBookMark, Aa as deleteBookMark, A7 as findBookMarks, A6 as newBookMarkPayload, A5 as toBookMarkPayload, A9 as updateBookMark } from '../../bookmark_service-DqbaOatm.js';
4
+ export { zJ as BookMark, zL as BookMarkDTO, zN as BookMarkQueryDTO, zM as BookMarkQuerySchema, zK as BookMarkSchema, zR as createBookMark, zT as deleteBookMark, zQ as findBookMarks, zP as newBookMarkPayload, zO as toBookMarkPayload, zS as updateBookMark } from '../../bookmark_service-CL4_vRjh.js';
5
5
  import '../../zod_utils/zod_base_schema.js';
6
6
  import '../gps/reports/gps_models/FuelConsumptionMonthly.js';
@@ -2,7 +2,7 @@ import { InvoiceStatus, Status, FileType, PAGING, LoadParents, LoadChild, LoadCh
2
2
  import { BaseCommonFile, BR, AWSPresignedUrl, SBR, FBR } 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, M as MasterMainCurrency } from '../../bookmark_service-DqbaOatm.js';
5
+ import { U as UserOrganisation, M as MasterMainCurrency } from '../../bookmark_service-CL4_vRjh.js';
6
6
  import '../gps/reports/gps_models/FuelConsumptionMonthly.js';
7
7
 
8
8
  interface Invoice extends Record<string, unknown> {
@@ -58,7 +58,6 @@ declare const InvoiceFileSchema: z.ZodObject<{
58
58
  organisation_id: z.ZodEffects<z.ZodString, string, string>;
59
59
  invoice_id: z.ZodEffects<z.ZodString, string, string>;
60
60
  }, "strip", z.ZodTypeAny, {
61
- invoice_id: string;
62
61
  status: Status;
63
62
  organisation_id: string;
64
63
  usage_type: string;
@@ -69,12 +68,13 @@ declare const InvoiceFileSchema: z.ZodObject<{
69
68
  file_description: string;
70
69
  file_size: number;
71
70
  file_metadata: Record<string, any>;
72
- }, {
73
71
  invoice_id: string;
72
+ }, {
74
73
  status: Status;
75
74
  organisation_id: string;
76
75
  usage_type: string;
77
76
  file_type: FileType;
77
+ invoice_id: string;
78
78
  file_url?: string | undefined;
79
79
  file_key?: string | undefined;
80
80
  file_name?: string | undefined;
@@ -107,7 +107,6 @@ declare const InvoiceSchema: z.ZodObject<{
107
107
  organisation_id: z.ZodEffects<z.ZodString, string, string>;
108
108
  invoice_id: z.ZodEffects<z.ZodString, string, string>;
109
109
  }, z.UnknownKeysParam, z.ZodTypeAny, {
110
- invoice_id: string;
111
110
  status: Status;
112
111
  organisation_id: string;
113
112
  usage_type: string;
@@ -118,12 +117,13 @@ declare const InvoiceSchema: z.ZodObject<{
118
117
  file_description: string;
119
118
  file_size: number;
120
119
  file_metadata: Record<string, any>;
121
- }, {
122
120
  invoice_id: string;
121
+ }, {
123
122
  status: Status;
124
123
  organisation_id: string;
125
124
  usage_type: string;
126
125
  file_type: FileType;
126
+ invoice_id: string;
127
127
  file_url?: string | undefined;
128
128
  file_key?: string | undefined;
129
129
  file_name?: string | undefined;
@@ -134,6 +134,10 @@ declare const InvoiceSchema: z.ZodObject<{
134
134
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
135
135
  time_zone_id: z.ZodEffects<z.ZodString, string, string>;
136
136
  }, "strip", z.ZodTypeAny, {
137
+ status: Status;
138
+ organisation_id: string;
139
+ time_zone_id: string;
140
+ currency_id: string;
137
141
  invoice_number: string;
138
142
  invoice_month_year: string;
139
143
  invoice_amount: number;
@@ -141,11 +145,7 @@ declare const InvoiceSchema: z.ZodObject<{
141
145
  invoice_due_date: string;
142
146
  payment_date: string;
143
147
  invoice_status: InvoiceStatus;
144
- status: Status;
145
- organisation_id: string;
146
- currency_id: string;
147
148
  InvoiceFileSchema: {
148
- invoice_id: string;
149
149
  status: Status;
150
150
  organisation_id: string;
151
151
  usage_type: string;
@@ -156,26 +156,26 @@ declare const InvoiceSchema: z.ZodObject<{
156
156
  file_description: string;
157
157
  file_size: number;
158
158
  file_metadata: Record<string, any>;
159
+ invoice_id: string;
159
160
  }[];
160
- time_zone_id: string;
161
161
  }, {
162
+ status: Status;
163
+ organisation_id: string;
164
+ time_zone_id: string;
165
+ currency_id: string;
162
166
  invoice_number: string;
163
167
  invoice_month_year: string;
164
168
  invoice_generate_date: string;
165
169
  invoice_due_date: string;
166
170
  invoice_status: InvoiceStatus;
167
- status: Status;
168
- organisation_id: string;
169
- currency_id: string;
170
- time_zone_id: string;
171
171
  invoice_amount?: unknown;
172
172
  payment_date?: string | undefined;
173
173
  InvoiceFileSchema?: {
174
- invoice_id: string;
175
174
  status: Status;
176
175
  organisation_id: string;
177
176
  usage_type: string;
178
177
  file_type: FileType;
178
+ invoice_id: string;
179
179
  file_url?: string | undefined;
180
180
  file_key?: string | undefined;
181
181
  file_name?: string | undefined;
@@ -223,9 +223,7 @@ declare const InvoiceQuerySchema: z.ZodObject<{
223
223
  from_date: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>, string, string>;
224
224
  to_date: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>, string, string>;
225
225
  }, "strip", z.ZodTypeAny, {
226
- invoice_status: InvoiceStatus[];
227
226
  status: Status[];
228
- time_zone_id: string;
229
227
  search: string;
230
228
  paging: PAGING;
231
229
  page_count: number;
@@ -245,17 +243,18 @@ declare const InvoiceQuerySchema: z.ZodObject<{
245
243
  }[];
246
244
  include_master_data: YesNo;
247
245
  date_format_id: string;
246
+ time_zone_id: string;
248
247
  organisation_ids: string[];
249
248
  currency_ids: string[];
250
- invoice_ids: string[];
251
249
  from_date: string;
252
250
  to_date: string;
251
+ invoice_status: InvoiceStatus[];
252
+ invoice_ids: string[];
253
253
  }, {
254
- time_zone_id: string;
255
254
  date_format_id: string;
255
+ time_zone_id: string;
256
256
  from_date: string;
257
257
  to_date: string;
258
- invoice_status?: InvoiceStatus[] | undefined;
259
258
  status?: Status[] | undefined;
260
259
  search?: string | undefined;
261
260
  paging?: PAGING | undefined;
@@ -277,6 +276,7 @@ declare const InvoiceQuerySchema: z.ZodObject<{
277
276
  include_master_data?: YesNo | undefined;
278
277
  organisation_ids?: string[] | undefined;
279
278
  currency_ids?: string[] | undefined;
279
+ invoice_status?: InvoiceStatus[] | undefined;
280
280
  invoice_ids?: string[] | undefined;
281
281
  }>;
282
282
  type InvoiceQueryDTO = z.infer<typeof InvoiceQuerySchema>;
@@ -1,6 +1,6 @@
1
1
  import '../../core/Enums.js';
2
2
  import '../../core/BaseResponse.js';
3
3
  import 'zod';
4
- export { cK as OrganisationNotificationPreference, cP as OrganisationNotificationPreferenceDTO, cM as OrganisationNotificationPreferenceGeofenceLink, cR as OrganisationNotificationPreferenceQueryDTO, cQ as OrganisationNotificationPreferenceQuerySchema, cO as OrganisationNotificationPreferenceSchema, cN as OrganisationNotificationPreferenceUserLink, cL as OrganisationNotificationPreferenceVehicleLink, cV as createOrganisationNotificationPreference, cX as deleteOrganisationNotificationPreference, cU as findOrganisationNotificationPreference, cT as newOrganisationNotificationPreferencePayload, cS as toOrganisationNotificationPreferencePayload, cW as updateOrganisationNotificationPreference } from '../../bookmark_service-DqbaOatm.js';
4
+ export { cK as OrganisationNotificationPreference, cP as OrganisationNotificationPreferenceDTO, cM as OrganisationNotificationPreferenceGeofenceLink, cR as OrganisationNotificationPreferenceQueryDTO, cQ as OrganisationNotificationPreferenceQuerySchema, cO as OrganisationNotificationPreferenceSchema, cN as OrganisationNotificationPreferenceUserLink, cL as OrganisationNotificationPreferenceVehicleLink, cV as createOrganisationNotificationPreference, cX as deleteOrganisationNotificationPreference, cU as findOrganisationNotificationPreference, cT as newOrganisationNotificationPreferencePayload, cS as toOrganisationNotificationPreferencePayload, cW as updateOrganisationNotificationPreference } from '../../bookmark_service-CL4_vRjh.js';
5
5
  import '../../zod_utils/zod_base_schema.js';
6
6
  import '../gps/reports/gps_models/FuelConsumptionMonthly.js';
@@ -1,6 +1,6 @@
1
1
  import '../../core/Enums.js';
2
2
  import '../../core/BaseResponse.js';
3
3
  import 'zod';
4
- export { ow as OrganisationReportAutomationMail, oz as OrganisationReportAutomationMailQueryDTO, oy as OrganisationReportAutomationMailQuerySchema, ox as OrganisationReportAutomationMailVehicleLink, ou as OrganisationReportPreference, oB as OrganisationReportPreferenceDTO, oD as OrganisationReportPreferenceQueryDTO, oC as OrganisationReportPreferenceQuerySchema, oA as OrganisationReportPreferenceSchema, ov as OrganisationReportPreferenceVehicleLink, oH as createOrganisationReportPreference, oJ as deleteOrganisationReportPreference, oK as findOrganisationReportAutomationMail, oG as findOrganisationReportPreference, oF as newOrganisationReportPreferencePayload, oE as toOrganisationReportPreferencePayload, oI as updateOrganisationReportPreference } from '../../bookmark_service-DqbaOatm.js';
4
+ export { ow as OrganisationReportAutomationMail, oz as OrganisationReportAutomationMailQueryDTO, oy as OrganisationReportAutomationMailQuerySchema, ox as OrganisationReportAutomationMailVehicleLink, ou as OrganisationReportPreference, oB as OrganisationReportPreferenceDTO, oD as OrganisationReportPreferenceQueryDTO, oC as OrganisationReportPreferenceQuerySchema, oA as OrganisationReportPreferenceSchema, ov as OrganisationReportPreferenceVehicleLink, oH as createOrganisationReportPreference, oJ as deleteOrganisationReportPreference, oK as findOrganisationReportAutomationMail, oG as findOrganisationReportPreference, oF as newOrganisationReportPreferencePayload, oE as toOrganisationReportPreferencePayload, oI as updateOrganisationReportPreference } from '../../bookmark_service-CL4_vRjh.js';
5
5
  import '../../zod_utils/zod_base_schema.js';
6
6
  import '../gps/reports/gps_models/FuelConsumptionMonthly.js';
@@ -2,5 +2,5 @@ import '../../core/Enums.js';
2
2
  import '../../core/BaseResponse.js';
3
3
  import 'zod';
4
4
  import '../../zod_utils/zod_base_schema.js';
5
- export { dg as Ticket, dl as TicketDTO, dh as TicketFile, dj as TicketFileDTO, di as TicketFileSchema, dq as TicketQueryDTO, dp as TicketQuerySchema, dk as TicketSchema, dn as TicketVerifyDTO, dm as TicketVerifySchema, dz as createTicket, dw as create_ticket_file, dC as deleteTicket, dy as findTickets, dv as get_ticket_file_presigned_url, ds as newTicketPayload, dt as newVerifyTicketPayload, dx as remove_ticket_file, dr as toTicketPayload, du as toVerifyTicketPayload, dA as updateTicket, dB as updateVerifyStatus } from '../../bookmark_service-DqbaOatm.js';
5
+ export { dg as Ticket, dl as TicketDTO, dh as TicketFile, dj as TicketFileDTO, di as TicketFileSchema, dq as TicketQueryDTO, dp as TicketQuerySchema, dk as TicketSchema, dn as TicketVerifyDTO, dm as TicketVerifySchema, dz as createTicket, dw as create_ticket_file, dC as deleteTicket, dy as findTickets, dv as get_ticket_file_presigned_url, ds as newTicketPayload, dt as newVerifyTicketPayload, dx as remove_ticket_file, dr as toTicketPayload, du as toVerifyTicketPayload, dA as updateTicket, dB as updateVerifyStatus } from '../../bookmark_service-CL4_vRjh.js';
6
6
  import '../gps/reports/gps_models/FuelConsumptionMonthly.js';
@@ -86,10 +86,8 @@ declare const CronMonitorQuerySchema: z.ZodObject<{
86
86
  run_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof RunType>, "many">>>;
87
87
  execution_status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof ExecutionStatus>, "many">>>;
88
88
  }, "strip", z.ZodTypeAny, {
89
- run_type: RunType[];
90
- execution_status: ExecutionStatus[];
91
- status: Status[];
92
89
  is_enabled: YesNo[];
90
+ status: Status[];
93
91
  search: string;
94
92
  paging: PAGING;
95
93
  page_count: number;
@@ -110,13 +108,13 @@ declare const CronMonitorQuerySchema: z.ZodObject<{
110
108
  include_master_data: YesNo;
111
109
  date_format_id: string;
112
110
  time_zone_id: string;
111
+ run_type: RunType[];
112
+ execution_status: ExecutionStatus[];
113
113
  }, {
114
114
  date_format_id: string;
115
115
  time_zone_id: string;
116
- run_type?: RunType[] | undefined;
117
- execution_status?: ExecutionStatus[] | undefined;
118
- status?: Status[] | undefined;
119
116
  is_enabled?: YesNo[] | undefined;
117
+ status?: Status[] | undefined;
120
118
  search?: string | undefined;
121
119
  paging?: PAGING | undefined;
122
120
  page_count?: unknown;
@@ -135,6 +133,8 @@ declare const CronMonitorQuerySchema: z.ZodObject<{
135
133
  direction: OrderBy;
136
134
  }[] | undefined;
137
135
  include_master_data?: YesNo | undefined;
136
+ run_type?: RunType[] | undefined;
137
+ execution_status?: ExecutionStatus[] | undefined;
138
138
  }>;
139
139
  type CronMonitorQueryDTO = z.infer<typeof CronMonitorQuerySchema>;
140
140
  declare const CronJobLogQuerySchema: z.ZodObject<{
@@ -173,9 +173,6 @@ declare const CronJobLogQuerySchema: z.ZodObject<{
173
173
  execution_status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof ExecutionStatus>, "many">>>;
174
174
  is_latest_run: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof YesNo>, "many">>>;
175
175
  }, "strip", z.ZodTypeAny, {
176
- run_type: RunType[];
177
- execution_status: ExecutionStatus[];
178
- is_latest_run: YesNo[];
179
176
  status: Status[];
180
177
  search: string;
181
178
  paging: PAGING;
@@ -197,13 +194,13 @@ declare const CronJobLogQuerySchema: z.ZodObject<{
197
194
  include_master_data: YesNo;
198
195
  date_format_id: string;
199
196
  time_zone_id: string;
197
+ run_type: RunType[];
198
+ execution_status: ExecutionStatus[];
199
+ is_latest_run: YesNo[];
200
200
  cron_job_ids: string[];
201
201
  }, {
202
202
  date_format_id: string;
203
203
  time_zone_id: string;
204
- run_type?: RunType[] | undefined;
205
- execution_status?: ExecutionStatus[] | undefined;
206
- is_latest_run?: YesNo[] | undefined;
207
204
  status?: Status[] | undefined;
208
205
  search?: string | undefined;
209
206
  paging?: PAGING | undefined;
@@ -223,6 +220,9 @@ declare const CronJobLogQuerySchema: z.ZodObject<{
223
220
  direction: OrderBy;
224
221
  }[] | undefined;
225
222
  include_master_data?: YesNo | undefined;
223
+ run_type?: RunType[] | undefined;
224
+ execution_status?: ExecutionStatus[] | undefined;
225
+ is_latest_run?: YesNo[] | undefined;
226
226
  cron_job_ids?: string[] | undefined;
227
227
  }>;
228
228
  type CronJobLogQueryDTO = z.infer<typeof CronJobLogQuerySchema>;
@@ -61,26 +61,26 @@ declare const ApiDataShareManagementSchema: z.ZodObject<{
61
61
  allowed_ips: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
62
62
  status: z.ZodType<Status, z.ZodTypeDef, Status>;
63
63
  }, "strip", z.ZodTypeAny, {
64
- status: Status;
65
- is_enabled: YesNo;
66
64
  api_name: string;
67
65
  vendor_name: string;
68
66
  purpose: string;
69
67
  description: string;
68
+ is_enabled: YesNo;
70
69
  auth_type: APIAuthType;
71
70
  api_key: string;
72
71
  username: string;
73
72
  password: string;
74
73
  rate_limit_rpm: number;
75
74
  allowed_ips: string[];
76
- }, {
77
75
  status: Status;
76
+ }, {
78
77
  api_name: string;
79
78
  vendor_name: string;
80
79
  allowed_ips: string[];
81
- is_enabled?: YesNo | undefined;
80
+ status: Status;
82
81
  purpose?: string | undefined;
83
82
  description?: string | undefined;
83
+ is_enabled?: YesNo | undefined;
84
84
  auth_type?: APIAuthType | undefined;
85
85
  api_key?: string | undefined;
86
86
  username?: string | undefined;
@@ -123,8 +123,9 @@ declare const ApiDataShareManagementQuerySchema: z.ZodObject<{
123
123
  is_enabled: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof YesNo>, "many">>>;
124
124
  auth_type: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof APIAuthType>, "many">>>;
125
125
  }, "strip", z.ZodTypeAny, {
126
- status: Status[];
127
126
  is_enabled: YesNo[];
127
+ auth_type: APIAuthType[];
128
+ status: Status[];
128
129
  search: string;
129
130
  paging: PAGING;
130
131
  page_count: number;
@@ -145,13 +146,13 @@ declare const ApiDataShareManagementQuerySchema: z.ZodObject<{
145
146
  include_master_data: YesNo;
146
147
  date_format_id: string;
147
148
  time_zone_id: string;
148
- auth_type: APIAuthType[];
149
149
  api_data_share_ids: string[];
150
150
  }, {
151
151
  date_format_id: string;
152
152
  time_zone_id: string;
153
- status?: Status[] | undefined;
154
153
  is_enabled?: YesNo[] | undefined;
154
+ auth_type?: APIAuthType[] | undefined;
155
+ status?: Status[] | undefined;
155
156
  search?: string | undefined;
156
157
  paging?: PAGING | undefined;
157
158
  page_count?: unknown;
@@ -170,7 +171,6 @@ declare const ApiDataShareManagementQuerySchema: z.ZodObject<{
170
171
  direction: OrderBy;
171
172
  }[] | undefined;
172
173
  include_master_data?: YesNo | undefined;
173
- auth_type?: APIAuthType[] | undefined;
174
174
  api_data_share_ids?: string[] | undefined;
175
175
  }>;
176
176
  type ApiDataShareManagementQueryDTO = z.infer<typeof ApiDataShareManagementQuerySchema>;
@@ -210,6 +210,7 @@ declare const ApiDataShareHitLogQuerySchema: z.ZodObject<{
210
210
  is_auth_success: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof YesNo>, "many">>>;
211
211
  }, "strip", z.ZodTypeAny, {
212
212
  status: Status[];
213
+ is_auth_success: YesNo[];
213
214
  search: string;
214
215
  paging: PAGING;
215
216
  page_count: number;
@@ -230,13 +231,13 @@ declare const ApiDataShareHitLogQuerySchema: z.ZodObject<{
230
231
  include_master_data: YesNo;
231
232
  date_format_id: string;
232
233
  time_zone_id: string;
233
- is_auth_success: YesNo[];
234
234
  api_data_share_ids: string[];
235
235
  api_data_share_hit_log_ids: string[];
236
236
  }, {
237
237
  date_format_id: string;
238
238
  time_zone_id: string;
239
239
  status?: Status[] | undefined;
240
+ is_auth_success?: YesNo[] | undefined;
240
241
  search?: string | undefined;
241
242
  paging?: PAGING | undefined;
242
243
  page_count?: unknown;
@@ -255,7 +256,6 @@ declare const ApiDataShareHitLogQuerySchema: z.ZodObject<{
255
256
  direction: OrderBy;
256
257
  }[] | undefined;
257
258
  include_master_data?: YesNo | undefined;
258
- is_auth_success?: YesNo[] | undefined;
259
259
  api_data_share_ids?: string[] | undefined;
260
260
  api_data_share_hit_log_ids?: string[] | undefined;
261
261
  }>;
@@ -1,6 +1,6 @@
1
1
  import '../../../core/Enums.js';
2
2
  import '../../../core/BaseResponse.js';
3
3
  import 'zod';
4
- export { qO as BusDashBoardQueryDTO, qN as BusDashBoardQuerySchema, qG as BusDashboard, qF as BusStop, qK as BusStopDTO, qE as BusStopPolygonData, qI as BusStopPolygonDataDTO, qH as BusStopPolygonDataSchema, qM as BusStopQueryDTO, qL as BusStopQuerySchema, qJ as BusStopSchema, qV as bus_dashboard, qS as createBusStop, qU as deleteBusStop, qR as findBusStop, qQ as newBusStopPayload, qP as toBusStopPayload, qT as updateBusStop } from '../../../bookmark_service-DqbaOatm.js';
4
+ export { qO as BusDashBoardQueryDTO, qN as BusDashBoardQuerySchema, qG as BusDashboard, qF as BusStop, qK as BusStopDTO, qE as BusStopPolygonData, qI as BusStopPolygonDataDTO, qH as BusStopPolygonDataSchema, qM as BusStopQueryDTO, qL as BusStopQuerySchema, qJ as BusStopSchema, qV as bus_dashboard, qS as createBusStop, qU as deleteBusStop, qR as findBusStop, qQ as newBusStopPayload, qP as toBusStopPayload, qT as updateBusStop } from '../../../bookmark_service-CL4_vRjh.js';
5
5
  import '../../../zod_utils/zod_base_schema.js';
6
6
  import '../../gps/reports/gps_models/FuelConsumptionMonthly.js';
@@ -1,6 +1,6 @@
1
1
  import '../../../core/Enums.js';
2
2
  import '../../../core/BaseResponse.js';
3
3
  import 'zod';
4
- export { xB as OrganisationCalendar, xD as OrganisationCalendarDTO, xF as OrganisationCalendarQueryDTO, xE as OrganisationCalendarQuerySchema, xC as OrganisationCalendarSchema, xJ as createOrganisationCalendar, xL as deleteOrganisationCalendar, xI as findOrganisationCalendar, xH as newOrganisationCalendarPayload, xG as toOrganisationCalendarPayload, xK as updateOrganisationCalendar } from '../../../bookmark_service-DqbaOatm.js';
4
+ export { xi as OrganisationCalendar, xk as OrganisationCalendarDTO, xm as OrganisationCalendarQueryDTO, xl as OrganisationCalendarQuerySchema, xj as OrganisationCalendarSchema, xq as createOrganisationCalendar, xs as deleteOrganisationCalendar, xp as findOrganisationCalendar, xo as newOrganisationCalendarPayload, xn as toOrganisationCalendarPayload, xr as updateOrganisationCalendar } from '../../../bookmark_service-CL4_vRjh.js';
5
5
  import '../../../zod_utils/zod_base_schema.js';
6
6
  import '../../gps/reports/gps_models/FuelConsumptionMonthly.js';
@@ -0,0 +1,6 @@
1
+ import '../../../core/Enums.js';
2
+ export { qW as FixedScheduleDayRun, qX as FixedScheduleDayRunStop, qY as FixedScheduleDayRunStudent } from '../../../bookmark_service-CL4_vRjh.js';
3
+ import '../../../core/BaseResponse.js';
4
+ import 'zod';
5
+ import '../../../zod_utils/zod_base_schema.js';
6
+ import '../../gps/reports/gps_models/FuelConsumptionMonthly.js';
File without changes
@@ -1,6 +1,6 @@
1
1
  import '../../../core/Enums.js';
2
2
  import '../../../core/BaseResponse.js';
3
3
  import 'zod';
4
- export { qW as MasterRoute, qZ as MasterRouteDTO, rf as MasterRouteJourneyTimeDTO, re as MasterRouteJourneyTimeSchema, q$ as MasterRouteQueryDTO, q_ as MasterRouteQuerySchema, qY as MasterRouteSchema, qX as MasterRouteStop, r5 as MasterRouteStopCreateDTO, r4 as MasterRouteStopCreateSchema, r1 as MasterRouteStopDTO, rc as MasterRouteStopDeleteAllSchema, rd as MasterRouteStopDeleteDTO, rb as MasterRouteStopDeleteReOrderDTO, ra as MasterRouteStopDeleteSchema, r6 as MasterRouteStopIds, r7 as MasterRouteStopIdsDTO, r9 as MasterRouteStopReorderDTO, r8 as MasterRouteStopReorderSchema, r0 as MasterRouteStopSchema, r3 as MasterRouteStopUpdateDTO, r2 as MasterRouteStopUpdateSchema, rm as appendRouteStop, rj as createMasterRoute, rl as deleteMasterRoute, rq as deleteRouteStopReorder, rp as deleteRouteStopsAll, ri as findMasterRoute, rh as newMasterRoutePayload, ro as reorderRouteStops, rg as toMasterRoutePayload, rk as updateMasterRoute, rn as updateRouteStop, rr as update_journey_time } from '../../../bookmark_service-DqbaOatm.js';
4
+ export { qZ as MasterRoute, r0 as MasterRouteDTO, ri as MasterRouteJourneyTimeDTO, rh as MasterRouteJourneyTimeSchema, r2 as MasterRouteQueryDTO, r1 as MasterRouteQuerySchema, q$ as MasterRouteSchema, q_ as MasterRouteStop, r8 as MasterRouteStopCreateDTO, r7 as MasterRouteStopCreateSchema, r4 as MasterRouteStopDTO, rf as MasterRouteStopDeleteAllSchema, rg as MasterRouteStopDeleteDTO, re as MasterRouteStopDeleteReOrderDTO, rd as MasterRouteStopDeleteSchema, r9 as MasterRouteStopIds, ra as MasterRouteStopIdsDTO, rc as MasterRouteStopReorderDTO, rb as MasterRouteStopReorderSchema, r3 as MasterRouteStopSchema, r6 as MasterRouteStopUpdateDTO, r5 as MasterRouteStopUpdateSchema, rp as appendRouteStop, rm as createMasterRoute, ro as deleteMasterRoute, rs as deleteRouteStopReorder, rt as deleteRouteStopsAll, rl as findMasterRoute, rv as findRouteStopCache, rk as newMasterRoutePayload, rr as reorderRouteStops, rj as toMasterRoutePayload, rn as updateMasterRoute, rq as updateRouteStop, ru as update_journey_time } from '../../../bookmark_service-CL4_vRjh.js';
5
5
  import '../../../zod_utils/zod_base_schema.js';
6
6
  import '../../gps/reports/gps_models/FuelConsumptionMonthly.js';
@@ -9,6 +9,10 @@ var getAxiosInstance = () => {
9
9
  };
10
10
 
11
11
  // src/core/apiCall.ts
12
+ var apiGet = async (url, params) => {
13
+ const response = await getAxiosInstance().get(url, { params });
14
+ return response.data;
15
+ };
12
16
  var apiPost = async (url, data) => {
13
17
  const response = await getAxiosInstance().post(url, data);
14
18
  return response.data;
@@ -285,9 +289,10 @@ var ENDPOINTS = {
285
289
  append_route_stop: `${URL}/append_route_stop`,
286
290
  update_route_stop: (id) => `${URL}/update_route_stop/${id}`,
287
291
  reorder_route_stops: `${URL}/reorder_route_stops`,
288
- delete_route_stops_all: `${URL}/delete_route_stops_all`,
289
292
  delete_route_stop_reorder: `${URL}/delete_route_stop_reorder`,
290
- update_journey_time: `${URL}/update_journey_time`
293
+ delete_route_stops_all: `${URL}/delete_route_stops_all`,
294
+ update_journey_time: `${URL}/update_journey_time`,
295
+ find_route_stop_cache: (route_id) => `${URL}/route_stop/cache/${route_id}`
291
296
  };
292
297
  var MasterRouteSchema = z3.object({
293
298
  // Relations - Parent
@@ -299,10 +304,6 @@ var MasterRouteSchema = z3.object({
299
304
  route_name: stringMandatory("Route Name", 3, 100),
300
305
  route_notes: stringOptional("Route Notes", 0, 500),
301
306
  route_status: enumMandatory("Route Status", Status, "Active" /* Active */),
302
- pickup_journey_time_in_minutes: numberOptional(
303
- "Pickup Journey Time In Minutes"
304
- ),
305
- drop_journey_time_in_minutes: numberOptional("Drop Journey Time In Minutes"),
306
307
  // Stops Info
307
308
  pickup_start_stop_id: single_select_optional("Pickup_Start_BusStop"),
308
309
  // Single-Selection -> BusStop
@@ -391,8 +392,6 @@ var toMasterRoutePayload = (row) => ({
391
392
  route_name: row.route_name || "",
392
393
  route_notes: row.route_notes || "",
393
394
  route_status: row.route_status || "Active" /* Active */,
394
- pickup_journey_time_in_minutes: row.pickup_journey_time_in_minutes || 0,
395
- drop_journey_time_in_minutes: row.drop_journey_time_in_minutes || 0,
396
395
  pickup_start_stop_id: row.pickup_start_stop_id || "",
397
396
  pickup_end_stop_id: row.pickup_end_stop_id || "",
398
397
  drop_start_stop_id: row.drop_start_stop_id || "",
@@ -405,8 +404,6 @@ var newMasterRoutePayload = () => ({
405
404
  route_name: "",
406
405
  route_notes: "",
407
406
  route_status: "Active" /* Active */,
408
- pickup_journey_time_in_minutes: 0,
409
- drop_journey_time_in_minutes: 0,
410
407
  pickup_start_stop_id: "",
411
408
  pickup_end_stop_id: "",
412
409
  drop_start_stop_id: "",
@@ -434,14 +431,17 @@ var updateRouteStop = async (id, data) => {
434
431
  var reorderRouteStops = async (data) => {
435
432
  return apiPost(ENDPOINTS.reorder_route_stops, data);
436
433
  };
437
- var deleteRouteStopsAll = async (data) => {
438
- return apiPost(ENDPOINTS.delete_route_stops_all, data);
439
- };
440
434
  var deleteRouteStopReorder = async (data) => {
441
435
  return apiPost(ENDPOINTS.delete_route_stop_reorder, data);
442
436
  };
437
+ var deleteRouteStopsAll = async (data) => {
438
+ return apiPost(ENDPOINTS.delete_route_stops_all, data);
439
+ };
443
440
  var update_journey_time = async (data) => {
444
- return apiPost(ENDPOINTS.update_journey_time, data);
441
+ return apiPatch(ENDPOINTS.update_journey_time, data);
442
+ };
443
+ var findRouteStopCache = async (route_id) => {
444
+ return apiGet(ENDPOINTS.find_route_stop_cache(route_id));
445
445
  };
446
446
  export {
447
447
  MasterRouteJourneyTimeSchema,
@@ -460,6 +460,7 @@ export {
460
460
  deleteRouteStopReorder,
461
461
  deleteRouteStopsAll,
462
462
  findMasterRoute,
463
+ findRouteStopCache,
463
464
  newMasterRoutePayload,
464
465
  reorderRouteStops,
465
466
  toMasterRoutePayload,
@@ -1,6 +1,6 @@
1
1
  import '../../../core/Enums.js';
2
2
  import '../../../core/BaseResponse.js';
3
3
  import 'zod';
4
- export { sZ as MasterFixedSchedule, t0 as MasterFixedScheduleDTO, t2 as MasterFixedScheduleQueryDTO, t1 as MasterFixedScheduleQuerySchema, s$ as MasterFixedScheduleSchema, s_ as MasterRouteStudent, t8 as MasterRouteStudentAssignRemoveDTO, t7 as MasterRouteStudentAssignRemoveSchema, tc as MasterRouteStudentScheduleAssignRemoveDTO, tb as MasterRouteStudentScheduleAssignRemoveSchema, ta as MasterRouteStudentStopAssignRemoveDTO, t9 as MasterRouteStudentStopAssignRemoveSchema, t6 as StudentNoScheduleQueryDTO, t5 as StudentNoScheduleQuerySchema, t4 as StudentNoStopQueryDTO, t3 as StudentNoStopQuerySchema, ty as assignMasterRouteStudentScheduleToStudentDrop, tx as assignMasterRouteStudentScheduleToStudentsPickup, tu as assignMasterRouteStudentStopToStudentsDrop, tt as assignMasterRouteStudentStopToStudentsPickup, tq as assignRouteStudentsDrop, tp as assignRouteStudentsPickup, ti as createMasterFixedSchedule, tk as deleteMasterFixedSchedule, th as findMasterFixedSchedule, to as findStudentsWithNoScheduleDrop, tn as findStudentsWithNoSchedulePickup, tm as findStudentsWithNoStopDrop, tl as findStudentsWithNoStopPickup, te as newMasterFixedSchedulePayload, tg as newMasterRouteStudentAssignPayload, tA as removeMasterRouteStudentScheduleToStudentDrop, tz as removeMasterRouteStudentScheduleToStudentPickup, tw as removeMasterRouteStudentStopToStudentsDrop, tv as removeMasterRouteStudentStopToStudentsPickup, ts as removeRouteStudentsDrop, tr as removeRouteStudentsPickup, td as toMasterFixedSchedulePayload, tf as toMasterRouteStudentAssignPayload, tj as updateMasterFixedSchedule } from '../../../bookmark_service-DqbaOatm.js';
4
+ export { t4 as AssignFixedScheduleToStudentsDTO, t3 as AssignFixedScheduleToStudentsSchema, sZ as MasterFixedSchedule, t0 as MasterFixedScheduleDTO, t2 as MasterFixedScheduleQueryDTO, t1 as MasterFixedScheduleQuerySchema, s$ as MasterFixedScheduleSchema, s_ as MasterFixedScheduleStudent, t6 as RemoveFixedScheduleToStudentsDTO, t5 as RemoveFixedScheduleToStudentsSchema, t8 as UpdateStopDTO, t7 as UpdateStopSchema, tf as assignFixedScheduleToStudents, tc as createMasterFixedSchedule, te as deleteMasterFixedSchedule, tb as findMasterFixedSchedule, ta as newMasterFixedSchedulePayload, tg as removeFixedScheduleToStudents, t9 as toMasterFixedSchedulePayload, td as updateMasterFixedSchedule, th as updateStop } from '../../../bookmark_service-CL4_vRjh.js';
5
5
  import '../../../zod_utils/zod_base_schema.js';
6
6
  import '../../gps/reports/gps_models/FuelConsumptionMonthly.js';