@nyig/models 0.3.6 → 0.3.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.mts +30 -24
- package/index.d.ts +30 -24
- package/index.js +3 -2
- package/index.mjs +3 -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.
|
|
657
|
+
tuition: 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
|
+
};
|
|
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
|
+
};
|
|
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.
|
|
696
|
+
tuition: 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
|
+
};
|
|
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
|
+
};
|
|
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.
|
|
750
|
+
tuition: 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
|
-
|
|
863
|
-
createdAt?: string | undefined;
|
|
864
|
-
updatedAt?: string | undefined;
|
|
865
|
-
tuition?: {
|
|
862
|
+
tuition: {
|
|
866
863
|
primary: number;
|
|
867
864
|
textbook?: boolean | undefined;
|
|
868
865
|
shipping?: boolean | undefined;
|
|
869
|
-
}
|
|
866
|
+
};
|
|
867
|
+
editedBy?: string | undefined;
|
|
868
|
+
createdAt?: string | undefined;
|
|
869
|
+
updatedAt?: string | 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
|
-
|
|
898
|
-
createdAt?: string | undefined;
|
|
899
|
-
updatedAt?: string | undefined;
|
|
900
|
-
tuition?: {
|
|
897
|
+
tuition: {
|
|
901
898
|
primary: number;
|
|
902
899
|
textbook?: boolean | undefined;
|
|
903
900
|
shipping?: boolean | undefined;
|
|
904
|
-
}
|
|
901
|
+
};
|
|
902
|
+
editedBy?: string | undefined;
|
|
903
|
+
createdAt?: string | undefined;
|
|
904
|
+
updatedAt?: string | undefined;
|
|
905
905
|
paid?: boolean | undefined;
|
|
906
906
|
campOption?: CampOption | undefined;
|
|
907
907
|
}>;
|
|
@@ -1159,6 +1159,7 @@ declare const zBCourse: z.ZodObject<{
|
|
|
1159
1159
|
* Camp tuition for full-day option
|
|
1160
1160
|
*/
|
|
1161
1161
|
fullCampTuition: z.ZodOptional<z.ZodNumber>;
|
|
1162
|
+
superadminOnly: z.ZodOptional<z.ZodBoolean>;
|
|
1162
1163
|
}, "strip", z.ZodTypeAny, {
|
|
1163
1164
|
name: string;
|
|
1164
1165
|
price: number;
|
|
@@ -1169,6 +1170,7 @@ declare const zBCourse: z.ZodObject<{
|
|
|
1169
1170
|
recLevel?: string | undefined;
|
|
1170
1171
|
halfCampTuition?: number | undefined;
|
|
1171
1172
|
fullCampTuition?: number | undefined;
|
|
1173
|
+
superadminOnly?: boolean | undefined;
|
|
1172
1174
|
}, {
|
|
1173
1175
|
name: string;
|
|
1174
1176
|
price: number;
|
|
@@ -1179,6 +1181,7 @@ declare const zBCourse: z.ZodObject<{
|
|
|
1179
1181
|
recLevel?: string | undefined;
|
|
1180
1182
|
halfCampTuition?: number | undefined;
|
|
1181
1183
|
fullCampTuition?: number | undefined;
|
|
1184
|
+
superadminOnly?: boolean | undefined;
|
|
1182
1185
|
}>;
|
|
1183
1186
|
declare const zCourse: z.ZodObject<{
|
|
1184
1187
|
name: z.ZodString;
|
|
@@ -1190,6 +1193,7 @@ declare const zCourse: z.ZodObject<{
|
|
|
1190
1193
|
recLevel: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1191
1194
|
halfCampTuition: z.ZodOptional<z.ZodNumber>;
|
|
1192
1195
|
fullCampTuition: z.ZodOptional<z.ZodNumber>;
|
|
1196
|
+
superadminOnly: z.ZodOptional<z.ZodBoolean>;
|
|
1193
1197
|
_id: z.ZodString;
|
|
1194
1198
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
1195
1199
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -1205,6 +1209,7 @@ declare const zCourse: z.ZodObject<{
|
|
|
1205
1209
|
recLevel?: string | undefined;
|
|
1206
1210
|
halfCampTuition?: number | undefined;
|
|
1207
1211
|
fullCampTuition?: number | undefined;
|
|
1212
|
+
superadminOnly?: boolean | undefined;
|
|
1208
1213
|
editedBy?: string | undefined;
|
|
1209
1214
|
createdAt?: string | undefined;
|
|
1210
1215
|
updatedAt?: string | undefined;
|
|
@@ -1219,6 +1224,7 @@ declare const zCourse: z.ZodObject<{
|
|
|
1219
1224
|
recLevel?: string | undefined;
|
|
1220
1225
|
halfCampTuition?: number | undefined;
|
|
1221
1226
|
fullCampTuition?: number | undefined;
|
|
1227
|
+
superadminOnly?: boolean | undefined;
|
|
1222
1228
|
editedBy?: string | undefined;
|
|
1223
1229
|
createdAt?: string | undefined;
|
|
1224
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.
|
|
657
|
+
tuition: 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
|
+
};
|
|
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
|
+
};
|
|
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.
|
|
696
|
+
tuition: 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
|
+
};
|
|
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
|
+
};
|
|
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.
|
|
750
|
+
tuition: 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
|
-
|
|
863
|
-
createdAt?: string | undefined;
|
|
864
|
-
updatedAt?: string | undefined;
|
|
865
|
-
tuition?: {
|
|
862
|
+
tuition: {
|
|
866
863
|
primary: number;
|
|
867
864
|
textbook?: boolean | undefined;
|
|
868
865
|
shipping?: boolean | undefined;
|
|
869
|
-
}
|
|
866
|
+
};
|
|
867
|
+
editedBy?: string | undefined;
|
|
868
|
+
createdAt?: string | undefined;
|
|
869
|
+
updatedAt?: string | 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
|
-
|
|
898
|
-
createdAt?: string | undefined;
|
|
899
|
-
updatedAt?: string | undefined;
|
|
900
|
-
tuition?: {
|
|
897
|
+
tuition: {
|
|
901
898
|
primary: number;
|
|
902
899
|
textbook?: boolean | undefined;
|
|
903
900
|
shipping?: boolean | undefined;
|
|
904
|
-
}
|
|
901
|
+
};
|
|
902
|
+
editedBy?: string | undefined;
|
|
903
|
+
createdAt?: string | undefined;
|
|
904
|
+
updatedAt?: string | undefined;
|
|
905
905
|
paid?: boolean | undefined;
|
|
906
906
|
campOption?: CampOption | undefined;
|
|
907
907
|
}>;
|
|
@@ -1159,6 +1159,7 @@ declare const zBCourse: z.ZodObject<{
|
|
|
1159
1159
|
* Camp tuition for full-day option
|
|
1160
1160
|
*/
|
|
1161
1161
|
fullCampTuition: z.ZodOptional<z.ZodNumber>;
|
|
1162
|
+
superadminOnly: z.ZodOptional<z.ZodBoolean>;
|
|
1162
1163
|
}, "strip", z.ZodTypeAny, {
|
|
1163
1164
|
name: string;
|
|
1164
1165
|
price: number;
|
|
@@ -1169,6 +1170,7 @@ declare const zBCourse: z.ZodObject<{
|
|
|
1169
1170
|
recLevel?: string | undefined;
|
|
1170
1171
|
halfCampTuition?: number | undefined;
|
|
1171
1172
|
fullCampTuition?: number | undefined;
|
|
1173
|
+
superadminOnly?: boolean | undefined;
|
|
1172
1174
|
}, {
|
|
1173
1175
|
name: string;
|
|
1174
1176
|
price: number;
|
|
@@ -1179,6 +1181,7 @@ declare const zBCourse: z.ZodObject<{
|
|
|
1179
1181
|
recLevel?: string | undefined;
|
|
1180
1182
|
halfCampTuition?: number | undefined;
|
|
1181
1183
|
fullCampTuition?: number | undefined;
|
|
1184
|
+
superadminOnly?: boolean | undefined;
|
|
1182
1185
|
}>;
|
|
1183
1186
|
declare const zCourse: z.ZodObject<{
|
|
1184
1187
|
name: z.ZodString;
|
|
@@ -1190,6 +1193,7 @@ declare const zCourse: z.ZodObject<{
|
|
|
1190
1193
|
recLevel: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1191
1194
|
halfCampTuition: z.ZodOptional<z.ZodNumber>;
|
|
1192
1195
|
fullCampTuition: z.ZodOptional<z.ZodNumber>;
|
|
1196
|
+
superadminOnly: z.ZodOptional<z.ZodBoolean>;
|
|
1193
1197
|
_id: z.ZodString;
|
|
1194
1198
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
1195
1199
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -1205,6 +1209,7 @@ declare const zCourse: z.ZodObject<{
|
|
|
1205
1209
|
recLevel?: string | undefined;
|
|
1206
1210
|
halfCampTuition?: number | undefined;
|
|
1207
1211
|
fullCampTuition?: number | undefined;
|
|
1212
|
+
superadminOnly?: boolean | undefined;
|
|
1208
1213
|
editedBy?: string | undefined;
|
|
1209
1214
|
createdAt?: string | undefined;
|
|
1210
1215
|
updatedAt?: string | undefined;
|
|
@@ -1219,6 +1224,7 @@ declare const zCourse: z.ZodObject<{
|
|
|
1219
1224
|
recLevel?: string | undefined;
|
|
1220
1225
|
halfCampTuition?: number | undefined;
|
|
1221
1226
|
fullCampTuition?: number | undefined;
|
|
1227
|
+
superadminOnly?: boolean | undefined;
|
|
1222
1228
|
editedBy?: string | undefined;
|
|
1223
1229
|
createdAt?: string | undefined;
|
|
1224
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,
|
|
338
338
|
paid: import_zod10.z.boolean().optional(),
|
|
339
339
|
campOption: import_zod10.z.nativeEnum(CampOption).optional()
|
|
340
340
|
});
|
|
@@ -516,7 +516,8 @@ var zBCourse = import_zod16.z.object({
|
|
|
516
516
|
/**
|
|
517
517
|
* Camp tuition for full-day option
|
|
518
518
|
*/
|
|
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()
|
|
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()
|
|
520
521
|
});
|
|
521
522
|
var zCourse = addAutoProps(zBCourse);
|
|
522
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,
|
|
239
239
|
paid: z10.boolean().optional(),
|
|
240
240
|
campOption: z10.nativeEnum(CampOption).optional()
|
|
241
241
|
});
|
|
@@ -417,7 +417,8 @@ var zBCourse = z16.object({
|
|
|
417
417
|
/**
|
|
418
418
|
* Camp tuition for full-day option
|
|
419
419
|
*/
|
|
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()
|
|
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()
|
|
421
422
|
});
|
|
422
423
|
var zCourse = addAutoProps(zBCourse);
|
|
423
424
|
|