@nyig/models 0.2.13 → 0.2.14

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.
Files changed (5) hide show
  1. package/index.d.mts +130 -106
  2. package/index.d.ts +130 -106
  3. package/index.js +200 -197
  4. package/index.mjs +200 -197
  5. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -165,52 +165,58 @@ type Attendance = z.infer<typeof zAttendance>;
165
165
  type MAttendance = z.infer<typeof zMAttendance>;
166
166
 
167
167
  declare const zCampTracker: z.ZodObject<{
168
- notes: z.ZodOptional<z.ZodString>;
168
+ course: z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>;
169
+ teacher: z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>;
170
+ semester: z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>;
171
+ /**
172
+ * occurrences are tracked by week for camps
173
+ */
169
174
  occurrences: z.ZodArray<z.ZodString, "many">;
175
+ /**
176
+ * attendances are tracked by week for camps
177
+ */
170
178
  attendances: z.ZodArray<z.ZodString, "many">;
171
- course: z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>;
172
- teacher: z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>;
173
- semester: z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>;
179
+ notes: z.ZodOptional<z.ZodString>;
174
180
  }, "strip", z.ZodTypeAny, {
175
- course: mongoose.Types.ObjectId;
176
- teacher: mongoose.Types.ObjectId;
177
- semester: mongoose.Types.ObjectId;
181
+ course: Types.ObjectId;
182
+ teacher: Types.ObjectId;
183
+ semester: Types.ObjectId;
178
184
  occurrences: string[];
179
185
  attendances: string[];
180
186
  notes?: string | undefined;
181
187
  }, {
182
- course: mongoose.Types.ObjectId;
183
- teacher: mongoose.Types.ObjectId;
184
- semester: mongoose.Types.ObjectId;
188
+ course: Types.ObjectId;
189
+ teacher: Types.ObjectId;
190
+ semester: Types.ObjectId;
185
191
  occurrences: string[];
186
192
  attendances: string[];
187
193
  notes?: string | undefined;
188
194
  }>;
189
195
  declare const zMCampTracker: z.ZodObject<{
190
196
  notes: z.ZodOptional<z.ZodString>;
191
- course: z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>;
192
- teacher: z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>;
193
- semester: z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>;
197
+ course: z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>;
198
+ teacher: z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>;
199
+ semester: z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>;
194
200
  occurrences: z.ZodArray<z.ZodString, "many">;
195
201
  attendances: z.ZodArray<z.ZodString, "many">;
196
- _id: z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>;
202
+ _id: z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>;
197
203
  createdAt: z.ZodOptional<z.ZodDate>;
198
204
  updatedAt: z.ZodOptional<z.ZodDate>;
199
205
  }, z.UnknownKeysParam, z.ZodTypeAny, {
200
- _id: mongoose.Types.ObjectId;
201
- course: mongoose.Types.ObjectId;
202
- teacher: mongoose.Types.ObjectId;
203
- semester: mongoose.Types.ObjectId;
206
+ _id: Types.ObjectId;
207
+ course: Types.ObjectId;
208
+ teacher: Types.ObjectId;
209
+ semester: Types.ObjectId;
204
210
  occurrences: string[];
205
211
  attendances: string[];
206
212
  notes?: string | undefined;
207
213
  createdAt?: Date | undefined;
208
214
  updatedAt?: Date | undefined;
209
215
  }, {
210
- _id: mongoose.Types.ObjectId;
211
- course: mongoose.Types.ObjectId;
212
- teacher: mongoose.Types.ObjectId;
213
- semester: mongoose.Types.ObjectId;
216
+ _id: Types.ObjectId;
217
+ course: Types.ObjectId;
218
+ teacher: Types.ObjectId;
219
+ semester: Types.ObjectId;
214
220
  occurrences: string[];
215
221
  attendances: string[];
216
222
  notes?: string | undefined;
@@ -221,7 +227,15 @@ type CampTracker = z.infer<typeof zCampTracker>;
221
227
  type MCampTracker = z.infer<typeof zMCampTracker>;
222
228
 
223
229
  declare const zClassTracker: z.ZodObject<{
224
- notes: z.ZodOptional<z.ZodString>;
230
+ course: z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>;
231
+ teacher: z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>;
232
+ student: z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>;
233
+ classTimes: z.ZodArray<z.ZodDate, "many">;
234
+ completedList: z.ZodArray<z.ZodBoolean, "many">;
235
+ /**
236
+ * Virtual mongoose field when all values in completedList is true
237
+ */
238
+ completed: z.ZodOptional<z.ZodBoolean>;
225
239
  tuition: z.ZodOptional<z.ZodObject<{
226
240
  primary: z.ZodNumber;
227
241
  textbook: z.ZodOptional<z.ZodBoolean>;
@@ -236,43 +250,39 @@ declare const zClassTracker: z.ZodObject<{
236
250
  shipping?: boolean | undefined;
237
251
  }>>;
238
252
  paid: z.ZodOptional<z.ZodBoolean>;
239
- classTimes: z.ZodArray<z.ZodDate, "many">;
240
- completedList: z.ZodArray<z.ZodBoolean, "many">;
241
- completed: z.ZodOptional<z.ZodBoolean>;
242
- course: z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>;
243
- teacher: z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>;
244
- semester: z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>;
253
+ notes: z.ZodOptional<z.ZodString>;
245
254
  }, "strip", z.ZodTypeAny, {
246
- course: mongoose.Types.ObjectId;
247
- teacher: mongoose.Types.ObjectId;
248
- semester: mongoose.Types.ObjectId;
255
+ student: Types.ObjectId;
256
+ course: Types.ObjectId;
257
+ teacher: Types.ObjectId;
249
258
  classTimes: Date[];
250
259
  completedList: boolean[];
251
- notes?: string | undefined;
260
+ completed?: boolean | undefined;
252
261
  tuition?: {
253
262
  primary: number;
254
263
  textbook?: boolean | undefined;
255
264
  shipping?: boolean | undefined;
256
265
  } | undefined;
257
266
  paid?: boolean | undefined;
258
- completed?: boolean | undefined;
267
+ notes?: string | undefined;
259
268
  }, {
260
- course: mongoose.Types.ObjectId;
261
- teacher: mongoose.Types.ObjectId;
262
- semester: mongoose.Types.ObjectId;
269
+ student: Types.ObjectId;
270
+ course: Types.ObjectId;
271
+ teacher: Types.ObjectId;
263
272
  classTimes: Date[];
264
273
  completedList: boolean[];
265
- notes?: string | undefined;
274
+ completed?: boolean | undefined;
266
275
  tuition?: {
267
276
  primary: number;
268
277
  textbook?: boolean | undefined;
269
278
  shipping?: boolean | undefined;
270
279
  } | undefined;
271
280
  paid?: boolean | undefined;
272
- completed?: boolean | undefined;
281
+ notes?: string | undefined;
273
282
  }>;
274
283
  declare const zMClassTracker: z.ZodObject<{
275
284
  notes: z.ZodOptional<z.ZodString>;
285
+ student: z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>;
276
286
  tuition: z.ZodOptional<z.ZodObject<{
277
287
  primary: z.ZodNumber;
278
288
  textbook: z.ZodOptional<z.ZodBoolean>;
@@ -287,20 +297,19 @@ declare const zMClassTracker: z.ZodObject<{
287
297
  shipping?: boolean | undefined;
288
298
  }>>;
289
299
  paid: z.ZodOptional<z.ZodBoolean>;
290
- course: z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>;
291
- teacher: z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>;
292
- semester: z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>;
300
+ course: z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>;
301
+ teacher: z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>;
293
302
  classTimes: z.ZodArray<z.ZodDate, "many">;
294
303
  completedList: z.ZodArray<z.ZodBoolean, "many">;
295
304
  completed: z.ZodOptional<z.ZodBoolean>;
296
- _id: z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>;
305
+ _id: z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>;
297
306
  createdAt: z.ZodOptional<z.ZodDate>;
298
307
  updatedAt: z.ZodOptional<z.ZodDate>;
299
308
  }, z.UnknownKeysParam, z.ZodTypeAny, {
300
- _id: mongoose.Types.ObjectId;
301
- course: mongoose.Types.ObjectId;
302
- teacher: mongoose.Types.ObjectId;
303
- semester: mongoose.Types.ObjectId;
309
+ _id: Types.ObjectId;
310
+ student: Types.ObjectId;
311
+ course: Types.ObjectId;
312
+ teacher: Types.ObjectId;
304
313
  classTimes: Date[];
305
314
  completedList: boolean[];
306
315
  notes?: string | undefined;
@@ -314,10 +323,10 @@ declare const zMClassTracker: z.ZodObject<{
314
323
  createdAt?: Date | undefined;
315
324
  updatedAt?: Date | undefined;
316
325
  }, {
317
- _id: mongoose.Types.ObjectId;
318
- course: mongoose.Types.ObjectId;
319
- teacher: mongoose.Types.ObjectId;
320
- semester: mongoose.Types.ObjectId;
326
+ _id: Types.ObjectId;
327
+ student: Types.ObjectId;
328
+ course: Types.ObjectId;
329
+ teacher: Types.ObjectId;
321
330
  classTimes: Date[];
322
331
  completedList: boolean[];
323
332
  notes?: string | undefined;
@@ -445,9 +454,9 @@ type Course = z.infer<typeof zCourse>;
445
454
  type MCourse = z.infer<typeof zMCourse>;
446
455
 
447
456
  declare const zGroupTracker: z.ZodObject<{
448
- notes: z.ZodOptional<z.ZodString>;
449
- occurrences: z.ZodArray<z.ZodDate, "many">;
450
- attendances: z.ZodArray<z.ZodString, "many">;
457
+ course: z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>;
458
+ teacher: z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>;
459
+ semester: z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>;
451
460
  scheduleData: z.ZodObject<{
452
461
  startTime: z.ZodString;
453
462
  dayOfWeek: z.ZodNumber;
@@ -458,48 +467,63 @@ declare const zGroupTracker: z.ZodObject<{
458
467
  startTime: string;
459
468
  dayOfWeek: number;
460
469
  }>;
470
+ /**
471
+ * occurrences are tracked by week for Groups
472
+ */
473
+ occurrences: z.ZodArray<z.ZodDate, "many">;
474
+ /**
475
+ * attendances are tracked by week for Groups
476
+ */
477
+ attendances: z.ZodArray<z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>, "many">;
478
+ /**
479
+ * public-facing ID of the course instance, e.g., 101
480
+ */
461
481
  courseId: z.ZodOptional<z.ZodString>;
482
+ /**
483
+ * Age group of the class instance, e.g. "adult", "youth"
484
+ */
462
485
  ageGroup: z.ZodOptional<z.ZodNativeEnum<typeof AgeGroup>>;
486
+ /**
487
+ * If true, the course is hidden from public view
488
+ */
463
489
  isNonPublic: z.ZodOptional<z.ZodBoolean>;
464
- course: z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>;
465
- teacher: z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>;
466
- semester: z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>;
490
+ notes: z.ZodOptional<z.ZodString>;
467
491
  }, "strip", z.ZodTypeAny, {
468
- course: mongoose.Types.ObjectId;
469
- teacher: mongoose.Types.ObjectId;
470
- semester: mongoose.Types.ObjectId;
492
+ course: Types.ObjectId;
493
+ teacher: Types.ObjectId;
494
+ semester: Types.ObjectId;
471
495
  occurrences: Date[];
472
- attendances: string[];
496
+ attendances: Types.ObjectId[];
473
497
  scheduleData: {
474
498
  startTime: string;
475
499
  dayOfWeek: number;
476
500
  };
477
- notes?: string | undefined;
478
501
  courseId?: string | undefined;
479
502
  ageGroup?: AgeGroup | undefined;
480
503
  isNonPublic?: boolean | undefined;
504
+ notes?: string | undefined;
481
505
  }, {
482
- course: mongoose.Types.ObjectId;
483
- teacher: mongoose.Types.ObjectId;
484
- semester: mongoose.Types.ObjectId;
506
+ course: Types.ObjectId;
507
+ teacher: Types.ObjectId;
508
+ semester: Types.ObjectId;
485
509
  occurrences: Date[];
486
- attendances: string[];
510
+ attendances: Types.ObjectId[];
487
511
  scheduleData: {
488
512
  startTime: string;
489
513
  dayOfWeek: number;
490
514
  };
491
- notes?: string | undefined;
492
515
  courseId?: string | undefined;
493
516
  ageGroup?: AgeGroup | undefined;
494
517
  isNonPublic?: boolean | undefined;
518
+ notes?: string | undefined;
495
519
  }>;
496
520
  declare const zMGroupTracker: z.ZodObject<{
497
521
  notes: z.ZodOptional<z.ZodString>;
498
- course: z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>;
499
- teacher: z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>;
500
- semester: z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>;
522
+ course: z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>;
523
+ teacher: z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>;
524
+ semester: z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>;
501
525
  occurrences: z.ZodArray<z.ZodDate, "many">;
502
- attendances: z.ZodArray<z.ZodString, "many">;
526
+ attendances: z.ZodArray<z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>, "many">;
503
527
  scheduleData: z.ZodObject<{
504
528
  startTime: z.ZodString;
505
529
  dayOfWeek: z.ZodNumber;
@@ -513,16 +537,16 @@ declare const zMGroupTracker: z.ZodObject<{
513
537
  courseId: z.ZodOptional<z.ZodString>;
514
538
  ageGroup: z.ZodOptional<z.ZodNativeEnum<typeof AgeGroup>>;
515
539
  isNonPublic: z.ZodOptional<z.ZodBoolean>;
516
- _id: z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>;
540
+ _id: z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>;
517
541
  createdAt: z.ZodOptional<z.ZodDate>;
518
542
  updatedAt: z.ZodOptional<z.ZodDate>;
519
543
  }, z.UnknownKeysParam, z.ZodTypeAny, {
520
- _id: mongoose.Types.ObjectId;
521
- course: mongoose.Types.ObjectId;
522
- teacher: mongoose.Types.ObjectId;
523
- semester: mongoose.Types.ObjectId;
544
+ _id: Types.ObjectId;
545
+ course: Types.ObjectId;
546
+ teacher: Types.ObjectId;
547
+ semester: Types.ObjectId;
524
548
  occurrences: Date[];
525
- attendances: string[];
549
+ attendances: Types.ObjectId[];
526
550
  scheduleData: {
527
551
  startTime: string;
528
552
  dayOfWeek: number;
@@ -534,12 +558,12 @@ declare const zMGroupTracker: z.ZodObject<{
534
558
  createdAt?: Date | undefined;
535
559
  updatedAt?: Date | undefined;
536
560
  }, {
537
- _id: mongoose.Types.ObjectId;
538
- course: mongoose.Types.ObjectId;
539
- teacher: mongoose.Types.ObjectId;
540
- semester: mongoose.Types.ObjectId;
561
+ _id: Types.ObjectId;
562
+ course: Types.ObjectId;
563
+ teacher: Types.ObjectId;
564
+ semester: Types.ObjectId;
541
565
  occurrences: Date[];
542
- attendances: string[];
566
+ attendances: Types.ObjectId[];
543
567
  scheduleData: {
544
568
  startTime: string;
545
569
  dayOfWeek: number;
@@ -1177,7 +1201,7 @@ declare const zTeacherPaymentRow: z.ZodObject<{
1177
1201
  wage: number;
1178
1202
  }>;
1179
1203
  declare const zTeacherPayment: z.ZodObject<{
1180
- teacher: z.ZodString;
1204
+ teacher: z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>;
1181
1205
  rows: z.ZodArray<z.ZodObject<{
1182
1206
  course: z.ZodString;
1183
1207
  length: z.ZodNumber;
@@ -1196,7 +1220,7 @@ declare const zTeacherPayment: z.ZodObject<{
1196
1220
  }>, "many">;
1197
1221
  paid: z.ZodOptional<z.ZodBoolean>;
1198
1222
  }, "strip", z.ZodTypeAny, {
1199
- teacher: string;
1223
+ teacher: Types.ObjectId;
1200
1224
  rows: {
1201
1225
  length: number;
1202
1226
  course: string;
@@ -1205,7 +1229,7 @@ declare const zTeacherPayment: z.ZodObject<{
1205
1229
  }[];
1206
1230
  paid?: boolean | undefined;
1207
1231
  }, {
1208
- teacher: string;
1232
+ teacher: Types.ObjectId;
1209
1233
  rows: {
1210
1234
  length: number;
1211
1235
  course: string;
@@ -1216,7 +1240,7 @@ declare const zTeacherPayment: z.ZodObject<{
1216
1240
  }>;
1217
1241
  declare const zMTeacherPayment: z.ZodObject<{
1218
1242
  paid: z.ZodOptional<z.ZodBoolean>;
1219
- teacher: z.ZodString;
1243
+ teacher: z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>;
1220
1244
  rows: z.ZodArray<z.ZodObject<{
1221
1245
  course: z.ZodString;
1222
1246
  length: z.ZodNumber;
@@ -1233,12 +1257,12 @@ declare const zMTeacherPayment: z.ZodObject<{
1233
1257
  count: number;
1234
1258
  wage: number;
1235
1259
  }>, "many">;
1236
- _id: z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>;
1260
+ _id: z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>;
1237
1261
  createdAt: z.ZodOptional<z.ZodDate>;
1238
1262
  updatedAt: z.ZodOptional<z.ZodDate>;
1239
1263
  }, z.UnknownKeysParam, z.ZodTypeAny, {
1240
- _id: mongoose.Types.ObjectId;
1241
- teacher: string;
1264
+ _id: Types.ObjectId;
1265
+ teacher: Types.ObjectId;
1242
1266
  rows: {
1243
1267
  length: number;
1244
1268
  course: string;
@@ -1249,8 +1273,8 @@ declare const zMTeacherPayment: z.ZodObject<{
1249
1273
  createdAt?: Date | undefined;
1250
1274
  updatedAt?: Date | undefined;
1251
1275
  }, {
1252
- _id: mongoose.Types.ObjectId;
1253
- teacher: string;
1276
+ _id: Types.ObjectId;
1277
+ teacher: Types.ObjectId;
1254
1278
  rows: {
1255
1279
  length: number;
1256
1280
  course: string;
@@ -1368,8 +1392,8 @@ declare enum TicketStatus {
1368
1392
  }
1369
1393
 
1370
1394
  declare const zReportTicket: z.ZodObject<{
1371
- requester: z.ZodString;
1372
- resolver: z.ZodString;
1395
+ requester: z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>;
1396
+ resolver: z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>;
1373
1397
  status: z.ZodNativeEnum<typeof TicketStatus>;
1374
1398
  title: z.ZodString;
1375
1399
  description: z.ZodString;
@@ -1377,40 +1401,40 @@ declare const zReportTicket: z.ZodObject<{
1377
1401
  status: TicketStatus;
1378
1402
  description: string;
1379
1403
  title: string;
1380
- requester: string;
1381
- resolver: string;
1404
+ requester: Types.ObjectId;
1405
+ resolver: Types.ObjectId;
1382
1406
  }, {
1383
1407
  status: TicketStatus;
1384
1408
  description: string;
1385
1409
  title: string;
1386
- requester: string;
1387
- resolver: string;
1410
+ requester: Types.ObjectId;
1411
+ resolver: Types.ObjectId;
1388
1412
  }>;
1389
1413
  declare const zMReportTicket: z.ZodObject<{
1390
1414
  status: z.ZodNativeEnum<typeof TicketStatus>;
1391
1415
  description: z.ZodString;
1392
1416
  title: z.ZodString;
1393
- requester: z.ZodString;
1394
- resolver: z.ZodString;
1395
- _id: z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>;
1417
+ requester: z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>;
1418
+ resolver: z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>;
1419
+ _id: z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>;
1396
1420
  createdAt: z.ZodOptional<z.ZodDate>;
1397
1421
  updatedAt: z.ZodOptional<z.ZodDate>;
1398
1422
  }, z.UnknownKeysParam, z.ZodTypeAny, {
1399
1423
  status: TicketStatus;
1400
- _id: mongoose.Types.ObjectId;
1424
+ _id: Types.ObjectId;
1401
1425
  description: string;
1402
1426
  title: string;
1403
- requester: string;
1404
- resolver: string;
1427
+ requester: Types.ObjectId;
1428
+ resolver: Types.ObjectId;
1405
1429
  createdAt?: Date | undefined;
1406
1430
  updatedAt?: Date | undefined;
1407
1431
  }, {
1408
1432
  status: TicketStatus;
1409
- _id: mongoose.Types.ObjectId;
1433
+ _id: Types.ObjectId;
1410
1434
  description: string;
1411
1435
  title: string;
1412
- requester: string;
1413
- resolver: string;
1436
+ requester: Types.ObjectId;
1437
+ resolver: Types.ObjectId;
1414
1438
  createdAt?: Date | undefined;
1415
1439
  updatedAt?: Date | undefined;
1416
1440
  }>;