@aibrains/shared-types 0.1.1 → 0.3.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/mappers/edfi/education-org.mapper.d.ts +156 -0
- package/dist/mappers/edfi/education-org.mapper.d.ts.map +1 -0
- package/dist/mappers/edfi/education-org.mapper.js +355 -0
- package/dist/mappers/edfi/education-org.mapper.js.map +1 -0
- package/dist/mappers/edfi/index.d.ts +1 -0
- package/dist/mappers/edfi/index.d.ts.map +1 -1
- package/dist/mappers/edfi/index.js +1 -0
- package/dist/mappers/edfi/index.js.map +1 -1
- package/dist/schemas/academics/assignment.schema.d.ts +10 -10
- package/dist/schemas/academics/course.schema.d.ts +10 -10
- package/dist/schemas/academics/grade.schema.d.ts +13 -13
- package/dist/schemas/enrollment/enrollment.schema.d.ts +49 -49
- package/dist/schemas/identity/academic-year.schema.d.ts +12 -12
- package/dist/schemas/identity/auth.schema.d.ts +10 -10
- package/dist/schemas/identity/credential.schema.d.ts +12 -12
- package/dist/schemas/identity/education-org-descriptors.d.ts +314 -0
- package/dist/schemas/identity/education-org-descriptors.d.ts.map +1 -0
- package/dist/schemas/identity/education-org-descriptors.js +245 -0
- package/dist/schemas/identity/education-org-descriptors.js.map +1 -0
- package/dist/schemas/identity/education-org-hierarchy.schema.d.ts +65 -0
- package/dist/schemas/identity/education-org-hierarchy.schema.d.ts.map +1 -0
- package/dist/schemas/identity/education-org-hierarchy.schema.js +46 -0
- package/dist/schemas/identity/education-org-hierarchy.schema.js.map +1 -0
- package/dist/schemas/identity/education-organization.schema.d.ts +127 -0
- package/dist/schemas/identity/education-organization.schema.d.ts.map +1 -0
- package/dist/schemas/identity/education-organization.schema.js +102 -0
- package/dist/schemas/identity/education-organization.schema.js.map +1 -0
- package/dist/schemas/identity/education-service-center.schema.d.ts +826 -0
- package/dist/schemas/identity/education-service-center.schema.d.ts.map +1 -0
- package/dist/schemas/identity/education-service-center.schema.js +85 -0
- package/dist/schemas/identity/education-service-center.schema.js.map +1 -0
- package/dist/schemas/identity/index.d.ts +8 -0
- package/dist/schemas/identity/index.d.ts.map +1 -1
- package/dist/schemas/identity/index.js +9 -0
- package/dist/schemas/identity/index.js.map +1 -1
- package/dist/schemas/identity/local-education-agency.schema.d.ts +888 -0
- package/dist/schemas/identity/local-education-agency.schema.d.ts.map +1 -0
- package/dist/schemas/identity/local-education-agency.schema.js +96 -0
- package/dist/schemas/identity/local-education-agency.schema.js.map +1 -0
- package/dist/schemas/identity/school.schema.d.ts +404 -0
- package/dist/schemas/identity/school.schema.d.ts.map +1 -1
- package/dist/schemas/identity/school.schema.js +35 -0
- package/dist/schemas/identity/school.schema.js.map +1 -1
- package/dist/schemas/identity/staff-assignment.schema.d.ts +240 -0
- package/dist/schemas/identity/staff-assignment.schema.d.ts.map +1 -0
- package/dist/schemas/identity/staff-assignment.schema.js +72 -0
- package/dist/schemas/identity/staff-assignment.schema.js.map +1 -0
- package/dist/schemas/identity/staff-employment-history.schema.d.ts +114 -0
- package/dist/schemas/identity/staff-employment-history.schema.d.ts.map +1 -0
- package/dist/schemas/identity/staff-employment-history.schema.js +31 -0
- package/dist/schemas/identity/staff-employment-history.schema.js.map +1 -0
- package/dist/schemas/identity/staff.schema.d.ts +482 -10
- package/dist/schemas/identity/staff.schema.d.ts.map +1 -1
- package/dist/schemas/identity/staff.schema.js +15 -1
- package/dist/schemas/identity/staff.schema.js.map +1 -1
- package/dist/schemas/identity/state-education-agency.schema.d.ts +511 -0
- package/dist/schemas/identity/state-education-agency.schema.d.ts.map +1 -0
- package/dist/schemas/identity/state-education-agency.schema.js +68 -0
- package/dist/schemas/identity/state-education-agency.schema.js.map +1 -0
- package/dist/schemas/identity/user.schema.d.ts +10 -10
- package/package.json +1 -1
|
@@ -143,8 +143,8 @@ export declare const createCourseSchema: z.ZodObject<{
|
|
|
143
143
|
isRequired?: boolean | undefined;
|
|
144
144
|
}>, "many">>;
|
|
145
145
|
}, "strip", z.ZodTypeAny, {
|
|
146
|
-
schoolId: string;
|
|
147
146
|
gradeLevels: string[];
|
|
147
|
+
schoolId: string;
|
|
148
148
|
subjectArea: "vocational" | "other" | "mathematics" | "science" | "english_language_arts" | "social_studies" | "physical_education" | "technology" | "world_languages" | "arts" | "business";
|
|
149
149
|
courseCode: string;
|
|
150
150
|
credits: number;
|
|
@@ -177,8 +177,8 @@ export declare const createCourseSchema: z.ZodObject<{
|
|
|
177
177
|
edition?: string | undefined;
|
|
178
178
|
}[] | undefined;
|
|
179
179
|
}, {
|
|
180
|
-
schoolId: string;
|
|
181
180
|
gradeLevels: string[];
|
|
181
|
+
schoolId: string;
|
|
182
182
|
subjectArea: "vocational" | "other" | "mathematics" | "science" | "english_language_arts" | "social_studies" | "physical_education" | "technology" | "world_languages" | "arts" | "business";
|
|
183
183
|
courseCode: string;
|
|
184
184
|
credits: number;
|
|
@@ -275,9 +275,9 @@ export declare const updateCourseSchema: z.ZodObject<Omit<{
|
|
|
275
275
|
isRequired?: boolean | undefined;
|
|
276
276
|
}>, "many">>>;
|
|
277
277
|
}, "schoolId" | "courseCode">, "strip", z.ZodTypeAny, {
|
|
278
|
+
gradeLevels?: string[] | undefined;
|
|
278
279
|
description?: string | undefined;
|
|
279
280
|
departmentId?: string | undefined;
|
|
280
|
-
gradeLevels?: string[] | undefined;
|
|
281
281
|
academicYearId?: string | undefined;
|
|
282
282
|
subjectArea?: "vocational" | "other" | "mathematics" | "science" | "english_language_arts" | "social_studies" | "physical_education" | "technology" | "world_languages" | "arts" | "business" | undefined;
|
|
283
283
|
credits?: number | undefined;
|
|
@@ -307,9 +307,9 @@ export declare const updateCourseSchema: z.ZodObject<Omit<{
|
|
|
307
307
|
edition?: string | undefined;
|
|
308
308
|
}[] | undefined;
|
|
309
309
|
}, {
|
|
310
|
+
gradeLevels?: string[] | undefined;
|
|
310
311
|
description?: string | undefined;
|
|
311
312
|
departmentId?: string | undefined;
|
|
312
|
-
gradeLevels?: string[] | undefined;
|
|
313
313
|
academicYearId?: string | undefined;
|
|
314
314
|
subjectArea?: "vocational" | "other" | "mathematics" | "science" | "english_language_arts" | "social_studies" | "physical_education" | "technology" | "world_languages" | "arts" | "business" | undefined;
|
|
315
315
|
credits?: number | undefined;
|
|
@@ -413,9 +413,9 @@ export declare const courseResponseSchema: z.ZodObject<{
|
|
|
413
413
|
tenantId: string;
|
|
414
414
|
createdAt: string;
|
|
415
415
|
updatedAt: string;
|
|
416
|
+
gradeLevels: string[];
|
|
416
417
|
schoolId: string;
|
|
417
418
|
isActive: boolean;
|
|
418
|
-
gradeLevels: string[];
|
|
419
419
|
subjectArea: "vocational" | "other" | "mathematics" | "science" | "english_language_arts" | "social_studies" | "physical_education" | "technology" | "world_languages" | "arts" | "business";
|
|
420
420
|
courseCode: string;
|
|
421
421
|
credits: number;
|
|
@@ -454,9 +454,9 @@ export declare const courseResponseSchema: z.ZodObject<{
|
|
|
454
454
|
tenantId: string;
|
|
455
455
|
createdAt: string;
|
|
456
456
|
updatedAt: string;
|
|
457
|
+
gradeLevels: string[];
|
|
457
458
|
schoolId: string;
|
|
458
459
|
isActive: boolean;
|
|
459
|
-
gradeLevels: string[];
|
|
460
460
|
subjectArea: "vocational" | "other" | "mathematics" | "science" | "english_language_arts" | "social_studies" | "physical_education" | "technology" | "world_languages" | "arts" | "business";
|
|
461
461
|
courseCode: string;
|
|
462
462
|
credits: number;
|
|
@@ -567,9 +567,9 @@ export declare const courseListResponseSchema: z.ZodObject<{
|
|
|
567
567
|
tenantId: string;
|
|
568
568
|
createdAt: string;
|
|
569
569
|
updatedAt: string;
|
|
570
|
+
gradeLevels: string[];
|
|
570
571
|
schoolId: string;
|
|
571
572
|
isActive: boolean;
|
|
572
|
-
gradeLevels: string[];
|
|
573
573
|
subjectArea: "vocational" | "other" | "mathematics" | "science" | "english_language_arts" | "social_studies" | "physical_education" | "technology" | "world_languages" | "arts" | "business";
|
|
574
574
|
courseCode: string;
|
|
575
575
|
credits: number;
|
|
@@ -608,9 +608,9 @@ export declare const courseListResponseSchema: z.ZodObject<{
|
|
|
608
608
|
tenantId: string;
|
|
609
609
|
createdAt: string;
|
|
610
610
|
updatedAt: string;
|
|
611
|
+
gradeLevels: string[];
|
|
611
612
|
schoolId: string;
|
|
612
613
|
isActive: boolean;
|
|
613
|
-
gradeLevels: string[];
|
|
614
614
|
subjectArea: "vocational" | "other" | "mathematics" | "science" | "english_language_arts" | "social_studies" | "physical_education" | "technology" | "world_languages" | "arts" | "business";
|
|
615
615
|
courseCode: string;
|
|
616
616
|
credits: number;
|
|
@@ -654,9 +654,9 @@ export declare const courseListResponseSchema: z.ZodObject<{
|
|
|
654
654
|
tenantId: string;
|
|
655
655
|
createdAt: string;
|
|
656
656
|
updatedAt: string;
|
|
657
|
+
gradeLevels: string[];
|
|
657
658
|
schoolId: string;
|
|
658
659
|
isActive: boolean;
|
|
659
|
-
gradeLevels: string[];
|
|
660
660
|
subjectArea: "vocational" | "other" | "mathematics" | "science" | "english_language_arts" | "social_studies" | "physical_education" | "technology" | "world_languages" | "arts" | "business";
|
|
661
661
|
courseCode: string;
|
|
662
662
|
credits: number;
|
|
@@ -700,9 +700,9 @@ export declare const courseListResponseSchema: z.ZodObject<{
|
|
|
700
700
|
tenantId: string;
|
|
701
701
|
createdAt: string;
|
|
702
702
|
updatedAt: string;
|
|
703
|
+
gradeLevels: string[];
|
|
703
704
|
schoolId: string;
|
|
704
705
|
isActive: boolean;
|
|
705
|
-
gradeLevels: string[];
|
|
706
706
|
subjectArea: "vocational" | "other" | "mathematics" | "science" | "english_language_arts" | "social_studies" | "physical_education" | "technology" | "world_languages" | "arts" | "business";
|
|
707
707
|
courseCode: string;
|
|
708
708
|
credits: number;
|
|
@@ -282,10 +282,10 @@ export declare const createGradeSchema: z.ZodObject<{
|
|
|
282
282
|
gradedAt: z.ZodOptional<z.ZodString>;
|
|
283
283
|
}, "strip", z.ZodTypeAny, {
|
|
284
284
|
status: "excused" | "draft" | "submitted" | "published" | "missing" | "incomplete";
|
|
285
|
+
assignmentId: string;
|
|
285
286
|
studentId: string;
|
|
286
287
|
classroomId: string;
|
|
287
288
|
isExtraCredit: boolean;
|
|
288
|
-
assignmentId: string;
|
|
289
289
|
isLate: boolean;
|
|
290
290
|
percentage?: number | undefined;
|
|
291
291
|
pointsEarned?: number | undefined;
|
|
@@ -301,9 +301,9 @@ export declare const createGradeSchema: z.ZodObject<{
|
|
|
301
301
|
submittedAt?: string | undefined;
|
|
302
302
|
gradedAt?: string | undefined;
|
|
303
303
|
}, {
|
|
304
|
+
assignmentId: string;
|
|
304
305
|
studentId: string;
|
|
305
306
|
classroomId: string;
|
|
306
|
-
assignmentId: string;
|
|
307
307
|
status?: "excused" | "draft" | "submitted" | "published" | "missing" | "incomplete" | undefined;
|
|
308
308
|
percentage?: number | undefined;
|
|
309
309
|
isExtraCredit?: boolean | undefined;
|
|
@@ -350,7 +350,7 @@ export declare const updateGradeSchema: z.ZodObject<Omit<{
|
|
|
350
350
|
}>, "many">>>;
|
|
351
351
|
submittedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
352
352
|
gradedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
353
|
-
}, "
|
|
353
|
+
}, "assignmentId" | "studentId" | "classroomId">, "strip", z.ZodTypeAny, {
|
|
354
354
|
status?: "excused" | "draft" | "submitted" | "published" | "missing" | "incomplete" | undefined;
|
|
355
355
|
percentage?: number | undefined;
|
|
356
356
|
isExtraCredit?: boolean | undefined;
|
|
@@ -431,10 +431,10 @@ export declare const gradeResponseSchema: z.ZodObject<{
|
|
|
431
431
|
status: "excused" | "draft" | "submitted" | "published" | "missing" | "incomplete";
|
|
432
432
|
createdAt: string;
|
|
433
433
|
updatedAt: string;
|
|
434
|
+
assignmentId: string;
|
|
434
435
|
studentId: string;
|
|
435
436
|
classroomId: string;
|
|
436
437
|
isExtraCredit: boolean;
|
|
437
|
-
assignmentId: string;
|
|
438
438
|
isLate: boolean;
|
|
439
439
|
gradeId: string;
|
|
440
440
|
percentage?: number | undefined;
|
|
@@ -460,10 +460,10 @@ export declare const gradeResponseSchema: z.ZodObject<{
|
|
|
460
460
|
status: "excused" | "draft" | "submitted" | "published" | "missing" | "incomplete";
|
|
461
461
|
createdAt: string;
|
|
462
462
|
updatedAt: string;
|
|
463
|
+
assignmentId: string;
|
|
463
464
|
studentId: string;
|
|
464
465
|
classroomId: string;
|
|
465
466
|
isExtraCredit: boolean;
|
|
466
|
-
assignmentId: string;
|
|
467
467
|
isLate: boolean;
|
|
468
468
|
gradeId: string;
|
|
469
469
|
percentage?: number | undefined;
|
|
@@ -533,10 +533,10 @@ export declare const gradeListResponseSchema: z.ZodObject<{
|
|
|
533
533
|
status: "excused" | "draft" | "submitted" | "published" | "missing" | "incomplete";
|
|
534
534
|
createdAt: string;
|
|
535
535
|
updatedAt: string;
|
|
536
|
+
assignmentId: string;
|
|
536
537
|
studentId: string;
|
|
537
538
|
classroomId: string;
|
|
538
539
|
isExtraCredit: boolean;
|
|
539
|
-
assignmentId: string;
|
|
540
540
|
isLate: boolean;
|
|
541
541
|
gradeId: string;
|
|
542
542
|
percentage?: number | undefined;
|
|
@@ -562,10 +562,10 @@ export declare const gradeListResponseSchema: z.ZodObject<{
|
|
|
562
562
|
status: "excused" | "draft" | "submitted" | "published" | "missing" | "incomplete";
|
|
563
563
|
createdAt: string;
|
|
564
564
|
updatedAt: string;
|
|
565
|
+
assignmentId: string;
|
|
565
566
|
studentId: string;
|
|
566
567
|
classroomId: string;
|
|
567
568
|
isExtraCredit: boolean;
|
|
568
|
-
assignmentId: string;
|
|
569
569
|
isLate: boolean;
|
|
570
570
|
gradeId: string;
|
|
571
571
|
percentage?: number | undefined;
|
|
@@ -596,10 +596,10 @@ export declare const gradeListResponseSchema: z.ZodObject<{
|
|
|
596
596
|
status: "excused" | "draft" | "submitted" | "published" | "missing" | "incomplete";
|
|
597
597
|
createdAt: string;
|
|
598
598
|
updatedAt: string;
|
|
599
|
+
assignmentId: string;
|
|
599
600
|
studentId: string;
|
|
600
601
|
classroomId: string;
|
|
601
602
|
isExtraCredit: boolean;
|
|
602
|
-
assignmentId: string;
|
|
603
603
|
isLate: boolean;
|
|
604
604
|
gradeId: string;
|
|
605
605
|
percentage?: number | undefined;
|
|
@@ -630,10 +630,10 @@ export declare const gradeListResponseSchema: z.ZodObject<{
|
|
|
630
630
|
status: "excused" | "draft" | "submitted" | "published" | "missing" | "incomplete";
|
|
631
631
|
createdAt: string;
|
|
632
632
|
updatedAt: string;
|
|
633
|
+
assignmentId: string;
|
|
633
634
|
studentId: string;
|
|
634
635
|
classroomId: string;
|
|
635
636
|
isExtraCredit: boolean;
|
|
636
|
-
assignmentId: string;
|
|
637
637
|
isLate: boolean;
|
|
638
638
|
gradeId: string;
|
|
639
639
|
percentage?: number | undefined;
|
|
@@ -711,8 +711,8 @@ export declare const bulkGradeSchema: z.ZodObject<{
|
|
|
711
711
|
pointsEarned?: number | undefined;
|
|
712
712
|
feedback?: string | undefined;
|
|
713
713
|
}[];
|
|
714
|
-
classroomId: string;
|
|
715
714
|
assignmentId: string;
|
|
715
|
+
classroomId: string;
|
|
716
716
|
publishImmediately: boolean;
|
|
717
717
|
}, {
|
|
718
718
|
grades: {
|
|
@@ -722,8 +722,8 @@ export declare const bulkGradeSchema: z.ZodObject<{
|
|
|
722
722
|
pointsEarned?: number | undefined;
|
|
723
723
|
feedback?: string | undefined;
|
|
724
724
|
}[];
|
|
725
|
-
classroomId: string;
|
|
726
725
|
assignmentId: string;
|
|
726
|
+
classroomId: string;
|
|
727
727
|
publishImmediately?: boolean | undefined;
|
|
728
728
|
}>;
|
|
729
729
|
export type BulkGradeDto = z.infer<typeof bulkGradeSchema>;
|
|
@@ -738,22 +738,22 @@ export declare const gradeFilterSchema: z.ZodObject<{
|
|
|
738
738
|
gradingPeriodId: z.ZodOptional<z.ZodString>;
|
|
739
739
|
}, "strip", z.ZodTypeAny, {
|
|
740
740
|
status?: "excused" | "draft" | "submitted" | "published" | "missing" | "incomplete" | undefined;
|
|
741
|
+
assignmentId?: string | undefined;
|
|
741
742
|
gradingPeriodId?: string | undefined;
|
|
742
743
|
studentId?: string | undefined;
|
|
743
744
|
classroomId?: string | undefined;
|
|
744
745
|
dateFrom?: string | undefined;
|
|
745
746
|
dateTo?: string | undefined;
|
|
746
747
|
categoryType?: "other" | "assignment" | "quiz" | "test" | "exam" | "project" | "homework" | "participation" | "lab" | "presentation" | undefined;
|
|
747
|
-
assignmentId?: string | undefined;
|
|
748
748
|
}, {
|
|
749
749
|
status?: "excused" | "draft" | "submitted" | "published" | "missing" | "incomplete" | undefined;
|
|
750
|
+
assignmentId?: string | undefined;
|
|
750
751
|
gradingPeriodId?: string | undefined;
|
|
751
752
|
studentId?: string | undefined;
|
|
752
753
|
classroomId?: string | undefined;
|
|
753
754
|
dateFrom?: string | undefined;
|
|
754
755
|
dateTo?: string | undefined;
|
|
755
756
|
categoryType?: "other" | "assignment" | "quiz" | "test" | "exam" | "project" | "homework" | "participation" | "lab" | "presentation" | undefined;
|
|
756
|
-
assignmentId?: string | undefined;
|
|
757
757
|
}>;
|
|
758
758
|
export type GradeFilterDto = z.infer<typeof gradeFilterSchema>;
|
|
759
759
|
export declare const studentGradeSummarySchema: z.ZodObject<{
|
|
@@ -127,17 +127,17 @@ export declare const enrollmentStaffRoleSchema: z.ZodObject<{
|
|
|
127
127
|
roleType: "teacher" | "principal" | "vice_principal" | "counselor" | "librarian" | "nurse" | "substitute" | "other" | "security" | "administrator" | "office_staff" | "custodian" | "it_support" | "aide" | "coach";
|
|
128
128
|
startDate?: string | undefined;
|
|
129
129
|
endDate?: string | undefined;
|
|
130
|
-
departmentId?: string | undefined;
|
|
131
130
|
gradeLevels?: string[] | undefined;
|
|
131
|
+
departmentId?: string | undefined;
|
|
132
132
|
subjects?: string[] | undefined;
|
|
133
133
|
}, {
|
|
134
134
|
schoolId: string;
|
|
135
135
|
roleType: "teacher" | "principal" | "vice_principal" | "counselor" | "librarian" | "nurse" | "substitute" | "other" | "security" | "administrator" | "office_staff" | "custodian" | "it_support" | "aide" | "coach";
|
|
136
136
|
startDate?: string | undefined;
|
|
137
137
|
endDate?: string | undefined;
|
|
138
|
+
gradeLevels?: string[] | undefined;
|
|
138
139
|
isPrimary?: boolean | undefined;
|
|
139
140
|
departmentId?: string | undefined;
|
|
140
|
-
gradeLevels?: string[] | undefined;
|
|
141
141
|
subjects?: string[] | undefined;
|
|
142
142
|
}>;
|
|
143
143
|
export type EnrollmentStaffRoleDto = z.infer<typeof enrollmentStaffRoleSchema>;
|
|
@@ -192,17 +192,17 @@ export declare const createEnrollmentStaffSchema: z.ZodObject<{
|
|
|
192
192
|
roleType: "teacher" | "principal" | "vice_principal" | "counselor" | "librarian" | "nurse" | "substitute" | "other" | "security" | "administrator" | "office_staff" | "custodian" | "it_support" | "aide" | "coach";
|
|
193
193
|
startDate?: string | undefined;
|
|
194
194
|
endDate?: string | undefined;
|
|
195
|
-
departmentId?: string | undefined;
|
|
196
195
|
gradeLevels?: string[] | undefined;
|
|
196
|
+
departmentId?: string | undefined;
|
|
197
197
|
subjects?: string[] | undefined;
|
|
198
198
|
}, {
|
|
199
199
|
schoolId: string;
|
|
200
200
|
roleType: "teacher" | "principal" | "vice_principal" | "counselor" | "librarian" | "nurse" | "substitute" | "other" | "security" | "administrator" | "office_staff" | "custodian" | "it_support" | "aide" | "coach";
|
|
201
201
|
startDate?: string | undefined;
|
|
202
202
|
endDate?: string | undefined;
|
|
203
|
+
gradeLevels?: string[] | undefined;
|
|
203
204
|
isPrimary?: boolean | undefined;
|
|
204
205
|
departmentId?: string | undefined;
|
|
205
|
-
gradeLevels?: string[] | undefined;
|
|
206
206
|
subjects?: string[] | undefined;
|
|
207
207
|
}>, "many">;
|
|
208
208
|
education: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -334,8 +334,8 @@ export declare const createEnrollmentStaffSchema: z.ZodObject<{
|
|
|
334
334
|
roleType: "teacher" | "principal" | "vice_principal" | "counselor" | "librarian" | "nurse" | "substitute" | "other" | "security" | "administrator" | "office_staff" | "custodian" | "it_support" | "aide" | "coach";
|
|
335
335
|
startDate?: string | undefined;
|
|
336
336
|
endDate?: string | undefined;
|
|
337
|
-
departmentId?: string | undefined;
|
|
338
337
|
gradeLevels?: string[] | undefined;
|
|
338
|
+
departmentId?: string | undefined;
|
|
339
339
|
subjects?: string[] | undefined;
|
|
340
340
|
}[];
|
|
341
341
|
phone?: string | undefined;
|
|
@@ -397,9 +397,9 @@ export declare const createEnrollmentStaffSchema: z.ZodObject<{
|
|
|
397
397
|
roleType: "teacher" | "principal" | "vice_principal" | "counselor" | "librarian" | "nurse" | "substitute" | "other" | "security" | "administrator" | "office_staff" | "custodian" | "it_support" | "aide" | "coach";
|
|
398
398
|
startDate?: string | undefined;
|
|
399
399
|
endDate?: string | undefined;
|
|
400
|
+
gradeLevels?: string[] | undefined;
|
|
400
401
|
isPrimary?: boolean | undefined;
|
|
401
402
|
departmentId?: string | undefined;
|
|
402
|
-
gradeLevels?: string[] | undefined;
|
|
403
403
|
subjects?: string[] | undefined;
|
|
404
404
|
}[];
|
|
405
405
|
phone?: string | undefined;
|
|
@@ -506,17 +506,17 @@ export declare const updateEnrollmentStaffSchema: z.ZodObject<{
|
|
|
506
506
|
roleType: "teacher" | "principal" | "vice_principal" | "counselor" | "librarian" | "nurse" | "substitute" | "other" | "security" | "administrator" | "office_staff" | "custodian" | "it_support" | "aide" | "coach";
|
|
507
507
|
startDate?: string | undefined;
|
|
508
508
|
endDate?: string | undefined;
|
|
509
|
-
departmentId?: string | undefined;
|
|
510
509
|
gradeLevels?: string[] | undefined;
|
|
510
|
+
departmentId?: string | undefined;
|
|
511
511
|
subjects?: string[] | undefined;
|
|
512
512
|
}, {
|
|
513
513
|
schoolId: string;
|
|
514
514
|
roleType: "teacher" | "principal" | "vice_principal" | "counselor" | "librarian" | "nurse" | "substitute" | "other" | "security" | "administrator" | "office_staff" | "custodian" | "it_support" | "aide" | "coach";
|
|
515
515
|
startDate?: string | undefined;
|
|
516
516
|
endDate?: string | undefined;
|
|
517
|
+
gradeLevels?: string[] | undefined;
|
|
517
518
|
isPrimary?: boolean | undefined;
|
|
518
519
|
departmentId?: string | undefined;
|
|
519
|
-
gradeLevels?: string[] | undefined;
|
|
520
520
|
subjects?: string[] | undefined;
|
|
521
521
|
}>, "many">>;
|
|
522
522
|
education: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -661,8 +661,8 @@ export declare const updateEnrollmentStaffSchema: z.ZodObject<{
|
|
|
661
661
|
roleType: "teacher" | "principal" | "vice_principal" | "counselor" | "librarian" | "nurse" | "substitute" | "other" | "security" | "administrator" | "office_staff" | "custodian" | "it_support" | "aide" | "coach";
|
|
662
662
|
startDate?: string | undefined;
|
|
663
663
|
endDate?: string | undefined;
|
|
664
|
-
departmentId?: string | undefined;
|
|
665
664
|
gradeLevels?: string[] | undefined;
|
|
665
|
+
departmentId?: string | undefined;
|
|
666
666
|
subjects?: string[] | undefined;
|
|
667
667
|
}[] | undefined;
|
|
668
668
|
emergencyContact?: {
|
|
@@ -726,9 +726,9 @@ export declare const updateEnrollmentStaffSchema: z.ZodObject<{
|
|
|
726
726
|
roleType: "teacher" | "principal" | "vice_principal" | "counselor" | "librarian" | "nurse" | "substitute" | "other" | "security" | "administrator" | "office_staff" | "custodian" | "it_support" | "aide" | "coach";
|
|
727
727
|
startDate?: string | undefined;
|
|
728
728
|
endDate?: string | undefined;
|
|
729
|
+
gradeLevels?: string[] | undefined;
|
|
729
730
|
isPrimary?: boolean | undefined;
|
|
730
731
|
departmentId?: string | undefined;
|
|
731
|
-
gradeLevels?: string[] | undefined;
|
|
732
732
|
subjects?: string[] | undefined;
|
|
733
733
|
}[] | undefined;
|
|
734
734
|
emergencyContact?: {
|
|
@@ -824,17 +824,17 @@ export declare const enrollmentStaffResponseSchema: z.ZodObject<{
|
|
|
824
824
|
roleType: "teacher" | "principal" | "vice_principal" | "counselor" | "librarian" | "nurse" | "substitute" | "other" | "security" | "administrator" | "office_staff" | "custodian" | "it_support" | "aide" | "coach";
|
|
825
825
|
startDate?: string | undefined;
|
|
826
826
|
endDate?: string | undefined;
|
|
827
|
-
departmentId?: string | undefined;
|
|
828
827
|
gradeLevels?: string[] | undefined;
|
|
828
|
+
departmentId?: string | undefined;
|
|
829
829
|
subjects?: string[] | undefined;
|
|
830
830
|
}, {
|
|
831
831
|
schoolId: string;
|
|
832
832
|
roleType: "teacher" | "principal" | "vice_principal" | "counselor" | "librarian" | "nurse" | "substitute" | "other" | "security" | "administrator" | "office_staff" | "custodian" | "it_support" | "aide" | "coach";
|
|
833
833
|
startDate?: string | undefined;
|
|
834
834
|
endDate?: string | undefined;
|
|
835
|
+
gradeLevels?: string[] | undefined;
|
|
835
836
|
isPrimary?: boolean | undefined;
|
|
836
837
|
departmentId?: string | undefined;
|
|
837
|
-
gradeLevels?: string[] | undefined;
|
|
838
838
|
subjects?: string[] | undefined;
|
|
839
839
|
}>, "many">;
|
|
840
840
|
primarySchoolId: z.ZodOptional<z.ZodString>;
|
|
@@ -975,8 +975,8 @@ export declare const enrollmentStaffResponseSchema: z.ZodObject<{
|
|
|
975
975
|
roleType: "teacher" | "principal" | "vice_principal" | "counselor" | "librarian" | "nurse" | "substitute" | "other" | "security" | "administrator" | "office_staff" | "custodian" | "it_support" | "aide" | "coach";
|
|
976
976
|
startDate?: string | undefined;
|
|
977
977
|
endDate?: string | undefined;
|
|
978
|
-
departmentId?: string | undefined;
|
|
979
978
|
gradeLevels?: string[] | undefined;
|
|
979
|
+
departmentId?: string | undefined;
|
|
980
980
|
subjects?: string[] | undefined;
|
|
981
981
|
}[];
|
|
982
982
|
fullName: string;
|
|
@@ -1049,9 +1049,9 @@ export declare const enrollmentStaffResponseSchema: z.ZodObject<{
|
|
|
1049
1049
|
roleType: "teacher" | "principal" | "vice_principal" | "counselor" | "librarian" | "nurse" | "substitute" | "other" | "security" | "administrator" | "office_staff" | "custodian" | "it_support" | "aide" | "coach";
|
|
1050
1050
|
startDate?: string | undefined;
|
|
1051
1051
|
endDate?: string | undefined;
|
|
1052
|
+
gradeLevels?: string[] | undefined;
|
|
1052
1053
|
isPrimary?: boolean | undefined;
|
|
1053
1054
|
departmentId?: string | undefined;
|
|
1054
|
-
gradeLevels?: string[] | undefined;
|
|
1055
1055
|
subjects?: string[] | undefined;
|
|
1056
1056
|
}[];
|
|
1057
1057
|
fullName: string;
|
|
@@ -1166,17 +1166,17 @@ export declare const enrollmentStaffListResponseSchema: z.ZodObject<{
|
|
|
1166
1166
|
roleType: "teacher" | "principal" | "vice_principal" | "counselor" | "librarian" | "nurse" | "substitute" | "other" | "security" | "administrator" | "office_staff" | "custodian" | "it_support" | "aide" | "coach";
|
|
1167
1167
|
startDate?: string | undefined;
|
|
1168
1168
|
endDate?: string | undefined;
|
|
1169
|
-
departmentId?: string | undefined;
|
|
1170
1169
|
gradeLevels?: string[] | undefined;
|
|
1170
|
+
departmentId?: string | undefined;
|
|
1171
1171
|
subjects?: string[] | undefined;
|
|
1172
1172
|
}, {
|
|
1173
1173
|
schoolId: string;
|
|
1174
1174
|
roleType: "teacher" | "principal" | "vice_principal" | "counselor" | "librarian" | "nurse" | "substitute" | "other" | "security" | "administrator" | "office_staff" | "custodian" | "it_support" | "aide" | "coach";
|
|
1175
1175
|
startDate?: string | undefined;
|
|
1176
1176
|
endDate?: string | undefined;
|
|
1177
|
+
gradeLevels?: string[] | undefined;
|
|
1177
1178
|
isPrimary?: boolean | undefined;
|
|
1178
1179
|
departmentId?: string | undefined;
|
|
1179
|
-
gradeLevels?: string[] | undefined;
|
|
1180
1180
|
subjects?: string[] | undefined;
|
|
1181
1181
|
}>, "many">;
|
|
1182
1182
|
primarySchoolId: z.ZodOptional<z.ZodString>;
|
|
@@ -1317,8 +1317,8 @@ export declare const enrollmentStaffListResponseSchema: z.ZodObject<{
|
|
|
1317
1317
|
roleType: "teacher" | "principal" | "vice_principal" | "counselor" | "librarian" | "nurse" | "substitute" | "other" | "security" | "administrator" | "office_staff" | "custodian" | "it_support" | "aide" | "coach";
|
|
1318
1318
|
startDate?: string | undefined;
|
|
1319
1319
|
endDate?: string | undefined;
|
|
1320
|
-
departmentId?: string | undefined;
|
|
1321
1320
|
gradeLevels?: string[] | undefined;
|
|
1321
|
+
departmentId?: string | undefined;
|
|
1322
1322
|
subjects?: string[] | undefined;
|
|
1323
1323
|
}[];
|
|
1324
1324
|
fullName: string;
|
|
@@ -1391,9 +1391,9 @@ export declare const enrollmentStaffListResponseSchema: z.ZodObject<{
|
|
|
1391
1391
|
roleType: "teacher" | "principal" | "vice_principal" | "counselor" | "librarian" | "nurse" | "substitute" | "other" | "security" | "administrator" | "office_staff" | "custodian" | "it_support" | "aide" | "coach";
|
|
1392
1392
|
startDate?: string | undefined;
|
|
1393
1393
|
endDate?: string | undefined;
|
|
1394
|
+
gradeLevels?: string[] | undefined;
|
|
1394
1395
|
isPrimary?: boolean | undefined;
|
|
1395
1396
|
departmentId?: string | undefined;
|
|
1396
|
-
gradeLevels?: string[] | undefined;
|
|
1397
1397
|
subjects?: string[] | undefined;
|
|
1398
1398
|
}[];
|
|
1399
1399
|
fullName: string;
|
|
@@ -1472,8 +1472,8 @@ export declare const enrollmentStaffListResponseSchema: z.ZodObject<{
|
|
|
1472
1472
|
roleType: "teacher" | "principal" | "vice_principal" | "counselor" | "librarian" | "nurse" | "substitute" | "other" | "security" | "administrator" | "office_staff" | "custodian" | "it_support" | "aide" | "coach";
|
|
1473
1473
|
startDate?: string | undefined;
|
|
1474
1474
|
endDate?: string | undefined;
|
|
1475
|
-
departmentId?: string | undefined;
|
|
1476
1475
|
gradeLevels?: string[] | undefined;
|
|
1476
|
+
departmentId?: string | undefined;
|
|
1477
1477
|
subjects?: string[] | undefined;
|
|
1478
1478
|
}[];
|
|
1479
1479
|
fullName: string;
|
|
@@ -1551,9 +1551,9 @@ export declare const enrollmentStaffListResponseSchema: z.ZodObject<{
|
|
|
1551
1551
|
roleType: "teacher" | "principal" | "vice_principal" | "counselor" | "librarian" | "nurse" | "substitute" | "other" | "security" | "administrator" | "office_staff" | "custodian" | "it_support" | "aide" | "coach";
|
|
1552
1552
|
startDate?: string | undefined;
|
|
1553
1553
|
endDate?: string | undefined;
|
|
1554
|
+
gradeLevels?: string[] | undefined;
|
|
1554
1555
|
isPrimary?: boolean | undefined;
|
|
1555
1556
|
departmentId?: string | undefined;
|
|
1556
|
-
gradeLevels?: string[] | undefined;
|
|
1557
1557
|
subjects?: string[] | undefined;
|
|
1558
1558
|
}[];
|
|
1559
1559
|
fullName: string;
|
|
@@ -1696,7 +1696,6 @@ export declare const createParentSchema: z.ZodObject<{
|
|
|
1696
1696
|
email: string;
|
|
1697
1697
|
firstName: string;
|
|
1698
1698
|
lastName: string;
|
|
1699
|
-
preferredContactMethod: "phone" | "email" | "text";
|
|
1700
1699
|
children: {
|
|
1701
1700
|
relationship: "other" | "mother" | "father" | "guardian" | "grandparent";
|
|
1702
1701
|
studentId: string;
|
|
@@ -1704,6 +1703,7 @@ export declare const createParentSchema: z.ZodObject<{
|
|
|
1704
1703
|
hasPickupPermission: boolean;
|
|
1705
1704
|
canAccessPortal: boolean;
|
|
1706
1705
|
}[];
|
|
1706
|
+
preferredContactMethod: "phone" | "email" | "text";
|
|
1707
1707
|
createPortalAccount: boolean;
|
|
1708
1708
|
address?: {
|
|
1709
1709
|
street1?: string | undefined;
|
|
@@ -1822,11 +1822,6 @@ export declare const updateParentSchema: z.ZodObject<{
|
|
|
1822
1822
|
middleName?: string | undefined;
|
|
1823
1823
|
notes?: string | undefined;
|
|
1824
1824
|
lastName?: string | undefined;
|
|
1825
|
-
employer?: string | undefined;
|
|
1826
|
-
occupation?: string | undefined;
|
|
1827
|
-
preferredName?: string | undefined;
|
|
1828
|
-
workPhone?: string | undefined;
|
|
1829
|
-
preferredContactMethod?: "phone" | "email" | "text" | undefined;
|
|
1830
1825
|
children?: {
|
|
1831
1826
|
relationship: "other" | "mother" | "father" | "guardian" | "grandparent";
|
|
1832
1827
|
studentId: string;
|
|
@@ -1834,6 +1829,11 @@ export declare const updateParentSchema: z.ZodObject<{
|
|
|
1834
1829
|
hasPickupPermission: boolean;
|
|
1835
1830
|
canAccessPortal: boolean;
|
|
1836
1831
|
}[] | undefined;
|
|
1832
|
+
employer?: string | undefined;
|
|
1833
|
+
occupation?: string | undefined;
|
|
1834
|
+
preferredName?: string | undefined;
|
|
1835
|
+
workPhone?: string | undefined;
|
|
1836
|
+
preferredContactMethod?: "phone" | "email" | "text" | undefined;
|
|
1837
1837
|
createPortalAccount?: boolean | undefined;
|
|
1838
1838
|
}, {
|
|
1839
1839
|
phone?: string | undefined;
|
|
@@ -1851,11 +1851,6 @@ export declare const updateParentSchema: z.ZodObject<{
|
|
|
1851
1851
|
middleName?: string | undefined;
|
|
1852
1852
|
notes?: string | undefined;
|
|
1853
1853
|
lastName?: string | undefined;
|
|
1854
|
-
employer?: string | undefined;
|
|
1855
|
-
occupation?: string | undefined;
|
|
1856
|
-
preferredName?: string | undefined;
|
|
1857
|
-
workPhone?: string | undefined;
|
|
1858
|
-
preferredContactMethod?: "phone" | "email" | "text" | undefined;
|
|
1859
1854
|
children?: {
|
|
1860
1855
|
relationship: "other" | "mother" | "father" | "guardian" | "grandparent";
|
|
1861
1856
|
studentId: string;
|
|
@@ -1863,6 +1858,11 @@ export declare const updateParentSchema: z.ZodObject<{
|
|
|
1863
1858
|
hasPickupPermission?: boolean | undefined;
|
|
1864
1859
|
canAccessPortal?: boolean | undefined;
|
|
1865
1860
|
}[] | undefined;
|
|
1861
|
+
employer?: string | undefined;
|
|
1862
|
+
occupation?: string | undefined;
|
|
1863
|
+
preferredName?: string | undefined;
|
|
1864
|
+
workPhone?: string | undefined;
|
|
1865
|
+
preferredContactMethod?: "phone" | "email" | "text" | undefined;
|
|
1866
1866
|
createPortalAccount?: boolean | undefined;
|
|
1867
1867
|
}>;
|
|
1868
1868
|
export type UpdateParentDto = z.infer<typeof updateParentSchema>;
|
|
@@ -1939,9 +1939,6 @@ export declare const parentResponseSchema: z.ZodObject<{
|
|
|
1939
1939
|
email: string;
|
|
1940
1940
|
firstName: string;
|
|
1941
1941
|
lastName: string;
|
|
1942
|
-
hasPortalAccess: boolean;
|
|
1943
|
-
fullName: string;
|
|
1944
|
-
preferredContactMethod: "phone" | "email" | "text";
|
|
1945
1942
|
children: {
|
|
1946
1943
|
relationship: string;
|
|
1947
1944
|
studentId: string;
|
|
@@ -1950,6 +1947,9 @@ export declare const parentResponseSchema: z.ZodObject<{
|
|
|
1950
1947
|
canAccessPortal: boolean;
|
|
1951
1948
|
studentName?: string | undefined;
|
|
1952
1949
|
}[];
|
|
1950
|
+
hasPortalAccess: boolean;
|
|
1951
|
+
fullName: string;
|
|
1952
|
+
preferredContactMethod: "phone" | "email" | "text";
|
|
1953
1953
|
parentId: string;
|
|
1954
1954
|
userId?: string | undefined;
|
|
1955
1955
|
address?: {
|
|
@@ -1976,9 +1976,6 @@ export declare const parentResponseSchema: z.ZodObject<{
|
|
|
1976
1976
|
email: string;
|
|
1977
1977
|
firstName: string;
|
|
1978
1978
|
lastName: string;
|
|
1979
|
-
hasPortalAccess: boolean;
|
|
1980
|
-
fullName: string;
|
|
1981
|
-
preferredContactMethod: "phone" | "email" | "text";
|
|
1982
1979
|
children: {
|
|
1983
1980
|
relationship: string;
|
|
1984
1981
|
studentId: string;
|
|
@@ -1987,6 +1984,9 @@ export declare const parentResponseSchema: z.ZodObject<{
|
|
|
1987
1984
|
canAccessPortal: boolean;
|
|
1988
1985
|
studentName?: string | undefined;
|
|
1989
1986
|
}[];
|
|
1987
|
+
hasPortalAccess: boolean;
|
|
1988
|
+
fullName: string;
|
|
1989
|
+
preferredContactMethod: "phone" | "email" | "text";
|
|
1990
1990
|
parentId: string;
|
|
1991
1991
|
userId?: string | undefined;
|
|
1992
1992
|
address?: {
|
|
@@ -2081,9 +2081,6 @@ export declare const parentListResponseSchema: z.ZodObject<{
|
|
|
2081
2081
|
email: string;
|
|
2082
2082
|
firstName: string;
|
|
2083
2083
|
lastName: string;
|
|
2084
|
-
hasPortalAccess: boolean;
|
|
2085
|
-
fullName: string;
|
|
2086
|
-
preferredContactMethod: "phone" | "email" | "text";
|
|
2087
2084
|
children: {
|
|
2088
2085
|
relationship: string;
|
|
2089
2086
|
studentId: string;
|
|
@@ -2092,6 +2089,9 @@ export declare const parentListResponseSchema: z.ZodObject<{
|
|
|
2092
2089
|
canAccessPortal: boolean;
|
|
2093
2090
|
studentName?: string | undefined;
|
|
2094
2091
|
}[];
|
|
2092
|
+
hasPortalAccess: boolean;
|
|
2093
|
+
fullName: string;
|
|
2094
|
+
preferredContactMethod: "phone" | "email" | "text";
|
|
2095
2095
|
parentId: string;
|
|
2096
2096
|
userId?: string | undefined;
|
|
2097
2097
|
address?: {
|
|
@@ -2118,9 +2118,6 @@ export declare const parentListResponseSchema: z.ZodObject<{
|
|
|
2118
2118
|
email: string;
|
|
2119
2119
|
firstName: string;
|
|
2120
2120
|
lastName: string;
|
|
2121
|
-
hasPortalAccess: boolean;
|
|
2122
|
-
fullName: string;
|
|
2123
|
-
preferredContactMethod: "phone" | "email" | "text";
|
|
2124
2121
|
children: {
|
|
2125
2122
|
relationship: string;
|
|
2126
2123
|
studentId: string;
|
|
@@ -2129,6 +2126,9 @@ export declare const parentListResponseSchema: z.ZodObject<{
|
|
|
2129
2126
|
canAccessPortal: boolean;
|
|
2130
2127
|
studentName?: string | undefined;
|
|
2131
2128
|
}[];
|
|
2129
|
+
hasPortalAccess: boolean;
|
|
2130
|
+
fullName: string;
|
|
2131
|
+
preferredContactMethod: "phone" | "email" | "text";
|
|
2132
2132
|
parentId: string;
|
|
2133
2133
|
userId?: string | undefined;
|
|
2134
2134
|
address?: {
|
|
@@ -2160,9 +2160,6 @@ export declare const parentListResponseSchema: z.ZodObject<{
|
|
|
2160
2160
|
email: string;
|
|
2161
2161
|
firstName: string;
|
|
2162
2162
|
lastName: string;
|
|
2163
|
-
hasPortalAccess: boolean;
|
|
2164
|
-
fullName: string;
|
|
2165
|
-
preferredContactMethod: "phone" | "email" | "text";
|
|
2166
2163
|
children: {
|
|
2167
2164
|
relationship: string;
|
|
2168
2165
|
studentId: string;
|
|
@@ -2171,6 +2168,9 @@ export declare const parentListResponseSchema: z.ZodObject<{
|
|
|
2171
2168
|
canAccessPortal: boolean;
|
|
2172
2169
|
studentName?: string | undefined;
|
|
2173
2170
|
}[];
|
|
2171
|
+
hasPortalAccess: boolean;
|
|
2172
|
+
fullName: string;
|
|
2173
|
+
preferredContactMethod: "phone" | "email" | "text";
|
|
2174
2174
|
parentId: string;
|
|
2175
2175
|
userId?: string | undefined;
|
|
2176
2176
|
address?: {
|
|
@@ -2202,9 +2202,6 @@ export declare const parentListResponseSchema: z.ZodObject<{
|
|
|
2202
2202
|
email: string;
|
|
2203
2203
|
firstName: string;
|
|
2204
2204
|
lastName: string;
|
|
2205
|
-
hasPortalAccess: boolean;
|
|
2206
|
-
fullName: string;
|
|
2207
|
-
preferredContactMethod: "phone" | "email" | "text";
|
|
2208
2205
|
children: {
|
|
2209
2206
|
relationship: string;
|
|
2210
2207
|
studentId: string;
|
|
@@ -2213,6 +2210,9 @@ export declare const parentListResponseSchema: z.ZodObject<{
|
|
|
2213
2210
|
canAccessPortal: boolean;
|
|
2214
2211
|
studentName?: string | undefined;
|
|
2215
2212
|
}[];
|
|
2213
|
+
hasPortalAccess: boolean;
|
|
2214
|
+
fullName: string;
|
|
2215
|
+
preferredContactMethod: "phone" | "email" | "text";
|
|
2216
2216
|
parentId: string;
|
|
2217
2217
|
userId?: string | undefined;
|
|
2218
2218
|
address?: {
|