@nyig/models 0.2.45 → 0.2.46

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 +692 -554
  2. package/index.d.ts +692 -554
  3. package/index.js +76 -70
  4. package/index.mjs +75 -70
  5. package/package.json +1 -1
package/index.d.mts CHANGED
@@ -69,6 +69,336 @@ declare enum AttendState {
69
69
  NONE = "none"
70
70
  }
71
71
 
72
+ declare enum GoRank {
73
+ KYU1 = "1k",
74
+ KYU2 = "2k",
75
+ KYU3 = "3k",
76
+ KYU4 = "4k",
77
+ KYU5 = "5k",
78
+ KYU6 = "6k",
79
+ KYU7 = "7k",
80
+ KYU8 = "8k",
81
+ KYU9 = "9k",
82
+ KYU10 = "10k",
83
+ KYU11 = "11k",
84
+ KYU12 = "12k",
85
+ KYU13 = "13k",
86
+ KYU14 = "14k",
87
+ KYU15 = "15k",
88
+ KYU16 = "16k",
89
+ KYU17 = "17k",
90
+ KYU18 = "18k",
91
+ KYU19 = "19k",
92
+ KYU20 = "20k",
93
+ KYU21 = "21k",
94
+ KYU22 = "22k",
95
+ KYU23 = "23k",
96
+ KYU24 = "24k",
97
+ KYU25 = "25k",
98
+ DAN1 = "1d",
99
+ DAN2 = "2d",
100
+ DAN3 = "3d",
101
+ DAN4 = "4d",
102
+ DAN5 = "5d",
103
+ DAN6 = "6d",
104
+ DAN7 = "7d",
105
+ PRO1 = "1p",
106
+ PRO2 = "2p",
107
+ PRO3 = "3p",
108
+ PRO4 = "4p",
109
+ PRO5 = "5p",
110
+ PRO6 = "6p",
111
+ PRO7 = "7p",
112
+ PRO8 = "8p",
113
+ PRO9 = "9p"
114
+ }
115
+
116
+ declare const zBUser: z.ZodObject<{
117
+ name: z.ZodString;
118
+ username: z.ZodOptional<z.ZodString>;
119
+ password: z.ZodOptional<z.ZodString>;
120
+ roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
121
+ email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
122
+ address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
123
+ country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
124
+ phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
125
+ birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
126
+ }, "strip", z.ZodTypeAny, {
127
+ name: string;
128
+ username?: string | undefined;
129
+ password?: string | undefined;
130
+ roles?: number[] | undefined;
131
+ email?: string | undefined;
132
+ address?: string | undefined;
133
+ country?: string | undefined;
134
+ phoneNumber?: string | undefined;
135
+ birthDate?: string | undefined;
136
+ }, {
137
+ name: string;
138
+ username?: string | undefined;
139
+ password?: string | undefined;
140
+ roles?: number[] | undefined;
141
+ email?: string | undefined;
142
+ address?: string | undefined;
143
+ country?: string | undefined;
144
+ phoneNumber?: string | undefined;
145
+ birthDate?: string | undefined;
146
+ }>;
147
+ declare const zUser: z.ZodObject<{
148
+ email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
149
+ address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
150
+ name: z.ZodString;
151
+ username: z.ZodOptional<z.ZodString>;
152
+ password: z.ZodOptional<z.ZodString>;
153
+ roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
154
+ country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
155
+ phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
156
+ birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
157
+ _id: z.ZodString;
158
+ editedBy: z.ZodOptional<z.ZodString>;
159
+ createdAt: z.ZodOptional<z.ZodString>;
160
+ updatedAt: z.ZodOptional<z.ZodString>;
161
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
162
+ _id: string;
163
+ name: string;
164
+ email?: string | undefined;
165
+ address?: string | undefined;
166
+ username?: string | undefined;
167
+ password?: string | undefined;
168
+ roles?: number[] | undefined;
169
+ country?: string | undefined;
170
+ phoneNumber?: string | undefined;
171
+ birthDate?: string | undefined;
172
+ editedBy?: string | undefined;
173
+ createdAt?: string | undefined;
174
+ updatedAt?: string | undefined;
175
+ }, {
176
+ _id: string;
177
+ name: string;
178
+ email?: string | undefined;
179
+ address?: string | undefined;
180
+ username?: string | undefined;
181
+ password?: string | undefined;
182
+ roles?: number[] | undefined;
183
+ country?: string | undefined;
184
+ phoneNumber?: string | undefined;
185
+ birthDate?: string | undefined;
186
+ editedBy?: string | undefined;
187
+ createdAt?: string | undefined;
188
+ updatedAt?: string | undefined;
189
+ }>;
190
+ declare const zBStudent: z.ZodObject<{
191
+ email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
192
+ address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
193
+ name: z.ZodString;
194
+ username: z.ZodOptional<z.ZodString>;
195
+ password: z.ZodOptional<z.ZodString>;
196
+ roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
197
+ country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
198
+ phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
199
+ birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
200
+ rank: z.ZodNativeEnum<typeof GoRank>;
201
+ guardian: z.ZodOptional<z.ZodString>;
202
+ }, "strip", z.ZodTypeAny, {
203
+ rank: GoRank;
204
+ name: string;
205
+ email?: string | undefined;
206
+ address?: string | undefined;
207
+ username?: string | undefined;
208
+ password?: string | undefined;
209
+ roles?: number[] | undefined;
210
+ country?: string | undefined;
211
+ phoneNumber?: string | undefined;
212
+ birthDate?: string | undefined;
213
+ guardian?: string | undefined;
214
+ }, {
215
+ rank: GoRank;
216
+ name: string;
217
+ email?: string | undefined;
218
+ address?: string | undefined;
219
+ username?: string | undefined;
220
+ password?: string | undefined;
221
+ roles?: number[] | undefined;
222
+ country?: string | undefined;
223
+ phoneNumber?: string | undefined;
224
+ birthDate?: string | undefined;
225
+ guardian?: string | undefined;
226
+ }>;
227
+ declare const zStudent: z.ZodObject<{
228
+ rank: z.ZodNativeEnum<typeof GoRank>;
229
+ email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
230
+ address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
231
+ name: z.ZodString;
232
+ username: z.ZodOptional<z.ZodString>;
233
+ password: z.ZodOptional<z.ZodString>;
234
+ roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
235
+ country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
236
+ phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
237
+ birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
238
+ guardian: z.ZodOptional<z.ZodString>;
239
+ _id: z.ZodString;
240
+ editedBy: z.ZodOptional<z.ZodString>;
241
+ createdAt: z.ZodOptional<z.ZodString>;
242
+ updatedAt: z.ZodOptional<z.ZodString>;
243
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
244
+ rank: GoRank;
245
+ _id: string;
246
+ name: string;
247
+ email?: string | undefined;
248
+ address?: string | undefined;
249
+ username?: string | undefined;
250
+ password?: string | undefined;
251
+ roles?: number[] | undefined;
252
+ country?: string | undefined;
253
+ phoneNumber?: string | undefined;
254
+ birthDate?: string | undefined;
255
+ guardian?: string | undefined;
256
+ editedBy?: string | undefined;
257
+ createdAt?: string | undefined;
258
+ updatedAt?: string | undefined;
259
+ }, {
260
+ rank: GoRank;
261
+ _id: string;
262
+ name: string;
263
+ email?: string | undefined;
264
+ address?: string | undefined;
265
+ username?: string | undefined;
266
+ password?: string | undefined;
267
+ roles?: number[] | undefined;
268
+ country?: string | undefined;
269
+ phoneNumber?: string | undefined;
270
+ birthDate?: string | undefined;
271
+ guardian?: string | undefined;
272
+ editedBy?: string | undefined;
273
+ createdAt?: string | undefined;
274
+ updatedAt?: string | undefined;
275
+ }>;
276
+ declare const zBTeacher: z.ZodObject<{
277
+ email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
278
+ address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
279
+ name: z.ZodString;
280
+ username: z.ZodOptional<z.ZodString>;
281
+ password: z.ZodOptional<z.ZodString>;
282
+ roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
283
+ country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
284
+ phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
285
+ birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
286
+ rank: z.ZodNativeEnum<typeof GoRank>;
287
+ isInactive: z.ZodOptional<z.ZodBoolean>;
288
+ title: z.ZodOptional<z.ZodString>;
289
+ bio: z.ZodOptional<z.ZodString>;
290
+ available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
291
+ }, "strip", z.ZodTypeAny, {
292
+ rank: GoRank;
293
+ name: string;
294
+ email?: string | undefined;
295
+ address?: string | undefined;
296
+ username?: string | undefined;
297
+ password?: string | undefined;
298
+ roles?: number[] | undefined;
299
+ country?: string | undefined;
300
+ phoneNumber?: string | undefined;
301
+ birthDate?: string | undefined;
302
+ isInactive?: boolean | undefined;
303
+ title?: string | undefined;
304
+ bio?: string | undefined;
305
+ available?: number[][][] | undefined;
306
+ }, {
307
+ rank: GoRank;
308
+ name: string;
309
+ email?: string | undefined;
310
+ address?: string | undefined;
311
+ username?: string | undefined;
312
+ password?: string | undefined;
313
+ roles?: number[] | undefined;
314
+ country?: string | undefined;
315
+ phoneNumber?: string | undefined;
316
+ birthDate?: string | undefined;
317
+ isInactive?: boolean | undefined;
318
+ title?: string | undefined;
319
+ bio?: string | undefined;
320
+ available?: number[][][] | undefined;
321
+ }>;
322
+ declare const zTeacher: z.ZodObject<{
323
+ rank: z.ZodNativeEnum<typeof GoRank>;
324
+ email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
325
+ address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
326
+ name: z.ZodString;
327
+ username: z.ZodOptional<z.ZodString>;
328
+ password: z.ZodOptional<z.ZodString>;
329
+ roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
330
+ country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
331
+ phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
332
+ birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
333
+ isInactive: z.ZodOptional<z.ZodBoolean>;
334
+ title: z.ZodOptional<z.ZodString>;
335
+ bio: z.ZodOptional<z.ZodString>;
336
+ available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
337
+ _id: z.ZodString;
338
+ editedBy: z.ZodOptional<z.ZodString>;
339
+ createdAt: z.ZodOptional<z.ZodString>;
340
+ updatedAt: z.ZodOptional<z.ZodString>;
341
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
342
+ rank: GoRank;
343
+ _id: string;
344
+ name: string;
345
+ email?: string | undefined;
346
+ address?: string | undefined;
347
+ username?: string | undefined;
348
+ password?: string | undefined;
349
+ roles?: number[] | undefined;
350
+ country?: string | undefined;
351
+ phoneNumber?: string | undefined;
352
+ birthDate?: string | undefined;
353
+ isInactive?: boolean | undefined;
354
+ title?: string | undefined;
355
+ bio?: string | undefined;
356
+ available?: number[][][] | undefined;
357
+ editedBy?: string | undefined;
358
+ createdAt?: string | undefined;
359
+ updatedAt?: string | undefined;
360
+ }, {
361
+ rank: GoRank;
362
+ _id: string;
363
+ name: string;
364
+ email?: string | undefined;
365
+ address?: string | undefined;
366
+ username?: string | undefined;
367
+ password?: string | undefined;
368
+ roles?: number[] | undefined;
369
+ country?: string | undefined;
370
+ phoneNumber?: string | undefined;
371
+ birthDate?: string | undefined;
372
+ isInactive?: boolean | undefined;
373
+ title?: string | undefined;
374
+ bio?: string | undefined;
375
+ available?: number[][][] | undefined;
376
+ editedBy?: string | undefined;
377
+ createdAt?: string | undefined;
378
+ updatedAt?: string | undefined;
379
+ }>;
380
+ type BUser = z.infer<typeof zBUser>;
381
+ type User = z.infer<typeof zUser>;
382
+ type BStudent = z.infer<typeof zBStudent>;
383
+ type Student = z.infer<typeof zStudent>;
384
+ type BTeacher = z.infer<typeof zBTeacher>;
385
+ type Teacher = z.infer<typeof zTeacher>;
386
+
387
+ declare const zUserRoles: z.ZodObject<{
388
+ user: z.ZodNumber;
389
+ admin: z.ZodNumber;
390
+ superadmin: z.ZodNumber;
391
+ }, "strip", z.ZodTypeAny, {
392
+ user: number;
393
+ admin: number;
394
+ superadmin: number;
395
+ }, {
396
+ user: number;
397
+ admin: number;
398
+ superadmin: number;
399
+ }>;
400
+ type UserRoles = z.infer<typeof zUserRoles>;
401
+
72
402
  declare enum CampOption {
73
403
  AM = "am",
74
404
  PM = "pm",
@@ -92,7 +422,7 @@ declare const zBAttendance: z.ZodObject<{
92
422
  shipping?: boolean | undefined;
93
423
  }>;
94
424
  paid: z.ZodOptional<z.ZodBoolean>;
95
- campOption: z.ZodNativeEnum<typeof CampOption>;
425
+ campOption: z.ZodOptional<z.ZodNativeEnum<typeof CampOption>>;
96
426
  }, "strip", z.ZodTypeAny, {
97
427
  student: string;
98
428
  states: AttendState[];
@@ -101,8 +431,8 @@ declare const zBAttendance: z.ZodObject<{
101
431
  textbook?: boolean | undefined;
102
432
  shipping?: boolean | undefined;
103
433
  };
104
- campOption: CampOption;
105
434
  paid?: boolean | undefined;
435
+ campOption?: CampOption | undefined;
106
436
  }, {
107
437
  student: string;
108
438
  states: AttendState[];
@@ -111,8 +441,8 @@ declare const zBAttendance: z.ZodObject<{
111
441
  textbook?: boolean | undefined;
112
442
  shipping?: boolean | undefined;
113
443
  };
114
- campOption: CampOption;
115
444
  paid?: boolean | undefined;
445
+ campOption?: CampOption | undefined;
116
446
  }>;
117
447
  declare const zAttendance: z.ZodObject<{
118
448
  student: z.ZodString;
@@ -131,7 +461,7 @@ declare const zAttendance: z.ZodObject<{
131
461
  shipping?: boolean | undefined;
132
462
  }>;
133
463
  paid: z.ZodOptional<z.ZodBoolean>;
134
- campOption: z.ZodNativeEnum<typeof CampOption>;
464
+ campOption: z.ZodOptional<z.ZodNativeEnum<typeof CampOption>>;
135
465
  _id: z.ZodString;
136
466
  editedBy: z.ZodOptional<z.ZodString>;
137
467
  createdAt: z.ZodOptional<z.ZodString>;
@@ -145,28 +475,160 @@ declare const zAttendance: z.ZodObject<{
145
475
  textbook?: boolean | undefined;
146
476
  shipping?: boolean | undefined;
147
477
  };
148
- campOption: CampOption;
149
- paid?: boolean | undefined;
150
- editedBy?: string | undefined;
151
- createdAt?: string | undefined;
152
- updatedAt?: string | undefined;
153
- }, {
154
- _id: string;
155
- student: string;
478
+ paid?: boolean | undefined;
479
+ campOption?: CampOption | undefined;
480
+ editedBy?: string | undefined;
481
+ createdAt?: string | undefined;
482
+ updatedAt?: string | undefined;
483
+ }, {
484
+ _id: string;
485
+ student: string;
486
+ states: AttendState[];
487
+ tuition: {
488
+ primary: number;
489
+ textbook?: boolean | undefined;
490
+ shipping?: boolean | undefined;
491
+ };
492
+ paid?: boolean | undefined;
493
+ campOption?: CampOption | undefined;
494
+ editedBy?: string | undefined;
495
+ createdAt?: string | undefined;
496
+ updatedAt?: string | undefined;
497
+ }>;
498
+ declare const zAttendanceResponse: z.ZodObject<{
499
+ _id: z.ZodString;
500
+ editedBy: z.ZodOptional<z.ZodString>;
501
+ createdAt: z.ZodOptional<z.ZodString>;
502
+ updatedAt: z.ZodOptional<z.ZodString>;
503
+ states: z.ZodArray<z.ZodNativeEnum<typeof AttendState>, "many">;
504
+ tuition: z.ZodObject<{
505
+ primary: z.ZodNumber;
506
+ textbook: z.ZodOptional<z.ZodBoolean>;
507
+ shipping: z.ZodOptional<z.ZodBoolean>;
508
+ }, "strip", z.ZodTypeAny, {
509
+ primary: number;
510
+ textbook?: boolean | undefined;
511
+ shipping?: boolean | undefined;
512
+ }, {
513
+ primary: number;
514
+ textbook?: boolean | undefined;
515
+ shipping?: boolean | undefined;
516
+ }>;
517
+ paid: z.ZodOptional<z.ZodBoolean>;
518
+ campOption: z.ZodOptional<z.ZodNativeEnum<typeof CampOption>>;
519
+ student: z.ZodObject<{
520
+ rank: z.ZodNativeEnum<typeof GoRank>;
521
+ email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
522
+ address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
523
+ name: z.ZodString;
524
+ username: z.ZodOptional<z.ZodString>;
525
+ password: z.ZodOptional<z.ZodString>;
526
+ roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
527
+ country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
528
+ phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
529
+ birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
530
+ guardian: z.ZodOptional<z.ZodString>;
531
+ _id: z.ZodString;
532
+ editedBy: z.ZodOptional<z.ZodString>;
533
+ createdAt: z.ZodOptional<z.ZodString>;
534
+ updatedAt: z.ZodOptional<z.ZodString>;
535
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
536
+ rank: GoRank;
537
+ _id: string;
538
+ name: string;
539
+ email?: string | undefined;
540
+ address?: string | undefined;
541
+ username?: string | undefined;
542
+ password?: string | undefined;
543
+ roles?: number[] | undefined;
544
+ country?: string | undefined;
545
+ phoneNumber?: string | undefined;
546
+ birthDate?: string | undefined;
547
+ guardian?: string | undefined;
548
+ editedBy?: string | undefined;
549
+ createdAt?: string | undefined;
550
+ updatedAt?: string | undefined;
551
+ }, {
552
+ rank: GoRank;
553
+ _id: string;
554
+ name: string;
555
+ email?: string | undefined;
556
+ address?: string | undefined;
557
+ username?: string | undefined;
558
+ password?: string | undefined;
559
+ roles?: number[] | undefined;
560
+ country?: string | undefined;
561
+ phoneNumber?: string | undefined;
562
+ birthDate?: string | undefined;
563
+ guardian?: string | undefined;
564
+ editedBy?: string | undefined;
565
+ createdAt?: string | undefined;
566
+ updatedAt?: string | undefined;
567
+ }>;
568
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
569
+ _id: string;
570
+ student: {
571
+ rank: GoRank;
572
+ _id: string;
573
+ name: string;
574
+ email?: string | undefined;
575
+ address?: string | undefined;
576
+ username?: string | undefined;
577
+ password?: string | undefined;
578
+ roles?: number[] | undefined;
579
+ country?: string | undefined;
580
+ phoneNumber?: string | undefined;
581
+ birthDate?: string | undefined;
582
+ guardian?: string | undefined;
583
+ editedBy?: string | undefined;
584
+ createdAt?: string | undefined;
585
+ updatedAt?: string | undefined;
586
+ };
587
+ states: AttendState[];
588
+ tuition: {
589
+ primary: number;
590
+ textbook?: boolean | undefined;
591
+ shipping?: boolean | undefined;
592
+ };
593
+ editedBy?: string | undefined;
594
+ createdAt?: string | undefined;
595
+ updatedAt?: string | undefined;
596
+ paid?: boolean | undefined;
597
+ campOption?: CampOption | undefined;
598
+ }, {
599
+ _id: string;
600
+ student: {
601
+ rank: GoRank;
602
+ _id: string;
603
+ name: string;
604
+ email?: string | undefined;
605
+ address?: string | undefined;
606
+ username?: string | undefined;
607
+ password?: string | undefined;
608
+ roles?: number[] | undefined;
609
+ country?: string | undefined;
610
+ phoneNumber?: string | undefined;
611
+ birthDate?: string | undefined;
612
+ guardian?: string | undefined;
613
+ editedBy?: string | undefined;
614
+ createdAt?: string | undefined;
615
+ updatedAt?: string | undefined;
616
+ };
156
617
  states: AttendState[];
157
618
  tuition: {
158
619
  primary: number;
159
620
  textbook?: boolean | undefined;
160
621
  shipping?: boolean | undefined;
161
622
  };
162
- campOption: CampOption;
163
- paid?: boolean | undefined;
164
623
  editedBy?: string | undefined;
165
624
  createdAt?: string | undefined;
166
625
  updatedAt?: string | undefined;
626
+ paid?: boolean | undefined;
627
+ campOption?: CampOption | undefined;
167
628
  }>;
168
629
  type BAttendance = z.infer<typeof zBAttendance>;
169
630
  type Attendance = z.infer<typeof zAttendance>;
631
+ type AttendanceResponse = z.infer<typeof zAttendanceResponse>;
170
632
 
171
633
  declare const zBCampTracker: z.ZodObject<{
172
634
  course: z.ZodString;
@@ -180,6 +642,7 @@ declare const zBCampTracker: z.ZodObject<{
180
642
  * attendances are tracked by week for camps
181
643
  */
182
644
  attendances: z.ZodArray<z.ZodString, "many">;
645
+ publicDescription: z.ZodOptional<z.ZodString>;
183
646
  isNonPublic: z.ZodOptional<z.ZodBoolean>;
184
647
  notes: z.ZodOptional<z.ZodString>;
185
648
  }, "strip", z.ZodTypeAny, {
@@ -188,6 +651,7 @@ declare const zBCampTracker: z.ZodObject<{
188
651
  semester: string;
189
652
  occurrences: string[];
190
653
  attendances: string[];
654
+ publicDescription?: string | undefined;
191
655
  isNonPublic?: boolean | undefined;
192
656
  notes?: string | undefined;
193
657
  }, {
@@ -196,6 +660,7 @@ declare const zBCampTracker: z.ZodObject<{
196
660
  semester: string;
197
661
  occurrences: string[];
198
662
  attendances: string[];
663
+ publicDescription?: string | undefined;
199
664
  isNonPublic?: boolean | undefined;
200
665
  notes?: string | undefined;
201
666
  }>;
@@ -206,6 +671,7 @@ declare const zCampTracker: z.ZodObject<{
206
671
  semester: z.ZodString;
207
672
  occurrences: z.ZodArray<z.ZodString, "many">;
208
673
  attendances: z.ZodArray<z.ZodString, "many">;
674
+ publicDescription: z.ZodOptional<z.ZodString>;
209
675
  isNonPublic: z.ZodOptional<z.ZodBoolean>;
210
676
  _id: z.ZodString;
211
677
  editedBy: z.ZodOptional<z.ZodString>;
@@ -219,6 +685,7 @@ declare const zCampTracker: z.ZodObject<{
219
685
  occurrences: string[];
220
686
  attendances: string[];
221
687
  notes?: string | undefined;
688
+ publicDescription?: string | undefined;
222
689
  isNonPublic?: boolean | undefined;
223
690
  editedBy?: string | undefined;
224
691
  createdAt?: string | undefined;
@@ -231,6 +698,7 @@ declare const zCampTracker: z.ZodObject<{
231
698
  occurrences: string[];
232
699
  attendances: string[];
233
700
  notes?: string | undefined;
701
+ publicDescription?: string | undefined;
234
702
  isNonPublic?: boolean | undefined;
235
703
  editedBy?: string | undefined;
236
704
  createdAt?: string | undefined;
@@ -643,247 +1111,13 @@ declare const zBCampBooking: z.ZodObject<{
643
1111
  email: string;
644
1112
  campOption: CampOption;
645
1113
  isOnline: boolean;
646
- classDates: string;
647
- userId?: string | undefined;
648
- phone?: string | undefined;
649
- address?: string | undefined;
650
- notes?: string | undefined;
651
- shipping?: boolean | undefined;
652
- ctId?: string | undefined;
653
- paymentReceived?: boolean | undefined;
654
- expireAt?: Date | undefined;
655
- }, {
656
- paymentAmount: number;
657
- firstName: string;
658
- lastName: string;
659
- rank: string;
660
- email: string;
661
- campOption: CampOption;
662
- isOnline: boolean;
663
- classDates: string;
664
- userId?: string | undefined;
665
- phone?: string | undefined;
666
- address?: string | undefined;
667
- notes?: string | undefined;
668
- shipping?: boolean | undefined;
669
- ctId?: string | undefined;
670
- paymentReceived?: boolean | undefined;
671
- expireAt?: Date | undefined;
672
- }>;
673
- declare const zCampBooking: z.ZodObject<{
674
- paymentAmount: z.ZodNumber;
675
- paymentReceived: z.ZodOptional<z.ZodBoolean>;
676
- expireAt: z.ZodOptional<z.ZodDate>;
677
- userId: z.ZodOptional<z.ZodString>;
678
- firstName: z.ZodString;
679
- lastName: z.ZodString;
680
- rank: z.ZodString;
681
- email: z.ZodString;
682
- phone: z.ZodOptional<z.ZodString>;
683
- address: z.ZodOptional<z.ZodString>;
684
- notes: z.ZodOptional<z.ZodString>;
685
- shipping: z.ZodOptional<z.ZodBoolean>;
686
- campOption: z.ZodNativeEnum<typeof CampOption>;
687
- ctId: z.ZodOptional<z.ZodString>;
688
- isOnline: z.ZodBoolean;
689
- classDates: z.ZodString;
690
- _id: z.ZodString;
691
- editedBy: z.ZodOptional<z.ZodString>;
692
- createdAt: z.ZodOptional<z.ZodString>;
693
- updatedAt: z.ZodOptional<z.ZodString>;
694
- }, z.UnknownKeysParam, z.ZodTypeAny, {
695
- paymentAmount: number;
696
- firstName: string;
697
- lastName: string;
698
- rank: string;
699
- email: string;
700
- _id: string;
701
- campOption: CampOption;
702
- isOnline: boolean;
703
- classDates: string;
704
- paymentReceived?: boolean | undefined;
705
- expireAt?: Date | undefined;
706
- userId?: string | undefined;
707
- phone?: string | undefined;
708
- address?: string | undefined;
709
- notes?: string | undefined;
710
- shipping?: boolean | undefined;
711
- ctId?: string | undefined;
712
- editedBy?: string | undefined;
713
- createdAt?: string | undefined;
714
- updatedAt?: string | undefined;
715
- }, {
716
- paymentAmount: number;
717
- firstName: string;
718
- lastName: string;
719
- rank: string;
720
- email: string;
721
- _id: string;
722
- campOption: CampOption;
723
- isOnline: boolean;
724
- classDates: string;
725
- paymentReceived?: boolean | undefined;
726
- expireAt?: Date | undefined;
727
- userId?: string | undefined;
728
- phone?: string | undefined;
729
- address?: string | undefined;
730
- notes?: string | undefined;
731
- shipping?: boolean | undefined;
732
- ctId?: string | undefined;
733
- editedBy?: string | undefined;
734
- createdAt?: string | undefined;
735
- updatedAt?: string | undefined;
736
- }>;
737
- type BCampBooking = z.infer<typeof zBCampBooking>;
738
- type CampBooking = z.infer<typeof zCampBooking>;
739
-
740
- declare const zBGroupBooking: z.ZodObject<{
741
- userId: z.ZodOptional<z.ZodString>;
742
- firstName: z.ZodString;
743
- lastName: z.ZodString;
744
- rank: z.ZodString;
745
- email: z.ZodString;
746
- phone: z.ZodOptional<z.ZodString>;
747
- address: z.ZodOptional<z.ZodString>;
748
- notes: z.ZodOptional<z.ZodString>;
749
- shipping: z.ZodOptional<z.ZodBoolean>;
750
- isOnline: z.ZodBoolean;
751
- gtId: z.ZodOptional<z.ZodString>;
752
- isTrial: z.ZodOptional<z.ZodBoolean>;
753
- classDate: z.ZodOptional<z.ZodString>;
754
- paymentAmount: z.ZodNumber;
755
- paymentReceived: z.ZodOptional<z.ZodBoolean>;
756
- expireAt: z.ZodOptional<z.ZodDate>;
757
- }, "strip", z.ZodTypeAny, {
758
- paymentAmount: number;
759
- firstName: string;
760
- lastName: string;
761
- rank: string;
762
- email: string;
763
- isOnline: boolean;
764
- userId?: string | undefined;
765
- phone?: string | undefined;
766
- address?: string | undefined;
767
- notes?: string | undefined;
768
- shipping?: boolean | undefined;
769
- gtId?: string | undefined;
770
- isTrial?: boolean | undefined;
771
- classDate?: string | undefined;
772
- paymentReceived?: boolean | undefined;
773
- expireAt?: Date | undefined;
774
- }, {
775
- paymentAmount: number;
776
- firstName: string;
777
- lastName: string;
778
- rank: string;
779
- email: string;
780
- isOnline: boolean;
781
- userId?: string | undefined;
782
- phone?: string | undefined;
783
- address?: string | undefined;
784
- notes?: string | undefined;
785
- shipping?: boolean | undefined;
786
- gtId?: string | undefined;
787
- isTrial?: boolean | undefined;
788
- classDate?: string | undefined;
789
- paymentReceived?: boolean | undefined;
790
- expireAt?: Date | undefined;
791
- }>;
792
- declare const zGroupBooking: z.ZodObject<{
793
- paymentAmount: z.ZodNumber;
794
- paymentReceived: z.ZodOptional<z.ZodBoolean>;
795
- expireAt: z.ZodOptional<z.ZodDate>;
796
- userId: z.ZodOptional<z.ZodString>;
797
- firstName: z.ZodString;
798
- lastName: z.ZodString;
799
- rank: z.ZodString;
800
- email: z.ZodString;
801
- phone: z.ZodOptional<z.ZodString>;
802
- address: z.ZodOptional<z.ZodString>;
803
- notes: z.ZodOptional<z.ZodString>;
804
- shipping: z.ZodOptional<z.ZodBoolean>;
805
- isOnline: z.ZodBoolean;
806
- gtId: z.ZodOptional<z.ZodString>;
807
- isTrial: z.ZodOptional<z.ZodBoolean>;
808
- classDate: z.ZodOptional<z.ZodString>;
809
- _id: z.ZodString;
810
- editedBy: z.ZodOptional<z.ZodString>;
811
- createdAt: z.ZodOptional<z.ZodString>;
812
- updatedAt: z.ZodOptional<z.ZodString>;
813
- }, z.UnknownKeysParam, z.ZodTypeAny, {
814
- paymentAmount: number;
815
- firstName: string;
816
- lastName: string;
817
- rank: string;
818
- email: string;
819
- _id: string;
820
- isOnline: boolean;
821
- paymentReceived?: boolean | undefined;
822
- expireAt?: Date | undefined;
823
- userId?: string | undefined;
824
- phone?: string | undefined;
825
- address?: string | undefined;
826
- notes?: string | undefined;
827
- shipping?: boolean | undefined;
828
- gtId?: string | undefined;
829
- isTrial?: boolean | undefined;
830
- classDate?: string | undefined;
831
- editedBy?: string | undefined;
832
- createdAt?: string | undefined;
833
- updatedAt?: string | undefined;
834
- }, {
835
- paymentAmount: number;
836
- firstName: string;
837
- lastName: string;
838
- rank: string;
839
- email: string;
840
- _id: string;
841
- isOnline: boolean;
842
- paymentReceived?: boolean | undefined;
843
- expireAt?: Date | undefined;
844
- userId?: string | undefined;
845
- phone?: string | undefined;
846
- address?: string | undefined;
847
- notes?: string | undefined;
848
- shipping?: boolean | undefined;
849
- gtId?: string | undefined;
850
- isTrial?: boolean | undefined;
851
- classDate?: string | undefined;
852
- editedBy?: string | undefined;
853
- createdAt?: string | undefined;
854
- updatedAt?: string | undefined;
855
- }>;
856
- type BGroupBooking = z.infer<typeof zBGroupBooking>;
857
- type GroupBooking = z.infer<typeof zGroupBooking>;
858
-
859
- declare const zBPrivateBooking: z.ZodObject<{
860
- userId: z.ZodOptional<z.ZodString>;
861
- firstName: z.ZodString;
862
- lastName: z.ZodString;
863
- rank: z.ZodString;
864
- email: z.ZodString;
865
- phone: z.ZodOptional<z.ZodString>;
866
- address: z.ZodOptional<z.ZodString>;
867
- notes: z.ZodOptional<z.ZodString>;
868
- courseId: z.ZodString;
869
- classDate: z.ZodOptional<z.ZodString>;
870
- teacherId: z.ZodString;
871
- paymentAmount: z.ZodNumber;
872
- paymentReceived: z.ZodOptional<z.ZodBoolean>;
873
- expireAt: z.ZodOptional<z.ZodDate>;
874
- }, "strip", z.ZodTypeAny, {
875
- paymentAmount: number;
876
- firstName: string;
877
- lastName: string;
878
- rank: string;
879
- email: string;
880
- courseId: string;
881
- teacherId: string;
1114
+ classDates: string;
882
1115
  userId?: string | undefined;
883
1116
  phone?: string | undefined;
884
1117
  address?: string | undefined;
885
1118
  notes?: string | undefined;
886
- classDate?: string | undefined;
1119
+ shipping?: boolean | undefined;
1120
+ ctId?: string | undefined;
887
1121
  paymentReceived?: boolean | undefined;
888
1122
  expireAt?: Date | undefined;
889
1123
  }, {
@@ -892,17 +1126,19 @@ declare const zBPrivateBooking: z.ZodObject<{
892
1126
  lastName: string;
893
1127
  rank: string;
894
1128
  email: string;
895
- courseId: string;
896
- teacherId: string;
1129
+ campOption: CampOption;
1130
+ isOnline: boolean;
1131
+ classDates: string;
897
1132
  userId?: string | undefined;
898
1133
  phone?: string | undefined;
899
1134
  address?: string | undefined;
900
1135
  notes?: string | undefined;
901
- classDate?: string | undefined;
1136
+ shipping?: boolean | undefined;
1137
+ ctId?: string | undefined;
902
1138
  paymentReceived?: boolean | undefined;
903
1139
  expireAt?: Date | undefined;
904
1140
  }>;
905
- declare const zPrivateBooking: z.ZodObject<{
1141
+ declare const zCampBooking: z.ZodObject<{
906
1142
  paymentAmount: z.ZodNumber;
907
1143
  paymentReceived: z.ZodOptional<z.ZodBoolean>;
908
1144
  expireAt: z.ZodOptional<z.ZodDate>;
@@ -914,9 +1150,11 @@ declare const zPrivateBooking: z.ZodObject<{
914
1150
  phone: z.ZodOptional<z.ZodString>;
915
1151
  address: z.ZodOptional<z.ZodString>;
916
1152
  notes: z.ZodOptional<z.ZodString>;
917
- courseId: z.ZodString;
918
- classDate: z.ZodOptional<z.ZodString>;
919
- teacherId: z.ZodString;
1153
+ shipping: z.ZodOptional<z.ZodBoolean>;
1154
+ campOption: z.ZodNativeEnum<typeof CampOption>;
1155
+ ctId: z.ZodOptional<z.ZodString>;
1156
+ isOnline: z.ZodBoolean;
1157
+ classDates: z.ZodString;
920
1158
  _id: z.ZodString;
921
1159
  editedBy: z.ZodOptional<z.ZodString>;
922
1160
  createdAt: z.ZodOptional<z.ZodString>;
@@ -928,15 +1166,17 @@ declare const zPrivateBooking: z.ZodObject<{
928
1166
  rank: string;
929
1167
  email: string;
930
1168
  _id: string;
931
- courseId: string;
932
- teacherId: string;
1169
+ campOption: CampOption;
1170
+ isOnline: boolean;
1171
+ classDates: string;
933
1172
  paymentReceived?: boolean | undefined;
934
1173
  expireAt?: Date | undefined;
935
1174
  userId?: string | undefined;
936
1175
  phone?: string | undefined;
937
1176
  address?: string | undefined;
938
1177
  notes?: string | undefined;
939
- classDate?: string | undefined;
1178
+ shipping?: boolean | undefined;
1179
+ ctId?: string | undefined;
940
1180
  editedBy?: string | undefined;
941
1181
  createdAt?: string | undefined;
942
1182
  updatedAt?: string | undefined;
@@ -947,351 +1187,249 @@ declare const zPrivateBooking: z.ZodObject<{
947
1187
  rank: string;
948
1188
  email: string;
949
1189
  _id: string;
950
- courseId: string;
951
- teacherId: string;
1190
+ campOption: CampOption;
1191
+ isOnline: boolean;
1192
+ classDates: string;
952
1193
  paymentReceived?: boolean | undefined;
953
1194
  expireAt?: Date | undefined;
954
1195
  userId?: string | undefined;
955
1196
  phone?: string | undefined;
956
1197
  address?: string | undefined;
957
1198
  notes?: string | undefined;
958
- classDate?: string | undefined;
1199
+ shipping?: boolean | undefined;
1200
+ ctId?: string | undefined;
959
1201
  editedBy?: string | undefined;
960
1202
  createdAt?: string | undefined;
961
1203
  updatedAt?: string | undefined;
962
1204
  }>;
963
- type BPrivateBooking = z.infer<typeof zBPrivateBooking>;
964
- type PrivateBooking = z.infer<typeof zPrivateBooking>;
965
-
966
- declare enum GoRank {
967
- KYU1 = "1k",
968
- KYU2 = "2k",
969
- KYU3 = "3k",
970
- KYU4 = "4k",
971
- KYU5 = "5k",
972
- KYU6 = "6k",
973
- KYU7 = "7k",
974
- KYU8 = "8k",
975
- KYU9 = "9k",
976
- KYU10 = "10k",
977
- KYU11 = "11k",
978
- KYU12 = "12k",
979
- KYU13 = "13k",
980
- KYU14 = "14k",
981
- KYU15 = "15k",
982
- KYU16 = "16k",
983
- KYU17 = "17k",
984
- KYU18 = "18k",
985
- KYU19 = "19k",
986
- KYU20 = "20k",
987
- KYU21 = "21k",
988
- KYU22 = "22k",
989
- KYU23 = "23k",
990
- KYU24 = "24k",
991
- KYU25 = "25k",
992
- DAN1 = "1d",
993
- DAN2 = "2d",
994
- DAN3 = "3d",
995
- DAN4 = "4d",
996
- DAN5 = "5d",
997
- DAN6 = "6d",
998
- DAN7 = "7d",
999
- PRO1 = "1p",
1000
- PRO2 = "2p",
1001
- PRO3 = "3p",
1002
- PRO4 = "4p",
1003
- PRO5 = "5p",
1004
- PRO6 = "6p",
1005
- PRO7 = "7p",
1006
- PRO8 = "8p",
1007
- PRO9 = "9p"
1008
- }
1205
+ type BCampBooking = z.infer<typeof zBCampBooking>;
1206
+ type CampBooking = z.infer<typeof zCampBooking>;
1009
1207
 
1010
- declare const zBUser: z.ZodObject<{
1011
- name: z.ZodString;
1012
- username: z.ZodOptional<z.ZodString>;
1013
- password: z.ZodOptional<z.ZodString>;
1014
- roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1015
- email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1016
- address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1017
- country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1018
- phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1019
- birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1020
- }, "strip", z.ZodTypeAny, {
1021
- name: string;
1022
- username?: string | undefined;
1023
- password?: string | undefined;
1024
- roles?: number[] | undefined;
1025
- email?: string | undefined;
1026
- address?: string | undefined;
1027
- country?: string | undefined;
1028
- phoneNumber?: string | undefined;
1029
- birthDate?: string | undefined;
1030
- }, {
1031
- name: string;
1032
- username?: string | undefined;
1033
- password?: string | undefined;
1034
- roles?: number[] | undefined;
1035
- email?: string | undefined;
1036
- address?: string | undefined;
1037
- country?: string | undefined;
1038
- phoneNumber?: string | undefined;
1039
- birthDate?: string | undefined;
1040
- }>;
1041
- declare const zUser: z.ZodObject<{
1042
- email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1043
- address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1044
- name: z.ZodString;
1045
- username: z.ZodOptional<z.ZodString>;
1046
- password: z.ZodOptional<z.ZodString>;
1047
- roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1048
- country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1049
- phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1050
- birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1051
- _id: z.ZodString;
1052
- editedBy: z.ZodOptional<z.ZodString>;
1053
- createdAt: z.ZodOptional<z.ZodString>;
1054
- updatedAt: z.ZodOptional<z.ZodString>;
1055
- }, z.UnknownKeysParam, z.ZodTypeAny, {
1056
- _id: string;
1057
- name: string;
1058
- email?: string | undefined;
1059
- address?: string | undefined;
1060
- username?: string | undefined;
1061
- password?: string | undefined;
1062
- roles?: number[] | undefined;
1063
- country?: string | undefined;
1064
- phoneNumber?: string | undefined;
1065
- birthDate?: string | undefined;
1066
- editedBy?: string | undefined;
1067
- createdAt?: string | undefined;
1068
- updatedAt?: string | undefined;
1069
- }, {
1070
- _id: string;
1071
- name: string;
1072
- email?: string | undefined;
1073
- address?: string | undefined;
1074
- username?: string | undefined;
1075
- password?: string | undefined;
1076
- roles?: number[] | undefined;
1077
- country?: string | undefined;
1078
- phoneNumber?: string | undefined;
1079
- birthDate?: string | undefined;
1080
- editedBy?: string | undefined;
1081
- createdAt?: string | undefined;
1082
- updatedAt?: string | undefined;
1083
- }>;
1084
- declare const zBStudent: z.ZodObject<{
1085
- email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1086
- address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1087
- name: z.ZodString;
1088
- username: z.ZodOptional<z.ZodString>;
1089
- password: z.ZodOptional<z.ZodString>;
1090
- roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1091
- country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1092
- phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1093
- birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1094
- rank: z.ZodNativeEnum<typeof GoRank>;
1095
- guardian: z.ZodOptional<z.ZodString>;
1208
+ declare const zBGroupBooking: z.ZodObject<{
1209
+ userId: z.ZodOptional<z.ZodString>;
1210
+ firstName: z.ZodString;
1211
+ lastName: z.ZodString;
1212
+ rank: z.ZodString;
1213
+ email: z.ZodString;
1214
+ phone: z.ZodOptional<z.ZodString>;
1215
+ address: z.ZodOptional<z.ZodString>;
1216
+ notes: z.ZodOptional<z.ZodString>;
1217
+ shipping: z.ZodOptional<z.ZodBoolean>;
1218
+ isOnline: z.ZodBoolean;
1219
+ gtId: z.ZodOptional<z.ZodString>;
1220
+ isTrial: z.ZodOptional<z.ZodBoolean>;
1221
+ classDate: z.ZodOptional<z.ZodString>;
1222
+ paymentAmount: z.ZodNumber;
1223
+ paymentReceived: z.ZodOptional<z.ZodBoolean>;
1224
+ expireAt: z.ZodOptional<z.ZodDate>;
1096
1225
  }, "strip", z.ZodTypeAny, {
1097
- rank: GoRank;
1098
- name: string;
1099
- email?: string | undefined;
1226
+ paymentAmount: number;
1227
+ firstName: string;
1228
+ lastName: string;
1229
+ rank: string;
1230
+ email: string;
1231
+ isOnline: boolean;
1232
+ userId?: string | undefined;
1233
+ phone?: string | undefined;
1100
1234
  address?: string | undefined;
1101
- username?: string | undefined;
1102
- password?: string | undefined;
1103
- roles?: number[] | undefined;
1104
- country?: string | undefined;
1105
- phoneNumber?: string | undefined;
1106
- birthDate?: string | undefined;
1107
- guardian?: string | undefined;
1235
+ notes?: string | undefined;
1236
+ shipping?: boolean | undefined;
1237
+ gtId?: string | undefined;
1238
+ isTrial?: boolean | undefined;
1239
+ classDate?: string | undefined;
1240
+ paymentReceived?: boolean | undefined;
1241
+ expireAt?: Date | undefined;
1108
1242
  }, {
1109
- rank: GoRank;
1110
- name: string;
1111
- email?: string | undefined;
1243
+ paymentAmount: number;
1244
+ firstName: string;
1245
+ lastName: string;
1246
+ rank: string;
1247
+ email: string;
1248
+ isOnline: boolean;
1249
+ userId?: string | undefined;
1250
+ phone?: string | undefined;
1112
1251
  address?: string | undefined;
1113
- username?: string | undefined;
1114
- password?: string | undefined;
1115
- roles?: number[] | undefined;
1116
- country?: string | undefined;
1117
- phoneNumber?: string | undefined;
1118
- birthDate?: string | undefined;
1119
- guardian?: string | undefined;
1252
+ notes?: string | undefined;
1253
+ shipping?: boolean | undefined;
1254
+ gtId?: string | undefined;
1255
+ isTrial?: boolean | undefined;
1256
+ classDate?: string | undefined;
1257
+ paymentReceived?: boolean | undefined;
1258
+ expireAt?: Date | undefined;
1120
1259
  }>;
1121
- declare const zStudent: z.ZodObject<{
1122
- rank: z.ZodNativeEnum<typeof GoRank>;
1123
- email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1124
- address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1125
- name: z.ZodString;
1126
- username: z.ZodOptional<z.ZodString>;
1127
- password: z.ZodOptional<z.ZodString>;
1128
- roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1129
- country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1130
- phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1131
- birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1132
- guardian: z.ZodOptional<z.ZodString>;
1260
+ declare const zGroupBooking: z.ZodObject<{
1261
+ paymentAmount: z.ZodNumber;
1262
+ paymentReceived: z.ZodOptional<z.ZodBoolean>;
1263
+ expireAt: z.ZodOptional<z.ZodDate>;
1264
+ userId: z.ZodOptional<z.ZodString>;
1265
+ firstName: z.ZodString;
1266
+ lastName: z.ZodString;
1267
+ rank: z.ZodString;
1268
+ email: z.ZodString;
1269
+ phone: z.ZodOptional<z.ZodString>;
1270
+ address: z.ZodOptional<z.ZodString>;
1271
+ notes: z.ZodOptional<z.ZodString>;
1272
+ shipping: z.ZodOptional<z.ZodBoolean>;
1273
+ isOnline: z.ZodBoolean;
1274
+ gtId: z.ZodOptional<z.ZodString>;
1275
+ isTrial: z.ZodOptional<z.ZodBoolean>;
1276
+ classDate: z.ZodOptional<z.ZodString>;
1133
1277
  _id: z.ZodString;
1134
1278
  editedBy: z.ZodOptional<z.ZodString>;
1135
1279
  createdAt: z.ZodOptional<z.ZodString>;
1136
1280
  updatedAt: z.ZodOptional<z.ZodString>;
1137
1281
  }, z.UnknownKeysParam, z.ZodTypeAny, {
1138
- rank: GoRank;
1282
+ paymentAmount: number;
1283
+ firstName: string;
1284
+ lastName: string;
1285
+ rank: string;
1286
+ email: string;
1139
1287
  _id: string;
1140
- name: string;
1141
- email?: string | undefined;
1288
+ isOnline: boolean;
1289
+ paymentReceived?: boolean | undefined;
1290
+ expireAt?: Date | undefined;
1291
+ userId?: string | undefined;
1292
+ phone?: string | undefined;
1142
1293
  address?: string | undefined;
1143
- username?: string | undefined;
1144
- password?: string | undefined;
1145
- roles?: number[] | undefined;
1146
- country?: string | undefined;
1147
- phoneNumber?: string | undefined;
1148
- birthDate?: string | undefined;
1149
- guardian?: string | undefined;
1294
+ notes?: string | undefined;
1295
+ shipping?: boolean | undefined;
1296
+ gtId?: string | undefined;
1297
+ isTrial?: boolean | undefined;
1298
+ classDate?: string | undefined;
1150
1299
  editedBy?: string | undefined;
1151
1300
  createdAt?: string | undefined;
1152
1301
  updatedAt?: string | undefined;
1153
1302
  }, {
1154
- rank: GoRank;
1303
+ paymentAmount: number;
1304
+ firstName: string;
1305
+ lastName: string;
1306
+ rank: string;
1307
+ email: string;
1155
1308
  _id: string;
1156
- name: string;
1157
- email?: string | undefined;
1309
+ isOnline: boolean;
1310
+ paymentReceived?: boolean | undefined;
1311
+ expireAt?: Date | undefined;
1312
+ userId?: string | undefined;
1313
+ phone?: string | undefined;
1158
1314
  address?: string | undefined;
1159
- username?: string | undefined;
1160
- password?: string | undefined;
1161
- roles?: number[] | undefined;
1162
- country?: string | undefined;
1163
- phoneNumber?: string | undefined;
1164
- birthDate?: string | undefined;
1165
- guardian?: string | undefined;
1315
+ notes?: string | undefined;
1316
+ shipping?: boolean | undefined;
1317
+ gtId?: string | undefined;
1318
+ isTrial?: boolean | undefined;
1319
+ classDate?: string | undefined;
1166
1320
  editedBy?: string | undefined;
1167
1321
  createdAt?: string | undefined;
1168
1322
  updatedAt?: string | undefined;
1169
1323
  }>;
1170
- declare const zBTeacher: z.ZodObject<{
1171
- email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1172
- address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1173
- name: z.ZodString;
1174
- username: z.ZodOptional<z.ZodString>;
1175
- password: z.ZodOptional<z.ZodString>;
1176
- roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1177
- country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1178
- phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1179
- birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1180
- rank: z.ZodNativeEnum<typeof GoRank>;
1181
- isInactive: z.ZodOptional<z.ZodBoolean>;
1182
- title: z.ZodOptional<z.ZodString>;
1183
- bio: z.ZodOptional<z.ZodString>;
1184
- available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
1324
+ type BGroupBooking = z.infer<typeof zBGroupBooking>;
1325
+ type GroupBooking = z.infer<typeof zGroupBooking>;
1326
+
1327
+ declare const zBPrivateBooking: z.ZodObject<{
1328
+ userId: z.ZodOptional<z.ZodString>;
1329
+ firstName: z.ZodString;
1330
+ lastName: z.ZodString;
1331
+ rank: z.ZodString;
1332
+ email: z.ZodString;
1333
+ phone: z.ZodOptional<z.ZodString>;
1334
+ address: z.ZodOptional<z.ZodString>;
1335
+ notes: z.ZodOptional<z.ZodString>;
1336
+ courseId: z.ZodString;
1337
+ classDate: z.ZodOptional<z.ZodString>;
1338
+ teacherId: z.ZodString;
1339
+ paymentAmount: z.ZodNumber;
1340
+ paymentReceived: z.ZodOptional<z.ZodBoolean>;
1341
+ expireAt: z.ZodOptional<z.ZodDate>;
1185
1342
  }, "strip", z.ZodTypeAny, {
1186
- rank: GoRank;
1187
- name: string;
1188
- email?: string | undefined;
1343
+ paymentAmount: number;
1344
+ firstName: string;
1345
+ lastName: string;
1346
+ rank: string;
1347
+ email: string;
1348
+ courseId: string;
1349
+ teacherId: string;
1350
+ userId?: string | undefined;
1351
+ phone?: string | undefined;
1189
1352
  address?: string | undefined;
1190
- username?: string | undefined;
1191
- password?: string | undefined;
1192
- roles?: number[] | undefined;
1193
- country?: string | undefined;
1194
- phoneNumber?: string | undefined;
1195
- birthDate?: string | undefined;
1196
- isInactive?: boolean | undefined;
1197
- title?: string | undefined;
1198
- bio?: string | undefined;
1199
- available?: number[][][] | undefined;
1353
+ notes?: string | undefined;
1354
+ classDate?: string | undefined;
1355
+ paymentReceived?: boolean | undefined;
1356
+ expireAt?: Date | undefined;
1200
1357
  }, {
1201
- rank: GoRank;
1202
- name: string;
1203
- email?: string | undefined;
1358
+ paymentAmount: number;
1359
+ firstName: string;
1360
+ lastName: string;
1361
+ rank: string;
1362
+ email: string;
1363
+ courseId: string;
1364
+ teacherId: string;
1365
+ userId?: string | undefined;
1366
+ phone?: string | undefined;
1204
1367
  address?: string | undefined;
1205
- username?: string | undefined;
1206
- password?: string | undefined;
1207
- roles?: number[] | undefined;
1208
- country?: string | undefined;
1209
- phoneNumber?: string | undefined;
1210
- birthDate?: string | undefined;
1211
- isInactive?: boolean | undefined;
1212
- title?: string | undefined;
1213
- bio?: string | undefined;
1214
- available?: number[][][] | undefined;
1368
+ notes?: string | undefined;
1369
+ classDate?: string | undefined;
1370
+ paymentReceived?: boolean | undefined;
1371
+ expireAt?: Date | undefined;
1215
1372
  }>;
1216
- declare const zTeacher: z.ZodObject<{
1217
- rank: z.ZodNativeEnum<typeof GoRank>;
1218
- email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1219
- address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1220
- name: z.ZodString;
1221
- username: z.ZodOptional<z.ZodString>;
1222
- password: z.ZodOptional<z.ZodString>;
1223
- roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1224
- country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1225
- phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1226
- birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1227
- isInactive: z.ZodOptional<z.ZodBoolean>;
1228
- title: z.ZodOptional<z.ZodString>;
1229
- bio: z.ZodOptional<z.ZodString>;
1230
- available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
1373
+ declare const zPrivateBooking: z.ZodObject<{
1374
+ paymentAmount: z.ZodNumber;
1375
+ paymentReceived: z.ZodOptional<z.ZodBoolean>;
1376
+ expireAt: z.ZodOptional<z.ZodDate>;
1377
+ userId: z.ZodOptional<z.ZodString>;
1378
+ firstName: z.ZodString;
1379
+ lastName: z.ZodString;
1380
+ rank: z.ZodString;
1381
+ email: z.ZodString;
1382
+ phone: z.ZodOptional<z.ZodString>;
1383
+ address: z.ZodOptional<z.ZodString>;
1384
+ notes: z.ZodOptional<z.ZodString>;
1385
+ courseId: z.ZodString;
1386
+ classDate: z.ZodOptional<z.ZodString>;
1387
+ teacherId: z.ZodString;
1231
1388
  _id: z.ZodString;
1232
1389
  editedBy: z.ZodOptional<z.ZodString>;
1233
1390
  createdAt: z.ZodOptional<z.ZodString>;
1234
1391
  updatedAt: z.ZodOptional<z.ZodString>;
1235
1392
  }, z.UnknownKeysParam, z.ZodTypeAny, {
1236
- rank: GoRank;
1393
+ paymentAmount: number;
1394
+ firstName: string;
1395
+ lastName: string;
1396
+ rank: string;
1397
+ email: string;
1237
1398
  _id: string;
1238
- name: string;
1239
- email?: string | undefined;
1399
+ courseId: string;
1400
+ teacherId: string;
1401
+ paymentReceived?: boolean | undefined;
1402
+ expireAt?: Date | undefined;
1403
+ userId?: string | undefined;
1404
+ phone?: string | undefined;
1240
1405
  address?: string | undefined;
1241
- username?: string | undefined;
1242
- password?: string | undefined;
1243
- roles?: number[] | undefined;
1244
- country?: string | undefined;
1245
- phoneNumber?: string | undefined;
1246
- birthDate?: string | undefined;
1247
- isInactive?: boolean | undefined;
1248
- title?: string | undefined;
1249
- bio?: string | undefined;
1250
- available?: number[][][] | undefined;
1406
+ notes?: string | undefined;
1407
+ classDate?: string | undefined;
1251
1408
  editedBy?: string | undefined;
1252
1409
  createdAt?: string | undefined;
1253
1410
  updatedAt?: string | undefined;
1254
1411
  }, {
1255
- rank: GoRank;
1412
+ paymentAmount: number;
1413
+ firstName: string;
1414
+ lastName: string;
1415
+ rank: string;
1416
+ email: string;
1256
1417
  _id: string;
1257
- name: string;
1258
- email?: string | undefined;
1418
+ courseId: string;
1419
+ teacherId: string;
1420
+ paymentReceived?: boolean | undefined;
1421
+ expireAt?: Date | undefined;
1422
+ userId?: string | undefined;
1423
+ phone?: string | undefined;
1259
1424
  address?: string | undefined;
1260
- username?: string | undefined;
1261
- password?: string | undefined;
1262
- roles?: number[] | undefined;
1263
- country?: string | undefined;
1264
- phoneNumber?: string | undefined;
1265
- birthDate?: string | undefined;
1266
- isInactive?: boolean | undefined;
1267
- title?: string | undefined;
1268
- bio?: string | undefined;
1269
- available?: number[][][] | undefined;
1425
+ notes?: string | undefined;
1426
+ classDate?: string | undefined;
1270
1427
  editedBy?: string | undefined;
1271
1428
  createdAt?: string | undefined;
1272
1429
  updatedAt?: string | undefined;
1273
1430
  }>;
1274
- type BUser = z.infer<typeof zBUser>;
1275
- type User = z.infer<typeof zUser>;
1276
- type BStudent = z.infer<typeof zBStudent>;
1277
- type Student = z.infer<typeof zStudent>;
1278
- type BTeacher = z.infer<typeof zBTeacher>;
1279
- type Teacher = z.infer<typeof zTeacher>;
1280
-
1281
- declare const zUserRoles: z.ZodObject<{
1282
- user: z.ZodNumber;
1283
- admin: z.ZodNumber;
1284
- superadmin: z.ZodNumber;
1285
- }, "strip", z.ZodTypeAny, {
1286
- user: number;
1287
- admin: number;
1288
- superadmin: number;
1289
- }, {
1290
- user: number;
1291
- admin: number;
1292
- superadmin: number;
1293
- }>;
1294
- type UserRoles = z.infer<typeof zUserRoles>;
1431
+ type BPrivateBooking = z.infer<typeof zBPrivateBooking>;
1432
+ type PrivateBooking = z.infer<typeof zPrivateBooking>;
1295
1433
 
1296
1434
  declare enum PaymentMethod {
1297
1435
  CASH = "Cash",
@@ -2374,15 +2512,15 @@ declare const zCourseTable: z.ZodObject<{
2374
2512
  recommendedLevel: z.ZodString;
2375
2513
  tuition: z.ZodString;
2376
2514
  }, "strip", z.ZodTypeAny, {
2377
- tuition: string;
2378
2515
  name: string;
2516
+ tuition: string;
2379
2517
  duration: number;
2380
2518
  id: string;
2381
2519
  dateAndTime: string;
2382
2520
  recommendedLevel: string;
2383
2521
  }, {
2384
- tuition: string;
2385
2522
  name: string;
2523
+ tuition: string;
2386
2524
  duration: number;
2387
2525
  id: string;
2388
2526
  dateAndTime: string;
@@ -3601,4 +3739,4 @@ declare const zEventTicket: z.ZodObject<{
3601
3739
  type BEventTicket = z.infer<typeof zBEventTicket>;
3602
3740
  type EventTicket = z.infer<typeof zEventTicket>;
3603
3741
 
3604
- export { AgeGroup, AttendState, type Attendance, type AuroraCourses, type BAttendance, type BCampBooking, type BCampTracker, type BClassTracker, type BCourse, type BEventConfig, type BEventReg, type BEventTicket, type BGroupBooking, type BGroupTracker, type BInvoice, type BPaymentInfo, type BPrivateBooking, type BReportTicket, type BSemester, type BStudent, type BTeacher, type BTeacherPayment, type BUser, type BUserInfo, BookingType, type CampBooking, CampOption, type CampTracker, type ClassTracker, type Course, CourseCategory, type CourseTable, type DetailsTable, type Discount, type EventConfig, type EventConfigResponse, type EventReg, type EventRegResponse, type EventTicket, type EventTicketReg, type EventTicketRegResponse, GoRank, type GroupBooking, type GroupTracker, type ImageDef, type Invoice, type InvoiceItem, type InvoicePackage, type InvoicePackageResponse, type InvoiceResponse, type NYIGMission, NYIGSchool, type PaymentIntent, PaymentMethod, type PrivateBooking, type ReportTicket, type ReportTicketResponse, type ScheduleData, type ScheduleTable, Season, type Semester, type Student, type Teacher, type TeacherDisplay, type TeacherPayment, type TeacherPaymentResponse, type TeacherPaymentRow, TicketStatus, type Tuition, type User, type UserRoles, zAttendance, zBAttendance, zBCampBooking, zBCampTracker, zBClassTracker, zBCourse, zBEventConfig, zBEventReg, zBEventTicket, zBGroupBooking, zBGroupTracker, zBInvoice, zBPaymentInfo, zBPrivateBooking, zBReportTicket, zBSemester, zBStudent, zBTeacher, zBTeacherPayment, zBUser, zBUserInfo, zCampBooking, zCampTracker, zClassTracker, zCourse, zCourseTable, zDetailsTable, zDiscount, zEventConfig, zEventConfigResponse, zEventReg, zEventRegResponse, zEventTicket, zEventTicketReg, zEventTicketRegResponse, zGroupBooking, zGroupTracker, zImageDef, zInvoice, zInvoiceItem, zInvoicePackage, zInvoicePackageResponse, zInvoiceResponse, zPrivateBooking, zReportTicket, zReportTicketResponse, zScheduleData, zScheduleTable, zSemester, zStudent, zTeacher, zTeacherDisplay, zTeacherPayment, zTeacherPaymentResponse, zTeacherPaymentRow, zTuition, zUser, zUserRoles };
3742
+ export { AgeGroup, AttendState, type Attendance, type AttendanceResponse, type AuroraCourses, type BAttendance, type BCampBooking, type BCampTracker, type BClassTracker, type BCourse, type BEventConfig, type BEventReg, type BEventTicket, type BGroupBooking, type BGroupTracker, type BInvoice, type BPaymentInfo, type BPrivateBooking, type BReportTicket, type BSemester, type BStudent, type BTeacher, type BTeacherPayment, type BUser, type BUserInfo, BookingType, type CampBooking, CampOption, type CampTracker, type ClassTracker, type Course, CourseCategory, type CourseTable, type DetailsTable, type Discount, type EventConfig, type EventConfigResponse, type EventReg, type EventRegResponse, type EventTicket, type EventTicketReg, type EventTicketRegResponse, GoRank, type GroupBooking, type GroupTracker, type ImageDef, type Invoice, type InvoiceItem, type InvoicePackage, type InvoicePackageResponse, type InvoiceResponse, type NYIGMission, NYIGSchool, type PaymentIntent, PaymentMethod, type PrivateBooking, type ReportTicket, type ReportTicketResponse, type ScheduleData, type ScheduleTable, Season, type Semester, type Student, type Teacher, type TeacherDisplay, type TeacherPayment, type TeacherPaymentResponse, type TeacherPaymentRow, TicketStatus, type Tuition, type User, type UserRoles, zAttendance, zAttendanceResponse, zBAttendance, zBCampBooking, zBCampTracker, zBClassTracker, zBCourse, zBEventConfig, zBEventReg, zBEventTicket, zBGroupBooking, zBGroupTracker, zBInvoice, zBPaymentInfo, zBPrivateBooking, zBReportTicket, zBSemester, zBStudent, zBTeacher, zBTeacherPayment, zBUser, zBUserInfo, zCampBooking, zCampTracker, zClassTracker, zCourse, zCourseTable, zDetailsTable, zDiscount, zEventConfig, zEventConfigResponse, zEventReg, zEventRegResponse, zEventTicket, zEventTicketReg, zEventTicketRegResponse, zGroupBooking, zGroupTracker, zImageDef, zInvoice, zInvoiceItem, zInvoicePackage, zInvoicePackageResponse, zInvoiceResponse, zPrivateBooking, zReportTicket, zReportTicketResponse, zScheduleData, zScheduleTable, zSemester, zStudent, zTeacher, zTeacherDisplay, zTeacherPayment, zTeacherPaymentResponse, zTeacherPaymentRow, zTuition, zUser, zUserRoles };