@nyig/models 0.4.10 → 0.4.12
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 +61 -1
- package/index.d.ts +61 -1
- package/index.js +4 -0
- package/index.mjs +4 -0
- package/package.json +1 -1
package/index.d.mts
CHANGED
|
@@ -460,6 +460,10 @@ declare const zBTeacher: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
460
460
|
* new lines will be rendered as paragraphs
|
|
461
461
|
*/
|
|
462
462
|
bio: z.ZodOptional<z.ZodString>;
|
|
463
|
+
/**
|
|
464
|
+
* Permanent URL of the image
|
|
465
|
+
*/
|
|
466
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
463
467
|
/** Format is illustrated below, where teacher is available
|
|
464
468
|
* Mon 9-12am 3-6pm & Tue 10-12am 6-10pm
|
|
465
469
|
* [
|
|
@@ -493,6 +497,7 @@ declare const zBTeacher: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
493
497
|
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
494
498
|
title?: string | undefined;
|
|
495
499
|
bio?: string | undefined;
|
|
500
|
+
imageUrl?: string | undefined;
|
|
496
501
|
available?: number[][][] | undefined;
|
|
497
502
|
}, {
|
|
498
503
|
rank: GoRank;
|
|
@@ -514,6 +519,7 @@ declare const zBTeacher: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
514
519
|
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
515
520
|
title?: string | undefined;
|
|
516
521
|
bio?: string | undefined;
|
|
522
|
+
imageUrl?: string | undefined;
|
|
517
523
|
available?: number[][][] | undefined;
|
|
518
524
|
}>;
|
|
519
525
|
declare const zTeacher: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -558,6 +564,10 @@ declare const zTeacher: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
|
|
|
558
564
|
* new lines will be rendered as paragraphs
|
|
559
565
|
*/
|
|
560
566
|
bio: z.ZodOptional<z.ZodString>;
|
|
567
|
+
/**
|
|
568
|
+
* Permanent URL of the image
|
|
569
|
+
*/
|
|
570
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
561
571
|
/** Format is illustrated below, where teacher is available
|
|
562
572
|
* Mon 9-12am 3-6pm & Tue 10-12am 6-10pm
|
|
563
573
|
* [
|
|
@@ -600,6 +610,7 @@ declare const zTeacher: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
|
|
|
600
610
|
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
601
611
|
title?: string | undefined;
|
|
602
612
|
bio?: string | undefined;
|
|
613
|
+
imageUrl?: string | undefined;
|
|
603
614
|
available?: number[][][] | undefined;
|
|
604
615
|
}, {
|
|
605
616
|
rank: GoRank;
|
|
@@ -625,6 +636,7 @@ declare const zTeacher: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
|
|
|
625
636
|
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
626
637
|
title?: string | undefined;
|
|
627
638
|
bio?: string | undefined;
|
|
639
|
+
imageUrl?: string | undefined;
|
|
628
640
|
available?: number[][][] | undefined;
|
|
629
641
|
}>;
|
|
630
642
|
declare const zTeacherResponse: z.ZodObject<z.objectUtil.extendShape<Omit<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -669,6 +681,10 @@ declare const zTeacherResponse: z.ZodObject<z.objectUtil.extendShape<Omit<z.obje
|
|
|
669
681
|
* new lines will be rendered as paragraphs
|
|
670
682
|
*/
|
|
671
683
|
bio: z.ZodOptional<z.ZodString>;
|
|
684
|
+
/**
|
|
685
|
+
* Permanent URL of the image
|
|
686
|
+
*/
|
|
687
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
672
688
|
/** Format is illustrated below, where teacher is available
|
|
673
689
|
* Mon 9-12am 3-6pm & Tue 10-12am 6-10pm
|
|
674
690
|
* [
|
|
@@ -705,6 +721,7 @@ declare const zTeacherResponse: z.ZodObject<z.objectUtil.extendShape<Omit<z.obje
|
|
|
705
721
|
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
706
722
|
title?: string | undefined;
|
|
707
723
|
bio?: string | undefined;
|
|
724
|
+
imageUrl?: string | undefined;
|
|
708
725
|
available?: number[][][] | undefined;
|
|
709
726
|
}, {
|
|
710
727
|
rank: GoRank;
|
|
@@ -722,6 +739,7 @@ declare const zTeacherResponse: z.ZodObject<z.objectUtil.extendShape<Omit<z.obje
|
|
|
722
739
|
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
723
740
|
title?: string | undefined;
|
|
724
741
|
bio?: string | undefined;
|
|
742
|
+
imageUrl?: string | undefined;
|
|
725
743
|
available?: number[][][] | undefined;
|
|
726
744
|
}>;
|
|
727
745
|
type BTeacher = z.infer<typeof zBTeacher>;
|
|
@@ -1723,6 +1741,7 @@ declare const zCampTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
1723
1741
|
doesNotTeachPrivateLessons: z.ZodOptional<z.ZodBoolean>;
|
|
1724
1742
|
title: z.ZodOptional<z.ZodString>;
|
|
1725
1743
|
bio: z.ZodOptional<z.ZodString>;
|
|
1744
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
1726
1745
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
1727
1746
|
}>, {
|
|
1728
1747
|
_id: z.ZodString;
|
|
@@ -1753,6 +1772,7 @@ declare const zCampTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
1753
1772
|
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
1754
1773
|
title?: string | undefined;
|
|
1755
1774
|
bio?: string | undefined;
|
|
1775
|
+
imageUrl?: string | undefined;
|
|
1756
1776
|
available?: number[][][] | undefined;
|
|
1757
1777
|
}, {
|
|
1758
1778
|
rank: GoRank;
|
|
@@ -1778,6 +1798,7 @@ declare const zCampTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
1778
1798
|
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
1779
1799
|
title?: string | undefined;
|
|
1780
1800
|
bio?: string | undefined;
|
|
1801
|
+
imageUrl?: string | undefined;
|
|
1781
1802
|
available?: number[][][] | undefined;
|
|
1782
1803
|
}>;
|
|
1783
1804
|
semester: z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -2026,6 +2047,7 @@ declare const zCampTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
2026
2047
|
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
2027
2048
|
title?: string | undefined;
|
|
2028
2049
|
bio?: string | undefined;
|
|
2050
|
+
imageUrl?: string | undefined;
|
|
2029
2051
|
available?: number[][][] | undefined;
|
|
2030
2052
|
};
|
|
2031
2053
|
semester: {
|
|
@@ -2125,6 +2147,7 @@ declare const zCampTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
2125
2147
|
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
2126
2148
|
title?: string | undefined;
|
|
2127
2149
|
bio?: string | undefined;
|
|
2150
|
+
imageUrl?: string | undefined;
|
|
2128
2151
|
available?: number[][][] | undefined;
|
|
2129
2152
|
};
|
|
2130
2153
|
semester: {
|
|
@@ -2401,6 +2424,7 @@ declare const zClassTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
2401
2424
|
doesNotTeachPrivateLessons: z.ZodOptional<z.ZodBoolean>;
|
|
2402
2425
|
title: z.ZodOptional<z.ZodString>;
|
|
2403
2426
|
bio: z.ZodOptional<z.ZodString>;
|
|
2427
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
2404
2428
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
2405
2429
|
}>, {
|
|
2406
2430
|
_id: z.ZodString;
|
|
@@ -2431,6 +2455,7 @@ declare const zClassTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
2431
2455
|
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
2432
2456
|
title?: string | undefined;
|
|
2433
2457
|
bio?: string | undefined;
|
|
2458
|
+
imageUrl?: string | undefined;
|
|
2434
2459
|
available?: number[][][] | undefined;
|
|
2435
2460
|
}, {
|
|
2436
2461
|
rank: GoRank;
|
|
@@ -2456,6 +2481,7 @@ declare const zClassTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
2456
2481
|
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
2457
2482
|
title?: string | undefined;
|
|
2458
2483
|
bio?: string | undefined;
|
|
2484
|
+
imageUrl?: string | undefined;
|
|
2459
2485
|
available?: number[][][] | undefined;
|
|
2460
2486
|
}>;
|
|
2461
2487
|
student: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -2596,6 +2622,7 @@ declare const zClassTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
2596
2622
|
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
2597
2623
|
title?: string | undefined;
|
|
2598
2624
|
bio?: string | undefined;
|
|
2625
|
+
imageUrl?: string | undefined;
|
|
2599
2626
|
available?: number[][][] | undefined;
|
|
2600
2627
|
};
|
|
2601
2628
|
classTimes: Date[];
|
|
@@ -2671,6 +2698,7 @@ declare const zClassTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
2671
2698
|
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
2672
2699
|
title?: string | undefined;
|
|
2673
2700
|
bio?: string | undefined;
|
|
2701
|
+
imageUrl?: string | undefined;
|
|
2674
2702
|
available?: number[][][] | undefined;
|
|
2675
2703
|
};
|
|
2676
2704
|
classTimes: Date[];
|
|
@@ -3253,6 +3281,7 @@ declare const zGroupTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
3253
3281
|
doesNotTeachPrivateLessons: z.ZodOptional<z.ZodBoolean>;
|
|
3254
3282
|
title: z.ZodOptional<z.ZodString>;
|
|
3255
3283
|
bio: z.ZodOptional<z.ZodString>;
|
|
3284
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
3256
3285
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
3257
3286
|
}>, {
|
|
3258
3287
|
_id: z.ZodString;
|
|
@@ -3283,6 +3312,7 @@ declare const zGroupTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
3283
3312
|
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
3284
3313
|
title?: string | undefined;
|
|
3285
3314
|
bio?: string | undefined;
|
|
3315
|
+
imageUrl?: string | undefined;
|
|
3286
3316
|
available?: number[][][] | undefined;
|
|
3287
3317
|
}, {
|
|
3288
3318
|
rank: GoRank;
|
|
@@ -3308,6 +3338,7 @@ declare const zGroupTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
3308
3338
|
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
3309
3339
|
title?: string | undefined;
|
|
3310
3340
|
bio?: string | undefined;
|
|
3341
|
+
imageUrl?: string | undefined;
|
|
3311
3342
|
available?: number[][][] | undefined;
|
|
3312
3343
|
}>;
|
|
3313
3344
|
semester: z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -3556,6 +3587,7 @@ declare const zGroupTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
3556
3587
|
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
3557
3588
|
title?: string | undefined;
|
|
3558
3589
|
bio?: string | undefined;
|
|
3590
|
+
imageUrl?: string | undefined;
|
|
3559
3591
|
available?: number[][][] | undefined;
|
|
3560
3592
|
};
|
|
3561
3593
|
semester: {
|
|
@@ -3662,6 +3694,7 @@ declare const zGroupTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
3662
3694
|
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
3663
3695
|
title?: string | undefined;
|
|
3664
3696
|
bio?: string | undefined;
|
|
3697
|
+
imageUrl?: string | undefined;
|
|
3665
3698
|
available?: number[][][] | undefined;
|
|
3666
3699
|
};
|
|
3667
3700
|
semester: {
|
|
@@ -4658,6 +4691,7 @@ declare const zInvoiceResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
4658
4691
|
doesNotTeachPrivateLessons: z.ZodOptional<z.ZodBoolean>;
|
|
4659
4692
|
title: z.ZodOptional<z.ZodString>;
|
|
4660
4693
|
bio: z.ZodOptional<z.ZodString>;
|
|
4694
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
4661
4695
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
4662
4696
|
}>, {
|
|
4663
4697
|
_id: z.ZodString;
|
|
@@ -4688,6 +4722,7 @@ declare const zInvoiceResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
4688
4722
|
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
4689
4723
|
title?: string | undefined;
|
|
4690
4724
|
bio?: string | undefined;
|
|
4725
|
+
imageUrl?: string | undefined;
|
|
4691
4726
|
available?: number[][][] | undefined;
|
|
4692
4727
|
}, {
|
|
4693
4728
|
rank: GoRank;
|
|
@@ -4713,6 +4748,7 @@ declare const zInvoiceResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
4713
4748
|
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
4714
4749
|
title?: string | undefined;
|
|
4715
4750
|
bio?: string | undefined;
|
|
4751
|
+
imageUrl?: string | undefined;
|
|
4716
4752
|
available?: number[][][] | undefined;
|
|
4717
4753
|
}>;
|
|
4718
4754
|
lastEditBy: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -4744,6 +4780,7 @@ declare const zInvoiceResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
4744
4780
|
doesNotTeachPrivateLessons: z.ZodOptional<z.ZodBoolean>;
|
|
4745
4781
|
title: z.ZodOptional<z.ZodString>;
|
|
4746
4782
|
bio: z.ZodOptional<z.ZodString>;
|
|
4783
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
4747
4784
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
4748
4785
|
}>, {
|
|
4749
4786
|
_id: z.ZodString;
|
|
@@ -4774,6 +4811,7 @@ declare const zInvoiceResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
4774
4811
|
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
4775
4812
|
title?: string | undefined;
|
|
4776
4813
|
bio?: string | undefined;
|
|
4814
|
+
imageUrl?: string | undefined;
|
|
4777
4815
|
available?: number[][][] | undefined;
|
|
4778
4816
|
}, {
|
|
4779
4817
|
rank: GoRank;
|
|
@@ -4799,6 +4837,7 @@ declare const zInvoiceResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
4799
4837
|
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
4800
4838
|
title?: string | undefined;
|
|
4801
4839
|
bio?: string | undefined;
|
|
4840
|
+
imageUrl?: string | undefined;
|
|
4802
4841
|
available?: number[][][] | undefined;
|
|
4803
4842
|
}>>;
|
|
4804
4843
|
packages: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -5008,6 +5047,7 @@ declare const zInvoiceResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
5008
5047
|
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
5009
5048
|
title?: string | undefined;
|
|
5010
5049
|
bio?: string | undefined;
|
|
5050
|
+
imageUrl?: string | undefined;
|
|
5011
5051
|
available?: number[][][] | undefined;
|
|
5012
5052
|
};
|
|
5013
5053
|
notes?: string | undefined;
|
|
@@ -5043,6 +5083,7 @@ declare const zInvoiceResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
5043
5083
|
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
5044
5084
|
title?: string | undefined;
|
|
5045
5085
|
bio?: string | undefined;
|
|
5086
|
+
imageUrl?: string | undefined;
|
|
5046
5087
|
available?: number[][][] | undefined;
|
|
5047
5088
|
} | undefined;
|
|
5048
5089
|
}, {
|
|
@@ -5105,6 +5146,7 @@ declare const zInvoiceResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
5105
5146
|
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
5106
5147
|
title?: string | undefined;
|
|
5107
5148
|
bio?: string | undefined;
|
|
5149
|
+
imageUrl?: string | undefined;
|
|
5108
5150
|
available?: number[][][] | undefined;
|
|
5109
5151
|
};
|
|
5110
5152
|
notes?: string | undefined;
|
|
@@ -5140,6 +5182,7 @@ declare const zInvoiceResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
5140
5182
|
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
5141
5183
|
title?: string | undefined;
|
|
5142
5184
|
bio?: string | undefined;
|
|
5185
|
+
imageUrl?: string | undefined;
|
|
5143
5186
|
available?: number[][][] | undefined;
|
|
5144
5187
|
} | undefined;
|
|
5145
5188
|
}>;
|
|
@@ -5315,6 +5358,7 @@ declare const zTeacherPaymentResponse: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
5315
5358
|
doesNotTeachPrivateLessons: z.ZodOptional<z.ZodBoolean>;
|
|
5316
5359
|
title: z.ZodOptional<z.ZodString>;
|
|
5317
5360
|
bio: z.ZodOptional<z.ZodString>;
|
|
5361
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
5318
5362
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
5319
5363
|
}>, {
|
|
5320
5364
|
_id: z.ZodString;
|
|
@@ -5345,6 +5389,7 @@ declare const zTeacherPaymentResponse: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
5345
5389
|
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
5346
5390
|
title?: string | undefined;
|
|
5347
5391
|
bio?: string | undefined;
|
|
5392
|
+
imageUrl?: string | undefined;
|
|
5348
5393
|
available?: number[][][] | undefined;
|
|
5349
5394
|
}, {
|
|
5350
5395
|
rank: GoRank;
|
|
@@ -5370,6 +5415,7 @@ declare const zTeacherPaymentResponse: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
5370
5415
|
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
5371
5416
|
title?: string | undefined;
|
|
5372
5417
|
bio?: string | undefined;
|
|
5418
|
+
imageUrl?: string | undefined;
|
|
5373
5419
|
available?: number[][][] | undefined;
|
|
5374
5420
|
}>;
|
|
5375
5421
|
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
@@ -5398,6 +5444,7 @@ declare const zTeacherPaymentResponse: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
5398
5444
|
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
5399
5445
|
title?: string | undefined;
|
|
5400
5446
|
bio?: string | undefined;
|
|
5447
|
+
imageUrl?: string | undefined;
|
|
5401
5448
|
available?: number[][][] | undefined;
|
|
5402
5449
|
};
|
|
5403
5450
|
rows: {
|
|
@@ -5436,6 +5483,7 @@ declare const zTeacherPaymentResponse: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
5436
5483
|
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
5437
5484
|
title?: string | undefined;
|
|
5438
5485
|
bio?: string | undefined;
|
|
5486
|
+
imageUrl?: string | undefined;
|
|
5439
5487
|
available?: number[][][] | undefined;
|
|
5440
5488
|
};
|
|
5441
5489
|
rows: {
|
|
@@ -6361,6 +6409,18 @@ declare const zEventConfigResponse: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
6361
6409
|
type BEventConfig = z.infer<typeof zBEventConfig>;
|
|
6362
6410
|
type EventConfig = z.infer<typeof zEventConfig>;
|
|
6363
6411
|
type EventConfigResponse = z.infer<typeof zEventConfigResponse>;
|
|
6412
|
+
/**
|
|
6413
|
+
* For public endpoints
|
|
6414
|
+
*/
|
|
6415
|
+
interface PublicEventConfigResponse extends EventConfigResponse {
|
|
6416
|
+
registrationStats: {
|
|
6417
|
+
totalConfirmed: number;
|
|
6418
|
+
whoIsComing: {
|
|
6419
|
+
name: string;
|
|
6420
|
+
rank: string;
|
|
6421
|
+
}[];
|
|
6422
|
+
};
|
|
6423
|
+
}
|
|
6364
6424
|
|
|
6365
6425
|
declare const zDetailsTable: z.ZodObject<{
|
|
6366
6426
|
fields: z.ZodArray<z.ZodString, "many">;
|
|
@@ -6935,4 +6995,4 @@ declare const zEventTicket: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
6935
6995
|
type BEventTicket = z.infer<typeof zBEventTicket>;
|
|
6936
6996
|
type EventTicket = z.infer<typeof zEventTicket>;
|
|
6937
6997
|
|
|
6938
|
-
export { AgeGroup, AttendState, type Attendance, type AttendanceRequest, 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 CampTrackerResponse, type ChangePasswordRequest, type ClassTimesInput, type ClassTracker, type ClassTrackerResponse, type Course, CourseCategory, type CourseTable, type CreateAdminAccountRequest, DayOfWeek, type DetailsTable, type Discount, type EventConfig, type EventConfigResponse, type EventReg, type EventRegResponse, type EventTicket, type EventTicketReg, type EventTicketRegResponse, GoRank, type GroupBooking, type GroupTracker, type GroupTrackerResponse, HearAboutUs, type ImageDef, type Invoice, type InvoiceItem, type InvoicePackage, type InvoicePackageResponse, type InvoiceResponse, type LoginRequest, type LoginResponse, type NYIGMission, NYIGSchool, type PaymentIntent, PaymentMethod, type PrivateBooking, type ReportTicket, type ReportTicketResponse, Role, type ScheduleData, type ScheduleTable, Season, type Semester, type Student, type Teacher, type TeacherDisplay, type TeacherPayment, type TeacherPaymentResponse, type TeacherPaymentRow, type TeacherResponse, TicketStatus, type TrackerCreate, type Tuition, type User, type UserRoles, zAttendance, zAttendanceRequest, zAttendanceResponse, zBAttendance, zBCampBooking, zBCampTracker, zBClassTracker, zBCourse, zBEventConfig, zBEventReg, zBEventTicket, zBGroupBooking, zBGroupTracker, zBInvoice, zBPaymentInfo, zBPrivateBooking, zBReportTicket, zBSemester, zBStudent, zBTeacher, zBTeacherPayment, zBUser, zBUserInfo, zCampBooking, zCampTracker, zCampTrackerResponse, zChangePasswordRequest, zClassTracker, zClassTrackerResponse, zCourse, zCourseTable, zCreateAdminAccountRequest, zDayOfWeek, zDetailsTable, zDiscount, zEventConfig, zEventConfigResponse, zEventReg, zEventRegResponse, zEventTicket, zEventTicketReg, zEventTicketRegResponse, zGroupBooking, zGroupTracker, zGroupTrackerResponse, zImageDef, zInvoice, zInvoiceItem, zInvoicePackage, zInvoicePackageResponse, zInvoiceResponse, zLoginRequest, zLoginResponse, zPrivateBooking, zReportTicket, zReportTicketResponse, zScheduleData, zScheduleTable, zSemester, zStudent, zTeacher, zTeacherDisplay, zTeacherPayment, zTeacherPaymentResponse, zTeacherPaymentRow, zTrackerCreate, zTuition, zUser, zUserRoles };
|
|
6998
|
+
export { AgeGroup, AttendState, type Attendance, type AttendanceRequest, 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 CampTrackerResponse, type ChangePasswordRequest, type ClassTimesInput, type ClassTracker, type ClassTrackerResponse, type Course, CourseCategory, type CourseTable, type CreateAdminAccountRequest, DayOfWeek, type DetailsTable, type Discount, type EventConfig, type EventConfigResponse, type EventReg, type EventRegResponse, type EventTicket, type EventTicketReg, type EventTicketRegResponse, GoRank, type GroupBooking, type GroupTracker, type GroupTrackerResponse, HearAboutUs, type ImageDef, type Invoice, type InvoiceItem, type InvoicePackage, type InvoicePackageResponse, type InvoiceResponse, type LoginRequest, type LoginResponse, type NYIGMission, NYIGSchool, type PaymentIntent, PaymentMethod, type PrivateBooking, type PublicEventConfigResponse, type ReportTicket, type ReportTicketResponse, Role, type ScheduleData, type ScheduleTable, Season, type Semester, type Student, type Teacher, type TeacherDisplay, type TeacherPayment, type TeacherPaymentResponse, type TeacherPaymentRow, type TeacherResponse, TicketStatus, type TrackerCreate, type Tuition, type User, type UserRoles, zAttendance, zAttendanceRequest, zAttendanceResponse, zBAttendance, zBCampBooking, zBCampTracker, zBClassTracker, zBCourse, zBEventConfig, zBEventReg, zBEventTicket, zBGroupBooking, zBGroupTracker, zBInvoice, zBPaymentInfo, zBPrivateBooking, zBReportTicket, zBSemester, zBStudent, zBTeacher, zBTeacherPayment, zBUser, zBUserInfo, zCampBooking, zCampTracker, zCampTrackerResponse, zChangePasswordRequest, zClassTracker, zClassTrackerResponse, zCourse, zCourseTable, zCreateAdminAccountRequest, zDayOfWeek, zDetailsTable, zDiscount, zEventConfig, zEventConfigResponse, zEventReg, zEventRegResponse, zEventTicket, zEventTicketReg, zEventTicketRegResponse, zGroupBooking, zGroupTracker, zGroupTrackerResponse, zImageDef, zInvoice, zInvoiceItem, zInvoicePackage, zInvoicePackageResponse, zInvoiceResponse, zLoginRequest, zLoginResponse, zPrivateBooking, zReportTicket, zReportTicketResponse, zScheduleData, zScheduleTable, zSemester, zStudent, zTeacher, zTeacherDisplay, zTeacherPayment, zTeacherPaymentResponse, zTeacherPaymentRow, zTrackerCreate, zTuition, zUser, zUserRoles };
|
package/index.d.ts
CHANGED
|
@@ -460,6 +460,10 @@ declare const zBTeacher: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
460
460
|
* new lines will be rendered as paragraphs
|
|
461
461
|
*/
|
|
462
462
|
bio: z.ZodOptional<z.ZodString>;
|
|
463
|
+
/**
|
|
464
|
+
* Permanent URL of the image
|
|
465
|
+
*/
|
|
466
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
463
467
|
/** Format is illustrated below, where teacher is available
|
|
464
468
|
* Mon 9-12am 3-6pm & Tue 10-12am 6-10pm
|
|
465
469
|
* [
|
|
@@ -493,6 +497,7 @@ declare const zBTeacher: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
493
497
|
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
494
498
|
title?: string | undefined;
|
|
495
499
|
bio?: string | undefined;
|
|
500
|
+
imageUrl?: string | undefined;
|
|
496
501
|
available?: number[][][] | undefined;
|
|
497
502
|
}, {
|
|
498
503
|
rank: GoRank;
|
|
@@ -514,6 +519,7 @@ declare const zBTeacher: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
514
519
|
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
515
520
|
title?: string | undefined;
|
|
516
521
|
bio?: string | undefined;
|
|
522
|
+
imageUrl?: string | undefined;
|
|
517
523
|
available?: number[][][] | undefined;
|
|
518
524
|
}>;
|
|
519
525
|
declare const zTeacher: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -558,6 +564,10 @@ declare const zTeacher: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
|
|
|
558
564
|
* new lines will be rendered as paragraphs
|
|
559
565
|
*/
|
|
560
566
|
bio: z.ZodOptional<z.ZodString>;
|
|
567
|
+
/**
|
|
568
|
+
* Permanent URL of the image
|
|
569
|
+
*/
|
|
570
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
561
571
|
/** Format is illustrated below, where teacher is available
|
|
562
572
|
* Mon 9-12am 3-6pm & Tue 10-12am 6-10pm
|
|
563
573
|
* [
|
|
@@ -600,6 +610,7 @@ declare const zTeacher: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
|
|
|
600
610
|
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
601
611
|
title?: string | undefined;
|
|
602
612
|
bio?: string | undefined;
|
|
613
|
+
imageUrl?: string | undefined;
|
|
603
614
|
available?: number[][][] | undefined;
|
|
604
615
|
}, {
|
|
605
616
|
rank: GoRank;
|
|
@@ -625,6 +636,7 @@ declare const zTeacher: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
|
|
|
625
636
|
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
626
637
|
title?: string | undefined;
|
|
627
638
|
bio?: string | undefined;
|
|
639
|
+
imageUrl?: string | undefined;
|
|
628
640
|
available?: number[][][] | undefined;
|
|
629
641
|
}>;
|
|
630
642
|
declare const zTeacherResponse: z.ZodObject<z.objectUtil.extendShape<Omit<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -669,6 +681,10 @@ declare const zTeacherResponse: z.ZodObject<z.objectUtil.extendShape<Omit<z.obje
|
|
|
669
681
|
* new lines will be rendered as paragraphs
|
|
670
682
|
*/
|
|
671
683
|
bio: z.ZodOptional<z.ZodString>;
|
|
684
|
+
/**
|
|
685
|
+
* Permanent URL of the image
|
|
686
|
+
*/
|
|
687
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
672
688
|
/** Format is illustrated below, where teacher is available
|
|
673
689
|
* Mon 9-12am 3-6pm & Tue 10-12am 6-10pm
|
|
674
690
|
* [
|
|
@@ -705,6 +721,7 @@ declare const zTeacherResponse: z.ZodObject<z.objectUtil.extendShape<Omit<z.obje
|
|
|
705
721
|
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
706
722
|
title?: string | undefined;
|
|
707
723
|
bio?: string | undefined;
|
|
724
|
+
imageUrl?: string | undefined;
|
|
708
725
|
available?: number[][][] | undefined;
|
|
709
726
|
}, {
|
|
710
727
|
rank: GoRank;
|
|
@@ -722,6 +739,7 @@ declare const zTeacherResponse: z.ZodObject<z.objectUtil.extendShape<Omit<z.obje
|
|
|
722
739
|
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
723
740
|
title?: string | undefined;
|
|
724
741
|
bio?: string | undefined;
|
|
742
|
+
imageUrl?: string | undefined;
|
|
725
743
|
available?: number[][][] | undefined;
|
|
726
744
|
}>;
|
|
727
745
|
type BTeacher = z.infer<typeof zBTeacher>;
|
|
@@ -1723,6 +1741,7 @@ declare const zCampTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
1723
1741
|
doesNotTeachPrivateLessons: z.ZodOptional<z.ZodBoolean>;
|
|
1724
1742
|
title: z.ZodOptional<z.ZodString>;
|
|
1725
1743
|
bio: z.ZodOptional<z.ZodString>;
|
|
1744
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
1726
1745
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
1727
1746
|
}>, {
|
|
1728
1747
|
_id: z.ZodString;
|
|
@@ -1753,6 +1772,7 @@ declare const zCampTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
1753
1772
|
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
1754
1773
|
title?: string | undefined;
|
|
1755
1774
|
bio?: string | undefined;
|
|
1775
|
+
imageUrl?: string | undefined;
|
|
1756
1776
|
available?: number[][][] | undefined;
|
|
1757
1777
|
}, {
|
|
1758
1778
|
rank: GoRank;
|
|
@@ -1778,6 +1798,7 @@ declare const zCampTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
1778
1798
|
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
1779
1799
|
title?: string | undefined;
|
|
1780
1800
|
bio?: string | undefined;
|
|
1801
|
+
imageUrl?: string | undefined;
|
|
1781
1802
|
available?: number[][][] | undefined;
|
|
1782
1803
|
}>;
|
|
1783
1804
|
semester: z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -2026,6 +2047,7 @@ declare const zCampTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
2026
2047
|
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
2027
2048
|
title?: string | undefined;
|
|
2028
2049
|
bio?: string | undefined;
|
|
2050
|
+
imageUrl?: string | undefined;
|
|
2029
2051
|
available?: number[][][] | undefined;
|
|
2030
2052
|
};
|
|
2031
2053
|
semester: {
|
|
@@ -2125,6 +2147,7 @@ declare const zCampTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
2125
2147
|
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
2126
2148
|
title?: string | undefined;
|
|
2127
2149
|
bio?: string | undefined;
|
|
2150
|
+
imageUrl?: string | undefined;
|
|
2128
2151
|
available?: number[][][] | undefined;
|
|
2129
2152
|
};
|
|
2130
2153
|
semester: {
|
|
@@ -2401,6 +2424,7 @@ declare const zClassTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
2401
2424
|
doesNotTeachPrivateLessons: z.ZodOptional<z.ZodBoolean>;
|
|
2402
2425
|
title: z.ZodOptional<z.ZodString>;
|
|
2403
2426
|
bio: z.ZodOptional<z.ZodString>;
|
|
2427
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
2404
2428
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
2405
2429
|
}>, {
|
|
2406
2430
|
_id: z.ZodString;
|
|
@@ -2431,6 +2455,7 @@ declare const zClassTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
2431
2455
|
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
2432
2456
|
title?: string | undefined;
|
|
2433
2457
|
bio?: string | undefined;
|
|
2458
|
+
imageUrl?: string | undefined;
|
|
2434
2459
|
available?: number[][][] | undefined;
|
|
2435
2460
|
}, {
|
|
2436
2461
|
rank: GoRank;
|
|
@@ -2456,6 +2481,7 @@ declare const zClassTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
2456
2481
|
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
2457
2482
|
title?: string | undefined;
|
|
2458
2483
|
bio?: string | undefined;
|
|
2484
|
+
imageUrl?: string | undefined;
|
|
2459
2485
|
available?: number[][][] | undefined;
|
|
2460
2486
|
}>;
|
|
2461
2487
|
student: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -2596,6 +2622,7 @@ declare const zClassTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
2596
2622
|
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
2597
2623
|
title?: string | undefined;
|
|
2598
2624
|
bio?: string | undefined;
|
|
2625
|
+
imageUrl?: string | undefined;
|
|
2599
2626
|
available?: number[][][] | undefined;
|
|
2600
2627
|
};
|
|
2601
2628
|
classTimes: Date[];
|
|
@@ -2671,6 +2698,7 @@ declare const zClassTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
2671
2698
|
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
2672
2699
|
title?: string | undefined;
|
|
2673
2700
|
bio?: string | undefined;
|
|
2701
|
+
imageUrl?: string | undefined;
|
|
2674
2702
|
available?: number[][][] | undefined;
|
|
2675
2703
|
};
|
|
2676
2704
|
classTimes: Date[];
|
|
@@ -3253,6 +3281,7 @@ declare const zGroupTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
3253
3281
|
doesNotTeachPrivateLessons: z.ZodOptional<z.ZodBoolean>;
|
|
3254
3282
|
title: z.ZodOptional<z.ZodString>;
|
|
3255
3283
|
bio: z.ZodOptional<z.ZodString>;
|
|
3284
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
3256
3285
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
3257
3286
|
}>, {
|
|
3258
3287
|
_id: z.ZodString;
|
|
@@ -3283,6 +3312,7 @@ declare const zGroupTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
3283
3312
|
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
3284
3313
|
title?: string | undefined;
|
|
3285
3314
|
bio?: string | undefined;
|
|
3315
|
+
imageUrl?: string | undefined;
|
|
3286
3316
|
available?: number[][][] | undefined;
|
|
3287
3317
|
}, {
|
|
3288
3318
|
rank: GoRank;
|
|
@@ -3308,6 +3338,7 @@ declare const zGroupTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
3308
3338
|
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
3309
3339
|
title?: string | undefined;
|
|
3310
3340
|
bio?: string | undefined;
|
|
3341
|
+
imageUrl?: string | undefined;
|
|
3311
3342
|
available?: number[][][] | undefined;
|
|
3312
3343
|
}>;
|
|
3313
3344
|
semester: z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -3556,6 +3587,7 @@ declare const zGroupTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
3556
3587
|
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
3557
3588
|
title?: string | undefined;
|
|
3558
3589
|
bio?: string | undefined;
|
|
3590
|
+
imageUrl?: string | undefined;
|
|
3559
3591
|
available?: number[][][] | undefined;
|
|
3560
3592
|
};
|
|
3561
3593
|
semester: {
|
|
@@ -3662,6 +3694,7 @@ declare const zGroupTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
3662
3694
|
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
3663
3695
|
title?: string | undefined;
|
|
3664
3696
|
bio?: string | undefined;
|
|
3697
|
+
imageUrl?: string | undefined;
|
|
3665
3698
|
available?: number[][][] | undefined;
|
|
3666
3699
|
};
|
|
3667
3700
|
semester: {
|
|
@@ -4658,6 +4691,7 @@ declare const zInvoiceResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
4658
4691
|
doesNotTeachPrivateLessons: z.ZodOptional<z.ZodBoolean>;
|
|
4659
4692
|
title: z.ZodOptional<z.ZodString>;
|
|
4660
4693
|
bio: z.ZodOptional<z.ZodString>;
|
|
4694
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
4661
4695
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
4662
4696
|
}>, {
|
|
4663
4697
|
_id: z.ZodString;
|
|
@@ -4688,6 +4722,7 @@ declare const zInvoiceResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
4688
4722
|
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
4689
4723
|
title?: string | undefined;
|
|
4690
4724
|
bio?: string | undefined;
|
|
4725
|
+
imageUrl?: string | undefined;
|
|
4691
4726
|
available?: number[][][] | undefined;
|
|
4692
4727
|
}, {
|
|
4693
4728
|
rank: GoRank;
|
|
@@ -4713,6 +4748,7 @@ declare const zInvoiceResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
4713
4748
|
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
4714
4749
|
title?: string | undefined;
|
|
4715
4750
|
bio?: string | undefined;
|
|
4751
|
+
imageUrl?: string | undefined;
|
|
4716
4752
|
available?: number[][][] | undefined;
|
|
4717
4753
|
}>;
|
|
4718
4754
|
lastEditBy: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -4744,6 +4780,7 @@ declare const zInvoiceResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
4744
4780
|
doesNotTeachPrivateLessons: z.ZodOptional<z.ZodBoolean>;
|
|
4745
4781
|
title: z.ZodOptional<z.ZodString>;
|
|
4746
4782
|
bio: z.ZodOptional<z.ZodString>;
|
|
4783
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
4747
4784
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
4748
4785
|
}>, {
|
|
4749
4786
|
_id: z.ZodString;
|
|
@@ -4774,6 +4811,7 @@ declare const zInvoiceResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
4774
4811
|
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
4775
4812
|
title?: string | undefined;
|
|
4776
4813
|
bio?: string | undefined;
|
|
4814
|
+
imageUrl?: string | undefined;
|
|
4777
4815
|
available?: number[][][] | undefined;
|
|
4778
4816
|
}, {
|
|
4779
4817
|
rank: GoRank;
|
|
@@ -4799,6 +4837,7 @@ declare const zInvoiceResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
4799
4837
|
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
4800
4838
|
title?: string | undefined;
|
|
4801
4839
|
bio?: string | undefined;
|
|
4840
|
+
imageUrl?: string | undefined;
|
|
4802
4841
|
available?: number[][][] | undefined;
|
|
4803
4842
|
}>>;
|
|
4804
4843
|
packages: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -5008,6 +5047,7 @@ declare const zInvoiceResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
5008
5047
|
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
5009
5048
|
title?: string | undefined;
|
|
5010
5049
|
bio?: string | undefined;
|
|
5050
|
+
imageUrl?: string | undefined;
|
|
5011
5051
|
available?: number[][][] | undefined;
|
|
5012
5052
|
};
|
|
5013
5053
|
notes?: string | undefined;
|
|
@@ -5043,6 +5083,7 @@ declare const zInvoiceResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
5043
5083
|
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
5044
5084
|
title?: string | undefined;
|
|
5045
5085
|
bio?: string | undefined;
|
|
5086
|
+
imageUrl?: string | undefined;
|
|
5046
5087
|
available?: number[][][] | undefined;
|
|
5047
5088
|
} | undefined;
|
|
5048
5089
|
}, {
|
|
@@ -5105,6 +5146,7 @@ declare const zInvoiceResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
5105
5146
|
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
5106
5147
|
title?: string | undefined;
|
|
5107
5148
|
bio?: string | undefined;
|
|
5149
|
+
imageUrl?: string | undefined;
|
|
5108
5150
|
available?: number[][][] | undefined;
|
|
5109
5151
|
};
|
|
5110
5152
|
notes?: string | undefined;
|
|
@@ -5140,6 +5182,7 @@ declare const zInvoiceResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
5140
5182
|
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
5141
5183
|
title?: string | undefined;
|
|
5142
5184
|
bio?: string | undefined;
|
|
5185
|
+
imageUrl?: string | undefined;
|
|
5143
5186
|
available?: number[][][] | undefined;
|
|
5144
5187
|
} | undefined;
|
|
5145
5188
|
}>;
|
|
@@ -5315,6 +5358,7 @@ declare const zTeacherPaymentResponse: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
5315
5358
|
doesNotTeachPrivateLessons: z.ZodOptional<z.ZodBoolean>;
|
|
5316
5359
|
title: z.ZodOptional<z.ZodString>;
|
|
5317
5360
|
bio: z.ZodOptional<z.ZodString>;
|
|
5361
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
5318
5362
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
5319
5363
|
}>, {
|
|
5320
5364
|
_id: z.ZodString;
|
|
@@ -5345,6 +5389,7 @@ declare const zTeacherPaymentResponse: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
5345
5389
|
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
5346
5390
|
title?: string | undefined;
|
|
5347
5391
|
bio?: string | undefined;
|
|
5392
|
+
imageUrl?: string | undefined;
|
|
5348
5393
|
available?: number[][][] | undefined;
|
|
5349
5394
|
}, {
|
|
5350
5395
|
rank: GoRank;
|
|
@@ -5370,6 +5415,7 @@ declare const zTeacherPaymentResponse: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
5370
5415
|
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
5371
5416
|
title?: string | undefined;
|
|
5372
5417
|
bio?: string | undefined;
|
|
5418
|
+
imageUrl?: string | undefined;
|
|
5373
5419
|
available?: number[][][] | undefined;
|
|
5374
5420
|
}>;
|
|
5375
5421
|
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
@@ -5398,6 +5444,7 @@ declare const zTeacherPaymentResponse: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
5398
5444
|
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
5399
5445
|
title?: string | undefined;
|
|
5400
5446
|
bio?: string | undefined;
|
|
5447
|
+
imageUrl?: string | undefined;
|
|
5401
5448
|
available?: number[][][] | undefined;
|
|
5402
5449
|
};
|
|
5403
5450
|
rows: {
|
|
@@ -5436,6 +5483,7 @@ declare const zTeacherPaymentResponse: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
5436
5483
|
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
5437
5484
|
title?: string | undefined;
|
|
5438
5485
|
bio?: string | undefined;
|
|
5486
|
+
imageUrl?: string | undefined;
|
|
5439
5487
|
available?: number[][][] | undefined;
|
|
5440
5488
|
};
|
|
5441
5489
|
rows: {
|
|
@@ -6361,6 +6409,18 @@ declare const zEventConfigResponse: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
6361
6409
|
type BEventConfig = z.infer<typeof zBEventConfig>;
|
|
6362
6410
|
type EventConfig = z.infer<typeof zEventConfig>;
|
|
6363
6411
|
type EventConfigResponse = z.infer<typeof zEventConfigResponse>;
|
|
6412
|
+
/**
|
|
6413
|
+
* For public endpoints
|
|
6414
|
+
*/
|
|
6415
|
+
interface PublicEventConfigResponse extends EventConfigResponse {
|
|
6416
|
+
registrationStats: {
|
|
6417
|
+
totalConfirmed: number;
|
|
6418
|
+
whoIsComing: {
|
|
6419
|
+
name: string;
|
|
6420
|
+
rank: string;
|
|
6421
|
+
}[];
|
|
6422
|
+
};
|
|
6423
|
+
}
|
|
6364
6424
|
|
|
6365
6425
|
declare const zDetailsTable: z.ZodObject<{
|
|
6366
6426
|
fields: z.ZodArray<z.ZodString, "many">;
|
|
@@ -6935,4 +6995,4 @@ declare const zEventTicket: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
6935
6995
|
type BEventTicket = z.infer<typeof zBEventTicket>;
|
|
6936
6996
|
type EventTicket = z.infer<typeof zEventTicket>;
|
|
6937
6997
|
|
|
6938
|
-
export { AgeGroup, AttendState, type Attendance, type AttendanceRequest, 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 CampTrackerResponse, type ChangePasswordRequest, type ClassTimesInput, type ClassTracker, type ClassTrackerResponse, type Course, CourseCategory, type CourseTable, type CreateAdminAccountRequest, DayOfWeek, type DetailsTable, type Discount, type EventConfig, type EventConfigResponse, type EventReg, type EventRegResponse, type EventTicket, type EventTicketReg, type EventTicketRegResponse, GoRank, type GroupBooking, type GroupTracker, type GroupTrackerResponse, HearAboutUs, type ImageDef, type Invoice, type InvoiceItem, type InvoicePackage, type InvoicePackageResponse, type InvoiceResponse, type LoginRequest, type LoginResponse, type NYIGMission, NYIGSchool, type PaymentIntent, PaymentMethod, type PrivateBooking, type ReportTicket, type ReportTicketResponse, Role, type ScheduleData, type ScheduleTable, Season, type Semester, type Student, type Teacher, type TeacherDisplay, type TeacherPayment, type TeacherPaymentResponse, type TeacherPaymentRow, type TeacherResponse, TicketStatus, type TrackerCreate, type Tuition, type User, type UserRoles, zAttendance, zAttendanceRequest, zAttendanceResponse, zBAttendance, zBCampBooking, zBCampTracker, zBClassTracker, zBCourse, zBEventConfig, zBEventReg, zBEventTicket, zBGroupBooking, zBGroupTracker, zBInvoice, zBPaymentInfo, zBPrivateBooking, zBReportTicket, zBSemester, zBStudent, zBTeacher, zBTeacherPayment, zBUser, zBUserInfo, zCampBooking, zCampTracker, zCampTrackerResponse, zChangePasswordRequest, zClassTracker, zClassTrackerResponse, zCourse, zCourseTable, zCreateAdminAccountRequest, zDayOfWeek, zDetailsTable, zDiscount, zEventConfig, zEventConfigResponse, zEventReg, zEventRegResponse, zEventTicket, zEventTicketReg, zEventTicketRegResponse, zGroupBooking, zGroupTracker, zGroupTrackerResponse, zImageDef, zInvoice, zInvoiceItem, zInvoicePackage, zInvoicePackageResponse, zInvoiceResponse, zLoginRequest, zLoginResponse, zPrivateBooking, zReportTicket, zReportTicketResponse, zScheduleData, zScheduleTable, zSemester, zStudent, zTeacher, zTeacherDisplay, zTeacherPayment, zTeacherPaymentResponse, zTeacherPaymentRow, zTrackerCreate, zTuition, zUser, zUserRoles };
|
|
6998
|
+
export { AgeGroup, AttendState, type Attendance, type AttendanceRequest, 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 CampTrackerResponse, type ChangePasswordRequest, type ClassTimesInput, type ClassTracker, type ClassTrackerResponse, type Course, CourseCategory, type CourseTable, type CreateAdminAccountRequest, DayOfWeek, type DetailsTable, type Discount, type EventConfig, type EventConfigResponse, type EventReg, type EventRegResponse, type EventTicket, type EventTicketReg, type EventTicketRegResponse, GoRank, type GroupBooking, type GroupTracker, type GroupTrackerResponse, HearAboutUs, type ImageDef, type Invoice, type InvoiceItem, type InvoicePackage, type InvoicePackageResponse, type InvoiceResponse, type LoginRequest, type LoginResponse, type NYIGMission, NYIGSchool, type PaymentIntent, PaymentMethod, type PrivateBooking, type PublicEventConfigResponse, type ReportTicket, type ReportTicketResponse, Role, type ScheduleData, type ScheduleTable, Season, type Semester, type Student, type Teacher, type TeacherDisplay, type TeacherPayment, type TeacherPaymentResponse, type TeacherPaymentRow, type TeacherResponse, TicketStatus, type TrackerCreate, type Tuition, type User, type UserRoles, zAttendance, zAttendanceRequest, zAttendanceResponse, zBAttendance, zBCampBooking, zBCampTracker, zBClassTracker, zBCourse, zBEventConfig, zBEventReg, zBEventTicket, zBGroupBooking, zBGroupTracker, zBInvoice, zBPaymentInfo, zBPrivateBooking, zBReportTicket, zBSemester, zBStudent, zBTeacher, zBTeacherPayment, zBUser, zBUserInfo, zCampBooking, zCampTracker, zCampTrackerResponse, zChangePasswordRequest, zClassTracker, zClassTrackerResponse, zCourse, zCourseTable, zCreateAdminAccountRequest, zDayOfWeek, zDetailsTable, zDiscount, zEventConfig, zEventConfigResponse, zEventReg, zEventRegResponse, zEventTicket, zEventTicketReg, zEventTicketRegResponse, zGroupBooking, zGroupTracker, zGroupTrackerResponse, zImageDef, zInvoice, zInvoiceItem, zInvoicePackage, zInvoicePackageResponse, zInvoiceResponse, zLoginRequest, zLoginResponse, zPrivateBooking, zReportTicket, zReportTicketResponse, zScheduleData, zScheduleTable, zSemester, zStudent, zTeacher, zTeacherDisplay, zTeacherPayment, zTeacherPaymentResponse, zTeacherPaymentRow, zTrackerCreate, zTuition, zUser, zUserRoles };
|
package/index.js
CHANGED
|
@@ -321,6 +321,10 @@ var zBTeacher = zBUser.extend({
|
|
|
321
321
|
* new lines will be rendered as paragraphs
|
|
322
322
|
*/
|
|
323
323
|
bio: import_zod8.z.string().optional(),
|
|
324
|
+
/**
|
|
325
|
+
* Permanent URL of the image
|
|
326
|
+
*/
|
|
327
|
+
imageUrl: import_zod8.z.string().optional(),
|
|
324
328
|
/** Format is illustrated below, where teacher is available
|
|
325
329
|
* Mon 9-12am 3-6pm & Tue 10-12am 6-10pm
|
|
326
330
|
* [
|
package/index.mjs
CHANGED
|
@@ -214,6 +214,10 @@ var zBTeacher = zBUser.extend({
|
|
|
214
214
|
* new lines will be rendered as paragraphs
|
|
215
215
|
*/
|
|
216
216
|
bio: z8.string().optional(),
|
|
217
|
+
/**
|
|
218
|
+
* Permanent URL of the image
|
|
219
|
+
*/
|
|
220
|
+
imageUrl: z8.string().optional(),
|
|
217
221
|
/** Format is illustrated below, where teacher is available
|
|
218
222
|
* Mon 9-12am 3-6pm & Tue 10-12am 6-10pm
|
|
219
223
|
* [
|