@nyig/models 0.2.29 → 0.2.31

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
@@ -133,12 +133,11 @@ declare const zAttendance: z.ZodObject<{
133
133
  paid: z.ZodOptional<z.ZodBoolean>;
134
134
  campOption: z.ZodNativeEnum<typeof CampOption>;
135
135
  _id: z.ZodString;
136
- editedBy: z.ZodString;
136
+ editedBy: z.ZodOptional<z.ZodString>;
137
137
  createdAt: z.ZodOptional<z.ZodDate>;
138
138
  updatedAt: z.ZodOptional<z.ZodDate>;
139
139
  }, z.UnknownKeysParam, z.ZodTypeAny, {
140
140
  _id: string;
141
- editedBy: string;
142
141
  student: string;
143
142
  states: AttendState[];
144
143
  tuition: {
@@ -148,11 +147,11 @@ declare const zAttendance: z.ZodObject<{
148
147
  };
149
148
  campOption: CampOption;
150
149
  paid?: boolean | undefined;
150
+ editedBy?: string | undefined;
151
151
  createdAt?: Date | undefined;
152
152
  updatedAt?: Date | undefined;
153
153
  }, {
154
154
  _id: string;
155
- editedBy: string;
156
155
  student: string;
157
156
  states: AttendState[];
158
157
  tuition: {
@@ -162,6 +161,7 @@ declare const zAttendance: z.ZodObject<{
162
161
  };
163
162
  campOption: CampOption;
164
163
  paid?: boolean | undefined;
164
+ editedBy?: string | undefined;
165
165
  createdAt?: Date | undefined;
166
166
  updatedAt?: Date | undefined;
167
167
  }>;
@@ -180,6 +180,7 @@ declare const zBCampTracker: z.ZodObject<{
180
180
  * attendances are tracked by week for camps
181
181
  */
182
182
  attendances: z.ZodArray<z.ZodString, "many">;
183
+ isNonPublic: z.ZodOptional<z.ZodBoolean>;
183
184
  notes: z.ZodOptional<z.ZodString>;
184
185
  }, "strip", z.ZodTypeAny, {
185
186
  course: string;
@@ -187,6 +188,7 @@ declare const zBCampTracker: z.ZodObject<{
187
188
  semester: string;
188
189
  occurrences: string[];
189
190
  attendances: string[];
191
+ isNonPublic?: boolean | undefined;
190
192
  notes?: string | undefined;
191
193
  }, {
192
194
  course: string;
@@ -194,6 +196,7 @@ declare const zBCampTracker: z.ZodObject<{
194
196
  semester: string;
195
197
  occurrences: string[];
196
198
  attendances: string[];
199
+ isNonPublic?: boolean | undefined;
197
200
  notes?: string | undefined;
198
201
  }>;
199
202
  declare const zCampTracker: z.ZodObject<{
@@ -203,30 +206,33 @@ declare const zCampTracker: z.ZodObject<{
203
206
  semester: z.ZodString;
204
207
  occurrences: z.ZodArray<z.ZodString, "many">;
205
208
  attendances: z.ZodArray<z.ZodString, "many">;
209
+ isNonPublic: z.ZodOptional<z.ZodBoolean>;
206
210
  _id: z.ZodString;
207
- editedBy: z.ZodString;
211
+ editedBy: z.ZodOptional<z.ZodString>;
208
212
  createdAt: z.ZodOptional<z.ZodDate>;
209
213
  updatedAt: z.ZodOptional<z.ZodDate>;
210
214
  }, z.UnknownKeysParam, z.ZodTypeAny, {
211
215
  _id: string;
212
- editedBy: string;
213
216
  course: string;
214
217
  teacher: string;
215
218
  semester: string;
216
219
  occurrences: string[];
217
220
  attendances: string[];
218
221
  notes?: string | undefined;
222
+ isNonPublic?: boolean | undefined;
223
+ editedBy?: string | undefined;
219
224
  createdAt?: Date | undefined;
220
225
  updatedAt?: Date | undefined;
221
226
  }, {
222
227
  _id: string;
223
- editedBy: string;
224
228
  course: string;
225
229
  teacher: string;
226
230
  semester: string;
227
231
  occurrences: string[];
228
232
  attendances: string[];
229
233
  notes?: string | undefined;
234
+ isNonPublic?: boolean | undefined;
235
+ editedBy?: string | undefined;
230
236
  createdAt?: Date | undefined;
231
237
  updatedAt?: Date | undefined;
232
238
  }>;
@@ -314,12 +320,11 @@ declare const zClassTracker: z.ZodObject<{
314
320
  completed: z.ZodOptional<z.ZodBoolean>;
315
321
  paused: z.ZodOptional<z.ZodBoolean>;
316
322
  _id: z.ZodString;
317
- editedBy: z.ZodString;
323
+ editedBy: z.ZodOptional<z.ZodString>;
318
324
  createdAt: z.ZodOptional<z.ZodDate>;
319
325
  updatedAt: z.ZodOptional<z.ZodDate>;
320
326
  }, z.UnknownKeysParam, z.ZodTypeAny, {
321
327
  _id: string;
322
- editedBy: string;
323
328
  student: string;
324
329
  course: string;
325
330
  teacher: string;
@@ -334,11 +339,11 @@ declare const zClassTracker: z.ZodObject<{
334
339
  paid?: boolean | undefined;
335
340
  completed?: boolean | undefined;
336
341
  paused?: boolean | undefined;
342
+ editedBy?: string | undefined;
337
343
  createdAt?: Date | undefined;
338
344
  updatedAt?: Date | undefined;
339
345
  }, {
340
346
  _id: string;
341
- editedBy: string;
342
347
  student: string;
343
348
  course: string;
344
349
  teacher: string;
@@ -353,6 +358,7 @@ declare const zClassTracker: z.ZodObject<{
353
358
  paid?: boolean | undefined;
354
359
  completed?: boolean | undefined;
355
360
  paused?: boolean | undefined;
361
+ editedBy?: string | undefined;
356
362
  createdAt?: Date | undefined;
357
363
  updatedAt?: Date | undefined;
358
364
  }>;
@@ -437,12 +443,11 @@ declare const zCourse: z.ZodObject<{
437
443
  halfCampTuition: z.ZodOptional<z.ZodNumber>;
438
444
  fullCampTuition: z.ZodOptional<z.ZodNumber>;
439
445
  _id: z.ZodString;
440
- editedBy: z.ZodString;
446
+ editedBy: z.ZodOptional<z.ZodString>;
441
447
  createdAt: z.ZodOptional<z.ZodDate>;
442
448
  updatedAt: z.ZodOptional<z.ZodDate>;
443
449
  }, z.UnknownKeysParam, z.ZodTypeAny, {
444
450
  _id: string;
445
- editedBy: string;
446
451
  price: number;
447
452
  name: string;
448
453
  category: CourseCategory;
@@ -452,11 +457,11 @@ declare const zCourse: z.ZodObject<{
452
457
  description?: string | undefined;
453
458
  halfCampTuition?: number | undefined;
454
459
  fullCampTuition?: number | undefined;
460
+ editedBy?: string | undefined;
455
461
  createdAt?: Date | undefined;
456
462
  updatedAt?: Date | undefined;
457
463
  }, {
458
464
  _id: string;
459
- editedBy: string;
460
465
  price: number;
461
466
  name: string;
462
467
  category: CourseCategory;
@@ -466,6 +471,7 @@ declare const zCourse: z.ZodObject<{
466
471
  description?: string | undefined;
467
472
  halfCampTuition?: number | undefined;
468
473
  fullCampTuition?: number | undefined;
474
+ editedBy?: string | undefined;
469
475
  createdAt?: Date | undefined;
470
476
  updatedAt?: Date | undefined;
471
477
  }>;
@@ -543,6 +549,7 @@ declare const zGroupTracker: z.ZodObject<{
543
549
  semester: z.ZodString;
544
550
  occurrences: z.ZodArray<z.ZodDate, "many">;
545
551
  attendances: z.ZodArray<z.ZodString, "many">;
552
+ isNonPublic: z.ZodOptional<z.ZodBoolean>;
546
553
  scheduleData: z.ZodObject<{
547
554
  startTime: z.ZodString;
548
555
  dayOfWeek: z.ZodNumber;
@@ -555,14 +562,12 @@ declare const zGroupTracker: z.ZodObject<{
555
562
  }>;
556
563
  courseId: z.ZodOptional<z.ZodString>;
557
564
  ageGroup: z.ZodOptional<z.ZodNativeEnum<typeof AgeGroup>>;
558
- isNonPublic: z.ZodOptional<z.ZodBoolean>;
559
565
  _id: z.ZodString;
560
- editedBy: z.ZodString;
566
+ editedBy: z.ZodOptional<z.ZodString>;
561
567
  createdAt: z.ZodOptional<z.ZodDate>;
562
568
  updatedAt: z.ZodOptional<z.ZodDate>;
563
569
  }, z.UnknownKeysParam, z.ZodTypeAny, {
564
570
  _id: string;
565
- editedBy: string;
566
571
  course: string;
567
572
  teacher: string;
568
573
  semester: string;
@@ -573,14 +578,14 @@ declare const zGroupTracker: z.ZodObject<{
573
578
  dayOfWeek: number;
574
579
  };
575
580
  notes?: string | undefined;
581
+ isNonPublic?: boolean | undefined;
576
582
  courseId?: string | undefined;
577
583
  ageGroup?: AgeGroup | undefined;
578
- isNonPublic?: boolean | undefined;
584
+ editedBy?: string | undefined;
579
585
  createdAt?: Date | undefined;
580
586
  updatedAt?: Date | undefined;
581
587
  }, {
582
588
  _id: string;
583
- editedBy: string;
584
589
  course: string;
585
590
  teacher: string;
586
591
  semester: string;
@@ -591,9 +596,10 @@ declare const zGroupTracker: z.ZodObject<{
591
596
  dayOfWeek: number;
592
597
  };
593
598
  notes?: string | undefined;
599
+ isNonPublic?: boolean | undefined;
594
600
  courseId?: string | undefined;
595
601
  ageGroup?: AgeGroup | undefined;
596
- isNonPublic?: boolean | undefined;
602
+ editedBy?: string | undefined;
597
603
  createdAt?: Date | undefined;
598
604
  updatedAt?: Date | undefined;
599
605
  }>;
@@ -682,7 +688,7 @@ declare const zCampBooking: z.ZodObject<{
682
688
  isOnline: z.ZodBoolean;
683
689
  classDates: z.ZodString;
684
690
  _id: z.ZodString;
685
- editedBy: z.ZodString;
691
+ editedBy: z.ZodOptional<z.ZodString>;
686
692
  createdAt: z.ZodOptional<z.ZodDate>;
687
693
  updatedAt: z.ZodOptional<z.ZodDate>;
688
694
  }, z.UnknownKeysParam, z.ZodTypeAny, {
@@ -692,7 +698,6 @@ declare const zCampBooking: z.ZodObject<{
692
698
  rank: string;
693
699
  email: string;
694
700
  _id: string;
695
- editedBy: string;
696
701
  campOption: CampOption;
697
702
  isOnline: boolean;
698
703
  classDates: string;
@@ -704,6 +709,7 @@ declare const zCampBooking: z.ZodObject<{
704
709
  notes?: string | undefined;
705
710
  shipping?: boolean | undefined;
706
711
  ctId?: string | undefined;
712
+ editedBy?: string | undefined;
707
713
  createdAt?: Date | undefined;
708
714
  updatedAt?: Date | undefined;
709
715
  }, {
@@ -713,7 +719,6 @@ declare const zCampBooking: z.ZodObject<{
713
719
  rank: string;
714
720
  email: string;
715
721
  _id: string;
716
- editedBy: string;
717
722
  campOption: CampOption;
718
723
  isOnline: boolean;
719
724
  classDates: string;
@@ -725,6 +730,7 @@ declare const zCampBooking: z.ZodObject<{
725
730
  notes?: string | undefined;
726
731
  shipping?: boolean | undefined;
727
732
  ctId?: string | undefined;
733
+ editedBy?: string | undefined;
728
734
  createdAt?: Date | undefined;
729
735
  updatedAt?: Date | undefined;
730
736
  }>;
@@ -801,7 +807,7 @@ declare const zGroupBooking: z.ZodObject<{
801
807
  isTrial: z.ZodOptional<z.ZodBoolean>;
802
808
  classDate: z.ZodOptional<z.ZodString>;
803
809
  _id: z.ZodString;
804
- editedBy: z.ZodString;
810
+ editedBy: z.ZodOptional<z.ZodString>;
805
811
  createdAt: z.ZodOptional<z.ZodDate>;
806
812
  updatedAt: z.ZodOptional<z.ZodDate>;
807
813
  }, z.UnknownKeysParam, z.ZodTypeAny, {
@@ -811,7 +817,6 @@ declare const zGroupBooking: z.ZodObject<{
811
817
  rank: string;
812
818
  email: string;
813
819
  _id: string;
814
- editedBy: string;
815
820
  isOnline: boolean;
816
821
  paymentReceived?: boolean | undefined;
817
822
  expireAt?: Date | undefined;
@@ -823,6 +828,7 @@ declare const zGroupBooking: z.ZodObject<{
823
828
  gtId?: string | undefined;
824
829
  isTrial?: boolean | undefined;
825
830
  classDate?: string | undefined;
831
+ editedBy?: string | undefined;
826
832
  createdAt?: Date | undefined;
827
833
  updatedAt?: Date | undefined;
828
834
  }, {
@@ -832,7 +838,6 @@ declare const zGroupBooking: z.ZodObject<{
832
838
  rank: string;
833
839
  email: string;
834
840
  _id: string;
835
- editedBy: string;
836
841
  isOnline: boolean;
837
842
  paymentReceived?: boolean | undefined;
838
843
  expireAt?: Date | undefined;
@@ -844,6 +849,7 @@ declare const zGroupBooking: z.ZodObject<{
844
849
  gtId?: string | undefined;
845
850
  isTrial?: boolean | undefined;
846
851
  classDate?: string | undefined;
852
+ editedBy?: string | undefined;
847
853
  createdAt?: Date | undefined;
848
854
  updatedAt?: Date | undefined;
849
855
  }>;
@@ -912,7 +918,7 @@ declare const zPrivateBooking: z.ZodObject<{
912
918
  classDate: z.ZodOptional<z.ZodString>;
913
919
  teacherId: z.ZodString;
914
920
  _id: z.ZodString;
915
- editedBy: z.ZodString;
921
+ editedBy: z.ZodOptional<z.ZodString>;
916
922
  createdAt: z.ZodOptional<z.ZodDate>;
917
923
  updatedAt: z.ZodOptional<z.ZodDate>;
918
924
  }, z.UnknownKeysParam, z.ZodTypeAny, {
@@ -922,7 +928,6 @@ declare const zPrivateBooking: z.ZodObject<{
922
928
  rank: string;
923
929
  email: string;
924
930
  _id: string;
925
- editedBy: string;
926
931
  courseId: string;
927
932
  teacherId: string;
928
933
  paymentReceived?: boolean | undefined;
@@ -932,6 +937,7 @@ declare const zPrivateBooking: z.ZodObject<{
932
937
  address?: string | undefined;
933
938
  notes?: string | undefined;
934
939
  classDate?: string | undefined;
940
+ editedBy?: string | undefined;
935
941
  createdAt?: Date | undefined;
936
942
  updatedAt?: Date | undefined;
937
943
  }, {
@@ -941,7 +947,6 @@ declare const zPrivateBooking: z.ZodObject<{
941
947
  rank: string;
942
948
  email: string;
943
949
  _id: string;
944
- editedBy: string;
945
950
  courseId: string;
946
951
  teacherId: string;
947
952
  paymentReceived?: boolean | undefined;
@@ -951,6 +956,7 @@ declare const zPrivateBooking: z.ZodObject<{
951
956
  address?: string | undefined;
952
957
  notes?: string | undefined;
953
958
  classDate?: string | undefined;
959
+ editedBy?: string | undefined;
954
960
  createdAt?: Date | undefined;
955
961
  updatedAt?: Date | undefined;
956
962
  }>;
@@ -1151,12 +1157,11 @@ declare const zInvoice: z.ZodObject<{
1151
1157
  }>, "many">;
1152
1158
  createdBy: z.ZodString;
1153
1159
  _id: z.ZodString;
1154
- editedBy: z.ZodString;
1160
+ editedBy: z.ZodOptional<z.ZodString>;
1155
1161
  createdAt: z.ZodOptional<z.ZodDate>;
1156
1162
  updatedAt: z.ZodOptional<z.ZodDate>;
1157
1163
  }, z.UnknownKeysParam, z.ZodTypeAny, {
1158
1164
  _id: string;
1159
- editedBy: string;
1160
1165
  billTo: string;
1161
1166
  packages: {
1162
1167
  student: string;
@@ -1175,11 +1180,11 @@ declare const zInvoice: z.ZodObject<{
1175
1180
  textbook?: number | undefined;
1176
1181
  shipping?: number | undefined;
1177
1182
  paid?: PaymentMethod | undefined;
1183
+ editedBy?: string | undefined;
1178
1184
  createdAt?: Date | undefined;
1179
1185
  updatedAt?: Date | undefined;
1180
1186
  }, {
1181
1187
  _id: string;
1182
- editedBy: string;
1183
1188
  billTo: string;
1184
1189
  packages: {
1185
1190
  student: string;
@@ -1198,6 +1203,7 @@ declare const zInvoice: z.ZodObject<{
1198
1203
  textbook?: number | undefined;
1199
1204
  shipping?: number | undefined;
1200
1205
  paid?: PaymentMethod | undefined;
1206
+ editedBy?: string | undefined;
1201
1207
  createdAt?: Date | undefined;
1202
1208
  updatedAt?: Date | undefined;
1203
1209
  }>;
@@ -1286,12 +1292,11 @@ declare const zTeacherPayment: z.ZodObject<{
1286
1292
  wage: number;
1287
1293
  }>, "many">;
1288
1294
  _id: z.ZodString;
1289
- editedBy: z.ZodString;
1295
+ editedBy: z.ZodOptional<z.ZodString>;
1290
1296
  createdAt: z.ZodOptional<z.ZodDate>;
1291
1297
  updatedAt: z.ZodOptional<z.ZodDate>;
1292
1298
  }, z.UnknownKeysParam, z.ZodTypeAny, {
1293
1299
  _id: string;
1294
- editedBy: string;
1295
1300
  teacher: string;
1296
1301
  rows: {
1297
1302
  length: number;
@@ -1300,11 +1305,11 @@ declare const zTeacherPayment: z.ZodObject<{
1300
1305
  wage: number;
1301
1306
  }[];
1302
1307
  paid?: boolean | undefined;
1308
+ editedBy?: string | undefined;
1303
1309
  createdAt?: Date | undefined;
1304
1310
  updatedAt?: Date | undefined;
1305
1311
  }, {
1306
1312
  _id: string;
1307
- editedBy: string;
1308
1313
  teacher: string;
1309
1314
  rows: {
1310
1315
  length: number;
@@ -1313,6 +1318,7 @@ declare const zTeacherPayment: z.ZodObject<{
1313
1318
  wage: number;
1314
1319
  }[];
1315
1320
  paid?: boolean | undefined;
1321
+ editedBy?: string | undefined;
1316
1322
  createdAt?: Date | undefined;
1317
1323
  updatedAt?: Date | undefined;
1318
1324
  }>;
@@ -1445,27 +1451,27 @@ declare const zReportTicket: z.ZodObject<{
1445
1451
  requester: z.ZodString;
1446
1452
  resolver: z.ZodOptional<z.ZodString>;
1447
1453
  _id: z.ZodString;
1448
- editedBy: z.ZodString;
1454
+ editedBy: z.ZodOptional<z.ZodString>;
1449
1455
  createdAt: z.ZodOptional<z.ZodDate>;
1450
1456
  updatedAt: z.ZodOptional<z.ZodDate>;
1451
1457
  }, z.UnknownKeysParam, z.ZodTypeAny, {
1452
1458
  status: TicketStatus;
1453
1459
  _id: string;
1454
- editedBy: string;
1455
1460
  description: string;
1456
1461
  title: string;
1457
1462
  requester: string;
1458
1463
  resolver?: string | undefined;
1464
+ editedBy?: string | undefined;
1459
1465
  createdAt?: Date | undefined;
1460
1466
  updatedAt?: Date | undefined;
1461
1467
  }, {
1462
1468
  status: TicketStatus;
1463
1469
  _id: string;
1464
- editedBy: string;
1465
1470
  description: string;
1466
1471
  title: string;
1467
1472
  requester: string;
1468
1473
  resolver?: string | undefined;
1474
+ editedBy?: string | undefined;
1469
1475
  createdAt?: Date | undefined;
1470
1476
  updatedAt?: Date | undefined;
1471
1477
  }>;
@@ -1514,29 +1520,29 @@ declare const zSemester: z.ZodObject<{
1514
1520
  blackoutDates: z.ZodArray<z.ZodDate, "many">;
1515
1521
  importantDates: z.ZodArray<z.ZodString, "many">;
1516
1522
  _id: z.ZodString;
1517
- editedBy: z.ZodString;
1523
+ editedBy: z.ZodOptional<z.ZodString>;
1518
1524
  createdAt: z.ZodOptional<z.ZodDate>;
1519
1525
  updatedAt: z.ZodOptional<z.ZodDate>;
1520
1526
  }, z.UnknownKeysParam, z.ZodTypeAny, {
1521
1527
  _id: string;
1522
- editedBy: string;
1523
1528
  season: Season;
1524
1529
  year: number;
1525
1530
  startDate: Date;
1526
1531
  endDate: Date;
1527
1532
  blackoutDates: Date[];
1528
1533
  importantDates: string[];
1534
+ editedBy?: string | undefined;
1529
1535
  createdAt?: Date | undefined;
1530
1536
  updatedAt?: Date | undefined;
1531
1537
  }, {
1532
1538
  _id: string;
1533
- editedBy: string;
1534
1539
  season: Season;
1535
1540
  year: number;
1536
1541
  startDate: Date;
1537
1542
  endDate: Date;
1538
1543
  blackoutDates: Date[];
1539
1544
  importantDates: string[];
1545
+ editedBy?: string | undefined;
1540
1546
  createdAt?: Date | undefined;
1541
1547
  updatedAt?: Date | undefined;
1542
1548
  }>;
@@ -1730,12 +1736,11 @@ declare const zEventConfig: z.ZodObject<{
1730
1736
  width: number;
1731
1737
  }>>;
1732
1738
  _id: z.ZodString;
1733
- editedBy: z.ZodString;
1739
+ editedBy: z.ZodOptional<z.ZodString>;
1734
1740
  createdAt: z.ZodOptional<z.ZodDate>;
1735
1741
  updatedAt: z.ZodOptional<z.ZodDate>;
1736
1742
  }, z.UnknownKeysParam, z.ZodTypeAny, {
1737
1743
  _id: string;
1738
- editedBy: string;
1739
1744
  description: string;
1740
1745
  title: string;
1741
1746
  url: string;
@@ -1760,11 +1765,11 @@ declare const zEventConfig: z.ZodObject<{
1760
1765
  height: number;
1761
1766
  width: number;
1762
1767
  } | undefined;
1768
+ editedBy?: string | undefined;
1763
1769
  createdAt?: Date | undefined;
1764
1770
  updatedAt?: Date | undefined;
1765
1771
  }, {
1766
1772
  _id: string;
1767
- editedBy: string;
1768
1773
  description: string;
1769
1774
  title: string;
1770
1775
  url: string;
@@ -1789,12 +1794,13 @@ declare const zEventConfig: z.ZodObject<{
1789
1794
  height: number;
1790
1795
  width: number;
1791
1796
  } | undefined;
1797
+ editedBy?: string | undefined;
1792
1798
  createdAt?: Date | undefined;
1793
1799
  updatedAt?: Date | undefined;
1794
1800
  }>;
1795
1801
  declare const zEventConfigResponse: z.ZodObject<{
1796
1802
  _id: z.ZodString;
1797
- editedBy: z.ZodString;
1803
+ editedBy: z.ZodOptional<z.ZodString>;
1798
1804
  createdAt: z.ZodOptional<z.ZodDate>;
1799
1805
  updatedAt: z.ZodOptional<z.ZodDate>;
1800
1806
  description: z.ZodString;
@@ -1847,33 +1853,32 @@ declare const zEventConfigResponse: z.ZodObject<{
1847
1853
  isNotBuyable: z.ZodOptional<z.ZodBoolean>;
1848
1854
  lastBuyableDate: z.ZodOptional<z.ZodDate>;
1849
1855
  _id: z.ZodString;
1850
- editedBy: z.ZodString;
1856
+ editedBy: z.ZodOptional<z.ZodString>;
1851
1857
  createdAt: z.ZodOptional<z.ZodDate>;
1852
1858
  updatedAt: z.ZodOptional<z.ZodDate>;
1853
1859
  }, z.UnknownKeysParam, z.ZodTypeAny, {
1854
1860
  _id: string;
1855
- editedBy: string;
1856
1861
  price: number;
1857
1862
  name: string;
1858
1863
  description?: string | undefined;
1859
1864
  isNotBuyable?: boolean | undefined;
1860
1865
  lastBuyableDate?: Date | undefined;
1866
+ editedBy?: string | undefined;
1861
1867
  createdAt?: Date | undefined;
1862
1868
  updatedAt?: Date | undefined;
1863
1869
  }, {
1864
1870
  _id: string;
1865
- editedBy: string;
1866
1871
  price: number;
1867
1872
  name: string;
1868
1873
  description?: string | undefined;
1869
1874
  isNotBuyable?: boolean | undefined;
1870
1875
  lastBuyableDate?: Date | undefined;
1876
+ editedBy?: string | undefined;
1871
1877
  createdAt?: Date | undefined;
1872
1878
  updatedAt?: Date | undefined;
1873
1879
  }>, "many">;
1874
1880
  }, z.UnknownKeysParam, z.ZodTypeAny, {
1875
1881
  _id: string;
1876
- editedBy: string;
1877
1882
  description: string;
1878
1883
  title: string;
1879
1884
  url: string;
@@ -1891,16 +1896,17 @@ declare const zEventConfigResponse: z.ZodObject<{
1891
1896
  };
1892
1897
  tickets: {
1893
1898
  _id: string;
1894
- editedBy: string;
1895
1899
  price: number;
1896
1900
  name: string;
1897
1901
  description?: string | undefined;
1898
1902
  isNotBuyable?: boolean | undefined;
1899
1903
  lastBuyableDate?: Date | undefined;
1904
+ editedBy?: string | undefined;
1900
1905
  createdAt?: Date | undefined;
1901
1906
  updatedAt?: Date | undefined;
1902
1907
  }[];
1903
1908
  canRegister: boolean;
1909
+ editedBy?: string | undefined;
1904
1910
  createdAt?: Date | undefined;
1905
1911
  updatedAt?: Date | undefined;
1906
1912
  location?: string | undefined;
@@ -1912,7 +1918,6 @@ declare const zEventConfigResponse: z.ZodObject<{
1912
1918
  } | undefined;
1913
1919
  }, {
1914
1920
  _id: string;
1915
- editedBy: string;
1916
1921
  description: string;
1917
1922
  title: string;
1918
1923
  url: string;
@@ -1930,16 +1935,17 @@ declare const zEventConfigResponse: z.ZodObject<{
1930
1935
  };
1931
1936
  tickets: {
1932
1937
  _id: string;
1933
- editedBy: string;
1934
1938
  price: number;
1935
1939
  name: string;
1936
1940
  description?: string | undefined;
1937
1941
  isNotBuyable?: boolean | undefined;
1938
1942
  lastBuyableDate?: Date | undefined;
1943
+ editedBy?: string | undefined;
1939
1944
  createdAt?: Date | undefined;
1940
1945
  updatedAt?: Date | undefined;
1941
1946
  }[];
1942
1947
  canRegister: boolean;
1948
+ editedBy?: string | undefined;
1943
1949
  createdAt?: Date | undefined;
1944
1950
  updatedAt?: Date | undefined;
1945
1951
  location?: string | undefined;
@@ -2071,7 +2077,7 @@ declare const zEventReg: z.ZodObject<{
2071
2077
  donation: z.ZodOptional<z.ZodNumber>;
2072
2078
  createMethod: z.ZodOptional<z.ZodString>;
2073
2079
  _id: z.ZodString;
2074
- editedBy: z.ZodString;
2080
+ editedBy: z.ZodOptional<z.ZodString>;
2075
2081
  createdAt: z.ZodOptional<z.ZodDate>;
2076
2082
  updatedAt: z.ZodOptional<z.ZodDate>;
2077
2083
  }, z.UnknownKeysParam, z.ZodTypeAny, {
@@ -2081,7 +2087,6 @@ declare const zEventReg: z.ZodObject<{
2081
2087
  rank: string;
2082
2088
  email: string;
2083
2089
  _id: string;
2084
- editedBy: string;
2085
2090
  tickets: {
2086
2091
  amount: number;
2087
2092
  ticket: string;
@@ -2096,6 +2101,7 @@ declare const zEventReg: z.ZodObject<{
2096
2101
  notes?: string | undefined;
2097
2102
  donation?: number | undefined;
2098
2103
  createMethod?: string | undefined;
2104
+ editedBy?: string | undefined;
2099
2105
  createdAt?: Date | undefined;
2100
2106
  updatedAt?: Date | undefined;
2101
2107
  }, {
@@ -2105,7 +2111,6 @@ declare const zEventReg: z.ZodObject<{
2105
2111
  rank: string;
2106
2112
  email: string;
2107
2113
  _id: string;
2108
- editedBy: string;
2109
2114
  tickets: {
2110
2115
  amount: number;
2111
2116
  ticket: string;
@@ -2120,6 +2125,7 @@ declare const zEventReg: z.ZodObject<{
2120
2125
  notes?: string | undefined;
2121
2126
  donation?: number | undefined;
2122
2127
  createMethod?: string | undefined;
2128
+ editedBy?: string | undefined;
2123
2129
  createdAt?: Date | undefined;
2124
2130
  updatedAt?: Date | undefined;
2125
2131
  }>;
@@ -2136,7 +2142,7 @@ declare const zEventRegResponse: z.ZodObject<{
2136
2142
  address: z.ZodOptional<z.ZodString>;
2137
2143
  notes: z.ZodOptional<z.ZodString>;
2138
2144
  _id: z.ZodString;
2139
- editedBy: z.ZodString;
2145
+ editedBy: z.ZodOptional<z.ZodString>;
2140
2146
  createdAt: z.ZodOptional<z.ZodDate>;
2141
2147
  updatedAt: z.ZodOptional<z.ZodDate>;
2142
2148
  agaId: z.ZodString;
@@ -2152,27 +2158,27 @@ declare const zEventRegResponse: z.ZodObject<{
2152
2158
  isNotBuyable: z.ZodOptional<z.ZodBoolean>;
2153
2159
  lastBuyableDate: z.ZodOptional<z.ZodDate>;
2154
2160
  _id: z.ZodString;
2155
- editedBy: z.ZodString;
2161
+ editedBy: z.ZodOptional<z.ZodString>;
2156
2162
  createdAt: z.ZodOptional<z.ZodDate>;
2157
2163
  updatedAt: z.ZodOptional<z.ZodDate>;
2158
2164
  }, z.UnknownKeysParam, z.ZodTypeAny, {
2159
2165
  _id: string;
2160
- editedBy: string;
2161
2166
  price: number;
2162
2167
  name: string;
2163
2168
  description?: string | undefined;
2164
2169
  isNotBuyable?: boolean | undefined;
2165
2170
  lastBuyableDate?: Date | undefined;
2171
+ editedBy?: string | undefined;
2166
2172
  createdAt?: Date | undefined;
2167
2173
  updatedAt?: Date | undefined;
2168
2174
  }, {
2169
2175
  _id: string;
2170
- editedBy: string;
2171
2176
  price: number;
2172
2177
  name: string;
2173
2178
  description?: string | undefined;
2174
2179
  isNotBuyable?: boolean | undefined;
2175
2180
  lastBuyableDate?: Date | undefined;
2181
+ editedBy?: string | undefined;
2176
2182
  createdAt?: Date | undefined;
2177
2183
  updatedAt?: Date | undefined;
2178
2184
  }>;
@@ -2180,12 +2186,12 @@ declare const zEventRegResponse: z.ZodObject<{
2180
2186
  amount: number;
2181
2187
  ticket: {
2182
2188
  _id: string;
2183
- editedBy: string;
2184
2189
  price: number;
2185
2190
  name: string;
2186
2191
  description?: string | undefined;
2187
2192
  isNotBuyable?: boolean | undefined;
2188
2193
  lastBuyableDate?: Date | undefined;
2194
+ editedBy?: string | undefined;
2189
2195
  createdAt?: Date | undefined;
2190
2196
  updatedAt?: Date | undefined;
2191
2197
  };
@@ -2193,12 +2199,12 @@ declare const zEventRegResponse: z.ZodObject<{
2193
2199
  amount: number;
2194
2200
  ticket: {
2195
2201
  _id: string;
2196
- editedBy: string;
2197
2202
  price: number;
2198
2203
  name: string;
2199
2204
  description?: string | undefined;
2200
2205
  isNotBuyable?: boolean | undefined;
2201
2206
  lastBuyableDate?: Date | undefined;
2207
+ editedBy?: string | undefined;
2202
2208
  createdAt?: Date | undefined;
2203
2209
  updatedAt?: Date | undefined;
2204
2210
  };
@@ -2210,17 +2216,16 @@ declare const zEventRegResponse: z.ZodObject<{
2210
2216
  rank: string;
2211
2217
  email: string;
2212
2218
  _id: string;
2213
- editedBy: string;
2214
2219
  tickets: {
2215
2220
  amount: number;
2216
2221
  ticket: {
2217
2222
  _id: string;
2218
- editedBy: string;
2219
2223
  price: number;
2220
2224
  name: string;
2221
2225
  description?: string | undefined;
2222
2226
  isNotBuyable?: boolean | undefined;
2223
2227
  lastBuyableDate?: Date | undefined;
2228
+ editedBy?: string | undefined;
2224
2229
  createdAt?: Date | undefined;
2225
2230
  updatedAt?: Date | undefined;
2226
2231
  };
@@ -2233,6 +2238,7 @@ declare const zEventRegResponse: z.ZodObject<{
2233
2238
  phone?: string | undefined;
2234
2239
  address?: string | undefined;
2235
2240
  notes?: string | undefined;
2241
+ editedBy?: string | undefined;
2236
2242
  createdAt?: Date | undefined;
2237
2243
  updatedAt?: Date | undefined;
2238
2244
  donation?: number | undefined;
@@ -2244,17 +2250,16 @@ declare const zEventRegResponse: z.ZodObject<{
2244
2250
  rank: string;
2245
2251
  email: string;
2246
2252
  _id: string;
2247
- editedBy: string;
2248
2253
  tickets: {
2249
2254
  amount: number;
2250
2255
  ticket: {
2251
2256
  _id: string;
2252
- editedBy: string;
2253
2257
  price: number;
2254
2258
  name: string;
2255
2259
  description?: string | undefined;
2256
2260
  isNotBuyable?: boolean | undefined;
2257
2261
  lastBuyableDate?: Date | undefined;
2262
+ editedBy?: string | undefined;
2258
2263
  createdAt?: Date | undefined;
2259
2264
  updatedAt?: Date | undefined;
2260
2265
  };
@@ -2267,6 +2272,7 @@ declare const zEventRegResponse: z.ZodObject<{
2267
2272
  phone?: string | undefined;
2268
2273
  address?: string | undefined;
2269
2274
  notes?: string | undefined;
2275
+ editedBy?: string | undefined;
2270
2276
  createdAt?: Date | undefined;
2271
2277
  updatedAt?: Date | undefined;
2272
2278
  donation?: number | undefined;
@@ -2298,27 +2304,27 @@ declare const zEventTicketRegResponse: z.ZodObject<{
2298
2304
  isNotBuyable: z.ZodOptional<z.ZodBoolean>;
2299
2305
  lastBuyableDate: z.ZodOptional<z.ZodDate>;
2300
2306
  _id: z.ZodString;
2301
- editedBy: z.ZodString;
2307
+ editedBy: z.ZodOptional<z.ZodString>;
2302
2308
  createdAt: z.ZodOptional<z.ZodDate>;
2303
2309
  updatedAt: z.ZodOptional<z.ZodDate>;
2304
2310
  }, z.UnknownKeysParam, z.ZodTypeAny, {
2305
2311
  _id: string;
2306
- editedBy: string;
2307
2312
  price: number;
2308
2313
  name: string;
2309
2314
  description?: string | undefined;
2310
2315
  isNotBuyable?: boolean | undefined;
2311
2316
  lastBuyableDate?: Date | undefined;
2317
+ editedBy?: string | undefined;
2312
2318
  createdAt?: Date | undefined;
2313
2319
  updatedAt?: Date | undefined;
2314
2320
  }, {
2315
2321
  _id: string;
2316
- editedBy: string;
2317
2322
  price: number;
2318
2323
  name: string;
2319
2324
  description?: string | undefined;
2320
2325
  isNotBuyable?: boolean | undefined;
2321
2326
  lastBuyableDate?: Date | undefined;
2327
+ editedBy?: string | undefined;
2322
2328
  createdAt?: Date | undefined;
2323
2329
  updatedAt?: Date | undefined;
2324
2330
  }>;
@@ -2326,12 +2332,12 @@ declare const zEventTicketRegResponse: z.ZodObject<{
2326
2332
  amount: number;
2327
2333
  ticket: {
2328
2334
  _id: string;
2329
- editedBy: string;
2330
2335
  price: number;
2331
2336
  name: string;
2332
2337
  description?: string | undefined;
2333
2338
  isNotBuyable?: boolean | undefined;
2334
2339
  lastBuyableDate?: Date | undefined;
2340
+ editedBy?: string | undefined;
2335
2341
  createdAt?: Date | undefined;
2336
2342
  updatedAt?: Date | undefined;
2337
2343
  };
@@ -2339,12 +2345,12 @@ declare const zEventTicketRegResponse: z.ZodObject<{
2339
2345
  amount: number;
2340
2346
  ticket: {
2341
2347
  _id: string;
2342
- editedBy: string;
2343
2348
  price: number;
2344
2349
  name: string;
2345
2350
  description?: string | undefined;
2346
2351
  isNotBuyable?: boolean | undefined;
2347
2352
  lastBuyableDate?: Date | undefined;
2353
+ editedBy?: string | undefined;
2348
2354
  createdAt?: Date | undefined;
2349
2355
  updatedAt?: Date | undefined;
2350
2356
  };
@@ -2390,27 +2396,27 @@ declare const zEventTicket: z.ZodObject<{
2390
2396
  isNotBuyable: z.ZodOptional<z.ZodBoolean>;
2391
2397
  lastBuyableDate: z.ZodOptional<z.ZodDate>;
2392
2398
  _id: z.ZodString;
2393
- editedBy: z.ZodString;
2399
+ editedBy: z.ZodOptional<z.ZodString>;
2394
2400
  createdAt: z.ZodOptional<z.ZodDate>;
2395
2401
  updatedAt: z.ZodOptional<z.ZodDate>;
2396
2402
  }, z.UnknownKeysParam, z.ZodTypeAny, {
2397
2403
  _id: string;
2398
- editedBy: string;
2399
2404
  price: number;
2400
2405
  name: string;
2401
2406
  description?: string | undefined;
2402
2407
  isNotBuyable?: boolean | undefined;
2403
2408
  lastBuyableDate?: Date | undefined;
2409
+ editedBy?: string | undefined;
2404
2410
  createdAt?: Date | undefined;
2405
2411
  updatedAt?: Date | undefined;
2406
2412
  }, {
2407
2413
  _id: string;
2408
- editedBy: string;
2409
2414
  price: number;
2410
2415
  name: string;
2411
2416
  description?: string | undefined;
2412
2417
  isNotBuyable?: boolean | undefined;
2413
2418
  lastBuyableDate?: Date | undefined;
2419
+ editedBy?: string | undefined;
2414
2420
  createdAt?: Date | undefined;
2415
2421
  updatedAt?: Date | undefined;
2416
2422
  }>;
@@ -2503,12 +2509,11 @@ declare const zUser: z.ZodObject<{
2503
2509
  phoneNumber: z.ZodOptional<z.ZodString>;
2504
2510
  birthDate: z.ZodOptional<z.ZodString>;
2505
2511
  _id: z.ZodString;
2506
- editedBy: z.ZodString;
2512
+ editedBy: z.ZodOptional<z.ZodString>;
2507
2513
  createdAt: z.ZodOptional<z.ZodDate>;
2508
2514
  updatedAt: z.ZodOptional<z.ZodDate>;
2509
2515
  }, z.UnknownKeysParam, z.ZodTypeAny, {
2510
2516
  _id: string;
2511
- editedBy: string;
2512
2517
  name: string;
2513
2518
  email?: string | undefined;
2514
2519
  address?: string | undefined;
@@ -2518,11 +2523,11 @@ declare const zUser: z.ZodObject<{
2518
2523
  country?: string | undefined;
2519
2524
  phoneNumber?: string | undefined;
2520
2525
  birthDate?: string | undefined;
2526
+ editedBy?: string | undefined;
2521
2527
  createdAt?: Date | undefined;
2522
2528
  updatedAt?: Date | undefined;
2523
2529
  }, {
2524
2530
  _id: string;
2525
- editedBy: string;
2526
2531
  name: string;
2527
2532
  email?: string | undefined;
2528
2533
  address?: string | undefined;
@@ -2532,6 +2537,7 @@ declare const zUser: z.ZodObject<{
2532
2537
  country?: string | undefined;
2533
2538
  phoneNumber?: string | undefined;
2534
2539
  birthDate?: string | undefined;
2540
+ editedBy?: string | undefined;
2535
2541
  createdAt?: Date | undefined;
2536
2542
  updatedAt?: Date | undefined;
2537
2543
  }>;
@@ -2539,7 +2545,7 @@ declare const zStudent: z.ZodObject<{
2539
2545
  email: z.ZodOptional<z.ZodString>;
2540
2546
  address: z.ZodOptional<z.ZodString>;
2541
2547
  _id: z.ZodString;
2542
- editedBy: z.ZodString;
2548
+ editedBy: z.ZodOptional<z.ZodString>;
2543
2549
  createdAt: z.ZodOptional<z.ZodDate>;
2544
2550
  updatedAt: z.ZodOptional<z.ZodDate>;
2545
2551
  name: z.ZodString;
@@ -2554,10 +2560,10 @@ declare const zStudent: z.ZodObject<{
2554
2560
  }, z.UnknownKeysParam, z.ZodTypeAny, {
2555
2561
  rank: GoRank;
2556
2562
  _id: string;
2557
- editedBy: string;
2558
2563
  name: string;
2559
2564
  email?: string | undefined;
2560
2565
  address?: string | undefined;
2566
+ editedBy?: string | undefined;
2561
2567
  createdAt?: Date | undefined;
2562
2568
  updatedAt?: Date | undefined;
2563
2569
  username?: string | undefined;
@@ -2570,10 +2576,10 @@ declare const zStudent: z.ZodObject<{
2570
2576
  }, {
2571
2577
  rank: GoRank;
2572
2578
  _id: string;
2573
- editedBy: string;
2574
2579
  name: string;
2575
2580
  email?: string | undefined;
2576
2581
  address?: string | undefined;
2582
+ editedBy?: string | undefined;
2577
2583
  createdAt?: Date | undefined;
2578
2584
  updatedAt?: Date | undefined;
2579
2585
  username?: string | undefined;
@@ -2588,7 +2594,7 @@ declare const zTeacher: z.ZodObject<{
2588
2594
  email: z.ZodOptional<z.ZodString>;
2589
2595
  address: z.ZodOptional<z.ZodString>;
2590
2596
  _id: z.ZodString;
2591
- editedBy: z.ZodString;
2597
+ editedBy: z.ZodOptional<z.ZodString>;
2592
2598
  createdAt: z.ZodOptional<z.ZodDate>;
2593
2599
  updatedAt: z.ZodOptional<z.ZodDate>;
2594
2600
  name: z.ZodString;
@@ -2606,10 +2612,10 @@ declare const zTeacher: z.ZodObject<{
2606
2612
  }, z.UnknownKeysParam, z.ZodTypeAny, {
2607
2613
  rank: GoRank;
2608
2614
  _id: string;
2609
- editedBy: string;
2610
2615
  name: string;
2611
2616
  email?: string | undefined;
2612
2617
  address?: string | undefined;
2618
+ editedBy?: string | undefined;
2613
2619
  createdAt?: Date | undefined;
2614
2620
  updatedAt?: Date | undefined;
2615
2621
  username?: string | undefined;
@@ -2625,10 +2631,10 @@ declare const zTeacher: z.ZodObject<{
2625
2631
  }, {
2626
2632
  rank: GoRank;
2627
2633
  _id: string;
2628
- editedBy: string;
2629
2634
  name: string;
2630
2635
  email?: string | undefined;
2631
2636
  address?: string | undefined;
2637
+ editedBy?: string | undefined;
2632
2638
  createdAt?: Date | undefined;
2633
2639
  updatedAt?: Date | undefined;
2634
2640
  username?: string | undefined;