@nyig/models 0.3.2 → 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 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,6 +416,7 @@ 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>;
@@ -421,6 +437,7 @@ declare const zBTeacher: z.ZodObject<{
421
437
  country?: string | undefined;
422
438
  phoneNumber?: string | undefined;
423
439
  birthDate?: string | undefined;
440
+ shouldChangePassword?: boolean | undefined;
424
441
  isInactive?: boolean | undefined;
425
442
  title?: string | undefined;
426
443
  bio?: string | undefined;
@@ -440,6 +457,7 @@ declare const zBTeacher: z.ZodObject<{
440
457
  country?: string | undefined;
441
458
  phoneNumber?: string | undefined;
442
459
  birthDate?: string | undefined;
460
+ shouldChangePassword?: boolean | undefined;
443
461
  isInactive?: boolean | undefined;
444
462
  title?: string | undefined;
445
463
  bio?: string | undefined;
@@ -468,6 +486,7 @@ declare const zTeacher: z.ZodObject<{
468
486
  country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
469
487
  phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
470
488
  birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
489
+ shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
471
490
  isInactive: z.ZodOptional<z.ZodBoolean>;
472
491
  title: z.ZodOptional<z.ZodString>;
473
492
  bio: z.ZodOptional<z.ZodString>;
@@ -492,6 +511,7 @@ declare const zTeacher: z.ZodObject<{
492
511
  country?: string | undefined;
493
512
  phoneNumber?: string | undefined;
494
513
  birthDate?: string | undefined;
514
+ shouldChangePassword?: boolean | undefined;
495
515
  isInactive?: boolean | undefined;
496
516
  title?: string | undefined;
497
517
  bio?: string | undefined;
@@ -515,6 +535,7 @@ declare const zTeacher: z.ZodObject<{
515
535
  country?: string | undefined;
516
536
  phoneNumber?: string | undefined;
517
537
  birthDate?: string | undefined;
538
+ shouldChangePassword?: boolean | undefined;
518
539
  isInactive?: boolean | undefined;
519
540
  title?: string | undefined;
520
541
  bio?: string | undefined;
@@ -533,6 +554,7 @@ declare const zTeacherResponse: z.ZodObject<{
533
554
  country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
534
555
  phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
535
556
  birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
557
+ shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
536
558
  isInactive: z.ZodOptional<z.ZodBoolean>;
537
559
  title: z.ZodOptional<z.ZodString>;
538
560
  bio: z.ZodOptional<z.ZodString>;
@@ -549,6 +571,7 @@ declare const zTeacherResponse: z.ZodObject<{
549
571
  country?: string | undefined;
550
572
  phoneNumber?: string | undefined;
551
573
  birthDate?: string | undefined;
574
+ shouldChangePassword?: boolean | undefined;
552
575
  isInactive?: boolean | undefined;
553
576
  title?: string | undefined;
554
577
  bio?: string | undefined;
@@ -564,6 +587,7 @@ declare const zTeacherResponse: z.ZodObject<{
564
587
  country?: string | undefined;
565
588
  phoneNumber?: string | undefined;
566
589
  birthDate?: string | undefined;
590
+ shouldChangePassword?: boolean | undefined;
567
591
  isInactive?: boolean | undefined;
568
592
  title?: string | undefined;
569
593
  bio?: string | undefined;
@@ -761,6 +785,7 @@ declare const zAttendanceResponse: z.ZodObject<{
761
785
  country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
762
786
  phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
763
787
  birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
788
+ shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
764
789
  guardian: z.ZodOptional<z.ZodString>;
765
790
  _id: z.ZodString;
766
791
  editedBy: z.ZodOptional<z.ZodString>;
@@ -782,6 +807,7 @@ declare const zAttendanceResponse: z.ZodObject<{
782
807
  country?: string | undefined;
783
808
  phoneNumber?: string | undefined;
784
809
  birthDate?: string | undefined;
810
+ shouldChangePassword?: boolean | undefined;
785
811
  guardian?: string | undefined;
786
812
  editedBy?: string | undefined;
787
813
  createdAt?: string | undefined;
@@ -802,6 +828,7 @@ declare const zAttendanceResponse: z.ZodObject<{
802
828
  country?: string | undefined;
803
829
  phoneNumber?: string | undefined;
804
830
  birthDate?: string | undefined;
831
+ shouldChangePassword?: boolean | undefined;
805
832
  guardian?: string | undefined;
806
833
  editedBy?: string | undefined;
807
834
  createdAt?: string | undefined;
@@ -825,6 +852,7 @@ declare const zAttendanceResponse: z.ZodObject<{
825
852
  country?: string | undefined;
826
853
  phoneNumber?: string | undefined;
827
854
  birthDate?: string | undefined;
855
+ shouldChangePassword?: boolean | undefined;
828
856
  guardian?: string | undefined;
829
857
  editedBy?: string | undefined;
830
858
  createdAt?: string | undefined;
@@ -859,6 +887,7 @@ declare const zAttendanceResponse: z.ZodObject<{
859
887
  country?: string | undefined;
860
888
  phoneNumber?: string | undefined;
861
889
  birthDate?: string | undefined;
890
+ shouldChangePassword?: boolean | undefined;
862
891
  guardian?: string | undefined;
863
892
  editedBy?: string | undefined;
864
893
  createdAt?: string | undefined;
@@ -1778,6 +1807,7 @@ declare const zInvoicePackageResponse: z.ZodObject<{
1778
1807
  country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1779
1808
  phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1780
1809
  birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1810
+ shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
1781
1811
  guardian: z.ZodOptional<z.ZodString>;
1782
1812
  _id: z.ZodString;
1783
1813
  editedBy: z.ZodOptional<z.ZodString>;
@@ -1799,6 +1829,7 @@ declare const zInvoicePackageResponse: z.ZodObject<{
1799
1829
  country?: string | undefined;
1800
1830
  phoneNumber?: string | undefined;
1801
1831
  birthDate?: string | undefined;
1832
+ shouldChangePassword?: boolean | undefined;
1802
1833
  guardian?: string | undefined;
1803
1834
  editedBy?: string | undefined;
1804
1835
  createdAt?: string | undefined;
@@ -1819,6 +1850,7 @@ declare const zInvoicePackageResponse: z.ZodObject<{
1819
1850
  country?: string | undefined;
1820
1851
  phoneNumber?: string | undefined;
1821
1852
  birthDate?: string | undefined;
1853
+ shouldChangePassword?: boolean | undefined;
1822
1854
  guardian?: string | undefined;
1823
1855
  editedBy?: string | undefined;
1824
1856
  createdAt?: string | undefined;
@@ -1841,6 +1873,7 @@ declare const zInvoicePackageResponse: z.ZodObject<{
1841
1873
  country?: string | undefined;
1842
1874
  phoneNumber?: string | undefined;
1843
1875
  birthDate?: string | undefined;
1876
+ shouldChangePassword?: boolean | undefined;
1844
1877
  guardian?: string | undefined;
1845
1878
  editedBy?: string | undefined;
1846
1879
  createdAt?: string | undefined;
@@ -1868,6 +1901,7 @@ declare const zInvoicePackageResponse: z.ZodObject<{
1868
1901
  country?: string | undefined;
1869
1902
  phoneNumber?: string | undefined;
1870
1903
  birthDate?: string | undefined;
1904
+ shouldChangePassword?: boolean | undefined;
1871
1905
  guardian?: string | undefined;
1872
1906
  editedBy?: string | undefined;
1873
1907
  createdAt?: string | undefined;
@@ -2119,6 +2153,7 @@ declare const zInvoiceResponse: z.ZodObject<{
2119
2153
  country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
2120
2154
  phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
2121
2155
  birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
2156
+ shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
2122
2157
  isInactive: z.ZodOptional<z.ZodBoolean>;
2123
2158
  title: z.ZodOptional<z.ZodString>;
2124
2159
  bio: z.ZodOptional<z.ZodString>;
@@ -2143,6 +2178,7 @@ declare const zInvoiceResponse: z.ZodObject<{
2143
2178
  country?: string | undefined;
2144
2179
  phoneNumber?: string | undefined;
2145
2180
  birthDate?: string | undefined;
2181
+ shouldChangePassword?: boolean | undefined;
2146
2182
  isInactive?: boolean | undefined;
2147
2183
  title?: string | undefined;
2148
2184
  bio?: string | undefined;
@@ -2166,6 +2202,7 @@ declare const zInvoiceResponse: z.ZodObject<{
2166
2202
  country?: string | undefined;
2167
2203
  phoneNumber?: string | undefined;
2168
2204
  birthDate?: string | undefined;
2205
+ shouldChangePassword?: boolean | undefined;
2169
2206
  isInactive?: boolean | undefined;
2170
2207
  title?: string | undefined;
2171
2208
  bio?: string | undefined;
@@ -2197,6 +2234,7 @@ declare const zInvoiceResponse: z.ZodObject<{
2197
2234
  country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
2198
2235
  phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
2199
2236
  birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
2237
+ shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
2200
2238
  isInactive: z.ZodOptional<z.ZodBoolean>;
2201
2239
  title: z.ZodOptional<z.ZodString>;
2202
2240
  bio: z.ZodOptional<z.ZodString>;
@@ -2221,6 +2259,7 @@ declare const zInvoiceResponse: z.ZodObject<{
2221
2259
  country?: string | undefined;
2222
2260
  phoneNumber?: string | undefined;
2223
2261
  birthDate?: string | undefined;
2262
+ shouldChangePassword?: boolean | undefined;
2224
2263
  isInactive?: boolean | undefined;
2225
2264
  title?: string | undefined;
2226
2265
  bio?: string | undefined;
@@ -2244,6 +2283,7 @@ declare const zInvoiceResponse: z.ZodObject<{
2244
2283
  country?: string | undefined;
2245
2284
  phoneNumber?: string | undefined;
2246
2285
  birthDate?: string | undefined;
2286
+ shouldChangePassword?: boolean | undefined;
2247
2287
  isInactive?: boolean | undefined;
2248
2288
  title?: string | undefined;
2249
2289
  bio?: string | undefined;
@@ -2289,6 +2329,7 @@ declare const zInvoiceResponse: z.ZodObject<{
2289
2329
  country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
2290
2330
  phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
2291
2331
  birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
2332
+ shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
2292
2333
  guardian: z.ZodOptional<z.ZodString>;
2293
2334
  _id: z.ZodString;
2294
2335
  editedBy: z.ZodOptional<z.ZodString>;
@@ -2310,6 +2351,7 @@ declare const zInvoiceResponse: z.ZodObject<{
2310
2351
  country?: string | undefined;
2311
2352
  phoneNumber?: string | undefined;
2312
2353
  birthDate?: string | undefined;
2354
+ shouldChangePassword?: boolean | undefined;
2313
2355
  guardian?: string | undefined;
2314
2356
  editedBy?: string | undefined;
2315
2357
  createdAt?: string | undefined;
@@ -2330,6 +2372,7 @@ declare const zInvoiceResponse: z.ZodObject<{
2330
2372
  country?: string | undefined;
2331
2373
  phoneNumber?: string | undefined;
2332
2374
  birthDate?: string | undefined;
2375
+ shouldChangePassword?: boolean | undefined;
2333
2376
  guardian?: string | undefined;
2334
2377
  editedBy?: string | undefined;
2335
2378
  createdAt?: string | undefined;
@@ -2352,6 +2395,7 @@ declare const zInvoiceResponse: z.ZodObject<{
2352
2395
  country?: string | undefined;
2353
2396
  phoneNumber?: string | undefined;
2354
2397
  birthDate?: string | undefined;
2398
+ shouldChangePassword?: boolean | undefined;
2355
2399
  guardian?: string | undefined;
2356
2400
  editedBy?: string | undefined;
2357
2401
  createdAt?: string | undefined;
@@ -2379,6 +2423,7 @@ declare const zInvoiceResponse: z.ZodObject<{
2379
2423
  country?: string | undefined;
2380
2424
  phoneNumber?: string | undefined;
2381
2425
  birthDate?: string | undefined;
2426
+ shouldChangePassword?: boolean | undefined;
2382
2427
  guardian?: string | undefined;
2383
2428
  editedBy?: string | undefined;
2384
2429
  createdAt?: string | undefined;
@@ -2410,6 +2455,7 @@ declare const zInvoiceResponse: z.ZodObject<{
2410
2455
  country?: string | undefined;
2411
2456
  phoneNumber?: string | undefined;
2412
2457
  birthDate?: string | undefined;
2458
+ shouldChangePassword?: boolean | undefined;
2413
2459
  guardian?: string | undefined;
2414
2460
  editedBy?: string | undefined;
2415
2461
  createdAt?: string | undefined;
@@ -2441,6 +2487,7 @@ declare const zInvoiceResponse: z.ZodObject<{
2441
2487
  country?: string | undefined;
2442
2488
  phoneNumber?: string | undefined;
2443
2489
  birthDate?: string | undefined;
2490
+ shouldChangePassword?: boolean | undefined;
2444
2491
  isInactive?: boolean | undefined;
2445
2492
  title?: string | undefined;
2446
2493
  bio?: string | undefined;
@@ -2473,6 +2520,7 @@ declare const zInvoiceResponse: z.ZodObject<{
2473
2520
  country?: string | undefined;
2474
2521
  phoneNumber?: string | undefined;
2475
2522
  birthDate?: string | undefined;
2523
+ shouldChangePassword?: boolean | undefined;
2476
2524
  isInactive?: boolean | undefined;
2477
2525
  title?: string | undefined;
2478
2526
  bio?: string | undefined;
@@ -2501,6 +2549,7 @@ declare const zInvoiceResponse: z.ZodObject<{
2501
2549
  country?: string | undefined;
2502
2550
  phoneNumber?: string | undefined;
2503
2551
  birthDate?: string | undefined;
2552
+ shouldChangePassword?: boolean | undefined;
2504
2553
  guardian?: string | undefined;
2505
2554
  editedBy?: string | undefined;
2506
2555
  createdAt?: string | undefined;
@@ -2532,6 +2581,7 @@ declare const zInvoiceResponse: z.ZodObject<{
2532
2581
  country?: string | undefined;
2533
2582
  phoneNumber?: string | undefined;
2534
2583
  birthDate?: string | undefined;
2584
+ shouldChangePassword?: boolean | undefined;
2535
2585
  isInactive?: boolean | undefined;
2536
2586
  title?: string | undefined;
2537
2587
  bio?: string | undefined;
@@ -2564,6 +2614,7 @@ declare const zInvoiceResponse: z.ZodObject<{
2564
2614
  country?: string | undefined;
2565
2615
  phoneNumber?: string | undefined;
2566
2616
  birthDate?: string | undefined;
2617
+ shouldChangePassword?: boolean | undefined;
2567
2618
  isInactive?: boolean | undefined;
2568
2619
  title?: string | undefined;
2569
2620
  bio?: string | undefined;
@@ -2735,6 +2786,7 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
2735
2786
  country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
2736
2787
  phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
2737
2788
  birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
2789
+ shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
2738
2790
  isInactive: z.ZodOptional<z.ZodBoolean>;
2739
2791
  title: z.ZodOptional<z.ZodString>;
2740
2792
  bio: z.ZodOptional<z.ZodString>;
@@ -2759,6 +2811,7 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
2759
2811
  country?: string | undefined;
2760
2812
  phoneNumber?: string | undefined;
2761
2813
  birthDate?: string | undefined;
2814
+ shouldChangePassword?: boolean | undefined;
2762
2815
  isInactive?: boolean | undefined;
2763
2816
  title?: string | undefined;
2764
2817
  bio?: string | undefined;
@@ -2782,6 +2835,7 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
2782
2835
  country?: string | undefined;
2783
2836
  phoneNumber?: string | undefined;
2784
2837
  birthDate?: string | undefined;
2838
+ shouldChangePassword?: boolean | undefined;
2785
2839
  isInactive?: boolean | undefined;
2786
2840
  title?: string | undefined;
2787
2841
  bio?: string | undefined;
@@ -2808,6 +2862,7 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
2808
2862
  country?: string | undefined;
2809
2863
  phoneNumber?: string | undefined;
2810
2864
  birthDate?: string | undefined;
2865
+ shouldChangePassword?: boolean | undefined;
2811
2866
  isInactive?: boolean | undefined;
2812
2867
  title?: string | undefined;
2813
2868
  bio?: string | undefined;
@@ -2844,6 +2899,7 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
2844
2899
  country?: string | undefined;
2845
2900
  phoneNumber?: string | undefined;
2846
2901
  birthDate?: string | undefined;
2902
+ shouldChangePassword?: boolean | undefined;
2847
2903
  isInactive?: boolean | undefined;
2848
2904
  title?: string | undefined;
2849
2905
  bio?: string | undefined;
@@ -3047,6 +3103,7 @@ declare const zReportTicketResponse: z.ZodObject<{
3047
3103
  country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
3048
3104
  phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
3049
3105
  birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
3106
+ shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
3050
3107
  _id: z.ZodString;
3051
3108
  editedBy: z.ZodOptional<z.ZodString>;
3052
3109
  createdAt: z.ZodOptional<z.ZodString>;
@@ -3066,6 +3123,7 @@ declare const zReportTicketResponse: z.ZodObject<{
3066
3123
  country?: string | undefined;
3067
3124
  phoneNumber?: string | undefined;
3068
3125
  birthDate?: string | undefined;
3126
+ shouldChangePassword?: boolean | undefined;
3069
3127
  editedBy?: string | undefined;
3070
3128
  createdAt?: string | undefined;
3071
3129
  updatedAt?: string | undefined;
@@ -3084,6 +3142,7 @@ declare const zReportTicketResponse: z.ZodObject<{
3084
3142
  country?: string | undefined;
3085
3143
  phoneNumber?: string | undefined;
3086
3144
  birthDate?: string | undefined;
3145
+ shouldChangePassword?: boolean | undefined;
3087
3146
  editedBy?: string | undefined;
3088
3147
  createdAt?: string | undefined;
3089
3148
  updatedAt?: string | undefined;
@@ -3110,6 +3169,7 @@ declare const zReportTicketResponse: z.ZodObject<{
3110
3169
  country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
3111
3170
  phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
3112
3171
  birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
3172
+ shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
3113
3173
  _id: z.ZodString;
3114
3174
  editedBy: z.ZodOptional<z.ZodString>;
3115
3175
  createdAt: z.ZodOptional<z.ZodString>;
@@ -3129,6 +3189,7 @@ declare const zReportTicketResponse: z.ZodObject<{
3129
3189
  country?: string | undefined;
3130
3190
  phoneNumber?: string | undefined;
3131
3191
  birthDate?: string | undefined;
3192
+ shouldChangePassword?: boolean | undefined;
3132
3193
  editedBy?: string | undefined;
3133
3194
  createdAt?: string | undefined;
3134
3195
  updatedAt?: string | undefined;
@@ -3147,6 +3208,7 @@ declare const zReportTicketResponse: z.ZodObject<{
3147
3208
  country?: string | undefined;
3148
3209
  phoneNumber?: string | undefined;
3149
3210
  birthDate?: string | undefined;
3211
+ shouldChangePassword?: boolean | undefined;
3150
3212
  editedBy?: string | undefined;
3151
3213
  createdAt?: string | undefined;
3152
3214
  updatedAt?: string | undefined;
@@ -3171,6 +3233,7 @@ declare const zReportTicketResponse: z.ZodObject<{
3171
3233
  country?: string | undefined;
3172
3234
  phoneNumber?: string | undefined;
3173
3235
  birthDate?: string | undefined;
3236
+ shouldChangePassword?: boolean | undefined;
3174
3237
  editedBy?: string | undefined;
3175
3238
  createdAt?: string | undefined;
3176
3239
  updatedAt?: string | undefined;
@@ -3193,6 +3256,7 @@ declare const zReportTicketResponse: z.ZodObject<{
3193
3256
  country?: string | undefined;
3194
3257
  phoneNumber?: string | undefined;
3195
3258
  birthDate?: string | undefined;
3259
+ shouldChangePassword?: boolean | undefined;
3196
3260
  editedBy?: string | undefined;
3197
3261
  createdAt?: string | undefined;
3198
3262
  updatedAt?: string | undefined;
@@ -3217,6 +3281,7 @@ declare const zReportTicketResponse: z.ZodObject<{
3217
3281
  country?: string | undefined;
3218
3282
  phoneNumber?: string | undefined;
3219
3283
  birthDate?: string | undefined;
3284
+ shouldChangePassword?: boolean | undefined;
3220
3285
  editedBy?: string | undefined;
3221
3286
  createdAt?: string | undefined;
3222
3287
  updatedAt?: string | undefined;
@@ -3239,6 +3304,7 @@ declare const zReportTicketResponse: z.ZodObject<{
3239
3304
  country?: string | undefined;
3240
3305
  phoneNumber?: string | undefined;
3241
3306
  birthDate?: string | undefined;
3307
+ shouldChangePassword?: boolean | undefined;
3242
3308
  editedBy?: string | undefined;
3243
3309
  createdAt?: string | undefined;
3244
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,6 +416,7 @@ 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>;
@@ -421,6 +437,7 @@ declare const zBTeacher: z.ZodObject<{
421
437
  country?: string | undefined;
422
438
  phoneNumber?: string | undefined;
423
439
  birthDate?: string | undefined;
440
+ shouldChangePassword?: boolean | undefined;
424
441
  isInactive?: boolean | undefined;
425
442
  title?: string | undefined;
426
443
  bio?: string | undefined;
@@ -440,6 +457,7 @@ declare const zBTeacher: z.ZodObject<{
440
457
  country?: string | undefined;
441
458
  phoneNumber?: string | undefined;
442
459
  birthDate?: string | undefined;
460
+ shouldChangePassword?: boolean | undefined;
443
461
  isInactive?: boolean | undefined;
444
462
  title?: string | undefined;
445
463
  bio?: string | undefined;
@@ -468,6 +486,7 @@ declare const zTeacher: z.ZodObject<{
468
486
  country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
469
487
  phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
470
488
  birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
489
+ shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
471
490
  isInactive: z.ZodOptional<z.ZodBoolean>;
472
491
  title: z.ZodOptional<z.ZodString>;
473
492
  bio: z.ZodOptional<z.ZodString>;
@@ -492,6 +511,7 @@ declare const zTeacher: z.ZodObject<{
492
511
  country?: string | undefined;
493
512
  phoneNumber?: string | undefined;
494
513
  birthDate?: string | undefined;
514
+ shouldChangePassword?: boolean | undefined;
495
515
  isInactive?: boolean | undefined;
496
516
  title?: string | undefined;
497
517
  bio?: string | undefined;
@@ -515,6 +535,7 @@ declare const zTeacher: z.ZodObject<{
515
535
  country?: string | undefined;
516
536
  phoneNumber?: string | undefined;
517
537
  birthDate?: string | undefined;
538
+ shouldChangePassword?: boolean | undefined;
518
539
  isInactive?: boolean | undefined;
519
540
  title?: string | undefined;
520
541
  bio?: string | undefined;
@@ -533,6 +554,7 @@ declare const zTeacherResponse: z.ZodObject<{
533
554
  country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
534
555
  phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
535
556
  birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
557
+ shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
536
558
  isInactive: z.ZodOptional<z.ZodBoolean>;
537
559
  title: z.ZodOptional<z.ZodString>;
538
560
  bio: z.ZodOptional<z.ZodString>;
@@ -549,6 +571,7 @@ declare const zTeacherResponse: z.ZodObject<{
549
571
  country?: string | undefined;
550
572
  phoneNumber?: string | undefined;
551
573
  birthDate?: string | undefined;
574
+ shouldChangePassword?: boolean | undefined;
552
575
  isInactive?: boolean | undefined;
553
576
  title?: string | undefined;
554
577
  bio?: string | undefined;
@@ -564,6 +587,7 @@ declare const zTeacherResponse: z.ZodObject<{
564
587
  country?: string | undefined;
565
588
  phoneNumber?: string | undefined;
566
589
  birthDate?: string | undefined;
590
+ shouldChangePassword?: boolean | undefined;
567
591
  isInactive?: boolean | undefined;
568
592
  title?: string | undefined;
569
593
  bio?: string | undefined;
@@ -761,6 +785,7 @@ declare const zAttendanceResponse: z.ZodObject<{
761
785
  country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
762
786
  phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
763
787
  birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
788
+ shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
764
789
  guardian: z.ZodOptional<z.ZodString>;
765
790
  _id: z.ZodString;
766
791
  editedBy: z.ZodOptional<z.ZodString>;
@@ -782,6 +807,7 @@ declare const zAttendanceResponse: z.ZodObject<{
782
807
  country?: string | undefined;
783
808
  phoneNumber?: string | undefined;
784
809
  birthDate?: string | undefined;
810
+ shouldChangePassword?: boolean | undefined;
785
811
  guardian?: string | undefined;
786
812
  editedBy?: string | undefined;
787
813
  createdAt?: string | undefined;
@@ -802,6 +828,7 @@ declare const zAttendanceResponse: z.ZodObject<{
802
828
  country?: string | undefined;
803
829
  phoneNumber?: string | undefined;
804
830
  birthDate?: string | undefined;
831
+ shouldChangePassword?: boolean | undefined;
805
832
  guardian?: string | undefined;
806
833
  editedBy?: string | undefined;
807
834
  createdAt?: string | undefined;
@@ -825,6 +852,7 @@ declare const zAttendanceResponse: z.ZodObject<{
825
852
  country?: string | undefined;
826
853
  phoneNumber?: string | undefined;
827
854
  birthDate?: string | undefined;
855
+ shouldChangePassword?: boolean | undefined;
828
856
  guardian?: string | undefined;
829
857
  editedBy?: string | undefined;
830
858
  createdAt?: string | undefined;
@@ -859,6 +887,7 @@ declare const zAttendanceResponse: z.ZodObject<{
859
887
  country?: string | undefined;
860
888
  phoneNumber?: string | undefined;
861
889
  birthDate?: string | undefined;
890
+ shouldChangePassword?: boolean | undefined;
862
891
  guardian?: string | undefined;
863
892
  editedBy?: string | undefined;
864
893
  createdAt?: string | undefined;
@@ -1778,6 +1807,7 @@ declare const zInvoicePackageResponse: z.ZodObject<{
1778
1807
  country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1779
1808
  phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1780
1809
  birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1810
+ shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
1781
1811
  guardian: z.ZodOptional<z.ZodString>;
1782
1812
  _id: z.ZodString;
1783
1813
  editedBy: z.ZodOptional<z.ZodString>;
@@ -1799,6 +1829,7 @@ declare const zInvoicePackageResponse: z.ZodObject<{
1799
1829
  country?: string | undefined;
1800
1830
  phoneNumber?: string | undefined;
1801
1831
  birthDate?: string | undefined;
1832
+ shouldChangePassword?: boolean | undefined;
1802
1833
  guardian?: string | undefined;
1803
1834
  editedBy?: string | undefined;
1804
1835
  createdAt?: string | undefined;
@@ -1819,6 +1850,7 @@ declare const zInvoicePackageResponse: z.ZodObject<{
1819
1850
  country?: string | undefined;
1820
1851
  phoneNumber?: string | undefined;
1821
1852
  birthDate?: string | undefined;
1853
+ shouldChangePassword?: boolean | undefined;
1822
1854
  guardian?: string | undefined;
1823
1855
  editedBy?: string | undefined;
1824
1856
  createdAt?: string | undefined;
@@ -1841,6 +1873,7 @@ declare const zInvoicePackageResponse: z.ZodObject<{
1841
1873
  country?: string | undefined;
1842
1874
  phoneNumber?: string | undefined;
1843
1875
  birthDate?: string | undefined;
1876
+ shouldChangePassword?: boolean | undefined;
1844
1877
  guardian?: string | undefined;
1845
1878
  editedBy?: string | undefined;
1846
1879
  createdAt?: string | undefined;
@@ -1868,6 +1901,7 @@ declare const zInvoicePackageResponse: z.ZodObject<{
1868
1901
  country?: string | undefined;
1869
1902
  phoneNumber?: string | undefined;
1870
1903
  birthDate?: string | undefined;
1904
+ shouldChangePassword?: boolean | undefined;
1871
1905
  guardian?: string | undefined;
1872
1906
  editedBy?: string | undefined;
1873
1907
  createdAt?: string | undefined;
@@ -2119,6 +2153,7 @@ declare const zInvoiceResponse: z.ZodObject<{
2119
2153
  country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
2120
2154
  phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
2121
2155
  birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
2156
+ shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
2122
2157
  isInactive: z.ZodOptional<z.ZodBoolean>;
2123
2158
  title: z.ZodOptional<z.ZodString>;
2124
2159
  bio: z.ZodOptional<z.ZodString>;
@@ -2143,6 +2178,7 @@ declare const zInvoiceResponse: z.ZodObject<{
2143
2178
  country?: string | undefined;
2144
2179
  phoneNumber?: string | undefined;
2145
2180
  birthDate?: string | undefined;
2181
+ shouldChangePassword?: boolean | undefined;
2146
2182
  isInactive?: boolean | undefined;
2147
2183
  title?: string | undefined;
2148
2184
  bio?: string | undefined;
@@ -2166,6 +2202,7 @@ declare const zInvoiceResponse: z.ZodObject<{
2166
2202
  country?: string | undefined;
2167
2203
  phoneNumber?: string | undefined;
2168
2204
  birthDate?: string | undefined;
2205
+ shouldChangePassword?: boolean | undefined;
2169
2206
  isInactive?: boolean | undefined;
2170
2207
  title?: string | undefined;
2171
2208
  bio?: string | undefined;
@@ -2197,6 +2234,7 @@ declare const zInvoiceResponse: z.ZodObject<{
2197
2234
  country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
2198
2235
  phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
2199
2236
  birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
2237
+ shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
2200
2238
  isInactive: z.ZodOptional<z.ZodBoolean>;
2201
2239
  title: z.ZodOptional<z.ZodString>;
2202
2240
  bio: z.ZodOptional<z.ZodString>;
@@ -2221,6 +2259,7 @@ declare const zInvoiceResponse: z.ZodObject<{
2221
2259
  country?: string | undefined;
2222
2260
  phoneNumber?: string | undefined;
2223
2261
  birthDate?: string | undefined;
2262
+ shouldChangePassword?: boolean | undefined;
2224
2263
  isInactive?: boolean | undefined;
2225
2264
  title?: string | undefined;
2226
2265
  bio?: string | undefined;
@@ -2244,6 +2283,7 @@ declare const zInvoiceResponse: z.ZodObject<{
2244
2283
  country?: string | undefined;
2245
2284
  phoneNumber?: string | undefined;
2246
2285
  birthDate?: string | undefined;
2286
+ shouldChangePassword?: boolean | undefined;
2247
2287
  isInactive?: boolean | undefined;
2248
2288
  title?: string | undefined;
2249
2289
  bio?: string | undefined;
@@ -2289,6 +2329,7 @@ declare const zInvoiceResponse: z.ZodObject<{
2289
2329
  country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
2290
2330
  phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
2291
2331
  birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
2332
+ shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
2292
2333
  guardian: z.ZodOptional<z.ZodString>;
2293
2334
  _id: z.ZodString;
2294
2335
  editedBy: z.ZodOptional<z.ZodString>;
@@ -2310,6 +2351,7 @@ declare const zInvoiceResponse: z.ZodObject<{
2310
2351
  country?: string | undefined;
2311
2352
  phoneNumber?: string | undefined;
2312
2353
  birthDate?: string | undefined;
2354
+ shouldChangePassword?: boolean | undefined;
2313
2355
  guardian?: string | undefined;
2314
2356
  editedBy?: string | undefined;
2315
2357
  createdAt?: string | undefined;
@@ -2330,6 +2372,7 @@ declare const zInvoiceResponse: z.ZodObject<{
2330
2372
  country?: string | undefined;
2331
2373
  phoneNumber?: string | undefined;
2332
2374
  birthDate?: string | undefined;
2375
+ shouldChangePassword?: boolean | undefined;
2333
2376
  guardian?: string | undefined;
2334
2377
  editedBy?: string | undefined;
2335
2378
  createdAt?: string | undefined;
@@ -2352,6 +2395,7 @@ declare const zInvoiceResponse: z.ZodObject<{
2352
2395
  country?: string | undefined;
2353
2396
  phoneNumber?: string | undefined;
2354
2397
  birthDate?: string | undefined;
2398
+ shouldChangePassword?: boolean | undefined;
2355
2399
  guardian?: string | undefined;
2356
2400
  editedBy?: string | undefined;
2357
2401
  createdAt?: string | undefined;
@@ -2379,6 +2423,7 @@ declare const zInvoiceResponse: z.ZodObject<{
2379
2423
  country?: string | undefined;
2380
2424
  phoneNumber?: string | undefined;
2381
2425
  birthDate?: string | undefined;
2426
+ shouldChangePassword?: boolean | undefined;
2382
2427
  guardian?: string | undefined;
2383
2428
  editedBy?: string | undefined;
2384
2429
  createdAt?: string | undefined;
@@ -2410,6 +2455,7 @@ declare const zInvoiceResponse: z.ZodObject<{
2410
2455
  country?: string | undefined;
2411
2456
  phoneNumber?: string | undefined;
2412
2457
  birthDate?: string | undefined;
2458
+ shouldChangePassword?: boolean | undefined;
2413
2459
  guardian?: string | undefined;
2414
2460
  editedBy?: string | undefined;
2415
2461
  createdAt?: string | undefined;
@@ -2441,6 +2487,7 @@ declare const zInvoiceResponse: z.ZodObject<{
2441
2487
  country?: string | undefined;
2442
2488
  phoneNumber?: string | undefined;
2443
2489
  birthDate?: string | undefined;
2490
+ shouldChangePassword?: boolean | undefined;
2444
2491
  isInactive?: boolean | undefined;
2445
2492
  title?: string | undefined;
2446
2493
  bio?: string | undefined;
@@ -2473,6 +2520,7 @@ declare const zInvoiceResponse: z.ZodObject<{
2473
2520
  country?: string | undefined;
2474
2521
  phoneNumber?: string | undefined;
2475
2522
  birthDate?: string | undefined;
2523
+ shouldChangePassword?: boolean | undefined;
2476
2524
  isInactive?: boolean | undefined;
2477
2525
  title?: string | undefined;
2478
2526
  bio?: string | undefined;
@@ -2501,6 +2549,7 @@ declare const zInvoiceResponse: z.ZodObject<{
2501
2549
  country?: string | undefined;
2502
2550
  phoneNumber?: string | undefined;
2503
2551
  birthDate?: string | undefined;
2552
+ shouldChangePassword?: boolean | undefined;
2504
2553
  guardian?: string | undefined;
2505
2554
  editedBy?: string | undefined;
2506
2555
  createdAt?: string | undefined;
@@ -2532,6 +2581,7 @@ declare const zInvoiceResponse: z.ZodObject<{
2532
2581
  country?: string | undefined;
2533
2582
  phoneNumber?: string | undefined;
2534
2583
  birthDate?: string | undefined;
2584
+ shouldChangePassword?: boolean | undefined;
2535
2585
  isInactive?: boolean | undefined;
2536
2586
  title?: string | undefined;
2537
2587
  bio?: string | undefined;
@@ -2564,6 +2614,7 @@ declare const zInvoiceResponse: z.ZodObject<{
2564
2614
  country?: string | undefined;
2565
2615
  phoneNumber?: string | undefined;
2566
2616
  birthDate?: string | undefined;
2617
+ shouldChangePassword?: boolean | undefined;
2567
2618
  isInactive?: boolean | undefined;
2568
2619
  title?: string | undefined;
2569
2620
  bio?: string | undefined;
@@ -2735,6 +2786,7 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
2735
2786
  country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
2736
2787
  phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
2737
2788
  birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
2789
+ shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
2738
2790
  isInactive: z.ZodOptional<z.ZodBoolean>;
2739
2791
  title: z.ZodOptional<z.ZodString>;
2740
2792
  bio: z.ZodOptional<z.ZodString>;
@@ -2759,6 +2811,7 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
2759
2811
  country?: string | undefined;
2760
2812
  phoneNumber?: string | undefined;
2761
2813
  birthDate?: string | undefined;
2814
+ shouldChangePassword?: boolean | undefined;
2762
2815
  isInactive?: boolean | undefined;
2763
2816
  title?: string | undefined;
2764
2817
  bio?: string | undefined;
@@ -2782,6 +2835,7 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
2782
2835
  country?: string | undefined;
2783
2836
  phoneNumber?: string | undefined;
2784
2837
  birthDate?: string | undefined;
2838
+ shouldChangePassword?: boolean | undefined;
2785
2839
  isInactive?: boolean | undefined;
2786
2840
  title?: string | undefined;
2787
2841
  bio?: string | undefined;
@@ -2808,6 +2862,7 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
2808
2862
  country?: string | undefined;
2809
2863
  phoneNumber?: string | undefined;
2810
2864
  birthDate?: string | undefined;
2865
+ shouldChangePassword?: boolean | undefined;
2811
2866
  isInactive?: boolean | undefined;
2812
2867
  title?: string | undefined;
2813
2868
  bio?: string | undefined;
@@ -2844,6 +2899,7 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
2844
2899
  country?: string | undefined;
2845
2900
  phoneNumber?: string | undefined;
2846
2901
  birthDate?: string | undefined;
2902
+ shouldChangePassword?: boolean | undefined;
2847
2903
  isInactive?: boolean | undefined;
2848
2904
  title?: string | undefined;
2849
2905
  bio?: string | undefined;
@@ -3047,6 +3103,7 @@ declare const zReportTicketResponse: z.ZodObject<{
3047
3103
  country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
3048
3104
  phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
3049
3105
  birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
3106
+ shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
3050
3107
  _id: z.ZodString;
3051
3108
  editedBy: z.ZodOptional<z.ZodString>;
3052
3109
  createdAt: z.ZodOptional<z.ZodString>;
@@ -3066,6 +3123,7 @@ declare const zReportTicketResponse: z.ZodObject<{
3066
3123
  country?: string | undefined;
3067
3124
  phoneNumber?: string | undefined;
3068
3125
  birthDate?: string | undefined;
3126
+ shouldChangePassword?: boolean | undefined;
3069
3127
  editedBy?: string | undefined;
3070
3128
  createdAt?: string | undefined;
3071
3129
  updatedAt?: string | undefined;
@@ -3084,6 +3142,7 @@ declare const zReportTicketResponse: z.ZodObject<{
3084
3142
  country?: string | undefined;
3085
3143
  phoneNumber?: string | undefined;
3086
3144
  birthDate?: string | undefined;
3145
+ shouldChangePassword?: boolean | undefined;
3087
3146
  editedBy?: string | undefined;
3088
3147
  createdAt?: string | undefined;
3089
3148
  updatedAt?: string | undefined;
@@ -3110,6 +3169,7 @@ declare const zReportTicketResponse: z.ZodObject<{
3110
3169
  country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
3111
3170
  phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
3112
3171
  birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
3172
+ shouldChangePassword: z.ZodOptional<z.ZodBoolean>;
3113
3173
  _id: z.ZodString;
3114
3174
  editedBy: z.ZodOptional<z.ZodString>;
3115
3175
  createdAt: z.ZodOptional<z.ZodString>;
@@ -3129,6 +3189,7 @@ declare const zReportTicketResponse: z.ZodObject<{
3129
3189
  country?: string | undefined;
3130
3190
  phoneNumber?: string | undefined;
3131
3191
  birthDate?: string | undefined;
3192
+ shouldChangePassword?: boolean | undefined;
3132
3193
  editedBy?: string | undefined;
3133
3194
  createdAt?: string | undefined;
3134
3195
  updatedAt?: string | undefined;
@@ -3147,6 +3208,7 @@ declare const zReportTicketResponse: z.ZodObject<{
3147
3208
  country?: string | undefined;
3148
3209
  phoneNumber?: string | undefined;
3149
3210
  birthDate?: string | undefined;
3211
+ shouldChangePassword?: boolean | undefined;
3150
3212
  editedBy?: string | undefined;
3151
3213
  createdAt?: string | undefined;
3152
3214
  updatedAt?: string | undefined;
@@ -3171,6 +3233,7 @@ declare const zReportTicketResponse: z.ZodObject<{
3171
3233
  country?: string | undefined;
3172
3234
  phoneNumber?: string | undefined;
3173
3235
  birthDate?: string | undefined;
3236
+ shouldChangePassword?: boolean | undefined;
3174
3237
  editedBy?: string | undefined;
3175
3238
  createdAt?: string | undefined;
3176
3239
  updatedAt?: string | undefined;
@@ -3193,6 +3256,7 @@ declare const zReportTicketResponse: z.ZodObject<{
3193
3256
  country?: string | undefined;
3194
3257
  phoneNumber?: string | undefined;
3195
3258
  birthDate?: string | undefined;
3259
+ shouldChangePassword?: boolean | undefined;
3196
3260
  editedBy?: string | undefined;
3197
3261
  createdAt?: string | undefined;
3198
3262
  updatedAt?: string | undefined;
@@ -3217,6 +3281,7 @@ declare const zReportTicketResponse: z.ZodObject<{
3217
3281
  country?: string | undefined;
3218
3282
  phoneNumber?: string | undefined;
3219
3283
  birthDate?: string | undefined;
3284
+ shouldChangePassword?: boolean | undefined;
3220
3285
  editedBy?: string | undefined;
3221
3286
  createdAt?: string | undefined;
3222
3287
  updatedAt?: string | undefined;
@@ -3239,6 +3304,7 @@ declare const zReportTicketResponse: z.ZodObject<{
3239
3304
  country?: string | undefined;
3240
3305
  phoneNumber?: string | undefined;
3241
3306
  birthDate?: string | undefined;
3307
+ shouldChangePassword?: boolean | undefined;
3242
3308
  editedBy?: string | undefined;
3243
3309
  createdAt?: string | undefined;
3244
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
 
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nyig/models",
3
- "version": "0.3.2",
3
+ "version": "0.3.4",
4
4
  "license": "MIT",
5
5
  "main": "index.js",
6
6
  "module": "index.mjs",