@nyig/models 0.3.7 → 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 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.ZodOptional<z.ZodObject<{
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
- } | undefined;
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
- } | undefined;
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.ZodOptional<z.ZodObject<{
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
- } | undefined;
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
- } | undefined;
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.ZodOptional<z.ZodObject<{
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
- editedBy?: string | undefined;
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
- } | undefined;
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
- editedBy?: string | undefined;
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
- } | undefined;
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
  }>;
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.ZodOptional<z.ZodObject<{
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
- } | undefined;
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
- } | undefined;
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.ZodOptional<z.ZodObject<{
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
- } | undefined;
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
- } | undefined;
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.ZodOptional<z.ZodObject<{
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
- editedBy?: string | undefined;
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
- } | undefined;
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
- editedBy?: string | undefined;
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
- } | undefined;
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
  }>;
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.optional(),
337
+ tuition: zTuition,
338
338
  paid: import_zod10.z.boolean().optional(),
339
339
  campOption: import_zod10.z.nativeEnum(CampOption).optional()
340
340
  });
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.optional(),
238
+ tuition: zTuition,
239
239
  paid: z10.boolean().optional(),
240
240
  campOption: z10.nativeEnum(CampOption).optional()
241
241
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nyig/models",
3
- "version": "0.3.7",
3
+ "version": "0.3.8",
4
4
  "license": "MIT",
5
5
  "main": "index.js",
6
6
  "module": "index.mjs",