@nyig/models 0.3.5 → 0.3.7
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.
- package/index.d.mts +32 -25
- package/index.d.ts +32 -25
- package/index.js +4 -2
- package/index.mjs +4 -2
- package/package.json +1 -1
package/index.d.mts
CHANGED
|
@@ -654,7 +654,7 @@ 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
|
+
tuition: z.ZodOptional<z.ZodObject<{
|
|
658
658
|
primary: z.ZodNumber;
|
|
659
659
|
textbook: z.ZodOptional<z.ZodBoolean>;
|
|
660
660
|
shipping: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -666,34 +666,34 @@ declare const zBAttendance: z.ZodObject<{
|
|
|
666
666
|
primary: number;
|
|
667
667
|
textbook?: boolean | undefined;
|
|
668
668
|
shipping?: boolean | undefined;
|
|
669
|
-
}
|
|
669
|
+
}>>;
|
|
670
670
|
paid: z.ZodOptional<z.ZodBoolean>;
|
|
671
671
|
campOption: z.ZodOptional<z.ZodNativeEnum<typeof CampOption>>;
|
|
672
672
|
}, "strip", z.ZodTypeAny, {
|
|
673
673
|
student: string;
|
|
674
674
|
states: AttendState[];
|
|
675
|
-
tuition
|
|
675
|
+
tuition?: {
|
|
676
676
|
primary: number;
|
|
677
677
|
textbook?: boolean | undefined;
|
|
678
678
|
shipping?: boolean | undefined;
|
|
679
|
-
};
|
|
679
|
+
} | undefined;
|
|
680
680
|
paid?: boolean | undefined;
|
|
681
681
|
campOption?: CampOption | undefined;
|
|
682
682
|
}, {
|
|
683
683
|
student: string;
|
|
684
684
|
states: AttendState[];
|
|
685
|
-
tuition
|
|
685
|
+
tuition?: {
|
|
686
686
|
primary: number;
|
|
687
687
|
textbook?: boolean | undefined;
|
|
688
688
|
shipping?: boolean | undefined;
|
|
689
|
-
};
|
|
689
|
+
} | undefined;
|
|
690
690
|
paid?: boolean | undefined;
|
|
691
691
|
campOption?: CampOption | undefined;
|
|
692
692
|
}>;
|
|
693
693
|
declare const zAttendance: z.ZodObject<{
|
|
694
694
|
student: z.ZodString;
|
|
695
695
|
states: z.ZodArray<z.ZodNativeEnum<typeof AttendState>, "many">;
|
|
696
|
-
tuition: z.ZodObject<{
|
|
696
|
+
tuition: z.ZodOptional<z.ZodObject<{
|
|
697
697
|
primary: z.ZodNumber;
|
|
698
698
|
textbook: z.ZodOptional<z.ZodBoolean>;
|
|
699
699
|
shipping: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -705,7 +705,7 @@ declare const zAttendance: z.ZodObject<{
|
|
|
705
705
|
primary: number;
|
|
706
706
|
textbook?: boolean | undefined;
|
|
707
707
|
shipping?: boolean | undefined;
|
|
708
|
-
}
|
|
708
|
+
}>>;
|
|
709
709
|
paid: z.ZodOptional<z.ZodBoolean>;
|
|
710
710
|
campOption: z.ZodOptional<z.ZodNativeEnum<typeof CampOption>>;
|
|
711
711
|
_id: z.ZodString;
|
|
@@ -716,11 +716,11 @@ declare const zAttendance: z.ZodObject<{
|
|
|
716
716
|
_id: string;
|
|
717
717
|
student: string;
|
|
718
718
|
states: AttendState[];
|
|
719
|
-
tuition
|
|
719
|
+
tuition?: {
|
|
720
720
|
primary: number;
|
|
721
721
|
textbook?: boolean | undefined;
|
|
722
722
|
shipping?: boolean | undefined;
|
|
723
|
-
};
|
|
723
|
+
} | undefined;
|
|
724
724
|
paid?: boolean | undefined;
|
|
725
725
|
campOption?: CampOption | undefined;
|
|
726
726
|
editedBy?: string | undefined;
|
|
@@ -730,11 +730,11 @@ declare const zAttendance: z.ZodObject<{
|
|
|
730
730
|
_id: string;
|
|
731
731
|
student: string;
|
|
732
732
|
states: AttendState[];
|
|
733
|
-
tuition
|
|
733
|
+
tuition?: {
|
|
734
734
|
primary: number;
|
|
735
735
|
textbook?: boolean | undefined;
|
|
736
736
|
shipping?: boolean | undefined;
|
|
737
|
-
};
|
|
737
|
+
} | undefined;
|
|
738
738
|
paid?: boolean | undefined;
|
|
739
739
|
campOption?: CampOption | undefined;
|
|
740
740
|
editedBy?: string | undefined;
|
|
@@ -747,7 +747,7 @@ declare const zAttendanceResponse: z.ZodObject<{
|
|
|
747
747
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
748
748
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
749
749
|
states: z.ZodArray<z.ZodNativeEnum<typeof AttendState>, "many">;
|
|
750
|
-
tuition: z.ZodObject<{
|
|
750
|
+
tuition: z.ZodOptional<z.ZodObject<{
|
|
751
751
|
primary: z.ZodNumber;
|
|
752
752
|
textbook: z.ZodOptional<z.ZodBoolean>;
|
|
753
753
|
shipping: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -759,7 +759,7 @@ declare const zAttendanceResponse: z.ZodObject<{
|
|
|
759
759
|
primary: number;
|
|
760
760
|
textbook?: boolean | undefined;
|
|
761
761
|
shipping?: boolean | undefined;
|
|
762
|
-
}
|
|
762
|
+
}>>;
|
|
763
763
|
paid: z.ZodOptional<z.ZodBoolean>;
|
|
764
764
|
campOption: z.ZodOptional<z.ZodNativeEnum<typeof CampOption>>;
|
|
765
765
|
student: z.ZodObject<{
|
|
@@ -859,14 +859,14 @@ declare const zAttendanceResponse: z.ZodObject<{
|
|
|
859
859
|
updatedAt?: string | undefined;
|
|
860
860
|
};
|
|
861
861
|
states: AttendState[];
|
|
862
|
-
tuition: {
|
|
863
|
-
primary: number;
|
|
864
|
-
textbook?: boolean | undefined;
|
|
865
|
-
shipping?: boolean | undefined;
|
|
866
|
-
};
|
|
867
862
|
editedBy?: string | undefined;
|
|
868
863
|
createdAt?: string | undefined;
|
|
869
864
|
updatedAt?: string | undefined;
|
|
865
|
+
tuition?: {
|
|
866
|
+
primary: number;
|
|
867
|
+
textbook?: boolean | undefined;
|
|
868
|
+
shipping?: boolean | undefined;
|
|
869
|
+
} | undefined;
|
|
870
870
|
paid?: boolean | undefined;
|
|
871
871
|
campOption?: CampOption | undefined;
|
|
872
872
|
}, {
|
|
@@ -894,14 +894,14 @@ declare const zAttendanceResponse: z.ZodObject<{
|
|
|
894
894
|
updatedAt?: string | undefined;
|
|
895
895
|
};
|
|
896
896
|
states: AttendState[];
|
|
897
|
-
tuition: {
|
|
898
|
-
primary: number;
|
|
899
|
-
textbook?: boolean | undefined;
|
|
900
|
-
shipping?: boolean | undefined;
|
|
901
|
-
};
|
|
902
897
|
editedBy?: string | undefined;
|
|
903
898
|
createdAt?: string | undefined;
|
|
904
899
|
updatedAt?: string | undefined;
|
|
900
|
+
tuition?: {
|
|
901
|
+
primary: number;
|
|
902
|
+
textbook?: boolean | undefined;
|
|
903
|
+
shipping?: boolean | undefined;
|
|
904
|
+
} | undefined;
|
|
905
905
|
paid?: boolean | undefined;
|
|
906
906
|
campOption?: CampOption | undefined;
|
|
907
907
|
}>;
|
|
@@ -1121,7 +1121,8 @@ declare enum CourseCategory {
|
|
|
1121
1121
|
GROUP = "group",
|
|
1122
1122
|
PRIVATE = "private",
|
|
1123
1123
|
SEMIPRIVATE = "semiprivate",
|
|
1124
|
-
CAMP = "camp"
|
|
1124
|
+
CAMP = "camp",
|
|
1125
|
+
EVENT = "event"
|
|
1125
1126
|
}
|
|
1126
1127
|
|
|
1127
1128
|
declare enum NYIGSchool {
|
|
@@ -1158,6 +1159,7 @@ declare const zBCourse: z.ZodObject<{
|
|
|
1158
1159
|
* Camp tuition for full-day option
|
|
1159
1160
|
*/
|
|
1160
1161
|
fullCampTuition: z.ZodOptional<z.ZodNumber>;
|
|
1162
|
+
superadminOnly: z.ZodOptional<z.ZodBoolean>;
|
|
1161
1163
|
}, "strip", z.ZodTypeAny, {
|
|
1162
1164
|
name: string;
|
|
1163
1165
|
price: number;
|
|
@@ -1168,6 +1170,7 @@ declare const zBCourse: z.ZodObject<{
|
|
|
1168
1170
|
recLevel?: string | undefined;
|
|
1169
1171
|
halfCampTuition?: number | undefined;
|
|
1170
1172
|
fullCampTuition?: number | undefined;
|
|
1173
|
+
superadminOnly?: boolean | undefined;
|
|
1171
1174
|
}, {
|
|
1172
1175
|
name: string;
|
|
1173
1176
|
price: number;
|
|
@@ -1178,6 +1181,7 @@ declare const zBCourse: z.ZodObject<{
|
|
|
1178
1181
|
recLevel?: string | undefined;
|
|
1179
1182
|
halfCampTuition?: number | undefined;
|
|
1180
1183
|
fullCampTuition?: number | undefined;
|
|
1184
|
+
superadminOnly?: boolean | undefined;
|
|
1181
1185
|
}>;
|
|
1182
1186
|
declare const zCourse: z.ZodObject<{
|
|
1183
1187
|
name: z.ZodString;
|
|
@@ -1189,6 +1193,7 @@ declare const zCourse: z.ZodObject<{
|
|
|
1189
1193
|
recLevel: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1190
1194
|
halfCampTuition: z.ZodOptional<z.ZodNumber>;
|
|
1191
1195
|
fullCampTuition: z.ZodOptional<z.ZodNumber>;
|
|
1196
|
+
superadminOnly: z.ZodOptional<z.ZodBoolean>;
|
|
1192
1197
|
_id: z.ZodString;
|
|
1193
1198
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
1194
1199
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -1204,6 +1209,7 @@ declare const zCourse: z.ZodObject<{
|
|
|
1204
1209
|
recLevel?: string | undefined;
|
|
1205
1210
|
halfCampTuition?: number | undefined;
|
|
1206
1211
|
fullCampTuition?: number | undefined;
|
|
1212
|
+
superadminOnly?: boolean | undefined;
|
|
1207
1213
|
editedBy?: string | undefined;
|
|
1208
1214
|
createdAt?: string | undefined;
|
|
1209
1215
|
updatedAt?: string | undefined;
|
|
@@ -1218,6 +1224,7 @@ declare const zCourse: z.ZodObject<{
|
|
|
1218
1224
|
recLevel?: string | undefined;
|
|
1219
1225
|
halfCampTuition?: number | undefined;
|
|
1220
1226
|
fullCampTuition?: number | undefined;
|
|
1227
|
+
superadminOnly?: boolean | undefined;
|
|
1221
1228
|
editedBy?: string | undefined;
|
|
1222
1229
|
createdAt?: string | undefined;
|
|
1223
1230
|
updatedAt?: string | undefined;
|
package/index.d.ts
CHANGED
|
@@ -654,7 +654,7 @@ 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
|
+
tuition: z.ZodOptional<z.ZodObject<{
|
|
658
658
|
primary: z.ZodNumber;
|
|
659
659
|
textbook: z.ZodOptional<z.ZodBoolean>;
|
|
660
660
|
shipping: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -666,34 +666,34 @@ declare const zBAttendance: z.ZodObject<{
|
|
|
666
666
|
primary: number;
|
|
667
667
|
textbook?: boolean | undefined;
|
|
668
668
|
shipping?: boolean | undefined;
|
|
669
|
-
}
|
|
669
|
+
}>>;
|
|
670
670
|
paid: z.ZodOptional<z.ZodBoolean>;
|
|
671
671
|
campOption: z.ZodOptional<z.ZodNativeEnum<typeof CampOption>>;
|
|
672
672
|
}, "strip", z.ZodTypeAny, {
|
|
673
673
|
student: string;
|
|
674
674
|
states: AttendState[];
|
|
675
|
-
tuition
|
|
675
|
+
tuition?: {
|
|
676
676
|
primary: number;
|
|
677
677
|
textbook?: boolean | undefined;
|
|
678
678
|
shipping?: boolean | undefined;
|
|
679
|
-
};
|
|
679
|
+
} | undefined;
|
|
680
680
|
paid?: boolean | undefined;
|
|
681
681
|
campOption?: CampOption | undefined;
|
|
682
682
|
}, {
|
|
683
683
|
student: string;
|
|
684
684
|
states: AttendState[];
|
|
685
|
-
tuition
|
|
685
|
+
tuition?: {
|
|
686
686
|
primary: number;
|
|
687
687
|
textbook?: boolean | undefined;
|
|
688
688
|
shipping?: boolean | undefined;
|
|
689
|
-
};
|
|
689
|
+
} | undefined;
|
|
690
690
|
paid?: boolean | undefined;
|
|
691
691
|
campOption?: CampOption | undefined;
|
|
692
692
|
}>;
|
|
693
693
|
declare const zAttendance: z.ZodObject<{
|
|
694
694
|
student: z.ZodString;
|
|
695
695
|
states: z.ZodArray<z.ZodNativeEnum<typeof AttendState>, "many">;
|
|
696
|
-
tuition: z.ZodObject<{
|
|
696
|
+
tuition: z.ZodOptional<z.ZodObject<{
|
|
697
697
|
primary: z.ZodNumber;
|
|
698
698
|
textbook: z.ZodOptional<z.ZodBoolean>;
|
|
699
699
|
shipping: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -705,7 +705,7 @@ declare const zAttendance: z.ZodObject<{
|
|
|
705
705
|
primary: number;
|
|
706
706
|
textbook?: boolean | undefined;
|
|
707
707
|
shipping?: boolean | undefined;
|
|
708
|
-
}
|
|
708
|
+
}>>;
|
|
709
709
|
paid: z.ZodOptional<z.ZodBoolean>;
|
|
710
710
|
campOption: z.ZodOptional<z.ZodNativeEnum<typeof CampOption>>;
|
|
711
711
|
_id: z.ZodString;
|
|
@@ -716,11 +716,11 @@ declare const zAttendance: z.ZodObject<{
|
|
|
716
716
|
_id: string;
|
|
717
717
|
student: string;
|
|
718
718
|
states: AttendState[];
|
|
719
|
-
tuition
|
|
719
|
+
tuition?: {
|
|
720
720
|
primary: number;
|
|
721
721
|
textbook?: boolean | undefined;
|
|
722
722
|
shipping?: boolean | undefined;
|
|
723
|
-
};
|
|
723
|
+
} | undefined;
|
|
724
724
|
paid?: boolean | undefined;
|
|
725
725
|
campOption?: CampOption | undefined;
|
|
726
726
|
editedBy?: string | undefined;
|
|
@@ -730,11 +730,11 @@ declare const zAttendance: z.ZodObject<{
|
|
|
730
730
|
_id: string;
|
|
731
731
|
student: string;
|
|
732
732
|
states: AttendState[];
|
|
733
|
-
tuition
|
|
733
|
+
tuition?: {
|
|
734
734
|
primary: number;
|
|
735
735
|
textbook?: boolean | undefined;
|
|
736
736
|
shipping?: boolean | undefined;
|
|
737
|
-
};
|
|
737
|
+
} | undefined;
|
|
738
738
|
paid?: boolean | undefined;
|
|
739
739
|
campOption?: CampOption | undefined;
|
|
740
740
|
editedBy?: string | undefined;
|
|
@@ -747,7 +747,7 @@ declare const zAttendanceResponse: z.ZodObject<{
|
|
|
747
747
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
748
748
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
749
749
|
states: z.ZodArray<z.ZodNativeEnum<typeof AttendState>, "many">;
|
|
750
|
-
tuition: z.ZodObject<{
|
|
750
|
+
tuition: z.ZodOptional<z.ZodObject<{
|
|
751
751
|
primary: z.ZodNumber;
|
|
752
752
|
textbook: z.ZodOptional<z.ZodBoolean>;
|
|
753
753
|
shipping: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -759,7 +759,7 @@ declare const zAttendanceResponse: z.ZodObject<{
|
|
|
759
759
|
primary: number;
|
|
760
760
|
textbook?: boolean | undefined;
|
|
761
761
|
shipping?: boolean | undefined;
|
|
762
|
-
}
|
|
762
|
+
}>>;
|
|
763
763
|
paid: z.ZodOptional<z.ZodBoolean>;
|
|
764
764
|
campOption: z.ZodOptional<z.ZodNativeEnum<typeof CampOption>>;
|
|
765
765
|
student: z.ZodObject<{
|
|
@@ -859,14 +859,14 @@ declare const zAttendanceResponse: z.ZodObject<{
|
|
|
859
859
|
updatedAt?: string | undefined;
|
|
860
860
|
};
|
|
861
861
|
states: AttendState[];
|
|
862
|
-
tuition: {
|
|
863
|
-
primary: number;
|
|
864
|
-
textbook?: boolean | undefined;
|
|
865
|
-
shipping?: boolean | undefined;
|
|
866
|
-
};
|
|
867
862
|
editedBy?: string | undefined;
|
|
868
863
|
createdAt?: string | undefined;
|
|
869
864
|
updatedAt?: string | undefined;
|
|
865
|
+
tuition?: {
|
|
866
|
+
primary: number;
|
|
867
|
+
textbook?: boolean | undefined;
|
|
868
|
+
shipping?: boolean | undefined;
|
|
869
|
+
} | undefined;
|
|
870
870
|
paid?: boolean | undefined;
|
|
871
871
|
campOption?: CampOption | undefined;
|
|
872
872
|
}, {
|
|
@@ -894,14 +894,14 @@ declare const zAttendanceResponse: z.ZodObject<{
|
|
|
894
894
|
updatedAt?: string | undefined;
|
|
895
895
|
};
|
|
896
896
|
states: AttendState[];
|
|
897
|
-
tuition: {
|
|
898
|
-
primary: number;
|
|
899
|
-
textbook?: boolean | undefined;
|
|
900
|
-
shipping?: boolean | undefined;
|
|
901
|
-
};
|
|
902
897
|
editedBy?: string | undefined;
|
|
903
898
|
createdAt?: string | undefined;
|
|
904
899
|
updatedAt?: string | undefined;
|
|
900
|
+
tuition?: {
|
|
901
|
+
primary: number;
|
|
902
|
+
textbook?: boolean | undefined;
|
|
903
|
+
shipping?: boolean | undefined;
|
|
904
|
+
} | undefined;
|
|
905
905
|
paid?: boolean | undefined;
|
|
906
906
|
campOption?: CampOption | undefined;
|
|
907
907
|
}>;
|
|
@@ -1121,7 +1121,8 @@ declare enum CourseCategory {
|
|
|
1121
1121
|
GROUP = "group",
|
|
1122
1122
|
PRIVATE = "private",
|
|
1123
1123
|
SEMIPRIVATE = "semiprivate",
|
|
1124
|
-
CAMP = "camp"
|
|
1124
|
+
CAMP = "camp",
|
|
1125
|
+
EVENT = "event"
|
|
1125
1126
|
}
|
|
1126
1127
|
|
|
1127
1128
|
declare enum NYIGSchool {
|
|
@@ -1158,6 +1159,7 @@ declare const zBCourse: z.ZodObject<{
|
|
|
1158
1159
|
* Camp tuition for full-day option
|
|
1159
1160
|
*/
|
|
1160
1161
|
fullCampTuition: z.ZodOptional<z.ZodNumber>;
|
|
1162
|
+
superadminOnly: z.ZodOptional<z.ZodBoolean>;
|
|
1161
1163
|
}, "strip", z.ZodTypeAny, {
|
|
1162
1164
|
name: string;
|
|
1163
1165
|
price: number;
|
|
@@ -1168,6 +1170,7 @@ declare const zBCourse: z.ZodObject<{
|
|
|
1168
1170
|
recLevel?: string | undefined;
|
|
1169
1171
|
halfCampTuition?: number | undefined;
|
|
1170
1172
|
fullCampTuition?: number | undefined;
|
|
1173
|
+
superadminOnly?: boolean | undefined;
|
|
1171
1174
|
}, {
|
|
1172
1175
|
name: string;
|
|
1173
1176
|
price: number;
|
|
@@ -1178,6 +1181,7 @@ declare const zBCourse: z.ZodObject<{
|
|
|
1178
1181
|
recLevel?: string | undefined;
|
|
1179
1182
|
halfCampTuition?: number | undefined;
|
|
1180
1183
|
fullCampTuition?: number | undefined;
|
|
1184
|
+
superadminOnly?: boolean | undefined;
|
|
1181
1185
|
}>;
|
|
1182
1186
|
declare const zCourse: z.ZodObject<{
|
|
1183
1187
|
name: z.ZodString;
|
|
@@ -1189,6 +1193,7 @@ declare const zCourse: z.ZodObject<{
|
|
|
1189
1193
|
recLevel: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1190
1194
|
halfCampTuition: z.ZodOptional<z.ZodNumber>;
|
|
1191
1195
|
fullCampTuition: z.ZodOptional<z.ZodNumber>;
|
|
1196
|
+
superadminOnly: z.ZodOptional<z.ZodBoolean>;
|
|
1192
1197
|
_id: z.ZodString;
|
|
1193
1198
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
1194
1199
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -1204,6 +1209,7 @@ declare const zCourse: z.ZodObject<{
|
|
|
1204
1209
|
recLevel?: string | undefined;
|
|
1205
1210
|
halfCampTuition?: number | undefined;
|
|
1206
1211
|
fullCampTuition?: number | undefined;
|
|
1212
|
+
superadminOnly?: boolean | undefined;
|
|
1207
1213
|
editedBy?: string | undefined;
|
|
1208
1214
|
createdAt?: string | undefined;
|
|
1209
1215
|
updatedAt?: string | undefined;
|
|
@@ -1218,6 +1224,7 @@ declare const zCourse: z.ZodObject<{
|
|
|
1218
1224
|
recLevel?: string | undefined;
|
|
1219
1225
|
halfCampTuition?: number | undefined;
|
|
1220
1226
|
fullCampTuition?: number | undefined;
|
|
1227
|
+
superadminOnly?: boolean | undefined;
|
|
1221
1228
|
editedBy?: string | undefined;
|
|
1222
1229
|
createdAt?: string | undefined;
|
|
1223
1230
|
updatedAt?: string | undefined;
|
package/index.js
CHANGED
|
@@ -334,7 +334,7 @@ var zLoginResponse = import_zod9.z.object({
|
|
|
334
334
|
var zBAttendance = import_zod10.z.object({
|
|
335
335
|
student: import_zod10.z.string(),
|
|
336
336
|
states: import_zod10.z.array(import_zod10.z.nativeEnum(AttendState)),
|
|
337
|
-
tuition: zTuition,
|
|
337
|
+
tuition: zTuition.optional(),
|
|
338
338
|
paid: import_zod10.z.boolean().optional(),
|
|
339
339
|
campOption: import_zod10.z.nativeEnum(CampOption).optional()
|
|
340
340
|
});
|
|
@@ -475,6 +475,7 @@ var CourseCategory = /* @__PURE__ */ ((CourseCategory2) => {
|
|
|
475
475
|
CourseCategory2["PRIVATE"] = "private";
|
|
476
476
|
CourseCategory2["SEMIPRIVATE"] = "semiprivate";
|
|
477
477
|
CourseCategory2["CAMP"] = "camp";
|
|
478
|
+
CourseCategory2["EVENT"] = "event";
|
|
478
479
|
return CourseCategory2;
|
|
479
480
|
})(CourseCategory || {});
|
|
480
481
|
|
|
@@ -515,7 +516,8 @@ var zBCourse = import_zod16.z.object({
|
|
|
515
516
|
/**
|
|
516
517
|
* Camp tuition for full-day option
|
|
517
518
|
*/
|
|
518
|
-
fullCampTuition: import_zod16.z.coerce.number().int("Tuition must be a whole number in cents").min(1, "Tuition must not be less than or equal to 0").optional()
|
|
519
|
+
fullCampTuition: import_zod16.z.coerce.number().int("Tuition must be a whole number in cents").min(1, "Tuition must not be less than or equal to 0").optional(),
|
|
520
|
+
superadminOnly: import_zod16.z.boolean().optional()
|
|
519
521
|
});
|
|
520
522
|
var zCourse = addAutoProps(zBCourse);
|
|
521
523
|
|
package/index.mjs
CHANGED
|
@@ -235,7 +235,7 @@ var zLoginResponse = z9.object({
|
|
|
235
235
|
var zBAttendance = z10.object({
|
|
236
236
|
student: z10.string(),
|
|
237
237
|
states: z10.array(z10.nativeEnum(AttendState)),
|
|
238
|
-
tuition: zTuition,
|
|
238
|
+
tuition: zTuition.optional(),
|
|
239
239
|
paid: z10.boolean().optional(),
|
|
240
240
|
campOption: z10.nativeEnum(CampOption).optional()
|
|
241
241
|
});
|
|
@@ -376,6 +376,7 @@ var CourseCategory = /* @__PURE__ */ ((CourseCategory2) => {
|
|
|
376
376
|
CourseCategory2["PRIVATE"] = "private";
|
|
377
377
|
CourseCategory2["SEMIPRIVATE"] = "semiprivate";
|
|
378
378
|
CourseCategory2["CAMP"] = "camp";
|
|
379
|
+
CourseCategory2["EVENT"] = "event";
|
|
379
380
|
return CourseCategory2;
|
|
380
381
|
})(CourseCategory || {});
|
|
381
382
|
|
|
@@ -416,7 +417,8 @@ var zBCourse = z16.object({
|
|
|
416
417
|
/**
|
|
417
418
|
* Camp tuition for full-day option
|
|
418
419
|
*/
|
|
419
|
-
fullCampTuition: z16.coerce.number().int("Tuition must be a whole number in cents").min(1, "Tuition must not be less than or equal to 0").optional()
|
|
420
|
+
fullCampTuition: z16.coerce.number().int("Tuition must be a whole number in cents").min(1, "Tuition must not be less than or equal to 0").optional(),
|
|
421
|
+
superadminOnly: z16.boolean().optional()
|
|
420
422
|
});
|
|
421
423
|
var zCourse = addAutoProps(zBCourse);
|
|
422
424
|
|