@nyig/models 0.4.8 → 0.4.10
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 +48 -0
- package/index.d.ts +48 -0
- package/index.js +7 -3
- package/index.mjs +7 -3
- 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
|
*/
|
|
@@ -486,6 +490,7 @@ declare const zBTeacher: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
486
490
|
birthDate?: string | undefined;
|
|
487
491
|
shouldChangePassword?: boolean | undefined;
|
|
488
492
|
isInactive?: boolean | undefined;
|
|
493
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
489
494
|
title?: string | undefined;
|
|
490
495
|
bio?: string | undefined;
|
|
491
496
|
available?: number[][][] | undefined;
|
|
@@ -506,6 +511,7 @@ declare const zBTeacher: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
506
511
|
birthDate?: string | undefined;
|
|
507
512
|
shouldChangePassword?: boolean | undefined;
|
|
508
513
|
isInactive?: boolean | undefined;
|
|
514
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
509
515
|
title?: string | undefined;
|
|
510
516
|
bio?: string | undefined;
|
|
511
517
|
available?: number[][][] | undefined;
|
|
@@ -539,6 +545,10 @@ declare const zTeacher: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
|
|
|
539
545
|
* Inactive teachers are not shown on public endpoints
|
|
540
546
|
*/
|
|
541
547
|
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
548
|
+
/**
|
|
549
|
+
* If true, teacher is never available for booking
|
|
550
|
+
*/
|
|
551
|
+
doesNotTeachPrivateLessons: z.ZodOptional<z.ZodBoolean>;
|
|
542
552
|
/**
|
|
543
553
|
* Teacher's position, e.g., instructor, president
|
|
544
554
|
*/
|
|
@@ -587,6 +597,7 @@ declare const zTeacher: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
|
|
|
587
597
|
birthDate?: string | undefined;
|
|
588
598
|
shouldChangePassword?: boolean | undefined;
|
|
589
599
|
isInactive?: boolean | undefined;
|
|
600
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
590
601
|
title?: string | undefined;
|
|
591
602
|
bio?: string | undefined;
|
|
592
603
|
available?: number[][][] | undefined;
|
|
@@ -611,6 +622,7 @@ declare const zTeacher: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
|
|
|
611
622
|
birthDate?: string | undefined;
|
|
612
623
|
shouldChangePassword?: boolean | undefined;
|
|
613
624
|
isInactive?: boolean | undefined;
|
|
625
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
614
626
|
title?: string | undefined;
|
|
615
627
|
bio?: string | undefined;
|
|
616
628
|
available?: number[][][] | undefined;
|
|
@@ -644,6 +656,10 @@ declare const zTeacherResponse: z.ZodObject<z.objectUtil.extendShape<Omit<z.obje
|
|
|
644
656
|
* Inactive teachers are not shown on public endpoints
|
|
645
657
|
*/
|
|
646
658
|
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
659
|
+
/**
|
|
660
|
+
* If true, teacher is never available for booking
|
|
661
|
+
*/
|
|
662
|
+
doesNotTeachPrivateLessons: z.ZodOptional<z.ZodBoolean>;
|
|
647
663
|
/**
|
|
648
664
|
* Teacher's position, e.g., instructor, president
|
|
649
665
|
*/
|
|
@@ -686,6 +702,7 @@ declare const zTeacherResponse: z.ZodObject<z.objectUtil.extendShape<Omit<z.obje
|
|
|
686
702
|
birthDate?: string | undefined;
|
|
687
703
|
shouldChangePassword?: boolean | undefined;
|
|
688
704
|
isInactive?: boolean | undefined;
|
|
705
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
689
706
|
title?: string | undefined;
|
|
690
707
|
bio?: string | undefined;
|
|
691
708
|
available?: number[][][] | undefined;
|
|
@@ -702,6 +719,7 @@ declare const zTeacherResponse: z.ZodObject<z.objectUtil.extendShape<Omit<z.obje
|
|
|
702
719
|
birthDate?: string | undefined;
|
|
703
720
|
shouldChangePassword?: boolean | undefined;
|
|
704
721
|
isInactive?: boolean | undefined;
|
|
722
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
705
723
|
title?: string | undefined;
|
|
706
724
|
bio?: string | undefined;
|
|
707
725
|
available?: number[][][] | undefined;
|
|
@@ -1702,6 +1720,7 @@ declare const zCampTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
1702
1720
|
}, {
|
|
1703
1721
|
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
1704
1722
|
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
1723
|
+
doesNotTeachPrivateLessons: z.ZodOptional<z.ZodBoolean>;
|
|
1705
1724
|
title: z.ZodOptional<z.ZodString>;
|
|
1706
1725
|
bio: z.ZodOptional<z.ZodString>;
|
|
1707
1726
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
@@ -1731,6 +1750,7 @@ declare const zCampTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
1731
1750
|
birthDate?: string | undefined;
|
|
1732
1751
|
shouldChangePassword?: boolean | undefined;
|
|
1733
1752
|
isInactive?: boolean | undefined;
|
|
1753
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
1734
1754
|
title?: string | undefined;
|
|
1735
1755
|
bio?: string | undefined;
|
|
1736
1756
|
available?: number[][][] | undefined;
|
|
@@ -1755,6 +1775,7 @@ declare const zCampTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
1755
1775
|
birthDate?: string | undefined;
|
|
1756
1776
|
shouldChangePassword?: boolean | undefined;
|
|
1757
1777
|
isInactive?: boolean | undefined;
|
|
1778
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
1758
1779
|
title?: string | undefined;
|
|
1759
1780
|
bio?: string | undefined;
|
|
1760
1781
|
available?: number[][][] | undefined;
|
|
@@ -2002,6 +2023,7 @@ declare const zCampTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
2002
2023
|
birthDate?: string | undefined;
|
|
2003
2024
|
shouldChangePassword?: boolean | undefined;
|
|
2004
2025
|
isInactive?: boolean | undefined;
|
|
2026
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
2005
2027
|
title?: string | undefined;
|
|
2006
2028
|
bio?: string | undefined;
|
|
2007
2029
|
available?: number[][][] | undefined;
|
|
@@ -2100,6 +2122,7 @@ declare const zCampTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
2100
2122
|
birthDate?: string | undefined;
|
|
2101
2123
|
shouldChangePassword?: boolean | undefined;
|
|
2102
2124
|
isInactive?: boolean | undefined;
|
|
2125
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
2103
2126
|
title?: string | undefined;
|
|
2104
2127
|
bio?: string | undefined;
|
|
2105
2128
|
available?: number[][][] | undefined;
|
|
@@ -2375,6 +2398,7 @@ declare const zClassTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
2375
2398
|
}, {
|
|
2376
2399
|
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
2377
2400
|
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
2401
|
+
doesNotTeachPrivateLessons: z.ZodOptional<z.ZodBoolean>;
|
|
2378
2402
|
title: z.ZodOptional<z.ZodString>;
|
|
2379
2403
|
bio: z.ZodOptional<z.ZodString>;
|
|
2380
2404
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
@@ -2404,6 +2428,7 @@ declare const zClassTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
2404
2428
|
birthDate?: string | undefined;
|
|
2405
2429
|
shouldChangePassword?: boolean | undefined;
|
|
2406
2430
|
isInactive?: boolean | undefined;
|
|
2431
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
2407
2432
|
title?: string | undefined;
|
|
2408
2433
|
bio?: string | undefined;
|
|
2409
2434
|
available?: number[][][] | undefined;
|
|
@@ -2428,6 +2453,7 @@ declare const zClassTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
2428
2453
|
birthDate?: string | undefined;
|
|
2429
2454
|
shouldChangePassword?: boolean | undefined;
|
|
2430
2455
|
isInactive?: boolean | undefined;
|
|
2456
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
2431
2457
|
title?: string | undefined;
|
|
2432
2458
|
bio?: string | undefined;
|
|
2433
2459
|
available?: number[][][] | undefined;
|
|
@@ -2567,6 +2593,7 @@ declare const zClassTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
2567
2593
|
birthDate?: string | undefined;
|
|
2568
2594
|
shouldChangePassword?: boolean | undefined;
|
|
2569
2595
|
isInactive?: boolean | undefined;
|
|
2596
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
2570
2597
|
title?: string | undefined;
|
|
2571
2598
|
bio?: string | undefined;
|
|
2572
2599
|
available?: number[][][] | undefined;
|
|
@@ -2641,6 +2668,7 @@ declare const zClassTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
2641
2668
|
birthDate?: string | undefined;
|
|
2642
2669
|
shouldChangePassword?: boolean | undefined;
|
|
2643
2670
|
isInactive?: boolean | undefined;
|
|
2671
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
2644
2672
|
title?: string | undefined;
|
|
2645
2673
|
bio?: string | undefined;
|
|
2646
2674
|
available?: number[][][] | undefined;
|
|
@@ -3222,6 +3250,7 @@ declare const zGroupTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
3222
3250
|
}, {
|
|
3223
3251
|
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
3224
3252
|
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
3253
|
+
doesNotTeachPrivateLessons: z.ZodOptional<z.ZodBoolean>;
|
|
3225
3254
|
title: z.ZodOptional<z.ZodString>;
|
|
3226
3255
|
bio: z.ZodOptional<z.ZodString>;
|
|
3227
3256
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
@@ -3251,6 +3280,7 @@ declare const zGroupTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
3251
3280
|
birthDate?: string | undefined;
|
|
3252
3281
|
shouldChangePassword?: boolean | undefined;
|
|
3253
3282
|
isInactive?: boolean | undefined;
|
|
3283
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
3254
3284
|
title?: string | undefined;
|
|
3255
3285
|
bio?: string | undefined;
|
|
3256
3286
|
available?: number[][][] | undefined;
|
|
@@ -3275,6 +3305,7 @@ declare const zGroupTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
3275
3305
|
birthDate?: string | undefined;
|
|
3276
3306
|
shouldChangePassword?: boolean | undefined;
|
|
3277
3307
|
isInactive?: boolean | undefined;
|
|
3308
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
3278
3309
|
title?: string | undefined;
|
|
3279
3310
|
bio?: string | undefined;
|
|
3280
3311
|
available?: number[][][] | undefined;
|
|
@@ -3522,6 +3553,7 @@ declare const zGroupTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
3522
3553
|
birthDate?: string | undefined;
|
|
3523
3554
|
shouldChangePassword?: boolean | undefined;
|
|
3524
3555
|
isInactive?: boolean | undefined;
|
|
3556
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
3525
3557
|
title?: string | undefined;
|
|
3526
3558
|
bio?: string | undefined;
|
|
3527
3559
|
available?: number[][][] | undefined;
|
|
@@ -3627,6 +3659,7 @@ declare const zGroupTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
3627
3659
|
birthDate?: string | undefined;
|
|
3628
3660
|
shouldChangePassword?: boolean | undefined;
|
|
3629
3661
|
isInactive?: boolean | undefined;
|
|
3662
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
3630
3663
|
title?: string | undefined;
|
|
3631
3664
|
bio?: string | undefined;
|
|
3632
3665
|
available?: number[][][] | undefined;
|
|
@@ -4622,6 +4655,7 @@ declare const zInvoiceResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
4622
4655
|
}, {
|
|
4623
4656
|
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
4624
4657
|
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
4658
|
+
doesNotTeachPrivateLessons: z.ZodOptional<z.ZodBoolean>;
|
|
4625
4659
|
title: z.ZodOptional<z.ZodString>;
|
|
4626
4660
|
bio: z.ZodOptional<z.ZodString>;
|
|
4627
4661
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
@@ -4651,6 +4685,7 @@ declare const zInvoiceResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
4651
4685
|
birthDate?: string | undefined;
|
|
4652
4686
|
shouldChangePassword?: boolean | undefined;
|
|
4653
4687
|
isInactive?: boolean | undefined;
|
|
4688
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
4654
4689
|
title?: string | undefined;
|
|
4655
4690
|
bio?: string | undefined;
|
|
4656
4691
|
available?: number[][][] | undefined;
|
|
@@ -4675,6 +4710,7 @@ declare const zInvoiceResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
4675
4710
|
birthDate?: string | undefined;
|
|
4676
4711
|
shouldChangePassword?: boolean | undefined;
|
|
4677
4712
|
isInactive?: boolean | undefined;
|
|
4713
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
4678
4714
|
title?: string | undefined;
|
|
4679
4715
|
bio?: string | undefined;
|
|
4680
4716
|
available?: number[][][] | undefined;
|
|
@@ -4705,6 +4741,7 @@ declare const zInvoiceResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
4705
4741
|
}, {
|
|
4706
4742
|
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
4707
4743
|
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
4744
|
+
doesNotTeachPrivateLessons: z.ZodOptional<z.ZodBoolean>;
|
|
4708
4745
|
title: z.ZodOptional<z.ZodString>;
|
|
4709
4746
|
bio: z.ZodOptional<z.ZodString>;
|
|
4710
4747
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
@@ -4734,6 +4771,7 @@ declare const zInvoiceResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
4734
4771
|
birthDate?: string | undefined;
|
|
4735
4772
|
shouldChangePassword?: boolean | undefined;
|
|
4736
4773
|
isInactive?: boolean | undefined;
|
|
4774
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
4737
4775
|
title?: string | undefined;
|
|
4738
4776
|
bio?: string | undefined;
|
|
4739
4777
|
available?: number[][][] | undefined;
|
|
@@ -4758,6 +4796,7 @@ declare const zInvoiceResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
4758
4796
|
birthDate?: string | undefined;
|
|
4759
4797
|
shouldChangePassword?: boolean | undefined;
|
|
4760
4798
|
isInactive?: boolean | undefined;
|
|
4799
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
4761
4800
|
title?: string | undefined;
|
|
4762
4801
|
bio?: string | undefined;
|
|
4763
4802
|
available?: number[][][] | undefined;
|
|
@@ -4966,6 +5005,7 @@ declare const zInvoiceResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
4966
5005
|
birthDate?: string | undefined;
|
|
4967
5006
|
shouldChangePassword?: boolean | undefined;
|
|
4968
5007
|
isInactive?: boolean | undefined;
|
|
5008
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
4969
5009
|
title?: string | undefined;
|
|
4970
5010
|
bio?: string | undefined;
|
|
4971
5011
|
available?: number[][][] | undefined;
|
|
@@ -5000,6 +5040,7 @@ declare const zInvoiceResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
5000
5040
|
birthDate?: string | undefined;
|
|
5001
5041
|
shouldChangePassword?: boolean | undefined;
|
|
5002
5042
|
isInactive?: boolean | undefined;
|
|
5043
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
5003
5044
|
title?: string | undefined;
|
|
5004
5045
|
bio?: string | undefined;
|
|
5005
5046
|
available?: number[][][] | undefined;
|
|
@@ -5061,6 +5102,7 @@ declare const zInvoiceResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
5061
5102
|
birthDate?: string | undefined;
|
|
5062
5103
|
shouldChangePassword?: boolean | undefined;
|
|
5063
5104
|
isInactive?: boolean | undefined;
|
|
5105
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
5064
5106
|
title?: string | undefined;
|
|
5065
5107
|
bio?: string | undefined;
|
|
5066
5108
|
available?: number[][][] | undefined;
|
|
@@ -5095,6 +5137,7 @@ declare const zInvoiceResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
5095
5137
|
birthDate?: string | undefined;
|
|
5096
5138
|
shouldChangePassword?: boolean | undefined;
|
|
5097
5139
|
isInactive?: boolean | undefined;
|
|
5140
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
5098
5141
|
title?: string | undefined;
|
|
5099
5142
|
bio?: string | undefined;
|
|
5100
5143
|
available?: number[][][] | undefined;
|
|
@@ -5269,6 +5312,7 @@ declare const zTeacherPaymentResponse: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
5269
5312
|
}, {
|
|
5270
5313
|
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
5271
5314
|
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
5315
|
+
doesNotTeachPrivateLessons: z.ZodOptional<z.ZodBoolean>;
|
|
5272
5316
|
title: z.ZodOptional<z.ZodString>;
|
|
5273
5317
|
bio: z.ZodOptional<z.ZodString>;
|
|
5274
5318
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
@@ -5298,6 +5342,7 @@ declare const zTeacherPaymentResponse: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
5298
5342
|
birthDate?: string | undefined;
|
|
5299
5343
|
shouldChangePassword?: boolean | undefined;
|
|
5300
5344
|
isInactive?: boolean | undefined;
|
|
5345
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
5301
5346
|
title?: string | undefined;
|
|
5302
5347
|
bio?: string | undefined;
|
|
5303
5348
|
available?: number[][][] | undefined;
|
|
@@ -5322,6 +5367,7 @@ declare const zTeacherPaymentResponse: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
5322
5367
|
birthDate?: string | undefined;
|
|
5323
5368
|
shouldChangePassword?: boolean | undefined;
|
|
5324
5369
|
isInactive?: boolean | undefined;
|
|
5370
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
5325
5371
|
title?: string | undefined;
|
|
5326
5372
|
bio?: string | undefined;
|
|
5327
5373
|
available?: number[][][] | undefined;
|
|
@@ -5349,6 +5395,7 @@ declare const zTeacherPaymentResponse: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
5349
5395
|
birthDate?: string | undefined;
|
|
5350
5396
|
shouldChangePassword?: boolean | undefined;
|
|
5351
5397
|
isInactive?: boolean | undefined;
|
|
5398
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
5352
5399
|
title?: string | undefined;
|
|
5353
5400
|
bio?: string | undefined;
|
|
5354
5401
|
available?: number[][][] | undefined;
|
|
@@ -5386,6 +5433,7 @@ declare const zTeacherPaymentResponse: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
5386
5433
|
birthDate?: string | undefined;
|
|
5387
5434
|
shouldChangePassword?: boolean | undefined;
|
|
5388
5435
|
isInactive?: boolean | undefined;
|
|
5436
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
5389
5437
|
title?: string | undefined;
|
|
5390
5438
|
bio?: string | undefined;
|
|
5391
5439
|
available?: number[][][] | undefined;
|
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
|
*/
|
|
@@ -486,6 +490,7 @@ declare const zBTeacher: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
486
490
|
birthDate?: string | undefined;
|
|
487
491
|
shouldChangePassword?: boolean | undefined;
|
|
488
492
|
isInactive?: boolean | undefined;
|
|
493
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
489
494
|
title?: string | undefined;
|
|
490
495
|
bio?: string | undefined;
|
|
491
496
|
available?: number[][][] | undefined;
|
|
@@ -506,6 +511,7 @@ declare const zBTeacher: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
506
511
|
birthDate?: string | undefined;
|
|
507
512
|
shouldChangePassword?: boolean | undefined;
|
|
508
513
|
isInactive?: boolean | undefined;
|
|
514
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
509
515
|
title?: string | undefined;
|
|
510
516
|
bio?: string | undefined;
|
|
511
517
|
available?: number[][][] | undefined;
|
|
@@ -539,6 +545,10 @@ declare const zTeacher: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
|
|
|
539
545
|
* Inactive teachers are not shown on public endpoints
|
|
540
546
|
*/
|
|
541
547
|
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
548
|
+
/**
|
|
549
|
+
* If true, teacher is never available for booking
|
|
550
|
+
*/
|
|
551
|
+
doesNotTeachPrivateLessons: z.ZodOptional<z.ZodBoolean>;
|
|
542
552
|
/**
|
|
543
553
|
* Teacher's position, e.g., instructor, president
|
|
544
554
|
*/
|
|
@@ -587,6 +597,7 @@ declare const zTeacher: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
|
|
|
587
597
|
birthDate?: string | undefined;
|
|
588
598
|
shouldChangePassword?: boolean | undefined;
|
|
589
599
|
isInactive?: boolean | undefined;
|
|
600
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
590
601
|
title?: string | undefined;
|
|
591
602
|
bio?: string | undefined;
|
|
592
603
|
available?: number[][][] | undefined;
|
|
@@ -611,6 +622,7 @@ declare const zTeacher: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
|
|
|
611
622
|
birthDate?: string | undefined;
|
|
612
623
|
shouldChangePassword?: boolean | undefined;
|
|
613
624
|
isInactive?: boolean | undefined;
|
|
625
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
614
626
|
title?: string | undefined;
|
|
615
627
|
bio?: string | undefined;
|
|
616
628
|
available?: number[][][] | undefined;
|
|
@@ -644,6 +656,10 @@ declare const zTeacherResponse: z.ZodObject<z.objectUtil.extendShape<Omit<z.obje
|
|
|
644
656
|
* Inactive teachers are not shown on public endpoints
|
|
645
657
|
*/
|
|
646
658
|
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
659
|
+
/**
|
|
660
|
+
* If true, teacher is never available for booking
|
|
661
|
+
*/
|
|
662
|
+
doesNotTeachPrivateLessons: z.ZodOptional<z.ZodBoolean>;
|
|
647
663
|
/**
|
|
648
664
|
* Teacher's position, e.g., instructor, president
|
|
649
665
|
*/
|
|
@@ -686,6 +702,7 @@ declare const zTeacherResponse: z.ZodObject<z.objectUtil.extendShape<Omit<z.obje
|
|
|
686
702
|
birthDate?: string | undefined;
|
|
687
703
|
shouldChangePassword?: boolean | undefined;
|
|
688
704
|
isInactive?: boolean | undefined;
|
|
705
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
689
706
|
title?: string | undefined;
|
|
690
707
|
bio?: string | undefined;
|
|
691
708
|
available?: number[][][] | undefined;
|
|
@@ -702,6 +719,7 @@ declare const zTeacherResponse: z.ZodObject<z.objectUtil.extendShape<Omit<z.obje
|
|
|
702
719
|
birthDate?: string | undefined;
|
|
703
720
|
shouldChangePassword?: boolean | undefined;
|
|
704
721
|
isInactive?: boolean | undefined;
|
|
722
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
705
723
|
title?: string | undefined;
|
|
706
724
|
bio?: string | undefined;
|
|
707
725
|
available?: number[][][] | undefined;
|
|
@@ -1702,6 +1720,7 @@ declare const zCampTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
1702
1720
|
}, {
|
|
1703
1721
|
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
1704
1722
|
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
1723
|
+
doesNotTeachPrivateLessons: z.ZodOptional<z.ZodBoolean>;
|
|
1705
1724
|
title: z.ZodOptional<z.ZodString>;
|
|
1706
1725
|
bio: z.ZodOptional<z.ZodString>;
|
|
1707
1726
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
@@ -1731,6 +1750,7 @@ declare const zCampTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
1731
1750
|
birthDate?: string | undefined;
|
|
1732
1751
|
shouldChangePassword?: boolean | undefined;
|
|
1733
1752
|
isInactive?: boolean | undefined;
|
|
1753
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
1734
1754
|
title?: string | undefined;
|
|
1735
1755
|
bio?: string | undefined;
|
|
1736
1756
|
available?: number[][][] | undefined;
|
|
@@ -1755,6 +1775,7 @@ declare const zCampTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
1755
1775
|
birthDate?: string | undefined;
|
|
1756
1776
|
shouldChangePassword?: boolean | undefined;
|
|
1757
1777
|
isInactive?: boolean | undefined;
|
|
1778
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
1758
1779
|
title?: string | undefined;
|
|
1759
1780
|
bio?: string | undefined;
|
|
1760
1781
|
available?: number[][][] | undefined;
|
|
@@ -2002,6 +2023,7 @@ declare const zCampTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
2002
2023
|
birthDate?: string | undefined;
|
|
2003
2024
|
shouldChangePassword?: boolean | undefined;
|
|
2004
2025
|
isInactive?: boolean | undefined;
|
|
2026
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
2005
2027
|
title?: string | undefined;
|
|
2006
2028
|
bio?: string | undefined;
|
|
2007
2029
|
available?: number[][][] | undefined;
|
|
@@ -2100,6 +2122,7 @@ declare const zCampTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
2100
2122
|
birthDate?: string | undefined;
|
|
2101
2123
|
shouldChangePassword?: boolean | undefined;
|
|
2102
2124
|
isInactive?: boolean | undefined;
|
|
2125
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
2103
2126
|
title?: string | undefined;
|
|
2104
2127
|
bio?: string | undefined;
|
|
2105
2128
|
available?: number[][][] | undefined;
|
|
@@ -2375,6 +2398,7 @@ declare const zClassTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
2375
2398
|
}, {
|
|
2376
2399
|
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
2377
2400
|
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
2401
|
+
doesNotTeachPrivateLessons: z.ZodOptional<z.ZodBoolean>;
|
|
2378
2402
|
title: z.ZodOptional<z.ZodString>;
|
|
2379
2403
|
bio: z.ZodOptional<z.ZodString>;
|
|
2380
2404
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
@@ -2404,6 +2428,7 @@ declare const zClassTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
2404
2428
|
birthDate?: string | undefined;
|
|
2405
2429
|
shouldChangePassword?: boolean | undefined;
|
|
2406
2430
|
isInactive?: boolean | undefined;
|
|
2431
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
2407
2432
|
title?: string | undefined;
|
|
2408
2433
|
bio?: string | undefined;
|
|
2409
2434
|
available?: number[][][] | undefined;
|
|
@@ -2428,6 +2453,7 @@ declare const zClassTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
2428
2453
|
birthDate?: string | undefined;
|
|
2429
2454
|
shouldChangePassword?: boolean | undefined;
|
|
2430
2455
|
isInactive?: boolean | undefined;
|
|
2456
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
2431
2457
|
title?: string | undefined;
|
|
2432
2458
|
bio?: string | undefined;
|
|
2433
2459
|
available?: number[][][] | undefined;
|
|
@@ -2567,6 +2593,7 @@ declare const zClassTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
2567
2593
|
birthDate?: string | undefined;
|
|
2568
2594
|
shouldChangePassword?: boolean | undefined;
|
|
2569
2595
|
isInactive?: boolean | undefined;
|
|
2596
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
2570
2597
|
title?: string | undefined;
|
|
2571
2598
|
bio?: string | undefined;
|
|
2572
2599
|
available?: number[][][] | undefined;
|
|
@@ -2641,6 +2668,7 @@ declare const zClassTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
2641
2668
|
birthDate?: string | undefined;
|
|
2642
2669
|
shouldChangePassword?: boolean | undefined;
|
|
2643
2670
|
isInactive?: boolean | undefined;
|
|
2671
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
2644
2672
|
title?: string | undefined;
|
|
2645
2673
|
bio?: string | undefined;
|
|
2646
2674
|
available?: number[][][] | undefined;
|
|
@@ -3222,6 +3250,7 @@ declare const zGroupTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
3222
3250
|
}, {
|
|
3223
3251
|
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
3224
3252
|
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
3253
|
+
doesNotTeachPrivateLessons: z.ZodOptional<z.ZodBoolean>;
|
|
3225
3254
|
title: z.ZodOptional<z.ZodString>;
|
|
3226
3255
|
bio: z.ZodOptional<z.ZodString>;
|
|
3227
3256
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
@@ -3251,6 +3280,7 @@ declare const zGroupTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
3251
3280
|
birthDate?: string | undefined;
|
|
3252
3281
|
shouldChangePassword?: boolean | undefined;
|
|
3253
3282
|
isInactive?: boolean | undefined;
|
|
3283
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
3254
3284
|
title?: string | undefined;
|
|
3255
3285
|
bio?: string | undefined;
|
|
3256
3286
|
available?: number[][][] | undefined;
|
|
@@ -3275,6 +3305,7 @@ declare const zGroupTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
3275
3305
|
birthDate?: string | undefined;
|
|
3276
3306
|
shouldChangePassword?: boolean | undefined;
|
|
3277
3307
|
isInactive?: boolean | undefined;
|
|
3308
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
3278
3309
|
title?: string | undefined;
|
|
3279
3310
|
bio?: string | undefined;
|
|
3280
3311
|
available?: number[][][] | undefined;
|
|
@@ -3522,6 +3553,7 @@ declare const zGroupTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
3522
3553
|
birthDate?: string | undefined;
|
|
3523
3554
|
shouldChangePassword?: boolean | undefined;
|
|
3524
3555
|
isInactive?: boolean | undefined;
|
|
3556
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
3525
3557
|
title?: string | undefined;
|
|
3526
3558
|
bio?: string | undefined;
|
|
3527
3559
|
available?: number[][][] | undefined;
|
|
@@ -3627,6 +3659,7 @@ declare const zGroupTrackerResponse: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
3627
3659
|
birthDate?: string | undefined;
|
|
3628
3660
|
shouldChangePassword?: boolean | undefined;
|
|
3629
3661
|
isInactive?: boolean | undefined;
|
|
3662
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
3630
3663
|
title?: string | undefined;
|
|
3631
3664
|
bio?: string | undefined;
|
|
3632
3665
|
available?: number[][][] | undefined;
|
|
@@ -4622,6 +4655,7 @@ declare const zInvoiceResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
4622
4655
|
}, {
|
|
4623
4656
|
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
4624
4657
|
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
4658
|
+
doesNotTeachPrivateLessons: z.ZodOptional<z.ZodBoolean>;
|
|
4625
4659
|
title: z.ZodOptional<z.ZodString>;
|
|
4626
4660
|
bio: z.ZodOptional<z.ZodString>;
|
|
4627
4661
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
@@ -4651,6 +4685,7 @@ declare const zInvoiceResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
4651
4685
|
birthDate?: string | undefined;
|
|
4652
4686
|
shouldChangePassword?: boolean | undefined;
|
|
4653
4687
|
isInactive?: boolean | undefined;
|
|
4688
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
4654
4689
|
title?: string | undefined;
|
|
4655
4690
|
bio?: string | undefined;
|
|
4656
4691
|
available?: number[][][] | undefined;
|
|
@@ -4675,6 +4710,7 @@ declare const zInvoiceResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
4675
4710
|
birthDate?: string | undefined;
|
|
4676
4711
|
shouldChangePassword?: boolean | undefined;
|
|
4677
4712
|
isInactive?: boolean | undefined;
|
|
4713
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
4678
4714
|
title?: string | undefined;
|
|
4679
4715
|
bio?: string | undefined;
|
|
4680
4716
|
available?: number[][][] | undefined;
|
|
@@ -4705,6 +4741,7 @@ declare const zInvoiceResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
4705
4741
|
}, {
|
|
4706
4742
|
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
4707
4743
|
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
4744
|
+
doesNotTeachPrivateLessons: z.ZodOptional<z.ZodBoolean>;
|
|
4708
4745
|
title: z.ZodOptional<z.ZodString>;
|
|
4709
4746
|
bio: z.ZodOptional<z.ZodString>;
|
|
4710
4747
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
@@ -4734,6 +4771,7 @@ declare const zInvoiceResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
4734
4771
|
birthDate?: string | undefined;
|
|
4735
4772
|
shouldChangePassword?: boolean | undefined;
|
|
4736
4773
|
isInactive?: boolean | undefined;
|
|
4774
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
4737
4775
|
title?: string | undefined;
|
|
4738
4776
|
bio?: string | undefined;
|
|
4739
4777
|
available?: number[][][] | undefined;
|
|
@@ -4758,6 +4796,7 @@ declare const zInvoiceResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
4758
4796
|
birthDate?: string | undefined;
|
|
4759
4797
|
shouldChangePassword?: boolean | undefined;
|
|
4760
4798
|
isInactive?: boolean | undefined;
|
|
4799
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
4761
4800
|
title?: string | undefined;
|
|
4762
4801
|
bio?: string | undefined;
|
|
4763
4802
|
available?: number[][][] | undefined;
|
|
@@ -4966,6 +5005,7 @@ declare const zInvoiceResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
4966
5005
|
birthDate?: string | undefined;
|
|
4967
5006
|
shouldChangePassword?: boolean | undefined;
|
|
4968
5007
|
isInactive?: boolean | undefined;
|
|
5008
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
4969
5009
|
title?: string | undefined;
|
|
4970
5010
|
bio?: string | undefined;
|
|
4971
5011
|
available?: number[][][] | undefined;
|
|
@@ -5000,6 +5040,7 @@ declare const zInvoiceResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
5000
5040
|
birthDate?: string | undefined;
|
|
5001
5041
|
shouldChangePassword?: boolean | undefined;
|
|
5002
5042
|
isInactive?: boolean | undefined;
|
|
5043
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
5003
5044
|
title?: string | undefined;
|
|
5004
5045
|
bio?: string | undefined;
|
|
5005
5046
|
available?: number[][][] | undefined;
|
|
@@ -5061,6 +5102,7 @@ declare const zInvoiceResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
5061
5102
|
birthDate?: string | undefined;
|
|
5062
5103
|
shouldChangePassword?: boolean | undefined;
|
|
5063
5104
|
isInactive?: boolean | undefined;
|
|
5105
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
5064
5106
|
title?: string | undefined;
|
|
5065
5107
|
bio?: string | undefined;
|
|
5066
5108
|
available?: number[][][] | undefined;
|
|
@@ -5095,6 +5137,7 @@ declare const zInvoiceResponse: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
5095
5137
|
birthDate?: string | undefined;
|
|
5096
5138
|
shouldChangePassword?: boolean | undefined;
|
|
5097
5139
|
isInactive?: boolean | undefined;
|
|
5140
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
5098
5141
|
title?: string | undefined;
|
|
5099
5142
|
bio?: string | undefined;
|
|
5100
5143
|
available?: number[][][] | undefined;
|
|
@@ -5269,6 +5312,7 @@ declare const zTeacherPaymentResponse: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
5269
5312
|
}, {
|
|
5270
5313
|
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
5271
5314
|
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
5315
|
+
doesNotTeachPrivateLessons: z.ZodOptional<z.ZodBoolean>;
|
|
5272
5316
|
title: z.ZodOptional<z.ZodString>;
|
|
5273
5317
|
bio: z.ZodOptional<z.ZodString>;
|
|
5274
5318
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
@@ -5298,6 +5342,7 @@ declare const zTeacherPaymentResponse: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
5298
5342
|
birthDate?: string | undefined;
|
|
5299
5343
|
shouldChangePassword?: boolean | undefined;
|
|
5300
5344
|
isInactive?: boolean | undefined;
|
|
5345
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
5301
5346
|
title?: string | undefined;
|
|
5302
5347
|
bio?: string | undefined;
|
|
5303
5348
|
available?: number[][][] | undefined;
|
|
@@ -5322,6 +5367,7 @@ declare const zTeacherPaymentResponse: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
5322
5367
|
birthDate?: string | undefined;
|
|
5323
5368
|
shouldChangePassword?: boolean | undefined;
|
|
5324
5369
|
isInactive?: boolean | undefined;
|
|
5370
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
5325
5371
|
title?: string | undefined;
|
|
5326
5372
|
bio?: string | undefined;
|
|
5327
5373
|
available?: number[][][] | undefined;
|
|
@@ -5349,6 +5395,7 @@ declare const zTeacherPaymentResponse: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
5349
5395
|
birthDate?: string | undefined;
|
|
5350
5396
|
shouldChangePassword?: boolean | undefined;
|
|
5351
5397
|
isInactive?: boolean | undefined;
|
|
5398
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
5352
5399
|
title?: string | undefined;
|
|
5353
5400
|
bio?: string | undefined;
|
|
5354
5401
|
available?: number[][][] | undefined;
|
|
@@ -5386,6 +5433,7 @@ declare const zTeacherPaymentResponse: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
5386
5433
|
birthDate?: string | undefined;
|
|
5387
5434
|
shouldChangePassword?: boolean | undefined;
|
|
5388
5435
|
isInactive?: boolean | undefined;
|
|
5436
|
+
doesNotTeachPrivateLessons?: boolean | undefined;
|
|
5389
5437
|
title?: string | undefined;
|
|
5390
5438
|
bio?: string | undefined;
|
|
5391
5439
|
available?: number[][][] | undefined;
|
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
|
*/
|
|
@@ -714,9 +718,9 @@ var zCourseTable = import_zod24.z.object({
|
|
|
714
718
|
// src/interface/public/imageDef.ts
|
|
715
719
|
var import_zod25 = require("zod");
|
|
716
720
|
var zImageDef = import_zod25.z.object({
|
|
717
|
-
url: import_zod25.z.string(),
|
|
718
|
-
height: import_zod25.z.number(),
|
|
719
|
-
width: import_zod25.z.number()
|
|
721
|
+
url: import_zod25.z.string().url(),
|
|
722
|
+
height: import_zod25.z.coerce.number().int(),
|
|
723
|
+
width: import_zod25.z.coerce.number().int()
|
|
720
724
|
});
|
|
721
725
|
|
|
722
726
|
// src/interface/reporting/reportTicket.ts
|
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
|
*/
|
|
@@ -607,9 +611,9 @@ var zCourseTable = z24.object({
|
|
|
607
611
|
// src/interface/public/imageDef.ts
|
|
608
612
|
import { z as z25 } from "zod";
|
|
609
613
|
var zImageDef = z25.object({
|
|
610
|
-
url: z25.string(),
|
|
611
|
-
height: z25.number(),
|
|
612
|
-
width: z25.number()
|
|
614
|
+
url: z25.string().url(),
|
|
615
|
+
height: z25.coerce.number().int(),
|
|
616
|
+
width: z25.coerce.number().int()
|
|
613
617
|
});
|
|
614
618
|
|
|
615
619
|
// src/interface/reporting/reportTicket.ts
|