@nyig/models 0.3.8 → 0.3.9
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 +7 -1
- package/index.mjs +7 -1
- 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
|
-
|
|
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,11 +733,11 @@ 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;
|
|
738
741
|
paid?: boolean | undefined;
|
|
739
742
|
campOption?: CampOption | undefined;
|
|
740
743
|
editedBy?: string | undefined;
|
|
@@ -747,7 +750,7 @@ declare const zAttendanceResponse: z.ZodObject<{
|
|
|
747
750
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
748
751
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
749
752
|
states: z.ZodArray<z.ZodNativeEnum<typeof AttendState>, "many">;
|
|
750
|
-
tuition: z.ZodObject<{
|
|
753
|
+
tuition: z.ZodOptional<z.ZodObject<{
|
|
751
754
|
primary: z.ZodNumber;
|
|
752
755
|
textbook: z.ZodOptional<z.ZodBoolean>;
|
|
753
756
|
shipping: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -759,7 +762,7 @@ declare const zAttendanceResponse: z.ZodObject<{
|
|
|
759
762
|
primary: number;
|
|
760
763
|
textbook?: boolean | undefined;
|
|
761
764
|
shipping?: boolean | undefined;
|
|
762
|
-
}
|
|
765
|
+
}>>;
|
|
763
766
|
paid: z.ZodOptional<z.ZodBoolean>;
|
|
764
767
|
campOption: z.ZodOptional<z.ZodNativeEnum<typeof CampOption>>;
|
|
765
768
|
student: z.ZodObject<{
|
|
@@ -859,14 +862,14 @@ declare const zAttendanceResponse: z.ZodObject<{
|
|
|
859
862
|
updatedAt?: string | undefined;
|
|
860
863
|
};
|
|
861
864
|
states: AttendState[];
|
|
862
|
-
tuition: {
|
|
863
|
-
primary: number;
|
|
864
|
-
textbook?: boolean | undefined;
|
|
865
|
-
shipping?: boolean | undefined;
|
|
866
|
-
};
|
|
867
865
|
editedBy?: string | undefined;
|
|
868
866
|
createdAt?: string | undefined;
|
|
869
867
|
updatedAt?: string | undefined;
|
|
868
|
+
tuition?: {
|
|
869
|
+
primary: number;
|
|
870
|
+
textbook?: boolean | undefined;
|
|
871
|
+
shipping?: boolean | undefined;
|
|
872
|
+
} | undefined;
|
|
870
873
|
paid?: boolean | undefined;
|
|
871
874
|
campOption?: CampOption | undefined;
|
|
872
875
|
}, {
|
|
@@ -894,14 +897,14 @@ declare const zAttendanceResponse: z.ZodObject<{
|
|
|
894
897
|
updatedAt?: string | undefined;
|
|
895
898
|
};
|
|
896
899
|
states: AttendState[];
|
|
897
|
-
tuition: {
|
|
898
|
-
primary: number;
|
|
899
|
-
textbook?: boolean | undefined;
|
|
900
|
-
shipping?: boolean | undefined;
|
|
901
|
-
};
|
|
902
900
|
editedBy?: string | undefined;
|
|
903
901
|
createdAt?: string | undefined;
|
|
904
902
|
updatedAt?: string | undefined;
|
|
903
|
+
tuition?: {
|
|
904
|
+
primary: number;
|
|
905
|
+
textbook?: boolean | undefined;
|
|
906
|
+
shipping?: boolean | undefined;
|
|
907
|
+
} | undefined;
|
|
905
908
|
paid?: boolean | undefined;
|
|
906
909
|
campOption?: CampOption | undefined;
|
|
907
910
|
}>;
|
|
@@ -996,6 +999,9 @@ declare const zBClassTracker: z.ZodObject<{
|
|
|
996
999
|
* Virtual mongoose field when all values in completedList is true
|
|
997
1000
|
*/
|
|
998
1001
|
completed: z.ZodOptional<z.ZodBoolean>;
|
|
1002
|
+
/**
|
|
1003
|
+
* @deprecated This field is no longer used
|
|
1004
|
+
*/
|
|
999
1005
|
tuition: z.ZodOptional<z.ZodObject<{
|
|
1000
1006
|
primary: z.ZodNumber;
|
|
1001
1007
|
textbook: z.ZodOptional<z.ZodBoolean>;
|
package/index.d.ts
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
|
-
|
|
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,11 +733,11 @@ 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;
|
|
738
741
|
paid?: boolean | undefined;
|
|
739
742
|
campOption?: CampOption | undefined;
|
|
740
743
|
editedBy?: string | undefined;
|
|
@@ -747,7 +750,7 @@ declare const zAttendanceResponse: z.ZodObject<{
|
|
|
747
750
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
748
751
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
749
752
|
states: z.ZodArray<z.ZodNativeEnum<typeof AttendState>, "many">;
|
|
750
|
-
tuition: z.ZodObject<{
|
|
753
|
+
tuition: z.ZodOptional<z.ZodObject<{
|
|
751
754
|
primary: z.ZodNumber;
|
|
752
755
|
textbook: z.ZodOptional<z.ZodBoolean>;
|
|
753
756
|
shipping: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -759,7 +762,7 @@ declare const zAttendanceResponse: z.ZodObject<{
|
|
|
759
762
|
primary: number;
|
|
760
763
|
textbook?: boolean | undefined;
|
|
761
764
|
shipping?: boolean | undefined;
|
|
762
|
-
}
|
|
765
|
+
}>>;
|
|
763
766
|
paid: z.ZodOptional<z.ZodBoolean>;
|
|
764
767
|
campOption: z.ZodOptional<z.ZodNativeEnum<typeof CampOption>>;
|
|
765
768
|
student: z.ZodObject<{
|
|
@@ -859,14 +862,14 @@ declare const zAttendanceResponse: z.ZodObject<{
|
|
|
859
862
|
updatedAt?: string | undefined;
|
|
860
863
|
};
|
|
861
864
|
states: AttendState[];
|
|
862
|
-
tuition: {
|
|
863
|
-
primary: number;
|
|
864
|
-
textbook?: boolean | undefined;
|
|
865
|
-
shipping?: boolean | undefined;
|
|
866
|
-
};
|
|
867
865
|
editedBy?: string | undefined;
|
|
868
866
|
createdAt?: string | undefined;
|
|
869
867
|
updatedAt?: string | undefined;
|
|
868
|
+
tuition?: {
|
|
869
|
+
primary: number;
|
|
870
|
+
textbook?: boolean | undefined;
|
|
871
|
+
shipping?: boolean | undefined;
|
|
872
|
+
} | undefined;
|
|
870
873
|
paid?: boolean | undefined;
|
|
871
874
|
campOption?: CampOption | undefined;
|
|
872
875
|
}, {
|
|
@@ -894,14 +897,14 @@ declare const zAttendanceResponse: z.ZodObject<{
|
|
|
894
897
|
updatedAt?: string | undefined;
|
|
895
898
|
};
|
|
896
899
|
states: AttendState[];
|
|
897
|
-
tuition: {
|
|
898
|
-
primary: number;
|
|
899
|
-
textbook?: boolean | undefined;
|
|
900
|
-
shipping?: boolean | undefined;
|
|
901
|
-
};
|
|
902
900
|
editedBy?: string | undefined;
|
|
903
901
|
createdAt?: string | undefined;
|
|
904
902
|
updatedAt?: string | undefined;
|
|
903
|
+
tuition?: {
|
|
904
|
+
primary: number;
|
|
905
|
+
textbook?: boolean | undefined;
|
|
906
|
+
shipping?: boolean | undefined;
|
|
907
|
+
} | undefined;
|
|
905
908
|
paid?: boolean | undefined;
|
|
906
909
|
campOption?: CampOption | undefined;
|
|
907
910
|
}>;
|
|
@@ -996,6 +999,9 @@ declare const zBClassTracker: z.ZodObject<{
|
|
|
996
999
|
* Virtual mongoose field when all values in completedList is true
|
|
997
1000
|
*/
|
|
998
1001
|
completed: z.ZodOptional<z.ZodBoolean>;
|
|
1002
|
+
/**
|
|
1003
|
+
* @deprecated This field is no longer used
|
|
1004
|
+
*/
|
|
999
1005
|
tuition: z.ZodOptional<z.ZodObject<{
|
|
1000
1006
|
primary: z.ZodNumber;
|
|
1001
1007
|
textbook: z.ZodOptional<z.ZodBoolean>;
|
package/index.js
CHANGED
|
@@ -334,7 +334,10 @@ 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
|
-
|
|
337
|
+
/**
|
|
338
|
+
* @deprecated This field is no longer used
|
|
339
|
+
*/
|
|
340
|
+
tuition: zTuition.optional(),
|
|
338
341
|
paid: import_zod10.z.boolean().optional(),
|
|
339
342
|
campOption: import_zod10.z.nativeEnum(CampOption).optional()
|
|
340
343
|
});
|
|
@@ -443,6 +446,9 @@ var zBClassTracker = import_zod14.z.object({
|
|
|
443
446
|
* Virtual mongoose field when all values in completedList is true
|
|
444
447
|
*/
|
|
445
448
|
completed: import_zod14.z.boolean().optional(),
|
|
449
|
+
/**
|
|
450
|
+
* @deprecated This field is no longer used
|
|
451
|
+
*/
|
|
446
452
|
tuition: zTuition.optional(),
|
|
447
453
|
paid: import_zod14.z.boolean().optional(),
|
|
448
454
|
paused: import_zod14.z.boolean().optional(),
|
package/index.mjs
CHANGED
|
@@ -235,7 +235,10 @@ var zLoginResponse = z9.object({
|
|
|
235
235
|
var zBAttendance = z10.object({
|
|
236
236
|
student: z10.string(),
|
|
237
237
|
states: z10.array(z10.nativeEnum(AttendState)),
|
|
238
|
-
|
|
238
|
+
/**
|
|
239
|
+
* @deprecated This field is no longer used
|
|
240
|
+
*/
|
|
241
|
+
tuition: zTuition.optional(),
|
|
239
242
|
paid: z10.boolean().optional(),
|
|
240
243
|
campOption: z10.nativeEnum(CampOption).optional()
|
|
241
244
|
});
|
|
@@ -344,6 +347,9 @@ var zBClassTracker = z14.object({
|
|
|
344
347
|
* Virtual mongoose field when all values in completedList is true
|
|
345
348
|
*/
|
|
346
349
|
completed: z14.boolean().optional(),
|
|
350
|
+
/**
|
|
351
|
+
* @deprecated This field is no longer used
|
|
352
|
+
*/
|
|
347
353
|
tuition: zTuition.optional(),
|
|
348
354
|
paid: z14.boolean().optional(),
|
|
349
355
|
paused: z14.boolean().optional(),
|