@nyig/models 0.2.7 → 0.2.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.
Files changed (5) hide show
  1. package/index.d.mts +2 -158
  2. package/index.d.ts +2 -158
  3. package/index.js +118 -116
  4. package/index.mjs +64 -119
  5. package/package.json +1 -1
package/index.d.mts CHANGED
@@ -493,20 +493,6 @@ declare const zMCourse: z.ZodObject<{
493
493
  type Course = z.infer<typeof zCourse>;
494
494
  type MCourse = z.infer<typeof zMCourse>;
495
495
 
496
- type index$8_AgeGroup = AgeGroup;
497
- declare const index$8_AgeGroup: typeof AgeGroup;
498
- type index$8_Course = Course;
499
- type index$8_CourseCategory = CourseCategory;
500
- declare const index$8_CourseCategory: typeof CourseCategory;
501
- type index$8_MCourse = MCourse;
502
- type index$8_NYIGSchool = NYIGSchool;
503
- declare const index$8_NYIGSchool: typeof NYIGSchool;
504
- declare const index$8_zCourse: typeof zCourse;
505
- declare const index$8_zMCourse: typeof zMCourse;
506
- declare namespace index$8 {
507
- export { index$8_AgeGroup as AgeGroup, type index$8_Course as Course, index$8_CourseCategory as CourseCategory, type index$8_MCourse as MCourse, index$8_NYIGSchool as NYIGSchool, index$8_zCourse as zCourse, index$8_zMCourse as zMCourse };
508
- }
509
-
510
496
  declare const zGroupTracker: z.ZodObject<{
511
497
  /**
512
498
  * Mongoose object ID
@@ -617,32 +603,6 @@ declare const zScheduleData: z.ZodObject<{
617
603
  }>;
618
604
  type ScheduleData = z.infer<typeof zScheduleData>;
619
605
 
620
- type index$7_AttendState = AttendState;
621
- declare const index$7_AttendState: typeof AttendState;
622
- type index$7_Attendance = Attendance;
623
- type index$7_CampOption = CampOption;
624
- declare const index$7_CampOption: typeof CampOption;
625
- type index$7_CampTracker = CampTracker;
626
- type index$7_ClassTracker = ClassTracker;
627
- type index$7_GroupTracker = GroupTracker;
628
- type index$7_MAttendance = MAttendance;
629
- type index$7_MCampTracker = MCampTracker;
630
- type index$7_MClassTracker = MClassTracker;
631
- type index$7_MGroupTracker = MGroupTracker;
632
- type index$7_ScheduleData = ScheduleData;
633
- declare const index$7_zAttendance: typeof zAttendance;
634
- declare const index$7_zCampTracker: typeof zCampTracker;
635
- declare const index$7_zClassTracker: typeof zClassTracker;
636
- declare const index$7_zGroupTracker: typeof zGroupTracker;
637
- declare const index$7_zMAttendance: typeof zMAttendance;
638
- declare const index$7_zMCampTracker: typeof zMCampTracker;
639
- declare const index$7_zMClassTracker: typeof zMClassTracker;
640
- declare const index$7_zMGroupTracker: typeof zMGroupTracker;
641
- declare const index$7_zScheduleData: typeof zScheduleData;
642
- declare namespace index$7 {
643
- export { index$7_AttendState as AttendState, type index$7_Attendance as Attendance, index$7_CampOption as CampOption, type index$7_CampTracker as CampTracker, type index$7_ClassTracker as ClassTracker, type index$7_GroupTracker as GroupTracker, type index$7_MAttendance as MAttendance, type index$7_MCampTracker as MCampTracker, type index$7_MClassTracker as MClassTracker, type index$7_MGroupTracker as MGroupTracker, type index$7_ScheduleData as ScheduleData, index$7_zAttendance as zAttendance, index$7_zCampTracker as zCampTracker, index$7_zClassTracker as zClassTracker, index$7_zGroupTracker as zGroupTracker, index$7_zMAttendance as zMAttendance, index$7_zMCampTracker as zMCampTracker, index$7_zMClassTracker as zMClassTracker, index$7_zMGroupTracker as zMGroupTracker, index$7_zScheduleData as zScheduleData };
644
- }
645
-
646
606
  declare const zCampBooking: z.ZodObject<{
647
607
  firstName: z.ZodString;
648
608
  lastName: z.ZodString;
@@ -746,26 +706,6 @@ declare const zBPaymentInfo: z.ZodObject<{
746
706
  }>;
747
707
  type BPaymentInfo = z.infer<typeof zBPaymentInfo>;
748
708
 
749
- type index$6_BPaymentInfo = BPaymentInfo;
750
- type index$6_BPrivate = BPrivate;
751
- type index$6_BUserInfo = BUserInfo;
752
- type index$6_CampBooking = CampBooking;
753
- type index$6_GroupBooking = GroupBooking;
754
- type index$6_MBPrivate = MBPrivate;
755
- type index$6_MCampBooking = MCampBooking;
756
- type index$6_MGroupBooking = MGroupBooking;
757
- declare const index$6_zBPaymentInfo: typeof zBPaymentInfo;
758
- declare const index$6_zBUserInfo: typeof zBUserInfo;
759
- declare const index$6_zCampBooking: typeof zCampBooking;
760
- declare const index$6_zGroupBooking: typeof zGroupBooking;
761
- declare const index$6_zMCampBooking: typeof zMCampBooking;
762
- declare const index$6_zMGroupBooking: typeof zMGroupBooking;
763
- declare const index$6_zMPrivateBooking: typeof zMPrivateBooking;
764
- declare const index$6_zPrivateBooking: typeof zPrivateBooking;
765
- declare namespace index$6 {
766
- export { type index$6_BPaymentInfo as BPaymentInfo, type index$6_BPrivate as BPrivate, type index$6_BUserInfo as BUserInfo, type index$6_CampBooking as CampBooking, type index$6_GroupBooking as GroupBooking, type index$6_MBPrivate as MBPrivate, type index$6_MCampBooking as MCampBooking, type index$6_MGroupBooking as MGroupBooking, index$6_zBPaymentInfo as zBPaymentInfo, index$6_zBUserInfo as zBUserInfo, index$6_zCampBooking as zCampBooking, index$6_zGroupBooking as zGroupBooking, index$6_zMCampBooking as zMCampBooking, index$6_zMGroupBooking as zMGroupBooking, index$6_zMPrivateBooking as zMPrivateBooking, index$6_zPrivateBooking as zPrivateBooking };
767
- }
768
-
769
709
  declare enum PaymentMethod {
770
710
  CASH = "Cash",
771
711
  CHECK = "Check",
@@ -1059,30 +999,6 @@ declare const zTuition: z.ZodObject<{
1059
999
  }>;
1060
1000
  type Tuition = z.infer<typeof zTuition>;
1061
1001
 
1062
- type index$5_Discount = Discount;
1063
- type index$5_Invoice = Invoice;
1064
- type index$5_InvoiceItem = InvoiceItem;
1065
- type index$5_InvoicePackage = InvoicePackage;
1066
- type index$5_MInvoice = MInvoice;
1067
- type index$5_MTeacherPayment = MTeacherPayment;
1068
- type index$5_PaymentMethod = PaymentMethod;
1069
- declare const index$5_PaymentMethod: typeof PaymentMethod;
1070
- type index$5_TeacherPayment = TeacherPayment;
1071
- type index$5_TeacherPaymentRow = TeacherPaymentRow;
1072
- type index$5_Tuition = Tuition;
1073
- declare const index$5_zDiscount: typeof zDiscount;
1074
- declare const index$5_zInvoice: typeof zInvoice;
1075
- declare const index$5_zInvoiceItem: typeof zInvoiceItem;
1076
- declare const index$5_zInvoicePackage: typeof zInvoicePackage;
1077
- declare const index$5_zMInvoice: typeof zMInvoice;
1078
- declare const index$5_zMTeacherPayment: typeof zMTeacherPayment;
1079
- declare const index$5_zTeacherPayment: typeof zTeacherPayment;
1080
- declare const index$5_zTeacherPaymentRow: typeof zTeacherPaymentRow;
1081
- declare const index$5_zTuition: typeof zTuition;
1082
- declare namespace index$5 {
1083
- export { type index$5_Discount as Discount, type index$5_Invoice as Invoice, type index$5_InvoiceItem as InvoiceItem, type index$5_InvoicePackage as InvoicePackage, type index$5_MInvoice as MInvoice, type index$5_MTeacherPayment as MTeacherPayment, index$5_PaymentMethod as PaymentMethod, type index$5_TeacherPayment as TeacherPayment, type index$5_TeacherPaymentRow as TeacherPaymentRow, type index$5_Tuition as Tuition, index$5_zDiscount as zDiscount, index$5_zInvoice as zInvoice, index$5_zInvoiceItem as zInvoiceItem, index$5_zInvoicePackage as zInvoicePackage, index$5_zMInvoice as zMInvoice, index$5_zMTeacherPayment as zMTeacherPayment, index$5_zTeacherPayment as zTeacherPayment, index$5_zTeacherPaymentRow as zTeacherPaymentRow, index$5_zTuition as zTuition };
1084
- }
1085
-
1086
1002
  declare const zTeacherDisplay: z.ZodObject<{
1087
1003
  name: z.ZodString;
1088
1004
  email: z.ZodString;
@@ -1163,25 +1079,13 @@ declare const zImageDef: z.ZodObject<{
1163
1079
  }>;
1164
1080
  type ImageDef = z.infer<typeof zImageDef>;
1165
1081
 
1166
- type index$4_AuroraCourses = AuroraCourses;
1167
- type index$4_CourseTable = CourseTable;
1168
- type index$4_ImageDef = ImageDef;
1169
- type index$4_MNYIGMission = MNYIGMission;
1170
- type index$4_NYIGMission = NYIGMission;
1171
- type index$4_TeacherDisplay = TeacherDisplay;
1172
- declare const index$4_zCourseTable: typeof zCourseTable;
1173
- declare const index$4_zImageDef: typeof zImageDef;
1174
- declare const index$4_zTeacherDisplay: typeof zTeacherDisplay;
1175
- declare namespace index$4 {
1176
- export { type index$4_AuroraCourses as AuroraCourses, type index$4_CourseTable as CourseTable, type index$4_ImageDef as ImageDef, type index$4_MNYIGMission as MNYIGMission, type index$4_NYIGMission as NYIGMission, type index$4_TeacherDisplay as TeacherDisplay, index$4_zCourseTable as zCourseTable, index$4_zImageDef as zImageDef, index$4_zTeacherDisplay as zTeacherDisplay };
1177
- }
1178
-
1179
1082
  declare enum TicketStatus {
1180
1083
  REQUESTED = "Requested",
1181
1084
  IN_PROGRESS = "In-progress",
1182
1085
  SIGN_OFF = "Sign-off",
1183
1086
  COMPLETED = "Completed"
1184
1087
  }
1088
+
1185
1089
  declare const zReportTicket: z.ZodObject<{
1186
1090
  requester: z.ZodString;
1187
1091
  resolver: z.ZodString;
@@ -1226,14 +1130,6 @@ declare const zMReportTicket: z.ZodObject<{
1226
1130
  type ReportTicket = z.infer<typeof zReportTicket>;
1227
1131
  type MReportTicket = z.infer<typeof zMReportTicket>;
1228
1132
 
1229
- type index$3_MReportTicket = MReportTicket;
1230
- type index$3_ReportTicket = ReportTicket;
1231
- declare const index$3_zMReportTicket: typeof zMReportTicket;
1232
- declare const index$3_zReportTicket: typeof zReportTicket;
1233
- declare namespace index$3 {
1234
- export { type index$3_MReportTicket as MReportTicket, type index$3_ReportTicket as ReportTicket, index$3_zMReportTicket as zMReportTicket, index$3_zReportTicket as zReportTicket };
1235
- }
1236
-
1237
1133
  declare enum Season {
1238
1134
  FALL = "fall",
1239
1135
  SPRING = "spring",
@@ -1293,16 +1189,6 @@ declare const zMSemester: z.ZodObject<{
1293
1189
  type Semester = z.infer<typeof zSemester>;
1294
1190
  type MSemester = z.infer<typeof zMSemester>;
1295
1191
 
1296
- type index$2_MSemester = MSemester;
1297
- type index$2_Season = Season;
1298
- declare const index$2_Season: typeof Season;
1299
- type index$2_Semester = Semester;
1300
- declare const index$2_zMSemester: typeof zMSemester;
1301
- declare const index$2_zSemester: typeof zSemester;
1302
- declare namespace index$2 {
1303
- export { type index$2_MSemester as MSemester, index$2_Season as Season, type index$2_Semester as Semester, index$2_zMSemester as zMSemester, index$2_zSemester as zSemester };
1304
- }
1305
-
1306
1192
  declare const zTConfig: z.ZodObject<{
1307
1193
  /**
1308
1194
  * Location of the event
@@ -1658,28 +1544,6 @@ declare const zMTTicket: z.ZodObject<{
1658
1544
  type TTicket = z.infer<typeof zTTicket>;
1659
1545
  type MTTicket = z.infer<typeof zMTTicket>;
1660
1546
 
1661
- type index$1_DetailsTable = DetailsTable;
1662
- type index$1_MTConfig = MTConfig;
1663
- type index$1_MTReg = MTReg;
1664
- type index$1_MTTicket = MTTicket;
1665
- type index$1_ScheduleTable = ScheduleTable;
1666
- type index$1_TConfig = TConfig;
1667
- type index$1_TReg = TReg;
1668
- type index$1_TTicket = TTicket;
1669
- type index$1_TTicketReg = TTicketReg;
1670
- declare const index$1_zDetailsTable: typeof zDetailsTable;
1671
- declare const index$1_zMTConfig: typeof zMTConfig;
1672
- declare const index$1_zMTReg: typeof zMTReg;
1673
- declare const index$1_zMTTicket: typeof zMTTicket;
1674
- declare const index$1_zScheduleTable: typeof zScheduleTable;
1675
- declare const index$1_zTConfig: typeof zTConfig;
1676
- declare const index$1_zTReg: typeof zTReg;
1677
- declare const index$1_zTTicket: typeof zTTicket;
1678
- declare const index$1_zTTicketReg: typeof zTTicketReg;
1679
- declare namespace index$1 {
1680
- export { type index$1_DetailsTable as DetailsTable, type index$1_MTConfig as MTConfig, type index$1_MTReg as MTReg, type index$1_MTTicket as MTTicket, type index$1_ScheduleTable as ScheduleTable, type index$1_TConfig as TConfig, type index$1_TReg as TReg, type index$1_TTicket as TTicket, type index$1_TTicketReg as TTicketReg, index$1_zDetailsTable as zDetailsTable, index$1_zMTConfig as zMTConfig, index$1_zMTReg as zMTReg, index$1_zMTTicket as zMTTicket, index$1_zScheduleTable as zScheduleTable, index$1_zTConfig as zTConfig, index$1_zTReg as zTReg, index$1_zTTicket as zTTicket, index$1_zTTicketReg as zTTicketReg };
1681
- }
1682
-
1683
1547
  declare enum GoRank {
1684
1548
  KYU1 = "1k",
1685
1549
  KYU2 = "2k",
@@ -1986,24 +1850,4 @@ declare const zUserRoles: z.ZodObject<{
1986
1850
  }>;
1987
1851
  type UserRoles = z.infer<typeof zUserRoles>;
1988
1852
 
1989
- type index_GoRank = GoRank;
1990
- declare const index_GoRank: typeof GoRank;
1991
- type index_MStudent = MStudent;
1992
- type index_MTeacher = MTeacher;
1993
- type index_MUser = MUser;
1994
- type index_Student = Student;
1995
- type index_Teacher = Teacher;
1996
- type index_User = User;
1997
- type index_UserRoles = UserRoles;
1998
- declare const index_zMStudent: typeof zMStudent;
1999
- declare const index_zMTeacher: typeof zMTeacher;
2000
- declare const index_zMUser: typeof zMUser;
2001
- declare const index_zStudent: typeof zStudent;
2002
- declare const index_zTeacher: typeof zTeacher;
2003
- declare const index_zUser: typeof zUser;
2004
- declare const index_zUserRoles: typeof zUserRoles;
2005
- declare namespace index {
2006
- export { index_GoRank as GoRank, type index_MStudent as MStudent, type index_MTeacher as MTeacher, type index_MUser as MUser, type index_Student as Student, type index_Teacher as Teacher, type index_User as User, type index_UserRoles as UserRoles, index_zMStudent as zMStudent, index_zMTeacher as zMTeacher, index_zMUser as zMUser, index_zStudent as zStudent, index_zTeacher as zTeacher, index_zUser as zUser, index_zUserRoles as zUserRoles };
2007
- }
2008
-
2009
- export { index$6 as booking, index$8 as course, index$5 as payment, index$4 as pub, index$3 as reporting, index$2 as semester, index$1 as tournament, index$7 as tracking, index as user };
1853
+ export { AgeGroup, AttendState, type Attendance, type AuroraCourses, type BPaymentInfo, type BPrivate, type BUserInfo, type CampBooking, CampOption, type CampTracker, type ClassTracker, type Course, CourseCategory, type CourseTable, type DetailsTable, type Discount, GoRank, type GroupBooking, type GroupTracker, type ImageDef, type Invoice, type InvoiceItem, type InvoicePackage, type MAttendance, type MBPrivate, type MCampBooking, type MCampTracker, type MClassTracker, type MCourse, type MGroupBooking, type MGroupTracker, type MInvoice, type MNYIGMission, type MReportTicket, type MSemester, type MStudent, type MTConfig, type MTReg, type MTTicket, type MTeacher, type MTeacherPayment, type MUser, type NYIGMission, NYIGSchool, PaymentMethod, type ReportTicket, type ScheduleData, type ScheduleTable, Season, type Semester, type Student, type TConfig, type TReg, type TTicket, type TTicketReg, type Teacher, type TeacherDisplay, type TeacherPayment, type TeacherPaymentRow, TicketStatus, type Tuition, type User, type UserRoles, zAttendance, zBPaymentInfo, zBUserInfo, zCampBooking, zCampTracker, zClassTracker, zCourse, zCourseTable, zDetailsTable, zDiscount, zGroupBooking, zGroupTracker, zImageDef, zInvoice, zInvoiceItem, zInvoicePackage, zMAttendance, zMCampBooking, zMCampTracker, zMClassTracker, zMCourse, zMGroupBooking, zMGroupTracker, zMInvoice, zMPrivateBooking, zMReportTicket, zMSemester, zMStudent, zMTConfig, zMTReg, zMTTicket, zMTeacher, zMTeacherPayment, zMUser, zPrivateBooking, zReportTicket, zScheduleData, zScheduleTable, zSemester, zStudent, zTConfig, zTReg, zTTicket, zTTicketReg, zTeacher, zTeacherDisplay, zTeacherPayment, zTeacherPaymentRow, zTuition, zUser, zUserRoles };
package/index.d.ts CHANGED
@@ -493,20 +493,6 @@ declare const zMCourse: z.ZodObject<{
493
493
  type Course = z.infer<typeof zCourse>;
494
494
  type MCourse = z.infer<typeof zMCourse>;
495
495
 
496
- type index$8_AgeGroup = AgeGroup;
497
- declare const index$8_AgeGroup: typeof AgeGroup;
498
- type index$8_Course = Course;
499
- type index$8_CourseCategory = CourseCategory;
500
- declare const index$8_CourseCategory: typeof CourseCategory;
501
- type index$8_MCourse = MCourse;
502
- type index$8_NYIGSchool = NYIGSchool;
503
- declare const index$8_NYIGSchool: typeof NYIGSchool;
504
- declare const index$8_zCourse: typeof zCourse;
505
- declare const index$8_zMCourse: typeof zMCourse;
506
- declare namespace index$8 {
507
- export { index$8_AgeGroup as AgeGroup, type index$8_Course as Course, index$8_CourseCategory as CourseCategory, type index$8_MCourse as MCourse, index$8_NYIGSchool as NYIGSchool, index$8_zCourse as zCourse, index$8_zMCourse as zMCourse };
508
- }
509
-
510
496
  declare const zGroupTracker: z.ZodObject<{
511
497
  /**
512
498
  * Mongoose object ID
@@ -617,32 +603,6 @@ declare const zScheduleData: z.ZodObject<{
617
603
  }>;
618
604
  type ScheduleData = z.infer<typeof zScheduleData>;
619
605
 
620
- type index$7_AttendState = AttendState;
621
- declare const index$7_AttendState: typeof AttendState;
622
- type index$7_Attendance = Attendance;
623
- type index$7_CampOption = CampOption;
624
- declare const index$7_CampOption: typeof CampOption;
625
- type index$7_CampTracker = CampTracker;
626
- type index$7_ClassTracker = ClassTracker;
627
- type index$7_GroupTracker = GroupTracker;
628
- type index$7_MAttendance = MAttendance;
629
- type index$7_MCampTracker = MCampTracker;
630
- type index$7_MClassTracker = MClassTracker;
631
- type index$7_MGroupTracker = MGroupTracker;
632
- type index$7_ScheduleData = ScheduleData;
633
- declare const index$7_zAttendance: typeof zAttendance;
634
- declare const index$7_zCampTracker: typeof zCampTracker;
635
- declare const index$7_zClassTracker: typeof zClassTracker;
636
- declare const index$7_zGroupTracker: typeof zGroupTracker;
637
- declare const index$7_zMAttendance: typeof zMAttendance;
638
- declare const index$7_zMCampTracker: typeof zMCampTracker;
639
- declare const index$7_zMClassTracker: typeof zMClassTracker;
640
- declare const index$7_zMGroupTracker: typeof zMGroupTracker;
641
- declare const index$7_zScheduleData: typeof zScheduleData;
642
- declare namespace index$7 {
643
- export { index$7_AttendState as AttendState, type index$7_Attendance as Attendance, index$7_CampOption as CampOption, type index$7_CampTracker as CampTracker, type index$7_ClassTracker as ClassTracker, type index$7_GroupTracker as GroupTracker, type index$7_MAttendance as MAttendance, type index$7_MCampTracker as MCampTracker, type index$7_MClassTracker as MClassTracker, type index$7_MGroupTracker as MGroupTracker, type index$7_ScheduleData as ScheduleData, index$7_zAttendance as zAttendance, index$7_zCampTracker as zCampTracker, index$7_zClassTracker as zClassTracker, index$7_zGroupTracker as zGroupTracker, index$7_zMAttendance as zMAttendance, index$7_zMCampTracker as zMCampTracker, index$7_zMClassTracker as zMClassTracker, index$7_zMGroupTracker as zMGroupTracker, index$7_zScheduleData as zScheduleData };
644
- }
645
-
646
606
  declare const zCampBooking: z.ZodObject<{
647
607
  firstName: z.ZodString;
648
608
  lastName: z.ZodString;
@@ -746,26 +706,6 @@ declare const zBPaymentInfo: z.ZodObject<{
746
706
  }>;
747
707
  type BPaymentInfo = z.infer<typeof zBPaymentInfo>;
748
708
 
749
- type index$6_BPaymentInfo = BPaymentInfo;
750
- type index$6_BPrivate = BPrivate;
751
- type index$6_BUserInfo = BUserInfo;
752
- type index$6_CampBooking = CampBooking;
753
- type index$6_GroupBooking = GroupBooking;
754
- type index$6_MBPrivate = MBPrivate;
755
- type index$6_MCampBooking = MCampBooking;
756
- type index$6_MGroupBooking = MGroupBooking;
757
- declare const index$6_zBPaymentInfo: typeof zBPaymentInfo;
758
- declare const index$6_zBUserInfo: typeof zBUserInfo;
759
- declare const index$6_zCampBooking: typeof zCampBooking;
760
- declare const index$6_zGroupBooking: typeof zGroupBooking;
761
- declare const index$6_zMCampBooking: typeof zMCampBooking;
762
- declare const index$6_zMGroupBooking: typeof zMGroupBooking;
763
- declare const index$6_zMPrivateBooking: typeof zMPrivateBooking;
764
- declare const index$6_zPrivateBooking: typeof zPrivateBooking;
765
- declare namespace index$6 {
766
- export { type index$6_BPaymentInfo as BPaymentInfo, type index$6_BPrivate as BPrivate, type index$6_BUserInfo as BUserInfo, type index$6_CampBooking as CampBooking, type index$6_GroupBooking as GroupBooking, type index$6_MBPrivate as MBPrivate, type index$6_MCampBooking as MCampBooking, type index$6_MGroupBooking as MGroupBooking, index$6_zBPaymentInfo as zBPaymentInfo, index$6_zBUserInfo as zBUserInfo, index$6_zCampBooking as zCampBooking, index$6_zGroupBooking as zGroupBooking, index$6_zMCampBooking as zMCampBooking, index$6_zMGroupBooking as zMGroupBooking, index$6_zMPrivateBooking as zMPrivateBooking, index$6_zPrivateBooking as zPrivateBooking };
767
- }
768
-
769
709
  declare enum PaymentMethod {
770
710
  CASH = "Cash",
771
711
  CHECK = "Check",
@@ -1059,30 +999,6 @@ declare const zTuition: z.ZodObject<{
1059
999
  }>;
1060
1000
  type Tuition = z.infer<typeof zTuition>;
1061
1001
 
1062
- type index$5_Discount = Discount;
1063
- type index$5_Invoice = Invoice;
1064
- type index$5_InvoiceItem = InvoiceItem;
1065
- type index$5_InvoicePackage = InvoicePackage;
1066
- type index$5_MInvoice = MInvoice;
1067
- type index$5_MTeacherPayment = MTeacherPayment;
1068
- type index$5_PaymentMethod = PaymentMethod;
1069
- declare const index$5_PaymentMethod: typeof PaymentMethod;
1070
- type index$5_TeacherPayment = TeacherPayment;
1071
- type index$5_TeacherPaymentRow = TeacherPaymentRow;
1072
- type index$5_Tuition = Tuition;
1073
- declare const index$5_zDiscount: typeof zDiscount;
1074
- declare const index$5_zInvoice: typeof zInvoice;
1075
- declare const index$5_zInvoiceItem: typeof zInvoiceItem;
1076
- declare const index$5_zInvoicePackage: typeof zInvoicePackage;
1077
- declare const index$5_zMInvoice: typeof zMInvoice;
1078
- declare const index$5_zMTeacherPayment: typeof zMTeacherPayment;
1079
- declare const index$5_zTeacherPayment: typeof zTeacherPayment;
1080
- declare const index$5_zTeacherPaymentRow: typeof zTeacherPaymentRow;
1081
- declare const index$5_zTuition: typeof zTuition;
1082
- declare namespace index$5 {
1083
- export { type index$5_Discount as Discount, type index$5_Invoice as Invoice, type index$5_InvoiceItem as InvoiceItem, type index$5_InvoicePackage as InvoicePackage, type index$5_MInvoice as MInvoice, type index$5_MTeacherPayment as MTeacherPayment, index$5_PaymentMethod as PaymentMethod, type index$5_TeacherPayment as TeacherPayment, type index$5_TeacherPaymentRow as TeacherPaymentRow, type index$5_Tuition as Tuition, index$5_zDiscount as zDiscount, index$5_zInvoice as zInvoice, index$5_zInvoiceItem as zInvoiceItem, index$5_zInvoicePackage as zInvoicePackage, index$5_zMInvoice as zMInvoice, index$5_zMTeacherPayment as zMTeacherPayment, index$5_zTeacherPayment as zTeacherPayment, index$5_zTeacherPaymentRow as zTeacherPaymentRow, index$5_zTuition as zTuition };
1084
- }
1085
-
1086
1002
  declare const zTeacherDisplay: z.ZodObject<{
1087
1003
  name: z.ZodString;
1088
1004
  email: z.ZodString;
@@ -1163,25 +1079,13 @@ declare const zImageDef: z.ZodObject<{
1163
1079
  }>;
1164
1080
  type ImageDef = z.infer<typeof zImageDef>;
1165
1081
 
1166
- type index$4_AuroraCourses = AuroraCourses;
1167
- type index$4_CourseTable = CourseTable;
1168
- type index$4_ImageDef = ImageDef;
1169
- type index$4_MNYIGMission = MNYIGMission;
1170
- type index$4_NYIGMission = NYIGMission;
1171
- type index$4_TeacherDisplay = TeacherDisplay;
1172
- declare const index$4_zCourseTable: typeof zCourseTable;
1173
- declare const index$4_zImageDef: typeof zImageDef;
1174
- declare const index$4_zTeacherDisplay: typeof zTeacherDisplay;
1175
- declare namespace index$4 {
1176
- export { type index$4_AuroraCourses as AuroraCourses, type index$4_CourseTable as CourseTable, type index$4_ImageDef as ImageDef, type index$4_MNYIGMission as MNYIGMission, type index$4_NYIGMission as NYIGMission, type index$4_TeacherDisplay as TeacherDisplay, index$4_zCourseTable as zCourseTable, index$4_zImageDef as zImageDef, index$4_zTeacherDisplay as zTeacherDisplay };
1177
- }
1178
-
1179
1082
  declare enum TicketStatus {
1180
1083
  REQUESTED = "Requested",
1181
1084
  IN_PROGRESS = "In-progress",
1182
1085
  SIGN_OFF = "Sign-off",
1183
1086
  COMPLETED = "Completed"
1184
1087
  }
1088
+
1185
1089
  declare const zReportTicket: z.ZodObject<{
1186
1090
  requester: z.ZodString;
1187
1091
  resolver: z.ZodString;
@@ -1226,14 +1130,6 @@ declare const zMReportTicket: z.ZodObject<{
1226
1130
  type ReportTicket = z.infer<typeof zReportTicket>;
1227
1131
  type MReportTicket = z.infer<typeof zMReportTicket>;
1228
1132
 
1229
- type index$3_MReportTicket = MReportTicket;
1230
- type index$3_ReportTicket = ReportTicket;
1231
- declare const index$3_zMReportTicket: typeof zMReportTicket;
1232
- declare const index$3_zReportTicket: typeof zReportTicket;
1233
- declare namespace index$3 {
1234
- export { type index$3_MReportTicket as MReportTicket, type index$3_ReportTicket as ReportTicket, index$3_zMReportTicket as zMReportTicket, index$3_zReportTicket as zReportTicket };
1235
- }
1236
-
1237
1133
  declare enum Season {
1238
1134
  FALL = "fall",
1239
1135
  SPRING = "spring",
@@ -1293,16 +1189,6 @@ declare const zMSemester: z.ZodObject<{
1293
1189
  type Semester = z.infer<typeof zSemester>;
1294
1190
  type MSemester = z.infer<typeof zMSemester>;
1295
1191
 
1296
- type index$2_MSemester = MSemester;
1297
- type index$2_Season = Season;
1298
- declare const index$2_Season: typeof Season;
1299
- type index$2_Semester = Semester;
1300
- declare const index$2_zMSemester: typeof zMSemester;
1301
- declare const index$2_zSemester: typeof zSemester;
1302
- declare namespace index$2 {
1303
- export { type index$2_MSemester as MSemester, index$2_Season as Season, type index$2_Semester as Semester, index$2_zMSemester as zMSemester, index$2_zSemester as zSemester };
1304
- }
1305
-
1306
1192
  declare const zTConfig: z.ZodObject<{
1307
1193
  /**
1308
1194
  * Location of the event
@@ -1658,28 +1544,6 @@ declare const zMTTicket: z.ZodObject<{
1658
1544
  type TTicket = z.infer<typeof zTTicket>;
1659
1545
  type MTTicket = z.infer<typeof zMTTicket>;
1660
1546
 
1661
- type index$1_DetailsTable = DetailsTable;
1662
- type index$1_MTConfig = MTConfig;
1663
- type index$1_MTReg = MTReg;
1664
- type index$1_MTTicket = MTTicket;
1665
- type index$1_ScheduleTable = ScheduleTable;
1666
- type index$1_TConfig = TConfig;
1667
- type index$1_TReg = TReg;
1668
- type index$1_TTicket = TTicket;
1669
- type index$1_TTicketReg = TTicketReg;
1670
- declare const index$1_zDetailsTable: typeof zDetailsTable;
1671
- declare const index$1_zMTConfig: typeof zMTConfig;
1672
- declare const index$1_zMTReg: typeof zMTReg;
1673
- declare const index$1_zMTTicket: typeof zMTTicket;
1674
- declare const index$1_zScheduleTable: typeof zScheduleTable;
1675
- declare const index$1_zTConfig: typeof zTConfig;
1676
- declare const index$1_zTReg: typeof zTReg;
1677
- declare const index$1_zTTicket: typeof zTTicket;
1678
- declare const index$1_zTTicketReg: typeof zTTicketReg;
1679
- declare namespace index$1 {
1680
- export { type index$1_DetailsTable as DetailsTable, type index$1_MTConfig as MTConfig, type index$1_MTReg as MTReg, type index$1_MTTicket as MTTicket, type index$1_ScheduleTable as ScheduleTable, type index$1_TConfig as TConfig, type index$1_TReg as TReg, type index$1_TTicket as TTicket, type index$1_TTicketReg as TTicketReg, index$1_zDetailsTable as zDetailsTable, index$1_zMTConfig as zMTConfig, index$1_zMTReg as zMTReg, index$1_zMTTicket as zMTTicket, index$1_zScheduleTable as zScheduleTable, index$1_zTConfig as zTConfig, index$1_zTReg as zTReg, index$1_zTTicket as zTTicket, index$1_zTTicketReg as zTTicketReg };
1681
- }
1682
-
1683
1547
  declare enum GoRank {
1684
1548
  KYU1 = "1k",
1685
1549
  KYU2 = "2k",
@@ -1986,24 +1850,4 @@ declare const zUserRoles: z.ZodObject<{
1986
1850
  }>;
1987
1851
  type UserRoles = z.infer<typeof zUserRoles>;
1988
1852
 
1989
- type index_GoRank = GoRank;
1990
- declare const index_GoRank: typeof GoRank;
1991
- type index_MStudent = MStudent;
1992
- type index_MTeacher = MTeacher;
1993
- type index_MUser = MUser;
1994
- type index_Student = Student;
1995
- type index_Teacher = Teacher;
1996
- type index_User = User;
1997
- type index_UserRoles = UserRoles;
1998
- declare const index_zMStudent: typeof zMStudent;
1999
- declare const index_zMTeacher: typeof zMTeacher;
2000
- declare const index_zMUser: typeof zMUser;
2001
- declare const index_zStudent: typeof zStudent;
2002
- declare const index_zTeacher: typeof zTeacher;
2003
- declare const index_zUser: typeof zUser;
2004
- declare const index_zUserRoles: typeof zUserRoles;
2005
- declare namespace index {
2006
- export { index_GoRank as GoRank, type index_MStudent as MStudent, type index_MTeacher as MTeacher, type index_MUser as MUser, type index_Student as Student, type index_Teacher as Teacher, type index_User as User, type index_UserRoles as UserRoles, index_zMStudent as zMStudent, index_zMTeacher as zMTeacher, index_zMUser as zMUser, index_zStudent as zStudent, index_zTeacher as zTeacher, index_zUser as zUser, index_zUserRoles as zUserRoles };
2007
- }
2008
-
2009
- export { index$6 as booking, index$8 as course, index$5 as payment, index$4 as pub, index$3 as reporting, index$2 as semester, index$1 as tournament, index$7 as tracking, index as user };
1853
+ export { AgeGroup, AttendState, type Attendance, type AuroraCourses, type BPaymentInfo, type BPrivate, type BUserInfo, type CampBooking, CampOption, type CampTracker, type ClassTracker, type Course, CourseCategory, type CourseTable, type DetailsTable, type Discount, GoRank, type GroupBooking, type GroupTracker, type ImageDef, type Invoice, type InvoiceItem, type InvoicePackage, type MAttendance, type MBPrivate, type MCampBooking, type MCampTracker, type MClassTracker, type MCourse, type MGroupBooking, type MGroupTracker, type MInvoice, type MNYIGMission, type MReportTicket, type MSemester, type MStudent, type MTConfig, type MTReg, type MTTicket, type MTeacher, type MTeacherPayment, type MUser, type NYIGMission, NYIGSchool, PaymentMethod, type ReportTicket, type ScheduleData, type ScheduleTable, Season, type Semester, type Student, type TConfig, type TReg, type TTicket, type TTicketReg, type Teacher, type TeacherDisplay, type TeacherPayment, type TeacherPaymentRow, TicketStatus, type Tuition, type User, type UserRoles, zAttendance, zBPaymentInfo, zBUserInfo, zCampBooking, zCampTracker, zClassTracker, zCourse, zCourseTable, zDetailsTable, zDiscount, zGroupBooking, zGroupTracker, zImageDef, zInvoice, zInvoiceItem, zInvoicePackage, zMAttendance, zMCampBooking, zMCampTracker, zMClassTracker, zMCourse, zMGroupBooking, zMGroupTracker, zMInvoice, zMPrivateBooking, zMReportTicket, zMSemester, zMStudent, zMTConfig, zMTReg, zMTTicket, zMTeacher, zMTeacherPayment, zMUser, zPrivateBooking, zReportTicket, zScheduleData, zScheduleTable, zSemester, zStudent, zTConfig, zTReg, zTTicket, zTTicketReg, zTeacher, zTeacherDisplay, zTeacherPayment, zTeacherPaymentRow, zTuition, zUser, zUserRoles };
package/index.js CHANGED
@@ -20,30 +20,68 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
20
20
  // src/index.ts
21
21
  var src_exports = {};
22
22
  __export(src_exports, {
23
- booking: () => booking_exports,
24
- course: () => course_exports,
25
- payment: () => payment_exports,
26
- pub: () => public_exports,
27
- reporting: () => reporting_exports,
28
- semester: () => semester_exports,
29
- tournament: () => tournament_exports,
30
- tracking: () => tracking_exports,
31
- user: () => user_exports
32
- });
33
- module.exports = __toCommonJS(src_exports);
34
-
35
- // src/interface/booking/index.ts
36
- var booking_exports = {};
37
- __export(booking_exports, {
23
+ AgeGroup: () => AgeGroup,
24
+ AttendState: () => AttendState,
25
+ CampOption: () => CampOption,
26
+ CourseCategory: () => CourseCategory,
27
+ GoRank: () => GoRank,
28
+ NYIGSchool: () => NYIGSchool,
29
+ PaymentMethod: () => PaymentMethod,
30
+ Season: () => Season,
31
+ TicketStatus: () => TicketStatus,
32
+ zAttendance: () => zAttendance,
38
33
  zBPaymentInfo: () => zBPaymentInfo,
39
34
  zBUserInfo: () => zBUserInfo,
40
35
  zCampBooking: () => zCampBooking,
36
+ zCampTracker: () => zCampTracker,
37
+ zClassTracker: () => zClassTracker,
38
+ zCourse: () => zCourse,
39
+ zCourseTable: () => zCourseTable,
40
+ zDetailsTable: () => zDetailsTable,
41
+ zDiscount: () => zDiscount,
41
42
  zGroupBooking: () => zGroupBooking,
43
+ zGroupTracker: () => zGroupTracker,
44
+ zImageDef: () => zImageDef,
45
+ zInvoice: () => zInvoice,
46
+ zInvoiceItem: () => zInvoiceItem,
47
+ zInvoicePackage: () => zInvoicePackage,
48
+ zMAttendance: () => zMAttendance,
42
49
  zMCampBooking: () => zMCampBooking,
50
+ zMCampTracker: () => zMCampTracker,
51
+ zMClassTracker: () => zMClassTracker,
52
+ zMCourse: () => zMCourse,
43
53
  zMGroupBooking: () => zMGroupBooking,
54
+ zMGroupTracker: () => zMGroupTracker,
55
+ zMInvoice: () => zMInvoice,
44
56
  zMPrivateBooking: () => zMPrivateBooking,
45
- zPrivateBooking: () => zPrivateBooking
57
+ zMReportTicket: () => zMReportTicket,
58
+ zMSemester: () => zMSemester,
59
+ zMStudent: () => zMStudent,
60
+ zMTConfig: () => zMTConfig,
61
+ zMTReg: () => zMTReg,
62
+ zMTTicket: () => zMTTicket,
63
+ zMTeacher: () => zMTeacher,
64
+ zMTeacherPayment: () => zMTeacherPayment,
65
+ zMUser: () => zMUser,
66
+ zPrivateBooking: () => zPrivateBooking,
67
+ zReportTicket: () => zReportTicket,
68
+ zScheduleData: () => zScheduleData,
69
+ zScheduleTable: () => zScheduleTable,
70
+ zSemester: () => zSemester,
71
+ zStudent: () => zStudent,
72
+ zTConfig: () => zTConfig,
73
+ zTReg: () => zTReg,
74
+ zTTicket: () => zTTicket,
75
+ zTTicketReg: () => zTTicketReg,
76
+ zTeacher: () => zTeacher,
77
+ zTeacherDisplay: () => zTeacherDisplay,
78
+ zTeacherPayment: () => zTeacherPayment,
79
+ zTeacherPaymentRow: () => zTeacherPaymentRow,
80
+ zTuition: () => zTuition,
81
+ zUser: () => zUser,
82
+ zUserRoles: () => zUserRoles
46
83
  });
84
+ module.exports = __toCommonJS(src_exports);
47
85
 
48
86
  // src/interface/booking/bUserInfo.ts
49
87
  var import_zod = require("zod");
@@ -113,22 +151,6 @@ var zMGroupBooking = extendZodObjectForMongoose(zGroupBooking);
113
151
  // src/interface/booking/campBooking.ts
114
152
  var import_zod15 = require("zod");
115
153
 
116
- // src/interface/tracking/index.ts
117
- var tracking_exports = {};
118
- __export(tracking_exports, {
119
- AttendState: () => AttendState,
120
- CampOption: () => CampOption,
121
- zAttendance: () => zAttendance,
122
- zCampTracker: () => zCampTracker,
123
- zClassTracker: () => zClassTracker,
124
- zGroupTracker: () => zGroupTracker,
125
- zMAttendance: () => zMAttendance,
126
- zMCampTracker: () => zMCampTracker,
127
- zMClassTracker: () => zMClassTracker,
128
- zMGroupTracker: () => zMGroupTracker,
129
- zScheduleData: () => zScheduleData
130
- });
131
-
132
154
  // src/interface/tracking/attendState.ts
133
155
  var AttendState = /* @__PURE__ */ ((AttendState2) => {
134
156
  AttendState2["ABSENT"] = "absent";
@@ -196,21 +218,6 @@ var zMCampTracker = extendZodObjectForMongoose(zCampTracker);
196
218
  // src/interface/tracking/classTracker.ts
197
219
  var import_zod11 = require("zod");
198
220
 
199
- // src/interface/payment/index.ts
200
- var payment_exports = {};
201
- __export(payment_exports, {
202
- PaymentMethod: () => PaymentMethod,
203
- zDiscount: () => zDiscount,
204
- zInvoice: () => zInvoice,
205
- zInvoiceItem: () => zInvoiceItem,
206
- zInvoicePackage: () => zInvoicePackage,
207
- zMInvoice: () => zMInvoice,
208
- zMTeacherPayment: () => zMTeacherPayment,
209
- zTeacherPayment: () => zTeacherPayment,
210
- zTeacherPaymentRow: () => zTeacherPaymentRow,
211
- zTuition: () => zTuition
212
- });
213
-
214
221
  // src/interface/payment/invoice.ts
215
222
  var import_zod9 = require("zod");
216
223
 
@@ -315,16 +322,6 @@ var zScheduleData = import_zod12.z.object({
315
322
  // integeters in 0 - 6
316
323
  });
317
324
 
318
- // src/interface/course/index.ts
319
- var course_exports = {};
320
- __export(course_exports, {
321
- AgeGroup: () => AgeGroup,
322
- CourseCategory: () => CourseCategory,
323
- NYIGSchool: () => NYIGSchool,
324
- zCourse: () => zCourse,
325
- zMCourse: () => zMCourse
326
- });
327
-
328
325
  // src/interface/course/ageGroup.ts
329
326
  var AgeGroup = /* @__PURE__ */ ((AgeGroup2) => {
330
327
  AgeGroup2["ADULT"] = "Adult";
@@ -432,14 +429,6 @@ var zCampBooking = import_zod15.z.object({
432
429
  }).merge(zBUserInfo).merge(zBPaymentInfo);
433
430
  var zMCampBooking = extendZodObjectForMongoose(zCampBooking);
434
431
 
435
- // src/interface/public/index.ts
436
- var public_exports = {};
437
- __export(public_exports, {
438
- zCourseTable: () => zCourseTable,
439
- zImageDef: () => zImageDef,
440
- zTeacherDisplay: () => zTeacherDisplay
441
- });
442
-
443
432
  // src/interface/public/aurora.ts
444
433
  var import_zod16 = require("zod");
445
434
  var zTeacherDisplay = import_zod16.z.object({
@@ -466,15 +455,10 @@ var zImageDef = import_zod17.z.object({
466
455
  width: import_zod17.z.number()
467
456
  });
468
457
 
469
- // src/interface/reporting/index.ts
470
- var reporting_exports = {};
471
- __export(reporting_exports, {
472
- zMReportTicket: () => zMReportTicket,
473
- zReportTicket: () => zReportTicket
474
- });
475
-
476
458
  // src/interface/reporting/reportTicket.ts
477
459
  var import_zod18 = require("zod");
460
+
461
+ // src/interface/reporting/ticketStatus.ts
478
462
  var TicketStatus = /* @__PURE__ */ ((TicketStatus2) => {
479
463
  TicketStatus2["REQUESTED"] = "Requested";
480
464
  TicketStatus2["IN_PROGRESS"] = "In-progress";
@@ -482,6 +466,8 @@ var TicketStatus = /* @__PURE__ */ ((TicketStatus2) => {
482
466
  TicketStatus2["COMPLETED"] = "Completed";
483
467
  return TicketStatus2;
484
468
  })(TicketStatus || {});
469
+
470
+ // src/interface/reporting/reportTicket.ts
485
471
  var zReportTicket = import_zod18.z.object({
486
472
  requester: import_zod18.z.string(),
487
473
  resolver: import_zod18.z.string(),
@@ -491,14 +477,6 @@ var zReportTicket = import_zod18.z.object({
491
477
  });
492
478
  var zMReportTicket = extendZodObjectForMongoose(zReportTicket);
493
479
 
494
- // src/interface/semester/index.ts
495
- var semester_exports = {};
496
- __export(semester_exports, {
497
- Season: () => Season,
498
- zMSemester: () => zMSemester,
499
- zSemester: () => zSemester
500
- });
501
-
502
480
  // src/interface/semester/season.ts
503
481
  var Season = /* @__PURE__ */ ((Season2) => {
504
482
  Season2["FALL"] = "fall";
@@ -525,20 +503,6 @@ var zSemester = import_zod19.z.object({
525
503
  });
526
504
  var zMSemester = extendZodObjectForMongoose(zSemester);
527
505
 
528
- // src/interface/tournament/index.ts
529
- var tournament_exports = {};
530
- __export(tournament_exports, {
531
- zDetailsTable: () => zDetailsTable,
532
- zMTConfig: () => zMTConfig,
533
- zMTReg: () => zMTReg,
534
- zMTTicket: () => zMTTicket,
535
- zScheduleTable: () => zScheduleTable,
536
- zTConfig: () => zTConfig,
537
- zTReg: () => zTReg,
538
- zTTicket: () => zTTicket,
539
- zTTicketReg: () => zTTicketReg
540
- });
541
-
542
506
  // src/interface/tournament/tConfig.ts
543
507
  var import_zod21 = require("zod");
544
508
 
@@ -680,19 +644,6 @@ var zTTicket = import_zod24.z.object({
680
644
  });
681
645
  var zMTTicket = extendZodObjectForMongoose(zTTicket);
682
646
 
683
- // src/interface/user/index.ts
684
- var user_exports = {};
685
- __export(user_exports, {
686
- GoRank: () => GoRank,
687
- zMStudent: () => zMStudent,
688
- zMTeacher: () => zMTeacher,
689
- zMUser: () => zMUser,
690
- zStudent: () => zStudent,
691
- zTeacher: () => zTeacher,
692
- zUser: () => zUser,
693
- zUserRoles: () => zUserRoles
694
- });
695
-
696
647
  // src/interface/user/goRank.ts
697
648
  var GoRank = /* @__PURE__ */ ((GoRank2) => {
698
649
  GoRank2["KYU1"] = "1k";
@@ -801,13 +752,64 @@ var zTeacher = zUser.extend({
801
752
  var zMTeacher = extendZodObjectForMongoose(zTeacher);
802
753
  // Annotate the CommonJS export names for ESM import in node:
803
754
  0 && (module.exports = {
804
- booking,
805
- course,
806
- payment,
807
- pub,
808
- reporting,
809
- semester,
810
- tournament,
811
- tracking,
812
- user
755
+ AgeGroup,
756
+ AttendState,
757
+ CampOption,
758
+ CourseCategory,
759
+ GoRank,
760
+ NYIGSchool,
761
+ PaymentMethod,
762
+ Season,
763
+ TicketStatus,
764
+ zAttendance,
765
+ zBPaymentInfo,
766
+ zBUserInfo,
767
+ zCampBooking,
768
+ zCampTracker,
769
+ zClassTracker,
770
+ zCourse,
771
+ zCourseTable,
772
+ zDetailsTable,
773
+ zDiscount,
774
+ zGroupBooking,
775
+ zGroupTracker,
776
+ zImageDef,
777
+ zInvoice,
778
+ zInvoiceItem,
779
+ zInvoicePackage,
780
+ zMAttendance,
781
+ zMCampBooking,
782
+ zMCampTracker,
783
+ zMClassTracker,
784
+ zMCourse,
785
+ zMGroupBooking,
786
+ zMGroupTracker,
787
+ zMInvoice,
788
+ zMPrivateBooking,
789
+ zMReportTicket,
790
+ zMSemester,
791
+ zMStudent,
792
+ zMTConfig,
793
+ zMTReg,
794
+ zMTTicket,
795
+ zMTeacher,
796
+ zMTeacherPayment,
797
+ zMUser,
798
+ zPrivateBooking,
799
+ zReportTicket,
800
+ zScheduleData,
801
+ zScheduleTable,
802
+ zSemester,
803
+ zStudent,
804
+ zTConfig,
805
+ zTReg,
806
+ zTTicket,
807
+ zTTicketReg,
808
+ zTeacher,
809
+ zTeacherDisplay,
810
+ zTeacherPayment,
811
+ zTeacherPaymentRow,
812
+ zTuition,
813
+ zUser,
814
+ zUserRoles
813
815
  });
package/index.mjs CHANGED
@@ -1,22 +1,3 @@
1
- var __defProp = Object.defineProperty;
2
- var __export = (target, all) => {
3
- for (var name in all)
4
- __defProp(target, name, { get: all[name], enumerable: true });
5
- };
6
-
7
- // src/interface/booking/index.ts
8
- var booking_exports = {};
9
- __export(booking_exports, {
10
- zBPaymentInfo: () => zBPaymentInfo,
11
- zBUserInfo: () => zBUserInfo,
12
- zCampBooking: () => zCampBooking,
13
- zGroupBooking: () => zGroupBooking,
14
- zMCampBooking: () => zMCampBooking,
15
- zMGroupBooking: () => zMGroupBooking,
16
- zMPrivateBooking: () => zMPrivateBooking,
17
- zPrivateBooking: () => zPrivateBooking
18
- });
19
-
20
1
  // src/interface/booking/bUserInfo.ts
21
2
  import { z } from "zod";
22
3
  var zBUserInfo = z.object({
@@ -85,22 +66,6 @@ var zMGroupBooking = extendZodObjectForMongoose(zGroupBooking);
85
66
  // src/interface/booking/campBooking.ts
86
67
  import { z as z15 } from "zod";
87
68
 
88
- // src/interface/tracking/index.ts
89
- var tracking_exports = {};
90
- __export(tracking_exports, {
91
- AttendState: () => AttendState,
92
- CampOption: () => CampOption,
93
- zAttendance: () => zAttendance,
94
- zCampTracker: () => zCampTracker,
95
- zClassTracker: () => zClassTracker,
96
- zGroupTracker: () => zGroupTracker,
97
- zMAttendance: () => zMAttendance,
98
- zMCampTracker: () => zMCampTracker,
99
- zMClassTracker: () => zMClassTracker,
100
- zMGroupTracker: () => zMGroupTracker,
101
- zScheduleData: () => zScheduleData
102
- });
103
-
104
69
  // src/interface/tracking/attendState.ts
105
70
  var AttendState = /* @__PURE__ */ ((AttendState2) => {
106
71
  AttendState2["ABSENT"] = "absent";
@@ -168,21 +133,6 @@ var zMCampTracker = extendZodObjectForMongoose(zCampTracker);
168
133
  // src/interface/tracking/classTracker.ts
169
134
  import { z as z11 } from "zod";
170
135
 
171
- // src/interface/payment/index.ts
172
- var payment_exports = {};
173
- __export(payment_exports, {
174
- PaymentMethod: () => PaymentMethod,
175
- zDiscount: () => zDiscount,
176
- zInvoice: () => zInvoice,
177
- zInvoiceItem: () => zInvoiceItem,
178
- zInvoicePackage: () => zInvoicePackage,
179
- zMInvoice: () => zMInvoice,
180
- zMTeacherPayment: () => zMTeacherPayment,
181
- zTeacherPayment: () => zTeacherPayment,
182
- zTeacherPaymentRow: () => zTeacherPaymentRow,
183
- zTuition: () => zTuition
184
- });
185
-
186
136
  // src/interface/payment/invoice.ts
187
137
  import { z as z9 } from "zod";
188
138
 
@@ -287,16 +237,6 @@ var zScheduleData = z12.object({
287
237
  // integeters in 0 - 6
288
238
  });
289
239
 
290
- // src/interface/course/index.ts
291
- var course_exports = {};
292
- __export(course_exports, {
293
- AgeGroup: () => AgeGroup,
294
- CourseCategory: () => CourseCategory,
295
- NYIGSchool: () => NYIGSchool,
296
- zCourse: () => zCourse,
297
- zMCourse: () => zMCourse
298
- });
299
-
300
240
  // src/interface/course/ageGroup.ts
301
241
  var AgeGroup = /* @__PURE__ */ ((AgeGroup2) => {
302
242
  AgeGroup2["ADULT"] = "Adult";
@@ -404,14 +344,6 @@ var zCampBooking = z15.object({
404
344
  }).merge(zBUserInfo).merge(zBPaymentInfo);
405
345
  var zMCampBooking = extendZodObjectForMongoose(zCampBooking);
406
346
 
407
- // src/interface/public/index.ts
408
- var public_exports = {};
409
- __export(public_exports, {
410
- zCourseTable: () => zCourseTable,
411
- zImageDef: () => zImageDef,
412
- zTeacherDisplay: () => zTeacherDisplay
413
- });
414
-
415
347
  // src/interface/public/aurora.ts
416
348
  import { z as z16 } from "zod";
417
349
  var zTeacherDisplay = z16.object({
@@ -438,15 +370,10 @@ var zImageDef = z17.object({
438
370
  width: z17.number()
439
371
  });
440
372
 
441
- // src/interface/reporting/index.ts
442
- var reporting_exports = {};
443
- __export(reporting_exports, {
444
- zMReportTicket: () => zMReportTicket,
445
- zReportTicket: () => zReportTicket
446
- });
447
-
448
373
  // src/interface/reporting/reportTicket.ts
449
374
  import { z as z18 } from "zod";
375
+
376
+ // src/interface/reporting/ticketStatus.ts
450
377
  var TicketStatus = /* @__PURE__ */ ((TicketStatus2) => {
451
378
  TicketStatus2["REQUESTED"] = "Requested";
452
379
  TicketStatus2["IN_PROGRESS"] = "In-progress";
@@ -454,6 +381,8 @@ var TicketStatus = /* @__PURE__ */ ((TicketStatus2) => {
454
381
  TicketStatus2["COMPLETED"] = "Completed";
455
382
  return TicketStatus2;
456
383
  })(TicketStatus || {});
384
+
385
+ // src/interface/reporting/reportTicket.ts
457
386
  var zReportTicket = z18.object({
458
387
  requester: z18.string(),
459
388
  resolver: z18.string(),
@@ -463,14 +392,6 @@ var zReportTicket = z18.object({
463
392
  });
464
393
  var zMReportTicket = extendZodObjectForMongoose(zReportTicket);
465
394
 
466
- // src/interface/semester/index.ts
467
- var semester_exports = {};
468
- __export(semester_exports, {
469
- Season: () => Season,
470
- zMSemester: () => zMSemester,
471
- zSemester: () => zSemester
472
- });
473
-
474
395
  // src/interface/semester/season.ts
475
396
  var Season = /* @__PURE__ */ ((Season2) => {
476
397
  Season2["FALL"] = "fall";
@@ -497,20 +418,6 @@ var zSemester = z19.object({
497
418
  });
498
419
  var zMSemester = extendZodObjectForMongoose(zSemester);
499
420
 
500
- // src/interface/tournament/index.ts
501
- var tournament_exports = {};
502
- __export(tournament_exports, {
503
- zDetailsTable: () => zDetailsTable,
504
- zMTConfig: () => zMTConfig,
505
- zMTReg: () => zMTReg,
506
- zMTTicket: () => zMTTicket,
507
- zScheduleTable: () => zScheduleTable,
508
- zTConfig: () => zTConfig,
509
- zTReg: () => zTReg,
510
- zTTicket: () => zTTicket,
511
- zTTicketReg: () => zTTicketReg
512
- });
513
-
514
421
  // src/interface/tournament/tConfig.ts
515
422
  import { z as z21 } from "zod";
516
423
 
@@ -652,19 +559,6 @@ var zTTicket = z24.object({
652
559
  });
653
560
  var zMTTicket = extendZodObjectForMongoose(zTTicket);
654
561
 
655
- // src/interface/user/index.ts
656
- var user_exports = {};
657
- __export(user_exports, {
658
- GoRank: () => GoRank,
659
- zMStudent: () => zMStudent,
660
- zMTeacher: () => zMTeacher,
661
- zMUser: () => zMUser,
662
- zStudent: () => zStudent,
663
- zTeacher: () => zTeacher,
664
- zUser: () => zUser,
665
- zUserRoles: () => zUserRoles
666
- });
667
-
668
562
  // src/interface/user/goRank.ts
669
563
  var GoRank = /* @__PURE__ */ ((GoRank2) => {
670
564
  GoRank2["KYU1"] = "1k";
@@ -772,13 +666,64 @@ var zTeacher = zUser.extend({
772
666
  });
773
667
  var zMTeacher = extendZodObjectForMongoose(zTeacher);
774
668
  export {
775
- booking_exports as booking,
776
- course_exports as course,
777
- payment_exports as payment,
778
- public_exports as pub,
779
- reporting_exports as reporting,
780
- semester_exports as semester,
781
- tournament_exports as tournament,
782
- tracking_exports as tracking,
783
- user_exports as user
669
+ AgeGroup,
670
+ AttendState,
671
+ CampOption,
672
+ CourseCategory,
673
+ GoRank,
674
+ NYIGSchool,
675
+ PaymentMethod,
676
+ Season,
677
+ TicketStatus,
678
+ zAttendance,
679
+ zBPaymentInfo,
680
+ zBUserInfo,
681
+ zCampBooking,
682
+ zCampTracker,
683
+ zClassTracker,
684
+ zCourse,
685
+ zCourseTable,
686
+ zDetailsTable,
687
+ zDiscount,
688
+ zGroupBooking,
689
+ zGroupTracker,
690
+ zImageDef,
691
+ zInvoice,
692
+ zInvoiceItem,
693
+ zInvoicePackage,
694
+ zMAttendance,
695
+ zMCampBooking,
696
+ zMCampTracker,
697
+ zMClassTracker,
698
+ zMCourse,
699
+ zMGroupBooking,
700
+ zMGroupTracker,
701
+ zMInvoice,
702
+ zMPrivateBooking,
703
+ zMReportTicket,
704
+ zMSemester,
705
+ zMStudent,
706
+ zMTConfig,
707
+ zMTReg,
708
+ zMTTicket,
709
+ zMTeacher,
710
+ zMTeacherPayment,
711
+ zMUser,
712
+ zPrivateBooking,
713
+ zReportTicket,
714
+ zScheduleData,
715
+ zScheduleTable,
716
+ zSemester,
717
+ zStudent,
718
+ zTConfig,
719
+ zTReg,
720
+ zTTicket,
721
+ zTTicketReg,
722
+ zTeacher,
723
+ zTeacherDisplay,
724
+ zTeacherPayment,
725
+ zTeacherPaymentRow,
726
+ zTuition,
727
+ zUser,
728
+ zUserRoles
784
729
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nyig/models",
3
- "version": "0.2.7",
3
+ "version": "0.2.9",
4
4
  "license": "MIT",
5
5
  "main": "index.js",
6
6
  "module": "index.mjs",