@nyig/models 0.2.12 → 0.2.13

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 +186 -260
  2. package/index.d.ts +186 -260
  3. package/index.js +204 -242
  4. package/index.mjs +204 -242
  5. package/package.json +1 -1
package/index.d.mts CHANGED
@@ -1,5 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  import * as mongoose from 'mongoose';
3
+ import { Types } from 'mongoose';
3
4
 
4
5
  declare const zBPaymentInfo: z.ZodObject<{
5
6
  /**
@@ -74,7 +75,7 @@ declare enum CampOption {
74
75
  }
75
76
 
76
77
  declare const zAttendance: z.ZodObject<{
77
- student: z.ZodString;
78
+ student: z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>;
78
79
  states: z.ZodArray<z.ZodNativeEnum<typeof AttendState>, "many">;
79
80
  tuition: z.ZodObject<{
80
81
  primary: z.ZodNumber;
@@ -92,7 +93,7 @@ declare const zAttendance: z.ZodObject<{
92
93
  paid: z.ZodOptional<z.ZodBoolean>;
93
94
  campOption: z.ZodNativeEnum<typeof CampOption>;
94
95
  }, "strip", z.ZodTypeAny, {
95
- student: string;
96
+ student: Types.ObjectId;
96
97
  states: AttendState[];
97
98
  tuition: {
98
99
  primary: number;
@@ -102,7 +103,7 @@ declare const zAttendance: z.ZodObject<{
102
103
  campOption: CampOption;
103
104
  paid?: boolean | undefined;
104
105
  }, {
105
- student: string;
106
+ student: Types.ObjectId;
106
107
  states: AttendState[];
107
108
  tuition: {
108
109
  primary: number;
@@ -113,7 +114,7 @@ declare const zAttendance: z.ZodObject<{
113
114
  paid?: boolean | undefined;
114
115
  }>;
115
116
  declare const zMAttendance: z.ZodObject<{
116
- student: z.ZodString;
117
+ student: z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>;
117
118
  states: z.ZodArray<z.ZodNativeEnum<typeof AttendState>, "many">;
118
119
  tuition: z.ZodObject<{
119
120
  primary: z.ZodNumber;
@@ -130,12 +131,12 @@ declare const zMAttendance: z.ZodObject<{
130
131
  }>;
131
132
  paid: z.ZodOptional<z.ZodBoolean>;
132
133
  campOption: z.ZodNativeEnum<typeof CampOption>;
133
- _id: z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>;
134
+ _id: z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>;
134
135
  createdAt: z.ZodOptional<z.ZodDate>;
135
136
  updatedAt: z.ZodOptional<z.ZodDate>;
136
137
  }, z.UnknownKeysParam, z.ZodTypeAny, {
137
- _id: mongoose.Types.ObjectId;
138
- student: string;
138
+ _id: Types.ObjectId;
139
+ student: Types.ObjectId;
139
140
  states: AttendState[];
140
141
  tuition: {
141
142
  primary: number;
@@ -147,8 +148,8 @@ declare const zMAttendance: z.ZodObject<{
147
148
  createdAt?: Date | undefined;
148
149
  updatedAt?: Date | undefined;
149
150
  }, {
150
- _id: mongoose.Types.ObjectId;
151
- student: string;
151
+ _id: Types.ObjectId;
152
+ student: Types.ObjectId;
152
153
  states: AttendState[];
153
154
  tuition: {
154
155
  primary: number;
@@ -164,47 +165,32 @@ type Attendance = z.infer<typeof zAttendance>;
164
165
  type MAttendance = z.infer<typeof zMAttendance>;
165
166
 
166
167
  declare const zCampTracker: z.ZodObject<{
167
- /**
168
- * Mongoose object ID
169
- */
170
- course: z.ZodString;
171
- /**
172
- * Mongoose object ID
173
- */
174
- teacher: z.ZodString;
175
- /**
176
- * Mongoose object ID
177
- */
178
- semester: z.ZodString;
179
- /**
180
- * occurrences are tracked by week for camps
181
- */
168
+ notes: z.ZodOptional<z.ZodString>;
182
169
  occurrences: z.ZodArray<z.ZodString, "many">;
183
- /**
184
- * attendances are tracked by week for camps
185
- */
186
170
  attendances: z.ZodArray<z.ZodString, "many">;
187
- notes: z.ZodOptional<z.ZodString>;
171
+ course: z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>;
172
+ teacher: z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>;
173
+ semester: z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>;
188
174
  }, "strip", z.ZodTypeAny, {
189
- course: string;
190
- teacher: string;
191
- semester: string;
175
+ course: mongoose.Types.ObjectId;
176
+ teacher: mongoose.Types.ObjectId;
177
+ semester: mongoose.Types.ObjectId;
192
178
  occurrences: string[];
193
179
  attendances: string[];
194
180
  notes?: string | undefined;
195
181
  }, {
196
- course: string;
197
- teacher: string;
198
- semester: string;
182
+ course: mongoose.Types.ObjectId;
183
+ teacher: mongoose.Types.ObjectId;
184
+ semester: mongoose.Types.ObjectId;
199
185
  occurrences: string[];
200
186
  attendances: string[];
201
187
  notes?: string | undefined;
202
188
  }>;
203
189
  declare const zMCampTracker: z.ZodObject<{
204
190
  notes: z.ZodOptional<z.ZodString>;
205
- course: z.ZodString;
206
- teacher: z.ZodString;
207
- semester: z.ZodString;
191
+ course: z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>;
192
+ teacher: z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>;
193
+ semester: z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>;
208
194
  occurrences: z.ZodArray<z.ZodString, "many">;
209
195
  attendances: z.ZodArray<z.ZodString, "many">;
210
196
  _id: z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>;
@@ -212,9 +198,9 @@ declare const zMCampTracker: z.ZodObject<{
212
198
  updatedAt: z.ZodOptional<z.ZodDate>;
213
199
  }, z.UnknownKeysParam, z.ZodTypeAny, {
214
200
  _id: mongoose.Types.ObjectId;
215
- course: string;
216
- teacher: string;
217
- semester: string;
201
+ course: mongoose.Types.ObjectId;
202
+ teacher: mongoose.Types.ObjectId;
203
+ semester: mongoose.Types.ObjectId;
218
204
  occurrences: string[];
219
205
  attendances: string[];
220
206
  notes?: string | undefined;
@@ -222,9 +208,9 @@ declare const zMCampTracker: z.ZodObject<{
222
208
  updatedAt?: Date | undefined;
223
209
  }, {
224
210
  _id: mongoose.Types.ObjectId;
225
- course: string;
226
- teacher: string;
227
- semester: string;
211
+ course: mongoose.Types.ObjectId;
212
+ teacher: mongoose.Types.ObjectId;
213
+ semester: mongoose.Types.ObjectId;
228
214
  occurrences: string[];
229
215
  attendances: string[];
230
216
  notes?: string | undefined;
@@ -235,24 +221,7 @@ type CampTracker = z.infer<typeof zCampTracker>;
235
221
  type MCampTracker = z.infer<typeof zMCampTracker>;
236
222
 
237
223
  declare const zClassTracker: z.ZodObject<{
238
- /**
239
- * Mongoose object ID
240
- */
241
- course: z.ZodString;
242
- /**
243
- * Mongoose object ID
244
- */
245
- teacher: z.ZodString;
246
- /**
247
- * Mongoose object ID
248
- */
249
- semester: z.ZodString;
250
- classTimes: z.ZodArray<z.ZodDate, "many">;
251
- completedList: z.ZodArray<z.ZodBoolean, "many">;
252
- /**
253
- * Virtual mongoose field when all values in completedList is true
254
- */
255
- completed: z.ZodOptional<z.ZodBoolean>;
224
+ notes: z.ZodOptional<z.ZodString>;
256
225
  tuition: z.ZodOptional<z.ZodObject<{
257
226
  primary: z.ZodNumber;
258
227
  textbook: z.ZodOptional<z.ZodBoolean>;
@@ -267,35 +236,40 @@ declare const zClassTracker: z.ZodObject<{
267
236
  shipping?: boolean | undefined;
268
237
  }>>;
269
238
  paid: z.ZodOptional<z.ZodBoolean>;
270
- notes: z.ZodOptional<z.ZodString>;
239
+ classTimes: z.ZodArray<z.ZodDate, "many">;
240
+ completedList: z.ZodArray<z.ZodBoolean, "many">;
241
+ completed: z.ZodOptional<z.ZodBoolean>;
242
+ course: z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>;
243
+ teacher: z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>;
244
+ semester: z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>;
271
245
  }, "strip", z.ZodTypeAny, {
272
- course: string;
273
- teacher: string;
274
- semester: string;
246
+ course: mongoose.Types.ObjectId;
247
+ teacher: mongoose.Types.ObjectId;
248
+ semester: mongoose.Types.ObjectId;
275
249
  classTimes: Date[];
276
250
  completedList: boolean[];
277
- completed?: boolean | undefined;
251
+ notes?: string | undefined;
278
252
  tuition?: {
279
253
  primary: number;
280
254
  textbook?: boolean | undefined;
281
255
  shipping?: boolean | undefined;
282
256
  } | undefined;
283
257
  paid?: boolean | undefined;
284
- notes?: string | undefined;
258
+ completed?: boolean | undefined;
285
259
  }, {
286
- course: string;
287
- teacher: string;
288
- semester: string;
260
+ course: mongoose.Types.ObjectId;
261
+ teacher: mongoose.Types.ObjectId;
262
+ semester: mongoose.Types.ObjectId;
289
263
  classTimes: Date[];
290
264
  completedList: boolean[];
291
- completed?: boolean | undefined;
265
+ notes?: string | undefined;
292
266
  tuition?: {
293
267
  primary: number;
294
268
  textbook?: boolean | undefined;
295
269
  shipping?: boolean | undefined;
296
270
  } | undefined;
297
271
  paid?: boolean | undefined;
298
- notes?: string | undefined;
272
+ completed?: boolean | undefined;
299
273
  }>;
300
274
  declare const zMClassTracker: z.ZodObject<{
301
275
  notes: z.ZodOptional<z.ZodString>;
@@ -313,9 +287,9 @@ declare const zMClassTracker: z.ZodObject<{
313
287
  shipping?: boolean | undefined;
314
288
  }>>;
315
289
  paid: z.ZodOptional<z.ZodBoolean>;
316
- course: z.ZodString;
317
- teacher: z.ZodString;
318
- semester: z.ZodString;
290
+ course: z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>;
291
+ teacher: z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>;
292
+ semester: z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>;
319
293
  classTimes: z.ZodArray<z.ZodDate, "many">;
320
294
  completedList: z.ZodArray<z.ZodBoolean, "many">;
321
295
  completed: z.ZodOptional<z.ZodBoolean>;
@@ -324,9 +298,9 @@ declare const zMClassTracker: z.ZodObject<{
324
298
  updatedAt: z.ZodOptional<z.ZodDate>;
325
299
  }, z.UnknownKeysParam, z.ZodTypeAny, {
326
300
  _id: mongoose.Types.ObjectId;
327
- course: string;
328
- teacher: string;
329
- semester: string;
301
+ course: mongoose.Types.ObjectId;
302
+ teacher: mongoose.Types.ObjectId;
303
+ semester: mongoose.Types.ObjectId;
330
304
  classTimes: Date[];
331
305
  completedList: boolean[];
332
306
  notes?: string | undefined;
@@ -341,9 +315,9 @@ declare const zMClassTracker: z.ZodObject<{
341
315
  updatedAt?: Date | undefined;
342
316
  }, {
343
317
  _id: mongoose.Types.ObjectId;
344
- course: string;
345
- teacher: string;
346
- semester: string;
318
+ course: mongoose.Types.ObjectId;
319
+ teacher: mongoose.Types.ObjectId;
320
+ semester: mongoose.Types.ObjectId;
347
321
  classTimes: Date[];
348
322
  completedList: boolean[];
349
323
  notes?: string | undefined;
@@ -471,18 +445,9 @@ type Course = z.infer<typeof zCourse>;
471
445
  type MCourse = z.infer<typeof zMCourse>;
472
446
 
473
447
  declare const zGroupTracker: z.ZodObject<{
474
- /**
475
- * Mongoose object ID
476
- */
477
- course: z.ZodString;
478
- /**
479
- * Mongoose object ID
480
- */
481
- teacher: z.ZodString;
482
- /**
483
- * Mongoose object ID
484
- */
485
- semester: z.ZodString;
448
+ notes: z.ZodOptional<z.ZodString>;
449
+ occurrences: z.ZodArray<z.ZodDate, "many">;
450
+ attendances: z.ZodArray<z.ZodString, "many">;
486
451
  scheduleData: z.ZodObject<{
487
452
  startTime: z.ZodString;
488
453
  dayOfWeek: z.ZodNumber;
@@ -493,61 +458,46 @@ declare const zGroupTracker: z.ZodObject<{
493
458
  startTime: string;
494
459
  dayOfWeek: number;
495
460
  }>;
496
- /**
497
- * occurrences are tracked by week for Groups
498
- */
499
- occurrences: z.ZodArray<z.ZodDate, "many">;
500
- /**
501
- * attendances are tracked by week for Groups
502
- */
503
- attendances: z.ZodArray<z.ZodString, "many">;
504
- /**
505
- * ID of the course instance, e.g., 101
506
- */
507
461
  courseId: z.ZodOptional<z.ZodString>;
508
- /**
509
- * Age group of the class instance, e.g. "adult", "youth"
510
- */
511
462
  ageGroup: z.ZodOptional<z.ZodNativeEnum<typeof AgeGroup>>;
512
- /**
513
- * If true, the course is hidden from public view
514
- */
515
463
  isNonPublic: z.ZodOptional<z.ZodBoolean>;
516
- notes: z.ZodOptional<z.ZodString>;
464
+ course: z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>;
465
+ teacher: z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>;
466
+ semester: z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>;
517
467
  }, "strip", z.ZodTypeAny, {
518
- course: string;
519
- teacher: string;
520
- semester: string;
468
+ course: mongoose.Types.ObjectId;
469
+ teacher: mongoose.Types.ObjectId;
470
+ semester: mongoose.Types.ObjectId;
521
471
  occurrences: Date[];
522
472
  attendances: string[];
523
473
  scheduleData: {
524
474
  startTime: string;
525
475
  dayOfWeek: number;
526
476
  };
477
+ notes?: string | undefined;
527
478
  courseId?: string | undefined;
528
479
  ageGroup?: AgeGroup | undefined;
529
480
  isNonPublic?: boolean | undefined;
530
- notes?: string | undefined;
531
481
  }, {
532
- course: string;
533
- teacher: string;
534
- semester: string;
482
+ course: mongoose.Types.ObjectId;
483
+ teacher: mongoose.Types.ObjectId;
484
+ semester: mongoose.Types.ObjectId;
535
485
  occurrences: Date[];
536
486
  attendances: string[];
537
487
  scheduleData: {
538
488
  startTime: string;
539
489
  dayOfWeek: number;
540
490
  };
491
+ notes?: string | undefined;
541
492
  courseId?: string | undefined;
542
493
  ageGroup?: AgeGroup | undefined;
543
494
  isNonPublic?: boolean | undefined;
544
- notes?: string | undefined;
545
495
  }>;
546
496
  declare const zMGroupTracker: z.ZodObject<{
547
497
  notes: z.ZodOptional<z.ZodString>;
548
- course: z.ZodString;
549
- teacher: z.ZodString;
550
- semester: z.ZodString;
498
+ course: z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>;
499
+ teacher: z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>;
500
+ semester: z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>;
551
501
  occurrences: z.ZodArray<z.ZodDate, "many">;
552
502
  attendances: z.ZodArray<z.ZodString, "many">;
553
503
  scheduleData: z.ZodObject<{
@@ -568,9 +518,9 @@ declare const zMGroupTracker: z.ZodObject<{
568
518
  updatedAt: z.ZodOptional<z.ZodDate>;
569
519
  }, z.UnknownKeysParam, z.ZodTypeAny, {
570
520
  _id: mongoose.Types.ObjectId;
571
- course: string;
572
- teacher: string;
573
- semester: string;
521
+ course: mongoose.Types.ObjectId;
522
+ teacher: mongoose.Types.ObjectId;
523
+ semester: mongoose.Types.ObjectId;
574
524
  occurrences: Date[];
575
525
  attendances: string[];
576
526
  scheduleData: {
@@ -585,9 +535,9 @@ declare const zMGroupTracker: z.ZodObject<{
585
535
  updatedAt?: Date | undefined;
586
536
  }, {
587
537
  _id: mongoose.Types.ObjectId;
588
- course: string;
589
- teacher: string;
590
- semester: string;
538
+ course: mongoose.Types.ObjectId;
539
+ teacher: mongoose.Types.ObjectId;
540
+ semester: mongoose.Types.ObjectId;
591
541
  occurrences: Date[];
592
542
  attendances: string[];
593
543
  scheduleData: {
@@ -970,53 +920,44 @@ declare const zDiscount: z.ZodObject<{
970
920
  amount: number;
971
921
  }>;
972
922
  declare const zInvoiceItem: z.ZodObject<{
973
- /**
974
- * Mongoose object ID
975
- */
976
- course: z.ZodString;
923
+ course: z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>;
977
924
  price: z.ZodNumber;
978
925
  units: z.ZodNumber;
979
926
  }, "strip", z.ZodTypeAny, {
980
- course: string;
927
+ course: Types.ObjectId;
981
928
  price: number;
982
929
  units: number;
983
930
  }, {
984
- course: string;
931
+ course: Types.ObjectId;
985
932
  price: number;
986
933
  units: number;
987
934
  }>;
988
935
  declare const zInvoicePackage: z.ZodObject<{
989
- /**
990
- * Mongoose object ID
991
- */
992
- student: z.ZodString;
936
+ student: z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>;
993
937
  items: z.ZodArray<z.ZodObject<{
994
- /**
995
- * Mongoose object ID
996
- */
997
- course: z.ZodString;
938
+ course: z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>;
998
939
  price: z.ZodNumber;
999
940
  units: z.ZodNumber;
1000
941
  }, "strip", z.ZodTypeAny, {
1001
- course: string;
942
+ course: Types.ObjectId;
1002
943
  price: number;
1003
944
  units: number;
1004
945
  }, {
1005
- course: string;
946
+ course: Types.ObjectId;
1006
947
  price: number;
1007
948
  units: number;
1008
949
  }>, "many">;
1009
950
  }, "strip", z.ZodTypeAny, {
1010
- student: string;
951
+ student: Types.ObjectId;
1011
952
  items: {
1012
- course: string;
953
+ course: Types.ObjectId;
1013
954
  price: number;
1014
955
  units: number;
1015
956
  }[];
1016
957
  }, {
1017
- student: string;
958
+ student: Types.ObjectId;
1018
959
  items: {
1019
- course: string;
960
+ course: Types.ObjectId;
1020
961
  price: number;
1021
962
  units: number;
1022
963
  }[];
@@ -1024,37 +965,31 @@ declare const zInvoicePackage: z.ZodObject<{
1024
965
  declare const zInvoice: z.ZodObject<{
1025
966
  billTo: z.ZodString;
1026
967
  packages: z.ZodArray<z.ZodObject<{
1027
- /**
1028
- * Mongoose object ID
1029
- */
1030
- student: z.ZodString;
968
+ student: z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>;
1031
969
  items: z.ZodArray<z.ZodObject<{
1032
- /**
1033
- * Mongoose object ID
1034
- */
1035
- course: z.ZodString;
970
+ course: z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>;
1036
971
  price: z.ZodNumber;
1037
972
  units: z.ZodNumber;
1038
973
  }, "strip", z.ZodTypeAny, {
1039
- course: string;
974
+ course: Types.ObjectId;
1040
975
  price: number;
1041
976
  units: number;
1042
977
  }, {
1043
- course: string;
978
+ course: Types.ObjectId;
1044
979
  price: number;
1045
980
  units: number;
1046
981
  }>, "many">;
1047
982
  }, "strip", z.ZodTypeAny, {
1048
- student: string;
983
+ student: Types.ObjectId;
1049
984
  items: {
1050
- course: string;
985
+ course: Types.ObjectId;
1051
986
  price: number;
1052
987
  units: number;
1053
988
  }[];
1054
989
  }, {
1055
- student: string;
990
+ student: Types.ObjectId;
1056
991
  items: {
1057
- course: string;
992
+ course: Types.ObjectId;
1058
993
  price: number;
1059
994
  units: number;
1060
995
  }[];
@@ -1073,20 +1008,14 @@ declare const zInvoice: z.ZodObject<{
1073
1008
  shipping: z.ZodOptional<z.ZodNumber>;
1074
1009
  paid: z.ZodOptional<z.ZodNativeEnum<typeof PaymentMethod>>;
1075
1010
  notes: z.ZodOptional<z.ZodString>;
1076
- /**
1077
- * Mongoose object ID
1078
- */
1079
- createdBy: z.ZodString;
1080
- /**
1081
- * Mongoose object ID
1082
- */
1083
- lastEditBy: z.ZodOptional<z.ZodString>;
1011
+ createdBy: z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>;
1012
+ lastEditBy: z.ZodOptional<z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>>;
1084
1013
  }, "strip", z.ZodTypeAny, {
1085
1014
  billTo: string;
1086
1015
  packages: {
1087
- student: string;
1016
+ student: Types.ObjectId;
1088
1017
  items: {
1089
- course: string;
1018
+ course: Types.ObjectId;
1090
1019
  price: number;
1091
1020
  units: number;
1092
1021
  }[];
@@ -1095,18 +1024,18 @@ declare const zInvoice: z.ZodObject<{
1095
1024
  desc: string;
1096
1025
  amount: number;
1097
1026
  }[];
1098
- createdBy: string;
1027
+ createdBy: Types.ObjectId;
1099
1028
  textbook?: number | undefined;
1100
1029
  shipping?: number | undefined;
1101
1030
  paid?: PaymentMethod | undefined;
1102
1031
  notes?: string | undefined;
1103
- lastEditBy?: string | undefined;
1032
+ lastEditBy?: Types.ObjectId | undefined;
1104
1033
  }, {
1105
1034
  billTo: string;
1106
1035
  packages: {
1107
- student: string;
1036
+ student: Types.ObjectId;
1108
1037
  items: {
1109
- course: string;
1038
+ course: Types.ObjectId;
1110
1039
  price: number;
1111
1040
  units: number;
1112
1041
  }[];
@@ -1115,12 +1044,12 @@ declare const zInvoice: z.ZodObject<{
1115
1044
  desc: string;
1116
1045
  amount: number;
1117
1046
  }[];
1118
- createdBy: string;
1047
+ createdBy: Types.ObjectId;
1119
1048
  textbook?: number | undefined;
1120
1049
  shipping?: number | undefined;
1121
1050
  paid?: PaymentMethod | undefined;
1122
1051
  notes?: string | undefined;
1123
- lastEditBy?: string | undefined;
1052
+ lastEditBy?: Types.ObjectId | undefined;
1124
1053
  }>;
1125
1054
  declare const zMInvoice: z.ZodObject<{
1126
1055
  notes: z.ZodOptional<z.ZodString>;
@@ -1129,37 +1058,31 @@ declare const zMInvoice: z.ZodObject<{
1129
1058
  paid: z.ZodOptional<z.ZodNativeEnum<typeof PaymentMethod>>;
1130
1059
  billTo: z.ZodString;
1131
1060
  packages: z.ZodArray<z.ZodObject<{
1132
- /**
1133
- * Mongoose object ID
1134
- */
1135
- student: z.ZodString;
1061
+ student: z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>;
1136
1062
  items: z.ZodArray<z.ZodObject<{
1137
- /**
1138
- * Mongoose object ID
1139
- */
1140
- course: z.ZodString;
1063
+ course: z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>;
1141
1064
  price: z.ZodNumber;
1142
1065
  units: z.ZodNumber;
1143
1066
  }, "strip", z.ZodTypeAny, {
1144
- course: string;
1067
+ course: Types.ObjectId;
1145
1068
  price: number;
1146
1069
  units: number;
1147
1070
  }, {
1148
- course: string;
1071
+ course: Types.ObjectId;
1149
1072
  price: number;
1150
1073
  units: number;
1151
1074
  }>, "many">;
1152
1075
  }, "strip", z.ZodTypeAny, {
1153
- student: string;
1076
+ student: Types.ObjectId;
1154
1077
  items: {
1155
- course: string;
1078
+ course: Types.ObjectId;
1156
1079
  price: number;
1157
1080
  units: number;
1158
1081
  }[];
1159
1082
  }, {
1160
- student: string;
1083
+ student: Types.ObjectId;
1161
1084
  items: {
1162
- course: string;
1085
+ course: Types.ObjectId;
1163
1086
  price: number;
1164
1087
  units: number;
1165
1088
  }[];
@@ -1174,18 +1097,18 @@ declare const zMInvoice: z.ZodObject<{
1174
1097
  desc: string;
1175
1098
  amount: number;
1176
1099
  }>, "many">;
1177
- createdBy: z.ZodString;
1178
- lastEditBy: z.ZodOptional<z.ZodString>;
1179
- _id: z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>;
1100
+ createdBy: z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>;
1101
+ lastEditBy: z.ZodOptional<z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>>;
1102
+ _id: z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>;
1180
1103
  createdAt: z.ZodOptional<z.ZodDate>;
1181
1104
  updatedAt: z.ZodOptional<z.ZodDate>;
1182
1105
  }, z.UnknownKeysParam, z.ZodTypeAny, {
1183
- _id: mongoose.Types.ObjectId;
1106
+ _id: Types.ObjectId;
1184
1107
  billTo: string;
1185
1108
  packages: {
1186
- student: string;
1109
+ student: Types.ObjectId;
1187
1110
  items: {
1188
- course: string;
1111
+ course: Types.ObjectId;
1189
1112
  price: number;
1190
1113
  units: number;
1191
1114
  }[];
@@ -1194,21 +1117,21 @@ declare const zMInvoice: z.ZodObject<{
1194
1117
  desc: string;
1195
1118
  amount: number;
1196
1119
  }[];
1197
- createdBy: string;
1120
+ createdBy: Types.ObjectId;
1198
1121
  notes?: string | undefined;
1199
1122
  textbook?: number | undefined;
1200
1123
  shipping?: number | undefined;
1201
1124
  paid?: PaymentMethod | undefined;
1202
- lastEditBy?: string | undefined;
1125
+ lastEditBy?: Types.ObjectId | undefined;
1203
1126
  createdAt?: Date | undefined;
1204
1127
  updatedAt?: Date | undefined;
1205
1128
  }, {
1206
- _id: mongoose.Types.ObjectId;
1129
+ _id: Types.ObjectId;
1207
1130
  billTo: string;
1208
1131
  packages: {
1209
- student: string;
1132
+ student: Types.ObjectId;
1210
1133
  items: {
1211
- course: string;
1134
+ course: Types.ObjectId;
1212
1135
  price: number;
1213
1136
  units: number;
1214
1137
  }[];
@@ -1217,12 +1140,12 @@ declare const zMInvoice: z.ZodObject<{
1217
1140
  desc: string;
1218
1141
  amount: number;
1219
1142
  }[];
1220
- createdBy: string;
1143
+ createdBy: Types.ObjectId;
1221
1144
  notes?: string | undefined;
1222
1145
  textbook?: number | undefined;
1223
1146
  shipping?: number | undefined;
1224
1147
  paid?: PaymentMethod | undefined;
1225
- lastEditBy?: string | undefined;
1148
+ lastEditBy?: Types.ObjectId | undefined;
1226
1149
  createdAt?: Date | undefined;
1227
1150
  updatedAt?: Date | undefined;
1228
1151
  }>;
@@ -1616,6 +1539,9 @@ declare const zTConfig: z.ZodObject<{
1616
1539
  */
1617
1540
  schedule: z.ZodObject<{
1618
1541
  fields: z.ZodArray<z.ZodString, "many">;
1542
+ /**
1543
+ * Location of the event
1544
+ */
1619
1545
  data: z.ZodMap<z.ZodString, z.ZodArray<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, "many">>;
1620
1546
  }, "strip", z.ZodTypeAny, {
1621
1547
  data: Map<string, {}[]>;
@@ -1627,7 +1553,7 @@ declare const zTConfig: z.ZodObject<{
1627
1553
  /**
1628
1554
  * List of ticket object IDs for this tournament
1629
1555
  */
1630
- tickets: z.ZodArray<z.ZodString, "many">;
1556
+ tickets: z.ZodArray<z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>, "many">;
1631
1557
  /**
1632
1558
  * If false, the tournament registration is closed
1633
1559
  */
@@ -1668,7 +1594,7 @@ declare const zTConfig: z.ZodObject<{
1668
1594
  data: Map<string, {}[]>;
1669
1595
  fields: string[];
1670
1596
  };
1671
- tickets: string[];
1597
+ tickets: Types.ObjectId[];
1672
1598
  canRegister: boolean;
1673
1599
  location?: string | undefined;
1674
1600
  donationsDisabled?: boolean | undefined;
@@ -1693,7 +1619,7 @@ declare const zTConfig: z.ZodObject<{
1693
1619
  data: Map<string, {}[]>;
1694
1620
  fields: string[];
1695
1621
  };
1696
- tickets: string[];
1622
+ tickets: Types.ObjectId[];
1697
1623
  canRegister: boolean;
1698
1624
  location?: string | undefined;
1699
1625
  donationsDisabled?: boolean | undefined;
@@ -1724,6 +1650,9 @@ declare const zMTConfig: z.ZodObject<{
1724
1650
  }>;
1725
1651
  schedule: z.ZodObject<{
1726
1652
  fields: z.ZodArray<z.ZodString, "many">;
1653
+ /**
1654
+ * Location of the event
1655
+ */
1727
1656
  data: z.ZodMap<z.ZodString, z.ZodArray<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, "many">>;
1728
1657
  }, "strip", z.ZodTypeAny, {
1729
1658
  data: Map<string, {}[]>;
@@ -1732,7 +1661,7 @@ declare const zMTConfig: z.ZodObject<{
1732
1661
  data: Map<string, {}[]>;
1733
1662
  fields: string[];
1734
1663
  }>;
1735
- tickets: z.ZodArray<z.ZodString, "many">;
1664
+ tickets: z.ZodArray<z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>, "many">;
1736
1665
  canRegister: z.ZodBoolean;
1737
1666
  donationsDisabled: z.ZodOptional<z.ZodBoolean>;
1738
1667
  image: z.ZodOptional<z.ZodObject<{
@@ -1748,11 +1677,11 @@ declare const zMTConfig: z.ZodObject<{
1748
1677
  height: number;
1749
1678
  width: number;
1750
1679
  }>>;
1751
- _id: z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>;
1680
+ _id: z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>;
1752
1681
  createdAt: z.ZodOptional<z.ZodDate>;
1753
1682
  updatedAt: z.ZodOptional<z.ZodDate>;
1754
1683
  }, z.UnknownKeysParam, z.ZodTypeAny, {
1755
- _id: mongoose.Types.ObjectId;
1684
+ _id: Types.ObjectId;
1756
1685
  description: string;
1757
1686
  title: string;
1758
1687
  url: string;
@@ -1768,7 +1697,7 @@ declare const zMTConfig: z.ZodObject<{
1768
1697
  data: Map<string, {}[]>;
1769
1698
  fields: string[];
1770
1699
  };
1771
- tickets: string[];
1700
+ tickets: Types.ObjectId[];
1772
1701
  canRegister: boolean;
1773
1702
  location?: string | undefined;
1774
1703
  donationsDisabled?: boolean | undefined;
@@ -1780,7 +1709,7 @@ declare const zMTConfig: z.ZodObject<{
1780
1709
  createdAt?: Date | undefined;
1781
1710
  updatedAt?: Date | undefined;
1782
1711
  }, {
1783
- _id: mongoose.Types.ObjectId;
1712
+ _id: Types.ObjectId;
1784
1713
  description: string;
1785
1714
  title: string;
1786
1715
  url: string;
@@ -1796,7 +1725,7 @@ declare const zMTConfig: z.ZodObject<{
1796
1725
  data: Map<string, {}[]>;
1797
1726
  fields: string[];
1798
1727
  };
1799
- tickets: string[];
1728
+ tickets: Types.ObjectId[];
1800
1729
  canRegister: boolean;
1801
1730
  location?: string | undefined;
1802
1731
  donationsDisabled?: boolean | undefined;
@@ -1843,20 +1772,20 @@ declare const zTReg: z.ZodObject<{
1843
1772
  address: z.ZodOptional<z.ZodString>;
1844
1773
  notes: z.ZodOptional<z.ZodString>;
1845
1774
  tickets: z.ZodArray<z.ZodObject<{
1846
- ticket: z.ZodString;
1775
+ ticket: z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>;
1847
1776
  amount: z.ZodNumber;
1848
1777
  }, "strip", z.ZodTypeAny, {
1849
1778
  amount: number;
1850
- ticket: string;
1779
+ ticket: Types.ObjectId;
1851
1780
  }, {
1852
1781
  amount: number;
1853
- ticket: string;
1782
+ ticket: Types.ObjectId;
1854
1783
  }>, "many">;
1855
1784
  agaId: z.ZodString;
1856
- tournamentId: z.ZodString;
1785
+ tournamentId: z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>;
1857
1786
  donation: z.ZodOptional<z.ZodNumber>;
1858
1787
  createMethod: z.ZodOptional<z.ZodString>;
1859
- edited: z.ZodOptional<z.ZodString>;
1788
+ edited: z.ZodOptional<z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>>;
1860
1789
  paymentAmount: z.ZodNumber;
1861
1790
  paymentReceived: z.ZodOptional<z.ZodBoolean>;
1862
1791
  expireAt: z.ZodOptional<z.ZodDate>;
@@ -1868,16 +1797,16 @@ declare const zTReg: z.ZodObject<{
1868
1797
  email: string;
1869
1798
  tickets: {
1870
1799
  amount: number;
1871
- ticket: string;
1800
+ ticket: Types.ObjectId;
1872
1801
  }[];
1873
1802
  agaId: string;
1874
- tournamentId: string;
1803
+ tournamentId: Types.ObjectId;
1875
1804
  phone?: string | undefined;
1876
1805
  address?: string | undefined;
1877
1806
  notes?: string | undefined;
1878
1807
  donation?: number | undefined;
1879
1808
  createMethod?: string | undefined;
1880
- edited?: string | undefined;
1809
+ edited?: Types.ObjectId | undefined;
1881
1810
  paymentReceived?: boolean | undefined;
1882
1811
  expireAt?: Date | undefined;
1883
1812
  }, {
@@ -1888,16 +1817,16 @@ declare const zTReg: z.ZodObject<{
1888
1817
  email: string;
1889
1818
  tickets: {
1890
1819
  amount: number;
1891
- ticket: string;
1820
+ ticket: Types.ObjectId;
1892
1821
  }[];
1893
1822
  agaId: string;
1894
- tournamentId: string;
1823
+ tournamentId: Types.ObjectId;
1895
1824
  phone?: string | undefined;
1896
1825
  address?: string | undefined;
1897
1826
  notes?: string | undefined;
1898
1827
  donation?: number | undefined;
1899
1828
  createMethod?: string | undefined;
1900
- edited?: string | undefined;
1829
+ edited?: Types.ObjectId | undefined;
1901
1830
  paymentReceived?: boolean | undefined;
1902
1831
  expireAt?: Date | undefined;
1903
1832
  }>;
@@ -1913,21 +1842,21 @@ declare const zMTReg: z.ZodObject<{
1913
1842
  address: z.ZodOptional<z.ZodString>;
1914
1843
  notes: z.ZodOptional<z.ZodString>;
1915
1844
  tickets: z.ZodArray<z.ZodObject<{
1916
- ticket: z.ZodString;
1845
+ ticket: z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>;
1917
1846
  amount: z.ZodNumber;
1918
1847
  }, "strip", z.ZodTypeAny, {
1919
1848
  amount: number;
1920
- ticket: string;
1849
+ ticket: Types.ObjectId;
1921
1850
  }, {
1922
1851
  amount: number;
1923
- ticket: string;
1852
+ ticket: Types.ObjectId;
1924
1853
  }>, "many">;
1925
1854
  agaId: z.ZodString;
1926
- tournamentId: z.ZodString;
1855
+ tournamentId: z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>;
1927
1856
  donation: z.ZodOptional<z.ZodNumber>;
1928
1857
  createMethod: z.ZodOptional<z.ZodString>;
1929
- edited: z.ZodOptional<z.ZodString>;
1930
- _id: z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>;
1858
+ edited: z.ZodOptional<z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>>;
1859
+ _id: z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>;
1931
1860
  createdAt: z.ZodOptional<z.ZodDate>;
1932
1861
  updatedAt: z.ZodOptional<z.ZodDate>;
1933
1862
  }, z.UnknownKeysParam, z.ZodTypeAny, {
@@ -1936,13 +1865,13 @@ declare const zMTReg: z.ZodObject<{
1936
1865
  lastName: string;
1937
1866
  rank: string;
1938
1867
  email: string;
1939
- _id: mongoose.Types.ObjectId;
1868
+ _id: Types.ObjectId;
1940
1869
  tickets: {
1941
1870
  amount: number;
1942
- ticket: string;
1871
+ ticket: Types.ObjectId;
1943
1872
  }[];
1944
1873
  agaId: string;
1945
- tournamentId: string;
1874
+ tournamentId: Types.ObjectId;
1946
1875
  paymentReceived?: boolean | undefined;
1947
1876
  expireAt?: Date | undefined;
1948
1877
  phone?: string | undefined;
@@ -1950,7 +1879,7 @@ declare const zMTReg: z.ZodObject<{
1950
1879
  notes?: string | undefined;
1951
1880
  donation?: number | undefined;
1952
1881
  createMethod?: string | undefined;
1953
- edited?: string | undefined;
1882
+ edited?: Types.ObjectId | undefined;
1954
1883
  createdAt?: Date | undefined;
1955
1884
  updatedAt?: Date | undefined;
1956
1885
  }, {
@@ -1959,13 +1888,13 @@ declare const zMTReg: z.ZodObject<{
1959
1888
  lastName: string;
1960
1889
  rank: string;
1961
1890
  email: string;
1962
- _id: mongoose.Types.ObjectId;
1891
+ _id: Types.ObjectId;
1963
1892
  tickets: {
1964
1893
  amount: number;
1965
- ticket: string;
1894
+ ticket: Types.ObjectId;
1966
1895
  }[];
1967
1896
  agaId: string;
1968
- tournamentId: string;
1897
+ tournamentId: Types.ObjectId;
1969
1898
  paymentReceived?: boolean | undefined;
1970
1899
  expireAt?: Date | undefined;
1971
1900
  phone?: string | undefined;
@@ -1973,7 +1902,7 @@ declare const zMTReg: z.ZodObject<{
1973
1902
  notes?: string | undefined;
1974
1903
  donation?: number | undefined;
1975
1904
  createMethod?: string | undefined;
1976
- edited?: string | undefined;
1905
+ edited?: Types.ObjectId | undefined;
1977
1906
  createdAt?: Date | undefined;
1978
1907
  updatedAt?: Date | undefined;
1979
1908
  }>;
@@ -1981,20 +1910,17 @@ type TReg = z.infer<typeof zTReg>;
1981
1910
  type MTReg = z.infer<typeof zMTReg>;
1982
1911
 
1983
1912
  declare const zTTicketReg: z.ZodObject<{
1984
- /**
1985
- * Mongoose ID of the ticket
1986
- */
1987
- ticket: z.ZodString;
1913
+ ticket: z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>;
1988
1914
  /**
1989
1915
  * integer minimum 1, otherwise no ticket is being bought
1990
1916
  */
1991
1917
  amount: z.ZodNumber;
1992
1918
  }, "strip", z.ZodTypeAny, {
1993
1919
  amount: number;
1994
- ticket: string;
1920
+ ticket: Types.ObjectId;
1995
1921
  }, {
1996
1922
  amount: number;
1997
- ticket: string;
1923
+ ticket: Types.ObjectId;
1998
1924
  }>;
1999
1925
  type TTicketReg = z.infer<typeof zTTicketReg>;
2000
1926
 
@@ -2177,11 +2103,11 @@ declare const zMUser: z.ZodObject<{
2177
2103
  country: z.ZodOptional<z.ZodString>;
2178
2104
  phoneNumber: z.ZodOptional<z.ZodString>;
2179
2105
  birthDate: z.ZodOptional<z.ZodString>;
2180
- _id: z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>;
2106
+ _id: z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>;
2181
2107
  createdAt: z.ZodOptional<z.ZodDate>;
2182
2108
  updatedAt: z.ZodOptional<z.ZodDate>;
2183
2109
  }, z.UnknownKeysParam, z.ZodTypeAny, {
2184
- _id: mongoose.Types.ObjectId;
2110
+ _id: Types.ObjectId;
2185
2111
  name: string;
2186
2112
  email?: string | undefined;
2187
2113
  address?: string | undefined;
@@ -2198,7 +2124,7 @@ declare const zMUser: z.ZodObject<{
2198
2124
  createdAt?: Date | undefined;
2199
2125
  updatedAt?: Date | undefined;
2200
2126
  }, {
2201
- _id: mongoose.Types.ObjectId;
2127
+ _id: Types.ObjectId;
2202
2128
  name: string;
2203
2129
  email?: string | undefined;
2204
2130
  address?: string | undefined;
@@ -2238,7 +2164,7 @@ declare const zStudent: z.ZodObject<{
2238
2164
  phoneNumber: z.ZodOptional<z.ZodString>;
2239
2165
  birthDate: z.ZodOptional<z.ZodString>;
2240
2166
  rank: z.ZodNativeEnum<typeof GoRank>;
2241
- guardian: z.ZodOptional<z.ZodString>;
2167
+ guardian: z.ZodOptional<z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>>;
2242
2168
  }, "strip", z.ZodTypeAny, {
2243
2169
  rank: GoRank;
2244
2170
  name: string;
@@ -2254,7 +2180,7 @@ declare const zStudent: z.ZodObject<{
2254
2180
  country?: string | undefined;
2255
2181
  phoneNumber?: string | undefined;
2256
2182
  birthDate?: string | undefined;
2257
- guardian?: string | undefined;
2183
+ guardian?: Types.ObjectId | undefined;
2258
2184
  }, {
2259
2185
  rank: GoRank;
2260
2186
  name: string;
@@ -2270,7 +2196,7 @@ declare const zStudent: z.ZodObject<{
2270
2196
  country?: string | undefined;
2271
2197
  phoneNumber?: string | undefined;
2272
2198
  birthDate?: string | undefined;
2273
- guardian?: string | undefined;
2199
+ guardian?: Types.ObjectId | undefined;
2274
2200
  }>;
2275
2201
  declare const zMStudent: z.ZodObject<{
2276
2202
  rank: z.ZodNativeEnum<typeof GoRank>;
@@ -2295,13 +2221,13 @@ declare const zMStudent: z.ZodObject<{
2295
2221
  country: z.ZodOptional<z.ZodString>;
2296
2222
  phoneNumber: z.ZodOptional<z.ZodString>;
2297
2223
  birthDate: z.ZodOptional<z.ZodString>;
2298
- guardian: z.ZodOptional<z.ZodString>;
2299
- _id: z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>;
2224
+ guardian: z.ZodOptional<z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>>;
2225
+ _id: z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>;
2300
2226
  createdAt: z.ZodOptional<z.ZodDate>;
2301
2227
  updatedAt: z.ZodOptional<z.ZodDate>;
2302
2228
  }, z.UnknownKeysParam, z.ZodTypeAny, {
2303
2229
  rank: GoRank;
2304
- _id: mongoose.Types.ObjectId;
2230
+ _id: Types.ObjectId;
2305
2231
  name: string;
2306
2232
  email?: string | undefined;
2307
2233
  address?: string | undefined;
@@ -2315,12 +2241,12 @@ declare const zMStudent: z.ZodObject<{
2315
2241
  country?: string | undefined;
2316
2242
  phoneNumber?: string | undefined;
2317
2243
  birthDate?: string | undefined;
2318
- guardian?: string | undefined;
2244
+ guardian?: Types.ObjectId | undefined;
2319
2245
  createdAt?: Date | undefined;
2320
2246
  updatedAt?: Date | undefined;
2321
2247
  }, {
2322
2248
  rank: GoRank;
2323
- _id: mongoose.Types.ObjectId;
2249
+ _id: Types.ObjectId;
2324
2250
  name: string;
2325
2251
  email?: string | undefined;
2326
2252
  address?: string | undefined;
@@ -2334,7 +2260,7 @@ declare const zMStudent: z.ZodObject<{
2334
2260
  country?: string | undefined;
2335
2261
  phoneNumber?: string | undefined;
2336
2262
  birthDate?: string | undefined;
2337
- guardian?: string | undefined;
2263
+ guardian?: Types.ObjectId | undefined;
2338
2264
  createdAt?: Date | undefined;
2339
2265
  updatedAt?: Date | undefined;
2340
2266
  }>;
@@ -2431,12 +2357,12 @@ declare const zMTeacher: z.ZodObject<{
2431
2357
  birthDate: z.ZodOptional<z.ZodString>;
2432
2358
  isInactive: z.ZodOptional<z.ZodBoolean>;
2433
2359
  available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
2434
- _id: z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>;
2360
+ _id: z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>;
2435
2361
  createdAt: z.ZodOptional<z.ZodDate>;
2436
2362
  updatedAt: z.ZodOptional<z.ZodDate>;
2437
2363
  }, z.UnknownKeysParam, z.ZodTypeAny, {
2438
2364
  rank: GoRank;
2439
- _id: mongoose.Types.ObjectId;
2365
+ _id: Types.ObjectId;
2440
2366
  name: string;
2441
2367
  email?: string | undefined;
2442
2368
  address?: string | undefined;
@@ -2458,7 +2384,7 @@ declare const zMTeacher: z.ZodObject<{
2458
2384
  updatedAt?: Date | undefined;
2459
2385
  }, {
2460
2386
  rank: GoRank;
2461
- _id: mongoose.Types.ObjectId;
2387
+ _id: Types.ObjectId;
2462
2388
  name: string;
2463
2389
  email?: string | undefined;
2464
2390
  address?: string | undefined;