@aibrains/shared-types 0.14.0 → 0.16.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.
- package/dist/events/enrollment-billing.events.d.ts +47 -0
- package/dist/events/enrollment-billing.events.d.ts.map +1 -0
- package/dist/events/enrollment-billing.events.js +9 -0
- package/dist/events/enrollment-billing.events.js.map +1 -0
- package/dist/identity/country-config.d.ts +120 -0
- package/dist/identity/country-config.d.ts.map +1 -0
- package/dist/identity/country-config.js +404 -0
- package/dist/identity/country-config.js.map +1 -0
- package/dist/identity/field-governance.d.ts +40 -0
- package/dist/identity/field-governance.d.ts.map +1 -0
- package/dist/identity/field-governance.js +111 -0
- package/dist/identity/field-governance.js.map +1 -0
- package/dist/index.d.ts +6 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +9 -1
- package/dist/index.js.map +1 -1
- package/dist/mappers/edfi/education-org.mapper.js +3 -3
- package/dist/mappers/edfi/education-org.mapper.js.map +1 -1
- package/dist/schemas/academics/assignment.schema.d.ts +10 -10
- package/dist/schemas/academics/attendance.schema.d.ts +16 -16
- package/dist/schemas/academics/classwork.schema.d.ts +4 -4
- package/dist/schemas/academics/grade.schema.d.ts +2 -2
- package/dist/schemas/academics/index.d.ts +1 -0
- package/dist/schemas/academics/index.d.ts.map +1 -1
- package/dist/schemas/academics/index.js +1 -0
- package/dist/schemas/academics/index.js.map +1 -1
- package/dist/schemas/academics/section-attendance.schema.d.ts +447 -0
- package/dist/schemas/academics/section-attendance.schema.d.ts.map +1 -0
- package/dist/schemas/academics/section-attendance.schema.js +126 -0
- package/dist/schemas/academics/section-attendance.schema.js.map +1 -0
- package/dist/schemas/academics/student.schema.d.ts +15 -15
- package/dist/schemas/common.d.ts +4 -2
- package/dist/schemas/common.d.ts.map +1 -1
- package/dist/schemas/common.js +7 -2
- package/dist/schemas/common.js.map +1 -1
- package/dist/schemas/enrollment/enrollment.schema.d.ts +55 -55
- package/dist/schemas/finance/common.d.ts +1 -1
- package/dist/schemas/finance/common.d.ts.map +1 -1
- package/dist/schemas/finance/common.js +1 -1
- package/dist/schemas/finance/common.js.map +1 -1
- package/dist/schemas/finance/credit-note.schema.d.ts +127 -0
- package/dist/schemas/finance/credit-note.schema.d.ts.map +1 -0
- package/dist/schemas/finance/credit-note.schema.js +55 -0
- package/dist/schemas/finance/credit-note.schema.js.map +1 -0
- package/dist/schemas/finance/discount-rule.schema.d.ts +352 -0
- package/dist/schemas/finance/discount-rule.schema.d.ts.map +1 -0
- package/dist/schemas/finance/discount-rule.schema.js +57 -0
- package/dist/schemas/finance/discount-rule.schema.js.map +1 -0
- package/dist/schemas/finance/fee-structure.schema.d.ts +40 -10
- package/dist/schemas/finance/fee-structure.schema.d.ts.map +1 -1
- package/dist/schemas/finance/fee-structure.schema.js +10 -0
- package/dist/schemas/finance/fee-structure.schema.js.map +1 -1
- package/dist/schemas/finance/index.d.ts +3 -0
- package/dist/schemas/finance/index.d.ts.map +1 -1
- package/dist/schemas/finance/index.js +3 -0
- package/dist/schemas/finance/index.js.map +1 -1
- package/dist/schemas/finance/invoice.schema.d.ts +68 -8
- package/dist/schemas/finance/invoice.schema.d.ts.map +1 -1
- package/dist/schemas/finance/invoice.schema.js +10 -1
- package/dist/schemas/finance/invoice.schema.js.map +1 -1
- package/dist/schemas/finance/payment.schema.d.ts +38 -22
- package/dist/schemas/finance/payment.schema.d.ts.map +1 -1
- package/dist/schemas/finance/payment.schema.js +2 -0
- package/dist/schemas/finance/payment.schema.js.map +1 -1
- package/dist/schemas/finance/refund.schema.d.ts +99 -0
- package/dist/schemas/finance/refund.schema.d.ts.map +1 -0
- package/dist/schemas/finance/refund.schema.js +47 -0
- package/dist/schemas/finance/refund.schema.js.map +1 -0
- package/dist/schemas/identity/academic-year.schema.d.ts +14 -14
- package/dist/schemas/identity/bell-schedule.schema.d.ts +5 -5
- package/dist/schemas/identity/calendar-date.schema.d.ts +12 -12
- package/dist/schemas/identity/credential.schema.d.ts +4 -4
- package/dist/schemas/identity/department.schema.d.ts +6 -6
- package/dist/schemas/identity/education-org-network.schema.d.ts +7 -7
- package/dist/schemas/identity/education-organization.schema.d.ts +1 -1
- package/dist/schemas/identity/education-service-center.schema.d.ts +4 -4
- package/dist/schemas/identity/index.d.ts +2 -0
- package/dist/schemas/identity/index.d.ts.map +1 -1
- package/dist/schemas/identity/index.js +4 -0
- package/dist/schemas/identity/index.js.map +1 -1
- package/dist/schemas/identity/leave.schema.d.ts +34 -34
- package/dist/schemas/identity/local-education-agency.schema.d.ts +4 -4
- package/dist/schemas/identity/school-year.schema.d.ts +18 -18
- package/dist/schemas/identity/school.schema.d.ts +613 -124
- package/dist/schemas/identity/school.schema.d.ts.map +1 -1
- package/dist/schemas/identity/school.schema.js +32 -8
- package/dist/schemas/identity/school.schema.js.map +1 -1
- package/dist/schemas/identity/staff-assignment.schema.d.ts +3 -3
- package/dist/schemas/identity/staff.schema.d.ts +18 -18
- package/dist/schemas/identity/state-education-agency.schema.d.ts +3 -3
- package/dist/utils/bikram-sambat.d.ts +68 -0
- package/dist/utils/bikram-sambat.d.ts.map +1 -0
- package/dist/utils/bikram-sambat.js +301 -0
- package/dist/utils/bikram-sambat.js.map +1 -0
- package/dist/utils/currency.d.ts +30 -8
- package/dist/utils/currency.d.ts.map +1 -1
- package/dist/utils/currency.js +93 -25
- package/dist/utils/currency.js.map +1 -1
- package/dist/utils/date-format.d.ts +20 -0
- package/dist/utils/date-format.d.ts.map +1 -0
- package/dist/utils/date-format.js +66 -0
- package/dist/utils/date-format.js.map +1 -0
- package/dist/utils/school-hours.d.ts +48 -0
- package/dist/utils/school-hours.d.ts.map +1 -0
- package/dist/utils/school-hours.js +134 -0
- package/dist/utils/school-hours.js.map +1 -0
- package/dist/validators/date-range.d.ts +6 -6
- package/package.json +1 -1
|
@@ -36,7 +36,7 @@ export declare const calendarEventSchema: z.ZodObject<{
|
|
|
36
36
|
}>;
|
|
37
37
|
export type CalendarEventDto = z.infer<typeof calendarEventSchema>;
|
|
38
38
|
export declare const calendarDateSchema: z.ZodObject<{
|
|
39
|
-
date: z.ZodEffects<z.ZodString, string, string>;
|
|
39
|
+
date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
40
40
|
calendarEvents: z.ZodArray<z.ZodObject<{
|
|
41
41
|
eventType: z.ZodEnum<["instructional_day", "non_instructional_day", "holiday", "teacher_only", "student_holiday", "weather_day", "testing_day", "early_release", "late_start", "conference_day", "graduation", "break", "in_service", "make_up_day", "other"]>;
|
|
42
42
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -104,7 +104,7 @@ export declare const calendarDateSchema: z.ZodObject<{
|
|
|
104
104
|
}>;
|
|
105
105
|
export type CalendarDateDto = z.infer<typeof calendarDateSchema>;
|
|
106
106
|
export declare const createCalendarDateSchema: z.ZodObject<{
|
|
107
|
-
date: z.ZodEffects<z.ZodString, string, string>;
|
|
107
|
+
date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
108
108
|
calendarEvents: z.ZodArray<z.ZodObject<{
|
|
109
109
|
eventType: z.ZodEnum<["instructional_day", "non_instructional_day", "holiday", "teacher_only", "student_holiday", "weather_day", "testing_day", "early_release", "late_start", "conference_day", "graduation", "break", "in_service", "make_up_day", "other"]>;
|
|
110
110
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -172,7 +172,7 @@ export declare const createCalendarDateSchema: z.ZodObject<{
|
|
|
172
172
|
}>;
|
|
173
173
|
export type CreateCalendarDateDto = z.infer<typeof createCalendarDateSchema>;
|
|
174
174
|
export declare const updateCalendarDateSchema: z.ZodObject<Omit<{
|
|
175
|
-
date: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
175
|
+
date: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
176
176
|
calendarEvents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
177
177
|
eventType: z.ZodEnum<["instructional_day", "non_instructional_day", "holiday", "teacher_only", "student_holiday", "weather_day", "testing_day", "early_release", "late_start", "conference_day", "graduation", "break", "in_service", "make_up_day", "other"]>;
|
|
178
178
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -500,8 +500,8 @@ export declare const calendarDateFilterSchema: z.ZodObject<{
|
|
|
500
500
|
schoolId: z.ZodOptional<z.ZodString>;
|
|
501
501
|
academicYearId: z.ZodOptional<z.ZodString>;
|
|
502
502
|
gradingPeriodId: z.ZodOptional<z.ZodString>;
|
|
503
|
-
startDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
504
|
-
endDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
503
|
+
startDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
504
|
+
endDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
505
505
|
month: z.ZodOptional<z.ZodNumber>;
|
|
506
506
|
year: z.ZodOptional<z.ZodNumber>;
|
|
507
507
|
eventType: z.ZodOptional<z.ZodEnum<["instructional_day", "non_instructional_day", "holiday", "teacher_only", "student_holiday", "weather_day", "testing_day", "early_release", "late_start", "conference_day", "graduation", "break", "in_service", "make_up_day", "other"]>>;
|
|
@@ -542,13 +542,13 @@ export type CalendarDateFilterDto = z.infer<typeof calendarDateFilterSchema>;
|
|
|
542
542
|
*/
|
|
543
543
|
export declare const generateCalendarSchema: z.ZodEffects<z.ZodObject<{
|
|
544
544
|
academicYearId: z.ZodString;
|
|
545
|
-
startDate: z.ZodEffects<z.ZodString, string, string>;
|
|
546
|
-
endDate: z.ZodEffects<z.ZodString, string, string>;
|
|
545
|
+
startDate: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
546
|
+
endDate: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
547
547
|
defaultBellScheduleId: z.ZodOptional<z.ZodString>;
|
|
548
548
|
includeWeekends: z.ZodDefault<z.ZodBoolean>;
|
|
549
549
|
schoolDays: z.ZodDefault<z.ZodArray<z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]>, "many">>;
|
|
550
550
|
holidays: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
551
|
-
date: z.ZodEffects<z.ZodString, string, string>;
|
|
551
|
+
date: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
552
552
|
name: z.ZodString;
|
|
553
553
|
eventType: z.ZodDefault<z.ZodEnum<["instructional_day", "non_instructional_day", "holiday", "teacher_only", "student_holiday", "weather_day", "testing_day", "early_release", "late_start", "conference_day", "graduation", "break", "in_service", "make_up_day", "other"]>>;
|
|
554
554
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -561,8 +561,8 @@ export declare const generateCalendarSchema: z.ZodEffects<z.ZodObject<{
|
|
|
561
561
|
eventType?: "other" | "break" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day" | undefined;
|
|
562
562
|
}>, "many">>;
|
|
563
563
|
breaks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
564
|
-
startDate: z.ZodEffects<z.ZodString, string, string>;
|
|
565
|
-
endDate: z.ZodEffects<z.ZodString, string, string>;
|
|
564
|
+
startDate: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
565
|
+
endDate: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
566
566
|
name: z.ZodString;
|
|
567
567
|
eventType: z.ZodDefault<z.ZodEnum<["instructional_day", "non_instructional_day", "holiday", "teacher_only", "student_holiday", "weather_day", "testing_day", "early_release", "late_start", "conference_day", "graduation", "break", "in_service", "make_up_day", "other"]>>;
|
|
568
568
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -651,9 +651,9 @@ export declare const generateCalendarSchema: z.ZodEffects<z.ZodObject<{
|
|
|
651
651
|
}>;
|
|
652
652
|
export type GenerateCalendarDto = z.infer<typeof generateCalendarSchema>;
|
|
653
653
|
export declare const bulkUpdateCalendarDatesSchema: z.ZodObject<{
|
|
654
|
-
dates: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
654
|
+
dates: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">;
|
|
655
655
|
updates: z.ZodObject<Omit<{
|
|
656
|
-
date: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
656
|
+
date: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
657
657
|
calendarEvents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
658
658
|
eventType: z.ZodEnum<["instructional_day", "non_instructional_day", "holiday", "teacher_only", "student_holiday", "weather_day", "testing_day", "early_release", "late_start", "conference_day", "graduation", "break", "in_service", "make_up_day", "other"]>;
|
|
659
659
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -29,8 +29,8 @@ export declare const createCredentialSchema: z.ZodObject<{
|
|
|
29
29
|
credentialIdentifier: z.ZodString;
|
|
30
30
|
credentialTypeDescriptor: z.ZodEnum<["certification", "license", "endorsement", "degree", "registration", "permit", "clearance", "training", "other"]>;
|
|
31
31
|
credentialFieldDescriptor: z.ZodOptional<z.ZodEnum<["elementary_education", "secondary_education", "special_education", "early_childhood", "mathematics", "science", "english_language_arts", "social_studies", "foreign_language", "physical_education", "music", "art", "technology", "counseling", "administration", "library_media", "other"]>>;
|
|
32
|
-
issuanceDate: z.ZodEffects<z.ZodString, string, string>;
|
|
33
|
-
expirationDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
32
|
+
issuanceDate: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
33
|
+
expirationDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
34
34
|
issuingState: z.ZodOptional<z.ZodString>;
|
|
35
35
|
issuingOrganization: z.ZodString;
|
|
36
36
|
gradeLevels: z.ZodOptional<z.ZodArray<z.ZodEnum<["pre_k", "kindergarten", "first", "second", "third", "fourth", "fifth", "sixth", "seventh", "eighth", "ninth", "tenth", "eleventh", "twelfth", "adult_education", "ungraded"]>, "many">>;
|
|
@@ -91,8 +91,8 @@ export declare const updateCredentialSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
91
91
|
credentialIdentifier: z.ZodOptional<z.ZodString>;
|
|
92
92
|
credentialTypeDescriptor: z.ZodOptional<z.ZodEnum<["certification", "license", "endorsement", "degree", "registration", "permit", "clearance", "training", "other"]>>;
|
|
93
93
|
credentialFieldDescriptor: z.ZodOptional<z.ZodOptional<z.ZodEnum<["elementary_education", "secondary_education", "special_education", "early_childhood", "mathematics", "science", "english_language_arts", "social_studies", "foreign_language", "physical_education", "music", "art", "technology", "counseling", "administration", "library_media", "other"]>>>;
|
|
94
|
-
issuanceDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
95
|
-
expirationDate: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
94
|
+
issuanceDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
95
|
+
expirationDate: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>>;
|
|
96
96
|
issuingState: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
97
97
|
issuingOrganization: z.ZodOptional<z.ZodString>;
|
|
98
98
|
gradeLevels: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEnum<["pre_k", "kindergarten", "first", "second", "third", "fourth", "fifth", "sixth", "seventh", "eighth", "ninth", "tenth", "eleventh", "twelfth", "adult_education", "ungraded"]>, "many">>>;
|
|
@@ -260,7 +260,7 @@ export declare const updateSchoolConfigSchema: z.ZodObject<{
|
|
|
260
260
|
locale: z.ZodOptional<z.ZodString>;
|
|
261
261
|
dateFormat: z.ZodOptional<z.ZodString>;
|
|
262
262
|
timeFormat: z.ZodOptional<z.ZodEnum<["12h", "24h"]>>;
|
|
263
|
-
academicCalendarType: z.ZodOptional<z.ZodEnum<["semester", "quarter", "trimester"]>>;
|
|
263
|
+
academicCalendarType: z.ZodOptional<z.ZodEnum<["semester", "quarter", "trimester", "annual"]>>;
|
|
264
264
|
gradingScale: z.ZodOptional<z.ZodObject<{
|
|
265
265
|
type: z.ZodEnum<["letter", "percentage", "points", "custom"]>;
|
|
266
266
|
passingGrade: z.ZodNumber;
|
|
@@ -338,7 +338,7 @@ export declare const updateSchoolConfigSchema: z.ZodObject<{
|
|
|
338
338
|
}, "strip", z.ZodTypeAny, {
|
|
339
339
|
timezone?: string | undefined;
|
|
340
340
|
locale?: string | undefined;
|
|
341
|
-
academicCalendarType?: "semester" | "quarter" | "trimester" | undefined;
|
|
341
|
+
academicCalendarType?: "semester" | "quarter" | "trimester" | "annual" | undefined;
|
|
342
342
|
dateFormat?: string | undefined;
|
|
343
343
|
timeFormat?: "12h" | "24h" | undefined;
|
|
344
344
|
features?: {
|
|
@@ -372,7 +372,7 @@ export declare const updateSchoolConfigSchema: z.ZodObject<{
|
|
|
372
372
|
}, {
|
|
373
373
|
timezone?: string | undefined;
|
|
374
374
|
locale?: string | undefined;
|
|
375
|
-
academicCalendarType?: "semester" | "quarter" | "trimester" | undefined;
|
|
375
|
+
academicCalendarType?: "semester" | "quarter" | "trimester" | "annual" | undefined;
|
|
376
376
|
dateFormat?: string | undefined;
|
|
377
377
|
timeFormat?: "12h" | "24h" | undefined;
|
|
378
378
|
features?: {
|
|
@@ -411,7 +411,7 @@ export declare const schoolConfigResponseSchema: z.ZodObject<{
|
|
|
411
411
|
locale: z.ZodString;
|
|
412
412
|
dateFormat: z.ZodString;
|
|
413
413
|
timeFormat: z.ZodEnum<["12h", "24h"]>;
|
|
414
|
-
academicCalendarType: z.ZodEnum<["semester", "quarter", "trimester"]>;
|
|
414
|
+
academicCalendarType: z.ZodEnum<["semester", "quarter", "trimester", "annual"]>;
|
|
415
415
|
gradingScale: z.ZodObject<{
|
|
416
416
|
type: z.ZodEnum<["letter", "percentage", "points", "custom"]>;
|
|
417
417
|
passingGrade: z.ZodNumber;
|
|
@@ -493,7 +493,7 @@ export declare const schoolConfigResponseSchema: z.ZodObject<{
|
|
|
493
493
|
updatedAt: string;
|
|
494
494
|
timezone: string;
|
|
495
495
|
locale: string;
|
|
496
|
-
academicCalendarType: "semester" | "quarter" | "trimester";
|
|
496
|
+
academicCalendarType: "semester" | "quarter" | "trimester" | "annual";
|
|
497
497
|
schoolId: string;
|
|
498
498
|
dateFormat: string;
|
|
499
499
|
timeFormat: "12h" | "24h";
|
|
@@ -530,7 +530,7 @@ export declare const schoolConfigResponseSchema: z.ZodObject<{
|
|
|
530
530
|
updatedAt: string;
|
|
531
531
|
timezone: string;
|
|
532
532
|
locale: string;
|
|
533
|
-
academicCalendarType: "semester" | "quarter" | "trimester";
|
|
533
|
+
academicCalendarType: "semester" | "quarter" | "trimester" | "annual";
|
|
534
534
|
schoolId: string;
|
|
535
535
|
dateFormat: string;
|
|
536
536
|
timeFormat: "12h" | "24h";
|
|
@@ -704,8 +704,8 @@ export declare const createNetworkAssociationSchema: z.ZodObject<{
|
|
|
704
704
|
networkId: z.ZodString;
|
|
705
705
|
memberEducationOrganizationId: z.ZodString;
|
|
706
706
|
memberType: z.ZodEnum<["stateEducationAgency", "localEducationAgency", "school", "educationServiceCenter", "educationOrganizationNetwork", "organizationDepartment", "communityOrganization", "communityProvider", "postSecondaryInstitution"]>;
|
|
707
|
-
beginDate: z.ZodEffects<z.ZodString, string, string>;
|
|
708
|
-
endDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
707
|
+
beginDate: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
708
|
+
endDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
709
709
|
}, "strip", z.ZodTypeAny, {
|
|
710
710
|
beginDate: string;
|
|
711
711
|
networkId: string;
|
|
@@ -721,7 +721,7 @@ export declare const createNetworkAssociationSchema: z.ZodObject<{
|
|
|
721
721
|
}>;
|
|
722
722
|
export type CreateNetworkAssociationDto = z.infer<typeof createNetworkAssociationSchema>;
|
|
723
723
|
export declare const updateNetworkAssociationSchema: z.ZodObject<{
|
|
724
|
-
endDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
724
|
+
endDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
725
725
|
}, "strip", z.ZodTypeAny, {
|
|
726
726
|
endDate?: string | undefined;
|
|
727
727
|
}, {
|
|
@@ -734,8 +734,8 @@ export declare const networkAssociationResponseSchema: z.ZodObject<{
|
|
|
734
734
|
memberEducationOrganizationId: z.ZodString;
|
|
735
735
|
memberType: z.ZodEnum<["stateEducationAgency", "localEducationAgency", "school", "educationServiceCenter", "educationOrganizationNetwork", "organizationDepartment", "communityOrganization", "communityProvider", "postSecondaryInstitution"]>;
|
|
736
736
|
memberName: z.ZodString;
|
|
737
|
-
beginDate: z.ZodEffects<z.ZodString, string, string>;
|
|
738
|
-
endDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
737
|
+
beginDate: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
738
|
+
endDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
739
739
|
tenantId: z.ZodString;
|
|
740
740
|
createdAt: z.ZodString;
|
|
741
741
|
updatedAt: z.ZodString;
|
|
@@ -770,8 +770,8 @@ export declare const networkAssociationListResponseSchema: z.ZodObject<{
|
|
|
770
770
|
memberEducationOrganizationId: z.ZodString;
|
|
771
771
|
memberType: z.ZodEnum<["stateEducationAgency", "localEducationAgency", "school", "educationServiceCenter", "educationOrganizationNetwork", "organizationDepartment", "communityOrganization", "communityProvider", "postSecondaryInstitution"]>;
|
|
772
772
|
memberName: z.ZodString;
|
|
773
|
-
beginDate: z.ZodEffects<z.ZodString, string, string>;
|
|
774
|
-
endDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
773
|
+
beginDate: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
774
|
+
endDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
775
775
|
tenantId: z.ZodString;
|
|
776
776
|
createdAt: z.ZodString;
|
|
777
777
|
updatedAt: z.ZodString;
|
|
@@ -109,7 +109,7 @@ export declare const accountabilityRatingSchema: z.ZodObject<{
|
|
|
109
109
|
title: z.ZodString;
|
|
110
110
|
rating: z.ZodString;
|
|
111
111
|
ratingOrganization: z.ZodOptional<z.ZodString>;
|
|
112
|
-
ratingDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
112
|
+
ratingDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
113
113
|
}, "strip", z.ZodTypeAny, {
|
|
114
114
|
schoolYear: number;
|
|
115
115
|
title: string;
|
|
@@ -81,7 +81,7 @@ export declare const createEducationServiceCenterSchema: z.ZodObject<{
|
|
|
81
81
|
title: z.ZodString;
|
|
82
82
|
rating: z.ZodString;
|
|
83
83
|
ratingOrganization: z.ZodOptional<z.ZodString>;
|
|
84
|
-
ratingDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
84
|
+
ratingDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
85
85
|
}, "strip", z.ZodTypeAny, {
|
|
86
86
|
schoolYear: number;
|
|
87
87
|
title: string;
|
|
@@ -244,7 +244,7 @@ export declare const updateEducationServiceCenterSchema: z.ZodObject<Omit<{
|
|
|
244
244
|
title: z.ZodString;
|
|
245
245
|
rating: z.ZodString;
|
|
246
246
|
ratingOrganization: z.ZodOptional<z.ZodString>;
|
|
247
|
-
ratingDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
247
|
+
ratingDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
248
248
|
}, "strip", z.ZodTypeAny, {
|
|
249
249
|
schoolYear: number;
|
|
250
250
|
title: string;
|
|
@@ -407,7 +407,7 @@ export declare const escResponseSchema: z.ZodObject<{
|
|
|
407
407
|
title: z.ZodString;
|
|
408
408
|
rating: z.ZodString;
|
|
409
409
|
ratingOrganization: z.ZodOptional<z.ZodString>;
|
|
410
|
-
ratingDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
410
|
+
ratingDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
411
411
|
}, "strip", z.ZodTypeAny, {
|
|
412
412
|
schoolYear: number;
|
|
413
413
|
title: string;
|
|
@@ -592,7 +592,7 @@ export declare const escListResponseSchema: z.ZodObject<{
|
|
|
592
592
|
title: z.ZodString;
|
|
593
593
|
rating: z.ZodString;
|
|
594
594
|
ratingOrganization: z.ZodOptional<z.ZodString>;
|
|
595
|
-
ratingDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
595
|
+
ratingDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
596
596
|
}, "strip", z.ZodTypeAny, {
|
|
597
597
|
schoolYear: number;
|
|
598
598
|
title: string;
|
|
@@ -32,4 +32,6 @@ export * from './academic-session.schema';
|
|
|
32
32
|
export * from './school-year.schema';
|
|
33
33
|
export * from './class-period.schema';
|
|
34
34
|
export * from './location.schema';
|
|
35
|
+
export * from '../../identity/country-config';
|
|
36
|
+
export * from '../../identity/field-governance';
|
|
35
37
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/schemas/identity/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AAGpC,cAAc,gBAAgB,CAAC;AAG/B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,mCAAmC,CAAC;AAClD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,kCAAkC,CAAC;AAGjD,cAAc,gBAAgB,CAAC;AAC/B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mCAAmC,CAAC;AAClD,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAG/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sBAAsB,CAAC;AAGrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/schemas/identity/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AAGpC,cAAc,gBAAgB,CAAC;AAG/B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,mCAAmC,CAAC;AAClD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,kCAAkC,CAAC;AAGjD,cAAc,gBAAgB,CAAC;AAC/B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mCAAmC,CAAC;AAClD,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAG/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sBAAsB,CAAC;AAGrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAGlC,cAAc,+BAA+B,CAAC;AAG9C,cAAc,iCAAiC,CAAC"}
|
|
@@ -53,4 +53,8 @@ __exportStar(require("./school-year.schema"), exports);
|
|
|
53
53
|
// Master Schedule (Ed-Fi aligned)
|
|
54
54
|
__exportStar(require("./class-period.schema"), exports);
|
|
55
55
|
__exportStar(require("./location.schema"), exports);
|
|
56
|
+
// Country Configuration Registry
|
|
57
|
+
__exportStar(require("../../identity/country-config"), exports);
|
|
58
|
+
// Field Governance
|
|
59
|
+
__exportStar(require("../../identity/field-governance"), exports);
|
|
56
60
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/schemas/identity/index.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;;;;;;;;;;;AAEH,gDAA8B;AAC9B,gDAA8B;AAC9B,oDAAkC;AAClC,kDAAgC;AAChC,kDAAgC;AAChC,gDAA8B;AAC9B,mDAAiC;AACjC,yDAAuC;AACvC,sDAAoC;AAEpC,oDAAoD;AACpD,iDAA+B;AAE/B,gDAAgD;AAChD,8DAA4C;AAC5C,kEAAgD;AAChD,kEAAgD;AAChD,kEAAgD;AAChD,oEAAkD;AAClD,iEAA+C;AAC/C,mEAAiD;AAEjD,mCAAmC;AACnC,iDAA+B;AAC/B,4DAA0C;AAC1C,oEAAkD;AAClD,sDAAoC;AACpC,iDAA+B;AAE/B,sCAAsC;AACtC,yDAAuC;AACvC,oDAAkC;AAClC,yDAAuC;AACvC,4DAA0C;AAC1C,uDAAqC;AAErC,kCAAkC;AAClC,wDAAsC;AACtC,oDAAkC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/schemas/identity/index.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;;;;;;;;;;;AAEH,gDAA8B;AAC9B,gDAA8B;AAC9B,oDAAkC;AAClC,kDAAgC;AAChC,kDAAgC;AAChC,gDAA8B;AAC9B,mDAAiC;AACjC,yDAAuC;AACvC,sDAAoC;AAEpC,oDAAoD;AACpD,iDAA+B;AAE/B,gDAAgD;AAChD,8DAA4C;AAC5C,kEAAgD;AAChD,kEAAgD;AAChD,kEAAgD;AAChD,oEAAkD;AAClD,iEAA+C;AAC/C,mEAAiD;AAEjD,mCAAmC;AACnC,iDAA+B;AAC/B,4DAA0C;AAC1C,oEAAkD;AAClD,sDAAoC;AACpC,iDAA+B;AAE/B,sCAAsC;AACtC,yDAAuC;AACvC,oDAAkC;AAClC,yDAAuC;AACvC,4DAA0C;AAC1C,uDAAqC;AAErC,kCAAkC;AAClC,wDAAsC;AACtC,oDAAkC;AAElC,iCAAiC;AACjC,gEAA8C;AAE9C,mBAAmB;AACnB,kEAAgD"}
|
|
@@ -22,8 +22,8 @@ export declare const leaveDurationTypeSchema: z.ZodEnum<["full_day", "half_day_a
|
|
|
22
22
|
export type LeaveDurationType = z.infer<typeof leaveDurationTypeSchema>;
|
|
23
23
|
export declare const createLeaveRequestSchema: z.ZodObject<{
|
|
24
24
|
leaveType: z.ZodEnum<["annual", "sick", "personal", "bereavement", "maternity", "paternity", "family_medical", "jury_duty", "military", "professional_development", "sabbatical", "unpaid", "other"]>;
|
|
25
|
-
startDate: z.ZodEffects<z.ZodString, string, string>;
|
|
26
|
-
endDate: z.ZodEffects<z.ZodString, string, string>;
|
|
25
|
+
startDate: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
26
|
+
endDate: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
27
27
|
durationType: z.ZodDefault<z.ZodEnum<["full_day", "half_day_am", "half_day_pm", "hours"]>>;
|
|
28
28
|
hours: z.ZodOptional<z.ZodNumber>;
|
|
29
29
|
reason: z.ZodOptional<z.ZodString>;
|
|
@@ -48,7 +48,7 @@ export declare const createLeaveRequestSchema: z.ZodObject<{
|
|
|
48
48
|
}, "strip", z.ZodTypeAny, {
|
|
49
49
|
startDate: string;
|
|
50
50
|
endDate: string;
|
|
51
|
-
leaveType: "other" | "
|
|
51
|
+
leaveType: "other" | "annual" | "professional_development" | "personal" | "sick" | "bereavement" | "maternity" | "paternity" | "family_medical" | "jury_duty" | "military" | "sabbatical" | "unpaid";
|
|
52
52
|
durationType: "full_day" | "half_day_am" | "half_day_pm" | "hours";
|
|
53
53
|
reason?: string | undefined;
|
|
54
54
|
notes?: string | undefined;
|
|
@@ -65,7 +65,7 @@ export declare const createLeaveRequestSchema: z.ZodObject<{
|
|
|
65
65
|
}, {
|
|
66
66
|
startDate: string;
|
|
67
67
|
endDate: string;
|
|
68
|
-
leaveType: "other" | "
|
|
68
|
+
leaveType: "other" | "annual" | "professional_development" | "personal" | "sick" | "bereavement" | "maternity" | "paternity" | "family_medical" | "jury_duty" | "military" | "sabbatical" | "unpaid";
|
|
69
69
|
reason?: string | undefined;
|
|
70
70
|
notes?: string | undefined;
|
|
71
71
|
documentUrl?: string | undefined;
|
|
@@ -82,8 +82,8 @@ export declare const createLeaveRequestSchema: z.ZodObject<{
|
|
|
82
82
|
}>;
|
|
83
83
|
export declare const createLeaveRequestWithValidationSchema: z.ZodEffects<z.ZodObject<{
|
|
84
84
|
leaveType: z.ZodEnum<["annual", "sick", "personal", "bereavement", "maternity", "paternity", "family_medical", "jury_duty", "military", "professional_development", "sabbatical", "unpaid", "other"]>;
|
|
85
|
-
startDate: z.ZodEffects<z.ZodString, string, string>;
|
|
86
|
-
endDate: z.ZodEffects<z.ZodString, string, string>;
|
|
85
|
+
startDate: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
86
|
+
endDate: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
87
87
|
durationType: z.ZodDefault<z.ZodEnum<["full_day", "half_day_am", "half_day_pm", "hours"]>>;
|
|
88
88
|
hours: z.ZodOptional<z.ZodNumber>;
|
|
89
89
|
reason: z.ZodOptional<z.ZodString>;
|
|
@@ -108,7 +108,7 @@ export declare const createLeaveRequestWithValidationSchema: z.ZodEffects<z.ZodO
|
|
|
108
108
|
}, "strip", z.ZodTypeAny, {
|
|
109
109
|
startDate: string;
|
|
110
110
|
endDate: string;
|
|
111
|
-
leaveType: "other" | "
|
|
111
|
+
leaveType: "other" | "annual" | "professional_development" | "personal" | "sick" | "bereavement" | "maternity" | "paternity" | "family_medical" | "jury_duty" | "military" | "sabbatical" | "unpaid";
|
|
112
112
|
durationType: "full_day" | "half_day_am" | "half_day_pm" | "hours";
|
|
113
113
|
reason?: string | undefined;
|
|
114
114
|
notes?: string | undefined;
|
|
@@ -125,7 +125,7 @@ export declare const createLeaveRequestWithValidationSchema: z.ZodEffects<z.ZodO
|
|
|
125
125
|
}, {
|
|
126
126
|
startDate: string;
|
|
127
127
|
endDate: string;
|
|
128
|
-
leaveType: "other" | "
|
|
128
|
+
leaveType: "other" | "annual" | "professional_development" | "personal" | "sick" | "bereavement" | "maternity" | "paternity" | "family_medical" | "jury_duty" | "military" | "sabbatical" | "unpaid";
|
|
129
129
|
reason?: string | undefined;
|
|
130
130
|
notes?: string | undefined;
|
|
131
131
|
documentUrl?: string | undefined;
|
|
@@ -142,7 +142,7 @@ export declare const createLeaveRequestWithValidationSchema: z.ZodEffects<z.ZodO
|
|
|
142
142
|
}>, {
|
|
143
143
|
startDate: string;
|
|
144
144
|
endDate: string;
|
|
145
|
-
leaveType: "other" | "
|
|
145
|
+
leaveType: "other" | "annual" | "professional_development" | "personal" | "sick" | "bereavement" | "maternity" | "paternity" | "family_medical" | "jury_duty" | "military" | "sabbatical" | "unpaid";
|
|
146
146
|
durationType: "full_day" | "half_day_am" | "half_day_pm" | "hours";
|
|
147
147
|
reason?: string | undefined;
|
|
148
148
|
notes?: string | undefined;
|
|
@@ -159,7 +159,7 @@ export declare const createLeaveRequestWithValidationSchema: z.ZodEffects<z.ZodO
|
|
|
159
159
|
}, {
|
|
160
160
|
startDate: string;
|
|
161
161
|
endDate: string;
|
|
162
|
-
leaveType: "other" | "
|
|
162
|
+
leaveType: "other" | "annual" | "professional_development" | "personal" | "sick" | "bereavement" | "maternity" | "paternity" | "family_medical" | "jury_duty" | "military" | "sabbatical" | "unpaid";
|
|
163
163
|
reason?: string | undefined;
|
|
164
164
|
notes?: string | undefined;
|
|
165
165
|
documentUrl?: string | undefined;
|
|
@@ -177,8 +177,8 @@ export declare const createLeaveRequestWithValidationSchema: z.ZodEffects<z.ZodO
|
|
|
177
177
|
export type CreateLeaveRequestDto = z.infer<typeof createLeaveRequestWithValidationSchema>;
|
|
178
178
|
export declare const updateLeaveRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
179
179
|
leaveType: z.ZodOptional<z.ZodEnum<["annual", "sick", "personal", "bereavement", "maternity", "paternity", "family_medical", "jury_duty", "military", "professional_development", "sabbatical", "unpaid", "other"]>>;
|
|
180
|
-
startDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
181
|
-
endDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
180
|
+
startDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
181
|
+
endDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
182
182
|
durationType: z.ZodOptional<z.ZodDefault<z.ZodEnum<["full_day", "half_day_am", "half_day_pm", "hours"]>>>;
|
|
183
183
|
hours: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
184
184
|
reason: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -208,7 +208,7 @@ export declare const updateLeaveRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
208
208
|
documentUrl?: string | undefined;
|
|
209
209
|
documentFileName?: string | undefined;
|
|
210
210
|
hours?: number | undefined;
|
|
211
|
-
leaveType?: "other" | "
|
|
211
|
+
leaveType?: "other" | "annual" | "professional_development" | "personal" | "sick" | "bereavement" | "maternity" | "paternity" | "family_medical" | "jury_duty" | "military" | "sabbatical" | "unpaid" | undefined;
|
|
212
212
|
durationType?: "full_day" | "half_day_am" | "half_day_pm" | "hours" | undefined;
|
|
213
213
|
substituteStaffId?: string | undefined;
|
|
214
214
|
coverageNotes?: string | undefined;
|
|
@@ -225,7 +225,7 @@ export declare const updateLeaveRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
225
225
|
documentUrl?: string | undefined;
|
|
226
226
|
documentFileName?: string | undefined;
|
|
227
227
|
hours?: number | undefined;
|
|
228
|
-
leaveType?: "other" | "
|
|
228
|
+
leaveType?: "other" | "annual" | "professional_development" | "personal" | "sick" | "bereavement" | "maternity" | "paternity" | "family_medical" | "jury_duty" | "military" | "sabbatical" | "unpaid" | undefined;
|
|
229
229
|
durationType?: "full_day" | "half_day_am" | "half_day_pm" | "hours" | undefined;
|
|
230
230
|
substituteStaffId?: string | undefined;
|
|
231
231
|
coverageNotes?: string | undefined;
|
|
@@ -242,7 +242,7 @@ export declare const updateLeaveRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
242
242
|
documentUrl?: string | undefined;
|
|
243
243
|
documentFileName?: string | undefined;
|
|
244
244
|
hours?: number | undefined;
|
|
245
|
-
leaveType?: "other" | "
|
|
245
|
+
leaveType?: "other" | "annual" | "professional_development" | "personal" | "sick" | "bereavement" | "maternity" | "paternity" | "family_medical" | "jury_duty" | "military" | "sabbatical" | "unpaid" | undefined;
|
|
246
246
|
durationType?: "full_day" | "half_day_am" | "half_day_pm" | "hours" | undefined;
|
|
247
247
|
substituteStaffId?: string | undefined;
|
|
248
248
|
coverageNotes?: string | undefined;
|
|
@@ -259,7 +259,7 @@ export declare const updateLeaveRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
259
259
|
documentUrl?: string | undefined;
|
|
260
260
|
documentFileName?: string | undefined;
|
|
261
261
|
hours?: number | undefined;
|
|
262
|
-
leaveType?: "other" | "
|
|
262
|
+
leaveType?: "other" | "annual" | "professional_development" | "personal" | "sick" | "bereavement" | "maternity" | "paternity" | "family_medical" | "jury_duty" | "military" | "sabbatical" | "unpaid" | undefined;
|
|
263
263
|
durationType?: "full_day" | "half_day_am" | "half_day_pm" | "hours" | undefined;
|
|
264
264
|
substituteStaffId?: string | undefined;
|
|
265
265
|
coverageNotes?: string | undefined;
|
|
@@ -320,7 +320,7 @@ export declare const leaveRequestResponseSchema: z.ZodObject<{
|
|
|
320
320
|
schoolId: string;
|
|
321
321
|
staffId: string;
|
|
322
322
|
staffName: string;
|
|
323
|
-
leaveType: "other" | "
|
|
323
|
+
leaveType: "other" | "annual" | "professional_development" | "personal" | "sick" | "bereavement" | "maternity" | "paternity" | "family_medical" | "jury_duty" | "military" | "sabbatical" | "unpaid";
|
|
324
324
|
durationType: "full_day" | "half_day_am" | "half_day_pm" | "hours";
|
|
325
325
|
leaveId: string;
|
|
326
326
|
totalDays: number;
|
|
@@ -352,7 +352,7 @@ export declare const leaveRequestResponseSchema: z.ZodObject<{
|
|
|
352
352
|
schoolId: string;
|
|
353
353
|
staffId: string;
|
|
354
354
|
staffName: string;
|
|
355
|
-
leaveType: "other" | "
|
|
355
|
+
leaveType: "other" | "annual" | "professional_development" | "personal" | "sick" | "bereavement" | "maternity" | "paternity" | "family_medical" | "jury_duty" | "military" | "sabbatical" | "unpaid";
|
|
356
356
|
durationType: "full_day" | "half_day_am" | "half_day_pm" | "hours";
|
|
357
357
|
leaveId: string;
|
|
358
358
|
totalDays: number;
|
|
@@ -427,7 +427,7 @@ export declare const leaveListResponseSchema: z.ZodObject<{
|
|
|
427
427
|
schoolId: string;
|
|
428
428
|
staffId: string;
|
|
429
429
|
staffName: string;
|
|
430
|
-
leaveType: "other" | "
|
|
430
|
+
leaveType: "other" | "annual" | "professional_development" | "personal" | "sick" | "bereavement" | "maternity" | "paternity" | "family_medical" | "jury_duty" | "military" | "sabbatical" | "unpaid";
|
|
431
431
|
durationType: "full_day" | "half_day_am" | "half_day_pm" | "hours";
|
|
432
432
|
leaveId: string;
|
|
433
433
|
totalDays: number;
|
|
@@ -459,7 +459,7 @@ export declare const leaveListResponseSchema: z.ZodObject<{
|
|
|
459
459
|
schoolId: string;
|
|
460
460
|
staffId: string;
|
|
461
461
|
staffName: string;
|
|
462
|
-
leaveType: "other" | "
|
|
462
|
+
leaveType: "other" | "annual" | "professional_development" | "personal" | "sick" | "bereavement" | "maternity" | "paternity" | "family_medical" | "jury_duty" | "military" | "sabbatical" | "unpaid";
|
|
463
463
|
durationType: "full_day" | "half_day_am" | "half_day_pm" | "hours";
|
|
464
464
|
leaveId: string;
|
|
465
465
|
totalDays: number;
|
|
@@ -496,7 +496,7 @@ export declare const leaveListResponseSchema: z.ZodObject<{
|
|
|
496
496
|
schoolId: string;
|
|
497
497
|
staffId: string;
|
|
498
498
|
staffName: string;
|
|
499
|
-
leaveType: "other" | "
|
|
499
|
+
leaveType: "other" | "annual" | "professional_development" | "personal" | "sick" | "bereavement" | "maternity" | "paternity" | "family_medical" | "jury_duty" | "military" | "sabbatical" | "unpaid";
|
|
500
500
|
durationType: "full_day" | "half_day_am" | "half_day_pm" | "hours";
|
|
501
501
|
leaveId: string;
|
|
502
502
|
totalDays: number;
|
|
@@ -533,7 +533,7 @@ export declare const leaveListResponseSchema: z.ZodObject<{
|
|
|
533
533
|
schoolId: string;
|
|
534
534
|
staffId: string;
|
|
535
535
|
staffName: string;
|
|
536
|
-
leaveType: "other" | "
|
|
536
|
+
leaveType: "other" | "annual" | "professional_development" | "personal" | "sick" | "bereavement" | "maternity" | "paternity" | "family_medical" | "jury_duty" | "military" | "sabbatical" | "unpaid";
|
|
537
537
|
durationType: "full_day" | "half_day_am" | "half_day_pm" | "hours";
|
|
538
538
|
leaveId: string;
|
|
539
539
|
totalDays: number;
|
|
@@ -566,8 +566,8 @@ export declare const leaveFilterSchema: z.ZodObject<{
|
|
|
566
566
|
schoolId: z.ZodOptional<z.ZodString>;
|
|
567
567
|
leaveType: z.ZodOptional<z.ZodEnum<["annual", "sick", "personal", "bereavement", "maternity", "paternity", "family_medical", "jury_duty", "military", "professional_development", "sabbatical", "unpaid", "other"]>>;
|
|
568
568
|
status: z.ZodOptional<z.ZodEnum<["pending", "approved", "rejected", "cancelled", "in_progress", "completed"]>>;
|
|
569
|
-
startDateFrom: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
570
|
-
startDateTo: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
569
|
+
startDateFrom: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
570
|
+
startDateTo: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
571
571
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
572
572
|
cursor: z.ZodOptional<z.ZodString>;
|
|
573
573
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -576,7 +576,7 @@ export declare const leaveFilterSchema: z.ZodObject<{
|
|
|
576
576
|
cursor?: string | undefined;
|
|
577
577
|
schoolId?: string | undefined;
|
|
578
578
|
staffId?: string | undefined;
|
|
579
|
-
leaveType?: "other" | "
|
|
579
|
+
leaveType?: "other" | "annual" | "professional_development" | "personal" | "sick" | "bereavement" | "maternity" | "paternity" | "family_medical" | "jury_duty" | "military" | "sabbatical" | "unpaid" | undefined;
|
|
580
580
|
startDateFrom?: string | undefined;
|
|
581
581
|
startDateTo?: string | undefined;
|
|
582
582
|
}, {
|
|
@@ -585,7 +585,7 @@ export declare const leaveFilterSchema: z.ZodObject<{
|
|
|
585
585
|
cursor?: string | undefined;
|
|
586
586
|
schoolId?: string | undefined;
|
|
587
587
|
staffId?: string | undefined;
|
|
588
|
-
leaveType?: "other" | "
|
|
588
|
+
leaveType?: "other" | "annual" | "professional_development" | "personal" | "sick" | "bereavement" | "maternity" | "paternity" | "family_medical" | "jury_duty" | "military" | "sabbatical" | "unpaid" | undefined;
|
|
589
589
|
startDateFrom?: string | undefined;
|
|
590
590
|
startDateTo?: string | undefined;
|
|
591
591
|
}>;
|
|
@@ -618,14 +618,14 @@ export declare const leaveBalanceSchema: z.ZodObject<{
|
|
|
618
618
|
carryOver: z.ZodOptional<z.ZodNumber>;
|
|
619
619
|
}, "strip", z.ZodTypeAny, {
|
|
620
620
|
pending: number;
|
|
621
|
-
leaveType: "other" | "
|
|
621
|
+
leaveType: "other" | "annual" | "professional_development" | "personal" | "sick" | "bereavement" | "maternity" | "paternity" | "family_medical" | "jury_duty" | "military" | "sabbatical" | "unpaid";
|
|
622
622
|
accrued: number;
|
|
623
623
|
used: number;
|
|
624
624
|
available: number;
|
|
625
625
|
carryOver?: number | undefined;
|
|
626
626
|
}, {
|
|
627
627
|
pending: number;
|
|
628
|
-
leaveType: "other" | "
|
|
628
|
+
leaveType: "other" | "annual" | "professional_development" | "personal" | "sick" | "bereavement" | "maternity" | "paternity" | "family_medical" | "jury_duty" | "military" | "sabbatical" | "unpaid";
|
|
629
629
|
accrued: number;
|
|
630
630
|
used: number;
|
|
631
631
|
available: number;
|
|
@@ -637,7 +637,7 @@ export declare const leaveBalanceSchema: z.ZodObject<{
|
|
|
637
637
|
fiscalYear: string;
|
|
638
638
|
balances: {
|
|
639
639
|
pending: number;
|
|
640
|
-
leaveType: "other" | "
|
|
640
|
+
leaveType: "other" | "annual" | "professional_development" | "personal" | "sick" | "bereavement" | "maternity" | "paternity" | "family_medical" | "jury_duty" | "military" | "sabbatical" | "unpaid";
|
|
641
641
|
accrued: number;
|
|
642
642
|
used: number;
|
|
643
643
|
available: number;
|
|
@@ -649,7 +649,7 @@ export declare const leaveBalanceSchema: z.ZodObject<{
|
|
|
649
649
|
fiscalYear: string;
|
|
650
650
|
balances: {
|
|
651
651
|
pending: number;
|
|
652
|
-
leaveType: "other" | "
|
|
652
|
+
leaveType: "other" | "annual" | "professional_development" | "personal" | "sick" | "bereavement" | "maternity" | "paternity" | "family_medical" | "jury_duty" | "military" | "sabbatical" | "unpaid";
|
|
653
653
|
accrued: number;
|
|
654
654
|
used: number;
|
|
655
655
|
available: number;
|
|
@@ -675,13 +675,13 @@ export declare const leaveSummarySchema: z.ZodObject<{
|
|
|
675
675
|
status: "completed" | "pending" | "rejected" | "approved" | "cancelled" | "in_progress";
|
|
676
676
|
startDate: string;
|
|
677
677
|
endDate: string;
|
|
678
|
-
leaveType: "other" | "
|
|
678
|
+
leaveType: "other" | "annual" | "professional_development" | "personal" | "sick" | "bereavement" | "maternity" | "paternity" | "family_medical" | "jury_duty" | "military" | "sabbatical" | "unpaid";
|
|
679
679
|
leaveId: string;
|
|
680
680
|
}, {
|
|
681
681
|
status: "completed" | "pending" | "rejected" | "approved" | "cancelled" | "in_progress";
|
|
682
682
|
startDate: string;
|
|
683
683
|
endDate: string;
|
|
684
|
-
leaveType: "other" | "
|
|
684
|
+
leaveType: "other" | "annual" | "professional_development" | "personal" | "sick" | "bereavement" | "maternity" | "paternity" | "family_medical" | "jury_duty" | "military" | "sabbatical" | "unpaid";
|
|
685
685
|
leaveId: string;
|
|
686
686
|
}>, "many">>;
|
|
687
687
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -695,7 +695,7 @@ export declare const leaveSummarySchema: z.ZodObject<{
|
|
|
695
695
|
status: "completed" | "pending" | "rejected" | "approved" | "cancelled" | "in_progress";
|
|
696
696
|
startDate: string;
|
|
697
697
|
endDate: string;
|
|
698
|
-
leaveType: "other" | "
|
|
698
|
+
leaveType: "other" | "annual" | "professional_development" | "personal" | "sick" | "bereavement" | "maternity" | "paternity" | "family_medical" | "jury_duty" | "military" | "sabbatical" | "unpaid";
|
|
699
699
|
leaveId: string;
|
|
700
700
|
}[] | undefined;
|
|
701
701
|
}, {
|
|
@@ -709,7 +709,7 @@ export declare const leaveSummarySchema: z.ZodObject<{
|
|
|
709
709
|
status: "completed" | "pending" | "rejected" | "approved" | "cancelled" | "in_progress";
|
|
710
710
|
startDate: string;
|
|
711
711
|
endDate: string;
|
|
712
|
-
leaveType: "other" | "
|
|
712
|
+
leaveType: "other" | "annual" | "professional_development" | "personal" | "sick" | "bereavement" | "maternity" | "paternity" | "family_medical" | "jury_duty" | "military" | "sabbatical" | "unpaid";
|
|
713
713
|
leaveId: string;
|
|
714
714
|
}[] | undefined;
|
|
715
715
|
}>;
|
|
@@ -85,7 +85,7 @@ export declare const createLocalEducationAgencySchema: z.ZodObject<{
|
|
|
85
85
|
title: z.ZodString;
|
|
86
86
|
rating: z.ZodString;
|
|
87
87
|
ratingOrganization: z.ZodOptional<z.ZodString>;
|
|
88
|
-
ratingDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
88
|
+
ratingDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
89
89
|
}, "strip", z.ZodTypeAny, {
|
|
90
90
|
schoolYear: number;
|
|
91
91
|
title: string;
|
|
@@ -260,7 +260,7 @@ export declare const updateLocalEducationAgencySchema: z.ZodObject<Omit<{
|
|
|
260
260
|
title: z.ZodString;
|
|
261
261
|
rating: z.ZodString;
|
|
262
262
|
ratingOrganization: z.ZodOptional<z.ZodString>;
|
|
263
|
-
ratingDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
263
|
+
ratingDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
264
264
|
}, "strip", z.ZodTypeAny, {
|
|
265
265
|
schoolYear: number;
|
|
266
266
|
title: string;
|
|
@@ -435,7 +435,7 @@ export declare const leaResponseSchema: z.ZodObject<{
|
|
|
435
435
|
title: z.ZodString;
|
|
436
436
|
rating: z.ZodString;
|
|
437
437
|
ratingOrganization: z.ZodOptional<z.ZodString>;
|
|
438
|
-
ratingDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
438
|
+
ratingDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
439
439
|
}, "strip", z.ZodTypeAny, {
|
|
440
440
|
schoolYear: number;
|
|
441
441
|
title: string;
|
|
@@ -632,7 +632,7 @@ export declare const leaListResponseSchema: z.ZodObject<{
|
|
|
632
632
|
title: z.ZodString;
|
|
633
633
|
rating: z.ZodString;
|
|
634
634
|
ratingOrganization: z.ZodOptional<z.ZodString>;
|
|
635
|
-
ratingDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
635
|
+
ratingDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
636
636
|
}, "strip", z.ZodTypeAny, {
|
|
637
637
|
schoolYear: number;
|
|
638
638
|
title: string;
|