@nyig/models 0.2.30 → 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
  }>;
@@ -208,12 +208,11 @@ declare const zCampTracker: z.ZodObject<{
208
208
  attendances: z.ZodArray<z.ZodString, "many">;
209
209
  isNonPublic: z.ZodOptional<z.ZodBoolean>;
210
210
  _id: z.ZodString;
211
- editedBy: z.ZodString;
211
+ editedBy: z.ZodOptional<z.ZodString>;
212
212
  createdAt: z.ZodOptional<z.ZodDate>;
213
213
  updatedAt: z.ZodOptional<z.ZodDate>;
214
214
  }, z.UnknownKeysParam, z.ZodTypeAny, {
215
215
  _id: string;
216
- editedBy: string;
217
216
  course: string;
218
217
  teacher: string;
219
218
  semester: string;
@@ -221,11 +220,11 @@ declare const zCampTracker: z.ZodObject<{
221
220
  attendances: string[];
222
221
  notes?: string | undefined;
223
222
  isNonPublic?: boolean | undefined;
223
+ editedBy?: string | undefined;
224
224
  createdAt?: Date | undefined;
225
225
  updatedAt?: Date | undefined;
226
226
  }, {
227
227
  _id: string;
228
- editedBy: string;
229
228
  course: string;
230
229
  teacher: string;
231
230
  semester: string;
@@ -233,6 +232,7 @@ declare const zCampTracker: z.ZodObject<{
233
232
  attendances: string[];
234
233
  notes?: string | undefined;
235
234
  isNonPublic?: boolean | undefined;
235
+ editedBy?: string | undefined;
236
236
  createdAt?: Date | undefined;
237
237
  updatedAt?: Date | undefined;
238
238
  }>;
@@ -320,12 +320,11 @@ declare const zClassTracker: z.ZodObject<{
320
320
  completed: z.ZodOptional<z.ZodBoolean>;
321
321
  paused: z.ZodOptional<z.ZodBoolean>;
322
322
  _id: z.ZodString;
323
- editedBy: z.ZodString;
323
+ editedBy: z.ZodOptional<z.ZodString>;
324
324
  createdAt: z.ZodOptional<z.ZodDate>;
325
325
  updatedAt: z.ZodOptional<z.ZodDate>;
326
326
  }, z.UnknownKeysParam, z.ZodTypeAny, {
327
327
  _id: string;
328
- editedBy: string;
329
328
  student: string;
330
329
  course: string;
331
330
  teacher: string;
@@ -340,11 +339,11 @@ declare const zClassTracker: z.ZodObject<{
340
339
  paid?: boolean | undefined;
341
340
  completed?: boolean | undefined;
342
341
  paused?: boolean | undefined;
342
+ editedBy?: string | undefined;
343
343
  createdAt?: Date | undefined;
344
344
  updatedAt?: Date | undefined;
345
345
  }, {
346
346
  _id: string;
347
- editedBy: string;
348
347
  student: string;
349
348
  course: string;
350
349
  teacher: string;
@@ -359,6 +358,7 @@ declare const zClassTracker: z.ZodObject<{
359
358
  paid?: boolean | undefined;
360
359
  completed?: boolean | undefined;
361
360
  paused?: boolean | undefined;
361
+ editedBy?: string | undefined;
362
362
  createdAt?: Date | undefined;
363
363
  updatedAt?: Date | undefined;
364
364
  }>;
@@ -443,12 +443,11 @@ declare const zCourse: z.ZodObject<{
443
443
  halfCampTuition: z.ZodOptional<z.ZodNumber>;
444
444
  fullCampTuition: z.ZodOptional<z.ZodNumber>;
445
445
  _id: z.ZodString;
446
- editedBy: z.ZodString;
446
+ editedBy: z.ZodOptional<z.ZodString>;
447
447
  createdAt: z.ZodOptional<z.ZodDate>;
448
448
  updatedAt: z.ZodOptional<z.ZodDate>;
449
449
  }, z.UnknownKeysParam, z.ZodTypeAny, {
450
450
  _id: string;
451
- editedBy: string;
452
451
  price: number;
453
452
  name: string;
454
453
  category: CourseCategory;
@@ -458,11 +457,11 @@ declare const zCourse: z.ZodObject<{
458
457
  description?: string | undefined;
459
458
  halfCampTuition?: number | undefined;
460
459
  fullCampTuition?: number | undefined;
460
+ editedBy?: string | undefined;
461
461
  createdAt?: Date | undefined;
462
462
  updatedAt?: Date | undefined;
463
463
  }, {
464
464
  _id: string;
465
- editedBy: string;
466
465
  price: number;
467
466
  name: string;
468
467
  category: CourseCategory;
@@ -472,6 +471,7 @@ declare const zCourse: z.ZodObject<{
472
471
  description?: string | undefined;
473
472
  halfCampTuition?: number | undefined;
474
473
  fullCampTuition?: number | undefined;
474
+ editedBy?: string | undefined;
475
475
  createdAt?: Date | undefined;
476
476
  updatedAt?: Date | undefined;
477
477
  }>;
@@ -563,12 +563,11 @@ declare const zGroupTracker: z.ZodObject<{
563
563
  courseId: z.ZodOptional<z.ZodString>;
564
564
  ageGroup: z.ZodOptional<z.ZodNativeEnum<typeof AgeGroup>>;
565
565
  _id: z.ZodString;
566
- editedBy: z.ZodString;
566
+ editedBy: z.ZodOptional<z.ZodString>;
567
567
  createdAt: z.ZodOptional<z.ZodDate>;
568
568
  updatedAt: z.ZodOptional<z.ZodDate>;
569
569
  }, z.UnknownKeysParam, z.ZodTypeAny, {
570
570
  _id: string;
571
- editedBy: string;
572
571
  course: string;
573
572
  teacher: string;
574
573
  semester: string;
@@ -582,11 +581,11 @@ declare const zGroupTracker: z.ZodObject<{
582
581
  isNonPublic?: boolean | undefined;
583
582
  courseId?: string | undefined;
584
583
  ageGroup?: AgeGroup | undefined;
584
+ editedBy?: string | undefined;
585
585
  createdAt?: Date | undefined;
586
586
  updatedAt?: Date | undefined;
587
587
  }, {
588
588
  _id: string;
589
- editedBy: string;
590
589
  course: string;
591
590
  teacher: string;
592
591
  semester: string;
@@ -600,6 +599,7 @@ declare const zGroupTracker: z.ZodObject<{
600
599
  isNonPublic?: boolean | undefined;
601
600
  courseId?: string | undefined;
602
601
  ageGroup?: AgeGroup | undefined;
602
+ editedBy?: string | undefined;
603
603
  createdAt?: Date | undefined;
604
604
  updatedAt?: Date | undefined;
605
605
  }>;
@@ -688,7 +688,7 @@ declare const zCampBooking: z.ZodObject<{
688
688
  isOnline: z.ZodBoolean;
689
689
  classDates: z.ZodString;
690
690
  _id: z.ZodString;
691
- editedBy: z.ZodString;
691
+ editedBy: z.ZodOptional<z.ZodString>;
692
692
  createdAt: z.ZodOptional<z.ZodDate>;
693
693
  updatedAt: z.ZodOptional<z.ZodDate>;
694
694
  }, z.UnknownKeysParam, z.ZodTypeAny, {
@@ -698,7 +698,6 @@ declare const zCampBooking: z.ZodObject<{
698
698
  rank: string;
699
699
  email: string;
700
700
  _id: string;
701
- editedBy: string;
702
701
  campOption: CampOption;
703
702
  isOnline: boolean;
704
703
  classDates: string;
@@ -710,6 +709,7 @@ declare const zCampBooking: z.ZodObject<{
710
709
  notes?: string | undefined;
711
710
  shipping?: boolean | undefined;
712
711
  ctId?: string | undefined;
712
+ editedBy?: string | undefined;
713
713
  createdAt?: Date | undefined;
714
714
  updatedAt?: Date | undefined;
715
715
  }, {
@@ -719,7 +719,6 @@ declare const zCampBooking: z.ZodObject<{
719
719
  rank: string;
720
720
  email: string;
721
721
  _id: string;
722
- editedBy: string;
723
722
  campOption: CampOption;
724
723
  isOnline: boolean;
725
724
  classDates: string;
@@ -731,6 +730,7 @@ declare const zCampBooking: z.ZodObject<{
731
730
  notes?: string | undefined;
732
731
  shipping?: boolean | undefined;
733
732
  ctId?: string | undefined;
733
+ editedBy?: string | undefined;
734
734
  createdAt?: Date | undefined;
735
735
  updatedAt?: Date | undefined;
736
736
  }>;
@@ -807,7 +807,7 @@ declare const zGroupBooking: z.ZodObject<{
807
807
  isTrial: z.ZodOptional<z.ZodBoolean>;
808
808
  classDate: z.ZodOptional<z.ZodString>;
809
809
  _id: z.ZodString;
810
- editedBy: z.ZodString;
810
+ editedBy: z.ZodOptional<z.ZodString>;
811
811
  createdAt: z.ZodOptional<z.ZodDate>;
812
812
  updatedAt: z.ZodOptional<z.ZodDate>;
813
813
  }, z.UnknownKeysParam, z.ZodTypeAny, {
@@ -817,7 +817,6 @@ declare const zGroupBooking: z.ZodObject<{
817
817
  rank: string;
818
818
  email: string;
819
819
  _id: string;
820
- editedBy: string;
821
820
  isOnline: boolean;
822
821
  paymentReceived?: boolean | undefined;
823
822
  expireAt?: Date | undefined;
@@ -829,6 +828,7 @@ declare const zGroupBooking: z.ZodObject<{
829
828
  gtId?: string | undefined;
830
829
  isTrial?: boolean | undefined;
831
830
  classDate?: string | undefined;
831
+ editedBy?: string | undefined;
832
832
  createdAt?: Date | undefined;
833
833
  updatedAt?: Date | undefined;
834
834
  }, {
@@ -838,7 +838,6 @@ declare const zGroupBooking: z.ZodObject<{
838
838
  rank: string;
839
839
  email: string;
840
840
  _id: string;
841
- editedBy: string;
842
841
  isOnline: boolean;
843
842
  paymentReceived?: boolean | undefined;
844
843
  expireAt?: Date | undefined;
@@ -850,6 +849,7 @@ declare const zGroupBooking: z.ZodObject<{
850
849
  gtId?: string | undefined;
851
850
  isTrial?: boolean | undefined;
852
851
  classDate?: string | undefined;
852
+ editedBy?: string | undefined;
853
853
  createdAt?: Date | undefined;
854
854
  updatedAt?: Date | undefined;
855
855
  }>;
@@ -918,7 +918,7 @@ declare const zPrivateBooking: z.ZodObject<{
918
918
  classDate: z.ZodOptional<z.ZodString>;
919
919
  teacherId: z.ZodString;
920
920
  _id: z.ZodString;
921
- editedBy: z.ZodString;
921
+ editedBy: z.ZodOptional<z.ZodString>;
922
922
  createdAt: z.ZodOptional<z.ZodDate>;
923
923
  updatedAt: z.ZodOptional<z.ZodDate>;
924
924
  }, z.UnknownKeysParam, z.ZodTypeAny, {
@@ -928,7 +928,6 @@ declare const zPrivateBooking: z.ZodObject<{
928
928
  rank: string;
929
929
  email: string;
930
930
  _id: string;
931
- editedBy: string;
932
931
  courseId: string;
933
932
  teacherId: string;
934
933
  paymentReceived?: boolean | undefined;
@@ -938,6 +937,7 @@ declare const zPrivateBooking: z.ZodObject<{
938
937
  address?: string | undefined;
939
938
  notes?: string | undefined;
940
939
  classDate?: string | undefined;
940
+ editedBy?: string | undefined;
941
941
  createdAt?: Date | undefined;
942
942
  updatedAt?: Date | undefined;
943
943
  }, {
@@ -947,7 +947,6 @@ declare const zPrivateBooking: z.ZodObject<{
947
947
  rank: string;
948
948
  email: string;
949
949
  _id: string;
950
- editedBy: string;
951
950
  courseId: string;
952
951
  teacherId: string;
953
952
  paymentReceived?: boolean | undefined;
@@ -957,6 +956,7 @@ declare const zPrivateBooking: z.ZodObject<{
957
956
  address?: string | undefined;
958
957
  notes?: string | undefined;
959
958
  classDate?: string | undefined;
959
+ editedBy?: string | undefined;
960
960
  createdAt?: Date | undefined;
961
961
  updatedAt?: Date | undefined;
962
962
  }>;
@@ -1157,12 +1157,11 @@ declare const zInvoice: z.ZodObject<{
1157
1157
  }>, "many">;
1158
1158
  createdBy: z.ZodString;
1159
1159
  _id: z.ZodString;
1160
- editedBy: z.ZodString;
1160
+ editedBy: z.ZodOptional<z.ZodString>;
1161
1161
  createdAt: z.ZodOptional<z.ZodDate>;
1162
1162
  updatedAt: z.ZodOptional<z.ZodDate>;
1163
1163
  }, z.UnknownKeysParam, z.ZodTypeAny, {
1164
1164
  _id: string;
1165
- editedBy: string;
1166
1165
  billTo: string;
1167
1166
  packages: {
1168
1167
  student: string;
@@ -1181,11 +1180,11 @@ declare const zInvoice: z.ZodObject<{
1181
1180
  textbook?: number | undefined;
1182
1181
  shipping?: number | undefined;
1183
1182
  paid?: PaymentMethod | undefined;
1183
+ editedBy?: string | undefined;
1184
1184
  createdAt?: Date | undefined;
1185
1185
  updatedAt?: Date | undefined;
1186
1186
  }, {
1187
1187
  _id: string;
1188
- editedBy: string;
1189
1188
  billTo: string;
1190
1189
  packages: {
1191
1190
  student: string;
@@ -1204,6 +1203,7 @@ declare const zInvoice: z.ZodObject<{
1204
1203
  textbook?: number | undefined;
1205
1204
  shipping?: number | undefined;
1206
1205
  paid?: PaymentMethod | undefined;
1206
+ editedBy?: string | undefined;
1207
1207
  createdAt?: Date | undefined;
1208
1208
  updatedAt?: Date | undefined;
1209
1209
  }>;
@@ -1292,12 +1292,11 @@ declare const zTeacherPayment: z.ZodObject<{
1292
1292
  wage: number;
1293
1293
  }>, "many">;
1294
1294
  _id: z.ZodString;
1295
- editedBy: z.ZodString;
1295
+ editedBy: z.ZodOptional<z.ZodString>;
1296
1296
  createdAt: z.ZodOptional<z.ZodDate>;
1297
1297
  updatedAt: z.ZodOptional<z.ZodDate>;
1298
1298
  }, z.UnknownKeysParam, z.ZodTypeAny, {
1299
1299
  _id: string;
1300
- editedBy: string;
1301
1300
  teacher: string;
1302
1301
  rows: {
1303
1302
  length: number;
@@ -1306,11 +1305,11 @@ declare const zTeacherPayment: z.ZodObject<{
1306
1305
  wage: number;
1307
1306
  }[];
1308
1307
  paid?: boolean | undefined;
1308
+ editedBy?: string | undefined;
1309
1309
  createdAt?: Date | undefined;
1310
1310
  updatedAt?: Date | undefined;
1311
1311
  }, {
1312
1312
  _id: string;
1313
- editedBy: string;
1314
1313
  teacher: string;
1315
1314
  rows: {
1316
1315
  length: number;
@@ -1319,6 +1318,7 @@ declare const zTeacherPayment: z.ZodObject<{
1319
1318
  wage: number;
1320
1319
  }[];
1321
1320
  paid?: boolean | undefined;
1321
+ editedBy?: string | undefined;
1322
1322
  createdAt?: Date | undefined;
1323
1323
  updatedAt?: Date | undefined;
1324
1324
  }>;
@@ -1451,27 +1451,27 @@ declare const zReportTicket: z.ZodObject<{
1451
1451
  requester: z.ZodString;
1452
1452
  resolver: z.ZodOptional<z.ZodString>;
1453
1453
  _id: z.ZodString;
1454
- editedBy: z.ZodString;
1454
+ editedBy: z.ZodOptional<z.ZodString>;
1455
1455
  createdAt: z.ZodOptional<z.ZodDate>;
1456
1456
  updatedAt: z.ZodOptional<z.ZodDate>;
1457
1457
  }, z.UnknownKeysParam, z.ZodTypeAny, {
1458
1458
  status: TicketStatus;
1459
1459
  _id: string;
1460
- editedBy: string;
1461
1460
  description: string;
1462
1461
  title: string;
1463
1462
  requester: string;
1464
1463
  resolver?: string | undefined;
1464
+ editedBy?: string | undefined;
1465
1465
  createdAt?: Date | undefined;
1466
1466
  updatedAt?: Date | undefined;
1467
1467
  }, {
1468
1468
  status: TicketStatus;
1469
1469
  _id: string;
1470
- editedBy: string;
1471
1470
  description: string;
1472
1471
  title: string;
1473
1472
  requester: string;
1474
1473
  resolver?: string | undefined;
1474
+ editedBy?: string | undefined;
1475
1475
  createdAt?: Date | undefined;
1476
1476
  updatedAt?: Date | undefined;
1477
1477
  }>;
@@ -1520,29 +1520,29 @@ declare const zSemester: z.ZodObject<{
1520
1520
  blackoutDates: z.ZodArray<z.ZodDate, "many">;
1521
1521
  importantDates: z.ZodArray<z.ZodString, "many">;
1522
1522
  _id: z.ZodString;
1523
- editedBy: z.ZodString;
1523
+ editedBy: z.ZodOptional<z.ZodString>;
1524
1524
  createdAt: z.ZodOptional<z.ZodDate>;
1525
1525
  updatedAt: z.ZodOptional<z.ZodDate>;
1526
1526
  }, z.UnknownKeysParam, z.ZodTypeAny, {
1527
1527
  _id: string;
1528
- editedBy: string;
1529
1528
  season: Season;
1530
1529
  year: number;
1531
1530
  startDate: Date;
1532
1531
  endDate: Date;
1533
1532
  blackoutDates: Date[];
1534
1533
  importantDates: string[];
1534
+ editedBy?: string | undefined;
1535
1535
  createdAt?: Date | undefined;
1536
1536
  updatedAt?: Date | undefined;
1537
1537
  }, {
1538
1538
  _id: string;
1539
- editedBy: string;
1540
1539
  season: Season;
1541
1540
  year: number;
1542
1541
  startDate: Date;
1543
1542
  endDate: Date;
1544
1543
  blackoutDates: Date[];
1545
1544
  importantDates: string[];
1545
+ editedBy?: string | undefined;
1546
1546
  createdAt?: Date | undefined;
1547
1547
  updatedAt?: Date | undefined;
1548
1548
  }>;
@@ -1736,12 +1736,11 @@ declare const zEventConfig: z.ZodObject<{
1736
1736
  width: number;
1737
1737
  }>>;
1738
1738
  _id: z.ZodString;
1739
- editedBy: z.ZodString;
1739
+ editedBy: z.ZodOptional<z.ZodString>;
1740
1740
  createdAt: z.ZodOptional<z.ZodDate>;
1741
1741
  updatedAt: z.ZodOptional<z.ZodDate>;
1742
1742
  }, z.UnknownKeysParam, z.ZodTypeAny, {
1743
1743
  _id: string;
1744
- editedBy: string;
1745
1744
  description: string;
1746
1745
  title: string;
1747
1746
  url: string;
@@ -1766,11 +1765,11 @@ declare const zEventConfig: z.ZodObject<{
1766
1765
  height: number;
1767
1766
  width: number;
1768
1767
  } | undefined;
1768
+ editedBy?: string | undefined;
1769
1769
  createdAt?: Date | undefined;
1770
1770
  updatedAt?: Date | undefined;
1771
1771
  }, {
1772
1772
  _id: string;
1773
- editedBy: string;
1774
1773
  description: string;
1775
1774
  title: string;
1776
1775
  url: string;
@@ -1795,12 +1794,13 @@ declare const zEventConfig: z.ZodObject<{
1795
1794
  height: number;
1796
1795
  width: number;
1797
1796
  } | undefined;
1797
+ editedBy?: string | undefined;
1798
1798
  createdAt?: Date | undefined;
1799
1799
  updatedAt?: Date | undefined;
1800
1800
  }>;
1801
1801
  declare const zEventConfigResponse: z.ZodObject<{
1802
1802
  _id: z.ZodString;
1803
- editedBy: z.ZodString;
1803
+ editedBy: z.ZodOptional<z.ZodString>;
1804
1804
  createdAt: z.ZodOptional<z.ZodDate>;
1805
1805
  updatedAt: z.ZodOptional<z.ZodDate>;
1806
1806
  description: z.ZodString;
@@ -1853,33 +1853,32 @@ declare const zEventConfigResponse: z.ZodObject<{
1853
1853
  isNotBuyable: z.ZodOptional<z.ZodBoolean>;
1854
1854
  lastBuyableDate: z.ZodOptional<z.ZodDate>;
1855
1855
  _id: z.ZodString;
1856
- editedBy: z.ZodString;
1856
+ editedBy: z.ZodOptional<z.ZodString>;
1857
1857
  createdAt: z.ZodOptional<z.ZodDate>;
1858
1858
  updatedAt: z.ZodOptional<z.ZodDate>;
1859
1859
  }, z.UnknownKeysParam, z.ZodTypeAny, {
1860
1860
  _id: string;
1861
- editedBy: string;
1862
1861
  price: number;
1863
1862
  name: string;
1864
1863
  description?: string | undefined;
1865
1864
  isNotBuyable?: boolean | undefined;
1866
1865
  lastBuyableDate?: Date | undefined;
1866
+ editedBy?: string | undefined;
1867
1867
  createdAt?: Date | undefined;
1868
1868
  updatedAt?: Date | undefined;
1869
1869
  }, {
1870
1870
  _id: string;
1871
- editedBy: string;
1872
1871
  price: number;
1873
1872
  name: string;
1874
1873
  description?: string | undefined;
1875
1874
  isNotBuyable?: boolean | undefined;
1876
1875
  lastBuyableDate?: Date | undefined;
1876
+ editedBy?: string | undefined;
1877
1877
  createdAt?: Date | undefined;
1878
1878
  updatedAt?: Date | undefined;
1879
1879
  }>, "many">;
1880
1880
  }, z.UnknownKeysParam, z.ZodTypeAny, {
1881
1881
  _id: string;
1882
- editedBy: string;
1883
1882
  description: string;
1884
1883
  title: string;
1885
1884
  url: string;
@@ -1897,16 +1896,17 @@ declare const zEventConfigResponse: z.ZodObject<{
1897
1896
  };
1898
1897
  tickets: {
1899
1898
  _id: string;
1900
- editedBy: string;
1901
1899
  price: number;
1902
1900
  name: string;
1903
1901
  description?: string | undefined;
1904
1902
  isNotBuyable?: boolean | undefined;
1905
1903
  lastBuyableDate?: Date | undefined;
1904
+ editedBy?: string | undefined;
1906
1905
  createdAt?: Date | undefined;
1907
1906
  updatedAt?: Date | undefined;
1908
1907
  }[];
1909
1908
  canRegister: boolean;
1909
+ editedBy?: string | undefined;
1910
1910
  createdAt?: Date | undefined;
1911
1911
  updatedAt?: Date | undefined;
1912
1912
  location?: string | undefined;
@@ -1918,7 +1918,6 @@ declare const zEventConfigResponse: z.ZodObject<{
1918
1918
  } | undefined;
1919
1919
  }, {
1920
1920
  _id: string;
1921
- editedBy: string;
1922
1921
  description: string;
1923
1922
  title: string;
1924
1923
  url: string;
@@ -1936,16 +1935,17 @@ declare const zEventConfigResponse: z.ZodObject<{
1936
1935
  };
1937
1936
  tickets: {
1938
1937
  _id: string;
1939
- editedBy: string;
1940
1938
  price: number;
1941
1939
  name: string;
1942
1940
  description?: string | undefined;
1943
1941
  isNotBuyable?: boolean | undefined;
1944
1942
  lastBuyableDate?: Date | undefined;
1943
+ editedBy?: string | undefined;
1945
1944
  createdAt?: Date | undefined;
1946
1945
  updatedAt?: Date | undefined;
1947
1946
  }[];
1948
1947
  canRegister: boolean;
1948
+ editedBy?: string | undefined;
1949
1949
  createdAt?: Date | undefined;
1950
1950
  updatedAt?: Date | undefined;
1951
1951
  location?: string | undefined;
@@ -2077,7 +2077,7 @@ declare const zEventReg: z.ZodObject<{
2077
2077
  donation: z.ZodOptional<z.ZodNumber>;
2078
2078
  createMethod: z.ZodOptional<z.ZodString>;
2079
2079
  _id: z.ZodString;
2080
- editedBy: z.ZodString;
2080
+ editedBy: z.ZodOptional<z.ZodString>;
2081
2081
  createdAt: z.ZodOptional<z.ZodDate>;
2082
2082
  updatedAt: z.ZodOptional<z.ZodDate>;
2083
2083
  }, z.UnknownKeysParam, z.ZodTypeAny, {
@@ -2087,7 +2087,6 @@ declare const zEventReg: z.ZodObject<{
2087
2087
  rank: string;
2088
2088
  email: string;
2089
2089
  _id: string;
2090
- editedBy: string;
2091
2090
  tickets: {
2092
2091
  amount: number;
2093
2092
  ticket: string;
@@ -2102,6 +2101,7 @@ declare const zEventReg: z.ZodObject<{
2102
2101
  notes?: string | undefined;
2103
2102
  donation?: number | undefined;
2104
2103
  createMethod?: string | undefined;
2104
+ editedBy?: string | undefined;
2105
2105
  createdAt?: Date | undefined;
2106
2106
  updatedAt?: Date | undefined;
2107
2107
  }, {
@@ -2111,7 +2111,6 @@ declare const zEventReg: z.ZodObject<{
2111
2111
  rank: string;
2112
2112
  email: string;
2113
2113
  _id: string;
2114
- editedBy: string;
2115
2114
  tickets: {
2116
2115
  amount: number;
2117
2116
  ticket: string;
@@ -2126,6 +2125,7 @@ declare const zEventReg: z.ZodObject<{
2126
2125
  notes?: string | undefined;
2127
2126
  donation?: number | undefined;
2128
2127
  createMethod?: string | undefined;
2128
+ editedBy?: string | undefined;
2129
2129
  createdAt?: Date | undefined;
2130
2130
  updatedAt?: Date | undefined;
2131
2131
  }>;
@@ -2142,7 +2142,7 @@ declare const zEventRegResponse: z.ZodObject<{
2142
2142
  address: z.ZodOptional<z.ZodString>;
2143
2143
  notes: z.ZodOptional<z.ZodString>;
2144
2144
  _id: z.ZodString;
2145
- editedBy: z.ZodString;
2145
+ editedBy: z.ZodOptional<z.ZodString>;
2146
2146
  createdAt: z.ZodOptional<z.ZodDate>;
2147
2147
  updatedAt: z.ZodOptional<z.ZodDate>;
2148
2148
  agaId: z.ZodString;
@@ -2158,27 +2158,27 @@ declare const zEventRegResponse: z.ZodObject<{
2158
2158
  isNotBuyable: z.ZodOptional<z.ZodBoolean>;
2159
2159
  lastBuyableDate: z.ZodOptional<z.ZodDate>;
2160
2160
  _id: z.ZodString;
2161
- editedBy: z.ZodString;
2161
+ editedBy: z.ZodOptional<z.ZodString>;
2162
2162
  createdAt: z.ZodOptional<z.ZodDate>;
2163
2163
  updatedAt: z.ZodOptional<z.ZodDate>;
2164
2164
  }, z.UnknownKeysParam, z.ZodTypeAny, {
2165
2165
  _id: string;
2166
- editedBy: string;
2167
2166
  price: number;
2168
2167
  name: string;
2169
2168
  description?: string | undefined;
2170
2169
  isNotBuyable?: boolean | undefined;
2171
2170
  lastBuyableDate?: Date | undefined;
2171
+ editedBy?: string | undefined;
2172
2172
  createdAt?: Date | undefined;
2173
2173
  updatedAt?: Date | undefined;
2174
2174
  }, {
2175
2175
  _id: string;
2176
- editedBy: string;
2177
2176
  price: number;
2178
2177
  name: string;
2179
2178
  description?: string | undefined;
2180
2179
  isNotBuyable?: boolean | undefined;
2181
2180
  lastBuyableDate?: Date | undefined;
2181
+ editedBy?: string | undefined;
2182
2182
  createdAt?: Date | undefined;
2183
2183
  updatedAt?: Date | undefined;
2184
2184
  }>;
@@ -2186,12 +2186,12 @@ declare const zEventRegResponse: z.ZodObject<{
2186
2186
  amount: number;
2187
2187
  ticket: {
2188
2188
  _id: string;
2189
- editedBy: string;
2190
2189
  price: number;
2191
2190
  name: string;
2192
2191
  description?: string | undefined;
2193
2192
  isNotBuyable?: boolean | undefined;
2194
2193
  lastBuyableDate?: Date | undefined;
2194
+ editedBy?: string | undefined;
2195
2195
  createdAt?: Date | undefined;
2196
2196
  updatedAt?: Date | undefined;
2197
2197
  };
@@ -2199,12 +2199,12 @@ declare const zEventRegResponse: z.ZodObject<{
2199
2199
  amount: number;
2200
2200
  ticket: {
2201
2201
  _id: string;
2202
- editedBy: string;
2203
2202
  price: number;
2204
2203
  name: string;
2205
2204
  description?: string | undefined;
2206
2205
  isNotBuyable?: boolean | undefined;
2207
2206
  lastBuyableDate?: Date | undefined;
2207
+ editedBy?: string | undefined;
2208
2208
  createdAt?: Date | undefined;
2209
2209
  updatedAt?: Date | undefined;
2210
2210
  };
@@ -2216,17 +2216,16 @@ declare const zEventRegResponse: z.ZodObject<{
2216
2216
  rank: string;
2217
2217
  email: string;
2218
2218
  _id: string;
2219
- editedBy: string;
2220
2219
  tickets: {
2221
2220
  amount: number;
2222
2221
  ticket: {
2223
2222
  _id: string;
2224
- editedBy: string;
2225
2223
  price: number;
2226
2224
  name: string;
2227
2225
  description?: string | undefined;
2228
2226
  isNotBuyable?: boolean | undefined;
2229
2227
  lastBuyableDate?: Date | undefined;
2228
+ editedBy?: string | undefined;
2230
2229
  createdAt?: Date | undefined;
2231
2230
  updatedAt?: Date | undefined;
2232
2231
  };
@@ -2239,6 +2238,7 @@ declare const zEventRegResponse: z.ZodObject<{
2239
2238
  phone?: string | undefined;
2240
2239
  address?: string | undefined;
2241
2240
  notes?: string | undefined;
2241
+ editedBy?: string | undefined;
2242
2242
  createdAt?: Date | undefined;
2243
2243
  updatedAt?: Date | undefined;
2244
2244
  donation?: number | undefined;
@@ -2250,17 +2250,16 @@ declare const zEventRegResponse: z.ZodObject<{
2250
2250
  rank: string;
2251
2251
  email: string;
2252
2252
  _id: string;
2253
- editedBy: string;
2254
2253
  tickets: {
2255
2254
  amount: number;
2256
2255
  ticket: {
2257
2256
  _id: string;
2258
- editedBy: string;
2259
2257
  price: number;
2260
2258
  name: string;
2261
2259
  description?: string | undefined;
2262
2260
  isNotBuyable?: boolean | undefined;
2263
2261
  lastBuyableDate?: Date | undefined;
2262
+ editedBy?: string | undefined;
2264
2263
  createdAt?: Date | undefined;
2265
2264
  updatedAt?: Date | undefined;
2266
2265
  };
@@ -2273,6 +2272,7 @@ declare const zEventRegResponse: z.ZodObject<{
2273
2272
  phone?: string | undefined;
2274
2273
  address?: string | undefined;
2275
2274
  notes?: string | undefined;
2275
+ editedBy?: string | undefined;
2276
2276
  createdAt?: Date | undefined;
2277
2277
  updatedAt?: Date | undefined;
2278
2278
  donation?: number | undefined;
@@ -2304,27 +2304,27 @@ declare const zEventTicketRegResponse: z.ZodObject<{
2304
2304
  isNotBuyable: z.ZodOptional<z.ZodBoolean>;
2305
2305
  lastBuyableDate: z.ZodOptional<z.ZodDate>;
2306
2306
  _id: z.ZodString;
2307
- editedBy: z.ZodString;
2307
+ editedBy: z.ZodOptional<z.ZodString>;
2308
2308
  createdAt: z.ZodOptional<z.ZodDate>;
2309
2309
  updatedAt: z.ZodOptional<z.ZodDate>;
2310
2310
  }, z.UnknownKeysParam, z.ZodTypeAny, {
2311
2311
  _id: string;
2312
- editedBy: string;
2313
2312
  price: number;
2314
2313
  name: string;
2315
2314
  description?: string | undefined;
2316
2315
  isNotBuyable?: boolean | undefined;
2317
2316
  lastBuyableDate?: Date | undefined;
2317
+ editedBy?: string | undefined;
2318
2318
  createdAt?: Date | undefined;
2319
2319
  updatedAt?: Date | undefined;
2320
2320
  }, {
2321
2321
  _id: string;
2322
- editedBy: string;
2323
2322
  price: number;
2324
2323
  name: string;
2325
2324
  description?: string | undefined;
2326
2325
  isNotBuyable?: boolean | undefined;
2327
2326
  lastBuyableDate?: Date | undefined;
2327
+ editedBy?: string | undefined;
2328
2328
  createdAt?: Date | undefined;
2329
2329
  updatedAt?: Date | undefined;
2330
2330
  }>;
@@ -2332,12 +2332,12 @@ declare const zEventTicketRegResponse: z.ZodObject<{
2332
2332
  amount: number;
2333
2333
  ticket: {
2334
2334
  _id: string;
2335
- editedBy: string;
2336
2335
  price: number;
2337
2336
  name: string;
2338
2337
  description?: string | undefined;
2339
2338
  isNotBuyable?: boolean | undefined;
2340
2339
  lastBuyableDate?: Date | undefined;
2340
+ editedBy?: string | undefined;
2341
2341
  createdAt?: Date | undefined;
2342
2342
  updatedAt?: Date | undefined;
2343
2343
  };
@@ -2345,12 +2345,12 @@ declare const zEventTicketRegResponse: z.ZodObject<{
2345
2345
  amount: number;
2346
2346
  ticket: {
2347
2347
  _id: string;
2348
- editedBy: string;
2349
2348
  price: number;
2350
2349
  name: string;
2351
2350
  description?: string | undefined;
2352
2351
  isNotBuyable?: boolean | undefined;
2353
2352
  lastBuyableDate?: Date | undefined;
2353
+ editedBy?: string | undefined;
2354
2354
  createdAt?: Date | undefined;
2355
2355
  updatedAt?: Date | undefined;
2356
2356
  };
@@ -2396,27 +2396,27 @@ declare const zEventTicket: z.ZodObject<{
2396
2396
  isNotBuyable: z.ZodOptional<z.ZodBoolean>;
2397
2397
  lastBuyableDate: z.ZodOptional<z.ZodDate>;
2398
2398
  _id: z.ZodString;
2399
- editedBy: z.ZodString;
2399
+ editedBy: z.ZodOptional<z.ZodString>;
2400
2400
  createdAt: z.ZodOptional<z.ZodDate>;
2401
2401
  updatedAt: z.ZodOptional<z.ZodDate>;
2402
2402
  }, z.UnknownKeysParam, z.ZodTypeAny, {
2403
2403
  _id: string;
2404
- editedBy: string;
2405
2404
  price: number;
2406
2405
  name: string;
2407
2406
  description?: string | undefined;
2408
2407
  isNotBuyable?: boolean | undefined;
2409
2408
  lastBuyableDate?: Date | undefined;
2409
+ editedBy?: string | undefined;
2410
2410
  createdAt?: Date | undefined;
2411
2411
  updatedAt?: Date | undefined;
2412
2412
  }, {
2413
2413
  _id: string;
2414
- editedBy: string;
2415
2414
  price: number;
2416
2415
  name: string;
2417
2416
  description?: string | undefined;
2418
2417
  isNotBuyable?: boolean | undefined;
2419
2418
  lastBuyableDate?: Date | undefined;
2419
+ editedBy?: string | undefined;
2420
2420
  createdAt?: Date | undefined;
2421
2421
  updatedAt?: Date | undefined;
2422
2422
  }>;
@@ -2509,12 +2509,11 @@ declare const zUser: z.ZodObject<{
2509
2509
  phoneNumber: z.ZodOptional<z.ZodString>;
2510
2510
  birthDate: z.ZodOptional<z.ZodString>;
2511
2511
  _id: z.ZodString;
2512
- editedBy: z.ZodString;
2512
+ editedBy: z.ZodOptional<z.ZodString>;
2513
2513
  createdAt: z.ZodOptional<z.ZodDate>;
2514
2514
  updatedAt: z.ZodOptional<z.ZodDate>;
2515
2515
  }, z.UnknownKeysParam, z.ZodTypeAny, {
2516
2516
  _id: string;
2517
- editedBy: string;
2518
2517
  name: string;
2519
2518
  email?: string | undefined;
2520
2519
  address?: string | undefined;
@@ -2524,11 +2523,11 @@ declare const zUser: z.ZodObject<{
2524
2523
  country?: string | undefined;
2525
2524
  phoneNumber?: string | undefined;
2526
2525
  birthDate?: string | undefined;
2526
+ editedBy?: string | undefined;
2527
2527
  createdAt?: Date | undefined;
2528
2528
  updatedAt?: Date | undefined;
2529
2529
  }, {
2530
2530
  _id: string;
2531
- editedBy: string;
2532
2531
  name: string;
2533
2532
  email?: string | undefined;
2534
2533
  address?: string | undefined;
@@ -2538,6 +2537,7 @@ declare const zUser: z.ZodObject<{
2538
2537
  country?: string | undefined;
2539
2538
  phoneNumber?: string | undefined;
2540
2539
  birthDate?: string | undefined;
2540
+ editedBy?: string | undefined;
2541
2541
  createdAt?: Date | undefined;
2542
2542
  updatedAt?: Date | undefined;
2543
2543
  }>;
@@ -2545,7 +2545,7 @@ declare const zStudent: z.ZodObject<{
2545
2545
  email: z.ZodOptional<z.ZodString>;
2546
2546
  address: z.ZodOptional<z.ZodString>;
2547
2547
  _id: z.ZodString;
2548
- editedBy: z.ZodString;
2548
+ editedBy: z.ZodOptional<z.ZodString>;
2549
2549
  createdAt: z.ZodOptional<z.ZodDate>;
2550
2550
  updatedAt: z.ZodOptional<z.ZodDate>;
2551
2551
  name: z.ZodString;
@@ -2560,10 +2560,10 @@ declare const zStudent: z.ZodObject<{
2560
2560
  }, z.UnknownKeysParam, z.ZodTypeAny, {
2561
2561
  rank: GoRank;
2562
2562
  _id: string;
2563
- editedBy: string;
2564
2563
  name: string;
2565
2564
  email?: string | undefined;
2566
2565
  address?: string | undefined;
2566
+ editedBy?: string | undefined;
2567
2567
  createdAt?: Date | undefined;
2568
2568
  updatedAt?: Date | undefined;
2569
2569
  username?: string | undefined;
@@ -2576,10 +2576,10 @@ declare const zStudent: z.ZodObject<{
2576
2576
  }, {
2577
2577
  rank: GoRank;
2578
2578
  _id: string;
2579
- editedBy: string;
2580
2579
  name: string;
2581
2580
  email?: string | undefined;
2582
2581
  address?: string | undefined;
2582
+ editedBy?: string | undefined;
2583
2583
  createdAt?: Date | undefined;
2584
2584
  updatedAt?: Date | undefined;
2585
2585
  username?: string | undefined;
@@ -2594,7 +2594,7 @@ declare const zTeacher: z.ZodObject<{
2594
2594
  email: z.ZodOptional<z.ZodString>;
2595
2595
  address: z.ZodOptional<z.ZodString>;
2596
2596
  _id: z.ZodString;
2597
- editedBy: z.ZodString;
2597
+ editedBy: z.ZodOptional<z.ZodString>;
2598
2598
  createdAt: z.ZodOptional<z.ZodDate>;
2599
2599
  updatedAt: z.ZodOptional<z.ZodDate>;
2600
2600
  name: z.ZodString;
@@ -2612,10 +2612,10 @@ declare const zTeacher: z.ZodObject<{
2612
2612
  }, z.UnknownKeysParam, z.ZodTypeAny, {
2613
2613
  rank: GoRank;
2614
2614
  _id: string;
2615
- editedBy: string;
2616
2615
  name: string;
2617
2616
  email?: string | undefined;
2618
2617
  address?: string | undefined;
2618
+ editedBy?: string | undefined;
2619
2619
  createdAt?: Date | undefined;
2620
2620
  updatedAt?: Date | undefined;
2621
2621
  username?: string | undefined;
@@ -2631,10 +2631,10 @@ declare const zTeacher: z.ZodObject<{
2631
2631
  }, {
2632
2632
  rank: GoRank;
2633
2633
  _id: string;
2634
- editedBy: string;
2635
2634
  name: string;
2636
2635
  email?: string | undefined;
2637
2636
  address?: string | undefined;
2637
+ editedBy?: string | undefined;
2638
2638
  createdAt?: Date | undefined;
2639
2639
  updatedAt?: Date | undefined;
2640
2640
  username?: string | undefined;