@nyig/models 0.2.5 → 0.2.7

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.ts CHANGED
@@ -1,14 +1,2009 @@
1
1
  import { z } from 'zod';
2
2
 
3
- declare const zStudent: z.ZodObject<{
3
+ declare const zBUserInfo: z.ZodObject<{
4
+ firstName: z.ZodString;
5
+ lastName: z.ZodString;
6
+ rank: z.ZodString;
7
+ email: z.ZodString;
8
+ phone: z.ZodOptional<z.ZodString>;
9
+ address: z.ZodOptional<z.ZodString>;
10
+ notes: z.ZodOptional<z.ZodString>;
11
+ }, "strip", z.ZodTypeAny, {
12
+ firstName: string;
13
+ lastName: string;
14
+ rank: string;
15
+ email: string;
16
+ phone?: string | undefined;
17
+ address?: string | undefined;
18
+ notes?: string | undefined;
19
+ }, {
20
+ firstName: string;
21
+ lastName: string;
22
+ rank: string;
23
+ email: string;
24
+ phone?: string | undefined;
25
+ address?: string | undefined;
26
+ notes?: string | undefined;
27
+ }>;
28
+ type BUserInfo = z.infer<typeof zBUserInfo>;
29
+
30
+ declare const zPrivateBooking: z.ZodObject<{
31
+ firstName: z.ZodString;
32
+ lastName: z.ZodString;
33
+ rank: z.ZodString;
34
+ email: z.ZodString;
35
+ phone: z.ZodOptional<z.ZodString>;
36
+ address: z.ZodOptional<z.ZodString>;
37
+ notes: z.ZodOptional<z.ZodString>;
38
+ userId: z.ZodOptional<z.ZodString>;
39
+ courseId: z.ZodString;
40
+ teacherId: z.ZodString;
41
+ classDate: z.ZodOptional<z.ZodString>;
42
+ paymentAmount: z.ZodNumber;
43
+ paymentReceived: z.ZodOptional<z.ZodBoolean>;
44
+ expireAt: z.ZodOptional<z.ZodDate>;
45
+ }, "strip", z.ZodTypeAny, {
46
+ firstName: string;
47
+ lastName: string;
48
+ rank: string;
49
+ email: string;
50
+ paymentAmount: number;
51
+ courseId: string;
52
+ teacherId: string;
53
+ phone?: string | undefined;
54
+ address?: string | undefined;
55
+ notes?: string | undefined;
56
+ userId?: string | undefined;
57
+ classDate?: string | undefined;
58
+ paymentReceived?: boolean | undefined;
59
+ expireAt?: Date | undefined;
60
+ }, {
61
+ firstName: string;
62
+ lastName: string;
63
+ rank: string;
64
+ email: string;
65
+ paymentAmount: number;
66
+ courseId: string;
67
+ teacherId: string;
68
+ phone?: string | undefined;
69
+ address?: string | undefined;
70
+ notes?: string | undefined;
71
+ userId?: string | undefined;
72
+ classDate?: string | undefined;
73
+ paymentReceived?: boolean | undefined;
74
+ expireAt?: Date | undefined;
75
+ }>;
76
+ declare const zMPrivateBooking: z.ZodObject<{
77
+ [x: string]: any;
78
+ [x: number]: any;
79
+ [x: symbol]: any;
80
+ _id: z.ZodString;
81
+ createdAt: z.ZodOptional<z.ZodDate>;
82
+ updatedAt: z.ZodOptional<z.ZodDate>;
83
+ }, any, any, {
84
+ [x: string]: any;
85
+ [x: number]: any;
86
+ [x: symbol]: any;
87
+ _id?: string | undefined;
88
+ createdAt?: Date | undefined;
89
+ updatedAt?: Date | undefined;
90
+ }, {
91
+ [x: string]: any;
92
+ [x: number]: any;
93
+ [x: symbol]: any;
94
+ _id?: string | undefined;
95
+ createdAt?: Date | undefined;
96
+ updatedAt?: Date | undefined;
97
+ }>;
98
+ type BPrivate = z.infer<typeof zPrivateBooking>;
99
+ type MBPrivate = z.infer<typeof zMPrivateBooking>;
100
+
101
+ declare const zGroupBooking: z.ZodObject<{
102
+ firstName: z.ZodString;
103
+ lastName: z.ZodString;
104
+ rank: z.ZodString;
105
+ email: z.ZodString;
106
+ phone: z.ZodOptional<z.ZodString>;
107
+ address: z.ZodOptional<z.ZodString>;
108
+ notes: z.ZodOptional<z.ZodString>;
109
+ userId: z.ZodOptional<z.ZodString>;
110
+ classDate: z.ZodOptional<z.ZodString>;
111
+ gtId: z.ZodOptional<z.ZodString>;
112
+ isTrial: z.ZodOptional<z.ZodBoolean>;
113
+ isOnline: z.ZodBoolean;
114
+ shipping: z.ZodOptional<z.ZodBoolean>;
115
+ paymentAmount: z.ZodNumber;
116
+ paymentReceived: z.ZodOptional<z.ZodBoolean>;
117
+ expireAt: z.ZodOptional<z.ZodDate>;
118
+ }, "strip", z.ZodTypeAny, {
119
+ firstName: string;
120
+ lastName: string;
121
+ rank: string;
122
+ email: string;
123
+ paymentAmount: number;
124
+ isOnline: boolean;
125
+ phone?: string | undefined;
126
+ address?: string | undefined;
127
+ notes?: string | undefined;
128
+ userId?: string | undefined;
129
+ classDate?: string | undefined;
130
+ gtId?: string | undefined;
131
+ isTrial?: boolean | undefined;
132
+ shipping?: boolean | undefined;
133
+ paymentReceived?: boolean | undefined;
134
+ expireAt?: Date | undefined;
135
+ }, {
136
+ firstName: string;
137
+ lastName: string;
138
+ rank: string;
139
+ email: string;
140
+ paymentAmount: number;
141
+ isOnline: boolean;
142
+ phone?: string | undefined;
143
+ address?: string | undefined;
144
+ notes?: string | undefined;
145
+ userId?: string | undefined;
146
+ classDate?: string | undefined;
147
+ gtId?: string | undefined;
148
+ isTrial?: boolean | undefined;
149
+ shipping?: boolean | undefined;
150
+ paymentReceived?: boolean | undefined;
151
+ expireAt?: Date | undefined;
152
+ }>;
153
+ declare const zMGroupBooking: z.ZodObject<{
154
+ [x: string]: any;
155
+ [x: number]: any;
156
+ [x: symbol]: any;
157
+ _id: z.ZodString;
158
+ createdAt: z.ZodOptional<z.ZodDate>;
159
+ updatedAt: z.ZodOptional<z.ZodDate>;
160
+ }, any, any, {
161
+ [x: string]: any;
162
+ [x: number]: any;
163
+ [x: symbol]: any;
164
+ _id?: string | undefined;
165
+ createdAt?: Date | undefined;
166
+ updatedAt?: Date | undefined;
167
+ }, {
168
+ [x: string]: any;
169
+ [x: number]: any;
170
+ [x: symbol]: any;
171
+ _id?: string | undefined;
172
+ createdAt?: Date | undefined;
173
+ updatedAt?: Date | undefined;
174
+ }>;
175
+ type GroupBooking = z.infer<typeof zGroupBooking>;
176
+ type MGroupBooking = z.infer<typeof zMGroupBooking>;
177
+
178
+ declare enum AttendState {
179
+ ABSENT = "absent",
180
+ PRESENT = "present",
181
+ NONE = "none"
182
+ }
183
+
184
+ declare enum CampOption {
185
+ AM = "am",
186
+ PM = "pm",
187
+ FULL = "full"
188
+ }
189
+
190
+ declare const zAttendance: z.ZodObject<{
191
+ student: z.ZodString;
192
+ states: z.ZodArray<z.ZodNativeEnum<typeof AttendState>, "many">;
193
+ tuition: z.ZodObject<{
194
+ primary: z.ZodNumber;
195
+ textbook: z.ZodOptional<z.ZodBoolean>;
196
+ shipping: z.ZodOptional<z.ZodBoolean>;
197
+ }, "strip", z.ZodTypeAny, {
198
+ primary: number;
199
+ textbook?: boolean | undefined;
200
+ shipping?: boolean | undefined;
201
+ }, {
202
+ primary: number;
203
+ textbook?: boolean | undefined;
204
+ shipping?: boolean | undefined;
205
+ }>;
206
+ paid: z.ZodOptional<z.ZodBoolean>;
207
+ campOption: z.ZodNativeEnum<typeof CampOption>;
208
+ }, "strip", z.ZodTypeAny, {
209
+ student: string;
210
+ states: AttendState[];
211
+ tuition: {
212
+ primary: number;
213
+ textbook?: boolean | undefined;
214
+ shipping?: boolean | undefined;
215
+ };
216
+ campOption: CampOption;
217
+ paid?: boolean | undefined;
218
+ }, {
219
+ student: string;
220
+ states: AttendState[];
221
+ tuition: {
222
+ primary: number;
223
+ textbook?: boolean | undefined;
224
+ shipping?: boolean | undefined;
225
+ };
226
+ campOption: CampOption;
227
+ paid?: boolean | undefined;
228
+ }>;
229
+ declare const zMAttendance: z.ZodObject<{
230
+ [x: string]: any;
231
+ [x: number]: any;
232
+ [x: symbol]: any;
233
+ _id: z.ZodString;
234
+ createdAt: z.ZodOptional<z.ZodDate>;
235
+ updatedAt: z.ZodOptional<z.ZodDate>;
236
+ }, any, any, {
237
+ [x: string]: any;
238
+ [x: number]: any;
239
+ [x: symbol]: any;
240
+ _id?: string | undefined;
241
+ createdAt?: Date | undefined;
242
+ updatedAt?: Date | undefined;
243
+ }, {
244
+ [x: string]: any;
245
+ [x: number]: any;
246
+ [x: symbol]: any;
247
+ _id?: string | undefined;
248
+ createdAt?: Date | undefined;
249
+ updatedAt?: Date | undefined;
250
+ }>;
251
+ type Attendance = z.infer<typeof zAttendance>;
252
+ type MAttendance = z.infer<typeof zMAttendance>;
253
+
254
+ declare const zCampTracker: z.ZodObject<{
255
+ /**
256
+ * Mongoose object ID
257
+ */
258
+ course: z.ZodString;
259
+ /**
260
+ * Mongoose object ID
261
+ */
262
+ teacher: z.ZodString;
263
+ /**
264
+ * Mongoose object ID
265
+ */
266
+ semester: z.ZodString;
267
+ /**
268
+ * occurrences are tracked by week for camps
269
+ */
270
+ occurrences: z.ZodArray<z.ZodString, "many">;
271
+ /**
272
+ * attendances are tracked by week for camps
273
+ */
274
+ attendances: z.ZodArray<z.ZodString, "many">;
275
+ notes: z.ZodOptional<z.ZodString>;
276
+ }, "strip", z.ZodTypeAny, {
277
+ course: string;
278
+ teacher: string;
279
+ semester: string;
280
+ occurrences: string[];
281
+ attendances: string[];
282
+ notes?: string | undefined;
283
+ }, {
284
+ course: string;
285
+ teacher: string;
286
+ semester: string;
287
+ occurrences: string[];
288
+ attendances: string[];
289
+ notes?: string | undefined;
290
+ }>;
291
+ declare const zMCampTracker: z.ZodObject<{
292
+ [x: string]: any;
293
+ [x: number]: any;
294
+ [x: symbol]: any;
295
+ _id: z.ZodString;
296
+ createdAt: z.ZodOptional<z.ZodDate>;
297
+ updatedAt: z.ZodOptional<z.ZodDate>;
298
+ }, any, any, {
299
+ [x: string]: any;
300
+ [x: number]: any;
301
+ [x: symbol]: any;
302
+ _id?: string | undefined;
303
+ createdAt?: Date | undefined;
304
+ updatedAt?: Date | undefined;
305
+ }, {
306
+ [x: string]: any;
307
+ [x: number]: any;
308
+ [x: symbol]: any;
309
+ _id?: string | undefined;
310
+ createdAt?: Date | undefined;
311
+ updatedAt?: Date | undefined;
312
+ }>;
313
+ type CampTracker = z.infer<typeof zCampTracker>;
314
+ type MCampTracker = z.infer<typeof zMCampTracker>;
315
+
316
+ declare const zClassTracker: z.ZodObject<{
317
+ /**
318
+ * Mongoose object ID
319
+ */
320
+ course: z.ZodString;
321
+ /**
322
+ * Mongoose object ID
323
+ */
324
+ teacher: z.ZodString;
325
+ /**
326
+ * Mongoose object ID
327
+ */
328
+ semester: z.ZodString;
329
+ classTimes: z.ZodArray<z.ZodDate, "many">;
330
+ completedList: z.ZodArray<z.ZodBoolean, "many">;
331
+ /**
332
+ * Virtual mongoose field when all values in completedList is true
333
+ */
334
+ completed: z.ZodOptional<z.ZodBoolean>;
335
+ tuition: z.ZodOptional<z.ZodObject<{
336
+ primary: z.ZodNumber;
337
+ textbook: z.ZodOptional<z.ZodBoolean>;
338
+ shipping: z.ZodOptional<z.ZodBoolean>;
339
+ }, "strip", z.ZodTypeAny, {
340
+ primary: number;
341
+ textbook?: boolean | undefined;
342
+ shipping?: boolean | undefined;
343
+ }, {
344
+ primary: number;
345
+ textbook?: boolean | undefined;
346
+ shipping?: boolean | undefined;
347
+ }>>;
348
+ paid: z.ZodOptional<z.ZodBoolean>;
349
+ notes: z.ZodOptional<z.ZodString>;
350
+ }, "strip", z.ZodTypeAny, {
351
+ course: string;
352
+ teacher: string;
353
+ semester: string;
354
+ classTimes: Date[];
355
+ completedList: boolean[];
356
+ completed?: boolean | undefined;
357
+ tuition?: {
358
+ primary: number;
359
+ textbook?: boolean | undefined;
360
+ shipping?: boolean | undefined;
361
+ } | undefined;
362
+ paid?: boolean | undefined;
363
+ notes?: string | undefined;
364
+ }, {
365
+ course: string;
366
+ teacher: string;
367
+ semester: string;
368
+ classTimes: Date[];
369
+ completedList: boolean[];
370
+ completed?: boolean | undefined;
371
+ tuition?: {
372
+ primary: number;
373
+ textbook?: boolean | undefined;
374
+ shipping?: boolean | undefined;
375
+ } | undefined;
376
+ paid?: boolean | undefined;
377
+ notes?: string | undefined;
378
+ }>;
379
+ declare const zMClassTracker: z.ZodObject<{
380
+ [x: string]: any;
381
+ [x: number]: any;
382
+ [x: symbol]: any;
383
+ _id: z.ZodString;
384
+ createdAt: z.ZodOptional<z.ZodDate>;
385
+ updatedAt: z.ZodOptional<z.ZodDate>;
386
+ }, any, any, {
387
+ [x: string]: any;
388
+ [x: number]: any;
389
+ [x: symbol]: any;
390
+ _id?: string | undefined;
391
+ createdAt?: Date | undefined;
392
+ updatedAt?: Date | undefined;
393
+ }, {
394
+ [x: string]: any;
395
+ [x: number]: any;
396
+ [x: symbol]: any;
397
+ _id?: string | undefined;
398
+ createdAt?: Date | undefined;
399
+ updatedAt?: Date | undefined;
400
+ }>;
401
+ type ClassTracker = z.infer<typeof zClassTracker>;
402
+ type MClassTracker = z.infer<typeof zMClassTracker>;
403
+
404
+ declare enum AgeGroup {
405
+ ADULT = "Adult",
406
+ YOUTH = "Youth"
407
+ }
408
+
409
+ declare enum CourseCategory {
410
+ GROUP = "group",
411
+ PRIVATE = "private",
412
+ SEMIPRIVATE = "semiprivate",
413
+ CAMP = "camp"
414
+ }
415
+
416
+ declare enum NYIGSchool {
417
+ MANHATTAN = "Manhattan",
418
+ LITTLENECK = "Little Neck",
419
+ ONLINE = "Online"
420
+ }
421
+
422
+ declare const zCourse: z.ZodObject<{
423
+ name: z.ZodString;
424
+ category: z.ZodNativeEnum<typeof CourseCategory>;
425
+ /**
426
+ * @unit SECONDS - Duration of the course in seconds
427
+ */
428
+ duration: z.ZodNumber;
429
+ /**
430
+ * @unit CENTS - Price of the course in cents
431
+ */
432
+ price: z.ZodNumber;
433
+ description: z.ZodOptional<z.ZodString>;
434
+ /**
435
+ * NYIG School locations
436
+ */
437
+ nyigSchool: z.ZodNativeEnum<typeof NYIGSchool>;
438
+ /**
439
+ * Recommended level before taking this course
440
+ */
441
+ recLevel: z.ZodString;
442
+ /**
443
+ * Camp tuition for half-day option
444
+ */
445
+ halfCampTuition: z.ZodNumber;
446
+ /**
447
+ * Camp tuition for full-day option
448
+ */
449
+ fullCampTuition: z.ZodNumber;
450
+ }, "strip", z.ZodTypeAny, {
451
+ price: number;
452
+ name: string;
453
+ category: CourseCategory;
454
+ duration: number;
455
+ nyigSchool: NYIGSchool;
456
+ recLevel: string;
457
+ halfCampTuition: number;
458
+ fullCampTuition: number;
459
+ description?: string | undefined;
460
+ }, {
461
+ price: number;
462
+ name: string;
463
+ category: CourseCategory;
464
+ duration: number;
465
+ nyigSchool: NYIGSchool;
466
+ recLevel: string;
467
+ halfCampTuition: number;
468
+ fullCampTuition: number;
469
+ description?: string | undefined;
470
+ }>;
471
+ declare const zMCourse: z.ZodObject<{
472
+ [x: string]: any;
473
+ [x: number]: any;
474
+ [x: symbol]: any;
475
+ _id: z.ZodString;
476
+ createdAt: z.ZodOptional<z.ZodDate>;
477
+ updatedAt: z.ZodOptional<z.ZodDate>;
478
+ }, any, any, {
479
+ [x: string]: any;
480
+ [x: number]: any;
481
+ [x: symbol]: any;
482
+ _id?: string | undefined;
483
+ createdAt?: Date | undefined;
484
+ updatedAt?: Date | undefined;
485
+ }, {
486
+ [x: string]: any;
487
+ [x: number]: any;
488
+ [x: symbol]: any;
489
+ _id?: string | undefined;
490
+ createdAt?: Date | undefined;
491
+ updatedAt?: Date | undefined;
492
+ }>;
493
+ type Course = z.infer<typeof zCourse>;
494
+ type MCourse = z.infer<typeof zMCourse>;
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
+ declare const zGroupTracker: z.ZodObject<{
511
+ /**
512
+ * Mongoose object ID
513
+ */
514
+ course: z.ZodString;
515
+ /**
516
+ * Mongoose object ID
517
+ */
518
+ teacher: z.ZodString;
519
+ /**
520
+ * Mongoose object ID
521
+ */
522
+ semester: z.ZodString;
523
+ scheduleData: z.ZodObject<{
524
+ startTime: z.ZodString;
525
+ dayOfWeek: z.ZodNumber;
526
+ }, "strip", z.ZodTypeAny, {
527
+ startTime: string;
528
+ dayOfWeek: number;
529
+ }, {
530
+ startTime: string;
531
+ dayOfWeek: number;
532
+ }>;
533
+ /**
534
+ * occurrences are tracked by week for Groups
535
+ */
536
+ occurrences: z.ZodArray<z.ZodDate, "many">;
537
+ /**
538
+ * attendances are tracked by week for Groups
539
+ */
540
+ attendances: z.ZodArray<z.ZodString, "many">;
541
+ /**
542
+ * ID of the course instance, e.g., 101
543
+ */
544
+ courseId: z.ZodOptional<z.ZodString>;
545
+ /**
546
+ * Age group of the class instance, e.g. "adult", "youth"
547
+ */
548
+ ageGroup: z.ZodOptional<z.ZodNativeEnum<typeof AgeGroup>>;
549
+ /**
550
+ * If true, the course is hidden from public view
551
+ */
552
+ isNonPublic: z.ZodOptional<z.ZodBoolean>;
553
+ notes: z.ZodOptional<z.ZodString>;
554
+ }, "strip", z.ZodTypeAny, {
555
+ course: string;
556
+ teacher: string;
557
+ semester: string;
558
+ occurrences: Date[];
559
+ attendances: string[];
560
+ scheduleData: {
561
+ startTime: string;
562
+ dayOfWeek: number;
563
+ };
564
+ courseId?: string | undefined;
565
+ ageGroup?: AgeGroup | undefined;
566
+ isNonPublic?: boolean | undefined;
567
+ notes?: string | undefined;
568
+ }, {
569
+ course: string;
570
+ teacher: string;
571
+ semester: string;
572
+ occurrences: Date[];
573
+ attendances: string[];
574
+ scheduleData: {
575
+ startTime: string;
576
+ dayOfWeek: number;
577
+ };
578
+ courseId?: string | undefined;
579
+ ageGroup?: AgeGroup | undefined;
580
+ isNonPublic?: boolean | undefined;
581
+ notes?: string | undefined;
582
+ }>;
583
+ declare const zMGroupTracker: z.ZodObject<{
584
+ [x: string]: any;
585
+ [x: number]: any;
586
+ [x: symbol]: any;
587
+ _id: z.ZodString;
588
+ createdAt: z.ZodOptional<z.ZodDate>;
589
+ updatedAt: z.ZodOptional<z.ZodDate>;
590
+ }, any, any, {
591
+ [x: string]: any;
592
+ [x: number]: any;
593
+ [x: symbol]: any;
594
+ _id?: string | undefined;
595
+ createdAt?: Date | undefined;
596
+ updatedAt?: Date | undefined;
597
+ }, {
598
+ [x: string]: any;
599
+ [x: number]: any;
600
+ [x: symbol]: any;
601
+ _id?: string | undefined;
602
+ createdAt?: Date | undefined;
603
+ updatedAt?: Date | undefined;
604
+ }>;
605
+ type GroupTracker = z.infer<typeof zGroupTracker>;
606
+ type MGroupTracker = z.infer<typeof zMGroupTracker>;
607
+
608
+ declare const zScheduleData: z.ZodObject<{
609
+ startTime: z.ZodString;
610
+ dayOfWeek: z.ZodNumber;
611
+ }, "strip", z.ZodTypeAny, {
612
+ startTime: string;
613
+ dayOfWeek: number;
614
+ }, {
615
+ startTime: string;
616
+ dayOfWeek: number;
617
+ }>;
618
+ type ScheduleData = z.infer<typeof zScheduleData>;
619
+
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
+ declare const zCampBooking: z.ZodObject<{
647
+ firstName: z.ZodString;
648
+ lastName: z.ZodString;
649
+ rank: z.ZodString;
650
+ email: z.ZodString;
651
+ phone: z.ZodOptional<z.ZodString>;
652
+ address: z.ZodOptional<z.ZodString>;
653
+ notes: z.ZodOptional<z.ZodString>;
654
+ userId: z.ZodOptional<z.ZodString>;
655
+ isOnline: z.ZodBoolean;
656
+ shipping: z.ZodOptional<z.ZodBoolean>;
657
+ campOption: z.ZodNativeEnum<typeof CampOption>;
658
+ ctId: z.ZodOptional<z.ZodString>;
659
+ classDates: z.ZodString;
660
+ paymentAmount: z.ZodNumber;
661
+ paymentReceived: z.ZodOptional<z.ZodBoolean>;
662
+ expireAt: z.ZodOptional<z.ZodDate>;
663
+ }, "strip", z.ZodTypeAny, {
664
+ firstName: string;
665
+ lastName: string;
666
+ rank: string;
667
+ email: string;
668
+ paymentAmount: number;
669
+ isOnline: boolean;
670
+ campOption: CampOption;
671
+ classDates: string;
672
+ phone?: string | undefined;
673
+ address?: string | undefined;
674
+ notes?: string | undefined;
675
+ userId?: string | undefined;
676
+ shipping?: boolean | undefined;
677
+ ctId?: string | undefined;
678
+ paymentReceived?: boolean | undefined;
679
+ expireAt?: Date | undefined;
680
+ }, {
681
+ firstName: string;
682
+ lastName: string;
683
+ rank: string;
684
+ email: string;
685
+ paymentAmount: number;
686
+ isOnline: boolean;
687
+ campOption: CampOption;
688
+ classDates: string;
689
+ phone?: string | undefined;
690
+ address?: string | undefined;
691
+ notes?: string | undefined;
692
+ userId?: string | undefined;
693
+ shipping?: boolean | undefined;
694
+ ctId?: string | undefined;
695
+ paymentReceived?: boolean | undefined;
696
+ expireAt?: Date | undefined;
697
+ }>;
698
+ declare const zMCampBooking: z.ZodObject<{
699
+ [x: string]: any;
700
+ [x: number]: any;
701
+ [x: symbol]: any;
702
+ _id: z.ZodString;
703
+ createdAt: z.ZodOptional<z.ZodDate>;
704
+ updatedAt: z.ZodOptional<z.ZodDate>;
705
+ }, any, any, {
706
+ [x: string]: any;
707
+ [x: number]: any;
708
+ [x: symbol]: any;
709
+ _id?: string | undefined;
710
+ createdAt?: Date | undefined;
711
+ updatedAt?: Date | undefined;
712
+ }, {
713
+ [x: string]: any;
714
+ [x: number]: any;
715
+ [x: symbol]: any;
716
+ _id?: string | undefined;
717
+ createdAt?: Date | undefined;
718
+ updatedAt?: Date | undefined;
719
+ }>;
720
+ type CampBooking = z.infer<typeof zCampBooking>;
721
+ type MCampBooking = z.infer<typeof zMCampBooking>;
722
+
723
+ declare const zBPaymentInfo: z.ZodObject<{
724
+ /**
725
+ * @units CENTS - Proposed payment amount in cents of the booking
726
+ */
727
+ paymentAmount: z.ZodNumber;
728
+ /**
729
+ * True if the payment has been received. Populated by webhook.
730
+ */
731
+ paymentReceived: z.ZodOptional<z.ZodBoolean>;
732
+ /**
733
+ * When Date is reached, document is deleted by MongoDB sweeper.
734
+ * Creation typically marks one to two weeks.
735
+ * After payment, webhook should extend this date to essentially infinite.
736
+ */
737
+ expireAt: z.ZodOptional<z.ZodDate>;
738
+ }, "strip", z.ZodTypeAny, {
739
+ paymentAmount: number;
740
+ paymentReceived?: boolean | undefined;
741
+ expireAt?: Date | undefined;
742
+ }, {
743
+ paymentAmount: number;
744
+ paymentReceived?: boolean | undefined;
745
+ expireAt?: Date | undefined;
746
+ }>;
747
+ type BPaymentInfo = z.infer<typeof zBPaymentInfo>;
748
+
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
+ declare enum PaymentMethod {
770
+ CASH = "Cash",
771
+ CHECK = "Check",
772
+ VENMO = "Venmo",
773
+ ZELLE = "Zelle Transfer"
774
+ }
775
+
776
+ declare const zDiscount: z.ZodObject<{
777
+ desc: z.ZodString;
778
+ amount: z.ZodNumber;
779
+ }, "strip", z.ZodTypeAny, {
780
+ desc: string;
781
+ amount: number;
782
+ }, {
783
+ desc: string;
784
+ amount: number;
785
+ }>;
786
+ declare const zInvoiceItem: z.ZodObject<{
787
+ /**
788
+ * Mongoose object ID
789
+ */
790
+ course: z.ZodString;
791
+ price: z.ZodNumber;
792
+ units: z.ZodNumber;
793
+ }, "strip", z.ZodTypeAny, {
794
+ course: string;
795
+ price: number;
796
+ units: number;
797
+ }, {
798
+ course: string;
799
+ price: number;
800
+ units: number;
801
+ }>;
802
+ declare const zInvoicePackage: z.ZodObject<{
803
+ /**
804
+ * Mongoose object ID
805
+ */
806
+ student: z.ZodString;
807
+ items: z.ZodArray<z.ZodObject<{
808
+ /**
809
+ * Mongoose object ID
810
+ */
811
+ course: z.ZodString;
812
+ price: z.ZodNumber;
813
+ units: z.ZodNumber;
814
+ }, "strip", z.ZodTypeAny, {
815
+ course: string;
816
+ price: number;
817
+ units: number;
818
+ }, {
819
+ course: string;
820
+ price: number;
821
+ units: number;
822
+ }>, "many">;
823
+ }, "strip", z.ZodTypeAny, {
824
+ student: string;
825
+ items: {
826
+ course: string;
827
+ price: number;
828
+ units: number;
829
+ }[];
830
+ }, {
831
+ student: string;
832
+ items: {
833
+ course: string;
834
+ price: number;
835
+ units: number;
836
+ }[];
837
+ }>;
838
+ declare const zInvoice: z.ZodObject<{
839
+ billTo: z.ZodString;
840
+ packages: z.ZodArray<z.ZodObject<{
841
+ /**
842
+ * Mongoose object ID
843
+ */
844
+ student: z.ZodString;
845
+ items: z.ZodArray<z.ZodObject<{
846
+ /**
847
+ * Mongoose object ID
848
+ */
849
+ course: z.ZodString;
850
+ price: z.ZodNumber;
851
+ units: z.ZodNumber;
852
+ }, "strip", z.ZodTypeAny, {
853
+ course: string;
854
+ price: number;
855
+ units: number;
856
+ }, {
857
+ course: string;
858
+ price: number;
859
+ units: number;
860
+ }>, "many">;
861
+ }, "strip", z.ZodTypeAny, {
862
+ student: string;
863
+ items: {
864
+ course: string;
865
+ price: number;
866
+ units: number;
867
+ }[];
868
+ }, {
869
+ student: string;
870
+ items: {
871
+ course: string;
872
+ price: number;
873
+ units: number;
874
+ }[];
875
+ }>, "many">;
876
+ discounts: z.ZodArray<z.ZodObject<{
877
+ desc: z.ZodString;
878
+ amount: z.ZodNumber;
879
+ }, "strip", z.ZodTypeAny, {
880
+ desc: string;
881
+ amount: number;
882
+ }, {
883
+ desc: string;
884
+ amount: number;
885
+ }>, "many">;
886
+ textbook: z.ZodOptional<z.ZodNumber>;
887
+ shipping: z.ZodOptional<z.ZodNumber>;
888
+ paid: z.ZodOptional<z.ZodNativeEnum<typeof PaymentMethod>>;
889
+ notes: z.ZodOptional<z.ZodString>;
890
+ /**
891
+ * Mongoose object ID
892
+ */
893
+ createdBy: z.ZodString;
894
+ /**
895
+ * Mongoose object ID
896
+ */
897
+ lastEditBy: z.ZodOptional<z.ZodString>;
898
+ }, "strip", z.ZodTypeAny, {
899
+ billTo: string;
900
+ packages: {
901
+ student: string;
902
+ items: {
903
+ course: string;
904
+ price: number;
905
+ units: number;
906
+ }[];
907
+ }[];
908
+ discounts: {
909
+ desc: string;
910
+ amount: number;
911
+ }[];
912
+ createdBy: string;
913
+ textbook?: number | undefined;
914
+ shipping?: number | undefined;
915
+ paid?: PaymentMethod | undefined;
916
+ notes?: string | undefined;
917
+ lastEditBy?: string | undefined;
918
+ }, {
919
+ billTo: string;
920
+ packages: {
921
+ student: string;
922
+ items: {
923
+ course: string;
924
+ price: number;
925
+ units: number;
926
+ }[];
927
+ }[];
928
+ discounts: {
929
+ desc: string;
930
+ amount: number;
931
+ }[];
932
+ createdBy: string;
933
+ textbook?: number | undefined;
934
+ shipping?: number | undefined;
935
+ paid?: PaymentMethod | undefined;
936
+ notes?: string | undefined;
937
+ lastEditBy?: string | undefined;
938
+ }>;
939
+ declare const zMInvoice: z.ZodObject<{
940
+ [x: string]: any;
941
+ [x: number]: any;
942
+ [x: symbol]: any;
943
+ _id: z.ZodString;
944
+ createdAt: z.ZodOptional<z.ZodDate>;
945
+ updatedAt: z.ZodOptional<z.ZodDate>;
946
+ }, any, any, {
947
+ [x: string]: any;
948
+ [x: number]: any;
949
+ [x: symbol]: any;
950
+ _id?: string | undefined;
951
+ createdAt?: Date | undefined;
952
+ updatedAt?: Date | undefined;
953
+ }, {
954
+ [x: string]: any;
955
+ [x: number]: any;
956
+ [x: symbol]: any;
957
+ _id?: string | undefined;
958
+ createdAt?: Date | undefined;
959
+ updatedAt?: Date | undefined;
960
+ }>;
961
+ type Discount = z.infer<typeof zDiscount>;
962
+ type InvoiceItem = z.infer<typeof zInvoiceItem>;
963
+ type InvoicePackage = z.infer<typeof zInvoicePackage>;
964
+ type Invoice = z.infer<typeof zInvoice>;
965
+ type MInvoice = z.infer<typeof zMInvoice>;
966
+
967
+ declare const zTeacherPaymentRow: z.ZodObject<{
968
+ course: z.ZodString;
969
+ length: z.ZodNumber;
970
+ count: z.ZodNumber;
971
+ wage: z.ZodNumber;
972
+ }, "strip", z.ZodTypeAny, {
973
+ length: number;
974
+ course: string;
975
+ count: number;
976
+ wage: number;
977
+ }, {
978
+ length: number;
979
+ course: string;
980
+ count: number;
981
+ wage: number;
982
+ }>;
983
+ declare const zTeacherPayment: z.ZodObject<{
984
+ teacher: z.ZodString;
985
+ rows: z.ZodArray<z.ZodObject<{
986
+ course: z.ZodString;
987
+ length: z.ZodNumber;
988
+ count: z.ZodNumber;
989
+ wage: z.ZodNumber;
990
+ }, "strip", z.ZodTypeAny, {
991
+ length: number;
992
+ course: string;
993
+ count: number;
994
+ wage: number;
995
+ }, {
996
+ length: number;
997
+ course: string;
998
+ count: number;
999
+ wage: number;
1000
+ }>, "many">;
1001
+ paid: z.ZodOptional<z.ZodBoolean>;
1002
+ }, "strip", z.ZodTypeAny, {
1003
+ teacher: string;
1004
+ rows: {
1005
+ length: number;
1006
+ course: string;
1007
+ count: number;
1008
+ wage: number;
1009
+ }[];
1010
+ paid?: boolean | undefined;
1011
+ }, {
1012
+ teacher: string;
1013
+ rows: {
1014
+ length: number;
1015
+ course: string;
1016
+ count: number;
1017
+ wage: number;
1018
+ }[];
1019
+ paid?: boolean | undefined;
1020
+ }>;
1021
+ declare const zMTeacherPayment: z.ZodObject<{
1022
+ [x: string]: any;
1023
+ [x: number]: any;
1024
+ [x: symbol]: any;
1025
+ _id: z.ZodString;
1026
+ createdAt: z.ZodOptional<z.ZodDate>;
1027
+ updatedAt: z.ZodOptional<z.ZodDate>;
1028
+ }, any, any, {
1029
+ [x: string]: any;
1030
+ [x: number]: any;
1031
+ [x: symbol]: any;
1032
+ _id?: string | undefined;
1033
+ createdAt?: Date | undefined;
1034
+ updatedAt?: Date | undefined;
1035
+ }, {
1036
+ [x: string]: any;
1037
+ [x: number]: any;
1038
+ [x: symbol]: any;
1039
+ _id?: string | undefined;
1040
+ createdAt?: Date | undefined;
1041
+ updatedAt?: Date | undefined;
1042
+ }>;
1043
+ type TeacherPaymentRow = z.infer<typeof zTeacherPaymentRow>;
1044
+ type TeacherPayment = z.infer<typeof zTeacherPayment>;
1045
+ type MTeacherPayment = z.infer<typeof zMTeacherPayment>;
1046
+
1047
+ declare const zTuition: z.ZodObject<{
1048
+ primary: z.ZodNumber;
1049
+ textbook: z.ZodOptional<z.ZodBoolean>;
1050
+ shipping: z.ZodOptional<z.ZodBoolean>;
1051
+ }, "strip", z.ZodTypeAny, {
1052
+ primary: number;
1053
+ textbook?: boolean | undefined;
1054
+ shipping?: boolean | undefined;
1055
+ }, {
1056
+ primary: number;
1057
+ textbook?: boolean | undefined;
1058
+ shipping?: boolean | undefined;
1059
+ }>;
1060
+ type Tuition = z.infer<typeof zTuition>;
1061
+
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
+ declare const zTeacherDisplay: z.ZodObject<{
4
1087
  name: z.ZodString;
5
1088
  email: z.ZodString;
1089
+ title: z.ZodString;
1090
+ imageUrl: z.ZodString;
1091
+ bio: z.ZodString;
6
1092
  }, "strip", z.ZodTypeAny, {
1093
+ email: string;
7
1094
  name: string;
1095
+ title: string;
1096
+ imageUrl: string;
1097
+ bio: string;
1098
+ }, {
8
1099
  email: string;
1100
+ name: string;
1101
+ title: string;
1102
+ imageUrl: string;
1103
+ bio: string;
1104
+ }>;
1105
+ declare const zCourseTable: z.ZodObject<{
1106
+ id: z.ZodString;
1107
+ name: z.ZodString;
1108
+ duration: z.ZodNumber;
1109
+ dateAndTime: z.ZodString;
1110
+ recommendedLevel: z.ZodString;
1111
+ tuition: z.ZodString;
1112
+ }, "strip", z.ZodTypeAny, {
1113
+ tuition: string;
1114
+ name: string;
1115
+ duration: number;
1116
+ id: string;
1117
+ dateAndTime: string;
1118
+ recommendedLevel: string;
9
1119
  }, {
1120
+ tuition: string;
10
1121
  name: string;
1122
+ duration: number;
1123
+ id: string;
1124
+ dateAndTime: string;
1125
+ recommendedLevel: string;
1126
+ }>;
1127
+ type CourseTable = z.infer<typeof zCourseTable>;
1128
+ type TeacherDisplay = z.infer<typeof zTeacherDisplay>;
1129
+ interface MNYIGMission extends NYIGMission {
1130
+ _id: string;
1131
+ }
1132
+ type AuroraCourses = {
1133
+ [school in NYIGSchool]: {
1134
+ [ageGroup in AgeGroup]: CourseTable[];
1135
+ };
1136
+ };
1137
+ interface NYIGMission {
1138
+ _id?: string;
1139
+ /**
1140
+ * @index @unique version of the mission
1141
+ * "current" is the current mission.
1142
+ * Previous mission versions need to be changed to the last effective date
1143
+ * e.g., "2022-10-01"
1144
+ */
1145
+ version: string;
1146
+ main1: string;
1147
+ main2: string;
1148
+ mission: string;
1149
+ }
1150
+
1151
+ declare const zImageDef: z.ZodObject<{
1152
+ url: z.ZodString;
1153
+ height: z.ZodNumber;
1154
+ width: z.ZodNumber;
1155
+ }, "strip", z.ZodTypeAny, {
1156
+ url: string;
1157
+ height: number;
1158
+ width: number;
1159
+ }, {
1160
+ url: string;
1161
+ height: number;
1162
+ width: number;
1163
+ }>;
1164
+ type ImageDef = z.infer<typeof zImageDef>;
1165
+
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
+ declare enum TicketStatus {
1180
+ REQUESTED = "Requested",
1181
+ IN_PROGRESS = "In-progress",
1182
+ SIGN_OFF = "Sign-off",
1183
+ COMPLETED = "Completed"
1184
+ }
1185
+ declare const zReportTicket: z.ZodObject<{
1186
+ requester: z.ZodString;
1187
+ resolver: z.ZodString;
1188
+ status: z.ZodNativeEnum<typeof TicketStatus>;
1189
+ title: z.ZodString;
1190
+ description: z.ZodString;
1191
+ }, "strip", z.ZodTypeAny, {
1192
+ status: TicketStatus;
1193
+ description: string;
1194
+ title: string;
1195
+ requester: string;
1196
+ resolver: string;
1197
+ }, {
1198
+ status: TicketStatus;
1199
+ description: string;
1200
+ title: string;
1201
+ requester: string;
1202
+ resolver: string;
1203
+ }>;
1204
+ declare const zMReportTicket: z.ZodObject<{
1205
+ [x: string]: any;
1206
+ [x: number]: any;
1207
+ [x: symbol]: any;
1208
+ _id: z.ZodString;
1209
+ createdAt: z.ZodOptional<z.ZodDate>;
1210
+ updatedAt: z.ZodOptional<z.ZodDate>;
1211
+ }, any, any, {
1212
+ [x: string]: any;
1213
+ [x: number]: any;
1214
+ [x: symbol]: any;
1215
+ _id?: string | undefined;
1216
+ createdAt?: Date | undefined;
1217
+ updatedAt?: Date | undefined;
1218
+ }, {
1219
+ [x: string]: any;
1220
+ [x: number]: any;
1221
+ [x: symbol]: any;
1222
+ _id?: string | undefined;
1223
+ createdAt?: Date | undefined;
1224
+ updatedAt?: Date | undefined;
1225
+ }>;
1226
+ type ReportTicket = z.infer<typeof zReportTicket>;
1227
+ type MReportTicket = z.infer<typeof zMReportTicket>;
1228
+
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
+ declare enum Season {
1238
+ FALL = "fall",
1239
+ SPRING = "spring",
1240
+ SUMMER = "summer"
1241
+ }
1242
+
1243
+ declare const zSemester: z.ZodObject<{
1244
+ season: z.ZodNativeEnum<typeof Season>;
1245
+ year: z.ZodNumber;
1246
+ startDate: z.ZodDate;
1247
+ endDate: z.ZodDate;
1248
+ /**
1249
+ * Format: start, end, start, end, ...
1250
+ */
1251
+ blackoutDates: z.ZodArray<z.ZodDate, "many">;
1252
+ /**
1253
+ * List of names of some break: date range
1254
+ */
1255
+ importantDates: z.ZodArray<z.ZodString, "many">;
1256
+ }, "strip", z.ZodTypeAny, {
1257
+ season: Season;
1258
+ year: number;
1259
+ startDate: Date;
1260
+ endDate: Date;
1261
+ blackoutDates: Date[];
1262
+ importantDates: string[];
1263
+ }, {
1264
+ season: Season;
1265
+ year: number;
1266
+ startDate: Date;
1267
+ endDate: Date;
1268
+ blackoutDates: Date[];
1269
+ importantDates: string[];
1270
+ }>;
1271
+ declare const zMSemester: z.ZodObject<{
1272
+ [x: string]: any;
1273
+ [x: number]: any;
1274
+ [x: symbol]: any;
1275
+ _id: z.ZodString;
1276
+ createdAt: z.ZodOptional<z.ZodDate>;
1277
+ updatedAt: z.ZodOptional<z.ZodDate>;
1278
+ }, any, any, {
1279
+ [x: string]: any;
1280
+ [x: number]: any;
1281
+ [x: symbol]: any;
1282
+ _id?: string | undefined;
1283
+ createdAt?: Date | undefined;
1284
+ updatedAt?: Date | undefined;
1285
+ }, {
1286
+ [x: string]: any;
1287
+ [x: number]: any;
1288
+ [x: symbol]: any;
1289
+ _id?: string | undefined;
1290
+ createdAt?: Date | undefined;
1291
+ updatedAt?: Date | undefined;
1292
+ }>;
1293
+ type Semester = z.infer<typeof zSemester>;
1294
+ type MSemester = z.infer<typeof zMSemester>;
1295
+
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
+ declare const zTConfig: z.ZodObject<{
1307
+ /**
1308
+ * Location of the event
1309
+ */
1310
+ location: z.ZodOptional<z.ZodString>;
1311
+ /**
1312
+ * URL of the tournament on the official website
1313
+ * Must be a valid URL link
1314
+ */
1315
+ url: z.ZodString;
1316
+ /**
1317
+ * Full name of the tournament
1318
+ */
1319
+ title: z.ZodString;
1320
+ /**
1321
+ * Abbreviated title of the tournament
1322
+ */
1323
+ shortTitle: z.ZodString;
1324
+ /**
1325
+ * Tournament start date and time
1326
+ */
1327
+ tStart: z.ZodDate;
1328
+ /**
1329
+ * Tournament end date and time
1330
+ */
1331
+ tEnd: z.ZodDate;
1332
+ /**
1333
+ * Short description for tournament card
1334
+ */
1335
+ shortDescription: z.ZodString;
1336
+ /**
1337
+ * Full description
1338
+ */
1339
+ description: z.ZodString;
1340
+ /**
1341
+ * Defines the tournament details table with 2 columns
1342
+ * typically Time and Event
1343
+ */
1344
+ details: z.ZodObject<{
1345
+ fields: z.ZodArray<z.ZodString, "many">;
1346
+ data: z.ZodArray<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, "many">;
1347
+ }, "strip", z.ZodTypeAny, {
1348
+ data: {}[];
1349
+ fields: string[];
1350
+ }, {
1351
+ data: {}[];
1352
+ fields: string[];
1353
+ }>;
1354
+ /**
1355
+ * Defines the tournament schedule.
1356
+ * data is a map of tab title -> 2 column table rows.
1357
+ */
1358
+ schedule: z.ZodObject<{
1359
+ fields: z.ZodArray<z.ZodString, "many">;
1360
+ data: z.ZodMap<z.ZodString, z.ZodArray<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, "many">>;
1361
+ }, "strip", z.ZodTypeAny, {
1362
+ data: Map<string, {}[]>;
1363
+ fields: string[];
1364
+ }, {
1365
+ data: Map<string, {}[]>;
1366
+ fields: string[];
1367
+ }>;
1368
+ /**
1369
+ * List of ticket object IDs for this tournament
1370
+ */
1371
+ tickets: z.ZodArray<z.ZodString, "many">;
1372
+ /**
1373
+ * If false, the tournament registration is closed
1374
+ */
1375
+ canRegister: z.ZodBoolean;
1376
+ /**
1377
+ * If true, free form donation amounts are disabled.
1378
+ */
1379
+ donationsDisabled: z.ZodOptional<z.ZodBoolean>;
1380
+ /**
1381
+ * Defines URL, height, width of the image
1382
+ */
1383
+ image: z.ZodOptional<z.ZodObject<{
1384
+ url: z.ZodString;
1385
+ height: z.ZodNumber;
1386
+ width: z.ZodNumber;
1387
+ }, "strip", z.ZodTypeAny, {
1388
+ url: string;
1389
+ height: number;
1390
+ width: number;
1391
+ }, {
1392
+ url: string;
1393
+ height: number;
1394
+ width: number;
1395
+ }>>;
1396
+ }, "strip", z.ZodTypeAny, {
1397
+ description: string;
1398
+ title: string;
1399
+ url: string;
1400
+ shortTitle: string;
1401
+ tStart: Date;
1402
+ tEnd: Date;
1403
+ shortDescription: string;
1404
+ details: {
1405
+ data: {}[];
1406
+ fields: string[];
1407
+ };
1408
+ schedule: {
1409
+ data: Map<string, {}[]>;
1410
+ fields: string[];
1411
+ };
1412
+ tickets: string[];
1413
+ canRegister: boolean;
1414
+ location?: string | undefined;
1415
+ donationsDisabled?: boolean | undefined;
1416
+ image?: {
1417
+ url: string;
1418
+ height: number;
1419
+ width: number;
1420
+ } | undefined;
1421
+ }, {
1422
+ description: string;
1423
+ title: string;
1424
+ url: string;
1425
+ shortTitle: string;
1426
+ tStart: Date;
1427
+ tEnd: Date;
1428
+ shortDescription: string;
1429
+ details: {
1430
+ data: {}[];
1431
+ fields: string[];
1432
+ };
1433
+ schedule: {
1434
+ data: Map<string, {}[]>;
1435
+ fields: string[];
1436
+ };
1437
+ tickets: string[];
1438
+ canRegister: boolean;
1439
+ location?: string | undefined;
1440
+ donationsDisabled?: boolean | undefined;
1441
+ image?: {
1442
+ url: string;
1443
+ height: number;
1444
+ width: number;
1445
+ } | undefined;
1446
+ }>;
1447
+ declare const zMTConfig: z.ZodObject<{
1448
+ [x: string]: any;
1449
+ [x: number]: any;
1450
+ [x: symbol]: any;
1451
+ _id: z.ZodString;
1452
+ createdAt: z.ZodOptional<z.ZodDate>;
1453
+ updatedAt: z.ZodOptional<z.ZodDate>;
1454
+ }, any, any, {
1455
+ [x: string]: any;
1456
+ [x: number]: any;
1457
+ [x: symbol]: any;
1458
+ _id?: string | undefined;
1459
+ createdAt?: Date | undefined;
1460
+ updatedAt?: Date | undefined;
1461
+ }, {
1462
+ [x: string]: any;
1463
+ [x: number]: any;
1464
+ [x: symbol]: any;
1465
+ _id?: string | undefined;
1466
+ createdAt?: Date | undefined;
1467
+ updatedAt?: Date | undefined;
1468
+ }>;
1469
+ type TConfig = z.infer<typeof zTConfig>;
1470
+ type MTConfig = z.infer<typeof zMTConfig>;
1471
+
1472
+ declare const zDetailsTable: z.ZodObject<{
1473
+ fields: z.ZodArray<z.ZodString, "many">;
1474
+ data: z.ZodArray<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, "many">;
1475
+ }, "strip", z.ZodTypeAny, {
1476
+ data: {}[];
1477
+ fields: string[];
1478
+ }, {
1479
+ data: {}[];
1480
+ fields: string[];
1481
+ }>;
1482
+ declare const zScheduleTable: z.ZodObject<{
1483
+ fields: z.ZodArray<z.ZodString, "many">;
1484
+ data: z.ZodMap<z.ZodString, z.ZodArray<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, "many">>;
1485
+ }, "strip", z.ZodTypeAny, {
1486
+ data: Map<string, {}[]>;
1487
+ fields: string[];
1488
+ }, {
1489
+ data: Map<string, {}[]>;
1490
+ fields: string[];
1491
+ }>;
1492
+ type DetailsTable = z.infer<typeof zDetailsTable>;
1493
+ type ScheduleTable = z.infer<typeof zScheduleTable>;
1494
+
1495
+ declare const zTReg: z.ZodObject<{
1496
+ firstName: z.ZodString;
1497
+ lastName: z.ZodString;
1498
+ rank: z.ZodString;
1499
+ email: z.ZodString;
1500
+ phone: z.ZodOptional<z.ZodString>;
1501
+ address: z.ZodOptional<z.ZodString>;
1502
+ notes: z.ZodOptional<z.ZodString>;
1503
+ tickets: z.ZodArray<z.ZodObject<{
1504
+ ticket: z.ZodString;
1505
+ amount: z.ZodNumber;
1506
+ }, "strip", z.ZodTypeAny, {
1507
+ amount: number;
1508
+ ticket: string;
1509
+ }, {
1510
+ amount: number;
1511
+ ticket: string;
1512
+ }>, "many">;
1513
+ agaId: z.ZodString;
1514
+ tournamentId: z.ZodString;
1515
+ donation: z.ZodOptional<z.ZodNumber>;
1516
+ createMethod: z.ZodOptional<z.ZodString>;
1517
+ edited: z.ZodOptional<z.ZodString>;
1518
+ paymentAmount: z.ZodNumber;
1519
+ paymentReceived: z.ZodOptional<z.ZodBoolean>;
1520
+ expireAt: z.ZodOptional<z.ZodDate>;
1521
+ }, "strip", z.ZodTypeAny, {
1522
+ firstName: string;
1523
+ lastName: string;
1524
+ rank: string;
1525
+ email: string;
1526
+ paymentAmount: number;
1527
+ tickets: {
1528
+ amount: number;
1529
+ ticket: string;
1530
+ }[];
1531
+ agaId: string;
1532
+ tournamentId: string;
1533
+ phone?: string | undefined;
1534
+ address?: string | undefined;
1535
+ notes?: string | undefined;
1536
+ donation?: number | undefined;
1537
+ createMethod?: string | undefined;
1538
+ edited?: string | undefined;
1539
+ paymentReceived?: boolean | undefined;
1540
+ expireAt?: Date | undefined;
1541
+ }, {
1542
+ firstName: string;
1543
+ lastName: string;
1544
+ rank: string;
11
1545
  email: string;
1546
+ paymentAmount: number;
1547
+ tickets: {
1548
+ amount: number;
1549
+ ticket: string;
1550
+ }[];
1551
+ agaId: string;
1552
+ tournamentId: string;
1553
+ phone?: string | undefined;
1554
+ address?: string | undefined;
1555
+ notes?: string | undefined;
1556
+ donation?: number | undefined;
1557
+ createMethod?: string | undefined;
1558
+ edited?: string | undefined;
1559
+ paymentReceived?: boolean | undefined;
1560
+ expireAt?: Date | undefined;
1561
+ }>;
1562
+ declare const zMTReg: z.ZodObject<{
1563
+ [x: string]: any;
1564
+ [x: number]: any;
1565
+ [x: symbol]: any;
1566
+ _id: z.ZodString;
1567
+ createdAt: z.ZodOptional<z.ZodDate>;
1568
+ updatedAt: z.ZodOptional<z.ZodDate>;
1569
+ }, any, any, {
1570
+ [x: string]: any;
1571
+ [x: number]: any;
1572
+ [x: symbol]: any;
1573
+ _id?: string | undefined;
1574
+ createdAt?: Date | undefined;
1575
+ updatedAt?: Date | undefined;
1576
+ }, {
1577
+ [x: string]: any;
1578
+ [x: number]: any;
1579
+ [x: symbol]: any;
1580
+ _id?: string | undefined;
1581
+ createdAt?: Date | undefined;
1582
+ updatedAt?: Date | undefined;
1583
+ }>;
1584
+ type TReg = z.infer<typeof zTReg>;
1585
+ type MTReg = z.infer<typeof zMTReg>;
1586
+
1587
+ declare const zTTicketReg: z.ZodObject<{
1588
+ /**
1589
+ * Mongoose ID of the ticket
1590
+ */
1591
+ ticket: z.ZodString;
1592
+ /**
1593
+ * integer minimum 1, otherwise no ticket is being bought
1594
+ */
1595
+ amount: z.ZodNumber;
1596
+ }, "strip", z.ZodTypeAny, {
1597
+ amount: number;
1598
+ ticket: string;
1599
+ }, {
1600
+ amount: number;
1601
+ ticket: string;
1602
+ }>;
1603
+ type TTicketReg = z.infer<typeof zTTicketReg>;
1604
+
1605
+ declare const zTTicket: z.ZodObject<{
1606
+ name: z.ZodString;
1607
+ /**
1608
+ * Price in cents
1609
+ */
1610
+ price: z.ZodNumber;
1611
+ /**
1612
+ * @optional description of the ticket
1613
+ */
1614
+ description: z.ZodOptional<z.ZodString>;
1615
+ /**
1616
+ * @optional The ticket cannot be purchased if true
1617
+ */
1618
+ isNotBuyable: z.ZodOptional<z.ZodBoolean>;
1619
+ /**
1620
+ * @optional If date is provided and in the past, ticket cannot be purchased
1621
+ */
1622
+ lastBuytableDate: z.ZodOptional<z.ZodDate>;
1623
+ }, "strip", z.ZodTypeAny, {
1624
+ price: number;
1625
+ name: string;
1626
+ description?: string | undefined;
1627
+ isNotBuyable?: boolean | undefined;
1628
+ lastBuytableDate?: Date | undefined;
1629
+ }, {
1630
+ price: number;
1631
+ name: string;
1632
+ description?: string | undefined;
1633
+ isNotBuyable?: boolean | undefined;
1634
+ lastBuytableDate?: Date | undefined;
1635
+ }>;
1636
+ declare const zMTTicket: z.ZodObject<{
1637
+ [x: string]: any;
1638
+ [x: number]: any;
1639
+ [x: symbol]: any;
1640
+ _id: z.ZodString;
1641
+ createdAt: z.ZodOptional<z.ZodDate>;
1642
+ updatedAt: z.ZodOptional<z.ZodDate>;
1643
+ }, any, any, {
1644
+ [x: string]: any;
1645
+ [x: number]: any;
1646
+ [x: symbol]: any;
1647
+ _id?: string | undefined;
1648
+ createdAt?: Date | undefined;
1649
+ updatedAt?: Date | undefined;
1650
+ }, {
1651
+ [x: string]: any;
1652
+ [x: number]: any;
1653
+ [x: symbol]: any;
1654
+ _id?: string | undefined;
1655
+ createdAt?: Date | undefined;
1656
+ updatedAt?: Date | undefined;
1657
+ }>;
1658
+ type TTicket = z.infer<typeof zTTicket>;
1659
+ type MTTicket = z.infer<typeof zMTTicket>;
1660
+
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
+ declare enum GoRank {
1684
+ KYU1 = "1k",
1685
+ KYU2 = "2k",
1686
+ KYU3 = "3k",
1687
+ KYU4 = "4k",
1688
+ KYU5 = "5k",
1689
+ KYU6 = "6k",
1690
+ KYU7 = "7k",
1691
+ KYU8 = "8k",
1692
+ KYU9 = "9k",
1693
+ KYU10 = "10k",
1694
+ KYU11 = "11k",
1695
+ KYU12 = "12k",
1696
+ KYU13 = "13k",
1697
+ KYU14 = "14k",
1698
+ KYU15 = "15k",
1699
+ KYU16 = "16k",
1700
+ KYU17 = "17k",
1701
+ KYU18 = "18k",
1702
+ KYU19 = "19k",
1703
+ KYU20 = "20k",
1704
+ KYU21 = "21k",
1705
+ KYU22 = "22k",
1706
+ KYU23 = "23k",
1707
+ KYU24 = "24k",
1708
+ KYU25 = "25k",
1709
+ DAN1 = "1d",
1710
+ DAN2 = "2d",
1711
+ DAN3 = "3d",
1712
+ DAN4 = "4d",
1713
+ DAN5 = "5d",
1714
+ DAN6 = "6d",
1715
+ DAN7 = "7d",
1716
+ PRO1 = "1p",
1717
+ PRO2 = "2p",
1718
+ PRO3 = "3p",
1719
+ PRO4 = "4p",
1720
+ PRO5 = "5p",
1721
+ PRO6 = "6p",
1722
+ PRO7 = "7p",
1723
+ PRO8 = "8p",
1724
+ PRO9 = "9p"
1725
+ }
1726
+
1727
+ declare const zUser: z.ZodObject<{
1728
+ name: z.ZodString;
1729
+ username: z.ZodOptional<z.ZodString>;
1730
+ password: z.ZodOptional<z.ZodString>;
1731
+ roles: z.ZodOptional<z.ZodObject<{
1732
+ user: z.ZodNumber;
1733
+ admin: z.ZodNumber;
1734
+ superadmin: z.ZodNumber;
1735
+ }, "strip", z.ZodTypeAny, {
1736
+ user: number;
1737
+ admin: number;
1738
+ superadmin: number;
1739
+ }, {
1740
+ user: number;
1741
+ admin: number;
1742
+ superadmin: number;
1743
+ }>>;
1744
+ email: z.ZodOptional<z.ZodString>;
1745
+ address: z.ZodOptional<z.ZodString>;
1746
+ country: z.ZodOptional<z.ZodString>;
1747
+ phoneNumber: z.ZodOptional<z.ZodString>;
1748
+ birthDate: z.ZodOptional<z.ZodString>;
1749
+ }, "strip", z.ZodTypeAny, {
1750
+ name: string;
1751
+ username?: string | undefined;
1752
+ password?: string | undefined;
1753
+ roles?: {
1754
+ user: number;
1755
+ admin: number;
1756
+ superadmin: number;
1757
+ } | undefined;
1758
+ email?: string | undefined;
1759
+ address?: string | undefined;
1760
+ country?: string | undefined;
1761
+ phoneNumber?: string | undefined;
1762
+ birthDate?: string | undefined;
1763
+ }, {
1764
+ name: string;
1765
+ username?: string | undefined;
1766
+ password?: string | undefined;
1767
+ roles?: {
1768
+ user: number;
1769
+ admin: number;
1770
+ superadmin: number;
1771
+ } | undefined;
1772
+ email?: string | undefined;
1773
+ address?: string | undefined;
1774
+ country?: string | undefined;
1775
+ phoneNumber?: string | undefined;
1776
+ birthDate?: string | undefined;
1777
+ }>;
1778
+ declare const zMUser: z.ZodObject<{
1779
+ [x: string]: any;
1780
+ [x: number]: any;
1781
+ [x: symbol]: any;
1782
+ _id: z.ZodString;
1783
+ createdAt: z.ZodOptional<z.ZodDate>;
1784
+ updatedAt: z.ZodOptional<z.ZodDate>;
1785
+ }, any, any, {
1786
+ [x: string]: any;
1787
+ [x: number]: any;
1788
+ [x: symbol]: any;
1789
+ _id?: string | undefined;
1790
+ createdAt?: Date | undefined;
1791
+ updatedAt?: Date | undefined;
1792
+ }, {
1793
+ [x: string]: any;
1794
+ [x: number]: any;
1795
+ [x: symbol]: any;
1796
+ _id?: string | undefined;
1797
+ createdAt?: Date | undefined;
1798
+ updatedAt?: Date | undefined;
1799
+ }>;
1800
+ declare const zStudent: z.ZodObject<{
1801
+ email: z.ZodOptional<z.ZodString>;
1802
+ address: z.ZodOptional<z.ZodString>;
1803
+ name: z.ZodString;
1804
+ username: z.ZodOptional<z.ZodString>;
1805
+ password: z.ZodOptional<z.ZodString>;
1806
+ roles: z.ZodOptional<z.ZodObject<{
1807
+ user: z.ZodNumber;
1808
+ admin: z.ZodNumber;
1809
+ superadmin: z.ZodNumber;
1810
+ }, "strip", z.ZodTypeAny, {
1811
+ user: number;
1812
+ admin: number;
1813
+ superadmin: number;
1814
+ }, {
1815
+ user: number;
1816
+ admin: number;
1817
+ superadmin: number;
1818
+ }>>;
1819
+ country: z.ZodOptional<z.ZodString>;
1820
+ phoneNumber: z.ZodOptional<z.ZodString>;
1821
+ birthDate: z.ZodOptional<z.ZodString>;
1822
+ rank: z.ZodNativeEnum<typeof GoRank>;
1823
+ guardian: z.ZodOptional<z.ZodString>;
1824
+ }, "strip", z.ZodTypeAny, {
1825
+ rank: GoRank;
1826
+ name: string;
1827
+ email?: string | undefined;
1828
+ address?: string | undefined;
1829
+ username?: string | undefined;
1830
+ password?: string | undefined;
1831
+ roles?: {
1832
+ user: number;
1833
+ admin: number;
1834
+ superadmin: number;
1835
+ } | undefined;
1836
+ country?: string | undefined;
1837
+ phoneNumber?: string | undefined;
1838
+ birthDate?: string | undefined;
1839
+ guardian?: string | undefined;
1840
+ }, {
1841
+ rank: GoRank;
1842
+ name: string;
1843
+ email?: string | undefined;
1844
+ address?: string | undefined;
1845
+ username?: string | undefined;
1846
+ password?: string | undefined;
1847
+ roles?: {
1848
+ user: number;
1849
+ admin: number;
1850
+ superadmin: number;
1851
+ } | undefined;
1852
+ country?: string | undefined;
1853
+ phoneNumber?: string | undefined;
1854
+ birthDate?: string | undefined;
1855
+ guardian?: string | undefined;
1856
+ }>;
1857
+ declare const zMStudent: z.ZodObject<{
1858
+ [x: string]: any;
1859
+ [x: number]: any;
1860
+ [x: symbol]: any;
1861
+ _id: z.ZodString;
1862
+ createdAt: z.ZodOptional<z.ZodDate>;
1863
+ updatedAt: z.ZodOptional<z.ZodDate>;
1864
+ }, any, any, {
1865
+ [x: string]: any;
1866
+ [x: number]: any;
1867
+ [x: symbol]: any;
1868
+ _id?: string | undefined;
1869
+ createdAt?: Date | undefined;
1870
+ updatedAt?: Date | undefined;
1871
+ }, {
1872
+ [x: string]: any;
1873
+ [x: number]: any;
1874
+ [x: symbol]: any;
1875
+ _id?: string | undefined;
1876
+ createdAt?: Date | undefined;
1877
+ updatedAt?: Date | undefined;
12
1878
  }>;
1879
+ declare const zTeacher: z.ZodObject<{
1880
+ email: z.ZodOptional<z.ZodString>;
1881
+ address: z.ZodOptional<z.ZodString>;
1882
+ name: z.ZodString;
1883
+ username: z.ZodOptional<z.ZodString>;
1884
+ password: z.ZodOptional<z.ZodString>;
1885
+ roles: z.ZodOptional<z.ZodObject<{
1886
+ user: z.ZodNumber;
1887
+ admin: z.ZodNumber;
1888
+ superadmin: z.ZodNumber;
1889
+ }, "strip", z.ZodTypeAny, {
1890
+ user: number;
1891
+ admin: number;
1892
+ superadmin: number;
1893
+ }, {
1894
+ user: number;
1895
+ admin: number;
1896
+ superadmin: number;
1897
+ }>>;
1898
+ country: z.ZodOptional<z.ZodString>;
1899
+ phoneNumber: z.ZodOptional<z.ZodString>;
1900
+ birthDate: z.ZodOptional<z.ZodString>;
1901
+ rank: z.ZodNativeEnum<typeof GoRank>;
1902
+ isInactive: z.ZodOptional<z.ZodBoolean>;
1903
+ title: z.ZodOptional<z.ZodString>;
1904
+ bio: z.ZodOptional<z.ZodString>;
1905
+ available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
1906
+ }, "strip", z.ZodTypeAny, {
1907
+ rank: GoRank;
1908
+ name: string;
1909
+ email?: string | undefined;
1910
+ address?: string | undefined;
1911
+ username?: string | undefined;
1912
+ password?: string | undefined;
1913
+ roles?: {
1914
+ user: number;
1915
+ admin: number;
1916
+ superadmin: number;
1917
+ } | undefined;
1918
+ country?: string | undefined;
1919
+ phoneNumber?: string | undefined;
1920
+ birthDate?: string | undefined;
1921
+ isInactive?: boolean | undefined;
1922
+ title?: string | undefined;
1923
+ bio?: string | undefined;
1924
+ available?: number[][][] | undefined;
1925
+ }, {
1926
+ rank: GoRank;
1927
+ name: string;
1928
+ email?: string | undefined;
1929
+ address?: string | undefined;
1930
+ username?: string | undefined;
1931
+ password?: string | undefined;
1932
+ roles?: {
1933
+ user: number;
1934
+ admin: number;
1935
+ superadmin: number;
1936
+ } | undefined;
1937
+ country?: string | undefined;
1938
+ phoneNumber?: string | undefined;
1939
+ birthDate?: string | undefined;
1940
+ isInactive?: boolean | undefined;
1941
+ title?: string | undefined;
1942
+ bio?: string | undefined;
1943
+ available?: number[][][] | undefined;
1944
+ }>;
1945
+ declare const zMTeacher: z.ZodObject<{
1946
+ [x: string]: any;
1947
+ [x: number]: any;
1948
+ [x: symbol]: any;
1949
+ _id: z.ZodString;
1950
+ createdAt: z.ZodOptional<z.ZodDate>;
1951
+ updatedAt: z.ZodOptional<z.ZodDate>;
1952
+ }, any, any, {
1953
+ [x: string]: any;
1954
+ [x: number]: any;
1955
+ [x: symbol]: any;
1956
+ _id?: string | undefined;
1957
+ createdAt?: Date | undefined;
1958
+ updatedAt?: Date | undefined;
1959
+ }, {
1960
+ [x: string]: any;
1961
+ [x: number]: any;
1962
+ [x: symbol]: any;
1963
+ _id?: string | undefined;
1964
+ createdAt?: Date | undefined;
1965
+ updatedAt?: Date | undefined;
1966
+ }>;
1967
+ type Student = z.infer<typeof zStudent>;
1968
+ type MStudent = z.infer<typeof zMStudent>;
1969
+ type User = z.infer<typeof zUser>;
1970
+ type MUser = z.infer<typeof zMUser>;
1971
+ type Teacher = z.infer<typeof zTeacher>;
1972
+ type MTeacher = z.infer<typeof zMTeacher>;
1973
+
1974
+ declare const zUserRoles: z.ZodObject<{
1975
+ user: z.ZodNumber;
1976
+ admin: z.ZodNumber;
1977
+ superadmin: z.ZodNumber;
1978
+ }, "strip", z.ZodTypeAny, {
1979
+ user: number;
1980
+ admin: number;
1981
+ superadmin: number;
1982
+ }, {
1983
+ user: number;
1984
+ admin: number;
1985
+ superadmin: number;
1986
+ }>;
1987
+ type UserRoles = z.infer<typeof zUserRoles>;
1988
+
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
+ }
13
2008
 
14
- export { zStudent };
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 };