@aibrains/shared-types 0.14.0 → 0.15.0

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 (38) hide show
  1. package/dist/schemas/academics/assignment.schema.d.ts +10 -10
  2. package/dist/schemas/academics/attendance.schema.d.ts +16 -16
  3. package/dist/schemas/academics/classwork.schema.d.ts +4 -4
  4. package/dist/schemas/academics/grade.schema.d.ts +2 -2
  5. package/dist/schemas/academics/index.d.ts +1 -0
  6. package/dist/schemas/academics/index.d.ts.map +1 -1
  7. package/dist/schemas/academics/index.js +1 -0
  8. package/dist/schemas/academics/index.js.map +1 -1
  9. package/dist/schemas/academics/section-attendance.schema.d.ts +447 -0
  10. package/dist/schemas/academics/section-attendance.schema.d.ts.map +1 -0
  11. package/dist/schemas/academics/section-attendance.schema.js +126 -0
  12. package/dist/schemas/academics/section-attendance.schema.js.map +1 -0
  13. package/dist/schemas/academics/student.schema.d.ts +15 -15
  14. package/dist/schemas/common.d.ts +4 -2
  15. package/dist/schemas/common.d.ts.map +1 -1
  16. package/dist/schemas/common.js +7 -2
  17. package/dist/schemas/common.js.map +1 -1
  18. package/dist/schemas/enrollment/enrollment.schema.d.ts +55 -55
  19. package/dist/schemas/finance/fee-structure.schema.d.ts +4 -4
  20. package/dist/schemas/finance/invoice.schema.d.ts +5 -5
  21. package/dist/schemas/finance/payment.schema.d.ts +16 -0
  22. package/dist/schemas/finance/payment.schema.d.ts.map +1 -1
  23. package/dist/schemas/finance/payment.schema.js +2 -0
  24. package/dist/schemas/finance/payment.schema.js.map +1 -1
  25. package/dist/schemas/identity/bell-schedule.schema.d.ts +5 -5
  26. package/dist/schemas/identity/calendar-date.schema.d.ts +12 -12
  27. package/dist/schemas/identity/credential.schema.d.ts +4 -4
  28. package/dist/schemas/identity/education-org-network.schema.d.ts +7 -7
  29. package/dist/schemas/identity/education-organization.schema.d.ts +1 -1
  30. package/dist/schemas/identity/education-service-center.schema.d.ts +4 -4
  31. package/dist/schemas/identity/leave.schema.d.ts +8 -8
  32. package/dist/schemas/identity/local-education-agency.schema.d.ts +4 -4
  33. package/dist/schemas/identity/school.schema.d.ts +4 -4
  34. package/dist/schemas/identity/staff-assignment.schema.d.ts +3 -3
  35. package/dist/schemas/identity/staff.schema.d.ts +18 -18
  36. package/dist/schemas/identity/state-education-agency.schema.d.ts +3 -3
  37. package/dist/validators/date-range.d.ts +6 -6
  38. package/package.json +1 -1
@@ -296,7 +296,7 @@ export declare const createStudentSchema: z.ZodObject<{
296
296
  middleName: z.ZodOptional<z.ZodString>;
297
297
  preferredName: z.ZodOptional<z.ZodString>;
298
298
  suffix: z.ZodOptional<z.ZodString>;
299
- dateOfBirth: z.ZodEffects<z.ZodString, string, string>;
299
+ dateOfBirth: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
300
300
  gender: z.ZodEnum<["male", "female", "other", "prefer_not_to_say"]>;
301
301
  schoolId: z.ZodString;
302
302
  currentGradeLevel: z.ZodString;
@@ -582,7 +582,7 @@ export declare const createStudentSchema: z.ZodObject<{
582
582
  primaryLanguage: z.ZodOptional<z.ZodString>;
583
583
  homeLanguage: z.ZodOptional<z.ZodString>;
584
584
  countryOfBirth: z.ZodOptional<z.ZodString>;
585
- enrollmentDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
585
+ enrollmentDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
586
586
  previousSchool: z.ZodOptional<z.ZodString>;
587
587
  notes: z.ZodOptional<z.ZodString>;
588
588
  }, "strip", z.ZodTypeAny, {
@@ -767,7 +767,7 @@ export declare const updateStudentSchema: z.ZodObject<Omit<{
767
767
  middleName: z.ZodOptional<z.ZodOptional<z.ZodString>>;
768
768
  preferredName: z.ZodOptional<z.ZodOptional<z.ZodString>>;
769
769
  suffix: z.ZodOptional<z.ZodOptional<z.ZodString>>;
770
- dateOfBirth: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
770
+ dateOfBirth: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
771
771
  gender: z.ZodOptional<z.ZodEnum<["male", "female", "other", "prefer_not_to_say"]>>;
772
772
  schoolId: z.ZodOptional<z.ZodString>;
773
773
  currentGradeLevel: z.ZodOptional<z.ZodString>;
@@ -1053,7 +1053,7 @@ export declare const updateStudentSchema: z.ZodObject<Omit<{
1053
1053
  primaryLanguage: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1054
1054
  homeLanguage: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1055
1055
  countryOfBirth: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1056
- enrollmentDate: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
1056
+ enrollmentDate: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>>;
1057
1057
  previousSchool: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1058
1058
  notes: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1059
1059
  }, "schoolId">, "strip", z.ZodTypeAny, {
@@ -1240,7 +1240,7 @@ export declare const studentResponseSchema: z.ZodObject<{
1240
1240
  preferredName: z.ZodOptional<z.ZodString>;
1241
1241
  suffix: z.ZodOptional<z.ZodString>;
1242
1242
  fullName: z.ZodString;
1243
- dateOfBirth: z.ZodEffects<z.ZodString, string, string>;
1243
+ dateOfBirth: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1244
1244
  gender: z.ZodEnum<["male", "female", "other", "prefer_not_to_say"]>;
1245
1245
  studentNumber: z.ZodOptional<z.ZodString>;
1246
1246
  stateStudentId: z.ZodOptional<z.ZodString>;
@@ -1526,7 +1526,7 @@ export declare const studentResponseSchema: z.ZodObject<{
1526
1526
  primaryLanguage: z.ZodOptional<z.ZodString>;
1527
1527
  homeLanguage: z.ZodOptional<z.ZodString>;
1528
1528
  countryOfBirth: z.ZodOptional<z.ZodString>;
1529
- enrollmentDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1529
+ enrollmentDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
1530
1530
  previousSchool: z.ZodOptional<z.ZodString>;
1531
1531
  notes: z.ZodOptional<z.ZodString>;
1532
1532
  createdAt: z.ZodString;
@@ -1736,7 +1736,7 @@ export declare const studentListResponseSchema: z.ZodObject<{
1736
1736
  preferredName: z.ZodOptional<z.ZodString>;
1737
1737
  suffix: z.ZodOptional<z.ZodString>;
1738
1738
  fullName: z.ZodString;
1739
- dateOfBirth: z.ZodEffects<z.ZodString, string, string>;
1739
+ dateOfBirth: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1740
1740
  gender: z.ZodEnum<["male", "female", "other", "prefer_not_to_say"]>;
1741
1741
  studentNumber: z.ZodOptional<z.ZodString>;
1742
1742
  stateStudentId: z.ZodOptional<z.ZodString>;
@@ -2022,7 +2022,7 @@ export declare const studentListResponseSchema: z.ZodObject<{
2022
2022
  primaryLanguage: z.ZodOptional<z.ZodString>;
2023
2023
  homeLanguage: z.ZodOptional<z.ZodString>;
2024
2024
  countryOfBirth: z.ZodOptional<z.ZodString>;
2025
- enrollmentDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2025
+ enrollmentDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
2026
2026
  previousSchool: z.ZodOptional<z.ZodString>;
2027
2027
  notes: z.ZodOptional<z.ZodString>;
2028
2028
  createdAt: z.ZodString;
@@ -2430,8 +2430,8 @@ export declare const studentFilterSchema: z.ZodObject<{
2430
2430
  gradeLevel: z.ZodOptional<z.ZodString>;
2431
2431
  status: z.ZodOptional<z.ZodEnum<["active", "inactive", "graduated", "transferred", "withdrawn", "suspended"]>>;
2432
2432
  searchTerm: z.ZodOptional<z.ZodString>;
2433
- enrollmentDateFrom: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2434
- enrollmentDateTo: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2433
+ enrollmentDateFrom: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
2434
+ enrollmentDateTo: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
2435
2435
  hasIEP: z.ZodOptional<z.ZodBoolean>;
2436
2436
  has504Plan: z.ZodOptional<z.ZodBoolean>;
2437
2437
  }, "strip", z.ZodTypeAny, {
@@ -2464,7 +2464,7 @@ export declare const studentProfileResponseSchema: z.ZodObject<z.objectUtil.exte
2464
2464
  preferredName: z.ZodOptional<z.ZodString>;
2465
2465
  suffix: z.ZodOptional<z.ZodString>;
2466
2466
  fullName: z.ZodString;
2467
- dateOfBirth: z.ZodEffects<z.ZodString, string, string>;
2467
+ dateOfBirth: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2468
2468
  gender: z.ZodEnum<["male", "female", "other", "prefer_not_to_say"]>;
2469
2469
  studentNumber: z.ZodOptional<z.ZodString>;
2470
2470
  stateStudentId: z.ZodOptional<z.ZodString>;
@@ -2750,7 +2750,7 @@ export declare const studentProfileResponseSchema: z.ZodObject<z.objectUtil.exte
2750
2750
  primaryLanguage: z.ZodOptional<z.ZodString>;
2751
2751
  homeLanguage: z.ZodOptional<z.ZodString>;
2752
2752
  countryOfBirth: z.ZodOptional<z.ZodString>;
2753
- enrollmentDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2753
+ enrollmentDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
2754
2754
  previousSchool: z.ZodOptional<z.ZodString>;
2755
2755
  notes: z.ZodOptional<z.ZodString>;
2756
2756
  createdAt: z.ZodString;
@@ -2763,7 +2763,7 @@ export declare const studentProfileResponseSchema: z.ZodObject<z.objectUtil.exte
2763
2763
  academicYearId: z.ZodString;
2764
2764
  academicYearName: z.ZodOptional<z.ZodString>;
2765
2765
  gradeLevel: z.ZodString;
2766
- enrollmentDate: z.ZodEffects<z.ZodString, string, string>;
2766
+ enrollmentDate: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2767
2767
  status: z.ZodString;
2768
2768
  homeroomId: z.ZodOptional<z.ZodString>;
2769
2769
  homeroomName: z.ZodOptional<z.ZodString>;
@@ -2793,8 +2793,8 @@ export declare const studentProfileResponseSchema: z.ZodObject<z.objectUtil.exte
2793
2793
  gradeLevel: z.ZodString;
2794
2794
  schoolId: z.ZodString;
2795
2795
  schoolName: z.ZodOptional<z.ZodString>;
2796
- enrollmentDate: z.ZodEffects<z.ZodString, string, string>;
2797
- withdrawalDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2796
+ enrollmentDate: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2797
+ withdrawalDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
2798
2798
  status: z.ZodString;
2799
2799
  }, "strip", z.ZodTypeAny, {
2800
2800
  status: string;
@@ -84,9 +84,11 @@ export declare const urlSchema: z.ZodString;
84
84
  */
85
85
  export declare const isoDateSchema: z.ZodString;
86
86
  /**
87
- * Date string in YYYY-MM-DD format (for dates without time)
87
+ * Date string in YYYY-MM-DD format (for dates without time).
88
+ * Enforces Gregorian (AD) year range to reject Bikram Sambat (BS) dates
89
+ * which would have years like 2081-2083.
88
90
  */
89
- export declare const dateSchema: z.ZodEffects<z.ZodString, string, string>;
91
+ export declare const dateSchema: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
90
92
  /**
91
93
  * Time string in HH:MM format (24-hour)
92
94
  */
@@ -1 +1 @@
1
- {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/schemas/common.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB;;GAEG;AACH,eAAO,MAAM,qBAAqB;;;;;;;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M,kBAAkB,+CAA6C,CAAC;AAC7E,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAM9D;;GAEG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS3B,CAAC;AAEH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAM1D;;GAEG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;EAO/B,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
@@ -65,9 +65,14 @@ exports.urlSchema = zod_1.z.string().url();
65
65
  */
66
66
  exports.isoDateSchema = zod_1.z.string().datetime();
67
67
  /**
68
- * Date string in YYYY-MM-DD format (for dates without time)
68
+ * Date string in YYYY-MM-DD format (for dates without time).
69
+ * Enforces Gregorian (AD) year range to reject Bikram Sambat (BS) dates
70
+ * which would have years like 2081-2083.
69
71
  */
70
- exports.dateSchema = zod_1.z.string().regex(/^\d{4}-\d{2}-\d{2}$/, 'Date must be in YYYY-MM-DD format').refine((date) => !isNaN(Date.parse(date)), 'Invalid date');
72
+ exports.dateSchema = zod_1.z.string().regex(/^\d{4}-\d{2}-\d{2}$/, 'Date must be in YYYY-MM-DD format').refine((date) => !isNaN(Date.parse(date)), 'Invalid date').refine((date) => {
73
+ const year = parseInt(date.substring(0, 4), 10);
74
+ return year >= 2020 && year <= 2100;
75
+ }, 'Date must be in Gregorian (AD) calendar. BS dates like 2081 are not accepted — use AD equivalent.');
71
76
  /**
72
77
  * Time string in HH:MM format (24-hour)
73
78
  */
@@ -1 +1 @@
1
- {"version":3,"file":"common.js","sourceRoot":"","sources":["../../src/schemas/common.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEH,6BAAwB;AAExB,+CAA+C;AAC/C,aAAa;AACb,+CAA+C;AAE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C,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAClC,CAAC,CAAC"}
@@ -41,8 +41,8 @@ export declare const qualificationsSchema: z.ZodObject<{
41
41
  certifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
42
42
  name: z.ZodString;
43
43
  issuingAuthority: z.ZodOptional<z.ZodString>;
44
- issueDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
45
- expirationDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
44
+ issueDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
45
+ expirationDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
46
46
  credentialNumber: z.ZodOptional<z.ZodString>;
47
47
  }, "strip", z.ZodTypeAny, {
48
48
  name: string;
@@ -61,7 +61,7 @@ export declare const qualificationsSchema: z.ZodObject<{
61
61
  type: z.ZodString;
62
62
  state: z.ZodOptional<z.ZodString>;
63
63
  number: z.ZodOptional<z.ZodString>;
64
- expirationDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
64
+ expirationDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
65
65
  }, "strip", z.ZodTypeAny, {
66
66
  type: string;
67
67
  number?: string | undefined;
@@ -117,8 +117,8 @@ export declare const enrollmentStaffRoleSchema: z.ZodObject<{
117
117
  schoolId: z.ZodString;
118
118
  departmentId: z.ZodOptional<z.ZodString>;
119
119
  isPrimary: z.ZodDefault<z.ZodBoolean>;
120
- startDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
121
- endDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
120
+ startDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
121
+ endDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
122
122
  subjects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
123
123
  gradeLevels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
124
124
  }, "strip", z.ZodTypeAny, {
@@ -146,7 +146,7 @@ export declare const createEnrollmentStaffSchema: z.ZodObject<{
146
146
  lastName: z.ZodString;
147
147
  middleName: z.ZodOptional<z.ZodString>;
148
148
  preferredName: z.ZodOptional<z.ZodString>;
149
- dateOfBirth: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
149
+ dateOfBirth: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
150
150
  gender: z.ZodOptional<z.ZodEnum<["male", "female", "other", "prefer_not_to_say"]>>;
151
151
  email: z.ZodString;
152
152
  phone: z.ZodOptional<z.ZodString>;
@@ -188,7 +188,7 @@ export declare const createEnrollmentStaffSchema: z.ZodObject<{
188
188
  country?: string | undefined;
189
189
  }>>;
190
190
  employeeNumber: z.ZodOptional<z.ZodString>;
191
- hireDate: z.ZodEffects<z.ZodString, string, string>;
191
+ hireDate: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
192
192
  employmentType: z.ZodDefault<z.ZodEnum<["full_time", "part_time", "contract", "temporary", "volunteer"]>>;
193
193
  employmentStatus: z.ZodDefault<z.ZodEnum<["active", "on_leave", "terminated", "retired", "pending"]>>;
194
194
  roles: z.ZodArray<z.ZodObject<{
@@ -196,8 +196,8 @@ export declare const createEnrollmentStaffSchema: z.ZodObject<{
196
196
  schoolId: z.ZodString;
197
197
  departmentId: z.ZodOptional<z.ZodString>;
198
198
  isPrimary: z.ZodDefault<z.ZodBoolean>;
199
- startDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
200
- endDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
199
+ startDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
200
+ endDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
201
201
  subjects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
202
202
  gradeLevels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
203
203
  }, "strip", z.ZodTypeAny, {
@@ -245,8 +245,8 @@ export declare const createEnrollmentStaffSchema: z.ZodObject<{
245
245
  certifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
246
246
  name: z.ZodString;
247
247
  issuingAuthority: z.ZodOptional<z.ZodString>;
248
- issueDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
249
- expirationDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
248
+ issueDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
249
+ expirationDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
250
250
  credentialNumber: z.ZodOptional<z.ZodString>;
251
251
  }, "strip", z.ZodTypeAny, {
252
252
  name: string;
@@ -265,7 +265,7 @@ export declare const createEnrollmentStaffSchema: z.ZodObject<{
265
265
  type: z.ZodString;
266
266
  state: z.ZodOptional<z.ZodString>;
267
267
  number: z.ZodOptional<z.ZodString>;
268
- expirationDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
268
+ expirationDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
269
269
  }, "strip", z.ZodTypeAny, {
270
270
  type: string;
271
271
  number?: string | undefined;
@@ -474,7 +474,7 @@ export declare const updateEnrollmentStaffSchema: z.ZodObject<{
474
474
  lastName: z.ZodOptional<z.ZodString>;
475
475
  middleName: z.ZodOptional<z.ZodOptional<z.ZodString>>;
476
476
  preferredName: z.ZodOptional<z.ZodOptional<z.ZodString>>;
477
- dateOfBirth: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
477
+ dateOfBirth: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>>;
478
478
  gender: z.ZodOptional<z.ZodOptional<z.ZodEnum<["male", "female", "other", "prefer_not_to_say"]>>>;
479
479
  email: z.ZodOptional<z.ZodString>;
480
480
  phone: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -516,7 +516,7 @@ export declare const updateEnrollmentStaffSchema: z.ZodObject<{
516
516
  country?: string | undefined;
517
517
  }>>>;
518
518
  employeeNumber: z.ZodOptional<z.ZodOptional<z.ZodString>>;
519
- hireDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
519
+ hireDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
520
520
  employmentType: z.ZodOptional<z.ZodDefault<z.ZodEnum<["full_time", "part_time", "contract", "temporary", "volunteer"]>>>;
521
521
  employmentStatus: z.ZodOptional<z.ZodDefault<z.ZodEnum<["active", "on_leave", "terminated", "retired", "pending"]>>>;
522
522
  roles: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -524,8 +524,8 @@ export declare const updateEnrollmentStaffSchema: z.ZodObject<{
524
524
  schoolId: z.ZodString;
525
525
  departmentId: z.ZodOptional<z.ZodString>;
526
526
  isPrimary: z.ZodDefault<z.ZodBoolean>;
527
- startDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
528
- endDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
527
+ startDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
528
+ endDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
529
529
  subjects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
530
530
  gradeLevels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
531
531
  }, "strip", z.ZodTypeAny, {
@@ -573,8 +573,8 @@ export declare const updateEnrollmentStaffSchema: z.ZodObject<{
573
573
  certifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
574
574
  name: z.ZodString;
575
575
  issuingAuthority: z.ZodOptional<z.ZodString>;
576
- issueDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
577
- expirationDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
576
+ issueDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
577
+ expirationDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
578
578
  credentialNumber: z.ZodOptional<z.ZodString>;
579
579
  }, "strip", z.ZodTypeAny, {
580
580
  name: string;
@@ -593,7 +593,7 @@ export declare const updateEnrollmentStaffSchema: z.ZodObject<{
593
593
  type: z.ZodString;
594
594
  state: z.ZodOptional<z.ZodString>;
595
595
  number: z.ZodOptional<z.ZodString>;
596
- expirationDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
596
+ expirationDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
597
597
  }, "strip", z.ZodTypeAny, {
598
598
  type: string;
599
599
  number?: string | undefined;
@@ -805,7 +805,7 @@ export declare const enrollmentStaffResponseSchema: z.ZodObject<{
805
805
  middleName: z.ZodOptional<z.ZodString>;
806
806
  preferredName: z.ZodOptional<z.ZodString>;
807
807
  fullName: z.ZodString;
808
- dateOfBirth: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
808
+ dateOfBirth: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
809
809
  gender: z.ZodOptional<z.ZodEnum<["male", "female", "other", "prefer_not_to_say"]>>;
810
810
  email: z.ZodString;
811
811
  phone: z.ZodOptional<z.ZodString>;
@@ -847,8 +847,8 @@ export declare const enrollmentStaffResponseSchema: z.ZodObject<{
847
847
  country?: string | undefined;
848
848
  }>>;
849
849
  employeeNumber: z.ZodOptional<z.ZodString>;
850
- hireDate: z.ZodEffects<z.ZodString, string, string>;
851
- terminationDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
850
+ hireDate: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
851
+ terminationDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
852
852
  employmentType: z.ZodEnum<["full_time", "part_time", "contract", "temporary", "volunteer"]>;
853
853
  employmentStatus: z.ZodEnum<["active", "on_leave", "terminated", "retired", "pending"]>;
854
854
  roles: z.ZodArray<z.ZodObject<{
@@ -856,8 +856,8 @@ export declare const enrollmentStaffResponseSchema: z.ZodObject<{
856
856
  schoolId: z.ZodString;
857
857
  departmentId: z.ZodOptional<z.ZodString>;
858
858
  isPrimary: z.ZodDefault<z.ZodBoolean>;
859
- startDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
860
- endDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
859
+ startDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
860
+ endDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
861
861
  subjects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
862
862
  gradeLevels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
863
863
  }, "strip", z.ZodTypeAny, {
@@ -906,8 +906,8 @@ export declare const enrollmentStaffResponseSchema: z.ZodObject<{
906
906
  certifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
907
907
  name: z.ZodString;
908
908
  issuingAuthority: z.ZodOptional<z.ZodString>;
909
- issueDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
910
- expirationDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
909
+ issueDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
910
+ expirationDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
911
911
  credentialNumber: z.ZodOptional<z.ZodString>;
912
912
  }, "strip", z.ZodTypeAny, {
913
913
  name: string;
@@ -926,7 +926,7 @@ export declare const enrollmentStaffResponseSchema: z.ZodObject<{
926
926
  type: z.ZodString;
927
927
  state: z.ZodOptional<z.ZodString>;
928
928
  number: z.ZodOptional<z.ZodString>;
929
- expirationDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
929
+ expirationDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
930
930
  }, "strip", z.ZodTypeAny, {
931
931
  type: string;
932
932
  number?: string | undefined;
@@ -1161,7 +1161,7 @@ export declare const enrollmentStaffListResponseSchema: z.ZodObject<{
1161
1161
  middleName: z.ZodOptional<z.ZodString>;
1162
1162
  preferredName: z.ZodOptional<z.ZodString>;
1163
1163
  fullName: z.ZodString;
1164
- dateOfBirth: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1164
+ dateOfBirth: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
1165
1165
  gender: z.ZodOptional<z.ZodEnum<["male", "female", "other", "prefer_not_to_say"]>>;
1166
1166
  email: z.ZodString;
1167
1167
  phone: z.ZodOptional<z.ZodString>;
@@ -1203,8 +1203,8 @@ export declare const enrollmentStaffListResponseSchema: z.ZodObject<{
1203
1203
  country?: string | undefined;
1204
1204
  }>>;
1205
1205
  employeeNumber: z.ZodOptional<z.ZodString>;
1206
- hireDate: z.ZodEffects<z.ZodString, string, string>;
1207
- terminationDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1206
+ hireDate: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1207
+ terminationDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
1208
1208
  employmentType: z.ZodEnum<["full_time", "part_time", "contract", "temporary", "volunteer"]>;
1209
1209
  employmentStatus: z.ZodEnum<["active", "on_leave", "terminated", "retired", "pending"]>;
1210
1210
  roles: z.ZodArray<z.ZodObject<{
@@ -1212,8 +1212,8 @@ export declare const enrollmentStaffListResponseSchema: z.ZodObject<{
1212
1212
  schoolId: z.ZodString;
1213
1213
  departmentId: z.ZodOptional<z.ZodString>;
1214
1214
  isPrimary: z.ZodDefault<z.ZodBoolean>;
1215
- startDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1216
- endDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1215
+ startDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
1216
+ endDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
1217
1217
  subjects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1218
1218
  gradeLevels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1219
1219
  }, "strip", z.ZodTypeAny, {
@@ -1262,8 +1262,8 @@ export declare const enrollmentStaffListResponseSchema: z.ZodObject<{
1262
1262
  certifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
1263
1263
  name: z.ZodString;
1264
1264
  issuingAuthority: z.ZodOptional<z.ZodString>;
1265
- issueDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1266
- expirationDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1265
+ issueDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
1266
+ expirationDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
1267
1267
  credentialNumber: z.ZodOptional<z.ZodString>;
1268
1268
  }, "strip", z.ZodTypeAny, {
1269
1269
  name: string;
@@ -1282,7 +1282,7 @@ export declare const enrollmentStaffListResponseSchema: z.ZodObject<{
1282
1282
  type: z.ZodString;
1283
1283
  state: z.ZodOptional<z.ZodString>;
1284
1284
  number: z.ZodOptional<z.ZodString>;
1285
- expirationDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1285
+ expirationDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
1286
1286
  }, "strip", z.ZodTypeAny, {
1287
1287
  type: string;
1288
1288
  number?: string | undefined;
@@ -2355,8 +2355,8 @@ export declare const createEnrollmentSchema: z.ZodObject<{
2355
2355
  academicYearId: z.ZodString;
2356
2356
  gradeLevel: z.ZodString;
2357
2357
  enrollmentType: z.ZodDefault<z.ZodEnum<["new", "transfer", "returning", "re_enrollment"]>>;
2358
- enrollmentDate: z.ZodEffects<z.ZodString, string, string>;
2359
- expectedGraduationDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2358
+ enrollmentDate: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2359
+ expectedGraduationDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
2360
2360
  previousSchoolName: z.ZodOptional<z.ZodString>;
2361
2361
  previousSchoolAddress: z.ZodOptional<z.ZodString>;
2362
2362
  transferReason: z.ZodOptional<z.ZodString>;
@@ -2419,7 +2419,7 @@ export declare const createEnrollmentSchema: z.ZodObject<{
2419
2419
  export type CreateEnrollmentDto = z.infer<typeof createEnrollmentSchema>;
2420
2420
  export declare const updateEnrollmentStatusSchema: z.ZodObject<{
2421
2421
  status: z.ZodEnum<["pending", "active", "enrolled", "withdrawn", "graduated", "transferred", "suspended", "expelled", "completed"]>;
2422
- statusChangeDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2422
+ statusChangeDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
2423
2423
  reason: z.ZodOptional<z.ZodString>;
2424
2424
  notes: z.ZodOptional<z.ZodString>;
2425
2425
  }, "strip", z.ZodTypeAny, {
@@ -2436,7 +2436,7 @@ export declare const updateEnrollmentStatusSchema: z.ZodObject<{
2436
2436
  export type UpdateEnrollmentStatusDto = z.infer<typeof updateEnrollmentStatusSchema>;
2437
2437
  export declare const transferEnrollmentSchema: z.ZodObject<{
2438
2438
  newSchoolId: z.ZodString;
2439
- effectiveDate: z.ZodEffects<z.ZodString, string, string>;
2439
+ effectiveDate: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2440
2440
  transferReason: z.ZodOptional<z.ZodString>;
2441
2441
  notes: z.ZodOptional<z.ZodString>;
2442
2442
  }, "strip", z.ZodTypeAny, {
@@ -2463,12 +2463,12 @@ export declare const enrollmentResponseSchema: z.ZodObject<{
2463
2463
  gradeLevel: z.ZodString;
2464
2464
  enrollmentType: z.ZodEnum<["new", "transfer", "returning", "re_enrollment"]>;
2465
2465
  status: z.ZodEnum<["pending", "active", "enrolled", "withdrawn", "graduated", "transferred", "suspended", "expelled", "completed"]>;
2466
- entryDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2467
- exitWithdrawDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2468
- enrollmentDate: z.ZodEffects<z.ZodString, string, string>;
2469
- withdrawalDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2470
- expectedGraduationDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2471
- actualGraduationDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2466
+ entryDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
2467
+ exitWithdrawDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
2468
+ enrollmentDate: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2469
+ withdrawalDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
2470
+ expectedGraduationDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
2471
+ actualGraduationDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
2472
2472
  previousSchoolName: z.ZodOptional<z.ZodString>;
2473
2473
  previousSchoolAddress: z.ZodOptional<z.ZodString>;
2474
2474
  transferReason: z.ZodOptional<z.ZodString>;
@@ -2580,12 +2580,12 @@ export declare const enrollmentListResponseSchema: z.ZodObject<{
2580
2580
  gradeLevel: z.ZodString;
2581
2581
  enrollmentType: z.ZodEnum<["new", "transfer", "returning", "re_enrollment"]>;
2582
2582
  status: z.ZodEnum<["pending", "active", "enrolled", "withdrawn", "graduated", "transferred", "suspended", "expelled", "completed"]>;
2583
- entryDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2584
- exitWithdrawDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2585
- enrollmentDate: z.ZodEffects<z.ZodString, string, string>;
2586
- withdrawalDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2587
- expectedGraduationDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2588
- actualGraduationDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2583
+ entryDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
2584
+ exitWithdrawDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
2585
+ enrollmentDate: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2586
+ withdrawalDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
2587
+ expectedGraduationDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
2588
+ actualGraduationDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
2589
2589
  previousSchoolName: z.ZodOptional<z.ZodString>;
2590
2590
  previousSchoolAddress: z.ZodOptional<z.ZodString>;
2591
2591
  transferReason: z.ZodOptional<z.ZodString>;
@@ -2827,7 +2827,7 @@ export declare const updateEnrollmentSchema: z.ZodObject<{
2827
2827
  gradeLevel: z.ZodOptional<z.ZodString>;
2828
2828
  homeroomId: z.ZodOptional<z.ZodString>;
2829
2829
  sectionId: z.ZodOptional<z.ZodString>;
2830
- expectedGraduationDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2830
+ expectedGraduationDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
2831
2831
  notes: z.ZodOptional<z.ZodString>;
2832
2832
  }, "strip", z.ZodTypeAny, {
2833
2833
  notes?: string | undefined;
@@ -2844,10 +2844,10 @@ export declare const updateEnrollmentSchema: z.ZodObject<{
2844
2844
  }>;
2845
2845
  export type UpdateEnrollmentDto = z.infer<typeof updateEnrollmentSchema>;
2846
2846
  export declare const withdrawStudentSchema: z.ZodObject<{
2847
- withdrawalDate: z.ZodEffects<z.ZodString, string, string>;
2847
+ withdrawalDate: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2848
2848
  reason: z.ZodString;
2849
2849
  notes: z.ZodOptional<z.ZodString>;
2850
- lastDayAttended: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2850
+ lastDayAttended: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
2851
2851
  exitCode: z.ZodOptional<z.ZodString>;
2852
2852
  exitWithdrawTypeDescriptor: z.ZodString;
2853
2853
  }, "strip", z.ZodTypeAny, {
@@ -2868,7 +2868,7 @@ export declare const withdrawStudentSchema: z.ZodObject<{
2868
2868
  export type WithdrawStudentDto = z.infer<typeof withdrawStudentSchema>;
2869
2869
  export declare const transferStudentSchema: z.ZodObject<{
2870
2870
  newSchoolId: z.ZodString;
2871
- effectiveDate: z.ZodEffects<z.ZodString, string, string>;
2871
+ effectiveDate: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2872
2872
  transferReason: z.ZodOptional<z.ZodString>;
2873
2873
  notes: z.ZodOptional<z.ZodString>;
2874
2874
  newGradeLevel: z.ZodOptional<z.ZodString>;
@@ -76,8 +76,8 @@ export declare const createFeeStructureSchema: z.ZodObject<{
76
76
  frequency: z.ZodEnum<["one_time", "monthly", "quarterly", "annual"]>;
77
77
  gradeLevels: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
78
78
  autoApplyOnEnrollment: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
79
- effectiveFrom: z.ZodEffects<z.ZodString, string, string>;
80
- effectiveTo: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
79
+ effectiveFrom: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
80
+ effectiveTo: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
81
81
  }, "strip", z.ZodTypeAny, {
82
82
  name: string;
83
83
  gradeLevels: string[];
@@ -118,8 +118,8 @@ export declare const updateFeeStructureSchema: z.ZodObject<{
118
118
  gradeLevels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
119
119
  isActive: z.ZodOptional<z.ZodBoolean>;
120
120
  autoApplyOnEnrollment: z.ZodOptional<z.ZodBoolean>;
121
- effectiveFrom: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
122
- effectiveTo: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
121
+ effectiveFrom: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
122
+ effectiveTo: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>>;
123
123
  }, "strip", z.ZodTypeAny, {
124
124
  name?: string | undefined;
125
125
  gradeLevels?: string[] | undefined;
@@ -174,7 +174,7 @@ export declare const generateInvoiceSchema: z.ZodObject<{
174
174
  academicYear: z.ZodString;
175
175
  billingPeriod: z.ZodOptional<z.ZodString>;
176
176
  feeStructureIds: z.ZodArray<z.ZodString, "many">;
177
- dueDate: z.ZodEffects<z.ZodString, string, string>;
177
+ dueDate: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
178
178
  notes: z.ZodOptional<z.ZodString>;
179
179
  discounts: z.ZodOptional<z.ZodArray<z.ZodObject<{
180
180
  feeStructureId: z.ZodString;
@@ -220,7 +220,7 @@ export declare const bulkGenerateInvoiceSchema: z.ZodObject<{
220
220
  academicYear: z.ZodString;
221
221
  billingPeriod: z.ZodOptional<z.ZodString>;
222
222
  feeStructureIds: z.ZodArray<z.ZodString, "many">;
223
- dueDate: z.ZodEffects<z.ZodString, string, string>;
223
+ dueDate: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
224
224
  notes: z.ZodOptional<z.ZodString>;
225
225
  }, "strip", z.ZodTypeAny, {
226
226
  studentIds: string[];
@@ -241,7 +241,7 @@ export type BulkGenerateInvoiceDto = z.infer<typeof bulkGenerateInvoiceSchema>;
241
241
  export declare const updateInvoiceSchema: z.ZodObject<{
242
242
  status: z.ZodOptional<z.ZodEnum<["draft", "issued", "partially_paid", "paid", "overdue", "cancelled", "written_off"]>>;
243
243
  notes: z.ZodOptional<z.ZodString>;
244
- dueDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
244
+ dueDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
245
245
  discounts: z.ZodOptional<z.ZodArray<z.ZodObject<{
246
246
  lineItemId: z.ZodString;
247
247
  amount: z.ZodNumber;
@@ -279,8 +279,8 @@ export declare const invoiceFilterSchema: z.ZodObject<{
279
279
  status: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["draft", "issued", "partially_paid", "paid", "overdue", "cancelled", "written_off"]>, z.ZodArray<z.ZodEnum<["draft", "issued", "partially_paid", "paid", "overdue", "cancelled", "written_off"]>, "many">]>>;
280
280
  studentId: z.ZodOptional<z.ZodString>;
281
281
  academicYear: z.ZodOptional<z.ZodString>;
282
- dueDateFrom: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
283
- dueDateTo: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
282
+ dueDateFrom: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
283
+ dueDateTo: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
284
284
  searchTerm: z.ZodOptional<z.ZodString>;
285
285
  }, "strip", z.ZodTypeAny, {
286
286
  status?: "cancelled" | "draft" | "issued" | "partially_paid" | "paid" | "overdue" | "written_off" | ("cancelled" | "draft" | "issued" | "partially_paid" | "paid" | "overdue" | "written_off")[] | undefined;