@nyig/models 0.3.8 → 0.3.10

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 (5) hide show
  1. package/index.d.mts +1323 -386
  2. package/index.d.ts +1323 -386
  3. package/index.js +233 -200
  4. package/index.mjs +229 -200
  5. package/package.json +1 -1
package/index.d.mts CHANGED
@@ -654,7 +654,10 @@ declare enum CampOption {
654
654
  declare const zBAttendance: z.ZodObject<{
655
655
  student: z.ZodString;
656
656
  states: z.ZodArray<z.ZodNativeEnum<typeof AttendState>, "many">;
657
- tuition: z.ZodObject<{
657
+ /**
658
+ * @deprecated This field is no longer used
659
+ */
660
+ tuition: z.ZodOptional<z.ZodObject<{
658
661
  primary: z.ZodNumber;
659
662
  textbook: z.ZodOptional<z.ZodBoolean>;
660
663
  shipping: z.ZodOptional<z.ZodBoolean>;
@@ -666,34 +669,34 @@ declare const zBAttendance: z.ZodObject<{
666
669
  primary: number;
667
670
  textbook?: boolean | undefined;
668
671
  shipping?: boolean | undefined;
669
- }>;
672
+ }>>;
670
673
  paid: z.ZodOptional<z.ZodBoolean>;
671
674
  campOption: z.ZodOptional<z.ZodNativeEnum<typeof CampOption>>;
672
675
  }, "strip", z.ZodTypeAny, {
673
676
  student: string;
674
677
  states: AttendState[];
675
- tuition: {
678
+ tuition?: {
676
679
  primary: number;
677
680
  textbook?: boolean | undefined;
678
681
  shipping?: boolean | undefined;
679
- };
682
+ } | undefined;
680
683
  paid?: boolean | undefined;
681
684
  campOption?: CampOption | undefined;
682
685
  }, {
683
686
  student: string;
684
687
  states: AttendState[];
685
- tuition: {
688
+ tuition?: {
686
689
  primary: number;
687
690
  textbook?: boolean | undefined;
688
691
  shipping?: boolean | undefined;
689
- };
692
+ } | undefined;
690
693
  paid?: boolean | undefined;
691
694
  campOption?: CampOption | undefined;
692
695
  }>;
693
696
  declare const zAttendance: z.ZodObject<{
694
697
  student: z.ZodString;
695
698
  states: z.ZodArray<z.ZodNativeEnum<typeof AttendState>, "many">;
696
- tuition: z.ZodObject<{
699
+ tuition: z.ZodOptional<z.ZodObject<{
697
700
  primary: z.ZodNumber;
698
701
  textbook: z.ZodOptional<z.ZodBoolean>;
699
702
  shipping: z.ZodOptional<z.ZodBoolean>;
@@ -705,7 +708,7 @@ declare const zAttendance: z.ZodObject<{
705
708
  primary: number;
706
709
  textbook?: boolean | undefined;
707
710
  shipping?: boolean | undefined;
708
- }>;
711
+ }>>;
709
712
  paid: z.ZodOptional<z.ZodBoolean>;
710
713
  campOption: z.ZodOptional<z.ZodNativeEnum<typeof CampOption>>;
711
714
  _id: z.ZodString;
@@ -716,11 +719,11 @@ declare const zAttendance: z.ZodObject<{
716
719
  _id: string;
717
720
  student: string;
718
721
  states: AttendState[];
719
- tuition: {
722
+ tuition?: {
720
723
  primary: number;
721
724
  textbook?: boolean | undefined;
722
725
  shipping?: boolean | undefined;
723
- };
726
+ } | undefined;
724
727
  paid?: boolean | undefined;
725
728
  campOption?: CampOption | undefined;
726
729
  editedBy?: string | undefined;
@@ -730,16 +733,67 @@ declare const zAttendance: z.ZodObject<{
730
733
  _id: string;
731
734
  student: string;
732
735
  states: AttendState[];
733
- tuition: {
736
+ tuition?: {
734
737
  primary: number;
735
738
  textbook?: boolean | undefined;
736
739
  shipping?: boolean | undefined;
737
- };
740
+ } | undefined;
741
+ paid?: boolean | undefined;
742
+ campOption?: CampOption | undefined;
743
+ editedBy?: string | undefined;
744
+ createdAt?: string | undefined;
745
+ updatedAt?: string | undefined;
746
+ }>;
747
+ declare const zAttendanceRequest: z.ZodObject<{
748
+ editedBy: z.ZodOptional<z.ZodString>;
749
+ createdAt: z.ZodOptional<z.ZodString>;
750
+ updatedAt: z.ZodOptional<z.ZodString>;
751
+ student: z.ZodString;
752
+ states: z.ZodArray<z.ZodNativeEnum<typeof AttendState>, "many">;
753
+ tuition: z.ZodOptional<z.ZodObject<{
754
+ primary: z.ZodNumber;
755
+ textbook: z.ZodOptional<z.ZodBoolean>;
756
+ shipping: z.ZodOptional<z.ZodBoolean>;
757
+ }, "strip", z.ZodTypeAny, {
758
+ primary: number;
759
+ textbook?: boolean | undefined;
760
+ shipping?: boolean | undefined;
761
+ }, {
762
+ primary: number;
763
+ textbook?: boolean | undefined;
764
+ shipping?: boolean | undefined;
765
+ }>>;
766
+ paid: z.ZodOptional<z.ZodBoolean>;
767
+ campOption: z.ZodOptional<z.ZodNativeEnum<typeof CampOption>>;
768
+ _id: z.ZodOptional<z.ZodString>;
769
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
770
+ student: string;
771
+ states: AttendState[];
772
+ editedBy?: string | undefined;
773
+ createdAt?: string | undefined;
774
+ updatedAt?: string | undefined;
775
+ tuition?: {
776
+ primary: number;
777
+ textbook?: boolean | undefined;
778
+ shipping?: boolean | undefined;
779
+ } | undefined;
738
780
  paid?: boolean | undefined;
739
781
  campOption?: CampOption | undefined;
782
+ _id?: string | undefined;
783
+ }, {
784
+ student: string;
785
+ states: AttendState[];
740
786
  editedBy?: string | undefined;
741
787
  createdAt?: string | undefined;
742
788
  updatedAt?: string | undefined;
789
+ tuition?: {
790
+ primary: number;
791
+ textbook?: boolean | undefined;
792
+ shipping?: boolean | undefined;
793
+ } | undefined;
794
+ paid?: boolean | undefined;
795
+ campOption?: CampOption | undefined;
796
+ _id?: string | undefined;
743
797
  }>;
744
798
  declare const zAttendanceResponse: z.ZodObject<{
745
799
  _id: z.ZodString;
@@ -747,7 +801,7 @@ declare const zAttendanceResponse: z.ZodObject<{
747
801
  createdAt: z.ZodOptional<z.ZodString>;
748
802
  updatedAt: z.ZodOptional<z.ZodString>;
749
803
  states: z.ZodArray<z.ZodNativeEnum<typeof AttendState>, "many">;
750
- tuition: z.ZodObject<{
804
+ tuition: z.ZodOptional<z.ZodObject<{
751
805
  primary: z.ZodNumber;
752
806
  textbook: z.ZodOptional<z.ZodBoolean>;
753
807
  shipping: z.ZodOptional<z.ZodBoolean>;
@@ -759,7 +813,7 @@ declare const zAttendanceResponse: z.ZodObject<{
759
813
  primary: number;
760
814
  textbook?: boolean | undefined;
761
815
  shipping?: boolean | undefined;
762
- }>;
816
+ }>>;
763
817
  paid: z.ZodOptional<z.ZodBoolean>;
764
818
  campOption: z.ZodOptional<z.ZodNativeEnum<typeof CampOption>>;
765
819
  student: z.ZodObject<{
@@ -859,14 +913,14 @@ declare const zAttendanceResponse: z.ZodObject<{
859
913
  updatedAt?: string | undefined;
860
914
  };
861
915
  states: AttendState[];
862
- tuition: {
863
- primary: number;
864
- textbook?: boolean | undefined;
865
- shipping?: boolean | undefined;
866
- };
867
916
  editedBy?: string | undefined;
868
917
  createdAt?: string | undefined;
869
918
  updatedAt?: string | undefined;
919
+ tuition?: {
920
+ primary: number;
921
+ textbook?: boolean | undefined;
922
+ shipping?: boolean | undefined;
923
+ } | undefined;
870
924
  paid?: boolean | undefined;
871
925
  campOption?: CampOption | undefined;
872
926
  }, {
@@ -894,209 +948,1285 @@ declare const zAttendanceResponse: z.ZodObject<{
894
948
  updatedAt?: string | undefined;
895
949
  };
896
950
  states: AttendState[];
897
- tuition: {
898
- primary: number;
899
- textbook?: boolean | undefined;
900
- shipping?: boolean | undefined;
901
- };
902
951
  editedBy?: string | undefined;
903
952
  createdAt?: string | undefined;
904
953
  updatedAt?: string | undefined;
954
+ tuition?: {
955
+ primary: number;
956
+ textbook?: boolean | undefined;
957
+ shipping?: boolean | undefined;
958
+ } | undefined;
905
959
  paid?: boolean | undefined;
906
960
  campOption?: CampOption | undefined;
907
961
  }>;
908
962
  type BAttendance = z.infer<typeof zBAttendance>;
909
963
  type Attendance = z.infer<typeof zAttendance>;
964
+ type AttendanceRequest = z.infer<typeof zAttendanceRequest>;
910
965
  type AttendanceResponse = z.infer<typeof zAttendanceResponse>;
911
966
 
912
- declare const zBCampTracker: z.ZodObject<{
913
- course: z.ZodString;
914
- teacher: z.ZodString;
915
- semester: z.ZodString;
967
+ declare enum Season {
968
+ FALL = "fall",
969
+ SPRING = "spring",
970
+ SUMMER = "summer"
971
+ }
972
+
973
+ declare const zBSemester: z.ZodObject<{
974
+ season: z.ZodNativeEnum<typeof Season>;
975
+ year: z.ZodNumber;
976
+ startDate: z.ZodDate;
977
+ endDate: z.ZodDate;
916
978
  /**
917
- * occurrences are tracked by week for camps
979
+ * Format: start, end, start, end, ...
918
980
  */
919
- occurrences: z.ZodArray<z.ZodString, "many">;
981
+ blackoutDates: z.ZodArray<z.ZodDate, "many">;
920
982
  /**
921
- * attendances are tracked by week for camps
983
+ * List of names of some break: date range
922
984
  */
923
- attendances: z.ZodArray<z.ZodString, "many">;
924
- publicDescription: z.ZodOptional<z.ZodString>;
925
- isNonPublic: z.ZodOptional<z.ZodBoolean>;
926
- notes: z.ZodOptional<z.ZodString>;
985
+ importantDates: z.ZodArray<z.ZodString, "many">;
927
986
  }, "strip", z.ZodTypeAny, {
928
- course: string;
929
- teacher: string;
930
- semester: string;
931
- occurrences: string[];
932
- attendances: string[];
933
- publicDescription?: string | undefined;
934
- isNonPublic?: boolean | undefined;
935
- notes?: string | undefined;
987
+ season: Season;
988
+ year: number;
989
+ startDate: Date;
990
+ endDate: Date;
991
+ blackoutDates: Date[];
992
+ importantDates: string[];
936
993
  }, {
937
- course: string;
938
- teacher: string;
939
- semester: string;
940
- occurrences: string[];
941
- attendances: string[];
942
- publicDescription?: string | undefined;
943
- isNonPublic?: boolean | undefined;
944
- notes?: string | undefined;
994
+ season: Season;
995
+ year: number;
996
+ startDate: Date;
997
+ endDate: Date;
998
+ blackoutDates: Date[];
999
+ importantDates: string[];
945
1000
  }>;
946
- declare const zCampTracker: z.ZodObject<{
947
- notes: z.ZodOptional<z.ZodString>;
948
- course: z.ZodString;
949
- teacher: z.ZodString;
950
- semester: z.ZodString;
951
- occurrences: z.ZodArray<z.ZodString, "many">;
952
- attendances: z.ZodArray<z.ZodString, "many">;
953
- publicDescription: z.ZodOptional<z.ZodString>;
954
- isNonPublic: z.ZodOptional<z.ZodBoolean>;
1001
+ declare const zSemester: z.ZodObject<{
1002
+ season: z.ZodNativeEnum<typeof Season>;
1003
+ year: z.ZodNumber;
1004
+ startDate: z.ZodDate;
1005
+ endDate: z.ZodDate;
1006
+ blackoutDates: z.ZodArray<z.ZodDate, "many">;
1007
+ importantDates: z.ZodArray<z.ZodString, "many">;
955
1008
  _id: z.ZodString;
956
1009
  editedBy: z.ZodOptional<z.ZodString>;
957
1010
  createdAt: z.ZodOptional<z.ZodString>;
958
1011
  updatedAt: z.ZodOptional<z.ZodString>;
959
1012
  }, z.UnknownKeysParam, z.ZodTypeAny, {
960
1013
  _id: string;
961
- course: string;
962
- teacher: string;
963
- semester: string;
964
- occurrences: string[];
965
- attendances: string[];
966
- notes?: string | undefined;
967
- publicDescription?: string | undefined;
968
- isNonPublic?: boolean | undefined;
1014
+ season: Season;
1015
+ year: number;
1016
+ startDate: Date;
1017
+ endDate: Date;
1018
+ blackoutDates: Date[];
1019
+ importantDates: string[];
969
1020
  editedBy?: string | undefined;
970
1021
  createdAt?: string | undefined;
971
1022
  updatedAt?: string | undefined;
972
1023
  }, {
973
1024
  _id: string;
974
- course: string;
975
- teacher: string;
976
- semester: string;
977
- occurrences: string[];
978
- attendances: string[];
979
- notes?: string | undefined;
980
- publicDescription?: string | undefined;
981
- isNonPublic?: boolean | undefined;
1025
+ season: Season;
1026
+ year: number;
1027
+ startDate: Date;
1028
+ endDate: Date;
1029
+ blackoutDates: Date[];
1030
+ importantDates: string[];
982
1031
  editedBy?: string | undefined;
983
1032
  createdAt?: string | undefined;
984
1033
  updatedAt?: string | undefined;
985
1034
  }>;
986
- type BCampTracker = z.infer<typeof zBCampTracker>;
987
- type CampTracker = z.infer<typeof zCampTracker>;
1035
+ type BSemester = z.infer<typeof zBSemester>;
1036
+ type Semester = z.infer<typeof zSemester>;
988
1037
 
989
- declare const zBClassTracker: z.ZodObject<{
990
- course: z.ZodString;
991
- teacher: z.ZodString;
992
- student: z.ZodString;
993
- classTimes: z.ZodArray<z.ZodDate, "many">;
994
- completedList: z.ZodArray<z.ZodBoolean, "many">;
1038
+ declare enum AgeGroup {
1039
+ ADULT = "Adult",
1040
+ YOUTH = "Youth"
1041
+ }
1042
+
1043
+ declare enum CourseCategory {
1044
+ GROUP = "group",
1045
+ PRIVATE = "private",
1046
+ SEMIPRIVATE = "semiprivate",
1047
+ CAMP = "camp",
1048
+ EVENT = "event"
1049
+ }
1050
+
1051
+ declare enum NYIGSchool {
1052
+ MANHATTAN = "Manhattan",
1053
+ LITTLENECK = "Little Neck",
1054
+ ONLINE = "Online"
1055
+ }
1056
+
1057
+ declare const zBCourse: z.ZodObject<{
1058
+ name: z.ZodString;
1059
+ category: z.ZodNativeEnum<typeof CourseCategory>;
995
1060
  /**
996
- * Virtual mongoose field when all values in completedList is true
1061
+ * @unit SECONDS - Duration of the course in seconds
997
1062
  */
998
- completed: z.ZodOptional<z.ZodBoolean>;
999
- tuition: z.ZodOptional<z.ZodObject<{
1000
- primary: z.ZodNumber;
1001
- textbook: z.ZodOptional<z.ZodBoolean>;
1002
- shipping: z.ZodOptional<z.ZodBoolean>;
1003
- }, "strip", z.ZodTypeAny, {
1004
- primary: number;
1005
- textbook?: boolean | undefined;
1006
- shipping?: boolean | undefined;
1007
- }, {
1008
- primary: number;
1009
- textbook?: boolean | undefined;
1010
- shipping?: boolean | undefined;
1011
- }>>;
1012
- paid: z.ZodOptional<z.ZodBoolean>;
1013
- paused: z.ZodOptional<z.ZodBoolean>;
1014
- notes: z.ZodOptional<z.ZodString>;
1015
- }, "strip", z.ZodTypeAny, {
1016
- student: string;
1017
- course: string;
1018
- teacher: string;
1019
- classTimes: Date[];
1020
- completedList: boolean[];
1021
- completed?: boolean | undefined;
1022
- tuition?: {
1023
- primary: number;
1024
- textbook?: boolean | undefined;
1025
- shipping?: boolean | undefined;
1026
- } | undefined;
1027
- paid?: boolean | undefined;
1028
- paused?: boolean | undefined;
1029
- notes?: string | undefined;
1030
- }, {
1031
- student: string;
1032
- course: string;
1033
- teacher: string;
1034
- classTimes: Date[];
1035
- completedList: boolean[];
1036
- completed?: boolean | undefined;
1037
- tuition?: {
1038
- primary: number;
1039
- textbook?: boolean | undefined;
1040
- shipping?: boolean | undefined;
1041
- } | undefined;
1042
- paid?: boolean | undefined;
1043
- paused?: boolean | undefined;
1063
+ duration: z.ZodNumber;
1064
+ /**
1065
+ * @unit CENTS - Price of the course in cents
1066
+ */
1067
+ price: z.ZodNumber;
1068
+ description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1069
+ /**
1070
+ * NYIG School locations
1071
+ */
1072
+ nyigSchool: z.ZodNativeEnum<typeof NYIGSchool>;
1073
+ /**
1074
+ * Recommended level before taking this course
1075
+ */
1076
+ recLevel: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1077
+ /**
1078
+ * Camp tuition for half-day option
1079
+ */
1080
+ halfCampTuition: z.ZodOptional<z.ZodNumber>;
1081
+ /**
1082
+ * Camp tuition for full-day option
1083
+ */
1084
+ fullCampTuition: z.ZodOptional<z.ZodNumber>;
1085
+ superadminOnly: z.ZodOptional<z.ZodBoolean>;
1086
+ }, "strip", z.ZodTypeAny, {
1087
+ name: string;
1088
+ category: CourseCategory;
1089
+ duration: number;
1090
+ price: number;
1091
+ nyigSchool: NYIGSchool;
1092
+ description?: string | undefined;
1093
+ recLevel?: string | undefined;
1094
+ halfCampTuition?: number | undefined;
1095
+ fullCampTuition?: number | undefined;
1096
+ superadminOnly?: boolean | undefined;
1097
+ }, {
1098
+ name: string;
1099
+ category: CourseCategory;
1100
+ duration: number;
1101
+ price: number;
1102
+ nyigSchool: NYIGSchool;
1103
+ description?: string | undefined;
1104
+ recLevel?: string | undefined;
1105
+ halfCampTuition?: number | undefined;
1106
+ fullCampTuition?: number | undefined;
1107
+ superadminOnly?: boolean | undefined;
1108
+ }>;
1109
+ declare const zCourse: z.ZodObject<{
1110
+ name: z.ZodString;
1111
+ category: z.ZodNativeEnum<typeof CourseCategory>;
1112
+ duration: z.ZodNumber;
1113
+ price: z.ZodNumber;
1114
+ description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1115
+ nyigSchool: z.ZodNativeEnum<typeof NYIGSchool>;
1116
+ recLevel: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1117
+ halfCampTuition: z.ZodOptional<z.ZodNumber>;
1118
+ fullCampTuition: z.ZodOptional<z.ZodNumber>;
1119
+ superadminOnly: z.ZodOptional<z.ZodBoolean>;
1120
+ _id: z.ZodString;
1121
+ editedBy: z.ZodOptional<z.ZodString>;
1122
+ createdAt: z.ZodOptional<z.ZodString>;
1123
+ updatedAt: z.ZodOptional<z.ZodString>;
1124
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
1125
+ _id: string;
1126
+ name: string;
1127
+ category: CourseCategory;
1128
+ duration: number;
1129
+ price: number;
1130
+ nyigSchool: NYIGSchool;
1131
+ description?: string | undefined;
1132
+ recLevel?: string | undefined;
1133
+ halfCampTuition?: number | undefined;
1134
+ fullCampTuition?: number | undefined;
1135
+ superadminOnly?: boolean | undefined;
1136
+ editedBy?: string | undefined;
1137
+ createdAt?: string | undefined;
1138
+ updatedAt?: string | undefined;
1139
+ }, {
1140
+ _id: string;
1141
+ name: string;
1142
+ category: CourseCategory;
1143
+ duration: number;
1144
+ price: number;
1145
+ nyigSchool: NYIGSchool;
1146
+ description?: string | undefined;
1147
+ recLevel?: string | undefined;
1148
+ halfCampTuition?: number | undefined;
1149
+ fullCampTuition?: number | undefined;
1150
+ superadminOnly?: boolean | undefined;
1151
+ editedBy?: string | undefined;
1152
+ createdAt?: string | undefined;
1153
+ updatedAt?: string | undefined;
1154
+ }>;
1155
+ type BCourse = z.infer<typeof zBCourse>;
1156
+ type Course = z.infer<typeof zCourse>;
1157
+
1158
+ declare const zBCampTracker: z.ZodObject<{
1159
+ course: z.ZodString;
1160
+ teacher: z.ZodString;
1161
+ semester: z.ZodString;
1162
+ /**
1163
+ * occurrences are tracked by week for camps
1164
+ */
1165
+ occurrences: z.ZodArray<z.ZodString, "many">;
1166
+ /**
1167
+ * attendances are tracked by week for camps
1168
+ */
1169
+ attendances: z.ZodArray<z.ZodString, "many">;
1170
+ publicDescription: z.ZodOptional<z.ZodString>;
1171
+ isNonPublic: z.ZodOptional<z.ZodBoolean>;
1172
+ notes: z.ZodOptional<z.ZodString>;
1173
+ }, "strip", z.ZodTypeAny, {
1174
+ course: string;
1175
+ teacher: string;
1176
+ semester: string;
1177
+ occurrences: string[];
1178
+ attendances: string[];
1179
+ publicDescription?: string | undefined;
1180
+ isNonPublic?: boolean | undefined;
1181
+ notes?: string | undefined;
1182
+ }, {
1183
+ course: string;
1184
+ teacher: string;
1185
+ semester: string;
1186
+ occurrences: string[];
1187
+ attendances: string[];
1188
+ publicDescription?: string | undefined;
1189
+ isNonPublic?: boolean | undefined;
1044
1190
  notes?: string | undefined;
1045
1191
  }>;
1046
- declare const zClassTracker: z.ZodObject<{
1192
+ declare const zCampTracker: z.ZodObject<{
1047
1193
  notes: z.ZodOptional<z.ZodString>;
1048
- student: z.ZodString;
1049
- tuition: z.ZodOptional<z.ZodObject<{
1050
- primary: z.ZodNumber;
1051
- textbook: z.ZodOptional<z.ZodBoolean>;
1052
- shipping: z.ZodOptional<z.ZodBoolean>;
1053
- }, "strip", z.ZodTypeAny, {
1054
- primary: number;
1055
- textbook?: boolean | undefined;
1056
- shipping?: boolean | undefined;
1057
- }, {
1058
- primary: number;
1059
- textbook?: boolean | undefined;
1060
- shipping?: boolean | undefined;
1061
- }>>;
1062
- paid: z.ZodOptional<z.ZodBoolean>;
1063
1194
  course: z.ZodString;
1064
1195
  teacher: z.ZodString;
1065
- classTimes: z.ZodArray<z.ZodDate, "many">;
1066
- completedList: z.ZodArray<z.ZodBoolean, "many">;
1067
- completed: z.ZodOptional<z.ZodBoolean>;
1068
- paused: z.ZodOptional<z.ZodBoolean>;
1196
+ semester: z.ZodString;
1197
+ occurrences: z.ZodArray<z.ZodString, "many">;
1198
+ attendances: z.ZodArray<z.ZodString, "many">;
1199
+ publicDescription: z.ZodOptional<z.ZodString>;
1200
+ isNonPublic: z.ZodOptional<z.ZodBoolean>;
1069
1201
  _id: z.ZodString;
1070
1202
  editedBy: z.ZodOptional<z.ZodString>;
1071
1203
  createdAt: z.ZodOptional<z.ZodString>;
1072
1204
  updatedAt: z.ZodOptional<z.ZodString>;
1073
1205
  }, z.UnknownKeysParam, z.ZodTypeAny, {
1074
1206
  _id: string;
1075
- student: string;
1076
1207
  course: string;
1077
1208
  teacher: string;
1078
- classTimes: Date[];
1079
- completedList: boolean[];
1209
+ semester: string;
1210
+ occurrences: string[];
1211
+ attendances: string[];
1080
1212
  notes?: string | undefined;
1081
- tuition?: {
1082
- primary: number;
1083
- textbook?: boolean | undefined;
1084
- shipping?: boolean | undefined;
1085
- } | undefined;
1086
- paid?: boolean | undefined;
1087
- completed?: boolean | undefined;
1088
- paused?: boolean | undefined;
1213
+ publicDescription?: string | undefined;
1214
+ isNonPublic?: boolean | undefined;
1089
1215
  editedBy?: string | undefined;
1090
1216
  createdAt?: string | undefined;
1091
1217
  updatedAt?: string | undefined;
1092
1218
  }, {
1093
1219
  _id: string;
1094
- student: string;
1095
1220
  course: string;
1096
1221
  teacher: string;
1222
+ semester: string;
1223
+ occurrences: string[];
1224
+ attendances: string[];
1225
+ notes?: string | undefined;
1226
+ publicDescription?: string | undefined;
1227
+ isNonPublic?: boolean | undefined;
1228
+ editedBy?: string | undefined;
1229
+ createdAt?: string | undefined;
1230
+ updatedAt?: string | undefined;
1231
+ }>;
1232
+ declare const zCampTrackerRequest: z.ZodObject<{
1233
+ notes: z.ZodOptional<z.ZodString>;
1234
+ _id: z.ZodString;
1235
+ editedBy: z.ZodOptional<z.ZodString>;
1236
+ createdAt: z.ZodOptional<z.ZodString>;
1237
+ updatedAt: z.ZodOptional<z.ZodString>;
1238
+ course: z.ZodString;
1239
+ teacher: z.ZodString;
1240
+ semester: z.ZodString;
1241
+ occurrences: z.ZodArray<z.ZodString, "many">;
1242
+ publicDescription: z.ZodOptional<z.ZodString>;
1243
+ isNonPublic: z.ZodOptional<z.ZodBoolean>;
1244
+ attendances: z.ZodObject<{
1245
+ editedBy: z.ZodOptional<z.ZodString>;
1246
+ createdAt: z.ZodOptional<z.ZodString>;
1247
+ updatedAt: z.ZodOptional<z.ZodString>;
1248
+ student: z.ZodString;
1249
+ states: z.ZodArray<z.ZodNativeEnum<typeof AttendState>, "many">;
1250
+ tuition: z.ZodOptional<z.ZodObject<{
1251
+ primary: z.ZodNumber;
1252
+ textbook: z.ZodOptional<z.ZodBoolean>;
1253
+ shipping: z.ZodOptional<z.ZodBoolean>;
1254
+ }, "strip", z.ZodTypeAny, {
1255
+ primary: number;
1256
+ textbook?: boolean | undefined;
1257
+ shipping?: boolean | undefined;
1258
+ }, {
1259
+ primary: number;
1260
+ textbook?: boolean | undefined;
1261
+ shipping?: boolean | undefined;
1262
+ }>>;
1263
+ paid: z.ZodOptional<z.ZodBoolean>;
1264
+ campOption: z.ZodOptional<z.ZodNativeEnum<typeof CampOption>>;
1265
+ _id: z.ZodOptional<z.ZodString>;
1266
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
1267
+ student: string;
1268
+ states: AttendState[];
1269
+ editedBy?: string | undefined;
1270
+ createdAt?: string | undefined;
1271
+ updatedAt?: string | undefined;
1272
+ tuition?: {
1273
+ primary: number;
1274
+ textbook?: boolean | undefined;
1275
+ shipping?: boolean | undefined;
1276
+ } | undefined;
1277
+ paid?: boolean | undefined;
1278
+ campOption?: CampOption | undefined;
1279
+ _id?: string | undefined;
1280
+ }, {
1281
+ student: string;
1282
+ states: AttendState[];
1283
+ editedBy?: string | undefined;
1284
+ createdAt?: string | undefined;
1285
+ updatedAt?: string | undefined;
1286
+ tuition?: {
1287
+ primary: number;
1288
+ textbook?: boolean | undefined;
1289
+ shipping?: boolean | undefined;
1290
+ } | undefined;
1291
+ paid?: boolean | undefined;
1292
+ campOption?: CampOption | undefined;
1293
+ _id?: string | undefined;
1294
+ }>;
1295
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
1296
+ _id: string;
1297
+ course: string;
1298
+ teacher: string;
1299
+ semester: string;
1300
+ occurrences: string[];
1301
+ attendances: {
1302
+ student: string;
1303
+ states: AttendState[];
1304
+ editedBy?: string | undefined;
1305
+ createdAt?: string | undefined;
1306
+ updatedAt?: string | undefined;
1307
+ tuition?: {
1308
+ primary: number;
1309
+ textbook?: boolean | undefined;
1310
+ shipping?: boolean | undefined;
1311
+ } | undefined;
1312
+ paid?: boolean | undefined;
1313
+ campOption?: CampOption | undefined;
1314
+ _id?: string | undefined;
1315
+ };
1316
+ notes?: string | undefined;
1317
+ editedBy?: string | undefined;
1318
+ createdAt?: string | undefined;
1319
+ updatedAt?: string | undefined;
1320
+ publicDescription?: string | undefined;
1321
+ isNonPublic?: boolean | undefined;
1322
+ }, {
1323
+ _id: string;
1324
+ course: string;
1325
+ teacher: string;
1326
+ semester: string;
1327
+ occurrences: string[];
1328
+ attendances: {
1329
+ student: string;
1330
+ states: AttendState[];
1331
+ editedBy?: string | undefined;
1332
+ createdAt?: string | undefined;
1333
+ updatedAt?: string | undefined;
1334
+ tuition?: {
1335
+ primary: number;
1336
+ textbook?: boolean | undefined;
1337
+ shipping?: boolean | undefined;
1338
+ } | undefined;
1339
+ paid?: boolean | undefined;
1340
+ campOption?: CampOption | undefined;
1341
+ _id?: string | undefined;
1342
+ };
1343
+ notes?: string | undefined;
1344
+ editedBy?: string | undefined;
1345
+ createdAt?: string | undefined;
1346
+ updatedAt?: string | undefined;
1347
+ publicDescription?: string | undefined;
1348
+ isNonPublic?: boolean | undefined;
1349
+ }>;
1350
+ declare const zCampTrackerResponse: z.ZodObject<{
1351
+ notes: z.ZodOptional<z.ZodString>;
1352
+ _id: z.ZodString;
1353
+ editedBy: z.ZodOptional<z.ZodString>;
1354
+ createdAt: z.ZodOptional<z.ZodString>;
1355
+ updatedAt: z.ZodOptional<z.ZodString>;
1356
+ occurrences: z.ZodArray<z.ZodString, "many">;
1357
+ publicDescription: z.ZodOptional<z.ZodString>;
1358
+ isNonPublic: z.ZodOptional<z.ZodBoolean>;
1359
+ course: z.ZodObject<{
1360
+ name: z.ZodString;
1361
+ category: z.ZodNativeEnum<typeof CourseCategory>;
1362
+ duration: z.ZodNumber;
1363
+ price: z.ZodNumber;
1364
+ description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1365
+ nyigSchool: z.ZodNativeEnum<typeof NYIGSchool>;
1366
+ recLevel: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1367
+ halfCampTuition: z.ZodOptional<z.ZodNumber>;
1368
+ fullCampTuition: z.ZodOptional<z.ZodNumber>;
1369
+ superadminOnly: z.ZodOptional<z.ZodBoolean>;
1370
+ _id: z.ZodString;
1371
+ editedBy: z.ZodOptional<z.ZodString>;
1372
+ createdAt: z.ZodOptional<z.ZodString>;
1373
+ updatedAt: z.ZodOptional<z.ZodString>;
1374
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
1375
+ _id: string;
1376
+ name: string;
1377
+ category: CourseCategory;
1378
+ duration: number;
1379
+ price: number;
1380
+ nyigSchool: NYIGSchool;
1381
+ description?: string | undefined;
1382
+ recLevel?: string | undefined;
1383
+ halfCampTuition?: number | undefined;
1384
+ fullCampTuition?: number | undefined;
1385
+ superadminOnly?: boolean | undefined;
1386
+ editedBy?: string | undefined;
1387
+ createdAt?: string | undefined;
1388
+ updatedAt?: string | undefined;
1389
+ }, {
1390
+ _id: string;
1391
+ name: string;
1392
+ category: CourseCategory;
1393
+ duration: number;
1394
+ price: number;
1395
+ nyigSchool: NYIGSchool;
1396
+ description?: string | undefined;
1397
+ recLevel?: string | undefined;
1398
+ halfCampTuition?: number | undefined;
1399
+ fullCampTuition?: number | undefined;
1400
+ superadminOnly?: boolean | undefined;
1401
+ editedBy?: string | undefined;
1402
+ createdAt?: string | undefined;
1403
+ updatedAt?: string | undefined;
1404
+ }>;
1405
+ teacher: z.ZodObject<{
1406
+ rank: z.ZodNativeEnum<typeof GoRank>;
1407
+ email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1408
+ address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1409
+ name: z.ZodString;
1410
+ username: z.ZodOptional<z.ZodString>;
1411
+ password: z.ZodOptional<z.ZodString>;
1412
+ roles: z.ZodOptional<z.ZodObject<{
1413
+ user: z.ZodNumber;
1414
+ admin: z.ZodOptional<z.ZodNumber>;
1415
+ superadmin: z.ZodOptional<z.ZodNumber>;
1416
+ }, "strip", z.ZodTypeAny, {
1417
+ user: number;
1418
+ admin?: number | undefined;
1419
+ superadmin?: number | undefined;
1420
+ }, {
1421
+ user: number;
1422
+ admin?: number | undefined;
1423
+ superadmin?: number | undefined;
1424
+ }>>;
1425
+ country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1426
+ phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1427
+ birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1428
+ shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
1429
+ isInactive: z.ZodOptional<z.ZodBoolean>;
1430
+ title: z.ZodOptional<z.ZodString>;
1431
+ bio: z.ZodOptional<z.ZodString>;
1432
+ available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
1433
+ _id: z.ZodString;
1434
+ editedBy: z.ZodOptional<z.ZodString>;
1435
+ createdAt: z.ZodOptional<z.ZodString>;
1436
+ updatedAt: z.ZodOptional<z.ZodString>;
1437
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
1438
+ rank: GoRank;
1439
+ _id: string;
1440
+ name: string;
1441
+ email?: string | undefined;
1442
+ address?: string | undefined;
1443
+ username?: string | undefined;
1444
+ password?: string | undefined;
1445
+ roles?: {
1446
+ user: number;
1447
+ admin?: number | undefined;
1448
+ superadmin?: number | undefined;
1449
+ } | undefined;
1450
+ country?: string | undefined;
1451
+ phoneNumber?: string | undefined;
1452
+ birthDate?: string | undefined;
1453
+ shouldChangePassword?: boolean | undefined;
1454
+ isInactive?: boolean | undefined;
1455
+ title?: string | undefined;
1456
+ bio?: string | undefined;
1457
+ available?: number[][][] | undefined;
1458
+ editedBy?: string | undefined;
1459
+ createdAt?: string | undefined;
1460
+ updatedAt?: string | undefined;
1461
+ }, {
1462
+ rank: GoRank;
1463
+ _id: string;
1464
+ name: string;
1465
+ email?: string | undefined;
1466
+ address?: string | undefined;
1467
+ username?: string | undefined;
1468
+ password?: string | undefined;
1469
+ roles?: {
1470
+ user: number;
1471
+ admin?: number | undefined;
1472
+ superadmin?: number | undefined;
1473
+ } | undefined;
1474
+ country?: string | undefined;
1475
+ phoneNumber?: string | undefined;
1476
+ birthDate?: string | undefined;
1477
+ shouldChangePassword?: boolean | undefined;
1478
+ isInactive?: boolean | undefined;
1479
+ title?: string | undefined;
1480
+ bio?: string | undefined;
1481
+ available?: number[][][] | undefined;
1482
+ editedBy?: string | undefined;
1483
+ createdAt?: string | undefined;
1484
+ updatedAt?: string | undefined;
1485
+ }>;
1486
+ semester: z.ZodObject<{
1487
+ season: z.ZodNativeEnum<typeof Season>;
1488
+ year: z.ZodNumber;
1489
+ startDate: z.ZodDate;
1490
+ endDate: z.ZodDate;
1491
+ blackoutDates: z.ZodArray<z.ZodDate, "many">;
1492
+ importantDates: z.ZodArray<z.ZodString, "many">;
1493
+ _id: z.ZodString;
1494
+ editedBy: z.ZodOptional<z.ZodString>;
1495
+ createdAt: z.ZodOptional<z.ZodString>;
1496
+ updatedAt: z.ZodOptional<z.ZodString>;
1497
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
1498
+ _id: string;
1499
+ season: Season;
1500
+ year: number;
1501
+ startDate: Date;
1502
+ endDate: Date;
1503
+ blackoutDates: Date[];
1504
+ importantDates: string[];
1505
+ editedBy?: string | undefined;
1506
+ createdAt?: string | undefined;
1507
+ updatedAt?: string | undefined;
1508
+ }, {
1509
+ _id: string;
1510
+ season: Season;
1511
+ year: number;
1512
+ startDate: Date;
1513
+ endDate: Date;
1514
+ blackoutDates: Date[];
1515
+ importantDates: string[];
1516
+ editedBy?: string | undefined;
1517
+ createdAt?: string | undefined;
1518
+ updatedAt?: string | undefined;
1519
+ }>;
1520
+ attendances: z.ZodObject<{
1521
+ student: z.ZodString;
1522
+ states: z.ZodArray<z.ZodNativeEnum<typeof AttendState>, "many">;
1523
+ tuition: z.ZodOptional<z.ZodObject<{
1524
+ primary: z.ZodNumber;
1525
+ textbook: z.ZodOptional<z.ZodBoolean>;
1526
+ shipping: z.ZodOptional<z.ZodBoolean>;
1527
+ }, "strip", z.ZodTypeAny, {
1528
+ primary: number;
1529
+ textbook?: boolean | undefined;
1530
+ shipping?: boolean | undefined;
1531
+ }, {
1532
+ primary: number;
1533
+ textbook?: boolean | undefined;
1534
+ shipping?: boolean | undefined;
1535
+ }>>;
1536
+ paid: z.ZodOptional<z.ZodBoolean>;
1537
+ campOption: z.ZodOptional<z.ZodNativeEnum<typeof CampOption>>;
1538
+ _id: z.ZodString;
1539
+ editedBy: z.ZodOptional<z.ZodString>;
1540
+ createdAt: z.ZodOptional<z.ZodString>;
1541
+ updatedAt: z.ZodOptional<z.ZodString>;
1542
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
1543
+ _id: string;
1544
+ student: string;
1545
+ states: AttendState[];
1546
+ tuition?: {
1547
+ primary: number;
1548
+ textbook?: boolean | undefined;
1549
+ shipping?: boolean | undefined;
1550
+ } | undefined;
1551
+ paid?: boolean | undefined;
1552
+ campOption?: CampOption | undefined;
1553
+ editedBy?: string | undefined;
1554
+ createdAt?: string | undefined;
1555
+ updatedAt?: string | undefined;
1556
+ }, {
1557
+ _id: string;
1558
+ student: string;
1559
+ states: AttendState[];
1560
+ tuition?: {
1561
+ primary: number;
1562
+ textbook?: boolean | undefined;
1563
+ shipping?: boolean | undefined;
1564
+ } | undefined;
1565
+ paid?: boolean | undefined;
1566
+ campOption?: CampOption | undefined;
1567
+ editedBy?: string | undefined;
1568
+ createdAt?: string | undefined;
1569
+ updatedAt?: string | undefined;
1570
+ }>;
1571
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
1572
+ _id: string;
1573
+ course: {
1574
+ _id: string;
1575
+ name: string;
1576
+ category: CourseCategory;
1577
+ duration: number;
1578
+ price: number;
1579
+ nyigSchool: NYIGSchool;
1580
+ description?: string | undefined;
1581
+ recLevel?: string | undefined;
1582
+ halfCampTuition?: number | undefined;
1583
+ fullCampTuition?: number | undefined;
1584
+ superadminOnly?: boolean | undefined;
1585
+ editedBy?: string | undefined;
1586
+ createdAt?: string | undefined;
1587
+ updatedAt?: string | undefined;
1588
+ };
1589
+ teacher: {
1590
+ rank: GoRank;
1591
+ _id: string;
1592
+ name: string;
1593
+ email?: string | undefined;
1594
+ address?: string | undefined;
1595
+ username?: string | undefined;
1596
+ password?: string | undefined;
1597
+ roles?: {
1598
+ user: number;
1599
+ admin?: number | undefined;
1600
+ superadmin?: number | undefined;
1601
+ } | undefined;
1602
+ country?: string | undefined;
1603
+ phoneNumber?: string | undefined;
1604
+ birthDate?: string | undefined;
1605
+ shouldChangePassword?: boolean | undefined;
1606
+ isInactive?: boolean | undefined;
1607
+ title?: string | undefined;
1608
+ bio?: string | undefined;
1609
+ available?: number[][][] | undefined;
1610
+ editedBy?: string | undefined;
1611
+ createdAt?: string | undefined;
1612
+ updatedAt?: string | undefined;
1613
+ };
1614
+ semester: {
1615
+ _id: string;
1616
+ season: Season;
1617
+ year: number;
1618
+ startDate: Date;
1619
+ endDate: Date;
1620
+ blackoutDates: Date[];
1621
+ importantDates: string[];
1622
+ editedBy?: string | undefined;
1623
+ createdAt?: string | undefined;
1624
+ updatedAt?: string | undefined;
1625
+ };
1626
+ occurrences: string[];
1627
+ attendances: {
1628
+ _id: string;
1629
+ student: string;
1630
+ states: AttendState[];
1631
+ tuition?: {
1632
+ primary: number;
1633
+ textbook?: boolean | undefined;
1634
+ shipping?: boolean | undefined;
1635
+ } | undefined;
1636
+ paid?: boolean | undefined;
1637
+ campOption?: CampOption | undefined;
1638
+ editedBy?: string | undefined;
1639
+ createdAt?: string | undefined;
1640
+ updatedAt?: string | undefined;
1641
+ };
1642
+ notes?: string | undefined;
1643
+ editedBy?: string | undefined;
1644
+ createdAt?: string | undefined;
1645
+ updatedAt?: string | undefined;
1646
+ publicDescription?: string | undefined;
1647
+ isNonPublic?: boolean | undefined;
1648
+ }, {
1649
+ _id: string;
1650
+ course: {
1651
+ _id: string;
1652
+ name: string;
1653
+ category: CourseCategory;
1654
+ duration: number;
1655
+ price: number;
1656
+ nyigSchool: NYIGSchool;
1657
+ description?: string | undefined;
1658
+ recLevel?: string | undefined;
1659
+ halfCampTuition?: number | undefined;
1660
+ fullCampTuition?: number | undefined;
1661
+ superadminOnly?: boolean | undefined;
1662
+ editedBy?: string | undefined;
1663
+ createdAt?: string | undefined;
1664
+ updatedAt?: string | undefined;
1665
+ };
1666
+ teacher: {
1667
+ rank: GoRank;
1668
+ _id: string;
1669
+ name: string;
1670
+ email?: string | undefined;
1671
+ address?: string | undefined;
1672
+ username?: string | undefined;
1673
+ password?: string | undefined;
1674
+ roles?: {
1675
+ user: number;
1676
+ admin?: number | undefined;
1677
+ superadmin?: number | undefined;
1678
+ } | undefined;
1679
+ country?: string | undefined;
1680
+ phoneNumber?: string | undefined;
1681
+ birthDate?: string | undefined;
1682
+ shouldChangePassword?: boolean | undefined;
1683
+ isInactive?: boolean | undefined;
1684
+ title?: string | undefined;
1685
+ bio?: string | undefined;
1686
+ available?: number[][][] | undefined;
1687
+ editedBy?: string | undefined;
1688
+ createdAt?: string | undefined;
1689
+ updatedAt?: string | undefined;
1690
+ };
1691
+ semester: {
1692
+ _id: string;
1693
+ season: Season;
1694
+ year: number;
1695
+ startDate: Date;
1696
+ endDate: Date;
1697
+ blackoutDates: Date[];
1698
+ importantDates: string[];
1699
+ editedBy?: string | undefined;
1700
+ createdAt?: string | undefined;
1701
+ updatedAt?: string | undefined;
1702
+ };
1703
+ occurrences: string[];
1704
+ attendances: {
1705
+ _id: string;
1706
+ student: string;
1707
+ states: AttendState[];
1708
+ tuition?: {
1709
+ primary: number;
1710
+ textbook?: boolean | undefined;
1711
+ shipping?: boolean | undefined;
1712
+ } | undefined;
1713
+ paid?: boolean | undefined;
1714
+ campOption?: CampOption | undefined;
1715
+ editedBy?: string | undefined;
1716
+ createdAt?: string | undefined;
1717
+ updatedAt?: string | undefined;
1718
+ };
1719
+ notes?: string | undefined;
1720
+ editedBy?: string | undefined;
1721
+ createdAt?: string | undefined;
1722
+ updatedAt?: string | undefined;
1723
+ publicDescription?: string | undefined;
1724
+ isNonPublic?: boolean | undefined;
1725
+ }>;
1726
+ type BCampTracker = z.infer<typeof zBCampTracker>;
1727
+ type CampTracker = z.infer<typeof zCampTracker>;
1728
+ type CampTrackerRequest = z.infer<typeof zCampTrackerRequest>;
1729
+ type CampTrackerResponse = z.infer<typeof zCampTrackerResponse>;
1730
+
1731
+ declare const zBClassTracker: z.ZodObject<{
1732
+ course: z.ZodString;
1733
+ teacher: z.ZodString;
1734
+ student: z.ZodString;
1735
+ classTimes: z.ZodArray<z.ZodDate, "many">;
1736
+ completedList: z.ZodArray<z.ZodBoolean, "many">;
1737
+ /**
1738
+ * Virtual mongoose field when all values in completedList is true
1739
+ */
1740
+ completed: z.ZodOptional<z.ZodBoolean>;
1741
+ /**
1742
+ * @deprecated This field is no longer used
1743
+ */
1744
+ tuition: z.ZodOptional<z.ZodObject<{
1745
+ primary: z.ZodNumber;
1746
+ textbook: z.ZodOptional<z.ZodBoolean>;
1747
+ shipping: z.ZodOptional<z.ZodBoolean>;
1748
+ }, "strip", z.ZodTypeAny, {
1749
+ primary: number;
1750
+ textbook?: boolean | undefined;
1751
+ shipping?: boolean | undefined;
1752
+ }, {
1753
+ primary: number;
1754
+ textbook?: boolean | undefined;
1755
+ shipping?: boolean | undefined;
1756
+ }>>;
1757
+ paid: z.ZodOptional<z.ZodBoolean>;
1758
+ paused: z.ZodOptional<z.ZodBoolean>;
1759
+ notes: z.ZodOptional<z.ZodString>;
1760
+ }, "strip", z.ZodTypeAny, {
1761
+ student: string;
1762
+ course: string;
1763
+ teacher: string;
1764
+ classTimes: Date[];
1765
+ completedList: boolean[];
1766
+ completed?: boolean | undefined;
1767
+ tuition?: {
1768
+ primary: number;
1769
+ textbook?: boolean | undefined;
1770
+ shipping?: boolean | undefined;
1771
+ } | undefined;
1772
+ paid?: boolean | undefined;
1773
+ paused?: boolean | undefined;
1774
+ notes?: string | undefined;
1775
+ }, {
1776
+ student: string;
1777
+ course: string;
1778
+ teacher: string;
1779
+ classTimes: Date[];
1780
+ completedList: boolean[];
1781
+ completed?: boolean | undefined;
1782
+ tuition?: {
1783
+ primary: number;
1784
+ textbook?: boolean | undefined;
1785
+ shipping?: boolean | undefined;
1786
+ } | undefined;
1787
+ paid?: boolean | undefined;
1788
+ paused?: boolean | undefined;
1789
+ notes?: string | undefined;
1790
+ }>;
1791
+ declare const zClassTracker: z.ZodObject<{
1792
+ notes: z.ZodOptional<z.ZodString>;
1793
+ student: z.ZodString;
1794
+ tuition: z.ZodOptional<z.ZodObject<{
1795
+ primary: z.ZodNumber;
1796
+ textbook: z.ZodOptional<z.ZodBoolean>;
1797
+ shipping: z.ZodOptional<z.ZodBoolean>;
1798
+ }, "strip", z.ZodTypeAny, {
1799
+ primary: number;
1800
+ textbook?: boolean | undefined;
1801
+ shipping?: boolean | undefined;
1802
+ }, {
1803
+ primary: number;
1804
+ textbook?: boolean | undefined;
1805
+ shipping?: boolean | undefined;
1806
+ }>>;
1807
+ paid: z.ZodOptional<z.ZodBoolean>;
1808
+ course: z.ZodString;
1809
+ teacher: z.ZodString;
1810
+ classTimes: z.ZodArray<z.ZodDate, "many">;
1811
+ completedList: z.ZodArray<z.ZodBoolean, "many">;
1812
+ completed: z.ZodOptional<z.ZodBoolean>;
1813
+ paused: z.ZodOptional<z.ZodBoolean>;
1814
+ _id: z.ZodString;
1815
+ editedBy: z.ZodOptional<z.ZodString>;
1816
+ createdAt: z.ZodOptional<z.ZodString>;
1817
+ updatedAt: z.ZodOptional<z.ZodString>;
1818
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
1819
+ _id: string;
1820
+ student: string;
1821
+ course: string;
1822
+ teacher: string;
1823
+ classTimes: Date[];
1824
+ completedList: boolean[];
1825
+ notes?: string | undefined;
1826
+ tuition?: {
1827
+ primary: number;
1828
+ textbook?: boolean | undefined;
1829
+ shipping?: boolean | undefined;
1830
+ } | undefined;
1831
+ paid?: boolean | undefined;
1832
+ completed?: boolean | undefined;
1833
+ paused?: boolean | undefined;
1834
+ editedBy?: string | undefined;
1835
+ createdAt?: string | undefined;
1836
+ updatedAt?: string | undefined;
1837
+ }, {
1838
+ _id: string;
1839
+ student: string;
1840
+ course: string;
1841
+ teacher: string;
1842
+ classTimes: Date[];
1843
+ completedList: boolean[];
1844
+ notes?: string | undefined;
1845
+ tuition?: {
1846
+ primary: number;
1847
+ textbook?: boolean | undefined;
1848
+ shipping?: boolean | undefined;
1849
+ } | undefined;
1850
+ paid?: boolean | undefined;
1851
+ completed?: boolean | undefined;
1852
+ paused?: boolean | undefined;
1853
+ editedBy?: string | undefined;
1854
+ createdAt?: string | undefined;
1855
+ updatedAt?: string | undefined;
1856
+ }>;
1857
+ declare const zClassTrackerResponse: z.ZodObject<{
1858
+ notes: z.ZodOptional<z.ZodString>;
1859
+ _id: z.ZodString;
1860
+ editedBy: z.ZodOptional<z.ZodString>;
1861
+ createdAt: z.ZodOptional<z.ZodString>;
1862
+ updatedAt: z.ZodOptional<z.ZodString>;
1863
+ tuition: z.ZodOptional<z.ZodObject<{
1864
+ primary: z.ZodNumber;
1865
+ textbook: z.ZodOptional<z.ZodBoolean>;
1866
+ shipping: z.ZodOptional<z.ZodBoolean>;
1867
+ }, "strip", z.ZodTypeAny, {
1868
+ primary: number;
1869
+ textbook?: boolean | undefined;
1870
+ shipping?: boolean | undefined;
1871
+ }, {
1872
+ primary: number;
1873
+ textbook?: boolean | undefined;
1874
+ shipping?: boolean | undefined;
1875
+ }>>;
1876
+ paid: z.ZodOptional<z.ZodBoolean>;
1877
+ classTimes: z.ZodArray<z.ZodDate, "many">;
1878
+ completedList: z.ZodArray<z.ZodBoolean, "many">;
1879
+ completed: z.ZodOptional<z.ZodBoolean>;
1880
+ paused: z.ZodOptional<z.ZodBoolean>;
1881
+ course: z.ZodObject<{
1882
+ name: z.ZodString;
1883
+ category: z.ZodNativeEnum<typeof CourseCategory>;
1884
+ duration: z.ZodNumber;
1885
+ price: z.ZodNumber;
1886
+ description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1887
+ nyigSchool: z.ZodNativeEnum<typeof NYIGSchool>;
1888
+ recLevel: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1889
+ halfCampTuition: z.ZodOptional<z.ZodNumber>;
1890
+ fullCampTuition: z.ZodOptional<z.ZodNumber>;
1891
+ superadminOnly: z.ZodOptional<z.ZodBoolean>;
1892
+ _id: z.ZodString;
1893
+ editedBy: z.ZodOptional<z.ZodString>;
1894
+ createdAt: z.ZodOptional<z.ZodString>;
1895
+ updatedAt: z.ZodOptional<z.ZodString>;
1896
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
1897
+ _id: string;
1898
+ name: string;
1899
+ category: CourseCategory;
1900
+ duration: number;
1901
+ price: number;
1902
+ nyigSchool: NYIGSchool;
1903
+ description?: string | undefined;
1904
+ recLevel?: string | undefined;
1905
+ halfCampTuition?: number | undefined;
1906
+ fullCampTuition?: number | undefined;
1907
+ superadminOnly?: boolean | undefined;
1908
+ editedBy?: string | undefined;
1909
+ createdAt?: string | undefined;
1910
+ updatedAt?: string | undefined;
1911
+ }, {
1912
+ _id: string;
1913
+ name: string;
1914
+ category: CourseCategory;
1915
+ duration: number;
1916
+ price: number;
1917
+ nyigSchool: NYIGSchool;
1918
+ description?: string | undefined;
1919
+ recLevel?: string | undefined;
1920
+ halfCampTuition?: number | undefined;
1921
+ fullCampTuition?: number | undefined;
1922
+ superadminOnly?: boolean | undefined;
1923
+ editedBy?: string | undefined;
1924
+ createdAt?: string | undefined;
1925
+ updatedAt?: string | undefined;
1926
+ }>;
1927
+ teacher: z.ZodObject<{
1928
+ rank: z.ZodNativeEnum<typeof GoRank>;
1929
+ email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1930
+ address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1931
+ name: z.ZodString;
1932
+ username: z.ZodOptional<z.ZodString>;
1933
+ password: z.ZodOptional<z.ZodString>;
1934
+ roles: z.ZodOptional<z.ZodObject<{
1935
+ user: z.ZodNumber;
1936
+ admin: z.ZodOptional<z.ZodNumber>;
1937
+ superadmin: z.ZodOptional<z.ZodNumber>;
1938
+ }, "strip", z.ZodTypeAny, {
1939
+ user: number;
1940
+ admin?: number | undefined;
1941
+ superadmin?: number | undefined;
1942
+ }, {
1943
+ user: number;
1944
+ admin?: number | undefined;
1945
+ superadmin?: number | undefined;
1946
+ }>>;
1947
+ country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1948
+ phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1949
+ birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1950
+ shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
1951
+ isInactive: z.ZodOptional<z.ZodBoolean>;
1952
+ title: z.ZodOptional<z.ZodString>;
1953
+ bio: z.ZodOptional<z.ZodString>;
1954
+ available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
1955
+ _id: z.ZodString;
1956
+ editedBy: z.ZodOptional<z.ZodString>;
1957
+ createdAt: z.ZodOptional<z.ZodString>;
1958
+ updatedAt: z.ZodOptional<z.ZodString>;
1959
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
1960
+ rank: GoRank;
1961
+ _id: string;
1962
+ name: string;
1963
+ email?: string | undefined;
1964
+ address?: string | undefined;
1965
+ username?: string | undefined;
1966
+ password?: string | undefined;
1967
+ roles?: {
1968
+ user: number;
1969
+ admin?: number | undefined;
1970
+ superadmin?: number | undefined;
1971
+ } | undefined;
1972
+ country?: string | undefined;
1973
+ phoneNumber?: string | undefined;
1974
+ birthDate?: string | undefined;
1975
+ shouldChangePassword?: boolean | undefined;
1976
+ isInactive?: boolean | undefined;
1977
+ title?: string | undefined;
1978
+ bio?: string | undefined;
1979
+ available?: number[][][] | undefined;
1980
+ editedBy?: string | undefined;
1981
+ createdAt?: string | undefined;
1982
+ updatedAt?: string | undefined;
1983
+ }, {
1984
+ rank: GoRank;
1985
+ _id: string;
1986
+ name: string;
1987
+ email?: string | undefined;
1988
+ address?: string | undefined;
1989
+ username?: string | undefined;
1990
+ password?: string | undefined;
1991
+ roles?: {
1992
+ user: number;
1993
+ admin?: number | undefined;
1994
+ superadmin?: number | undefined;
1995
+ } | undefined;
1996
+ country?: string | undefined;
1997
+ phoneNumber?: string | undefined;
1998
+ birthDate?: string | undefined;
1999
+ shouldChangePassword?: boolean | undefined;
2000
+ isInactive?: boolean | undefined;
2001
+ title?: string | undefined;
2002
+ bio?: string | undefined;
2003
+ available?: number[][][] | undefined;
2004
+ editedBy?: string | undefined;
2005
+ createdAt?: string | undefined;
2006
+ updatedAt?: string | undefined;
2007
+ }>;
2008
+ student: z.ZodObject<{
2009
+ rank: z.ZodNativeEnum<typeof GoRank>;
2010
+ email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
2011
+ address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
2012
+ name: z.ZodString;
2013
+ username: z.ZodOptional<z.ZodString>;
2014
+ password: z.ZodOptional<z.ZodString>;
2015
+ roles: z.ZodOptional<z.ZodObject<{
2016
+ user: z.ZodNumber;
2017
+ admin: z.ZodOptional<z.ZodNumber>;
2018
+ superadmin: z.ZodOptional<z.ZodNumber>;
2019
+ }, "strip", z.ZodTypeAny, {
2020
+ user: number;
2021
+ admin?: number | undefined;
2022
+ superadmin?: number | undefined;
2023
+ }, {
2024
+ user: number;
2025
+ admin?: number | undefined;
2026
+ superadmin?: number | undefined;
2027
+ }>>;
2028
+ country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
2029
+ phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
2030
+ birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
2031
+ shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
2032
+ guardian: z.ZodOptional<z.ZodString>;
2033
+ _id: z.ZodString;
2034
+ editedBy: z.ZodOptional<z.ZodString>;
2035
+ createdAt: z.ZodOptional<z.ZodString>;
2036
+ updatedAt: z.ZodOptional<z.ZodString>;
2037
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
2038
+ rank: GoRank;
2039
+ _id: string;
2040
+ name: string;
2041
+ email?: string | undefined;
2042
+ address?: string | undefined;
2043
+ username?: string | undefined;
2044
+ password?: string | undefined;
2045
+ roles?: {
2046
+ user: number;
2047
+ admin?: number | undefined;
2048
+ superadmin?: number | undefined;
2049
+ } | undefined;
2050
+ country?: string | undefined;
2051
+ phoneNumber?: string | undefined;
2052
+ birthDate?: string | undefined;
2053
+ shouldChangePassword?: boolean | undefined;
2054
+ guardian?: string | undefined;
2055
+ editedBy?: string | undefined;
2056
+ createdAt?: string | undefined;
2057
+ updatedAt?: string | undefined;
2058
+ }, {
2059
+ rank: GoRank;
2060
+ _id: string;
2061
+ name: string;
2062
+ email?: string | undefined;
2063
+ address?: string | undefined;
2064
+ username?: string | undefined;
2065
+ password?: string | undefined;
2066
+ roles?: {
2067
+ user: number;
2068
+ admin?: number | undefined;
2069
+ superadmin?: number | undefined;
2070
+ } | undefined;
2071
+ country?: string | undefined;
2072
+ phoneNumber?: string | undefined;
2073
+ birthDate?: string | undefined;
2074
+ shouldChangePassword?: boolean | undefined;
2075
+ guardian?: string | undefined;
2076
+ editedBy?: string | undefined;
2077
+ createdAt?: string | undefined;
2078
+ updatedAt?: string | undefined;
2079
+ }>;
2080
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
2081
+ _id: string;
2082
+ student: {
2083
+ rank: GoRank;
2084
+ _id: string;
2085
+ name: string;
2086
+ email?: string | undefined;
2087
+ address?: string | undefined;
2088
+ username?: string | undefined;
2089
+ password?: string | undefined;
2090
+ roles?: {
2091
+ user: number;
2092
+ admin?: number | undefined;
2093
+ superadmin?: number | undefined;
2094
+ } | undefined;
2095
+ country?: string | undefined;
2096
+ phoneNumber?: string | undefined;
2097
+ birthDate?: string | undefined;
2098
+ shouldChangePassword?: boolean | undefined;
2099
+ guardian?: string | undefined;
2100
+ editedBy?: string | undefined;
2101
+ createdAt?: string | undefined;
2102
+ updatedAt?: string | undefined;
2103
+ };
2104
+ course: {
2105
+ _id: string;
2106
+ name: string;
2107
+ category: CourseCategory;
2108
+ duration: number;
2109
+ price: number;
2110
+ nyigSchool: NYIGSchool;
2111
+ description?: string | undefined;
2112
+ recLevel?: string | undefined;
2113
+ halfCampTuition?: number | undefined;
2114
+ fullCampTuition?: number | undefined;
2115
+ superadminOnly?: boolean | undefined;
2116
+ editedBy?: string | undefined;
2117
+ createdAt?: string | undefined;
2118
+ updatedAt?: string | undefined;
2119
+ };
2120
+ teacher: {
2121
+ rank: GoRank;
2122
+ _id: string;
2123
+ name: string;
2124
+ email?: string | undefined;
2125
+ address?: string | undefined;
2126
+ username?: string | undefined;
2127
+ password?: string | undefined;
2128
+ roles?: {
2129
+ user: number;
2130
+ admin?: number | undefined;
2131
+ superadmin?: number | undefined;
2132
+ } | undefined;
2133
+ country?: string | undefined;
2134
+ phoneNumber?: string | undefined;
2135
+ birthDate?: string | undefined;
2136
+ shouldChangePassword?: boolean | undefined;
2137
+ isInactive?: boolean | undefined;
2138
+ title?: string | undefined;
2139
+ bio?: string | undefined;
2140
+ available?: number[][][] | undefined;
2141
+ editedBy?: string | undefined;
2142
+ createdAt?: string | undefined;
2143
+ updatedAt?: string | undefined;
2144
+ };
2145
+ classTimes: Date[];
2146
+ completedList: boolean[];
2147
+ notes?: string | undefined;
2148
+ editedBy?: string | undefined;
2149
+ createdAt?: string | undefined;
2150
+ updatedAt?: string | undefined;
2151
+ tuition?: {
2152
+ primary: number;
2153
+ textbook?: boolean | undefined;
2154
+ shipping?: boolean | undefined;
2155
+ } | undefined;
2156
+ paid?: boolean | undefined;
2157
+ completed?: boolean | undefined;
2158
+ paused?: boolean | undefined;
2159
+ }, {
2160
+ _id: string;
2161
+ student: {
2162
+ rank: GoRank;
2163
+ _id: string;
2164
+ name: string;
2165
+ email?: string | undefined;
2166
+ address?: string | undefined;
2167
+ username?: string | undefined;
2168
+ password?: string | undefined;
2169
+ roles?: {
2170
+ user: number;
2171
+ admin?: number | undefined;
2172
+ superadmin?: number | undefined;
2173
+ } | undefined;
2174
+ country?: string | undefined;
2175
+ phoneNumber?: string | undefined;
2176
+ birthDate?: string | undefined;
2177
+ shouldChangePassword?: boolean | undefined;
2178
+ guardian?: string | undefined;
2179
+ editedBy?: string | undefined;
2180
+ createdAt?: string | undefined;
2181
+ updatedAt?: string | undefined;
2182
+ };
2183
+ course: {
2184
+ _id: string;
2185
+ name: string;
2186
+ category: CourseCategory;
2187
+ duration: number;
2188
+ price: number;
2189
+ nyigSchool: NYIGSchool;
2190
+ description?: string | undefined;
2191
+ recLevel?: string | undefined;
2192
+ halfCampTuition?: number | undefined;
2193
+ fullCampTuition?: number | undefined;
2194
+ superadminOnly?: boolean | undefined;
2195
+ editedBy?: string | undefined;
2196
+ createdAt?: string | undefined;
2197
+ updatedAt?: string | undefined;
2198
+ };
2199
+ teacher: {
2200
+ rank: GoRank;
2201
+ _id: string;
2202
+ name: string;
2203
+ email?: string | undefined;
2204
+ address?: string | undefined;
2205
+ username?: string | undefined;
2206
+ password?: string | undefined;
2207
+ roles?: {
2208
+ user: number;
2209
+ admin?: number | undefined;
2210
+ superadmin?: number | undefined;
2211
+ } | undefined;
2212
+ country?: string | undefined;
2213
+ phoneNumber?: string | undefined;
2214
+ birthDate?: string | undefined;
2215
+ shouldChangePassword?: boolean | undefined;
2216
+ isInactive?: boolean | undefined;
2217
+ title?: string | undefined;
2218
+ bio?: string | undefined;
2219
+ available?: number[][][] | undefined;
2220
+ editedBy?: string | undefined;
2221
+ createdAt?: string | undefined;
2222
+ updatedAt?: string | undefined;
2223
+ };
1097
2224
  classTimes: Date[];
1098
2225
  completedList: boolean[];
1099
2226
  notes?: string | undefined;
2227
+ editedBy?: string | undefined;
2228
+ createdAt?: string | undefined;
2229
+ updatedAt?: string | undefined;
1100
2230
  tuition?: {
1101
2231
  primary: number;
1102
2232
  textbook?: boolean | undefined;
@@ -1105,132 +2235,10 @@ declare const zClassTracker: z.ZodObject<{
1105
2235
  paid?: boolean | undefined;
1106
2236
  completed?: boolean | undefined;
1107
2237
  paused?: boolean | undefined;
1108
- editedBy?: string | undefined;
1109
- createdAt?: string | undefined;
1110
- updatedAt?: string | undefined;
1111
2238
  }>;
1112
2239
  type BClassTracker = z.infer<typeof zBClassTracker>;
1113
2240
  type ClassTracker = z.infer<typeof zClassTracker>;
1114
-
1115
- declare enum AgeGroup {
1116
- ADULT = "Adult",
1117
- YOUTH = "Youth"
1118
- }
1119
-
1120
- declare enum CourseCategory {
1121
- GROUP = "group",
1122
- PRIVATE = "private",
1123
- SEMIPRIVATE = "semiprivate",
1124
- CAMP = "camp",
1125
- EVENT = "event"
1126
- }
1127
-
1128
- declare enum NYIGSchool {
1129
- MANHATTAN = "Manhattan",
1130
- LITTLENECK = "Little Neck",
1131
- ONLINE = "Online"
1132
- }
1133
-
1134
- declare const zBCourse: z.ZodObject<{
1135
- name: z.ZodString;
1136
- category: z.ZodNativeEnum<typeof CourseCategory>;
1137
- /**
1138
- * @unit SECONDS - Duration of the course in seconds
1139
- */
1140
- duration: z.ZodNumber;
1141
- /**
1142
- * @unit CENTS - Price of the course in cents
1143
- */
1144
- price: z.ZodNumber;
1145
- description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1146
- /**
1147
- * NYIG School locations
1148
- */
1149
- nyigSchool: z.ZodNativeEnum<typeof NYIGSchool>;
1150
- /**
1151
- * Recommended level before taking this course
1152
- */
1153
- recLevel: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1154
- /**
1155
- * Camp tuition for half-day option
1156
- */
1157
- halfCampTuition: z.ZodOptional<z.ZodNumber>;
1158
- /**
1159
- * Camp tuition for full-day option
1160
- */
1161
- fullCampTuition: z.ZodOptional<z.ZodNumber>;
1162
- superadminOnly: z.ZodOptional<z.ZodBoolean>;
1163
- }, "strip", z.ZodTypeAny, {
1164
- name: string;
1165
- price: number;
1166
- category: CourseCategory;
1167
- duration: number;
1168
- nyigSchool: NYIGSchool;
1169
- description?: string | undefined;
1170
- recLevel?: string | undefined;
1171
- halfCampTuition?: number | undefined;
1172
- fullCampTuition?: number | undefined;
1173
- superadminOnly?: boolean | undefined;
1174
- }, {
1175
- name: string;
1176
- price: number;
1177
- category: CourseCategory;
1178
- duration: number;
1179
- nyigSchool: NYIGSchool;
1180
- description?: string | undefined;
1181
- recLevel?: string | undefined;
1182
- halfCampTuition?: number | undefined;
1183
- fullCampTuition?: number | undefined;
1184
- superadminOnly?: boolean | undefined;
1185
- }>;
1186
- declare const zCourse: z.ZodObject<{
1187
- name: z.ZodString;
1188
- price: z.ZodNumber;
1189
- category: z.ZodNativeEnum<typeof CourseCategory>;
1190
- duration: z.ZodNumber;
1191
- description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1192
- nyigSchool: z.ZodNativeEnum<typeof NYIGSchool>;
1193
- recLevel: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1194
- halfCampTuition: z.ZodOptional<z.ZodNumber>;
1195
- fullCampTuition: z.ZodOptional<z.ZodNumber>;
1196
- superadminOnly: z.ZodOptional<z.ZodBoolean>;
1197
- _id: z.ZodString;
1198
- editedBy: z.ZodOptional<z.ZodString>;
1199
- createdAt: z.ZodOptional<z.ZodString>;
1200
- updatedAt: z.ZodOptional<z.ZodString>;
1201
- }, z.UnknownKeysParam, z.ZodTypeAny, {
1202
- _id: string;
1203
- name: string;
1204
- price: number;
1205
- category: CourseCategory;
1206
- duration: number;
1207
- nyigSchool: NYIGSchool;
1208
- description?: string | undefined;
1209
- recLevel?: string | undefined;
1210
- halfCampTuition?: number | undefined;
1211
- fullCampTuition?: number | undefined;
1212
- superadminOnly?: boolean | undefined;
1213
- editedBy?: string | undefined;
1214
- createdAt?: string | undefined;
1215
- updatedAt?: string | undefined;
1216
- }, {
1217
- _id: string;
1218
- name: string;
1219
- price: number;
1220
- category: CourseCategory;
1221
- duration: number;
1222
- nyigSchool: NYIGSchool;
1223
- description?: string | undefined;
1224
- recLevel?: string | undefined;
1225
- halfCampTuition?: number | undefined;
1226
- fullCampTuition?: number | undefined;
1227
- superadminOnly?: boolean | undefined;
1228
- editedBy?: string | undefined;
1229
- createdAt?: string | undefined;
1230
- updatedAt?: string | undefined;
1231
- }>;
1232
- type BCourse = z.infer<typeof zBCourse>;
1233
- type Course = z.infer<typeof zCourse>;
2241
+ type ClassTrackerResponse = z.infer<typeof zClassTrackerResponse>;
1234
2242
 
1235
2243
  declare const zBGroupTracker: z.ZodObject<{
1236
2244
  course: z.ZodString;
@@ -1739,12 +2747,12 @@ declare const zInvoiceItem: z.ZodObject<{
1739
2747
  price: z.ZodNumber;
1740
2748
  units: z.ZodNumber;
1741
2749
  }, "strip", z.ZodTypeAny, {
1742
- course: string;
1743
2750
  price: number;
2751
+ course: string;
1744
2752
  units: number;
1745
2753
  }, {
1746
- course: string;
1747
2754
  price: number;
2755
+ course: string;
1748
2756
  units: number;
1749
2757
  }>;
1750
2758
  declare const zInvoicePackage: z.ZodObject<{
@@ -1754,26 +2762,26 @@ declare const zInvoicePackage: z.ZodObject<{
1754
2762
  price: z.ZodNumber;
1755
2763
  units: z.ZodNumber;
1756
2764
  }, "strip", z.ZodTypeAny, {
1757
- course: string;
1758
2765
  price: number;
2766
+ course: string;
1759
2767
  units: number;
1760
2768
  }, {
1761
- course: string;
1762
2769
  price: number;
2770
+ course: string;
1763
2771
  units: number;
1764
2772
  }>, "many">;
1765
2773
  }, "strip", z.ZodTypeAny, {
1766
2774
  student: string;
1767
2775
  items: {
1768
- course: string;
1769
2776
  price: number;
2777
+ course: string;
1770
2778
  units: number;
1771
2779
  }[];
1772
2780
  }, {
1773
2781
  student: string;
1774
2782
  items: {
1775
- course: string;
1776
2783
  price: number;
2784
+ course: string;
1777
2785
  units: number;
1778
2786
  }[];
1779
2787
  }>;
@@ -1783,12 +2791,12 @@ declare const zInvoicePackageResponse: z.ZodObject<{
1783
2791
  price: z.ZodNumber;
1784
2792
  units: z.ZodNumber;
1785
2793
  }, "strip", z.ZodTypeAny, {
1786
- course: string;
1787
2794
  price: number;
2795
+ course: string;
1788
2796
  units: number;
1789
2797
  }, {
1790
- course: string;
1791
2798
  price: number;
2799
+ course: string;
1792
2800
  units: number;
1793
2801
  }>, "many">;
1794
2802
  student: z.ZodObject<{
@@ -1887,8 +2895,8 @@ declare const zInvoicePackageResponse: z.ZodObject<{
1887
2895
  updatedAt?: string | undefined;
1888
2896
  };
1889
2897
  items: {
1890
- course: string;
1891
2898
  price: number;
2899
+ course: string;
1892
2900
  units: number;
1893
2901
  }[];
1894
2902
  }, {
@@ -1915,8 +2923,8 @@ declare const zInvoicePackageResponse: z.ZodObject<{
1915
2923
  updatedAt?: string | undefined;
1916
2924
  };
1917
2925
  items: {
1918
- course: string;
1919
2926
  price: number;
2927
+ course: string;
1920
2928
  units: number;
1921
2929
  }[];
1922
2930
  }>;
@@ -1929,26 +2937,26 @@ declare const zBInvoice: z.ZodObject<{
1929
2937
  price: z.ZodNumber;
1930
2938
  units: z.ZodNumber;
1931
2939
  }, "strip", z.ZodTypeAny, {
1932
- course: string;
1933
2940
  price: number;
2941
+ course: string;
1934
2942
  units: number;
1935
2943
  }, {
1936
- course: string;
1937
2944
  price: number;
2945
+ course: string;
1938
2946
  units: number;
1939
2947
  }>, "many">;
1940
2948
  }, "strip", z.ZodTypeAny, {
1941
2949
  student: string;
1942
2950
  items: {
1943
- course: string;
1944
2951
  price: number;
2952
+ course: string;
1945
2953
  units: number;
1946
2954
  }[];
1947
2955
  }, {
1948
2956
  student: string;
1949
2957
  items: {
1950
- course: string;
1951
2958
  price: number;
2959
+ course: string;
1952
2960
  units: number;
1953
2961
  }[];
1954
2962
  }>, "many">;
@@ -1974,8 +2982,8 @@ declare const zBInvoice: z.ZodObject<{
1974
2982
  packages: {
1975
2983
  student: string;
1976
2984
  items: {
1977
- course: string;
1978
2985
  price: number;
2986
+ course: string;
1979
2987
  units: number;
1980
2988
  }[];
1981
2989
  }[];
@@ -1995,8 +3003,8 @@ declare const zBInvoice: z.ZodObject<{
1995
3003
  packages: {
1996
3004
  student: string;
1997
3005
  items: {
1998
- course: string;
1999
3006
  price: number;
3007
+ course: string;
2000
3008
  units: number;
2001
3009
  }[];
2002
3010
  }[];
@@ -2025,26 +3033,26 @@ declare const zInvoice: z.ZodObject<{
2025
3033
  price: z.ZodNumber;
2026
3034
  units: z.ZodNumber;
2027
3035
  }, "strip", z.ZodTypeAny, {
2028
- course: string;
2029
3036
  price: number;
3037
+ course: string;
2030
3038
  units: number;
2031
3039
  }, {
2032
- course: string;
2033
3040
  price: number;
3041
+ course: string;
2034
3042
  units: number;
2035
3043
  }>, "many">;
2036
3044
  }, "strip", z.ZodTypeAny, {
2037
3045
  student: string;
2038
3046
  items: {
2039
- course: string;
2040
3047
  price: number;
3048
+ course: string;
2041
3049
  units: number;
2042
3050
  }[];
2043
3051
  }, {
2044
3052
  student: string;
2045
3053
  items: {
2046
- course: string;
2047
3054
  price: number;
3055
+ course: string;
2048
3056
  units: number;
2049
3057
  }[];
2050
3058
  }>, "many">;
@@ -2071,8 +3079,8 @@ declare const zInvoice: z.ZodObject<{
2071
3079
  packages: {
2072
3080
  student: string;
2073
3081
  items: {
2074
- course: string;
2075
3082
  price: number;
3083
+ course: string;
2076
3084
  units: number;
2077
3085
  }[];
2078
3086
  }[];
@@ -2096,8 +3104,8 @@ declare const zInvoice: z.ZodObject<{
2096
3104
  packages: {
2097
3105
  student: string;
2098
3106
  items: {
2099
- course: string;
2100
3107
  price: number;
3108
+ course: string;
2101
3109
  units: number;
2102
3110
  }[];
2103
3111
  }[];
@@ -2305,12 +3313,12 @@ declare const zInvoiceResponse: z.ZodObject<{
2305
3313
  price: z.ZodNumber;
2306
3314
  units: z.ZodNumber;
2307
3315
  }, "strip", z.ZodTypeAny, {
2308
- course: string;
2309
3316
  price: number;
3317
+ course: string;
2310
3318
  units: number;
2311
3319
  }, {
2312
- course: string;
2313
3320
  price: number;
3321
+ course: string;
2314
3322
  units: number;
2315
3323
  }>, "many">;
2316
3324
  student: z.ZodObject<{
@@ -2409,8 +3417,8 @@ declare const zInvoiceResponse: z.ZodObject<{
2409
3417
  updatedAt?: string | undefined;
2410
3418
  };
2411
3419
  items: {
2412
- course: string;
2413
3420
  price: number;
3421
+ course: string;
2414
3422
  units: number;
2415
3423
  }[];
2416
3424
  }, {
@@ -2437,8 +3445,8 @@ declare const zInvoiceResponse: z.ZodObject<{
2437
3445
  updatedAt?: string | undefined;
2438
3446
  };
2439
3447
  items: {
2440
- course: string;
2441
3448
  price: number;
3449
+ course: string;
2442
3450
  units: number;
2443
3451
  }[];
2444
3452
  }>, "many">;
@@ -2469,8 +3477,8 @@ declare const zInvoiceResponse: z.ZodObject<{
2469
3477
  updatedAt?: string | undefined;
2470
3478
  };
2471
3479
  items: {
2472
- course: string;
2473
3480
  price: number;
3481
+ course: string;
2474
3482
  units: number;
2475
3483
  }[];
2476
3484
  }[];
@@ -2563,8 +3571,8 @@ declare const zInvoiceResponse: z.ZodObject<{
2563
3571
  updatedAt?: string | undefined;
2564
3572
  };
2565
3573
  items: {
2566
- course: string;
2567
3574
  price: number;
3575
+ course: string;
2568
3576
  units: number;
2569
3577
  }[];
2570
3578
  }[];
@@ -3321,77 +4329,6 @@ type BReportTicket = z.infer<typeof zBReportTicket>;
3321
4329
  type ReportTicket = z.infer<typeof zReportTicket>;
3322
4330
  type ReportTicketResponse = z.infer<typeof zReportTicketResponse>;
3323
4331
 
3324
- declare enum Season {
3325
- FALL = "fall",
3326
- SPRING = "spring",
3327
- SUMMER = "summer"
3328
- }
3329
-
3330
- declare const zBSemester: z.ZodObject<{
3331
- season: z.ZodNativeEnum<typeof Season>;
3332
- year: z.ZodNumber;
3333
- startDate: z.ZodDate;
3334
- endDate: z.ZodDate;
3335
- /**
3336
- * Format: start, end, start, end, ...
3337
- */
3338
- blackoutDates: z.ZodArray<z.ZodDate, "many">;
3339
- /**
3340
- * List of names of some break: date range
3341
- */
3342
- importantDates: z.ZodArray<z.ZodString, "many">;
3343
- }, "strip", z.ZodTypeAny, {
3344
- season: Season;
3345
- year: number;
3346
- startDate: Date;
3347
- endDate: Date;
3348
- blackoutDates: Date[];
3349
- importantDates: string[];
3350
- }, {
3351
- season: Season;
3352
- year: number;
3353
- startDate: Date;
3354
- endDate: Date;
3355
- blackoutDates: Date[];
3356
- importantDates: string[];
3357
- }>;
3358
- declare const zSemester: z.ZodObject<{
3359
- season: z.ZodNativeEnum<typeof Season>;
3360
- year: z.ZodNumber;
3361
- startDate: z.ZodDate;
3362
- endDate: z.ZodDate;
3363
- blackoutDates: z.ZodArray<z.ZodDate, "many">;
3364
- importantDates: z.ZodArray<z.ZodString, "many">;
3365
- _id: z.ZodString;
3366
- editedBy: z.ZodOptional<z.ZodString>;
3367
- createdAt: z.ZodOptional<z.ZodString>;
3368
- updatedAt: z.ZodOptional<z.ZodString>;
3369
- }, z.UnknownKeysParam, z.ZodTypeAny, {
3370
- _id: string;
3371
- season: Season;
3372
- year: number;
3373
- startDate: Date;
3374
- endDate: Date;
3375
- blackoutDates: Date[];
3376
- importantDates: string[];
3377
- editedBy?: string | undefined;
3378
- createdAt?: string | undefined;
3379
- updatedAt?: string | undefined;
3380
- }, {
3381
- _id: string;
3382
- season: Season;
3383
- year: number;
3384
- startDate: Date;
3385
- endDate: Date;
3386
- blackoutDates: Date[];
3387
- importantDates: string[];
3388
- editedBy?: string | undefined;
3389
- createdAt?: string | undefined;
3390
- updatedAt?: string | undefined;
3391
- }>;
3392
- type BSemester = z.infer<typeof zBSemester>;
3393
- type Semester = z.infer<typeof zSemester>;
3394
-
3395
4332
  declare const zBEventConfig: z.ZodObject<{
3396
4333
  /**
3397
4334
  * Location of the event
@@ -4266,4 +5203,4 @@ declare const zEventTicket: z.ZodObject<{
4266
5203
  type BEventTicket = z.infer<typeof zBEventTicket>;
4267
5204
  type EventTicket = z.infer<typeof zEventTicket>;
4268
5205
 
4269
- export { AgeGroup, AttendState, type Attendance, type AttendanceResponse, type AuroraCourses, type BAttendance, type BCampBooking, type BCampTracker, type BClassTracker, type BCourse, type BEventConfig, type BEventReg, type BEventTicket, type BGroupBooking, type BGroupTracker, type BInvoice, type BPaymentInfo, type BPrivateBooking, type BReportTicket, type BSemester, type BStudent, type BTeacher, type BTeacherPayment, type BUser, type BUserInfo, BookingType, type CampBooking, CampOption, type CampTracker, type ChangePasswordRequest, type ClassTracker, type Course, CourseCategory, type CourseTable, type CreateAdminAccountRequest, type DetailsTable, type Discount, type EventConfig, type EventConfigResponse, type EventReg, type EventRegResponse, type EventTicket, type EventTicketReg, type EventTicketRegResponse, GoRank, type GroupBooking, type GroupTracker, type ImageDef, type Invoice, type InvoiceItem, type InvoicePackage, type InvoicePackageResponse, type InvoiceResponse, type LoginRequest, type LoginResponse, type NYIGMission, NYIGSchool, type PaymentIntent, PaymentMethod, type PrivateBooking, type ReportTicket, type ReportTicketResponse, Role, type ScheduleData, type ScheduleTable, Season, type Semester, type Student, type Teacher, type TeacherDisplay, type TeacherPayment, type TeacherPaymentResponse, type TeacherPaymentRow, type TeacherResponse, TicketStatus, type Tuition, type User, type UserRoles, zAttendance, zAttendanceResponse, zBAttendance, zBCampBooking, zBCampTracker, zBClassTracker, zBCourse, zBEventConfig, zBEventReg, zBEventTicket, zBGroupBooking, zBGroupTracker, zBInvoice, zBPaymentInfo, zBPrivateBooking, zBReportTicket, zBSemester, zBStudent, zBTeacher, zBTeacherPayment, zBUser, zBUserInfo, zCampBooking, zCampTracker, zChangePasswordRequest, zClassTracker, zCourse, zCourseTable, zCreateAdminAccountRequest, zDetailsTable, zDiscount, zEventConfig, zEventConfigResponse, zEventReg, zEventRegResponse, zEventTicket, zEventTicketReg, zEventTicketRegResponse, zGroupBooking, zGroupTracker, zImageDef, zInvoice, zInvoiceItem, zInvoicePackage, zInvoicePackageResponse, zInvoiceResponse, zLoginRequest, zLoginResponse, zPrivateBooking, zReportTicket, zReportTicketResponse, zScheduleData, zScheduleTable, zSemester, zStudent, zTeacher, zTeacherDisplay, zTeacherPayment, zTeacherPaymentResponse, zTeacherPaymentRow, zTuition, zUser, zUserRoles };
5206
+ export { AgeGroup, AttendState, type Attendance, type AttendanceRequest, type AttendanceResponse, type AuroraCourses, type BAttendance, type BCampBooking, type BCampTracker, type BClassTracker, type BCourse, type BEventConfig, type BEventReg, type BEventTicket, type BGroupBooking, type BGroupTracker, type BInvoice, type BPaymentInfo, type BPrivateBooking, type BReportTicket, type BSemester, type BStudent, type BTeacher, type BTeacherPayment, type BUser, type BUserInfo, BookingType, type CampBooking, CampOption, type CampTracker, type CampTrackerRequest, type CampTrackerResponse, type ChangePasswordRequest, type ClassTracker, type ClassTrackerResponse, type Course, CourseCategory, type CourseTable, type CreateAdminAccountRequest, type DetailsTable, type Discount, type EventConfig, type EventConfigResponse, type EventReg, type EventRegResponse, type EventTicket, type EventTicketReg, type EventTicketRegResponse, GoRank, type GroupBooking, type GroupTracker, type ImageDef, type Invoice, type InvoiceItem, type InvoicePackage, type InvoicePackageResponse, type InvoiceResponse, type LoginRequest, type LoginResponse, type NYIGMission, NYIGSchool, type PaymentIntent, PaymentMethod, type PrivateBooking, type ReportTicket, type ReportTicketResponse, Role, type ScheduleData, type ScheduleTable, Season, type Semester, type Student, type Teacher, type TeacherDisplay, type TeacherPayment, type TeacherPaymentResponse, type TeacherPaymentRow, type TeacherResponse, TicketStatus, type Tuition, type User, type UserRoles, zAttendance, zAttendanceRequest, zAttendanceResponse, zBAttendance, zBCampBooking, zBCampTracker, zBClassTracker, zBCourse, zBEventConfig, zBEventReg, zBEventTicket, zBGroupBooking, zBGroupTracker, zBInvoice, zBPaymentInfo, zBPrivateBooking, zBReportTicket, zBSemester, zBStudent, zBTeacher, zBTeacherPayment, zBUser, zBUserInfo, zCampBooking, zCampTracker, zCampTrackerRequest, zCampTrackerResponse, zChangePasswordRequest, zClassTracker, zClassTrackerResponse, zCourse, zCourseTable, zCreateAdminAccountRequest, zDetailsTable, zDiscount, zEventConfig, zEventConfigResponse, zEventReg, zEventRegResponse, zEventTicket, zEventTicketReg, zEventTicketRegResponse, zGroupBooking, zGroupTracker, zImageDef, zInvoice, zInvoiceItem, zInvoicePackage, zInvoicePackageResponse, zInvoiceResponse, zLoginRequest, zLoginResponse, zPrivateBooking, zReportTicket, zReportTicketResponse, zScheduleData, zScheduleTable, zSemester, zStudent, zTeacher, zTeacherDisplay, zTeacherPayment, zTeacherPaymentResponse, zTeacherPaymentRow, zTuition, zUser, zUserRoles };