@nyig/models 0.4.9 → 0.4.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.mts +96 -0
- package/index.d.ts +96 -0
- package/index.js +8 -0
- package/index.mjs +8 -0
- package/package.json +1 -1
package/index.d.mts
CHANGED
|
@@ -447,6 +447,10 @@ declare const zBTeacher: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
447
447
|
* Inactive teachers are not shown on public endpoints
|
|
448
448
|
*/
|
|
449
449
|
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
450
|
+
/**
|
|
451
|
+
* If true, teacher is never available for booking
|
|
452
|
+
*/
|
|
453
|
+
doesNotTeachPrivateLessons: z.ZodOptional<z.ZodBoolean>;
|
|
450
454
|
/**
|
|
451
455
|
* Teacher's position, e.g., instructor, president
|
|
452
456
|
*/
|
|
@@ -456,6 +460,10 @@ declare const zBTeacher: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
456
460
|
* new lines will be rendered as paragraphs
|
|
457
461
|
*/
|
|
458
462
|
bio: z.ZodOptional<z.ZodString>;
|
|
463
|
+
/**
|
|
464
|
+
* Permanent URL of the image
|
|
465
|
+
*/
|
|
466
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
459
467
|
/** Format is illustrated below, where teacher is available
|
|
460
468
|
* Mon 9-12am 3-6pm & Tue 10-12am 6-10pm
|
|
461
469
|
* [
|
|
@@ -486,8 +494,10 @@ declare const zBTeacher: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
486
494
|
birthDate?: string | undefined;
|
|
487
495
|
shouldChangePassword?: boolean | undefined;
|
|
488
496
|
isInactive?: boolean | undefined;
|
|
497
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
489
498
|
title?: string | undefined;
|
|
490
499
|
bio?: string | undefined;
|
|
500
|
+
imageUrl?: string | undefined;
|
|
491
501
|
available?: number[][][] | undefined;
|
|
492
502
|
}, {
|
|
493
503
|
rank: GoRank;
|
|
@@ -506,8 +516,10 @@ declare const zBTeacher: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
506
516
|
birthDate?: string | undefined;
|
|
507
517
|
shouldChangePassword?: boolean | undefined;
|
|
508
518
|
isInactive?: boolean | undefined;
|
|
519
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
509
520
|
title?: string | undefined;
|
|
510
521
|
bio?: string | undefined;
|
|
522
|
+
imageUrl?: string | undefined;
|
|
511
523
|
available?: number[][][] | undefined;
|
|
512
524
|
}>;
|
|
513
525
|
declare const zTeacher: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -539,6 +551,10 @@ declare const zTeacher: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
|
|
|
539
551
|
* Inactive teachers are not shown on public endpoints
|
|
540
552
|
*/
|
|
541
553
|
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
554
|
+
/**
|
|
555
|
+
* If true, teacher is never available for booking
|
|
556
|
+
*/
|
|
557
|
+
doesNotTeachPrivateLessons: z.ZodOptional<z.ZodBoolean>;
|
|
542
558
|
/**
|
|
543
559
|
* Teacher's position, e.g., instructor, president
|
|
544
560
|
*/
|
|
@@ -548,6 +564,10 @@ declare const zTeacher: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
|
|
|
548
564
|
* new lines will be rendered as paragraphs
|
|
549
565
|
*/
|
|
550
566
|
bio: z.ZodOptional<z.ZodString>;
|
|
567
|
+
/**
|
|
568
|
+
* Permanent URL of the image
|
|
569
|
+
*/
|
|
570
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
551
571
|
/** Format is illustrated below, where teacher is available
|
|
552
572
|
* Mon 9-12am 3-6pm & Tue 10-12am 6-10pm
|
|
553
573
|
* [
|
|
@@ -587,8 +607,10 @@ declare const zTeacher: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
|
|
|
587
607
|
birthDate?: string | undefined;
|
|
588
608
|
shouldChangePassword?: boolean | undefined;
|
|
589
609
|
isInactive?: boolean | undefined;
|
|
610
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
590
611
|
title?: string | undefined;
|
|
591
612
|
bio?: string | undefined;
|
|
613
|
+
imageUrl?: string | undefined;
|
|
592
614
|
available?: number[][][] | undefined;
|
|
593
615
|
}, {
|
|
594
616
|
rank: GoRank;
|
|
@@ -611,8 +633,10 @@ declare const zTeacher: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
|
|
|
611
633
|
birthDate?: string | undefined;
|
|
612
634
|
shouldChangePassword?: boolean | undefined;
|
|
613
635
|
isInactive?: boolean | undefined;
|
|
636
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
614
637
|
title?: string | undefined;
|
|
615
638
|
bio?: string | undefined;
|
|
639
|
+
imageUrl?: string | undefined;
|
|
616
640
|
available?: number[][][] | undefined;
|
|
617
641
|
}>;
|
|
618
642
|
declare const zTeacherResponse: z.ZodObject<z.objectUtil.extendShape<Omit<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -644,6 +668,10 @@ declare const zTeacherResponse: z.ZodObject<z.objectUtil.extendShape<Omit<z.obje
|
|
|
644
668
|
* Inactive teachers are not shown on public endpoints
|
|
645
669
|
*/
|
|
646
670
|
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
671
|
+
/**
|
|
672
|
+
* If true, teacher is never available for booking
|
|
673
|
+
*/
|
|
674
|
+
doesNotTeachPrivateLessons: z.ZodOptional<z.ZodBoolean>;
|
|
647
675
|
/**
|
|
648
676
|
* Teacher's position, e.g., instructor, president
|
|
649
677
|
*/
|
|
@@ -653,6 +681,10 @@ declare const zTeacherResponse: z.ZodObject<z.objectUtil.extendShape<Omit<z.obje
|
|
|
653
681
|
* new lines will be rendered as paragraphs
|
|
654
682
|
*/
|
|
655
683
|
bio: z.ZodOptional<z.ZodString>;
|
|
684
|
+
/**
|
|
685
|
+
* Permanent URL of the image
|
|
686
|
+
*/
|
|
687
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
656
688
|
/** Format is illustrated below, where teacher is available
|
|
657
689
|
* Mon 9-12am 3-6pm & Tue 10-12am 6-10pm
|
|
658
690
|
* [
|
|
@@ -686,8 +718,10 @@ declare const zTeacherResponse: z.ZodObject<z.objectUtil.extendShape<Omit<z.obje
|
|
|
686
718
|
birthDate?: string | undefined;
|
|
687
719
|
shouldChangePassword?: boolean | undefined;
|
|
688
720
|
isInactive?: boolean | undefined;
|
|
721
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
689
722
|
title?: string | undefined;
|
|
690
723
|
bio?: string | undefined;
|
|
724
|
+
imageUrl?: string | undefined;
|
|
691
725
|
available?: number[][][] | undefined;
|
|
692
726
|
}, {
|
|
693
727
|
rank: GoRank;
|
|
@@ -702,8 +736,10 @@ declare const zTeacherResponse: z.ZodObject<z.objectUtil.extendShape<Omit<z.obje
|
|
|
702
736
|
birthDate?: string | undefined;
|
|
703
737
|
shouldChangePassword?: boolean | undefined;
|
|
704
738
|
isInactive?: boolean | undefined;
|
|
739
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
705
740
|
title?: string | undefined;
|
|
706
741
|
bio?: string | undefined;
|
|
742
|
+
imageUrl?: string | undefined;
|
|
707
743
|
available?: number[][][] | undefined;
|
|
708
744
|
}>;
|
|
709
745
|
type BTeacher = z.infer<typeof zBTeacher>;
|
|
@@ -1702,8 +1738,10 @@ declare const zCampTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
1702
1738
|
}, {
|
|
1703
1739
|
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
1704
1740
|
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
1741
|
+
doesNotTeachPrivateLessons: z.ZodOptional<z.ZodBoolean>;
|
|
1705
1742
|
title: z.ZodOptional<z.ZodString>;
|
|
1706
1743
|
bio: z.ZodOptional<z.ZodString>;
|
|
1744
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
1707
1745
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
1708
1746
|
}>, {
|
|
1709
1747
|
_id: z.ZodString;
|
|
@@ -1731,8 +1769,10 @@ declare const zCampTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
1731
1769
|
birthDate?: string | undefined;
|
|
1732
1770
|
shouldChangePassword?: boolean | undefined;
|
|
1733
1771
|
isInactive?: boolean | undefined;
|
|
1772
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
1734
1773
|
title?: string | undefined;
|
|
1735
1774
|
bio?: string | undefined;
|
|
1775
|
+
imageUrl?: string | undefined;
|
|
1736
1776
|
available?: number[][][] | undefined;
|
|
1737
1777
|
}, {
|
|
1738
1778
|
rank: GoRank;
|
|
@@ -1755,8 +1795,10 @@ declare const zCampTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
1755
1795
|
birthDate?: string | undefined;
|
|
1756
1796
|
shouldChangePassword?: boolean | undefined;
|
|
1757
1797
|
isInactive?: boolean | undefined;
|
|
1798
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
1758
1799
|
title?: string | undefined;
|
|
1759
1800
|
bio?: string | undefined;
|
|
1801
|
+
imageUrl?: string | undefined;
|
|
1760
1802
|
available?: number[][][] | undefined;
|
|
1761
1803
|
}>;
|
|
1762
1804
|
semester: z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -2002,8 +2044,10 @@ declare const zCampTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
2002
2044
|
birthDate?: string | undefined;
|
|
2003
2045
|
shouldChangePassword?: boolean | undefined;
|
|
2004
2046
|
isInactive?: boolean | undefined;
|
|
2047
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
2005
2048
|
title?: string | undefined;
|
|
2006
2049
|
bio?: string | undefined;
|
|
2050
|
+
imageUrl?: string | undefined;
|
|
2007
2051
|
available?: number[][][] | undefined;
|
|
2008
2052
|
};
|
|
2009
2053
|
semester: {
|
|
@@ -2100,8 +2144,10 @@ declare const zCampTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
2100
2144
|
birthDate?: string | undefined;
|
|
2101
2145
|
shouldChangePassword?: boolean | undefined;
|
|
2102
2146
|
isInactive?: boolean | undefined;
|
|
2147
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
2103
2148
|
title?: string | undefined;
|
|
2104
2149
|
bio?: string | undefined;
|
|
2150
|
+
imageUrl?: string | undefined;
|
|
2105
2151
|
available?: number[][][] | undefined;
|
|
2106
2152
|
};
|
|
2107
2153
|
semester: {
|
|
@@ -2375,8 +2421,10 @@ declare const zClassTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
2375
2421
|
}, {
|
|
2376
2422
|
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
2377
2423
|
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
2424
|
+
doesNotTeachPrivateLessons: z.ZodOptional<z.ZodBoolean>;
|
|
2378
2425
|
title: z.ZodOptional<z.ZodString>;
|
|
2379
2426
|
bio: z.ZodOptional<z.ZodString>;
|
|
2427
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
2380
2428
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
2381
2429
|
}>, {
|
|
2382
2430
|
_id: z.ZodString;
|
|
@@ -2404,8 +2452,10 @@ declare const zClassTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
2404
2452
|
birthDate?: string | undefined;
|
|
2405
2453
|
shouldChangePassword?: boolean | undefined;
|
|
2406
2454
|
isInactive?: boolean | undefined;
|
|
2455
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
2407
2456
|
title?: string | undefined;
|
|
2408
2457
|
bio?: string | undefined;
|
|
2458
|
+
imageUrl?: string | undefined;
|
|
2409
2459
|
available?: number[][][] | undefined;
|
|
2410
2460
|
}, {
|
|
2411
2461
|
rank: GoRank;
|
|
@@ -2428,8 +2478,10 @@ declare const zClassTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
2428
2478
|
birthDate?: string | undefined;
|
|
2429
2479
|
shouldChangePassword?: boolean | undefined;
|
|
2430
2480
|
isInactive?: boolean | undefined;
|
|
2481
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
2431
2482
|
title?: string | undefined;
|
|
2432
2483
|
bio?: string | undefined;
|
|
2484
|
+
imageUrl?: string | undefined;
|
|
2433
2485
|
available?: number[][][] | undefined;
|
|
2434
2486
|
}>;
|
|
2435
2487
|
student: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -2567,8 +2619,10 @@ declare const zClassTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
2567
2619
|
birthDate?: string | undefined;
|
|
2568
2620
|
shouldChangePassword?: boolean | undefined;
|
|
2569
2621
|
isInactive?: boolean | undefined;
|
|
2622
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
2570
2623
|
title?: string | undefined;
|
|
2571
2624
|
bio?: string | undefined;
|
|
2625
|
+
imageUrl?: string | undefined;
|
|
2572
2626
|
available?: number[][][] | undefined;
|
|
2573
2627
|
};
|
|
2574
2628
|
classTimes: Date[];
|
|
@@ -2641,8 +2695,10 @@ declare const zClassTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
2641
2695
|
birthDate?: string | undefined;
|
|
2642
2696
|
shouldChangePassword?: boolean | undefined;
|
|
2643
2697
|
isInactive?: boolean | undefined;
|
|
2698
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
2644
2699
|
title?: string | undefined;
|
|
2645
2700
|
bio?: string | undefined;
|
|
2701
|
+
imageUrl?: string | undefined;
|
|
2646
2702
|
available?: number[][][] | undefined;
|
|
2647
2703
|
};
|
|
2648
2704
|
classTimes: Date[];
|
|
@@ -3222,8 +3278,10 @@ declare const zGroupTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
3222
3278
|
}, {
|
|
3223
3279
|
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
3224
3280
|
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
3281
|
+
doesNotTeachPrivateLessons: z.ZodOptional<z.ZodBoolean>;
|
|
3225
3282
|
title: z.ZodOptional<z.ZodString>;
|
|
3226
3283
|
bio: z.ZodOptional<z.ZodString>;
|
|
3284
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
3227
3285
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
3228
3286
|
}>, {
|
|
3229
3287
|
_id: z.ZodString;
|
|
@@ -3251,8 +3309,10 @@ declare const zGroupTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
3251
3309
|
birthDate?: string | undefined;
|
|
3252
3310
|
shouldChangePassword?: boolean | undefined;
|
|
3253
3311
|
isInactive?: boolean | undefined;
|
|
3312
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
3254
3313
|
title?: string | undefined;
|
|
3255
3314
|
bio?: string | undefined;
|
|
3315
|
+
imageUrl?: string | undefined;
|
|
3256
3316
|
available?: number[][][] | undefined;
|
|
3257
3317
|
}, {
|
|
3258
3318
|
rank: GoRank;
|
|
@@ -3275,8 +3335,10 @@ declare const zGroupTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
3275
3335
|
birthDate?: string | undefined;
|
|
3276
3336
|
shouldChangePassword?: boolean | undefined;
|
|
3277
3337
|
isInactive?: boolean | undefined;
|
|
3338
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
3278
3339
|
title?: string | undefined;
|
|
3279
3340
|
bio?: string | undefined;
|
|
3341
|
+
imageUrl?: string | undefined;
|
|
3280
3342
|
available?: number[][][] | undefined;
|
|
3281
3343
|
}>;
|
|
3282
3344
|
semester: z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -3522,8 +3584,10 @@ declare const zGroupTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
3522
3584
|
birthDate?: string | undefined;
|
|
3523
3585
|
shouldChangePassword?: boolean | undefined;
|
|
3524
3586
|
isInactive?: boolean | undefined;
|
|
3587
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
3525
3588
|
title?: string | undefined;
|
|
3526
3589
|
bio?: string | undefined;
|
|
3590
|
+
imageUrl?: string | undefined;
|
|
3527
3591
|
available?: number[][][] | undefined;
|
|
3528
3592
|
};
|
|
3529
3593
|
semester: {
|
|
@@ -3627,8 +3691,10 @@ declare const zGroupTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
3627
3691
|
birthDate?: string | undefined;
|
|
3628
3692
|
shouldChangePassword?: boolean | undefined;
|
|
3629
3693
|
isInactive?: boolean | undefined;
|
|
3694
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
3630
3695
|
title?: string | undefined;
|
|
3631
3696
|
bio?: string | undefined;
|
|
3697
|
+
imageUrl?: string | undefined;
|
|
3632
3698
|
available?: number[][][] | undefined;
|
|
3633
3699
|
};
|
|
3634
3700
|
semester: {
|
|
@@ -4622,8 +4688,10 @@ declare const zInvoiceResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
4622
4688
|
}, {
|
|
4623
4689
|
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
4624
4690
|
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
4691
|
+
doesNotTeachPrivateLessons: z.ZodOptional<z.ZodBoolean>;
|
|
4625
4692
|
title: z.ZodOptional<z.ZodString>;
|
|
4626
4693
|
bio: z.ZodOptional<z.ZodString>;
|
|
4694
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
4627
4695
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
4628
4696
|
}>, {
|
|
4629
4697
|
_id: z.ZodString;
|
|
@@ -4651,8 +4719,10 @@ declare const zInvoiceResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
4651
4719
|
birthDate?: string | undefined;
|
|
4652
4720
|
shouldChangePassword?: boolean | undefined;
|
|
4653
4721
|
isInactive?: boolean | undefined;
|
|
4722
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
4654
4723
|
title?: string | undefined;
|
|
4655
4724
|
bio?: string | undefined;
|
|
4725
|
+
imageUrl?: string | undefined;
|
|
4656
4726
|
available?: number[][][] | undefined;
|
|
4657
4727
|
}, {
|
|
4658
4728
|
rank: GoRank;
|
|
@@ -4675,8 +4745,10 @@ declare const zInvoiceResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
4675
4745
|
birthDate?: string | undefined;
|
|
4676
4746
|
shouldChangePassword?: boolean | undefined;
|
|
4677
4747
|
isInactive?: boolean | undefined;
|
|
4748
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
4678
4749
|
title?: string | undefined;
|
|
4679
4750
|
bio?: string | undefined;
|
|
4751
|
+
imageUrl?: string | undefined;
|
|
4680
4752
|
available?: number[][][] | undefined;
|
|
4681
4753
|
}>;
|
|
4682
4754
|
lastEditBy: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -4705,8 +4777,10 @@ declare const zInvoiceResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
4705
4777
|
}, {
|
|
4706
4778
|
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
4707
4779
|
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
4780
|
+
doesNotTeachPrivateLessons: z.ZodOptional<z.ZodBoolean>;
|
|
4708
4781
|
title: z.ZodOptional<z.ZodString>;
|
|
4709
4782
|
bio: z.ZodOptional<z.ZodString>;
|
|
4783
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
4710
4784
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
4711
4785
|
}>, {
|
|
4712
4786
|
_id: z.ZodString;
|
|
@@ -4734,8 +4808,10 @@ declare const zInvoiceResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
4734
4808
|
birthDate?: string | undefined;
|
|
4735
4809
|
shouldChangePassword?: boolean | undefined;
|
|
4736
4810
|
isInactive?: boolean | undefined;
|
|
4811
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
4737
4812
|
title?: string | undefined;
|
|
4738
4813
|
bio?: string | undefined;
|
|
4814
|
+
imageUrl?: string | undefined;
|
|
4739
4815
|
available?: number[][][] | undefined;
|
|
4740
4816
|
}, {
|
|
4741
4817
|
rank: GoRank;
|
|
@@ -4758,8 +4834,10 @@ declare const zInvoiceResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
4758
4834
|
birthDate?: string | undefined;
|
|
4759
4835
|
shouldChangePassword?: boolean | undefined;
|
|
4760
4836
|
isInactive?: boolean | undefined;
|
|
4837
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
4761
4838
|
title?: string | undefined;
|
|
4762
4839
|
bio?: string | undefined;
|
|
4840
|
+
imageUrl?: string | undefined;
|
|
4763
4841
|
available?: number[][][] | undefined;
|
|
4764
4842
|
}>>;
|
|
4765
4843
|
packages: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -4966,8 +5044,10 @@ declare const zInvoiceResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
4966
5044
|
birthDate?: string | undefined;
|
|
4967
5045
|
shouldChangePassword?: boolean | undefined;
|
|
4968
5046
|
isInactive?: boolean | undefined;
|
|
5047
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
4969
5048
|
title?: string | undefined;
|
|
4970
5049
|
bio?: string | undefined;
|
|
5050
|
+
imageUrl?: string | undefined;
|
|
4971
5051
|
available?: number[][][] | undefined;
|
|
4972
5052
|
};
|
|
4973
5053
|
notes?: string | undefined;
|
|
@@ -5000,8 +5080,10 @@ declare const zInvoiceResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
5000
5080
|
birthDate?: string | undefined;
|
|
5001
5081
|
shouldChangePassword?: boolean | undefined;
|
|
5002
5082
|
isInactive?: boolean | undefined;
|
|
5083
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
5003
5084
|
title?: string | undefined;
|
|
5004
5085
|
bio?: string | undefined;
|
|
5086
|
+
imageUrl?: string | undefined;
|
|
5005
5087
|
available?: number[][][] | undefined;
|
|
5006
5088
|
} | undefined;
|
|
5007
5089
|
}, {
|
|
@@ -5061,8 +5143,10 @@ declare const zInvoiceResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
5061
5143
|
birthDate?: string | undefined;
|
|
5062
5144
|
shouldChangePassword?: boolean | undefined;
|
|
5063
5145
|
isInactive?: boolean | undefined;
|
|
5146
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
5064
5147
|
title?: string | undefined;
|
|
5065
5148
|
bio?: string | undefined;
|
|
5149
|
+
imageUrl?: string | undefined;
|
|
5066
5150
|
available?: number[][][] | undefined;
|
|
5067
5151
|
};
|
|
5068
5152
|
notes?: string | undefined;
|
|
@@ -5095,8 +5179,10 @@ declare const zInvoiceResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
5095
5179
|
birthDate?: string | undefined;
|
|
5096
5180
|
shouldChangePassword?: boolean | undefined;
|
|
5097
5181
|
isInactive?: boolean | undefined;
|
|
5182
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
5098
5183
|
title?: string | undefined;
|
|
5099
5184
|
bio?: string | undefined;
|
|
5185
|
+
imageUrl?: string | undefined;
|
|
5100
5186
|
available?: number[][][] | undefined;
|
|
5101
5187
|
} | undefined;
|
|
5102
5188
|
}>;
|
|
@@ -5269,8 +5355,10 @@ declare const zTeacherPaymentResponse: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
5269
5355
|
}, {
|
|
5270
5356
|
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
5271
5357
|
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
5358
|
+
doesNotTeachPrivateLessons: z.ZodOptional<z.ZodBoolean>;
|
|
5272
5359
|
title: z.ZodOptional<z.ZodString>;
|
|
5273
5360
|
bio: z.ZodOptional<z.ZodString>;
|
|
5361
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
5274
5362
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
5275
5363
|
}>, {
|
|
5276
5364
|
_id: z.ZodString;
|
|
@@ -5298,8 +5386,10 @@ declare const zTeacherPaymentResponse: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
5298
5386
|
birthDate?: string | undefined;
|
|
5299
5387
|
shouldChangePassword?: boolean | undefined;
|
|
5300
5388
|
isInactive?: boolean | undefined;
|
|
5389
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
5301
5390
|
title?: string | undefined;
|
|
5302
5391
|
bio?: string | undefined;
|
|
5392
|
+
imageUrl?: string | undefined;
|
|
5303
5393
|
available?: number[][][] | undefined;
|
|
5304
5394
|
}, {
|
|
5305
5395
|
rank: GoRank;
|
|
@@ -5322,8 +5412,10 @@ declare const zTeacherPaymentResponse: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
5322
5412
|
birthDate?: string | undefined;
|
|
5323
5413
|
shouldChangePassword?: boolean | undefined;
|
|
5324
5414
|
isInactive?: boolean | undefined;
|
|
5415
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
5325
5416
|
title?: string | undefined;
|
|
5326
5417
|
bio?: string | undefined;
|
|
5418
|
+
imageUrl?: string | undefined;
|
|
5327
5419
|
available?: number[][][] | undefined;
|
|
5328
5420
|
}>;
|
|
5329
5421
|
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
@@ -5349,8 +5441,10 @@ declare const zTeacherPaymentResponse: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
5349
5441
|
birthDate?: string | undefined;
|
|
5350
5442
|
shouldChangePassword?: boolean | undefined;
|
|
5351
5443
|
isInactive?: boolean | undefined;
|
|
5444
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
5352
5445
|
title?: string | undefined;
|
|
5353
5446
|
bio?: string | undefined;
|
|
5447
|
+
imageUrl?: string | undefined;
|
|
5354
5448
|
available?: number[][][] | undefined;
|
|
5355
5449
|
};
|
|
5356
5450
|
rows: {
|
|
@@ -5386,8 +5480,10 @@ declare const zTeacherPaymentResponse: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
5386
5480
|
birthDate?: string | undefined;
|
|
5387
5481
|
shouldChangePassword?: boolean | undefined;
|
|
5388
5482
|
isInactive?: boolean | undefined;
|
|
5483
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
5389
5484
|
title?: string | undefined;
|
|
5390
5485
|
bio?: string | undefined;
|
|
5486
|
+
imageUrl?: string | undefined;
|
|
5391
5487
|
available?: number[][][] | undefined;
|
|
5392
5488
|
};
|
|
5393
5489
|
rows: {
|
package/index.d.ts
CHANGED
|
@@ -447,6 +447,10 @@ declare const zBTeacher: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
447
447
|
* Inactive teachers are not shown on public endpoints
|
|
448
448
|
*/
|
|
449
449
|
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
450
|
+
/**
|
|
451
|
+
* If true, teacher is never available for booking
|
|
452
|
+
*/
|
|
453
|
+
doesNotTeachPrivateLessons: z.ZodOptional<z.ZodBoolean>;
|
|
450
454
|
/**
|
|
451
455
|
* Teacher's position, e.g., instructor, president
|
|
452
456
|
*/
|
|
@@ -456,6 +460,10 @@ declare const zBTeacher: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
456
460
|
* new lines will be rendered as paragraphs
|
|
457
461
|
*/
|
|
458
462
|
bio: z.ZodOptional<z.ZodString>;
|
|
463
|
+
/**
|
|
464
|
+
* Permanent URL of the image
|
|
465
|
+
*/
|
|
466
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
459
467
|
/** Format is illustrated below, where teacher is available
|
|
460
468
|
* Mon 9-12am 3-6pm & Tue 10-12am 6-10pm
|
|
461
469
|
* [
|
|
@@ -486,8 +494,10 @@ declare const zBTeacher: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
486
494
|
birthDate?: string | undefined;
|
|
487
495
|
shouldChangePassword?: boolean | undefined;
|
|
488
496
|
isInactive?: boolean | undefined;
|
|
497
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
489
498
|
title?: string | undefined;
|
|
490
499
|
bio?: string | undefined;
|
|
500
|
+
imageUrl?: string | undefined;
|
|
491
501
|
available?: number[][][] | undefined;
|
|
492
502
|
}, {
|
|
493
503
|
rank: GoRank;
|
|
@@ -506,8 +516,10 @@ declare const zBTeacher: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
506
516
|
birthDate?: string | undefined;
|
|
507
517
|
shouldChangePassword?: boolean | undefined;
|
|
508
518
|
isInactive?: boolean | undefined;
|
|
519
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
509
520
|
title?: string | undefined;
|
|
510
521
|
bio?: string | undefined;
|
|
522
|
+
imageUrl?: string | undefined;
|
|
511
523
|
available?: number[][][] | undefined;
|
|
512
524
|
}>;
|
|
513
525
|
declare const zTeacher: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -539,6 +551,10 @@ declare const zTeacher: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
|
|
|
539
551
|
* Inactive teachers are not shown on public endpoints
|
|
540
552
|
*/
|
|
541
553
|
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
554
|
+
/**
|
|
555
|
+
* If true, teacher is never available for booking
|
|
556
|
+
*/
|
|
557
|
+
doesNotTeachPrivateLessons: z.ZodOptional<z.ZodBoolean>;
|
|
542
558
|
/**
|
|
543
559
|
* Teacher's position, e.g., instructor, president
|
|
544
560
|
*/
|
|
@@ -548,6 +564,10 @@ declare const zTeacher: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
|
|
|
548
564
|
* new lines will be rendered as paragraphs
|
|
549
565
|
*/
|
|
550
566
|
bio: z.ZodOptional<z.ZodString>;
|
|
567
|
+
/**
|
|
568
|
+
* Permanent URL of the image
|
|
569
|
+
*/
|
|
570
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
551
571
|
/** Format is illustrated below, where teacher is available
|
|
552
572
|
* Mon 9-12am 3-6pm & Tue 10-12am 6-10pm
|
|
553
573
|
* [
|
|
@@ -587,8 +607,10 @@ declare const zTeacher: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
|
|
|
587
607
|
birthDate?: string | undefined;
|
|
588
608
|
shouldChangePassword?: boolean | undefined;
|
|
589
609
|
isInactive?: boolean | undefined;
|
|
610
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
590
611
|
title?: string | undefined;
|
|
591
612
|
bio?: string | undefined;
|
|
613
|
+
imageUrl?: string | undefined;
|
|
592
614
|
available?: number[][][] | undefined;
|
|
593
615
|
}, {
|
|
594
616
|
rank: GoRank;
|
|
@@ -611,8 +633,10 @@ declare const zTeacher: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
|
|
|
611
633
|
birthDate?: string | undefined;
|
|
612
634
|
shouldChangePassword?: boolean | undefined;
|
|
613
635
|
isInactive?: boolean | undefined;
|
|
636
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
614
637
|
title?: string | undefined;
|
|
615
638
|
bio?: string | undefined;
|
|
639
|
+
imageUrl?: string | undefined;
|
|
616
640
|
available?: number[][][] | undefined;
|
|
617
641
|
}>;
|
|
618
642
|
declare const zTeacherResponse: z.ZodObject<z.objectUtil.extendShape<Omit<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -644,6 +668,10 @@ declare const zTeacherResponse: z.ZodObject<z.objectUtil.extendShape<Omit<z.obje
|
|
|
644
668
|
* Inactive teachers are not shown on public endpoints
|
|
645
669
|
*/
|
|
646
670
|
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
671
|
+
/**
|
|
672
|
+
* If true, teacher is never available for booking
|
|
673
|
+
*/
|
|
674
|
+
doesNotTeachPrivateLessons: z.ZodOptional<z.ZodBoolean>;
|
|
647
675
|
/**
|
|
648
676
|
* Teacher's position, e.g., instructor, president
|
|
649
677
|
*/
|
|
@@ -653,6 +681,10 @@ declare const zTeacherResponse: z.ZodObject<z.objectUtil.extendShape<Omit<z.obje
|
|
|
653
681
|
* new lines will be rendered as paragraphs
|
|
654
682
|
*/
|
|
655
683
|
bio: z.ZodOptional<z.ZodString>;
|
|
684
|
+
/**
|
|
685
|
+
* Permanent URL of the image
|
|
686
|
+
*/
|
|
687
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
656
688
|
/** Format is illustrated below, where teacher is available
|
|
657
689
|
* Mon 9-12am 3-6pm & Tue 10-12am 6-10pm
|
|
658
690
|
* [
|
|
@@ -686,8 +718,10 @@ declare const zTeacherResponse: z.ZodObject<z.objectUtil.extendShape<Omit<z.obje
|
|
|
686
718
|
birthDate?: string | undefined;
|
|
687
719
|
shouldChangePassword?: boolean | undefined;
|
|
688
720
|
isInactive?: boolean | undefined;
|
|
721
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
689
722
|
title?: string | undefined;
|
|
690
723
|
bio?: string | undefined;
|
|
724
|
+
imageUrl?: string | undefined;
|
|
691
725
|
available?: number[][][] | undefined;
|
|
692
726
|
}, {
|
|
693
727
|
rank: GoRank;
|
|
@@ -702,8 +736,10 @@ declare const zTeacherResponse: z.ZodObject<z.objectUtil.extendShape<Omit<z.obje
|
|
|
702
736
|
birthDate?: string | undefined;
|
|
703
737
|
shouldChangePassword?: boolean | undefined;
|
|
704
738
|
isInactive?: boolean | undefined;
|
|
739
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
705
740
|
title?: string | undefined;
|
|
706
741
|
bio?: string | undefined;
|
|
742
|
+
imageUrl?: string | undefined;
|
|
707
743
|
available?: number[][][] | undefined;
|
|
708
744
|
}>;
|
|
709
745
|
type BTeacher = z.infer<typeof zBTeacher>;
|
|
@@ -1702,8 +1738,10 @@ declare const zCampTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
1702
1738
|
}, {
|
|
1703
1739
|
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
1704
1740
|
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
1741
|
+
doesNotTeachPrivateLessons: z.ZodOptional<z.ZodBoolean>;
|
|
1705
1742
|
title: z.ZodOptional<z.ZodString>;
|
|
1706
1743
|
bio: z.ZodOptional<z.ZodString>;
|
|
1744
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
1707
1745
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
1708
1746
|
}>, {
|
|
1709
1747
|
_id: z.ZodString;
|
|
@@ -1731,8 +1769,10 @@ declare const zCampTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
1731
1769
|
birthDate?: string | undefined;
|
|
1732
1770
|
shouldChangePassword?: boolean | undefined;
|
|
1733
1771
|
isInactive?: boolean | undefined;
|
|
1772
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
1734
1773
|
title?: string | undefined;
|
|
1735
1774
|
bio?: string | undefined;
|
|
1775
|
+
imageUrl?: string | undefined;
|
|
1736
1776
|
available?: number[][][] | undefined;
|
|
1737
1777
|
}, {
|
|
1738
1778
|
rank: GoRank;
|
|
@@ -1755,8 +1795,10 @@ declare const zCampTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
1755
1795
|
birthDate?: string | undefined;
|
|
1756
1796
|
shouldChangePassword?: boolean | undefined;
|
|
1757
1797
|
isInactive?: boolean | undefined;
|
|
1798
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
1758
1799
|
title?: string | undefined;
|
|
1759
1800
|
bio?: string | undefined;
|
|
1801
|
+
imageUrl?: string | undefined;
|
|
1760
1802
|
available?: number[][][] | undefined;
|
|
1761
1803
|
}>;
|
|
1762
1804
|
semester: z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -2002,8 +2044,10 @@ declare const zCampTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
2002
2044
|
birthDate?: string | undefined;
|
|
2003
2045
|
shouldChangePassword?: boolean | undefined;
|
|
2004
2046
|
isInactive?: boolean | undefined;
|
|
2047
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
2005
2048
|
title?: string | undefined;
|
|
2006
2049
|
bio?: string | undefined;
|
|
2050
|
+
imageUrl?: string | undefined;
|
|
2007
2051
|
available?: number[][][] | undefined;
|
|
2008
2052
|
};
|
|
2009
2053
|
semester: {
|
|
@@ -2100,8 +2144,10 @@ declare const zCampTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
2100
2144
|
birthDate?: string | undefined;
|
|
2101
2145
|
shouldChangePassword?: boolean | undefined;
|
|
2102
2146
|
isInactive?: boolean | undefined;
|
|
2147
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
2103
2148
|
title?: string | undefined;
|
|
2104
2149
|
bio?: string | undefined;
|
|
2150
|
+
imageUrl?: string | undefined;
|
|
2105
2151
|
available?: number[][][] | undefined;
|
|
2106
2152
|
};
|
|
2107
2153
|
semester: {
|
|
@@ -2375,8 +2421,10 @@ declare const zClassTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
2375
2421
|
}, {
|
|
2376
2422
|
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
2377
2423
|
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
2424
|
+
doesNotTeachPrivateLessons: z.ZodOptional<z.ZodBoolean>;
|
|
2378
2425
|
title: z.ZodOptional<z.ZodString>;
|
|
2379
2426
|
bio: z.ZodOptional<z.ZodString>;
|
|
2427
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
2380
2428
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
2381
2429
|
}>, {
|
|
2382
2430
|
_id: z.ZodString;
|
|
@@ -2404,8 +2452,10 @@ declare const zClassTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
2404
2452
|
birthDate?: string | undefined;
|
|
2405
2453
|
shouldChangePassword?: boolean | undefined;
|
|
2406
2454
|
isInactive?: boolean | undefined;
|
|
2455
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
2407
2456
|
title?: string | undefined;
|
|
2408
2457
|
bio?: string | undefined;
|
|
2458
|
+
imageUrl?: string | undefined;
|
|
2409
2459
|
available?: number[][][] | undefined;
|
|
2410
2460
|
}, {
|
|
2411
2461
|
rank: GoRank;
|
|
@@ -2428,8 +2478,10 @@ declare const zClassTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
2428
2478
|
birthDate?: string | undefined;
|
|
2429
2479
|
shouldChangePassword?: boolean | undefined;
|
|
2430
2480
|
isInactive?: boolean | undefined;
|
|
2481
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
2431
2482
|
title?: string | undefined;
|
|
2432
2483
|
bio?: string | undefined;
|
|
2484
|
+
imageUrl?: string | undefined;
|
|
2433
2485
|
available?: number[][][] | undefined;
|
|
2434
2486
|
}>;
|
|
2435
2487
|
student: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -2567,8 +2619,10 @@ declare const zClassTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
2567
2619
|
birthDate?: string | undefined;
|
|
2568
2620
|
shouldChangePassword?: boolean | undefined;
|
|
2569
2621
|
isInactive?: boolean | undefined;
|
|
2622
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
2570
2623
|
title?: string | undefined;
|
|
2571
2624
|
bio?: string | undefined;
|
|
2625
|
+
imageUrl?: string | undefined;
|
|
2572
2626
|
available?: number[][][] | undefined;
|
|
2573
2627
|
};
|
|
2574
2628
|
classTimes: Date[];
|
|
@@ -2641,8 +2695,10 @@ declare const zClassTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
2641
2695
|
birthDate?: string | undefined;
|
|
2642
2696
|
shouldChangePassword?: boolean | undefined;
|
|
2643
2697
|
isInactive?: boolean | undefined;
|
|
2698
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
2644
2699
|
title?: string | undefined;
|
|
2645
2700
|
bio?: string | undefined;
|
|
2701
|
+
imageUrl?: string | undefined;
|
|
2646
2702
|
available?: number[][][] | undefined;
|
|
2647
2703
|
};
|
|
2648
2704
|
classTimes: Date[];
|
|
@@ -3222,8 +3278,10 @@ declare const zGroupTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
3222
3278
|
}, {
|
|
3223
3279
|
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
3224
3280
|
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
3281
|
+
doesNotTeachPrivateLessons: z.ZodOptional<z.ZodBoolean>;
|
|
3225
3282
|
title: z.ZodOptional<z.ZodString>;
|
|
3226
3283
|
bio: z.ZodOptional<z.ZodString>;
|
|
3284
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
3227
3285
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
3228
3286
|
}>, {
|
|
3229
3287
|
_id: z.ZodString;
|
|
@@ -3251,8 +3309,10 @@ declare const zGroupTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
3251
3309
|
birthDate?: string | undefined;
|
|
3252
3310
|
shouldChangePassword?: boolean | undefined;
|
|
3253
3311
|
isInactive?: boolean | undefined;
|
|
3312
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
3254
3313
|
title?: string | undefined;
|
|
3255
3314
|
bio?: string | undefined;
|
|
3315
|
+
imageUrl?: string | undefined;
|
|
3256
3316
|
available?: number[][][] | undefined;
|
|
3257
3317
|
}, {
|
|
3258
3318
|
rank: GoRank;
|
|
@@ -3275,8 +3335,10 @@ declare const zGroupTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
3275
3335
|
birthDate?: string | undefined;
|
|
3276
3336
|
shouldChangePassword?: boolean | undefined;
|
|
3277
3337
|
isInactive?: boolean | undefined;
|
|
3338
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
3278
3339
|
title?: string | undefined;
|
|
3279
3340
|
bio?: string | undefined;
|
|
3341
|
+
imageUrl?: string | undefined;
|
|
3280
3342
|
available?: number[][][] | undefined;
|
|
3281
3343
|
}>;
|
|
3282
3344
|
semester: z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -3522,8 +3584,10 @@ declare const zGroupTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
3522
3584
|
birthDate?: string | undefined;
|
|
3523
3585
|
shouldChangePassword?: boolean | undefined;
|
|
3524
3586
|
isInactive?: boolean | undefined;
|
|
3587
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
3525
3588
|
title?: string | undefined;
|
|
3526
3589
|
bio?: string | undefined;
|
|
3590
|
+
imageUrl?: string | undefined;
|
|
3527
3591
|
available?: number[][][] | undefined;
|
|
3528
3592
|
};
|
|
3529
3593
|
semester: {
|
|
@@ -3627,8 +3691,10 @@ declare const zGroupTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
3627
3691
|
birthDate?: string | undefined;
|
|
3628
3692
|
shouldChangePassword?: boolean | undefined;
|
|
3629
3693
|
isInactive?: boolean | undefined;
|
|
3694
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
3630
3695
|
title?: string | undefined;
|
|
3631
3696
|
bio?: string | undefined;
|
|
3697
|
+
imageUrl?: string | undefined;
|
|
3632
3698
|
available?: number[][][] | undefined;
|
|
3633
3699
|
};
|
|
3634
3700
|
semester: {
|
|
@@ -4622,8 +4688,10 @@ declare const zInvoiceResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
4622
4688
|
}, {
|
|
4623
4689
|
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
4624
4690
|
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
4691
|
+
doesNotTeachPrivateLessons: z.ZodOptional<z.ZodBoolean>;
|
|
4625
4692
|
title: z.ZodOptional<z.ZodString>;
|
|
4626
4693
|
bio: z.ZodOptional<z.ZodString>;
|
|
4694
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
4627
4695
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
4628
4696
|
}>, {
|
|
4629
4697
|
_id: z.ZodString;
|
|
@@ -4651,8 +4719,10 @@ declare const zInvoiceResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
4651
4719
|
birthDate?: string | undefined;
|
|
4652
4720
|
shouldChangePassword?: boolean | undefined;
|
|
4653
4721
|
isInactive?: boolean | undefined;
|
|
4722
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
4654
4723
|
title?: string | undefined;
|
|
4655
4724
|
bio?: string | undefined;
|
|
4725
|
+
imageUrl?: string | undefined;
|
|
4656
4726
|
available?: number[][][] | undefined;
|
|
4657
4727
|
}, {
|
|
4658
4728
|
rank: GoRank;
|
|
@@ -4675,8 +4745,10 @@ declare const zInvoiceResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
4675
4745
|
birthDate?: string | undefined;
|
|
4676
4746
|
shouldChangePassword?: boolean | undefined;
|
|
4677
4747
|
isInactive?: boolean | undefined;
|
|
4748
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
4678
4749
|
title?: string | undefined;
|
|
4679
4750
|
bio?: string | undefined;
|
|
4751
|
+
imageUrl?: string | undefined;
|
|
4680
4752
|
available?: number[][][] | undefined;
|
|
4681
4753
|
}>;
|
|
4682
4754
|
lastEditBy: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -4705,8 +4777,10 @@ declare const zInvoiceResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
4705
4777
|
}, {
|
|
4706
4778
|
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
4707
4779
|
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
4780
|
+
doesNotTeachPrivateLessons: z.ZodOptional<z.ZodBoolean>;
|
|
4708
4781
|
title: z.ZodOptional<z.ZodString>;
|
|
4709
4782
|
bio: z.ZodOptional<z.ZodString>;
|
|
4783
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
4710
4784
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
4711
4785
|
}>, {
|
|
4712
4786
|
_id: z.ZodString;
|
|
@@ -4734,8 +4808,10 @@ declare const zInvoiceResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
4734
4808
|
birthDate?: string | undefined;
|
|
4735
4809
|
shouldChangePassword?: boolean | undefined;
|
|
4736
4810
|
isInactive?: boolean | undefined;
|
|
4811
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
4737
4812
|
title?: string | undefined;
|
|
4738
4813
|
bio?: string | undefined;
|
|
4814
|
+
imageUrl?: string | undefined;
|
|
4739
4815
|
available?: number[][][] | undefined;
|
|
4740
4816
|
}, {
|
|
4741
4817
|
rank: GoRank;
|
|
@@ -4758,8 +4834,10 @@ declare const zInvoiceResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
4758
4834
|
birthDate?: string | undefined;
|
|
4759
4835
|
shouldChangePassword?: boolean | undefined;
|
|
4760
4836
|
isInactive?: boolean | undefined;
|
|
4837
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
4761
4838
|
title?: string | undefined;
|
|
4762
4839
|
bio?: string | undefined;
|
|
4840
|
+
imageUrl?: string | undefined;
|
|
4763
4841
|
available?: number[][][] | undefined;
|
|
4764
4842
|
}>>;
|
|
4765
4843
|
packages: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -4966,8 +5044,10 @@ declare const zInvoiceResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
4966
5044
|
birthDate?: string | undefined;
|
|
4967
5045
|
shouldChangePassword?: boolean | undefined;
|
|
4968
5046
|
isInactive?: boolean | undefined;
|
|
5047
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
4969
5048
|
title?: string | undefined;
|
|
4970
5049
|
bio?: string | undefined;
|
|
5050
|
+
imageUrl?: string | undefined;
|
|
4971
5051
|
available?: number[][][] | undefined;
|
|
4972
5052
|
};
|
|
4973
5053
|
notes?: string | undefined;
|
|
@@ -5000,8 +5080,10 @@ declare const zInvoiceResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
5000
5080
|
birthDate?: string | undefined;
|
|
5001
5081
|
shouldChangePassword?: boolean | undefined;
|
|
5002
5082
|
isInactive?: boolean | undefined;
|
|
5083
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
5003
5084
|
title?: string | undefined;
|
|
5004
5085
|
bio?: string | undefined;
|
|
5086
|
+
imageUrl?: string | undefined;
|
|
5005
5087
|
available?: number[][][] | undefined;
|
|
5006
5088
|
} | undefined;
|
|
5007
5089
|
}, {
|
|
@@ -5061,8 +5143,10 @@ declare const zInvoiceResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
5061
5143
|
birthDate?: string | undefined;
|
|
5062
5144
|
shouldChangePassword?: boolean | undefined;
|
|
5063
5145
|
isInactive?: boolean | undefined;
|
|
5146
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
5064
5147
|
title?: string | undefined;
|
|
5065
5148
|
bio?: string | undefined;
|
|
5149
|
+
imageUrl?: string | undefined;
|
|
5066
5150
|
available?: number[][][] | undefined;
|
|
5067
5151
|
};
|
|
5068
5152
|
notes?: string | undefined;
|
|
@@ -5095,8 +5179,10 @@ declare const zInvoiceResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
5095
5179
|
birthDate?: string | undefined;
|
|
5096
5180
|
shouldChangePassword?: boolean | undefined;
|
|
5097
5181
|
isInactive?: boolean | undefined;
|
|
5182
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
5098
5183
|
title?: string | undefined;
|
|
5099
5184
|
bio?: string | undefined;
|
|
5185
|
+
imageUrl?: string | undefined;
|
|
5100
5186
|
available?: number[][][] | undefined;
|
|
5101
5187
|
} | undefined;
|
|
5102
5188
|
}>;
|
|
@@ -5269,8 +5355,10 @@ declare const zTeacherPaymentResponse: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
5269
5355
|
}, {
|
|
5270
5356
|
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
5271
5357
|
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
5358
|
+
doesNotTeachPrivateLessons: z.ZodOptional<z.ZodBoolean>;
|
|
5272
5359
|
title: z.ZodOptional<z.ZodString>;
|
|
5273
5360
|
bio: z.ZodOptional<z.ZodString>;
|
|
5361
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
5274
5362
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
5275
5363
|
}>, {
|
|
5276
5364
|
_id: z.ZodString;
|
|
@@ -5298,8 +5386,10 @@ declare const zTeacherPaymentResponse: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
5298
5386
|
birthDate?: string | undefined;
|
|
5299
5387
|
shouldChangePassword?: boolean | undefined;
|
|
5300
5388
|
isInactive?: boolean | undefined;
|
|
5389
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
5301
5390
|
title?: string | undefined;
|
|
5302
5391
|
bio?: string | undefined;
|
|
5392
|
+
imageUrl?: string | undefined;
|
|
5303
5393
|
available?: number[][][] | undefined;
|
|
5304
5394
|
}, {
|
|
5305
5395
|
rank: GoRank;
|
|
@@ -5322,8 +5412,10 @@ declare const zTeacherPaymentResponse: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
5322
5412
|
birthDate?: string | undefined;
|
|
5323
5413
|
shouldChangePassword?: boolean | undefined;
|
|
5324
5414
|
isInactive?: boolean | undefined;
|
|
5415
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
5325
5416
|
title?: string | undefined;
|
|
5326
5417
|
bio?: string | undefined;
|
|
5418
|
+
imageUrl?: string | undefined;
|
|
5327
5419
|
available?: number[][][] | undefined;
|
|
5328
5420
|
}>;
|
|
5329
5421
|
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
@@ -5349,8 +5441,10 @@ declare const zTeacherPaymentResponse: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
5349
5441
|
birthDate?: string | undefined;
|
|
5350
5442
|
shouldChangePassword?: boolean | undefined;
|
|
5351
5443
|
isInactive?: boolean | undefined;
|
|
5444
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
5352
5445
|
title?: string | undefined;
|
|
5353
5446
|
bio?: string | undefined;
|
|
5447
|
+
imageUrl?: string | undefined;
|
|
5354
5448
|
available?: number[][][] | undefined;
|
|
5355
5449
|
};
|
|
5356
5450
|
rows: {
|
|
@@ -5386,8 +5480,10 @@ declare const zTeacherPaymentResponse: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
5386
5480
|
birthDate?: string | undefined;
|
|
5387
5481
|
shouldChangePassword?: boolean | undefined;
|
|
5388
5482
|
isInactive?: boolean | undefined;
|
|
5483
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
5389
5484
|
title?: string | undefined;
|
|
5390
5485
|
bio?: string | undefined;
|
|
5486
|
+
imageUrl?: string | undefined;
|
|
5391
5487
|
available?: number[][][] | undefined;
|
|
5392
5488
|
};
|
|
5393
5489
|
rows: {
|
package/index.js
CHANGED
|
@@ -308,6 +308,10 @@ var zBTeacher = zBUser.extend({
|
|
|
308
308
|
* Inactive teachers are not shown on public endpoints
|
|
309
309
|
*/
|
|
310
310
|
isInactive: import_zod8.z.boolean().optional(),
|
|
311
|
+
/**
|
|
312
|
+
* If true, teacher is never available for booking
|
|
313
|
+
*/
|
|
314
|
+
doesNotTeachPrivateLessons: import_zod8.z.boolean().optional(),
|
|
311
315
|
/**
|
|
312
316
|
* Teacher's position, e.g., instructor, president
|
|
313
317
|
*/
|
|
@@ -317,6 +321,10 @@ var zBTeacher = zBUser.extend({
|
|
|
317
321
|
* new lines will be rendered as paragraphs
|
|
318
322
|
*/
|
|
319
323
|
bio: import_zod8.z.string().optional(),
|
|
324
|
+
/**
|
|
325
|
+
* Permanent URL of the image
|
|
326
|
+
*/
|
|
327
|
+
imageUrl: import_zod8.z.string().optional(),
|
|
320
328
|
/** Format is illustrated below, where teacher is available
|
|
321
329
|
* Mon 9-12am 3-6pm & Tue 10-12am 6-10pm
|
|
322
330
|
* [
|
package/index.mjs
CHANGED
|
@@ -201,6 +201,10 @@ var zBTeacher = zBUser.extend({
|
|
|
201
201
|
* Inactive teachers are not shown on public endpoints
|
|
202
202
|
*/
|
|
203
203
|
isInactive: z8.boolean().optional(),
|
|
204
|
+
/**
|
|
205
|
+
* If true, teacher is never available for booking
|
|
206
|
+
*/
|
|
207
|
+
doesNotTeachPrivateLessons: z8.boolean().optional(),
|
|
204
208
|
/**
|
|
205
209
|
* Teacher's position, e.g., instructor, president
|
|
206
210
|
*/
|
|
@@ -210,6 +214,10 @@ var zBTeacher = zBUser.extend({
|
|
|
210
214
|
* new lines will be rendered as paragraphs
|
|
211
215
|
*/
|
|
212
216
|
bio: z8.string().optional(),
|
|
217
|
+
/**
|
|
218
|
+
* Permanent URL of the image
|
|
219
|
+
*/
|
|
220
|
+
imageUrl: z8.string().optional(),
|
|
213
221
|
/** Format is illustrated below, where teacher is available
|
|
214
222
|
* Mon 9-12am 3-6pm & Tue 10-12am 6-10pm
|
|
215
223
|
* [
|