@mikemajesty/zod-mock-schema 1.0.17 → 1.0.18

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 (43) hide show
  1. package/dist/__tests__/advanced-schemas.spec.d.ts +1 -0
  2. package/dist/__tests__/advanced-schemas.spec.js +149 -0
  3. package/dist/__tests__/advanced-schemas.spec.js.map +1 -0
  4. package/dist/__tests__/brazilian-formats.spec.d.ts +1 -0
  5. package/dist/__tests__/brazilian-formats.spec.js +205 -0
  6. package/dist/__tests__/brazilian-formats.spec.js.map +1 -0
  7. package/dist/__tests__/complex-intersections.spec.d.ts +1 -0
  8. package/dist/__tests__/complex-intersections.spec.js +176 -0
  9. package/dist/__tests__/complex-intersections.spec.js.map +1 -0
  10. package/dist/__tests__/edge-cases.spec.d.ts +1 -0
  11. package/dist/__tests__/edge-cases.spec.js +206 -0
  12. package/dist/__tests__/edge-cases.spec.js.map +1 -0
  13. package/dist/__tests__/faker-injection.spec.d.ts +1 -0
  14. package/dist/__tests__/faker-injection.spec.js +110 -0
  15. package/dist/__tests__/faker-injection.spec.js.map +1 -0
  16. package/dist/__tests__/overrides-all-types.spec.d.ts +1 -0
  17. package/dist/__tests__/overrides-all-types.spec.js +283 -0
  18. package/dist/__tests__/overrides-all-types.spec.js.map +1 -0
  19. package/dist/__tests__/overrides.spec.d.ts +1 -0
  20. package/dist/__tests__/overrides.spec.js +345 -0
  21. package/dist/__tests__/overrides.spec.js.map +1 -0
  22. package/dist/__tests__/unsupported-types.spec.d.ts +1 -0
  23. package/dist/__tests__/unsupported-types.spec.js +27 -0
  24. package/dist/__tests__/unsupported-types.spec.js.map +1 -0
  25. package/dist/__tests__/zod-types.spec.d.ts +575 -0
  26. package/dist/__tests__/zod-types.spec.js +526 -0
  27. package/dist/__tests__/zod-types.spec.js.map +1 -0
  28. package/dist/constants.d.ts +46 -0
  29. package/dist/constants.js +83 -0
  30. package/dist/constants.js.map +1 -0
  31. package/dist/index.d.ts +2 -92
  32. package/dist/index.js +1 -3176
  33. package/dist/index.js.map +1 -1
  34. package/dist/types.d.ts +38 -0
  35. package/dist/types.js +2 -0
  36. package/dist/types.js.map +1 -0
  37. package/dist/zod-mock-schema.d.ts +24 -0
  38. package/dist/zod-mock-schema.js +366 -0
  39. package/dist/zod-mock-schema.js.map +1 -0
  40. package/package.json +11 -10
  41. package/dist/index.cjs +0 -3191
  42. package/dist/index.cjs.map +0 -1
  43. package/dist/index.d.cts +0 -92
@@ -0,0 +1,575 @@
1
+ import z from 'zod';
2
+ export declare const PersonEntitySchema: z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
3
+ name: z.ZodObject<{
4
+ firstName: z.ZodString;
5
+ lastName: z.ZodString;
6
+ middleName: z.ZodOptional<z.ZodString>;
7
+ preferredName: z.ZodOptional<z.ZodString>;
8
+ title: z.ZodOptional<z.ZodEnum<{
9
+ "Mr.": "Mr.";
10
+ "Mrs.": "Mrs.";
11
+ "Ms.": "Ms.";
12
+ "Dr.": "Dr.";
13
+ "Prof.": "Prof.";
14
+ }>>;
15
+ }, z.core.$strip>;
16
+ demographic: z.ZodObject<{
17
+ birthDate: z.ZodDate;
18
+ age: z.ZodNumber;
19
+ gender: z.ZodEnum<{
20
+ male: "male";
21
+ female: "female";
22
+ non_binary: "non_binary";
23
+ prefer_not_to_say: "prefer_not_to_say";
24
+ }>;
25
+ nationality: z.ZodString;
26
+ maritalStatus: z.ZodOptional<z.ZodEnum<{
27
+ single: "single";
28
+ married: "married";
29
+ divorced: "divorced";
30
+ widowed: "widowed";
31
+ }>>;
32
+ }, z.core.$strip>;
33
+ officialDocuments: z.ZodObject<{
34
+ cpf: z.ZodString;
35
+ rg: z.ZodString;
36
+ pis: z.ZodOptional<z.ZodString>;
37
+ voterId: z.ZodOptional<z.ZodString>;
38
+ }, z.core.$strip>;
39
+ role: z.ZodDiscriminatedUnion<[z.ZodObject<{
40
+ type: z.ZodLiteral<"student">;
41
+ studentId: z.ZodString;
42
+ enrollmentDate: z.ZodDate;
43
+ graduationDate: z.ZodOptional<z.ZodDate>;
44
+ academicRecord: z.ZodObject<{
45
+ enrollmentId: z.ZodString;
46
+ semester: z.ZodString;
47
+ gpa: z.ZodOptional<z.ZodNumber>;
48
+ totalCredits: z.ZodNumber;
49
+ courses: z.ZodArray<z.ZodObject<{
50
+ course: z.ZodObject<{
51
+ id: z.ZodString;
52
+ name: z.ZodString;
53
+ code: z.ZodString;
54
+ credits: z.ZodNumber;
55
+ professorId: z.ZodOptional<z.ZodUUID>;
56
+ schedule: z.ZodObject<{
57
+ days: z.ZodArray<z.ZodEnum<{
58
+ monday: "monday";
59
+ tuesday: "tuesday";
60
+ wednesday: "wednesday";
61
+ thursday: "thursday";
62
+ friday: "friday";
63
+ saturday: "saturday";
64
+ }>>;
65
+ startTime: z.ZodString;
66
+ endTime: z.ZodString;
67
+ room: z.ZodOptional<z.ZodString>;
68
+ }, z.core.$strip>;
69
+ status: z.ZodEnum<{
70
+ active: "active";
71
+ inactive: "inactive";
72
+ completed: "completed";
73
+ cancelled: "cancelled";
74
+ }>;
75
+ }, z.core.$strip>;
76
+ grade: z.ZodOptional<z.ZodNumber>;
77
+ status: z.ZodEnum<{
78
+ enrolled: "enrolled";
79
+ approved: "approved";
80
+ failed: "failed";
81
+ dropped: "dropped";
82
+ }>;
83
+ attendance: z.ZodOptional<z.ZodNumber>;
84
+ }, z.core.$strip>>;
85
+ }, z.core.$strip>;
86
+ scholarships: z.ZodOptional<z.ZodArray<z.ZodObject<{
87
+ id: z.ZodString;
88
+ type: z.ZodEnum<{
89
+ merit: "merit";
90
+ need: "need";
91
+ athletic: "athletic";
92
+ research: "research";
93
+ }>;
94
+ amount: z.ZodNumber;
95
+ startDate: z.ZodDate;
96
+ endDate: z.ZodDate;
97
+ renewable: z.ZodBoolean;
98
+ }, z.core.$strip>>>;
99
+ campus: z.ZodEnum<{
100
+ main: "main";
101
+ north: "north";
102
+ south: "south";
103
+ online: "online";
104
+ }>;
105
+ }, z.core.$strip>, z.ZodObject<{
106
+ type: z.ZodLiteral<"teacher">;
107
+ employeeId: z.ZodString;
108
+ hireDate: z.ZodDate;
109
+ department: z.ZodEnum<{
110
+ computer_science: "computer_science";
111
+ mathematics: "mathematics";
112
+ physics: "physics";
113
+ chemistry: "chemistry";
114
+ biology: "biology";
115
+ engineering: "engineering";
116
+ business: "business";
117
+ arts: "arts";
118
+ law: "law";
119
+ medicine: "medicine";
120
+ }>;
121
+ title: z.ZodEnum<{
122
+ assistant: "assistant";
123
+ associate: "associate";
124
+ full: "full";
125
+ adjunct: "adjunct";
126
+ visiting: "visiting";
127
+ }>;
128
+ salary: z.ZodObject<{
129
+ base: z.ZodNumber;
130
+ currency: z.ZodDefault<z.ZodString>;
131
+ paymentSchedule: z.ZodEnum<{
132
+ monthly: "monthly";
133
+ biweekly: "biweekly";
134
+ weekly: "weekly";
135
+ }>;
136
+ benefits: z.ZodOptional<z.ZodArray<z.ZodEnum<{
137
+ health: "health";
138
+ dental: "dental";
139
+ vision: "vision";
140
+ retirement: "retirement";
141
+ tuition: "tuition";
142
+ }>>>;
143
+ }, z.core.$strip>;
144
+ officeHours: z.ZodOptional<z.ZodArray<z.ZodObject<{
145
+ day: z.ZodEnum<{
146
+ monday: "monday";
147
+ tuesday: "tuesday";
148
+ wednesday: "wednesday";
149
+ thursday: "thursday";
150
+ friday: "friday";
151
+ }>;
152
+ start: z.ZodString;
153
+ end: z.ZodString;
154
+ location: z.ZodString;
155
+ mode: z.ZodEnum<{
156
+ in_person: "in_person";
157
+ virtual: "virtual";
158
+ hybrid: "hybrid";
159
+ }>;
160
+ }, z.core.$strip>>>;
161
+ coursesTeaching: z.ZodArray<z.ZodObject<{
162
+ course: z.ZodObject<{
163
+ id: z.ZodString;
164
+ name: z.ZodString;
165
+ code: z.ZodString;
166
+ credits: z.ZodNumber;
167
+ professorId: z.ZodOptional<z.ZodUUID>;
168
+ schedule: z.ZodObject<{
169
+ days: z.ZodArray<z.ZodEnum<{
170
+ monday: "monday";
171
+ tuesday: "tuesday";
172
+ wednesday: "wednesday";
173
+ thursday: "thursday";
174
+ friday: "friday";
175
+ saturday: "saturday";
176
+ }>>;
177
+ startTime: z.ZodString;
178
+ endTime: z.ZodString;
179
+ room: z.ZodOptional<z.ZodString>;
180
+ }, z.core.$strip>;
181
+ status: z.ZodEnum<{
182
+ active: "active";
183
+ inactive: "inactive";
184
+ completed: "completed";
185
+ cancelled: "cancelled";
186
+ }>;
187
+ }, z.core.$strip>;
188
+ semester: z.ZodString;
189
+ section: z.ZodString;
190
+ }, z.core.$strip>>;
191
+ }, z.core.$strip>, z.ZodObject<{
192
+ type: z.ZodLiteral<"admin">;
193
+ employeeId: z.ZodString;
194
+ hireDate: z.ZodDate;
195
+ department: z.ZodEnum<{
196
+ human_resources: "human_resources";
197
+ information_technology: "information_technology";
198
+ finance: "finance";
199
+ operations: "operations";
200
+ admissions: "admissions";
201
+ student_affairs: "student_affairs";
202
+ facilities: "facilities";
203
+ }>;
204
+ level: z.ZodNumber;
205
+ permissions: z.ZodArray<z.ZodObject<{
206
+ resource: z.ZodEnum<{
207
+ notifications: "notifications";
208
+ users: "users";
209
+ settings: "settings";
210
+ courses: "courses";
211
+ enrollments: "enrollments";
212
+ grades: "grades";
213
+ payments: "payments";
214
+ reports: "reports";
215
+ audit_logs: "audit_logs";
216
+ }>;
217
+ actions: z.ZodArray<z.ZodEnum<{
218
+ read: "read";
219
+ delete: "delete";
220
+ create: "create";
221
+ update: "update";
222
+ approve: "approve";
223
+ export: "export";
224
+ }>>;
225
+ scope: z.ZodEnum<{
226
+ department: "department";
227
+ global: "global";
228
+ personal: "personal";
229
+ }>;
230
+ }, z.core.$strip>>;
231
+ reportsTo: z.ZodOptional<z.ZodUUID>;
232
+ managedDepartments: z.ZodOptional<z.ZodArray<z.ZodString>>;
233
+ }, z.core.$strip>, z.ZodObject<{
234
+ type: z.ZodLiteral<"staff">;
235
+ employeeId: z.ZodString;
236
+ hireDate: z.ZodDate;
237
+ position: z.ZodEnum<{
238
+ assistant: "assistant";
239
+ librarian: "librarian";
240
+ technician: "technician";
241
+ counselor: "counselor";
242
+ coordinator: "coordinator";
243
+ specialist: "specialist";
244
+ analyst: "analyst";
245
+ supervisor: "supervisor";
246
+ }>;
247
+ department: z.ZodString;
248
+ schedule: z.ZodObject<{
249
+ workHours: z.ZodNumber;
250
+ shift: z.ZodEnum<{
251
+ morning: "morning";
252
+ afternoon: "afternoon";
253
+ night: "night";
254
+ flexible: "flexible";
255
+ }>;
256
+ remoteDays: z.ZodOptional<z.ZodArray<z.ZodEnum<{
257
+ monday: "monday";
258
+ tuesday: "tuesday";
259
+ wednesday: "wednesday";
260
+ thursday: "thursday";
261
+ friday: "friday";
262
+ }>>>;
263
+ }, z.core.$strip>;
264
+ }, z.core.$strip>], "type">;
265
+ status: z.ZodEnum<{
266
+ active: "active";
267
+ inactive: "inactive";
268
+ pending: "pending";
269
+ suspended: "suspended";
270
+ graduated: "graduated";
271
+ terminated: "terminated";
272
+ }>;
273
+ statusHistory: z.ZodArray<z.ZodObject<{
274
+ status: z.ZodEnum<{
275
+ active: "active";
276
+ inactive: "inactive";
277
+ pending: "pending";
278
+ suspended: "suspended";
279
+ graduated: "graduated";
280
+ terminated: "terminated";
281
+ }>;
282
+ effectiveDate: z.ZodDate;
283
+ reason: z.ZodOptional<z.ZodString>;
284
+ changedBy: z.ZodOptional<z.ZodUUID>;
285
+ }, z.core.$strip>>;
286
+ emergencyContacts: z.ZodArray<z.ZodObject<{
287
+ name: z.ZodString;
288
+ phone: z.ZodString;
289
+ relationship: z.ZodEnum<{
290
+ parent: "parent";
291
+ spouse: "spouse";
292
+ child: "child";
293
+ sibling: "sibling";
294
+ friend: "friend";
295
+ other: "other";
296
+ }>;
297
+ priority: z.ZodNumber;
298
+ availableHours: z.ZodOptional<z.ZodString>;
299
+ }, z.core.$strip>>;
300
+ documents: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
301
+ type: z.ZodLiteral<"id_card">;
302
+ number: z.ZodString;
303
+ issuingAuthority: z.ZodString;
304
+ issueDate: z.ZodDate;
305
+ expiryDate: z.ZodOptional<z.ZodDate>;
306
+ photoUrl: z.ZodOptional<z.ZodURL>;
307
+ verified: z.ZodDefault<z.ZodBoolean>;
308
+ }, z.core.$strip>, z.ZodObject<{
309
+ type: z.ZodLiteral<"passport">;
310
+ number: z.ZodString;
311
+ country: z.ZodString;
312
+ nationality: z.ZodString;
313
+ issueDate: z.ZodDate;
314
+ expiryDate: z.ZodDate;
315
+ visaInfo: z.ZodOptional<z.ZodArray<z.ZodObject<{
316
+ country: z.ZodString;
317
+ type: z.ZodString;
318
+ issueDate: z.ZodDate;
319
+ expiryDate: z.ZodDate;
320
+ }, z.core.$strip>>>;
321
+ }, z.core.$strip>, z.ZodObject<{
322
+ type: z.ZodLiteral<"professional">;
323
+ number: z.ZodString;
324
+ category: z.ZodString;
325
+ council: z.ZodString;
326
+ state: z.ZodString;
327
+ validity: z.ZodDate;
328
+ }, z.core.$strip>]>>>;
329
+ contactInfo: z.ZodObject<{
330
+ email: z.ZodEmail;
331
+ phone: z.ZodString;
332
+ alternativePhone: z.ZodOptional<z.ZodString>;
333
+ emergencyContact: z.ZodOptional<z.ZodObject<{
334
+ name: z.ZodString;
335
+ relationship: z.ZodEnum<{
336
+ parent: "parent";
337
+ spouse: "spouse";
338
+ child: "child";
339
+ sibling: "sibling";
340
+ friend: "friend";
341
+ other: "other";
342
+ }>;
343
+ phone: z.ZodString;
344
+ priority: z.ZodNumber;
345
+ }, z.core.$strip>>;
346
+ }, z.core.$strip>;
347
+ addresses: z.ZodArray<z.ZodObject<{
348
+ street: z.ZodString;
349
+ number: z.ZodString;
350
+ complement: z.ZodOptional<z.ZodString>;
351
+ neighborhood: z.ZodString;
352
+ city: z.ZodString;
353
+ state: z.ZodString;
354
+ cep: z.ZodString;
355
+ country: z.ZodDefault<z.ZodString>;
356
+ isPrimary: z.ZodDefault<z.ZodBoolean>;
357
+ type: z.ZodEnum<{
358
+ home: "home";
359
+ work: "work";
360
+ billing: "billing";
361
+ shipping: "shipping";
362
+ }>;
363
+ coordinates: z.ZodOptional<z.ZodObject<{
364
+ lat: z.ZodNumber;
365
+ lng: z.ZodNumber;
366
+ }, z.core.$strip>>;
367
+ }, z.core.$strip>>;
368
+ financialInfo: z.ZodOptional<z.ZodObject<{
369
+ bankAccounts: z.ZodArray<z.ZodObject<{
370
+ bankCode: z.ZodString;
371
+ agency: z.ZodString;
372
+ account: z.ZodString;
373
+ digit: z.ZodString;
374
+ type: z.ZodEnum<{
375
+ checking: "checking";
376
+ savings: "savings";
377
+ salary: "salary";
378
+ payment: "payment";
379
+ }>;
380
+ isPrimary: z.ZodBoolean;
381
+ verifiedAt: z.ZodOptional<z.ZodDate>;
382
+ }, z.core.$strip>>;
383
+ creditScore: z.ZodOptional<z.ZodNumber>;
384
+ incomeRange: z.ZodOptional<z.ZodEnum<{
385
+ A: "A";
386
+ B: "B";
387
+ C: "C";
388
+ D: "D";
389
+ E: "E";
390
+ }>>;
391
+ taxId: z.ZodOptional<z.ZodString>;
392
+ paymentMethods: z.ZodArray<z.ZodEnum<{
393
+ credit_card: "credit_card";
394
+ debit_card: "debit_card";
395
+ pix: "pix";
396
+ boleto: "boleto";
397
+ bank_transfer: "bank_transfer";
398
+ }>>;
399
+ }, z.core.$strip>>;
400
+ healthInfo: z.ZodOptional<z.ZodObject<{
401
+ bloodType: z.ZodOptional<z.ZodEnum<{
402
+ "A+": "A+";
403
+ "A-": "A-";
404
+ "B+": "B+";
405
+ "B-": "B-";
406
+ "AB+": "AB+";
407
+ "AB-": "AB-";
408
+ "O+": "O+";
409
+ "O-": "O-";
410
+ }>>;
411
+ allergies: z.ZodOptional<z.ZodArray<z.ZodString>>;
412
+ medications: z.ZodOptional<z.ZodArray<z.ZodObject<{
413
+ name: z.ZodString;
414
+ dosage: z.ZodString;
415
+ frequency: z.ZodString;
416
+ prescribedBy: z.ZodOptional<z.ZodString>;
417
+ }, z.core.$strip>>>;
418
+ disabilities: z.ZodOptional<z.ZodArray<z.ZodObject<{
419
+ type: z.ZodString;
420
+ description: z.ZodString;
421
+ accommodations: z.ZodOptional<z.ZodArray<z.ZodString>>;
422
+ }, z.core.$strip>>>;
423
+ emergencyMedicalContacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
424
+ name: z.ZodString;
425
+ relationship: z.ZodString;
426
+ phone: z.ZodString;
427
+ priority: z.ZodNumber;
428
+ }, z.core.$strip>>>;
429
+ }, z.core.$strip>>;
430
+ preferences: z.ZodObject<{
431
+ notification: z.ZodObject<{
432
+ email: z.ZodDefault<z.ZodBoolean>;
433
+ sms: z.ZodDefault<z.ZodBoolean>;
434
+ push: z.ZodDefault<z.ZodBoolean>;
435
+ digest: z.ZodDefault<z.ZodEnum<{
436
+ never: "never";
437
+ monthly: "monthly";
438
+ weekly: "weekly";
439
+ daily: "daily";
440
+ }>>;
441
+ }, z.core.$strip>;
442
+ privacy: z.ZodObject<{
443
+ profileVisible: z.ZodDefault<z.ZodBoolean>;
444
+ searchable: z.ZodDefault<z.ZodBoolean>;
445
+ showEmail: z.ZodDefault<z.ZodBoolean>;
446
+ showPhone: z.ZodDefault<z.ZodBoolean>;
447
+ dataSharing: z.ZodDefault<z.ZodEnum<{
448
+ none: "none";
449
+ essential: "essential";
450
+ all: "all";
451
+ }>>;
452
+ }, z.core.$strip>;
453
+ language: z.ZodDefault<z.ZodString>;
454
+ timeFormat: z.ZodDefault<z.ZodEnum<{
455
+ "12h": "12h";
456
+ "24h": "24h";
457
+ }>>;
458
+ dateFormat: z.ZodDefault<z.ZodEnum<{
459
+ "DD/MM/YYYY": "DD/MM/YYYY";
460
+ "MM/DD/YYYY": "MM/DD/YYYY";
461
+ "YYYY-MM-DD": "YYYY-MM-DD";
462
+ }>>;
463
+ }, z.core.$strip>;
464
+ roleSpecificMetadata: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
465
+ advisorId: z.ZodOptional<z.ZodUUID>;
466
+ thesisTitle: z.ZodOptional<z.ZodString>;
467
+ researchArea: z.ZodOptional<z.ZodString>;
468
+ publications: z.ZodOptional<z.ZodArray<z.ZodObject<{
469
+ title: z.ZodString;
470
+ year: z.ZodNumber;
471
+ venue: z.ZodOptional<z.ZodString>;
472
+ }, z.core.$strip>>>;
473
+ }, z.core.$strip>, z.ZodObject<{
474
+ researchInterests: z.ZodOptional<z.ZodArray<z.ZodString>>;
475
+ publicationsCount: z.ZodNumber;
476
+ grants: z.ZodOptional<z.ZodArray<z.ZodObject<{
477
+ id: z.ZodString;
478
+ title: z.ZodString;
479
+ fundingAgency: z.ZodString;
480
+ amount: z.ZodNumber;
481
+ period: z.ZodString;
482
+ }, z.core.$strip>>>;
483
+ officeLocation: z.ZodString;
484
+ }, z.core.$strip>, z.ZodObject<{
485
+ budgetResponsibility: z.ZodOptional<z.ZodNumber>;
486
+ teamSize: z.ZodNumber;
487
+ projects: z.ZodOptional<z.ZodArray<z.ZodObject<{
488
+ name: z.ZodString;
489
+ status: z.ZodEnum<{
490
+ active: "active";
491
+ completed: "completed";
492
+ cancelled: "cancelled";
493
+ planning: "planning";
494
+ }>;
495
+ deadline: z.ZodOptional<z.ZodDate>;
496
+ }, z.core.$strip>>>;
497
+ }, z.core.$strip>]>>;
498
+ academicHistory: z.ZodOptional<z.ZodArray<z.ZodObject<{
499
+ enrollmentId: z.ZodString;
500
+ semester: z.ZodString;
501
+ gpa: z.ZodOptional<z.ZodNumber>;
502
+ totalCredits: z.ZodNumber;
503
+ courses: z.ZodArray<z.ZodObject<{
504
+ course: z.ZodObject<{
505
+ id: z.ZodString;
506
+ name: z.ZodString;
507
+ code: z.ZodString;
508
+ credits: z.ZodNumber;
509
+ professorId: z.ZodOptional<z.ZodUUID>;
510
+ schedule: z.ZodObject<{
511
+ days: z.ZodArray<z.ZodEnum<{
512
+ monday: "monday";
513
+ tuesday: "tuesday";
514
+ wednesday: "wednesday";
515
+ thursday: "thursday";
516
+ friday: "friday";
517
+ saturday: "saturday";
518
+ }>>;
519
+ startTime: z.ZodString;
520
+ endTime: z.ZodString;
521
+ room: z.ZodOptional<z.ZodString>;
522
+ }, z.core.$strip>;
523
+ status: z.ZodEnum<{
524
+ active: "active";
525
+ inactive: "inactive";
526
+ completed: "completed";
527
+ cancelled: "cancelled";
528
+ }>;
529
+ }, z.core.$strip>;
530
+ grade: z.ZodOptional<z.ZodNumber>;
531
+ status: z.ZodEnum<{
532
+ enrolled: "enrolled";
533
+ approved: "approved";
534
+ failed: "failed";
535
+ dropped: "dropped";
536
+ }>;
537
+ attendance: z.ZodOptional<z.ZodNumber>;
538
+ }, z.core.$strip>>;
539
+ }, z.core.$strip>>>;
540
+ system: z.ZodObject<{
541
+ isVerified: z.ZodDefault<z.ZodBoolean>;
542
+ verificationLevel: z.ZodDefault<z.ZodNumber>;
543
+ lastLogin: z.ZodOptional<z.ZodDate>;
544
+ loginCount: z.ZodDefault<z.ZodNumber>;
545
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
546
+ flags: z.ZodOptional<z.ZodArray<z.ZodEnum<{
547
+ high_value: "high_value";
548
+ at_risk: "at_risk";
549
+ vip: "vip";
550
+ fraud_risk: "fraud_risk";
551
+ legacy: "legacy";
552
+ }>>>;
553
+ }, z.core.$strip>;
554
+ }, z.core.$strip>, z.ZodObject<{
555
+ id: z.ZodUUID;
556
+ createdAt: z.ZodDate;
557
+ updatedAt: z.ZodOptional<z.ZodDate>;
558
+ deletedAt: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
559
+ version: z.ZodDefault<z.ZodNumber>;
560
+ }, z.core.$strip>>, z.ZodObject<{
561
+ createdBy: z.ZodUUID;
562
+ updatedBy: z.ZodOptional<z.ZodUUID>;
563
+ deletedBy: z.ZodNullable<z.ZodOptional<z.ZodUUID>>;
564
+ auditLog: z.ZodOptional<z.ZodArray<z.ZodObject<{
565
+ timestamp: z.ZodDate;
566
+ action: z.ZodEnum<{
567
+ CREATE: "CREATE";
568
+ UPDATE: "UPDATE";
569
+ DELETE: "DELETE";
570
+ RESTORE: "RESTORE";
571
+ }>;
572
+ userId: z.ZodUUID;
573
+ changes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
574
+ }, z.core.$strip>>>;
575
+ }, z.core.$strip>>;