@nyig/models 0.3.3 → 0.3.4
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 +66 -24
- package/index.d.ts +66 -24
- package/index.js +6 -3
- package/index.mjs +6 -3
- package/package.json +1 -1
package/index.d.mts
CHANGED
|
@@ -135,6 +135,10 @@ declare const zBUser: z.ZodObject<{
|
|
|
135
135
|
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
136
136
|
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
137
137
|
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
138
|
+
/**
|
|
139
|
+
* For prompting the user to change their password on first login
|
|
140
|
+
*/
|
|
141
|
+
shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
|
|
138
142
|
}, "strip", z.ZodTypeAny, {
|
|
139
143
|
name: string;
|
|
140
144
|
username?: string | undefined;
|
|
@@ -149,6 +153,7 @@ declare const zBUser: z.ZodObject<{
|
|
|
149
153
|
country?: string | undefined;
|
|
150
154
|
phoneNumber?: string | undefined;
|
|
151
155
|
birthDate?: string | undefined;
|
|
156
|
+
shouldChangePassword?: boolean | undefined;
|
|
152
157
|
}, {
|
|
153
158
|
name: string;
|
|
154
159
|
username?: string | undefined;
|
|
@@ -163,6 +168,7 @@ declare const zBUser: z.ZodObject<{
|
|
|
163
168
|
country?: string | undefined;
|
|
164
169
|
phoneNumber?: string | undefined;
|
|
165
170
|
birthDate?: string | undefined;
|
|
171
|
+
shouldChangePassword?: boolean | undefined;
|
|
166
172
|
}>;
|
|
167
173
|
declare const zUser: z.ZodObject<{
|
|
168
174
|
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
@@ -186,6 +192,7 @@ declare const zUser: z.ZodObject<{
|
|
|
186
192
|
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
187
193
|
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
188
194
|
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
195
|
+
shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
|
|
189
196
|
_id: z.ZodString;
|
|
190
197
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
191
198
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -205,6 +212,7 @@ declare const zUser: z.ZodObject<{
|
|
|
205
212
|
country?: string | undefined;
|
|
206
213
|
phoneNumber?: string | undefined;
|
|
207
214
|
birthDate?: string | undefined;
|
|
215
|
+
shouldChangePassword?: boolean | undefined;
|
|
208
216
|
editedBy?: string | undefined;
|
|
209
217
|
createdAt?: string | undefined;
|
|
210
218
|
updatedAt?: string | undefined;
|
|
@@ -223,6 +231,7 @@ declare const zUser: z.ZodObject<{
|
|
|
223
231
|
country?: string | undefined;
|
|
224
232
|
phoneNumber?: string | undefined;
|
|
225
233
|
birthDate?: string | undefined;
|
|
234
|
+
shouldChangePassword?: boolean | undefined;
|
|
226
235
|
editedBy?: string | undefined;
|
|
227
236
|
createdAt?: string | undefined;
|
|
228
237
|
updatedAt?: string | undefined;
|
|
@@ -272,6 +281,7 @@ declare const zBStudent: z.ZodObject<{
|
|
|
272
281
|
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
273
282
|
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
274
283
|
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
284
|
+
shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
|
|
275
285
|
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
276
286
|
guardian: z.ZodOptional<z.ZodString>;
|
|
277
287
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -289,6 +299,7 @@ declare const zBStudent: z.ZodObject<{
|
|
|
289
299
|
country?: string | undefined;
|
|
290
300
|
phoneNumber?: string | undefined;
|
|
291
301
|
birthDate?: string | undefined;
|
|
302
|
+
shouldChangePassword?: boolean | undefined;
|
|
292
303
|
guardian?: string | undefined;
|
|
293
304
|
}, {
|
|
294
305
|
rank: GoRank;
|
|
@@ -305,6 +316,7 @@ declare const zBStudent: z.ZodObject<{
|
|
|
305
316
|
country?: string | undefined;
|
|
306
317
|
phoneNumber?: string | undefined;
|
|
307
318
|
birthDate?: string | undefined;
|
|
319
|
+
shouldChangePassword?: boolean | undefined;
|
|
308
320
|
guardian?: string | undefined;
|
|
309
321
|
}>;
|
|
310
322
|
declare const zStudent: z.ZodObject<{
|
|
@@ -330,6 +342,7 @@ declare const zStudent: z.ZodObject<{
|
|
|
330
342
|
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
331
343
|
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
332
344
|
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
345
|
+
shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
|
|
333
346
|
guardian: z.ZodOptional<z.ZodString>;
|
|
334
347
|
_id: z.ZodString;
|
|
335
348
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
@@ -351,6 +364,7 @@ declare const zStudent: z.ZodObject<{
|
|
|
351
364
|
country?: string | undefined;
|
|
352
365
|
phoneNumber?: string | undefined;
|
|
353
366
|
birthDate?: string | undefined;
|
|
367
|
+
shouldChangePassword?: boolean | undefined;
|
|
354
368
|
guardian?: string | undefined;
|
|
355
369
|
editedBy?: string | undefined;
|
|
356
370
|
createdAt?: string | undefined;
|
|
@@ -371,6 +385,7 @@ declare const zStudent: z.ZodObject<{
|
|
|
371
385
|
country?: string | undefined;
|
|
372
386
|
phoneNumber?: string | undefined;
|
|
373
387
|
birthDate?: string | undefined;
|
|
388
|
+
shouldChangePassword?: boolean | undefined;
|
|
374
389
|
guardian?: string | undefined;
|
|
375
390
|
editedBy?: string | undefined;
|
|
376
391
|
createdAt?: string | undefined;
|
|
@@ -401,12 +416,12 @@ declare const zBTeacher: z.ZodObject<{
|
|
|
401
416
|
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
402
417
|
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
403
418
|
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
419
|
+
shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
|
|
404
420
|
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
405
421
|
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
406
422
|
title: z.ZodOptional<z.ZodString>;
|
|
407
423
|
bio: z.ZodOptional<z.ZodString>;
|
|
408
424
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
409
|
-
shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
|
|
410
425
|
}, "strip", z.ZodTypeAny, {
|
|
411
426
|
rank: GoRank;
|
|
412
427
|
name: string;
|
|
@@ -422,11 +437,11 @@ declare const zBTeacher: z.ZodObject<{
|
|
|
422
437
|
country?: string | undefined;
|
|
423
438
|
phoneNumber?: string | undefined;
|
|
424
439
|
birthDate?: string | undefined;
|
|
440
|
+
shouldChangePassword?: boolean | undefined;
|
|
425
441
|
isInactive?: boolean | undefined;
|
|
426
442
|
title?: string | undefined;
|
|
427
443
|
bio?: string | undefined;
|
|
428
444
|
available?: number[][][] | undefined;
|
|
429
|
-
shouldChangePassword?: boolean | undefined;
|
|
430
445
|
}, {
|
|
431
446
|
rank: GoRank;
|
|
432
447
|
name: string;
|
|
@@ -442,11 +457,11 @@ declare const zBTeacher: z.ZodObject<{
|
|
|
442
457
|
country?: string | undefined;
|
|
443
458
|
phoneNumber?: string | undefined;
|
|
444
459
|
birthDate?: string | undefined;
|
|
460
|
+
shouldChangePassword?: boolean | undefined;
|
|
445
461
|
isInactive?: boolean | undefined;
|
|
446
462
|
title?: string | undefined;
|
|
447
463
|
bio?: string | undefined;
|
|
448
464
|
available?: number[][][] | undefined;
|
|
449
|
-
shouldChangePassword?: boolean | undefined;
|
|
450
465
|
}>;
|
|
451
466
|
declare const zTeacher: z.ZodObject<{
|
|
452
467
|
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
@@ -471,11 +486,11 @@ declare const zTeacher: z.ZodObject<{
|
|
|
471
486
|
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
472
487
|
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
473
488
|
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
489
|
+
shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
|
|
474
490
|
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
475
491
|
title: z.ZodOptional<z.ZodString>;
|
|
476
492
|
bio: z.ZodOptional<z.ZodString>;
|
|
477
493
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
478
|
-
shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
|
|
479
494
|
_id: z.ZodString;
|
|
480
495
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
481
496
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -496,11 +511,11 @@ declare const zTeacher: z.ZodObject<{
|
|
|
496
511
|
country?: string | undefined;
|
|
497
512
|
phoneNumber?: string | undefined;
|
|
498
513
|
birthDate?: string | undefined;
|
|
514
|
+
shouldChangePassword?: boolean | undefined;
|
|
499
515
|
isInactive?: boolean | undefined;
|
|
500
516
|
title?: string | undefined;
|
|
501
517
|
bio?: string | undefined;
|
|
502
518
|
available?: number[][][] | undefined;
|
|
503
|
-
shouldChangePassword?: boolean | undefined;
|
|
504
519
|
editedBy?: string | undefined;
|
|
505
520
|
createdAt?: string | undefined;
|
|
506
521
|
updatedAt?: string | undefined;
|
|
@@ -520,11 +535,11 @@ declare const zTeacher: z.ZodObject<{
|
|
|
520
535
|
country?: string | undefined;
|
|
521
536
|
phoneNumber?: string | undefined;
|
|
522
537
|
birthDate?: string | undefined;
|
|
538
|
+
shouldChangePassword?: boolean | undefined;
|
|
523
539
|
isInactive?: boolean | undefined;
|
|
524
540
|
title?: string | undefined;
|
|
525
541
|
bio?: string | undefined;
|
|
526
542
|
available?: number[][][] | undefined;
|
|
527
|
-
shouldChangePassword?: boolean | undefined;
|
|
528
543
|
editedBy?: string | undefined;
|
|
529
544
|
createdAt?: string | undefined;
|
|
530
545
|
updatedAt?: string | undefined;
|
|
@@ -539,11 +554,11 @@ declare const zTeacherResponse: z.ZodObject<{
|
|
|
539
554
|
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
540
555
|
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
541
556
|
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
557
|
+
shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
|
|
542
558
|
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
543
559
|
title: z.ZodOptional<z.ZodString>;
|
|
544
560
|
bio: z.ZodOptional<z.ZodString>;
|
|
545
561
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
546
|
-
shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
|
|
547
562
|
role: z.ZodString;
|
|
548
563
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
549
564
|
rank: GoRank;
|
|
@@ -556,11 +571,11 @@ declare const zTeacherResponse: z.ZodObject<{
|
|
|
556
571
|
country?: string | undefined;
|
|
557
572
|
phoneNumber?: string | undefined;
|
|
558
573
|
birthDate?: string | undefined;
|
|
574
|
+
shouldChangePassword?: boolean | undefined;
|
|
559
575
|
isInactive?: boolean | undefined;
|
|
560
576
|
title?: string | undefined;
|
|
561
577
|
bio?: string | undefined;
|
|
562
578
|
available?: number[][][] | undefined;
|
|
563
|
-
shouldChangePassword?: boolean | undefined;
|
|
564
579
|
}, {
|
|
565
580
|
rank: GoRank;
|
|
566
581
|
_id: string;
|
|
@@ -572,11 +587,11 @@ declare const zTeacherResponse: z.ZodObject<{
|
|
|
572
587
|
country?: string | undefined;
|
|
573
588
|
phoneNumber?: string | undefined;
|
|
574
589
|
birthDate?: string | undefined;
|
|
590
|
+
shouldChangePassword?: boolean | undefined;
|
|
575
591
|
isInactive?: boolean | undefined;
|
|
576
592
|
title?: string | undefined;
|
|
577
593
|
bio?: string | undefined;
|
|
578
594
|
available?: number[][][] | undefined;
|
|
579
|
-
shouldChangePassword?: boolean | undefined;
|
|
580
595
|
}>;
|
|
581
596
|
type BTeacher = z.infer<typeof zBTeacher>;
|
|
582
597
|
type Teacher = z.infer<typeof zTeacher>;
|
|
@@ -770,6 +785,7 @@ declare const zAttendanceResponse: z.ZodObject<{
|
|
|
770
785
|
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
771
786
|
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
772
787
|
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
788
|
+
shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
|
|
773
789
|
guardian: z.ZodOptional<z.ZodString>;
|
|
774
790
|
_id: z.ZodString;
|
|
775
791
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
@@ -791,6 +807,7 @@ declare const zAttendanceResponse: z.ZodObject<{
|
|
|
791
807
|
country?: string | undefined;
|
|
792
808
|
phoneNumber?: string | undefined;
|
|
793
809
|
birthDate?: string | undefined;
|
|
810
|
+
shouldChangePassword?: boolean | undefined;
|
|
794
811
|
guardian?: string | undefined;
|
|
795
812
|
editedBy?: string | undefined;
|
|
796
813
|
createdAt?: string | undefined;
|
|
@@ -811,6 +828,7 @@ declare const zAttendanceResponse: z.ZodObject<{
|
|
|
811
828
|
country?: string | undefined;
|
|
812
829
|
phoneNumber?: string | undefined;
|
|
813
830
|
birthDate?: string | undefined;
|
|
831
|
+
shouldChangePassword?: boolean | undefined;
|
|
814
832
|
guardian?: string | undefined;
|
|
815
833
|
editedBy?: string | undefined;
|
|
816
834
|
createdAt?: string | undefined;
|
|
@@ -834,6 +852,7 @@ declare const zAttendanceResponse: z.ZodObject<{
|
|
|
834
852
|
country?: string | undefined;
|
|
835
853
|
phoneNumber?: string | undefined;
|
|
836
854
|
birthDate?: string | undefined;
|
|
855
|
+
shouldChangePassword?: boolean | undefined;
|
|
837
856
|
guardian?: string | undefined;
|
|
838
857
|
editedBy?: string | undefined;
|
|
839
858
|
createdAt?: string | undefined;
|
|
@@ -868,6 +887,7 @@ declare const zAttendanceResponse: z.ZodObject<{
|
|
|
868
887
|
country?: string | undefined;
|
|
869
888
|
phoneNumber?: string | undefined;
|
|
870
889
|
birthDate?: string | undefined;
|
|
890
|
+
shouldChangePassword?: boolean | undefined;
|
|
871
891
|
guardian?: string | undefined;
|
|
872
892
|
editedBy?: string | undefined;
|
|
873
893
|
createdAt?: string | undefined;
|
|
@@ -1787,6 +1807,7 @@ declare const zInvoicePackageResponse: z.ZodObject<{
|
|
|
1787
1807
|
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1788
1808
|
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1789
1809
|
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1810
|
+
shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
|
|
1790
1811
|
guardian: z.ZodOptional<z.ZodString>;
|
|
1791
1812
|
_id: z.ZodString;
|
|
1792
1813
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
@@ -1808,6 +1829,7 @@ declare const zInvoicePackageResponse: z.ZodObject<{
|
|
|
1808
1829
|
country?: string | undefined;
|
|
1809
1830
|
phoneNumber?: string | undefined;
|
|
1810
1831
|
birthDate?: string | undefined;
|
|
1832
|
+
shouldChangePassword?: boolean | undefined;
|
|
1811
1833
|
guardian?: string | undefined;
|
|
1812
1834
|
editedBy?: string | undefined;
|
|
1813
1835
|
createdAt?: string | undefined;
|
|
@@ -1828,6 +1850,7 @@ declare const zInvoicePackageResponse: z.ZodObject<{
|
|
|
1828
1850
|
country?: string | undefined;
|
|
1829
1851
|
phoneNumber?: string | undefined;
|
|
1830
1852
|
birthDate?: string | undefined;
|
|
1853
|
+
shouldChangePassword?: boolean | undefined;
|
|
1831
1854
|
guardian?: string | undefined;
|
|
1832
1855
|
editedBy?: string | undefined;
|
|
1833
1856
|
createdAt?: string | undefined;
|
|
@@ -1850,6 +1873,7 @@ declare const zInvoicePackageResponse: z.ZodObject<{
|
|
|
1850
1873
|
country?: string | undefined;
|
|
1851
1874
|
phoneNumber?: string | undefined;
|
|
1852
1875
|
birthDate?: string | undefined;
|
|
1876
|
+
shouldChangePassword?: boolean | undefined;
|
|
1853
1877
|
guardian?: string | undefined;
|
|
1854
1878
|
editedBy?: string | undefined;
|
|
1855
1879
|
createdAt?: string | undefined;
|
|
@@ -1877,6 +1901,7 @@ declare const zInvoicePackageResponse: z.ZodObject<{
|
|
|
1877
1901
|
country?: string | undefined;
|
|
1878
1902
|
phoneNumber?: string | undefined;
|
|
1879
1903
|
birthDate?: string | undefined;
|
|
1904
|
+
shouldChangePassword?: boolean | undefined;
|
|
1880
1905
|
guardian?: string | undefined;
|
|
1881
1906
|
editedBy?: string | undefined;
|
|
1882
1907
|
createdAt?: string | undefined;
|
|
@@ -2128,11 +2153,11 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2128
2153
|
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
2129
2154
|
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
2130
2155
|
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
2156
|
+
shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
|
|
2131
2157
|
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
2132
2158
|
title: z.ZodOptional<z.ZodString>;
|
|
2133
2159
|
bio: z.ZodOptional<z.ZodString>;
|
|
2134
2160
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
2135
|
-
shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
|
|
2136
2161
|
_id: z.ZodString;
|
|
2137
2162
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
2138
2163
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -2153,11 +2178,11 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2153
2178
|
country?: string | undefined;
|
|
2154
2179
|
phoneNumber?: string | undefined;
|
|
2155
2180
|
birthDate?: string | undefined;
|
|
2181
|
+
shouldChangePassword?: boolean | undefined;
|
|
2156
2182
|
isInactive?: boolean | undefined;
|
|
2157
2183
|
title?: string | undefined;
|
|
2158
2184
|
bio?: string | undefined;
|
|
2159
2185
|
available?: number[][][] | undefined;
|
|
2160
|
-
shouldChangePassword?: boolean | undefined;
|
|
2161
2186
|
editedBy?: string | undefined;
|
|
2162
2187
|
createdAt?: string | undefined;
|
|
2163
2188
|
updatedAt?: string | undefined;
|
|
@@ -2177,11 +2202,11 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2177
2202
|
country?: string | undefined;
|
|
2178
2203
|
phoneNumber?: string | undefined;
|
|
2179
2204
|
birthDate?: string | undefined;
|
|
2205
|
+
shouldChangePassword?: boolean | undefined;
|
|
2180
2206
|
isInactive?: boolean | undefined;
|
|
2181
2207
|
title?: string | undefined;
|
|
2182
2208
|
bio?: string | undefined;
|
|
2183
2209
|
available?: number[][][] | undefined;
|
|
2184
|
-
shouldChangePassword?: boolean | undefined;
|
|
2185
2210
|
editedBy?: string | undefined;
|
|
2186
2211
|
createdAt?: string | undefined;
|
|
2187
2212
|
updatedAt?: string | undefined;
|
|
@@ -2209,11 +2234,11 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2209
2234
|
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
2210
2235
|
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
2211
2236
|
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
2237
|
+
shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
|
|
2212
2238
|
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
2213
2239
|
title: z.ZodOptional<z.ZodString>;
|
|
2214
2240
|
bio: z.ZodOptional<z.ZodString>;
|
|
2215
2241
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
2216
|
-
shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
|
|
2217
2242
|
_id: z.ZodString;
|
|
2218
2243
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
2219
2244
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -2234,11 +2259,11 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2234
2259
|
country?: string | undefined;
|
|
2235
2260
|
phoneNumber?: string | undefined;
|
|
2236
2261
|
birthDate?: string | undefined;
|
|
2262
|
+
shouldChangePassword?: boolean | undefined;
|
|
2237
2263
|
isInactive?: boolean | undefined;
|
|
2238
2264
|
title?: string | undefined;
|
|
2239
2265
|
bio?: string | undefined;
|
|
2240
2266
|
available?: number[][][] | undefined;
|
|
2241
|
-
shouldChangePassword?: boolean | undefined;
|
|
2242
2267
|
editedBy?: string | undefined;
|
|
2243
2268
|
createdAt?: string | undefined;
|
|
2244
2269
|
updatedAt?: string | undefined;
|
|
@@ -2258,11 +2283,11 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2258
2283
|
country?: string | undefined;
|
|
2259
2284
|
phoneNumber?: string | undefined;
|
|
2260
2285
|
birthDate?: string | undefined;
|
|
2286
|
+
shouldChangePassword?: boolean | undefined;
|
|
2261
2287
|
isInactive?: boolean | undefined;
|
|
2262
2288
|
title?: string | undefined;
|
|
2263
2289
|
bio?: string | undefined;
|
|
2264
2290
|
available?: number[][][] | undefined;
|
|
2265
|
-
shouldChangePassword?: boolean | undefined;
|
|
2266
2291
|
editedBy?: string | undefined;
|
|
2267
2292
|
createdAt?: string | undefined;
|
|
2268
2293
|
updatedAt?: string | undefined;
|
|
@@ -2304,6 +2329,7 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2304
2329
|
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
2305
2330
|
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
2306
2331
|
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
2332
|
+
shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
|
|
2307
2333
|
guardian: z.ZodOptional<z.ZodString>;
|
|
2308
2334
|
_id: z.ZodString;
|
|
2309
2335
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
@@ -2325,6 +2351,7 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2325
2351
|
country?: string | undefined;
|
|
2326
2352
|
phoneNumber?: string | undefined;
|
|
2327
2353
|
birthDate?: string | undefined;
|
|
2354
|
+
shouldChangePassword?: boolean | undefined;
|
|
2328
2355
|
guardian?: string | undefined;
|
|
2329
2356
|
editedBy?: string | undefined;
|
|
2330
2357
|
createdAt?: string | undefined;
|
|
@@ -2345,6 +2372,7 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2345
2372
|
country?: string | undefined;
|
|
2346
2373
|
phoneNumber?: string | undefined;
|
|
2347
2374
|
birthDate?: string | undefined;
|
|
2375
|
+
shouldChangePassword?: boolean | undefined;
|
|
2348
2376
|
guardian?: string | undefined;
|
|
2349
2377
|
editedBy?: string | undefined;
|
|
2350
2378
|
createdAt?: string | undefined;
|
|
@@ -2367,6 +2395,7 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2367
2395
|
country?: string | undefined;
|
|
2368
2396
|
phoneNumber?: string | undefined;
|
|
2369
2397
|
birthDate?: string | undefined;
|
|
2398
|
+
shouldChangePassword?: boolean | undefined;
|
|
2370
2399
|
guardian?: string | undefined;
|
|
2371
2400
|
editedBy?: string | undefined;
|
|
2372
2401
|
createdAt?: string | undefined;
|
|
@@ -2394,6 +2423,7 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2394
2423
|
country?: string | undefined;
|
|
2395
2424
|
phoneNumber?: string | undefined;
|
|
2396
2425
|
birthDate?: string | undefined;
|
|
2426
|
+
shouldChangePassword?: boolean | undefined;
|
|
2397
2427
|
guardian?: string | undefined;
|
|
2398
2428
|
editedBy?: string | undefined;
|
|
2399
2429
|
createdAt?: string | undefined;
|
|
@@ -2425,6 +2455,7 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2425
2455
|
country?: string | undefined;
|
|
2426
2456
|
phoneNumber?: string | undefined;
|
|
2427
2457
|
birthDate?: string | undefined;
|
|
2458
|
+
shouldChangePassword?: boolean | undefined;
|
|
2428
2459
|
guardian?: string | undefined;
|
|
2429
2460
|
editedBy?: string | undefined;
|
|
2430
2461
|
createdAt?: string | undefined;
|
|
@@ -2456,11 +2487,11 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2456
2487
|
country?: string | undefined;
|
|
2457
2488
|
phoneNumber?: string | undefined;
|
|
2458
2489
|
birthDate?: string | undefined;
|
|
2490
|
+
shouldChangePassword?: boolean | undefined;
|
|
2459
2491
|
isInactive?: boolean | undefined;
|
|
2460
2492
|
title?: string | undefined;
|
|
2461
2493
|
bio?: string | undefined;
|
|
2462
2494
|
available?: number[][][] | undefined;
|
|
2463
|
-
shouldChangePassword?: boolean | undefined;
|
|
2464
2495
|
editedBy?: string | undefined;
|
|
2465
2496
|
createdAt?: string | undefined;
|
|
2466
2497
|
updatedAt?: string | undefined;
|
|
@@ -2489,11 +2520,11 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2489
2520
|
country?: string | undefined;
|
|
2490
2521
|
phoneNumber?: string | undefined;
|
|
2491
2522
|
birthDate?: string | undefined;
|
|
2523
|
+
shouldChangePassword?: boolean | undefined;
|
|
2492
2524
|
isInactive?: boolean | undefined;
|
|
2493
2525
|
title?: string | undefined;
|
|
2494
2526
|
bio?: string | undefined;
|
|
2495
2527
|
available?: number[][][] | undefined;
|
|
2496
|
-
shouldChangePassword?: boolean | undefined;
|
|
2497
2528
|
editedBy?: string | undefined;
|
|
2498
2529
|
createdAt?: string | undefined;
|
|
2499
2530
|
updatedAt?: string | undefined;
|
|
@@ -2518,6 +2549,7 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2518
2549
|
country?: string | undefined;
|
|
2519
2550
|
phoneNumber?: string | undefined;
|
|
2520
2551
|
birthDate?: string | undefined;
|
|
2552
|
+
shouldChangePassword?: boolean | undefined;
|
|
2521
2553
|
guardian?: string | undefined;
|
|
2522
2554
|
editedBy?: string | undefined;
|
|
2523
2555
|
createdAt?: string | undefined;
|
|
@@ -2549,11 +2581,11 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2549
2581
|
country?: string | undefined;
|
|
2550
2582
|
phoneNumber?: string | undefined;
|
|
2551
2583
|
birthDate?: string | undefined;
|
|
2584
|
+
shouldChangePassword?: boolean | undefined;
|
|
2552
2585
|
isInactive?: boolean | undefined;
|
|
2553
2586
|
title?: string | undefined;
|
|
2554
2587
|
bio?: string | undefined;
|
|
2555
2588
|
available?: number[][][] | undefined;
|
|
2556
|
-
shouldChangePassword?: boolean | undefined;
|
|
2557
2589
|
editedBy?: string | undefined;
|
|
2558
2590
|
createdAt?: string | undefined;
|
|
2559
2591
|
updatedAt?: string | undefined;
|
|
@@ -2582,11 +2614,11 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2582
2614
|
country?: string | undefined;
|
|
2583
2615
|
phoneNumber?: string | undefined;
|
|
2584
2616
|
birthDate?: string | undefined;
|
|
2617
|
+
shouldChangePassword?: boolean | undefined;
|
|
2585
2618
|
isInactive?: boolean | undefined;
|
|
2586
2619
|
title?: string | undefined;
|
|
2587
2620
|
bio?: string | undefined;
|
|
2588
2621
|
available?: number[][][] | undefined;
|
|
2589
|
-
shouldChangePassword?: boolean | undefined;
|
|
2590
2622
|
editedBy?: string | undefined;
|
|
2591
2623
|
createdAt?: string | undefined;
|
|
2592
2624
|
updatedAt?: string | undefined;
|
|
@@ -2754,11 +2786,11 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
|
|
|
2754
2786
|
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
2755
2787
|
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
2756
2788
|
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
2789
|
+
shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
|
|
2757
2790
|
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
2758
2791
|
title: z.ZodOptional<z.ZodString>;
|
|
2759
2792
|
bio: z.ZodOptional<z.ZodString>;
|
|
2760
2793
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
2761
|
-
shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
|
|
2762
2794
|
_id: z.ZodString;
|
|
2763
2795
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
2764
2796
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -2779,11 +2811,11 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
|
|
|
2779
2811
|
country?: string | undefined;
|
|
2780
2812
|
phoneNumber?: string | undefined;
|
|
2781
2813
|
birthDate?: string | undefined;
|
|
2814
|
+
shouldChangePassword?: boolean | undefined;
|
|
2782
2815
|
isInactive?: boolean | undefined;
|
|
2783
2816
|
title?: string | undefined;
|
|
2784
2817
|
bio?: string | undefined;
|
|
2785
2818
|
available?: number[][][] | undefined;
|
|
2786
|
-
shouldChangePassword?: boolean | undefined;
|
|
2787
2819
|
editedBy?: string | undefined;
|
|
2788
2820
|
createdAt?: string | undefined;
|
|
2789
2821
|
updatedAt?: string | undefined;
|
|
@@ -2803,11 +2835,11 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
|
|
|
2803
2835
|
country?: string | undefined;
|
|
2804
2836
|
phoneNumber?: string | undefined;
|
|
2805
2837
|
birthDate?: string | undefined;
|
|
2838
|
+
shouldChangePassword?: boolean | undefined;
|
|
2806
2839
|
isInactive?: boolean | undefined;
|
|
2807
2840
|
title?: string | undefined;
|
|
2808
2841
|
bio?: string | undefined;
|
|
2809
2842
|
available?: number[][][] | undefined;
|
|
2810
|
-
shouldChangePassword?: boolean | undefined;
|
|
2811
2843
|
editedBy?: string | undefined;
|
|
2812
2844
|
createdAt?: string | undefined;
|
|
2813
2845
|
updatedAt?: string | undefined;
|
|
@@ -2830,11 +2862,11 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
|
|
|
2830
2862
|
country?: string | undefined;
|
|
2831
2863
|
phoneNumber?: string | undefined;
|
|
2832
2864
|
birthDate?: string | undefined;
|
|
2865
|
+
shouldChangePassword?: boolean | undefined;
|
|
2833
2866
|
isInactive?: boolean | undefined;
|
|
2834
2867
|
title?: string | undefined;
|
|
2835
2868
|
bio?: string | undefined;
|
|
2836
2869
|
available?: number[][][] | undefined;
|
|
2837
|
-
shouldChangePassword?: boolean | undefined;
|
|
2838
2870
|
editedBy?: string | undefined;
|
|
2839
2871
|
createdAt?: string | undefined;
|
|
2840
2872
|
updatedAt?: string | undefined;
|
|
@@ -2867,11 +2899,11 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
|
|
|
2867
2899
|
country?: string | undefined;
|
|
2868
2900
|
phoneNumber?: string | undefined;
|
|
2869
2901
|
birthDate?: string | undefined;
|
|
2902
|
+
shouldChangePassword?: boolean | undefined;
|
|
2870
2903
|
isInactive?: boolean | undefined;
|
|
2871
2904
|
title?: string | undefined;
|
|
2872
2905
|
bio?: string | undefined;
|
|
2873
2906
|
available?: number[][][] | undefined;
|
|
2874
|
-
shouldChangePassword?: boolean | undefined;
|
|
2875
2907
|
editedBy?: string | undefined;
|
|
2876
2908
|
createdAt?: string | undefined;
|
|
2877
2909
|
updatedAt?: string | undefined;
|
|
@@ -3071,6 +3103,7 @@ declare const zReportTicketResponse: z.ZodObject<{
|
|
|
3071
3103
|
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
3072
3104
|
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
3073
3105
|
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
3106
|
+
shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
|
|
3074
3107
|
_id: z.ZodString;
|
|
3075
3108
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
3076
3109
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -3090,6 +3123,7 @@ declare const zReportTicketResponse: z.ZodObject<{
|
|
|
3090
3123
|
country?: string | undefined;
|
|
3091
3124
|
phoneNumber?: string | undefined;
|
|
3092
3125
|
birthDate?: string | undefined;
|
|
3126
|
+
shouldChangePassword?: boolean | undefined;
|
|
3093
3127
|
editedBy?: string | undefined;
|
|
3094
3128
|
createdAt?: string | undefined;
|
|
3095
3129
|
updatedAt?: string | undefined;
|
|
@@ -3108,6 +3142,7 @@ declare const zReportTicketResponse: z.ZodObject<{
|
|
|
3108
3142
|
country?: string | undefined;
|
|
3109
3143
|
phoneNumber?: string | undefined;
|
|
3110
3144
|
birthDate?: string | undefined;
|
|
3145
|
+
shouldChangePassword?: boolean | undefined;
|
|
3111
3146
|
editedBy?: string | undefined;
|
|
3112
3147
|
createdAt?: string | undefined;
|
|
3113
3148
|
updatedAt?: string | undefined;
|
|
@@ -3134,6 +3169,7 @@ declare const zReportTicketResponse: z.ZodObject<{
|
|
|
3134
3169
|
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
3135
3170
|
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
3136
3171
|
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
3172
|
+
shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
|
|
3137
3173
|
_id: z.ZodString;
|
|
3138
3174
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
3139
3175
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -3153,6 +3189,7 @@ declare const zReportTicketResponse: z.ZodObject<{
|
|
|
3153
3189
|
country?: string | undefined;
|
|
3154
3190
|
phoneNumber?: string | undefined;
|
|
3155
3191
|
birthDate?: string | undefined;
|
|
3192
|
+
shouldChangePassword?: boolean | undefined;
|
|
3156
3193
|
editedBy?: string | undefined;
|
|
3157
3194
|
createdAt?: string | undefined;
|
|
3158
3195
|
updatedAt?: string | undefined;
|
|
@@ -3171,6 +3208,7 @@ declare const zReportTicketResponse: z.ZodObject<{
|
|
|
3171
3208
|
country?: string | undefined;
|
|
3172
3209
|
phoneNumber?: string | undefined;
|
|
3173
3210
|
birthDate?: string | undefined;
|
|
3211
|
+
shouldChangePassword?: boolean | undefined;
|
|
3174
3212
|
editedBy?: string | undefined;
|
|
3175
3213
|
createdAt?: string | undefined;
|
|
3176
3214
|
updatedAt?: string | undefined;
|
|
@@ -3195,6 +3233,7 @@ declare const zReportTicketResponse: z.ZodObject<{
|
|
|
3195
3233
|
country?: string | undefined;
|
|
3196
3234
|
phoneNumber?: string | undefined;
|
|
3197
3235
|
birthDate?: string | undefined;
|
|
3236
|
+
shouldChangePassword?: boolean | undefined;
|
|
3198
3237
|
editedBy?: string | undefined;
|
|
3199
3238
|
createdAt?: string | undefined;
|
|
3200
3239
|
updatedAt?: string | undefined;
|
|
@@ -3217,6 +3256,7 @@ declare const zReportTicketResponse: z.ZodObject<{
|
|
|
3217
3256
|
country?: string | undefined;
|
|
3218
3257
|
phoneNumber?: string | undefined;
|
|
3219
3258
|
birthDate?: string | undefined;
|
|
3259
|
+
shouldChangePassword?: boolean | undefined;
|
|
3220
3260
|
editedBy?: string | undefined;
|
|
3221
3261
|
createdAt?: string | undefined;
|
|
3222
3262
|
updatedAt?: string | undefined;
|
|
@@ -3241,6 +3281,7 @@ declare const zReportTicketResponse: z.ZodObject<{
|
|
|
3241
3281
|
country?: string | undefined;
|
|
3242
3282
|
phoneNumber?: string | undefined;
|
|
3243
3283
|
birthDate?: string | undefined;
|
|
3284
|
+
shouldChangePassword?: boolean | undefined;
|
|
3244
3285
|
editedBy?: string | undefined;
|
|
3245
3286
|
createdAt?: string | undefined;
|
|
3246
3287
|
updatedAt?: string | undefined;
|
|
@@ -3263,6 +3304,7 @@ declare const zReportTicketResponse: z.ZodObject<{
|
|
|
3263
3304
|
country?: string | undefined;
|
|
3264
3305
|
phoneNumber?: string | undefined;
|
|
3265
3306
|
birthDate?: string | undefined;
|
|
3307
|
+
shouldChangePassword?: boolean | undefined;
|
|
3266
3308
|
editedBy?: string | undefined;
|
|
3267
3309
|
createdAt?: string | undefined;
|
|
3268
3310
|
updatedAt?: string | undefined;
|
package/index.d.ts
CHANGED
|
@@ -135,6 +135,10 @@ declare const zBUser: z.ZodObject<{
|
|
|
135
135
|
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
136
136
|
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
137
137
|
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
138
|
+
/**
|
|
139
|
+
* For prompting the user to change their password on first login
|
|
140
|
+
*/
|
|
141
|
+
shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
|
|
138
142
|
}, "strip", z.ZodTypeAny, {
|
|
139
143
|
name: string;
|
|
140
144
|
username?: string | undefined;
|
|
@@ -149,6 +153,7 @@ declare const zBUser: z.ZodObject<{
|
|
|
149
153
|
country?: string | undefined;
|
|
150
154
|
phoneNumber?: string | undefined;
|
|
151
155
|
birthDate?: string | undefined;
|
|
156
|
+
shouldChangePassword?: boolean | undefined;
|
|
152
157
|
}, {
|
|
153
158
|
name: string;
|
|
154
159
|
username?: string | undefined;
|
|
@@ -163,6 +168,7 @@ declare const zBUser: z.ZodObject<{
|
|
|
163
168
|
country?: string | undefined;
|
|
164
169
|
phoneNumber?: string | undefined;
|
|
165
170
|
birthDate?: string | undefined;
|
|
171
|
+
shouldChangePassword?: boolean | undefined;
|
|
166
172
|
}>;
|
|
167
173
|
declare const zUser: z.ZodObject<{
|
|
168
174
|
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
@@ -186,6 +192,7 @@ declare const zUser: z.ZodObject<{
|
|
|
186
192
|
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
187
193
|
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
188
194
|
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
195
|
+
shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
|
|
189
196
|
_id: z.ZodString;
|
|
190
197
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
191
198
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -205,6 +212,7 @@ declare const zUser: z.ZodObject<{
|
|
|
205
212
|
country?: string | undefined;
|
|
206
213
|
phoneNumber?: string | undefined;
|
|
207
214
|
birthDate?: string | undefined;
|
|
215
|
+
shouldChangePassword?: boolean | undefined;
|
|
208
216
|
editedBy?: string | undefined;
|
|
209
217
|
createdAt?: string | undefined;
|
|
210
218
|
updatedAt?: string | undefined;
|
|
@@ -223,6 +231,7 @@ declare const zUser: z.ZodObject<{
|
|
|
223
231
|
country?: string | undefined;
|
|
224
232
|
phoneNumber?: string | undefined;
|
|
225
233
|
birthDate?: string | undefined;
|
|
234
|
+
shouldChangePassword?: boolean | undefined;
|
|
226
235
|
editedBy?: string | undefined;
|
|
227
236
|
createdAt?: string | undefined;
|
|
228
237
|
updatedAt?: string | undefined;
|
|
@@ -272,6 +281,7 @@ declare const zBStudent: z.ZodObject<{
|
|
|
272
281
|
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
273
282
|
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
274
283
|
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
284
|
+
shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
|
|
275
285
|
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
276
286
|
guardian: z.ZodOptional<z.ZodString>;
|
|
277
287
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -289,6 +299,7 @@ declare const zBStudent: z.ZodObject<{
|
|
|
289
299
|
country?: string | undefined;
|
|
290
300
|
phoneNumber?: string | undefined;
|
|
291
301
|
birthDate?: string | undefined;
|
|
302
|
+
shouldChangePassword?: boolean | undefined;
|
|
292
303
|
guardian?: string | undefined;
|
|
293
304
|
}, {
|
|
294
305
|
rank: GoRank;
|
|
@@ -305,6 +316,7 @@ declare const zBStudent: z.ZodObject<{
|
|
|
305
316
|
country?: string | undefined;
|
|
306
317
|
phoneNumber?: string | undefined;
|
|
307
318
|
birthDate?: string | undefined;
|
|
319
|
+
shouldChangePassword?: boolean | undefined;
|
|
308
320
|
guardian?: string | undefined;
|
|
309
321
|
}>;
|
|
310
322
|
declare const zStudent: z.ZodObject<{
|
|
@@ -330,6 +342,7 @@ declare const zStudent: z.ZodObject<{
|
|
|
330
342
|
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
331
343
|
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
332
344
|
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
345
|
+
shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
|
|
333
346
|
guardian: z.ZodOptional<z.ZodString>;
|
|
334
347
|
_id: z.ZodString;
|
|
335
348
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
@@ -351,6 +364,7 @@ declare const zStudent: z.ZodObject<{
|
|
|
351
364
|
country?: string | undefined;
|
|
352
365
|
phoneNumber?: string | undefined;
|
|
353
366
|
birthDate?: string | undefined;
|
|
367
|
+
shouldChangePassword?: boolean | undefined;
|
|
354
368
|
guardian?: string | undefined;
|
|
355
369
|
editedBy?: string | undefined;
|
|
356
370
|
createdAt?: string | undefined;
|
|
@@ -371,6 +385,7 @@ declare const zStudent: z.ZodObject<{
|
|
|
371
385
|
country?: string | undefined;
|
|
372
386
|
phoneNumber?: string | undefined;
|
|
373
387
|
birthDate?: string | undefined;
|
|
388
|
+
shouldChangePassword?: boolean | undefined;
|
|
374
389
|
guardian?: string | undefined;
|
|
375
390
|
editedBy?: string | undefined;
|
|
376
391
|
createdAt?: string | undefined;
|
|
@@ -401,12 +416,12 @@ declare const zBTeacher: z.ZodObject<{
|
|
|
401
416
|
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
402
417
|
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
403
418
|
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
419
|
+
shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
|
|
404
420
|
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
405
421
|
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
406
422
|
title: z.ZodOptional<z.ZodString>;
|
|
407
423
|
bio: z.ZodOptional<z.ZodString>;
|
|
408
424
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
409
|
-
shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
|
|
410
425
|
}, "strip", z.ZodTypeAny, {
|
|
411
426
|
rank: GoRank;
|
|
412
427
|
name: string;
|
|
@@ -422,11 +437,11 @@ declare const zBTeacher: z.ZodObject<{
|
|
|
422
437
|
country?: string | undefined;
|
|
423
438
|
phoneNumber?: string | undefined;
|
|
424
439
|
birthDate?: string | undefined;
|
|
440
|
+
shouldChangePassword?: boolean | undefined;
|
|
425
441
|
isInactive?: boolean | undefined;
|
|
426
442
|
title?: string | undefined;
|
|
427
443
|
bio?: string | undefined;
|
|
428
444
|
available?: number[][][] | undefined;
|
|
429
|
-
shouldChangePassword?: boolean | undefined;
|
|
430
445
|
}, {
|
|
431
446
|
rank: GoRank;
|
|
432
447
|
name: string;
|
|
@@ -442,11 +457,11 @@ declare const zBTeacher: z.ZodObject<{
|
|
|
442
457
|
country?: string | undefined;
|
|
443
458
|
phoneNumber?: string | undefined;
|
|
444
459
|
birthDate?: string | undefined;
|
|
460
|
+
shouldChangePassword?: boolean | undefined;
|
|
445
461
|
isInactive?: boolean | undefined;
|
|
446
462
|
title?: string | undefined;
|
|
447
463
|
bio?: string | undefined;
|
|
448
464
|
available?: number[][][] | undefined;
|
|
449
|
-
shouldChangePassword?: boolean | undefined;
|
|
450
465
|
}>;
|
|
451
466
|
declare const zTeacher: z.ZodObject<{
|
|
452
467
|
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
@@ -471,11 +486,11 @@ declare const zTeacher: z.ZodObject<{
|
|
|
471
486
|
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
472
487
|
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
473
488
|
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
489
|
+
shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
|
|
474
490
|
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
475
491
|
title: z.ZodOptional<z.ZodString>;
|
|
476
492
|
bio: z.ZodOptional<z.ZodString>;
|
|
477
493
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
478
|
-
shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
|
|
479
494
|
_id: z.ZodString;
|
|
480
495
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
481
496
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -496,11 +511,11 @@ declare const zTeacher: z.ZodObject<{
|
|
|
496
511
|
country?: string | undefined;
|
|
497
512
|
phoneNumber?: string | undefined;
|
|
498
513
|
birthDate?: string | undefined;
|
|
514
|
+
shouldChangePassword?: boolean | undefined;
|
|
499
515
|
isInactive?: boolean | undefined;
|
|
500
516
|
title?: string | undefined;
|
|
501
517
|
bio?: string | undefined;
|
|
502
518
|
available?: number[][][] | undefined;
|
|
503
|
-
shouldChangePassword?: boolean | undefined;
|
|
504
519
|
editedBy?: string | undefined;
|
|
505
520
|
createdAt?: string | undefined;
|
|
506
521
|
updatedAt?: string | undefined;
|
|
@@ -520,11 +535,11 @@ declare const zTeacher: z.ZodObject<{
|
|
|
520
535
|
country?: string | undefined;
|
|
521
536
|
phoneNumber?: string | undefined;
|
|
522
537
|
birthDate?: string | undefined;
|
|
538
|
+
shouldChangePassword?: boolean | undefined;
|
|
523
539
|
isInactive?: boolean | undefined;
|
|
524
540
|
title?: string | undefined;
|
|
525
541
|
bio?: string | undefined;
|
|
526
542
|
available?: number[][][] | undefined;
|
|
527
|
-
shouldChangePassword?: boolean | undefined;
|
|
528
543
|
editedBy?: string | undefined;
|
|
529
544
|
createdAt?: string | undefined;
|
|
530
545
|
updatedAt?: string | undefined;
|
|
@@ -539,11 +554,11 @@ declare const zTeacherResponse: z.ZodObject<{
|
|
|
539
554
|
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
540
555
|
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
541
556
|
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
557
|
+
shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
|
|
542
558
|
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
543
559
|
title: z.ZodOptional<z.ZodString>;
|
|
544
560
|
bio: z.ZodOptional<z.ZodString>;
|
|
545
561
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
546
|
-
shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
|
|
547
562
|
role: z.ZodString;
|
|
548
563
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
549
564
|
rank: GoRank;
|
|
@@ -556,11 +571,11 @@ declare const zTeacherResponse: z.ZodObject<{
|
|
|
556
571
|
country?: string | undefined;
|
|
557
572
|
phoneNumber?: string | undefined;
|
|
558
573
|
birthDate?: string | undefined;
|
|
574
|
+
shouldChangePassword?: boolean | undefined;
|
|
559
575
|
isInactive?: boolean | undefined;
|
|
560
576
|
title?: string | undefined;
|
|
561
577
|
bio?: string | undefined;
|
|
562
578
|
available?: number[][][] | undefined;
|
|
563
|
-
shouldChangePassword?: boolean | undefined;
|
|
564
579
|
}, {
|
|
565
580
|
rank: GoRank;
|
|
566
581
|
_id: string;
|
|
@@ -572,11 +587,11 @@ declare const zTeacherResponse: z.ZodObject<{
|
|
|
572
587
|
country?: string | undefined;
|
|
573
588
|
phoneNumber?: string | undefined;
|
|
574
589
|
birthDate?: string | undefined;
|
|
590
|
+
shouldChangePassword?: boolean | undefined;
|
|
575
591
|
isInactive?: boolean | undefined;
|
|
576
592
|
title?: string | undefined;
|
|
577
593
|
bio?: string | undefined;
|
|
578
594
|
available?: number[][][] | undefined;
|
|
579
|
-
shouldChangePassword?: boolean | undefined;
|
|
580
595
|
}>;
|
|
581
596
|
type BTeacher = z.infer<typeof zBTeacher>;
|
|
582
597
|
type Teacher = z.infer<typeof zTeacher>;
|
|
@@ -770,6 +785,7 @@ declare const zAttendanceResponse: z.ZodObject<{
|
|
|
770
785
|
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
771
786
|
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
772
787
|
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
788
|
+
shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
|
|
773
789
|
guardian: z.ZodOptional<z.ZodString>;
|
|
774
790
|
_id: z.ZodString;
|
|
775
791
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
@@ -791,6 +807,7 @@ declare const zAttendanceResponse: z.ZodObject<{
|
|
|
791
807
|
country?: string | undefined;
|
|
792
808
|
phoneNumber?: string | undefined;
|
|
793
809
|
birthDate?: string | undefined;
|
|
810
|
+
shouldChangePassword?: boolean | undefined;
|
|
794
811
|
guardian?: string | undefined;
|
|
795
812
|
editedBy?: string | undefined;
|
|
796
813
|
createdAt?: string | undefined;
|
|
@@ -811,6 +828,7 @@ declare const zAttendanceResponse: z.ZodObject<{
|
|
|
811
828
|
country?: string | undefined;
|
|
812
829
|
phoneNumber?: string | undefined;
|
|
813
830
|
birthDate?: string | undefined;
|
|
831
|
+
shouldChangePassword?: boolean | undefined;
|
|
814
832
|
guardian?: string | undefined;
|
|
815
833
|
editedBy?: string | undefined;
|
|
816
834
|
createdAt?: string | undefined;
|
|
@@ -834,6 +852,7 @@ declare const zAttendanceResponse: z.ZodObject<{
|
|
|
834
852
|
country?: string | undefined;
|
|
835
853
|
phoneNumber?: string | undefined;
|
|
836
854
|
birthDate?: string | undefined;
|
|
855
|
+
shouldChangePassword?: boolean | undefined;
|
|
837
856
|
guardian?: string | undefined;
|
|
838
857
|
editedBy?: string | undefined;
|
|
839
858
|
createdAt?: string | undefined;
|
|
@@ -868,6 +887,7 @@ declare const zAttendanceResponse: z.ZodObject<{
|
|
|
868
887
|
country?: string | undefined;
|
|
869
888
|
phoneNumber?: string | undefined;
|
|
870
889
|
birthDate?: string | undefined;
|
|
890
|
+
shouldChangePassword?: boolean | undefined;
|
|
871
891
|
guardian?: string | undefined;
|
|
872
892
|
editedBy?: string | undefined;
|
|
873
893
|
createdAt?: string | undefined;
|
|
@@ -1787,6 +1807,7 @@ declare const zInvoicePackageResponse: z.ZodObject<{
|
|
|
1787
1807
|
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1788
1808
|
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1789
1809
|
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1810
|
+
shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
|
|
1790
1811
|
guardian: z.ZodOptional<z.ZodString>;
|
|
1791
1812
|
_id: z.ZodString;
|
|
1792
1813
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
@@ -1808,6 +1829,7 @@ declare const zInvoicePackageResponse: z.ZodObject<{
|
|
|
1808
1829
|
country?: string | undefined;
|
|
1809
1830
|
phoneNumber?: string | undefined;
|
|
1810
1831
|
birthDate?: string | undefined;
|
|
1832
|
+
shouldChangePassword?: boolean | undefined;
|
|
1811
1833
|
guardian?: string | undefined;
|
|
1812
1834
|
editedBy?: string | undefined;
|
|
1813
1835
|
createdAt?: string | undefined;
|
|
@@ -1828,6 +1850,7 @@ declare const zInvoicePackageResponse: z.ZodObject<{
|
|
|
1828
1850
|
country?: string | undefined;
|
|
1829
1851
|
phoneNumber?: string | undefined;
|
|
1830
1852
|
birthDate?: string | undefined;
|
|
1853
|
+
shouldChangePassword?: boolean | undefined;
|
|
1831
1854
|
guardian?: string | undefined;
|
|
1832
1855
|
editedBy?: string | undefined;
|
|
1833
1856
|
createdAt?: string | undefined;
|
|
@@ -1850,6 +1873,7 @@ declare const zInvoicePackageResponse: z.ZodObject<{
|
|
|
1850
1873
|
country?: string | undefined;
|
|
1851
1874
|
phoneNumber?: string | undefined;
|
|
1852
1875
|
birthDate?: string | undefined;
|
|
1876
|
+
shouldChangePassword?: boolean | undefined;
|
|
1853
1877
|
guardian?: string | undefined;
|
|
1854
1878
|
editedBy?: string | undefined;
|
|
1855
1879
|
createdAt?: string | undefined;
|
|
@@ -1877,6 +1901,7 @@ declare const zInvoicePackageResponse: z.ZodObject<{
|
|
|
1877
1901
|
country?: string | undefined;
|
|
1878
1902
|
phoneNumber?: string | undefined;
|
|
1879
1903
|
birthDate?: string | undefined;
|
|
1904
|
+
shouldChangePassword?: boolean | undefined;
|
|
1880
1905
|
guardian?: string | undefined;
|
|
1881
1906
|
editedBy?: string | undefined;
|
|
1882
1907
|
createdAt?: string | undefined;
|
|
@@ -2128,11 +2153,11 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2128
2153
|
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
2129
2154
|
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
2130
2155
|
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
2156
|
+
shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
|
|
2131
2157
|
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
2132
2158
|
title: z.ZodOptional<z.ZodString>;
|
|
2133
2159
|
bio: z.ZodOptional<z.ZodString>;
|
|
2134
2160
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
2135
|
-
shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
|
|
2136
2161
|
_id: z.ZodString;
|
|
2137
2162
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
2138
2163
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -2153,11 +2178,11 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2153
2178
|
country?: string | undefined;
|
|
2154
2179
|
phoneNumber?: string | undefined;
|
|
2155
2180
|
birthDate?: string | undefined;
|
|
2181
|
+
shouldChangePassword?: boolean | undefined;
|
|
2156
2182
|
isInactive?: boolean | undefined;
|
|
2157
2183
|
title?: string | undefined;
|
|
2158
2184
|
bio?: string | undefined;
|
|
2159
2185
|
available?: number[][][] | undefined;
|
|
2160
|
-
shouldChangePassword?: boolean | undefined;
|
|
2161
2186
|
editedBy?: string | undefined;
|
|
2162
2187
|
createdAt?: string | undefined;
|
|
2163
2188
|
updatedAt?: string | undefined;
|
|
@@ -2177,11 +2202,11 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2177
2202
|
country?: string | undefined;
|
|
2178
2203
|
phoneNumber?: string | undefined;
|
|
2179
2204
|
birthDate?: string | undefined;
|
|
2205
|
+
shouldChangePassword?: boolean | undefined;
|
|
2180
2206
|
isInactive?: boolean | undefined;
|
|
2181
2207
|
title?: string | undefined;
|
|
2182
2208
|
bio?: string | undefined;
|
|
2183
2209
|
available?: number[][][] | undefined;
|
|
2184
|
-
shouldChangePassword?: boolean | undefined;
|
|
2185
2210
|
editedBy?: string | undefined;
|
|
2186
2211
|
createdAt?: string | undefined;
|
|
2187
2212
|
updatedAt?: string | undefined;
|
|
@@ -2209,11 +2234,11 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2209
2234
|
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
2210
2235
|
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
2211
2236
|
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
2237
|
+
shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
|
|
2212
2238
|
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
2213
2239
|
title: z.ZodOptional<z.ZodString>;
|
|
2214
2240
|
bio: z.ZodOptional<z.ZodString>;
|
|
2215
2241
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
2216
|
-
shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
|
|
2217
2242
|
_id: z.ZodString;
|
|
2218
2243
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
2219
2244
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -2234,11 +2259,11 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2234
2259
|
country?: string | undefined;
|
|
2235
2260
|
phoneNumber?: string | undefined;
|
|
2236
2261
|
birthDate?: string | undefined;
|
|
2262
|
+
shouldChangePassword?: boolean | undefined;
|
|
2237
2263
|
isInactive?: boolean | undefined;
|
|
2238
2264
|
title?: string | undefined;
|
|
2239
2265
|
bio?: string | undefined;
|
|
2240
2266
|
available?: number[][][] | undefined;
|
|
2241
|
-
shouldChangePassword?: boolean | undefined;
|
|
2242
2267
|
editedBy?: string | undefined;
|
|
2243
2268
|
createdAt?: string | undefined;
|
|
2244
2269
|
updatedAt?: string | undefined;
|
|
@@ -2258,11 +2283,11 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2258
2283
|
country?: string | undefined;
|
|
2259
2284
|
phoneNumber?: string | undefined;
|
|
2260
2285
|
birthDate?: string | undefined;
|
|
2286
|
+
shouldChangePassword?: boolean | undefined;
|
|
2261
2287
|
isInactive?: boolean | undefined;
|
|
2262
2288
|
title?: string | undefined;
|
|
2263
2289
|
bio?: string | undefined;
|
|
2264
2290
|
available?: number[][][] | undefined;
|
|
2265
|
-
shouldChangePassword?: boolean | undefined;
|
|
2266
2291
|
editedBy?: string | undefined;
|
|
2267
2292
|
createdAt?: string | undefined;
|
|
2268
2293
|
updatedAt?: string | undefined;
|
|
@@ -2304,6 +2329,7 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2304
2329
|
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
2305
2330
|
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
2306
2331
|
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
2332
|
+
shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
|
|
2307
2333
|
guardian: z.ZodOptional<z.ZodString>;
|
|
2308
2334
|
_id: z.ZodString;
|
|
2309
2335
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
@@ -2325,6 +2351,7 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2325
2351
|
country?: string | undefined;
|
|
2326
2352
|
phoneNumber?: string | undefined;
|
|
2327
2353
|
birthDate?: string | undefined;
|
|
2354
|
+
shouldChangePassword?: boolean | undefined;
|
|
2328
2355
|
guardian?: string | undefined;
|
|
2329
2356
|
editedBy?: string | undefined;
|
|
2330
2357
|
createdAt?: string | undefined;
|
|
@@ -2345,6 +2372,7 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2345
2372
|
country?: string | undefined;
|
|
2346
2373
|
phoneNumber?: string | undefined;
|
|
2347
2374
|
birthDate?: string | undefined;
|
|
2375
|
+
shouldChangePassword?: boolean | undefined;
|
|
2348
2376
|
guardian?: string | undefined;
|
|
2349
2377
|
editedBy?: string | undefined;
|
|
2350
2378
|
createdAt?: string | undefined;
|
|
@@ -2367,6 +2395,7 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2367
2395
|
country?: string | undefined;
|
|
2368
2396
|
phoneNumber?: string | undefined;
|
|
2369
2397
|
birthDate?: string | undefined;
|
|
2398
|
+
shouldChangePassword?: boolean | undefined;
|
|
2370
2399
|
guardian?: string | undefined;
|
|
2371
2400
|
editedBy?: string | undefined;
|
|
2372
2401
|
createdAt?: string | undefined;
|
|
@@ -2394,6 +2423,7 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2394
2423
|
country?: string | undefined;
|
|
2395
2424
|
phoneNumber?: string | undefined;
|
|
2396
2425
|
birthDate?: string | undefined;
|
|
2426
|
+
shouldChangePassword?: boolean | undefined;
|
|
2397
2427
|
guardian?: string | undefined;
|
|
2398
2428
|
editedBy?: string | undefined;
|
|
2399
2429
|
createdAt?: string | undefined;
|
|
@@ -2425,6 +2455,7 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2425
2455
|
country?: string | undefined;
|
|
2426
2456
|
phoneNumber?: string | undefined;
|
|
2427
2457
|
birthDate?: string | undefined;
|
|
2458
|
+
shouldChangePassword?: boolean | undefined;
|
|
2428
2459
|
guardian?: string | undefined;
|
|
2429
2460
|
editedBy?: string | undefined;
|
|
2430
2461
|
createdAt?: string | undefined;
|
|
@@ -2456,11 +2487,11 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2456
2487
|
country?: string | undefined;
|
|
2457
2488
|
phoneNumber?: string | undefined;
|
|
2458
2489
|
birthDate?: string | undefined;
|
|
2490
|
+
shouldChangePassword?: boolean | undefined;
|
|
2459
2491
|
isInactive?: boolean | undefined;
|
|
2460
2492
|
title?: string | undefined;
|
|
2461
2493
|
bio?: string | undefined;
|
|
2462
2494
|
available?: number[][][] | undefined;
|
|
2463
|
-
shouldChangePassword?: boolean | undefined;
|
|
2464
2495
|
editedBy?: string | undefined;
|
|
2465
2496
|
createdAt?: string | undefined;
|
|
2466
2497
|
updatedAt?: string | undefined;
|
|
@@ -2489,11 +2520,11 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2489
2520
|
country?: string | undefined;
|
|
2490
2521
|
phoneNumber?: string | undefined;
|
|
2491
2522
|
birthDate?: string | undefined;
|
|
2523
|
+
shouldChangePassword?: boolean | undefined;
|
|
2492
2524
|
isInactive?: boolean | undefined;
|
|
2493
2525
|
title?: string | undefined;
|
|
2494
2526
|
bio?: string | undefined;
|
|
2495
2527
|
available?: number[][][] | undefined;
|
|
2496
|
-
shouldChangePassword?: boolean | undefined;
|
|
2497
2528
|
editedBy?: string | undefined;
|
|
2498
2529
|
createdAt?: string | undefined;
|
|
2499
2530
|
updatedAt?: string | undefined;
|
|
@@ -2518,6 +2549,7 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2518
2549
|
country?: string | undefined;
|
|
2519
2550
|
phoneNumber?: string | undefined;
|
|
2520
2551
|
birthDate?: string | undefined;
|
|
2552
|
+
shouldChangePassword?: boolean | undefined;
|
|
2521
2553
|
guardian?: string | undefined;
|
|
2522
2554
|
editedBy?: string | undefined;
|
|
2523
2555
|
createdAt?: string | undefined;
|
|
@@ -2549,11 +2581,11 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2549
2581
|
country?: string | undefined;
|
|
2550
2582
|
phoneNumber?: string | undefined;
|
|
2551
2583
|
birthDate?: string | undefined;
|
|
2584
|
+
shouldChangePassword?: boolean | undefined;
|
|
2552
2585
|
isInactive?: boolean | undefined;
|
|
2553
2586
|
title?: string | undefined;
|
|
2554
2587
|
bio?: string | undefined;
|
|
2555
2588
|
available?: number[][][] | undefined;
|
|
2556
|
-
shouldChangePassword?: boolean | undefined;
|
|
2557
2589
|
editedBy?: string | undefined;
|
|
2558
2590
|
createdAt?: string | undefined;
|
|
2559
2591
|
updatedAt?: string | undefined;
|
|
@@ -2582,11 +2614,11 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2582
2614
|
country?: string | undefined;
|
|
2583
2615
|
phoneNumber?: string | undefined;
|
|
2584
2616
|
birthDate?: string | undefined;
|
|
2617
|
+
shouldChangePassword?: boolean | undefined;
|
|
2585
2618
|
isInactive?: boolean | undefined;
|
|
2586
2619
|
title?: string | undefined;
|
|
2587
2620
|
bio?: string | undefined;
|
|
2588
2621
|
available?: number[][][] | undefined;
|
|
2589
|
-
shouldChangePassword?: boolean | undefined;
|
|
2590
2622
|
editedBy?: string | undefined;
|
|
2591
2623
|
createdAt?: string | undefined;
|
|
2592
2624
|
updatedAt?: string | undefined;
|
|
@@ -2754,11 +2786,11 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
|
|
|
2754
2786
|
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
2755
2787
|
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
2756
2788
|
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
2789
|
+
shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
|
|
2757
2790
|
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
2758
2791
|
title: z.ZodOptional<z.ZodString>;
|
|
2759
2792
|
bio: z.ZodOptional<z.ZodString>;
|
|
2760
2793
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
2761
|
-
shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
|
|
2762
2794
|
_id: z.ZodString;
|
|
2763
2795
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
2764
2796
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -2779,11 +2811,11 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
|
|
|
2779
2811
|
country?: string | undefined;
|
|
2780
2812
|
phoneNumber?: string | undefined;
|
|
2781
2813
|
birthDate?: string | undefined;
|
|
2814
|
+
shouldChangePassword?: boolean | undefined;
|
|
2782
2815
|
isInactive?: boolean | undefined;
|
|
2783
2816
|
title?: string | undefined;
|
|
2784
2817
|
bio?: string | undefined;
|
|
2785
2818
|
available?: number[][][] | undefined;
|
|
2786
|
-
shouldChangePassword?: boolean | undefined;
|
|
2787
2819
|
editedBy?: string | undefined;
|
|
2788
2820
|
createdAt?: string | undefined;
|
|
2789
2821
|
updatedAt?: string | undefined;
|
|
@@ -2803,11 +2835,11 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
|
|
|
2803
2835
|
country?: string | undefined;
|
|
2804
2836
|
phoneNumber?: string | undefined;
|
|
2805
2837
|
birthDate?: string | undefined;
|
|
2838
|
+
shouldChangePassword?: boolean | undefined;
|
|
2806
2839
|
isInactive?: boolean | undefined;
|
|
2807
2840
|
title?: string | undefined;
|
|
2808
2841
|
bio?: string | undefined;
|
|
2809
2842
|
available?: number[][][] | undefined;
|
|
2810
|
-
shouldChangePassword?: boolean | undefined;
|
|
2811
2843
|
editedBy?: string | undefined;
|
|
2812
2844
|
createdAt?: string | undefined;
|
|
2813
2845
|
updatedAt?: string | undefined;
|
|
@@ -2830,11 +2862,11 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
|
|
|
2830
2862
|
country?: string | undefined;
|
|
2831
2863
|
phoneNumber?: string | undefined;
|
|
2832
2864
|
birthDate?: string | undefined;
|
|
2865
|
+
shouldChangePassword?: boolean | undefined;
|
|
2833
2866
|
isInactive?: boolean | undefined;
|
|
2834
2867
|
title?: string | undefined;
|
|
2835
2868
|
bio?: string | undefined;
|
|
2836
2869
|
available?: number[][][] | undefined;
|
|
2837
|
-
shouldChangePassword?: boolean | undefined;
|
|
2838
2870
|
editedBy?: string | undefined;
|
|
2839
2871
|
createdAt?: string | undefined;
|
|
2840
2872
|
updatedAt?: string | undefined;
|
|
@@ -2867,11 +2899,11 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
|
|
|
2867
2899
|
country?: string | undefined;
|
|
2868
2900
|
phoneNumber?: string | undefined;
|
|
2869
2901
|
birthDate?: string | undefined;
|
|
2902
|
+
shouldChangePassword?: boolean | undefined;
|
|
2870
2903
|
isInactive?: boolean | undefined;
|
|
2871
2904
|
title?: string | undefined;
|
|
2872
2905
|
bio?: string | undefined;
|
|
2873
2906
|
available?: number[][][] | undefined;
|
|
2874
|
-
shouldChangePassword?: boolean | undefined;
|
|
2875
2907
|
editedBy?: string | undefined;
|
|
2876
2908
|
createdAt?: string | undefined;
|
|
2877
2909
|
updatedAt?: string | undefined;
|
|
@@ -3071,6 +3103,7 @@ declare const zReportTicketResponse: z.ZodObject<{
|
|
|
3071
3103
|
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
3072
3104
|
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
3073
3105
|
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
3106
|
+
shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
|
|
3074
3107
|
_id: z.ZodString;
|
|
3075
3108
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
3076
3109
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -3090,6 +3123,7 @@ declare const zReportTicketResponse: z.ZodObject<{
|
|
|
3090
3123
|
country?: string | undefined;
|
|
3091
3124
|
phoneNumber?: string | undefined;
|
|
3092
3125
|
birthDate?: string | undefined;
|
|
3126
|
+
shouldChangePassword?: boolean | undefined;
|
|
3093
3127
|
editedBy?: string | undefined;
|
|
3094
3128
|
createdAt?: string | undefined;
|
|
3095
3129
|
updatedAt?: string | undefined;
|
|
@@ -3108,6 +3142,7 @@ declare const zReportTicketResponse: z.ZodObject<{
|
|
|
3108
3142
|
country?: string | undefined;
|
|
3109
3143
|
phoneNumber?: string | undefined;
|
|
3110
3144
|
birthDate?: string | undefined;
|
|
3145
|
+
shouldChangePassword?: boolean | undefined;
|
|
3111
3146
|
editedBy?: string | undefined;
|
|
3112
3147
|
createdAt?: string | undefined;
|
|
3113
3148
|
updatedAt?: string | undefined;
|
|
@@ -3134,6 +3169,7 @@ declare const zReportTicketResponse: z.ZodObject<{
|
|
|
3134
3169
|
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
3135
3170
|
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
3136
3171
|
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
3172
|
+
shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
|
|
3137
3173
|
_id: z.ZodString;
|
|
3138
3174
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
3139
3175
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -3153,6 +3189,7 @@ declare const zReportTicketResponse: z.ZodObject<{
|
|
|
3153
3189
|
country?: string | undefined;
|
|
3154
3190
|
phoneNumber?: string | undefined;
|
|
3155
3191
|
birthDate?: string | undefined;
|
|
3192
|
+
shouldChangePassword?: boolean | undefined;
|
|
3156
3193
|
editedBy?: string | undefined;
|
|
3157
3194
|
createdAt?: string | undefined;
|
|
3158
3195
|
updatedAt?: string | undefined;
|
|
@@ -3171,6 +3208,7 @@ declare const zReportTicketResponse: z.ZodObject<{
|
|
|
3171
3208
|
country?: string | undefined;
|
|
3172
3209
|
phoneNumber?: string | undefined;
|
|
3173
3210
|
birthDate?: string | undefined;
|
|
3211
|
+
shouldChangePassword?: boolean | undefined;
|
|
3174
3212
|
editedBy?: string | undefined;
|
|
3175
3213
|
createdAt?: string | undefined;
|
|
3176
3214
|
updatedAt?: string | undefined;
|
|
@@ -3195,6 +3233,7 @@ declare const zReportTicketResponse: z.ZodObject<{
|
|
|
3195
3233
|
country?: string | undefined;
|
|
3196
3234
|
phoneNumber?: string | undefined;
|
|
3197
3235
|
birthDate?: string | undefined;
|
|
3236
|
+
shouldChangePassword?: boolean | undefined;
|
|
3198
3237
|
editedBy?: string | undefined;
|
|
3199
3238
|
createdAt?: string | undefined;
|
|
3200
3239
|
updatedAt?: string | undefined;
|
|
@@ -3217,6 +3256,7 @@ declare const zReportTicketResponse: z.ZodObject<{
|
|
|
3217
3256
|
country?: string | undefined;
|
|
3218
3257
|
phoneNumber?: string | undefined;
|
|
3219
3258
|
birthDate?: string | undefined;
|
|
3259
|
+
shouldChangePassword?: boolean | undefined;
|
|
3220
3260
|
editedBy?: string | undefined;
|
|
3221
3261
|
createdAt?: string | undefined;
|
|
3222
3262
|
updatedAt?: string | undefined;
|
|
@@ -3241,6 +3281,7 @@ declare const zReportTicketResponse: z.ZodObject<{
|
|
|
3241
3281
|
country?: string | undefined;
|
|
3242
3282
|
phoneNumber?: string | undefined;
|
|
3243
3283
|
birthDate?: string | undefined;
|
|
3284
|
+
shouldChangePassword?: boolean | undefined;
|
|
3244
3285
|
editedBy?: string | undefined;
|
|
3245
3286
|
createdAt?: string | undefined;
|
|
3246
3287
|
updatedAt?: string | undefined;
|
|
@@ -3263,6 +3304,7 @@ declare const zReportTicketResponse: z.ZodObject<{
|
|
|
3263
3304
|
country?: string | undefined;
|
|
3264
3305
|
phoneNumber?: string | undefined;
|
|
3265
3306
|
birthDate?: string | undefined;
|
|
3307
|
+
shouldChangePassword?: boolean | undefined;
|
|
3266
3308
|
editedBy?: string | undefined;
|
|
3267
3309
|
createdAt?: string | undefined;
|
|
3268
3310
|
updatedAt?: string | undefined;
|
package/index.js
CHANGED
|
@@ -258,7 +258,11 @@ var zBUser = import_zod6.z.object({
|
|
|
258
258
|
}).or(import_zod6.z.literal("")).optional(),
|
|
259
259
|
birthDate: import_zod6.z.string().regex(/^\d{4}-(0?[1-9]|1[012])-(0?[1-9]|[12][0-9]|3[01])$/, {
|
|
260
260
|
message: "Enter a valid date in yyyy-mm-dd format"
|
|
261
|
-
}).or(import_zod6.z.literal("")).optional()
|
|
261
|
+
}).or(import_zod6.z.literal("")).optional(),
|
|
262
|
+
/**
|
|
263
|
+
* For prompting the user to change their password on first login
|
|
264
|
+
*/
|
|
265
|
+
shouldChangePassword: import_zod6.z.boolean().optional()
|
|
262
266
|
});
|
|
263
267
|
var zUser = addAutoProps(zBUser);
|
|
264
268
|
|
|
@@ -299,8 +303,7 @@ var zBTeacher = zBUser.extend({
|
|
|
299
303
|
* [],
|
|
300
304
|
* ]
|
|
301
305
|
*/
|
|
302
|
-
available: import_zod8.z.array(import_zod8.z.array(import_zod8.z.array(import_zod8.z.number()))).optional()
|
|
303
|
-
shouldChangePassword: import_zod8.z.boolean().optional()
|
|
306
|
+
available: import_zod8.z.array(import_zod8.z.array(import_zod8.z.array(import_zod8.z.number()))).optional()
|
|
304
307
|
});
|
|
305
308
|
var zTeacher = addAutoProps(zBTeacher);
|
|
306
309
|
var zTeacherResponse = zTeacher.omit({ password: true, roles: true, editedBy: true, updatedAt: true, createdAt: true }).extend({
|
package/index.mjs
CHANGED
|
@@ -159,7 +159,11 @@ var zBUser = z6.object({
|
|
|
159
159
|
}).or(z6.literal("")).optional(),
|
|
160
160
|
birthDate: z6.string().regex(/^\d{4}-(0?[1-9]|1[012])-(0?[1-9]|[12][0-9]|3[01])$/, {
|
|
161
161
|
message: "Enter a valid date in yyyy-mm-dd format"
|
|
162
|
-
}).or(z6.literal("")).optional()
|
|
162
|
+
}).or(z6.literal("")).optional(),
|
|
163
|
+
/**
|
|
164
|
+
* For prompting the user to change their password on first login
|
|
165
|
+
*/
|
|
166
|
+
shouldChangePassword: z6.boolean().optional()
|
|
163
167
|
});
|
|
164
168
|
var zUser = addAutoProps(zBUser);
|
|
165
169
|
|
|
@@ -200,8 +204,7 @@ var zBTeacher = zBUser.extend({
|
|
|
200
204
|
* [],
|
|
201
205
|
* ]
|
|
202
206
|
*/
|
|
203
|
-
available: z8.array(z8.array(z8.array(z8.number()))).optional()
|
|
204
|
-
shouldChangePassword: z8.boolean().optional()
|
|
207
|
+
available: z8.array(z8.array(z8.array(z8.number()))).optional()
|
|
205
208
|
});
|
|
206
209
|
var zTeacher = addAutoProps(zBTeacher);
|
|
207
210
|
var zTeacherResponse = zTeacher.omit({ password: true, roles: true, editedBy: true, updatedAt: true, createdAt: true }).extend({
|