@brite-future-schools-contracts/contracts 1.0.7 → 1.0.8

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.
@@ -669,6 +669,10 @@ declare const busRegisterEntrySchema: z.ZodObject<{
669
669
  studentId: string;
670
670
  }>;
671
671
  declare const vehicleStatusEnum: z.ZodEnum<["active", "in_maintenance", "decommissioned"]>;
672
+ declare const tripCategoryEnum: z.ZodEnum<["regular", "special"]>;
673
+ declare const tripStatusEnum: z.ZodEnum<["scheduled", "in_progress", "completed", "cancelled"]>;
674
+ declare const transportAppStatusEnum: z.ZodEnum<["pending", "approved", "rejected", "cancelled"]>;
675
+ declare const maintenanceRequestStatusEnum: z.ZodEnum<["pending", "approved", "rejected", "resolved"]>;
672
676
  declare const vehicleSchema: z.ZodObject<{
673
677
  id: z.ZodString;
674
678
  branchId: z.ZodString;
@@ -676,15 +680,16 @@ declare const vehicleSchema: z.ZodObject<{
676
680
  make: z.ZodNullable<z.ZodString>;
677
681
  model: z.ZodNullable<z.ZodString>;
678
682
  capacity: z.ZodNullable<z.ZodNumber>;
679
- type: z.ZodEnum<["bus", "van", "pickup", "other"]>;
683
+ type: z.ZodString;
680
684
  ownershipType: z.ZodEnum<["owned", "contracted"]>;
681
685
  insuranceExpiry: z.ZodNullable<z.ZodString>;
682
686
  inspectionDate: z.ZodNullable<z.ZodString>;
683
687
  status: z.ZodEnum<["active", "in_maintenance", "decommissioned"]>;
684
688
  driverUserId: z.ZodNullable<z.ZodString>;
689
+ notes: z.ZodNullable<z.ZodString>;
685
690
  createdAt: z.ZodString;
686
691
  }, "strip", z.ZodTypeAny, {
687
- type: "bus" | "van" | "pickup" | "other";
692
+ type: string;
688
693
  status: "active" | "in_maintenance" | "decommissioned";
689
694
  id: string;
690
695
  branchId: string;
@@ -697,8 +702,9 @@ declare const vehicleSchema: z.ZodObject<{
697
702
  insuranceExpiry: string | null;
698
703
  inspectionDate: string | null;
699
704
  driverUserId: string | null;
705
+ notes: string | null;
700
706
  }, {
701
- type: "bus" | "van" | "pickup" | "other";
707
+ type: string;
702
708
  status: "active" | "in_maintenance" | "decommissioned";
703
709
  id: string;
704
710
  branchId: string;
@@ -711,6 +717,7 @@ declare const vehicleSchema: z.ZodObject<{
711
717
  insuranceExpiry: string | null;
712
718
  inspectionDate: string | null;
713
719
  driverUserId: string | null;
720
+ notes: string | null;
714
721
  }>;
715
722
  declare const routeSchema: z.ZodObject<{
716
723
  id: z.ZodString;
@@ -718,6 +725,21 @@ declare const routeSchema: z.ZodObject<{
718
725
  name: z.ZodString;
719
726
  description: z.ZodNullable<z.ZodString>;
720
727
  isActive: z.ZodBoolean;
728
+ vehicleId: z.ZodNullable<z.ZodString>;
729
+ routeCategory: z.ZodString;
730
+ departureTime: z.ZodNullable<z.ZodString>;
731
+ returnTime: z.ZodNullable<z.ZodString>;
732
+ fare: z.ZodNullable<z.ZodNumber>;
733
+ vehicle: z.ZodOptional<z.ZodNullable<z.ZodObject<{
734
+ plateNo: z.ZodString;
735
+ type: z.ZodString;
736
+ }, "strip", z.ZodTypeAny, {
737
+ type: string;
738
+ plateNo: string;
739
+ }, {
740
+ type: string;
741
+ plateNo: string;
742
+ }>>>;
721
743
  stops: z.ZodOptional<z.ZodArray<z.ZodObject<{
722
744
  id: z.ZodString;
723
745
  stopName: z.ZodString;
@@ -734,30 +756,81 @@ declare const routeSchema: z.ZodObject<{
734
756
  stopOrder: number;
735
757
  estimatedTime: string | null;
736
758
  }>, "many">>;
759
+ roster: z.ZodOptional<z.ZodArray<z.ZodObject<{
760
+ studentId: z.ZodString;
761
+ studentName: z.ZodString;
762
+ admissionNo: z.ZodString;
763
+ pickupStop: z.ZodNullable<z.ZodString>;
764
+ dropoffStop: z.ZodNullable<z.ZodString>;
765
+ }, "strip", z.ZodTypeAny, {
766
+ admissionNo: string;
767
+ studentId: string;
768
+ studentName: string;
769
+ pickupStop: string | null;
770
+ dropoffStop: string | null;
771
+ }, {
772
+ admissionNo: string;
773
+ studentId: string;
774
+ studentName: string;
775
+ pickupStop: string | null;
776
+ dropoffStop: string | null;
777
+ }>, "many">>;
737
778
  }, "strip", z.ZodTypeAny, {
738
779
  id: string;
739
780
  name: string;
740
781
  branchId: string;
741
782
  isActive: boolean;
783
+ vehicleId: string | null;
784
+ departureTime: string | null;
742
785
  description: string | null;
786
+ routeCategory: string;
787
+ returnTime: string | null;
788
+ fare: number | null;
789
+ vehicle?: {
790
+ type: string;
791
+ plateNo: string;
792
+ } | null | undefined;
743
793
  stops?: {
744
794
  id: string;
745
795
  stopName: string;
746
796
  stopOrder: number;
747
797
  estimatedTime: string | null;
748
798
  }[] | undefined;
799
+ roster?: {
800
+ admissionNo: string;
801
+ studentId: string;
802
+ studentName: string;
803
+ pickupStop: string | null;
804
+ dropoffStop: string | null;
805
+ }[] | undefined;
749
806
  }, {
750
807
  id: string;
751
808
  name: string;
752
809
  branchId: string;
753
810
  isActive: boolean;
811
+ vehicleId: string | null;
812
+ departureTime: string | null;
754
813
  description: string | null;
814
+ routeCategory: string;
815
+ returnTime: string | null;
816
+ fare: number | null;
817
+ vehicle?: {
818
+ type: string;
819
+ plateNo: string;
820
+ } | null | undefined;
755
821
  stops?: {
756
822
  id: string;
757
823
  stopName: string;
758
824
  stopOrder: number;
759
825
  estimatedTime: string | null;
760
826
  }[] | undefined;
827
+ roster?: {
828
+ admissionNo: string;
829
+ studentId: string;
830
+ studentName: string;
831
+ pickupStop: string | null;
832
+ dropoffStop: string | null;
833
+ }[] | undefined;
761
834
  }>;
762
835
  declare const tripLogSchema: z.ZodObject<{
763
836
  id: z.ZodString;
@@ -767,7 +840,14 @@ declare const tripLogSchema: z.ZodObject<{
767
840
  driverUserId: z.ZodString;
768
841
  departureTime: z.ZodString;
769
842
  arrivalTime: z.ZodNullable<z.ZodString>;
770
- tripType: z.ZodEnum<["morning", "evening", "errand"]>;
843
+ returnTime: z.ZodNullable<z.ZodString>;
844
+ tripType: z.ZodString;
845
+ tripCategory: z.ZodEnum<["regular", "special"]>;
846
+ status: z.ZodEnum<["scheduled", "in_progress", "completed", "cancelled"]>;
847
+ title: z.ZodNullable<z.ZodString>;
848
+ description: z.ZodNullable<z.ZodString>;
849
+ destination: z.ZodNullable<z.ZodString>;
850
+ expectedStudents: z.ZodNullable<z.ZodNumber>;
771
851
  notes: z.ZodNullable<z.ZodString>;
772
852
  createdAt: z.ZodString;
773
853
  vehicle: z.ZodOptional<z.ZodObject<{
@@ -788,16 +868,23 @@ declare const tripLogSchema: z.ZodObject<{
788
868
  name: string;
789
869
  }>>>;
790
870
  }, "strip", z.ZodTypeAny, {
871
+ status: "cancelled" | "scheduled" | "in_progress" | "completed";
791
872
  id: string;
792
873
  branchId: string;
793
874
  createdAt: string;
794
875
  vehicleId: string;
795
876
  routeId: string | null;
796
877
  departureTime: string;
797
- tripType: "morning" | "evening" | "errand";
878
+ tripType: string;
798
879
  driverUserId: string;
799
- arrivalTime: string | null;
800
880
  notes: string | null;
881
+ description: string | null;
882
+ returnTime: string | null;
883
+ arrivalTime: string | null;
884
+ tripCategory: "regular" | "special";
885
+ title: string | null;
886
+ destination: string | null;
887
+ expectedStudents: number | null;
801
888
  vehicle?: {
802
889
  type: string;
803
890
  plateNo: string;
@@ -806,16 +893,23 @@ declare const tripLogSchema: z.ZodObject<{
806
893
  name: string;
807
894
  } | null | undefined;
808
895
  }, {
896
+ status: "cancelled" | "scheduled" | "in_progress" | "completed";
809
897
  id: string;
810
898
  branchId: string;
811
899
  createdAt: string;
812
900
  vehicleId: string;
813
901
  routeId: string | null;
814
902
  departureTime: string;
815
- tripType: "morning" | "evening" | "errand";
903
+ tripType: string;
816
904
  driverUserId: string;
817
- arrivalTime: string | null;
818
905
  notes: string | null;
906
+ description: string | null;
907
+ returnTime: string | null;
908
+ arrivalTime: string | null;
909
+ tripCategory: "regular" | "special";
910
+ title: string | null;
911
+ destination: string | null;
912
+ expectedStudents: number | null;
819
913
  vehicle?: {
820
914
  type: string;
821
915
  plateNo: string;
@@ -824,6 +918,95 @@ declare const tripLogSchema: z.ZodObject<{
824
918
  name: string;
825
919
  } | null | undefined;
826
920
  }>;
921
+ declare const maintenanceRequestSchema: z.ZodObject<{
922
+ id: z.ZodString;
923
+ vehicleId: z.ZodString;
924
+ requestedBy: z.ZodString;
925
+ issue: z.ZodString;
926
+ severity: z.ZodString;
927
+ status: z.ZodEnum<["pending", "approved", "rejected", "resolved"]>;
928
+ reviewedBy: z.ZodNullable<z.ZodString>;
929
+ reviewNotes: z.ZodNullable<z.ZodString>;
930
+ reviewedAt: z.ZodNullable<z.ZodString>;
931
+ createdAt: z.ZodString;
932
+ vehiclePlate: z.ZodOptional<z.ZodString>;
933
+ }, "strip", z.ZodTypeAny, {
934
+ status: "pending" | "approved" | "rejected" | "resolved";
935
+ id: string;
936
+ createdAt: string;
937
+ vehicleId: string;
938
+ requestedBy: string;
939
+ issue: string;
940
+ severity: string;
941
+ reviewedBy: string | null;
942
+ reviewNotes: string | null;
943
+ reviewedAt: string | null;
944
+ vehiclePlate?: string | undefined;
945
+ }, {
946
+ status: "pending" | "approved" | "rejected" | "resolved";
947
+ id: string;
948
+ createdAt: string;
949
+ vehicleId: string;
950
+ requestedBy: string;
951
+ issue: string;
952
+ severity: string;
953
+ reviewedBy: string | null;
954
+ reviewNotes: string | null;
955
+ reviewedAt: string | null;
956
+ vehiclePlate?: string | undefined;
957
+ }>;
958
+ declare const transportApplicationSchema: z.ZodObject<{
959
+ id: z.ZodString;
960
+ branchId: z.ZodString;
961
+ studentId: z.ZodString;
962
+ applicationType: z.ZodEnum<["route", "trip"]>;
963
+ routeId: z.ZodNullable<z.ZodString>;
964
+ tripLogId: z.ZodNullable<z.ZodString>;
965
+ status: z.ZodEnum<["pending", "approved", "rejected", "cancelled"]>;
966
+ appliedBy: z.ZodString;
967
+ reviewedBy: z.ZodNullable<z.ZodString>;
968
+ reviewNotes: z.ZodNullable<z.ZodString>;
969
+ feeItemId: z.ZodNullable<z.ZodString>;
970
+ invoiceUpdated: z.ZodBoolean;
971
+ createdAt: z.ZodString;
972
+ studentName: z.ZodOptional<z.ZodString>;
973
+ routeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
974
+ tripTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
975
+ }, "strip", z.ZodTypeAny, {
976
+ status: "cancelled" | "pending" | "approved" | "rejected";
977
+ id: string;
978
+ branchId: string;
979
+ createdAt: string;
980
+ studentId: string;
981
+ routeId: string | null;
982
+ reviewedBy: string | null;
983
+ reviewNotes: string | null;
984
+ applicationType: "route" | "trip";
985
+ tripLogId: string | null;
986
+ appliedBy: string;
987
+ feeItemId: string | null;
988
+ invoiceUpdated: boolean;
989
+ studentName?: string | undefined;
990
+ routeName?: string | null | undefined;
991
+ tripTitle?: string | null | undefined;
992
+ }, {
993
+ status: "cancelled" | "pending" | "approved" | "rejected";
994
+ id: string;
995
+ branchId: string;
996
+ createdAt: string;
997
+ studentId: string;
998
+ routeId: string | null;
999
+ reviewedBy: string | null;
1000
+ reviewNotes: string | null;
1001
+ applicationType: "route" | "trip";
1002
+ tripLogId: string | null;
1003
+ appliedBy: string;
1004
+ feeItemId: string | null;
1005
+ invoiceUpdated: boolean;
1006
+ studentName?: string | undefined;
1007
+ routeName?: string | null | undefined;
1008
+ tripTitle?: string | null | undefined;
1009
+ }>;
827
1010
  declare const assetCategoryEnum: z.ZodEnum<["furniture", "lab_equipment", "ict_device", "vehicle", "sports_equipment", "kitchen_equipment", "musical_instrument", "classroom_supply", "library_book", "other"]>;
828
1011
  declare const assetConditionEnum: z.ZodEnum<["excellent", "good", "fair", "poor", "condemned"]>;
829
1012
  declare const maintenanceTicketStatusEnum: z.ZodEnum<["open", "in_progress", "resolved", "closed"]>;
@@ -853,4 +1036,4 @@ declare const sendBulkSmsInputSchema: z.ZodObject<{
853
1036
  scheduleAt?: string | undefined;
854
1037
  }>;
855
1038
 
856
- export { type SystemRole, assessmentScoreInputSchema, assessmentTypeEnum, assetCategoryEnum, assetConditionEnum, borrowingStatusEnum, branchSchema, busRegisterEntrySchema, busRegisterStatusEnum, changePasswordInputSchema, createBranchInputSchema, createStudentInputSchema, dateRangeSchema, disciplineRulingEnum, employmentTypeEnum, feeItemCategoryEnum, feeItemSchema, genderEnum, gradeLevelEnum, guardianSchema, incidentSeverityEnum, incidentStatusEnum, invoiceStatusEnum, leaveRequestInputSchema, leaveStatusEnum, listStudentsInputSchema, loginInputSchema, loginOutputSchema, maintenanceTicketStatusEnum, mfaVerifyInputSchema, notificationTypeEnum, paginationSchema, paymentMethodEnum, payrollRunStatusEnum, recordPaymentInputSchema, refreshInputSchema, refreshTokenOutputSchema, reportCardStatusEnum, routeSchema, rubricBandEnum, sendBulkSmsInputSchema, sponsorSchema, sponsorTypeEnum, staffSchema, studentSchema, studentStatusEnum, subjectSchema, systemRoleEnum, tripLogInputSchema, tripLogSchema, userSchema, userStatusEnum, uuidSchema, vehicleOwnershipEnum, vehicleSchema, vehicleStatusEnum, vehicleTypeEnum };
1039
+ export { type SystemRole, assessmentScoreInputSchema, assessmentTypeEnum, assetCategoryEnum, assetConditionEnum, borrowingStatusEnum, branchSchema, busRegisterEntrySchema, busRegisterStatusEnum, changePasswordInputSchema, createBranchInputSchema, createStudentInputSchema, dateRangeSchema, disciplineRulingEnum, employmentTypeEnum, feeItemCategoryEnum, feeItemSchema, genderEnum, gradeLevelEnum, guardianSchema, incidentSeverityEnum, incidentStatusEnum, invoiceStatusEnum, leaveRequestInputSchema, leaveStatusEnum, listStudentsInputSchema, loginInputSchema, loginOutputSchema, maintenanceRequestSchema, maintenanceRequestStatusEnum, maintenanceTicketStatusEnum, mfaVerifyInputSchema, notificationTypeEnum, paginationSchema, paymentMethodEnum, payrollRunStatusEnum, recordPaymentInputSchema, refreshInputSchema, refreshTokenOutputSchema, reportCardStatusEnum, routeSchema, rubricBandEnum, sendBulkSmsInputSchema, sponsorSchema, sponsorTypeEnum, staffSchema, studentSchema, studentStatusEnum, subjectSchema, systemRoleEnum, transportAppStatusEnum, transportApplicationSchema, tripCategoryEnum, tripLogInputSchema, tripLogSchema, tripStatusEnum, userSchema, userStatusEnum, uuidSchema, vehicleOwnershipEnum, vehicleSchema, vehicleStatusEnum, vehicleTypeEnum };
@@ -669,6 +669,10 @@ declare const busRegisterEntrySchema: z.ZodObject<{
669
669
  studentId: string;
670
670
  }>;
671
671
  declare const vehicleStatusEnum: z.ZodEnum<["active", "in_maintenance", "decommissioned"]>;
672
+ declare const tripCategoryEnum: z.ZodEnum<["regular", "special"]>;
673
+ declare const tripStatusEnum: z.ZodEnum<["scheduled", "in_progress", "completed", "cancelled"]>;
674
+ declare const transportAppStatusEnum: z.ZodEnum<["pending", "approved", "rejected", "cancelled"]>;
675
+ declare const maintenanceRequestStatusEnum: z.ZodEnum<["pending", "approved", "rejected", "resolved"]>;
672
676
  declare const vehicleSchema: z.ZodObject<{
673
677
  id: z.ZodString;
674
678
  branchId: z.ZodString;
@@ -676,15 +680,16 @@ declare const vehicleSchema: z.ZodObject<{
676
680
  make: z.ZodNullable<z.ZodString>;
677
681
  model: z.ZodNullable<z.ZodString>;
678
682
  capacity: z.ZodNullable<z.ZodNumber>;
679
- type: z.ZodEnum<["bus", "van", "pickup", "other"]>;
683
+ type: z.ZodString;
680
684
  ownershipType: z.ZodEnum<["owned", "contracted"]>;
681
685
  insuranceExpiry: z.ZodNullable<z.ZodString>;
682
686
  inspectionDate: z.ZodNullable<z.ZodString>;
683
687
  status: z.ZodEnum<["active", "in_maintenance", "decommissioned"]>;
684
688
  driverUserId: z.ZodNullable<z.ZodString>;
689
+ notes: z.ZodNullable<z.ZodString>;
685
690
  createdAt: z.ZodString;
686
691
  }, "strip", z.ZodTypeAny, {
687
- type: "bus" | "van" | "pickup" | "other";
692
+ type: string;
688
693
  status: "active" | "in_maintenance" | "decommissioned";
689
694
  id: string;
690
695
  branchId: string;
@@ -697,8 +702,9 @@ declare const vehicleSchema: z.ZodObject<{
697
702
  insuranceExpiry: string | null;
698
703
  inspectionDate: string | null;
699
704
  driverUserId: string | null;
705
+ notes: string | null;
700
706
  }, {
701
- type: "bus" | "van" | "pickup" | "other";
707
+ type: string;
702
708
  status: "active" | "in_maintenance" | "decommissioned";
703
709
  id: string;
704
710
  branchId: string;
@@ -711,6 +717,7 @@ declare const vehicleSchema: z.ZodObject<{
711
717
  insuranceExpiry: string | null;
712
718
  inspectionDate: string | null;
713
719
  driverUserId: string | null;
720
+ notes: string | null;
714
721
  }>;
715
722
  declare const routeSchema: z.ZodObject<{
716
723
  id: z.ZodString;
@@ -718,6 +725,21 @@ declare const routeSchema: z.ZodObject<{
718
725
  name: z.ZodString;
719
726
  description: z.ZodNullable<z.ZodString>;
720
727
  isActive: z.ZodBoolean;
728
+ vehicleId: z.ZodNullable<z.ZodString>;
729
+ routeCategory: z.ZodString;
730
+ departureTime: z.ZodNullable<z.ZodString>;
731
+ returnTime: z.ZodNullable<z.ZodString>;
732
+ fare: z.ZodNullable<z.ZodNumber>;
733
+ vehicle: z.ZodOptional<z.ZodNullable<z.ZodObject<{
734
+ plateNo: z.ZodString;
735
+ type: z.ZodString;
736
+ }, "strip", z.ZodTypeAny, {
737
+ type: string;
738
+ plateNo: string;
739
+ }, {
740
+ type: string;
741
+ plateNo: string;
742
+ }>>>;
721
743
  stops: z.ZodOptional<z.ZodArray<z.ZodObject<{
722
744
  id: z.ZodString;
723
745
  stopName: z.ZodString;
@@ -734,30 +756,81 @@ declare const routeSchema: z.ZodObject<{
734
756
  stopOrder: number;
735
757
  estimatedTime: string | null;
736
758
  }>, "many">>;
759
+ roster: z.ZodOptional<z.ZodArray<z.ZodObject<{
760
+ studentId: z.ZodString;
761
+ studentName: z.ZodString;
762
+ admissionNo: z.ZodString;
763
+ pickupStop: z.ZodNullable<z.ZodString>;
764
+ dropoffStop: z.ZodNullable<z.ZodString>;
765
+ }, "strip", z.ZodTypeAny, {
766
+ admissionNo: string;
767
+ studentId: string;
768
+ studentName: string;
769
+ pickupStop: string | null;
770
+ dropoffStop: string | null;
771
+ }, {
772
+ admissionNo: string;
773
+ studentId: string;
774
+ studentName: string;
775
+ pickupStop: string | null;
776
+ dropoffStop: string | null;
777
+ }>, "many">>;
737
778
  }, "strip", z.ZodTypeAny, {
738
779
  id: string;
739
780
  name: string;
740
781
  branchId: string;
741
782
  isActive: boolean;
783
+ vehicleId: string | null;
784
+ departureTime: string | null;
742
785
  description: string | null;
786
+ routeCategory: string;
787
+ returnTime: string | null;
788
+ fare: number | null;
789
+ vehicle?: {
790
+ type: string;
791
+ plateNo: string;
792
+ } | null | undefined;
743
793
  stops?: {
744
794
  id: string;
745
795
  stopName: string;
746
796
  stopOrder: number;
747
797
  estimatedTime: string | null;
748
798
  }[] | undefined;
799
+ roster?: {
800
+ admissionNo: string;
801
+ studentId: string;
802
+ studentName: string;
803
+ pickupStop: string | null;
804
+ dropoffStop: string | null;
805
+ }[] | undefined;
749
806
  }, {
750
807
  id: string;
751
808
  name: string;
752
809
  branchId: string;
753
810
  isActive: boolean;
811
+ vehicleId: string | null;
812
+ departureTime: string | null;
754
813
  description: string | null;
814
+ routeCategory: string;
815
+ returnTime: string | null;
816
+ fare: number | null;
817
+ vehicle?: {
818
+ type: string;
819
+ plateNo: string;
820
+ } | null | undefined;
755
821
  stops?: {
756
822
  id: string;
757
823
  stopName: string;
758
824
  stopOrder: number;
759
825
  estimatedTime: string | null;
760
826
  }[] | undefined;
827
+ roster?: {
828
+ admissionNo: string;
829
+ studentId: string;
830
+ studentName: string;
831
+ pickupStop: string | null;
832
+ dropoffStop: string | null;
833
+ }[] | undefined;
761
834
  }>;
762
835
  declare const tripLogSchema: z.ZodObject<{
763
836
  id: z.ZodString;
@@ -767,7 +840,14 @@ declare const tripLogSchema: z.ZodObject<{
767
840
  driverUserId: z.ZodString;
768
841
  departureTime: z.ZodString;
769
842
  arrivalTime: z.ZodNullable<z.ZodString>;
770
- tripType: z.ZodEnum<["morning", "evening", "errand"]>;
843
+ returnTime: z.ZodNullable<z.ZodString>;
844
+ tripType: z.ZodString;
845
+ tripCategory: z.ZodEnum<["regular", "special"]>;
846
+ status: z.ZodEnum<["scheduled", "in_progress", "completed", "cancelled"]>;
847
+ title: z.ZodNullable<z.ZodString>;
848
+ description: z.ZodNullable<z.ZodString>;
849
+ destination: z.ZodNullable<z.ZodString>;
850
+ expectedStudents: z.ZodNullable<z.ZodNumber>;
771
851
  notes: z.ZodNullable<z.ZodString>;
772
852
  createdAt: z.ZodString;
773
853
  vehicle: z.ZodOptional<z.ZodObject<{
@@ -788,16 +868,23 @@ declare const tripLogSchema: z.ZodObject<{
788
868
  name: string;
789
869
  }>>>;
790
870
  }, "strip", z.ZodTypeAny, {
871
+ status: "cancelled" | "scheduled" | "in_progress" | "completed";
791
872
  id: string;
792
873
  branchId: string;
793
874
  createdAt: string;
794
875
  vehicleId: string;
795
876
  routeId: string | null;
796
877
  departureTime: string;
797
- tripType: "morning" | "evening" | "errand";
878
+ tripType: string;
798
879
  driverUserId: string;
799
- arrivalTime: string | null;
800
880
  notes: string | null;
881
+ description: string | null;
882
+ returnTime: string | null;
883
+ arrivalTime: string | null;
884
+ tripCategory: "regular" | "special";
885
+ title: string | null;
886
+ destination: string | null;
887
+ expectedStudents: number | null;
801
888
  vehicle?: {
802
889
  type: string;
803
890
  plateNo: string;
@@ -806,16 +893,23 @@ declare const tripLogSchema: z.ZodObject<{
806
893
  name: string;
807
894
  } | null | undefined;
808
895
  }, {
896
+ status: "cancelled" | "scheduled" | "in_progress" | "completed";
809
897
  id: string;
810
898
  branchId: string;
811
899
  createdAt: string;
812
900
  vehicleId: string;
813
901
  routeId: string | null;
814
902
  departureTime: string;
815
- tripType: "morning" | "evening" | "errand";
903
+ tripType: string;
816
904
  driverUserId: string;
817
- arrivalTime: string | null;
818
905
  notes: string | null;
906
+ description: string | null;
907
+ returnTime: string | null;
908
+ arrivalTime: string | null;
909
+ tripCategory: "regular" | "special";
910
+ title: string | null;
911
+ destination: string | null;
912
+ expectedStudents: number | null;
819
913
  vehicle?: {
820
914
  type: string;
821
915
  plateNo: string;
@@ -824,6 +918,95 @@ declare const tripLogSchema: z.ZodObject<{
824
918
  name: string;
825
919
  } | null | undefined;
826
920
  }>;
921
+ declare const maintenanceRequestSchema: z.ZodObject<{
922
+ id: z.ZodString;
923
+ vehicleId: z.ZodString;
924
+ requestedBy: z.ZodString;
925
+ issue: z.ZodString;
926
+ severity: z.ZodString;
927
+ status: z.ZodEnum<["pending", "approved", "rejected", "resolved"]>;
928
+ reviewedBy: z.ZodNullable<z.ZodString>;
929
+ reviewNotes: z.ZodNullable<z.ZodString>;
930
+ reviewedAt: z.ZodNullable<z.ZodString>;
931
+ createdAt: z.ZodString;
932
+ vehiclePlate: z.ZodOptional<z.ZodString>;
933
+ }, "strip", z.ZodTypeAny, {
934
+ status: "pending" | "approved" | "rejected" | "resolved";
935
+ id: string;
936
+ createdAt: string;
937
+ vehicleId: string;
938
+ requestedBy: string;
939
+ issue: string;
940
+ severity: string;
941
+ reviewedBy: string | null;
942
+ reviewNotes: string | null;
943
+ reviewedAt: string | null;
944
+ vehiclePlate?: string | undefined;
945
+ }, {
946
+ status: "pending" | "approved" | "rejected" | "resolved";
947
+ id: string;
948
+ createdAt: string;
949
+ vehicleId: string;
950
+ requestedBy: string;
951
+ issue: string;
952
+ severity: string;
953
+ reviewedBy: string | null;
954
+ reviewNotes: string | null;
955
+ reviewedAt: string | null;
956
+ vehiclePlate?: string | undefined;
957
+ }>;
958
+ declare const transportApplicationSchema: z.ZodObject<{
959
+ id: z.ZodString;
960
+ branchId: z.ZodString;
961
+ studentId: z.ZodString;
962
+ applicationType: z.ZodEnum<["route", "trip"]>;
963
+ routeId: z.ZodNullable<z.ZodString>;
964
+ tripLogId: z.ZodNullable<z.ZodString>;
965
+ status: z.ZodEnum<["pending", "approved", "rejected", "cancelled"]>;
966
+ appliedBy: z.ZodString;
967
+ reviewedBy: z.ZodNullable<z.ZodString>;
968
+ reviewNotes: z.ZodNullable<z.ZodString>;
969
+ feeItemId: z.ZodNullable<z.ZodString>;
970
+ invoiceUpdated: z.ZodBoolean;
971
+ createdAt: z.ZodString;
972
+ studentName: z.ZodOptional<z.ZodString>;
973
+ routeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
974
+ tripTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
975
+ }, "strip", z.ZodTypeAny, {
976
+ status: "cancelled" | "pending" | "approved" | "rejected";
977
+ id: string;
978
+ branchId: string;
979
+ createdAt: string;
980
+ studentId: string;
981
+ routeId: string | null;
982
+ reviewedBy: string | null;
983
+ reviewNotes: string | null;
984
+ applicationType: "route" | "trip";
985
+ tripLogId: string | null;
986
+ appliedBy: string;
987
+ feeItemId: string | null;
988
+ invoiceUpdated: boolean;
989
+ studentName?: string | undefined;
990
+ routeName?: string | null | undefined;
991
+ tripTitle?: string | null | undefined;
992
+ }, {
993
+ status: "cancelled" | "pending" | "approved" | "rejected";
994
+ id: string;
995
+ branchId: string;
996
+ createdAt: string;
997
+ studentId: string;
998
+ routeId: string | null;
999
+ reviewedBy: string | null;
1000
+ reviewNotes: string | null;
1001
+ applicationType: "route" | "trip";
1002
+ tripLogId: string | null;
1003
+ appliedBy: string;
1004
+ feeItemId: string | null;
1005
+ invoiceUpdated: boolean;
1006
+ studentName?: string | undefined;
1007
+ routeName?: string | null | undefined;
1008
+ tripTitle?: string | null | undefined;
1009
+ }>;
827
1010
  declare const assetCategoryEnum: z.ZodEnum<["furniture", "lab_equipment", "ict_device", "vehicle", "sports_equipment", "kitchen_equipment", "musical_instrument", "classroom_supply", "library_book", "other"]>;
828
1011
  declare const assetConditionEnum: z.ZodEnum<["excellent", "good", "fair", "poor", "condemned"]>;
829
1012
  declare const maintenanceTicketStatusEnum: z.ZodEnum<["open", "in_progress", "resolved", "closed"]>;
@@ -853,4 +1036,4 @@ declare const sendBulkSmsInputSchema: z.ZodObject<{
853
1036
  scheduleAt?: string | undefined;
854
1037
  }>;
855
1038
 
856
- export { type SystemRole, assessmentScoreInputSchema, assessmentTypeEnum, assetCategoryEnum, assetConditionEnum, borrowingStatusEnum, branchSchema, busRegisterEntrySchema, busRegisterStatusEnum, changePasswordInputSchema, createBranchInputSchema, createStudentInputSchema, dateRangeSchema, disciplineRulingEnum, employmentTypeEnum, feeItemCategoryEnum, feeItemSchema, genderEnum, gradeLevelEnum, guardianSchema, incidentSeverityEnum, incidentStatusEnum, invoiceStatusEnum, leaveRequestInputSchema, leaveStatusEnum, listStudentsInputSchema, loginInputSchema, loginOutputSchema, maintenanceTicketStatusEnum, mfaVerifyInputSchema, notificationTypeEnum, paginationSchema, paymentMethodEnum, payrollRunStatusEnum, recordPaymentInputSchema, refreshInputSchema, refreshTokenOutputSchema, reportCardStatusEnum, routeSchema, rubricBandEnum, sendBulkSmsInputSchema, sponsorSchema, sponsorTypeEnum, staffSchema, studentSchema, studentStatusEnum, subjectSchema, systemRoleEnum, tripLogInputSchema, tripLogSchema, userSchema, userStatusEnum, uuidSchema, vehicleOwnershipEnum, vehicleSchema, vehicleStatusEnum, vehicleTypeEnum };
1039
+ export { type SystemRole, assessmentScoreInputSchema, assessmentTypeEnum, assetCategoryEnum, assetConditionEnum, borrowingStatusEnum, branchSchema, busRegisterEntrySchema, busRegisterStatusEnum, changePasswordInputSchema, createBranchInputSchema, createStudentInputSchema, dateRangeSchema, disciplineRulingEnum, employmentTypeEnum, feeItemCategoryEnum, feeItemSchema, genderEnum, gradeLevelEnum, guardianSchema, incidentSeverityEnum, incidentStatusEnum, invoiceStatusEnum, leaveRequestInputSchema, leaveStatusEnum, listStudentsInputSchema, loginInputSchema, loginOutputSchema, maintenanceRequestSchema, maintenanceRequestStatusEnum, maintenanceTicketStatusEnum, mfaVerifyInputSchema, notificationTypeEnum, paginationSchema, paymentMethodEnum, payrollRunStatusEnum, recordPaymentInputSchema, refreshInputSchema, refreshTokenOutputSchema, reportCardStatusEnum, routeSchema, rubricBandEnum, sendBulkSmsInputSchema, sponsorSchema, sponsorTypeEnum, staffSchema, studentSchema, studentStatusEnum, subjectSchema, systemRoleEnum, transportAppStatusEnum, transportApplicationSchema, tripCategoryEnum, tripLogInputSchema, tripLogSchema, tripStatusEnum, userSchema, userStatusEnum, uuidSchema, vehicleOwnershipEnum, vehicleSchema, vehicleStatusEnum, vehicleTypeEnum };