@brite-future-schools-contracts/contracts 2.0.26 → 2.0.30

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.
@@ -722,6 +722,550 @@ type AcademicTerm = z.infer<typeof AcademicTermSchema>;
722
722
  type CreateYearInput = z.infer<typeof CreateYearInputSchema>;
723
723
  type CreateTermInput = z.infer<typeof CreateTermInputSchema>;
724
724
 
725
+ /**
726
+ * Brite Future Schools — bfs-contracts
727
+ * Banking schemas — branch bank account Zod shapes.
728
+ *
729
+ * Phase History:
730
+ * Phase 8 (2026-07-20): Initial creation — Module 1 (Branch Banking)
731
+ *
732
+ * @module src/schemas/banking
733
+ * @since Phase 8
734
+ */
735
+
736
+ declare const BankAccountTypeSchema: z.ZodEnum<{
737
+ current: "current";
738
+ savings: "savings";
739
+ }>;
740
+ declare const BranchBankAccountSchema: z.ZodObject<{
741
+ id: z.ZodUUID;
742
+ branchId: z.ZodUUID;
743
+ bankName: z.ZodString;
744
+ bankCode: z.ZodNullable<z.ZodString>;
745
+ bankBranchName: z.ZodNullable<z.ZodString>;
746
+ accountNumber: z.ZodString;
747
+ accountName: z.ZodString;
748
+ accountType: z.ZodEnum<{
749
+ current: "current";
750
+ savings: "savings";
751
+ }>;
752
+ currency: z.ZodString;
753
+ isDefault: z.ZodBoolean;
754
+ isActive: z.ZodBoolean;
755
+ reconciliationContactId: z.ZodNullable<z.ZodUUID>;
756
+ notes: z.ZodNullable<z.ZodString>;
757
+ createdAt: z.ZodString;
758
+ updatedAt: z.ZodString;
759
+ }, z.core.$strip>;
760
+ declare const CreateBankAccountInputSchema: z.ZodObject<{
761
+ branchId: z.ZodUUID;
762
+ bankName: z.ZodString;
763
+ bankCode: z.ZodOptional<z.ZodString>;
764
+ bankBranchName: z.ZodOptional<z.ZodString>;
765
+ accountNumber: z.ZodString;
766
+ accountName: z.ZodString;
767
+ accountType: z.ZodEnum<{
768
+ current: "current";
769
+ savings: "savings";
770
+ }>;
771
+ currency: z.ZodOptional<z.ZodString>;
772
+ isDefault: z.ZodOptional<z.ZodBoolean>;
773
+ reconciliationContactId: z.ZodOptional<z.ZodUUID>;
774
+ notes: z.ZodOptional<z.ZodString>;
775
+ }, z.core.$strip>;
776
+ type CreateBankAccountInput = z.infer<typeof CreateBankAccountInputSchema>;
777
+ declare const UpdateBankAccountInputSchema: z.ZodObject<{
778
+ id: z.ZodUUID;
779
+ bankName: z.ZodOptional<z.ZodString>;
780
+ bankCode: z.ZodOptional<z.ZodString>;
781
+ bankBranchName: z.ZodOptional<z.ZodString>;
782
+ accountNumber: z.ZodOptional<z.ZodString>;
783
+ accountName: z.ZodOptional<z.ZodString>;
784
+ accountType: z.ZodOptional<z.ZodEnum<{
785
+ current: "current";
786
+ savings: "savings";
787
+ }>>;
788
+ currency: z.ZodOptional<z.ZodString>;
789
+ reconciliationContactId: z.ZodOptional<z.ZodUUID>;
790
+ notes: z.ZodOptional<z.ZodString>;
791
+ }, z.core.$strip>;
792
+ type UpdateBankAccountInput = z.infer<typeof UpdateBankAccountInputSchema>;
793
+ declare const ListBankAccountsInputSchema: z.ZodObject<{
794
+ branchId: z.ZodOptional<z.ZodUUID>;
795
+ }, z.core.$strip>;
796
+ declare const KenyanBankSchema: z.ZodObject<{
797
+ id: z.ZodUUID;
798
+ name: z.ZodString;
799
+ code: z.ZodString;
800
+ isActive: z.ZodBoolean;
801
+ createdAt: z.ZodString;
802
+ }, z.core.$strip>;
803
+
804
+ /**
805
+ * Brite Future Schools — bfs-contracts
806
+ * Notifications schemas — templates, audience, deliveries, portal blocks.
807
+ *
808
+ * Phase History:
809
+ * Phase 8 (2026-07-20): Initial creation — Module 3 (Notification System)
810
+ *
811
+ * @module src/schemas/notifications
812
+ * @since Phase 8
813
+ */
814
+
815
+ declare const NotificationUrgencySchema: z.ZodEnum<{
816
+ critical: "critical";
817
+ urgent: "urgent";
818
+ important: "important";
819
+ info: "info";
820
+ }>;
821
+ declare const NotificationTemplateStatusSchema: z.ZodEnum<{
822
+ draft: "draft";
823
+ pending_approval: "pending_approval";
824
+ approved: "approved";
825
+ scheduled: "scheduled";
826
+ sent: "sent";
827
+ cancelled: "cancelled";
828
+ recurring_active: "recurring_active";
829
+ }>;
830
+ declare const NotificationAudienceTypeSchema: z.ZodEnum<{
831
+ all_branches: "all_branches";
832
+ branch: "branch";
833
+ grade: "grade";
834
+ class: "class";
835
+ role: "role";
836
+ individual: "individual";
837
+ }>;
838
+ declare const NotificationChannelSchema: z.ZodEnum<{
839
+ email: "email";
840
+ in_app: "in_app";
841
+ sms: "sms";
842
+ push: "push";
843
+ }>;
844
+ declare const PortalBlockTypeSchema: z.ZodEnum<{
845
+ custom: "custom";
846
+ diary: "diary";
847
+ notification: "notification";
848
+ fee: "fee";
849
+ }>;
850
+ declare const NotificationAudienceItemSchema: z.ZodObject<{
851
+ audienceType: z.ZodEnum<{
852
+ all_branches: "all_branches";
853
+ branch: "branch";
854
+ grade: "grade";
855
+ class: "class";
856
+ role: "role";
857
+ individual: "individual";
858
+ }>;
859
+ audienceId: z.ZodString;
860
+ }, z.core.$strip>;
861
+ declare const CreateNotificationInputSchema: z.ZodObject<{
862
+ branchId: z.ZodOptional<z.ZodUUID>;
863
+ title: z.ZodString;
864
+ body: z.ZodString;
865
+ urgency: z.ZodEnum<{
866
+ critical: "critical";
867
+ urgent: "urgent";
868
+ important: "important";
869
+ info: "info";
870
+ }>;
871
+ isBlocking: z.ZodOptional<z.ZodBoolean>;
872
+ deadlineHours: z.ZodOptional<z.ZodNumber>;
873
+ redirectPath: z.ZodOptional<z.ZodString>;
874
+ redirectParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
875
+ requiresResponse: z.ZodOptional<z.ZodBoolean>;
876
+ responseOptions: z.ZodOptional<z.ZodArray<z.ZodString>>;
877
+ deliveryChannels: z.ZodOptional<z.ZodArray<z.ZodEnum<{
878
+ email: "email";
879
+ in_app: "in_app";
880
+ sms: "sms";
881
+ push: "push";
882
+ }>>>;
883
+ scheduledAt: z.ZodOptional<z.ZodString>;
884
+ recurrence: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
885
+ audience: z.ZodArray<z.ZodObject<{
886
+ audienceType: z.ZodEnum<{
887
+ all_branches: "all_branches";
888
+ branch: "branch";
889
+ grade: "grade";
890
+ class: "class";
891
+ role: "role";
892
+ individual: "individual";
893
+ }>;
894
+ audienceId: z.ZodString;
895
+ }, z.core.$strip>>;
896
+ }, z.core.$strip>;
897
+ type CreateNotificationInput = z.infer<typeof CreateNotificationInputSchema>;
898
+ declare const ListNotificationTemplatesInputSchema: z.ZodObject<{
899
+ status: z.ZodOptional<z.ZodString>;
900
+ branchId: z.ZodOptional<z.ZodUUID>;
901
+ }, z.core.$strip>;
902
+ declare const NotificationTemplateSchema: z.ZodObject<{
903
+ id: z.ZodUUID;
904
+ branchId: z.ZodNullable<z.ZodUUID>;
905
+ title: z.ZodString;
906
+ body: z.ZodString;
907
+ urgency: z.ZodEnum<{
908
+ critical: "critical";
909
+ urgent: "urgent";
910
+ important: "important";
911
+ info: "info";
912
+ }>;
913
+ isBlocking: z.ZodBoolean;
914
+ deadlineHours: z.ZodNullable<z.ZodNumber>;
915
+ redirectPath: z.ZodNullable<z.ZodString>;
916
+ redirectParams: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
917
+ requiresResponse: z.ZodBoolean;
918
+ responseOptions: z.ZodNullable<z.ZodArray<z.ZodString>>;
919
+ deliveryChannels: z.ZodArray<z.ZodEnum<{
920
+ email: "email";
921
+ in_app: "in_app";
922
+ sms: "sms";
923
+ push: "push";
924
+ }>>;
925
+ scheduledAt: z.ZodNullable<z.ZodString>;
926
+ recurrence: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
927
+ lastFiredAt: z.ZodNullable<z.ZodString>;
928
+ nextFireAt: z.ZodNullable<z.ZodString>;
929
+ status: z.ZodEnum<{
930
+ draft: "draft";
931
+ pending_approval: "pending_approval";
932
+ approved: "approved";
933
+ scheduled: "scheduled";
934
+ sent: "sent";
935
+ cancelled: "cancelled";
936
+ recurring_active: "recurring_active";
937
+ }>;
938
+ createdBy: z.ZodUUID;
939
+ approvedBy: z.ZodNullable<z.ZodUUID>;
940
+ approvedAt: z.ZodNullable<z.ZodString>;
941
+ sentAt: z.ZodNullable<z.ZodString>;
942
+ createdAt: z.ZodString;
943
+ updatedAt: z.ZodString;
944
+ }, z.core.$strip>;
945
+ declare const RejectNotificationInputSchema: z.ZodObject<{
946
+ id: z.ZodUUID;
947
+ reason: z.ZodOptional<z.ZodString>;
948
+ }, z.core.$strip>;
949
+ declare const ListDeliveriesInputSchema: z.ZodObject<{
950
+ isRead: z.ZodOptional<z.ZodBoolean>;
951
+ isBlocking: z.ZodOptional<z.ZodBoolean>;
952
+ }, z.core.$strip>;
953
+ declare const NotificationDeliverySchema: z.ZodObject<{
954
+ id: z.ZodUUID;
955
+ notificationId: z.ZodUUID;
956
+ userId: z.ZodUUID;
957
+ channel: z.ZodEnum<{
958
+ email: "email";
959
+ in_app: "in_app";
960
+ sms: "sms";
961
+ push: "push";
962
+ }>;
963
+ deliveredAt: z.ZodNullable<z.ZodString>;
964
+ readAt: z.ZodNullable<z.ZodString>;
965
+ isRead: z.ZodBoolean;
966
+ markedUnreadAt: z.ZodNullable<z.ZodString>;
967
+ acknowledgedAt: z.ZodNullable<z.ZodString>;
968
+ response: z.ZodNullable<z.ZodString>;
969
+ isBlocking: z.ZodBoolean;
970
+ isResolved: z.ZodBoolean;
971
+ resolvedAt: z.ZodNullable<z.ZodString>;
972
+ returnPath: z.ZodNullable<z.ZodString>;
973
+ createdAt: z.ZodString;
974
+ }, z.core.$strip>;
975
+ declare const AcknowledgeDeliveryInputSchema: z.ZodObject<{
976
+ deliveryId: z.ZodUUID;
977
+ response: z.ZodOptional<z.ZodString>;
978
+ }, z.core.$strip>;
979
+ declare const RespondToDeliveryInputSchema: z.ZodObject<{
980
+ deliveryId: z.ZodUUID;
981
+ response: z.ZodString;
982
+ }, z.core.$strip>;
983
+ declare const ResponseSummarySchema: z.ZodRecord<z.ZodString, z.ZodNumber>;
984
+ declare const NotificationResponseItemSchema: z.ZodObject<{
985
+ deliveryId: z.ZodUUID;
986
+ userId: z.ZodUUID;
987
+ userName: z.ZodString;
988
+ userEmail: z.ZodString;
989
+ response: z.ZodNullable<z.ZodString>;
990
+ acknowledgedAt: z.ZodNullable<z.ZodString>;
991
+ isResolved: z.ZodBoolean;
992
+ }, z.core.$strip>;
993
+ declare const PortalBlockSchema: z.ZodObject<{
994
+ id: z.ZodUUID;
995
+ userId: z.ZodUUID;
996
+ blockType: z.ZodEnum<{
997
+ custom: "custom";
998
+ diary: "diary";
999
+ notification: "notification";
1000
+ fee: "fee";
1001
+ }>;
1002
+ sourceId: z.ZodUUID;
1003
+ redirectPath: z.ZodString;
1004
+ redirectParams: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
1005
+ returnPath: z.ZodNullable<z.ZodString>;
1006
+ severity: z.ZodEnum<{
1007
+ critical: "critical";
1008
+ urgent: "urgent";
1009
+ important: "important";
1010
+ info: "info";
1011
+ }>;
1012
+ isActive: z.ZodBoolean;
1013
+ activatedAt: z.ZodString;
1014
+ resolvedAt: z.ZodNullable<z.ZodString>;
1015
+ resolvedBy: z.ZodNullable<z.ZodUUID>;
1016
+ resolvedVia: z.ZodNullable<z.ZodString>;
1017
+ requiresResponse: z.ZodBoolean;
1018
+ responseOptions: z.ZodNullable<z.ZodArray<z.ZodString>>;
1019
+ createdAt: z.ZodString;
1020
+ }, z.core.$strip>;
1021
+ declare const RespondToBlockInputSchema: z.ZodObject<{
1022
+ blockId: z.ZodUUID;
1023
+ response: z.ZodString;
1024
+ }, z.core.$strip>;
1025
+ declare const RespondToBlockOutputSchema: z.ZodUnknown;
1026
+
1027
+ /**
1028
+ * Brite Future Schools — bfs-contracts
1029
+ * E-Diary schemas — categories, entries, acknowledgements, blocks.
1030
+ *
1031
+ * Phase History:
1032
+ * Phase 8 (2026-07-20): Initial creation — Module 2 (E-Diary)
1033
+ *
1034
+ * @module src/schemas/diary
1035
+ * @since Phase 8
1036
+ */
1037
+
1038
+ declare const DiarySeveritySchema: z.ZodEnum<{
1039
+ critical: "critical";
1040
+ info: "info";
1041
+ moderate: "moderate";
1042
+ serious: "serious";
1043
+ }>;
1044
+ declare const DiaryEntryStatusSchema: z.ZodEnum<{
1045
+ active: "active";
1046
+ resolved: "resolved";
1047
+ lifted: "lifted";
1048
+ }>;
1049
+ declare const BlockResolutionMethodSchema: z.ZodEnum<{
1050
+ guardian_acknowledge: "guardian_acknowledge";
1051
+ staff_lift: "staff_lift";
1052
+ }>;
1053
+ declare const DiaryCategorySchema: z.ZodObject<{
1054
+ id: z.ZodUUID;
1055
+ branchId: z.ZodUUID;
1056
+ name: z.ZodString;
1057
+ description: z.ZodNullable<z.ZodString>;
1058
+ isActive: z.ZodBoolean;
1059
+ createdBy: z.ZodNullable<z.ZodUUID>;
1060
+ createdAt: z.ZodString;
1061
+ }, z.core.$strip>;
1062
+ declare const CreateDiaryCategoryInputSchema: z.ZodObject<{
1063
+ name: z.ZodString;
1064
+ description: z.ZodOptional<z.ZodString>;
1065
+ }, z.core.$strip>;
1066
+ declare const UpdateDiaryCategoryInputSchema: z.ZodObject<{
1067
+ id: z.ZodUUID;
1068
+ name: z.ZodOptional<z.ZodString>;
1069
+ description: z.ZodOptional<z.ZodString>;
1070
+ isActive: z.ZodOptional<z.ZodBoolean>;
1071
+ }, z.core.$strip>;
1072
+ declare const ListDiaryEntriesInputSchema: z.ZodObject<{
1073
+ classId: z.ZodOptional<z.ZodUUID>;
1074
+ studentId: z.ZodOptional<z.ZodUUID>;
1075
+ postedBy: z.ZodOptional<z.ZodUUID>;
1076
+ }, z.core.$strip>;
1077
+ declare const DiaryEntrySchema: z.ZodObject<{
1078
+ id: z.ZodUUID;
1079
+ branchId: z.ZodUUID;
1080
+ classId: z.ZodUUID;
1081
+ studentId: z.ZodNullable<z.ZodUUID>;
1082
+ postedBy: z.ZodUUID;
1083
+ categoryId: z.ZodUUID;
1084
+ title: z.ZodString;
1085
+ body: z.ZodString;
1086
+ severity: z.ZodEnum<{
1087
+ critical: "critical";
1088
+ info: "info";
1089
+ moderate: "moderate";
1090
+ serious: "serious";
1091
+ }>;
1092
+ requiresResponse: z.ZodBoolean;
1093
+ responseDeadlineDays: z.ZodNumber;
1094
+ isBlockingPortal: z.ZodBoolean;
1095
+ isBlockingReportCard: z.ZodBoolean;
1096
+ status: z.ZodEnum<{
1097
+ active: "active";
1098
+ resolved: "resolved";
1099
+ lifted: "lifted";
1100
+ }>;
1101
+ resolvedAt: z.ZodNullable<z.ZodString>;
1102
+ resolvedBy: z.ZodNullable<z.ZodUUID>;
1103
+ liftApprovedBy: z.ZodNullable<z.ZodUUID>;
1104
+ liftApprovedAt: z.ZodNullable<z.ZodString>;
1105
+ createdAt: z.ZodString;
1106
+ updatedAt: z.ZodString;
1107
+ }, z.core.$strip>;
1108
+ declare const CreateDiaryEntryInputSchema: z.ZodObject<{
1109
+ classId: z.ZodUUID;
1110
+ studentId: z.ZodOptional<z.ZodUUID>;
1111
+ categoryId: z.ZodUUID;
1112
+ title: z.ZodString;
1113
+ body: z.ZodString;
1114
+ severity: z.ZodEnum<{
1115
+ critical: "critical";
1116
+ info: "info";
1117
+ moderate: "moderate";
1118
+ serious: "serious";
1119
+ }>;
1120
+ requiresResponse: z.ZodOptional<z.ZodBoolean>;
1121
+ responseDeadlineDays: z.ZodOptional<z.ZodNumber>;
1122
+ isBlockingPortal: z.ZodOptional<z.ZodBoolean>;
1123
+ isBlockingReportCard: z.ZodOptional<z.ZodBoolean>;
1124
+ }, z.core.$strip>;
1125
+ declare const DiaryAcknowledgementSchema: z.ZodObject<{
1126
+ id: z.ZodUUID;
1127
+ entryId: z.ZodUUID;
1128
+ guardianId: z.ZodUUID;
1129
+ studentId: z.ZodUUID;
1130
+ acknowledgedAt: z.ZodNullable<z.ZodString>;
1131
+ response: z.ZodNullable<z.ZodString>;
1132
+ isAcknowledged: z.ZodBoolean;
1133
+ createdAt: z.ZodString;
1134
+ }, z.core.$strip>;
1135
+ declare const DiaryBlockSchema: z.ZodObject<{
1136
+ id: z.ZodUUID;
1137
+ entryId: z.ZodUUID;
1138
+ guardianId: z.ZodUUID;
1139
+ studentId: z.ZodUUID;
1140
+ blockedAt: z.ZodString;
1141
+ resolvedAt: z.ZodNullable<z.ZodString>;
1142
+ resolvedBy: z.ZodNullable<z.ZodUUID>;
1143
+ resolvedVia: z.ZodNullable<z.ZodEnum<{
1144
+ guardian_acknowledge: "guardian_acknowledge";
1145
+ staff_lift: "staff_lift";
1146
+ }>>;
1147
+ liftApprovedBy: z.ZodNullable<z.ZodUUID>;
1148
+ liftApprovedAt: z.ZodNullable<z.ZodString>;
1149
+ isActive: z.ZodBoolean;
1150
+ createdAt: z.ZodString;
1151
+ }, z.core.$strip>;
1152
+ declare const MyAcknowledgementSchema: z.ZodObject<{
1153
+ isAcknowledged: z.ZodBoolean;
1154
+ response: z.ZodNullable<z.ZodString>;
1155
+ }, z.core.$strip>;
1156
+ declare const DiaryEntryDetailSchema: z.ZodObject<{
1157
+ id: z.ZodUUID;
1158
+ branchId: z.ZodUUID;
1159
+ classId: z.ZodUUID;
1160
+ studentId: z.ZodNullable<z.ZodUUID>;
1161
+ postedBy: z.ZodUUID;
1162
+ categoryId: z.ZodUUID;
1163
+ title: z.ZodString;
1164
+ body: z.ZodString;
1165
+ severity: z.ZodEnum<{
1166
+ critical: "critical";
1167
+ info: "info";
1168
+ moderate: "moderate";
1169
+ serious: "serious";
1170
+ }>;
1171
+ requiresResponse: z.ZodBoolean;
1172
+ responseDeadlineDays: z.ZodNumber;
1173
+ isBlockingPortal: z.ZodBoolean;
1174
+ isBlockingReportCard: z.ZodBoolean;
1175
+ status: z.ZodEnum<{
1176
+ active: "active";
1177
+ resolved: "resolved";
1178
+ lifted: "lifted";
1179
+ }>;
1180
+ resolvedAt: z.ZodNullable<z.ZodString>;
1181
+ resolvedBy: z.ZodNullable<z.ZodUUID>;
1182
+ liftApprovedBy: z.ZodNullable<z.ZodUUID>;
1183
+ liftApprovedAt: z.ZodNullable<z.ZodString>;
1184
+ createdAt: z.ZodString;
1185
+ updatedAt: z.ZodString;
1186
+ acknowledgements: z.ZodArray<z.ZodObject<{
1187
+ id: z.ZodUUID;
1188
+ entryId: z.ZodUUID;
1189
+ guardianId: z.ZodUUID;
1190
+ studentId: z.ZodUUID;
1191
+ acknowledgedAt: z.ZodNullable<z.ZodString>;
1192
+ response: z.ZodNullable<z.ZodString>;
1193
+ isAcknowledged: z.ZodBoolean;
1194
+ createdAt: z.ZodString;
1195
+ }, z.core.$strip>>;
1196
+ blocks: z.ZodArray<z.ZodObject<{
1197
+ id: z.ZodUUID;
1198
+ entryId: z.ZodUUID;
1199
+ guardianId: z.ZodUUID;
1200
+ studentId: z.ZodUUID;
1201
+ blockedAt: z.ZodString;
1202
+ resolvedAt: z.ZodNullable<z.ZodString>;
1203
+ resolvedBy: z.ZodNullable<z.ZodUUID>;
1204
+ resolvedVia: z.ZodNullable<z.ZodEnum<{
1205
+ guardian_acknowledge: "guardian_acknowledge";
1206
+ staff_lift: "staff_lift";
1207
+ }>>;
1208
+ liftApprovedBy: z.ZodNullable<z.ZodUUID>;
1209
+ liftApprovedAt: z.ZodNullable<z.ZodString>;
1210
+ isActive: z.ZodBoolean;
1211
+ createdAt: z.ZodString;
1212
+ }, z.core.$strip>>;
1213
+ myAcknowledgement: z.ZodNullable<z.ZodObject<{
1214
+ isAcknowledged: z.ZodBoolean;
1215
+ response: z.ZodNullable<z.ZodString>;
1216
+ }, z.core.$strip>>;
1217
+ }, z.core.$strip>;
1218
+ declare const DiaryEntryForGuardianSchema: z.ZodObject<{
1219
+ id: z.ZodUUID;
1220
+ branchId: z.ZodUUID;
1221
+ classId: z.ZodUUID;
1222
+ studentId: z.ZodNullable<z.ZodUUID>;
1223
+ postedBy: z.ZodUUID;
1224
+ categoryId: z.ZodUUID;
1225
+ title: z.ZodString;
1226
+ body: z.ZodString;
1227
+ severity: z.ZodEnum<{
1228
+ critical: "critical";
1229
+ info: "info";
1230
+ moderate: "moderate";
1231
+ serious: "serious";
1232
+ }>;
1233
+ requiresResponse: z.ZodBoolean;
1234
+ responseDeadlineDays: z.ZodNumber;
1235
+ isBlockingPortal: z.ZodBoolean;
1236
+ isBlockingReportCard: z.ZodBoolean;
1237
+ status: z.ZodEnum<{
1238
+ active: "active";
1239
+ resolved: "resolved";
1240
+ lifted: "lifted";
1241
+ }>;
1242
+ resolvedAt: z.ZodNullable<z.ZodString>;
1243
+ resolvedBy: z.ZodNullable<z.ZodUUID>;
1244
+ liftApprovedBy: z.ZodNullable<z.ZodUUID>;
1245
+ liftApprovedAt: z.ZodNullable<z.ZodString>;
1246
+ createdAt: z.ZodString;
1247
+ updatedAt: z.ZodString;
1248
+ myAcknowledgement: z.ZodNullable<z.ZodObject<{
1249
+ isAcknowledged: z.ZodBoolean;
1250
+ response: z.ZodNullable<z.ZodString>;
1251
+ }, z.core.$strip>>;
1252
+ }, z.core.$strip>;
1253
+ declare const AcknowledgeDiaryEntryInputSchema: z.ZodObject<{
1254
+ entryId: z.ZodUUID;
1255
+ studentId: z.ZodUUID;
1256
+ }, z.core.$strip>;
1257
+ declare const RespondToDiaryEntryInputSchema: z.ZodObject<{
1258
+ entryId: z.ZodUUID;
1259
+ studentId: z.ZodUUID;
1260
+ response: z.ZodString;
1261
+ }, z.core.$strip>;
1262
+ declare const DiaryBlockIdInputSchema: z.ZodObject<{
1263
+ blockId: z.ZodUUID;
1264
+ }, z.core.$strip>;
1265
+ declare const ListDiaryAcknowledgementsInputSchema: z.ZodObject<{
1266
+ entryId: z.ZodUUID;
1267
+ }, z.core.$strip>;
1268
+
725
1269
  /**
726
1270
  * Brite Future Schools — bfs-contracts
727
1271
  * Grades schemas.
@@ -774,4 +1318,4 @@ declare const CreateGradeInputSchema: z.ZodObject<{
774
1318
  type Grade = z.infer<typeof GradeSchema>;
775
1319
  type CreateGradeInput = z.infer<typeof CreateGradeInputSchema>;
776
1320
 
777
- export { type AcademicTerm, AcademicTermSchema, type AcademicYear, AcademicYearSchema, AttendanceRecordInputSchema, type AttendanceStatusEnum, AttendanceStatusSchema, BranchRefSchema, type BulkUploadStudentRow, BulkUploadStudentRowSchema, type BulkUploadStudentsInput, BulkUploadStudentsInputSchema, type BulkUploadStudentsOutput, BulkUploadStudentsOutputSchema, type ChangePasswordInput, ChangePasswordInputSchema, type ClassAttendanceRow, ClassAttendanceRowSchema, type ClassSummary, ClassSummarySchema, type CreateDepartmentInput, CreateDepartmentInputSchema, type CreateGradeInput, CreateGradeInputSchema, type CreateStaffInput, CreateStaffInputSchema, type CreateStaffOutput, CreateStaffOutputSchema, type CreateStudentInput, CreateStudentInputSchema, type CreateStudentOutput, CreateStudentOutputSchema, type CreateTermInput, CreateTermInputSchema, type CreateYearInput, CreateYearInputSchema, CuidSchema, type Department, DepartmentSchema, EmploymentTypeSchema, GRADE_LEVELS, GenderSchema, type GetByClassInput, GetByClassInputSchema, type GetByStudentInput, GetByStudentInputSchema, type Grade, type GradeLevel, GradeLevelSchema, GradeSchema, type LinkGuardianInput, LinkGuardianInputSchema, type ListStaffInput, ListStaffInputSchema, type ListStudentsInput, ListStudentsInputSchema, ListTermsInputSchema, type LoginInput, LoginInputSchema, type LoginOutput, LoginOutputSchema, LogoutInputSchema, type MarkAttendanceInput, MarkAttendanceInputSchema, type MarkAttendanceOutput, MarkAttendanceOutputSchema, type PaginationInput, PaginationInputSchema, type RefreshTokenInput, RefreshTokenInputSchema, type RefreshTokenOutput, RefreshTokenOutputSchema, RequestPasswordResetInputSchema, ResetPasswordInputSchema, type SessionUserOutput, SessionUserOutputSchema, SessionUserRoleSchema, SessionUserSubRoleSchema, SetCurrentTermInputSchema, SetCurrentYearInputSchema, type SoftDelete, SoftDeleteSchema, type StaffListItem, StaffListItemSchema, type StaffProfile, StaffProfileSchema, type StudentAttendanceRow, StudentAttendanceRowSchema, type StudentListItem, StudentListItemSchema, type StudentProfile, StudentProfileSchema, StudentStatusSchema, type SwitchBranchInput, SwitchBranchInputSchema, type Term, TermSchema, type Timestamps, TimestampsSchema, UuidSchema, paginatedOutputSchema };
1321
+ export { type AcademicTerm, AcademicTermSchema, type AcademicYear, AcademicYearSchema, AcknowledgeDeliveryInputSchema, AcknowledgeDiaryEntryInputSchema, AttendanceRecordInputSchema, type AttendanceStatusEnum, AttendanceStatusSchema, BankAccountTypeSchema, BlockResolutionMethodSchema, BranchBankAccountSchema, BranchRefSchema, type BulkUploadStudentRow, BulkUploadStudentRowSchema, type BulkUploadStudentsInput, BulkUploadStudentsInputSchema, type BulkUploadStudentsOutput, BulkUploadStudentsOutputSchema, type ChangePasswordInput, ChangePasswordInputSchema, type ClassAttendanceRow, ClassAttendanceRowSchema, type ClassSummary, ClassSummarySchema, type CreateBankAccountInput, CreateBankAccountInputSchema, type CreateDepartmentInput, CreateDepartmentInputSchema, CreateDiaryCategoryInputSchema, CreateDiaryEntryInputSchema, type CreateGradeInput, CreateGradeInputSchema, type CreateNotificationInput, CreateNotificationInputSchema, type CreateStaffInput, CreateStaffInputSchema, type CreateStaffOutput, CreateStaffOutputSchema, type CreateStudentInput, CreateStudentInputSchema, type CreateStudentOutput, CreateStudentOutputSchema, type CreateTermInput, CreateTermInputSchema, type CreateYearInput, CreateYearInputSchema, CuidSchema, type Department, DepartmentSchema, DiaryAcknowledgementSchema, DiaryBlockIdInputSchema, DiaryBlockSchema, DiaryCategorySchema, DiaryEntryDetailSchema, DiaryEntryForGuardianSchema, DiaryEntrySchema, DiaryEntryStatusSchema, DiarySeveritySchema, EmploymentTypeSchema, GRADE_LEVELS, GenderSchema, type GetByClassInput, GetByClassInputSchema, type GetByStudentInput, GetByStudentInputSchema, type Grade, type GradeLevel, GradeLevelSchema, GradeSchema, KenyanBankSchema, type LinkGuardianInput, LinkGuardianInputSchema, ListBankAccountsInputSchema, ListDeliveriesInputSchema, ListDiaryAcknowledgementsInputSchema, ListDiaryEntriesInputSchema, ListNotificationTemplatesInputSchema, type ListStaffInput, ListStaffInputSchema, type ListStudentsInput, ListStudentsInputSchema, ListTermsInputSchema, type LoginInput, LoginInputSchema, type LoginOutput, LoginOutputSchema, LogoutInputSchema, type MarkAttendanceInput, MarkAttendanceInputSchema, type MarkAttendanceOutput, MarkAttendanceOutputSchema, MyAcknowledgementSchema, NotificationAudienceItemSchema, NotificationAudienceTypeSchema, NotificationChannelSchema, NotificationDeliverySchema, NotificationResponseItemSchema, NotificationTemplateSchema, NotificationTemplateStatusSchema, NotificationUrgencySchema, type PaginationInput, PaginationInputSchema, PortalBlockSchema, PortalBlockTypeSchema, type RefreshTokenInput, RefreshTokenInputSchema, type RefreshTokenOutput, RefreshTokenOutputSchema, RejectNotificationInputSchema, RequestPasswordResetInputSchema, ResetPasswordInputSchema, RespondToBlockInputSchema, RespondToBlockOutputSchema, RespondToDeliveryInputSchema, RespondToDiaryEntryInputSchema, ResponseSummarySchema, type SessionUserOutput, SessionUserOutputSchema, SessionUserRoleSchema, SessionUserSubRoleSchema, SetCurrentTermInputSchema, SetCurrentYearInputSchema, type SoftDelete, SoftDeleteSchema, type StaffListItem, StaffListItemSchema, type StaffProfile, StaffProfileSchema, type StudentAttendanceRow, StudentAttendanceRowSchema, type StudentListItem, StudentListItemSchema, type StudentProfile, StudentProfileSchema, StudentStatusSchema, type SwitchBranchInput, SwitchBranchInputSchema, type Term, TermSchema, type Timestamps, TimestampsSchema, type UpdateBankAccountInput, UpdateBankAccountInputSchema, UpdateDiaryCategoryInputSchema, UuidSchema, paginatedOutputSchema };