@aibrains/shared-types 0.1.0 → 0.2.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/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 +9 -5
|
@@ -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?: {
|
|
@@ -380,14 +380,14 @@ export declare const createHolidaySchema: z.ZodObject<{
|
|
|
380
380
|
}, "strip", z.ZodTypeAny, {
|
|
381
381
|
date: string;
|
|
382
382
|
name: string;
|
|
383
|
-
holidayType: "state" | "
|
|
383
|
+
holidayType: "state" | "school" | "federal" | "break" | "professional_development";
|
|
384
384
|
endDate?: string | undefined;
|
|
385
385
|
affectsStudents?: boolean | undefined;
|
|
386
386
|
affectsStaff?: boolean | undefined;
|
|
387
387
|
}, {
|
|
388
388
|
date: string;
|
|
389
389
|
name: string;
|
|
390
|
-
holidayType: "state" | "
|
|
390
|
+
holidayType: "state" | "school" | "federal" | "break" | "professional_development";
|
|
391
391
|
endDate?: string | undefined;
|
|
392
392
|
affectsStudents?: boolean | undefined;
|
|
393
393
|
affectsStaff?: boolean | undefined;
|
|
@@ -404,14 +404,14 @@ export declare const bulkCreateHolidaysSchema: z.ZodObject<{
|
|
|
404
404
|
}, "strip", z.ZodTypeAny, {
|
|
405
405
|
date: string;
|
|
406
406
|
name: string;
|
|
407
|
-
holidayType: "state" | "
|
|
407
|
+
holidayType: "state" | "school" | "federal" | "break" | "professional_development";
|
|
408
408
|
endDate?: string | undefined;
|
|
409
409
|
affectsStudents?: boolean | undefined;
|
|
410
410
|
affectsStaff?: boolean | undefined;
|
|
411
411
|
}, {
|
|
412
412
|
date: string;
|
|
413
413
|
name: string;
|
|
414
|
-
holidayType: "state" | "
|
|
414
|
+
holidayType: "state" | "school" | "federal" | "break" | "professional_development";
|
|
415
415
|
endDate?: string | undefined;
|
|
416
416
|
affectsStudents?: boolean | undefined;
|
|
417
417
|
affectsStaff?: boolean | undefined;
|
|
@@ -420,7 +420,7 @@ export declare const bulkCreateHolidaysSchema: z.ZodObject<{
|
|
|
420
420
|
holidays: {
|
|
421
421
|
date: string;
|
|
422
422
|
name: string;
|
|
423
|
-
holidayType: "state" | "
|
|
423
|
+
holidayType: "state" | "school" | "federal" | "break" | "professional_development";
|
|
424
424
|
endDate?: string | undefined;
|
|
425
425
|
affectsStudents?: boolean | undefined;
|
|
426
426
|
affectsStaff?: boolean | undefined;
|
|
@@ -429,7 +429,7 @@ export declare const bulkCreateHolidaysSchema: z.ZodObject<{
|
|
|
429
429
|
holidays: {
|
|
430
430
|
date: string;
|
|
431
431
|
name: string;
|
|
432
|
-
holidayType: "state" | "
|
|
432
|
+
holidayType: "state" | "school" | "federal" | "break" | "professional_development";
|
|
433
433
|
endDate?: string | undefined;
|
|
434
434
|
affectsStudents?: boolean | undefined;
|
|
435
435
|
affectsStaff?: boolean | undefined;
|
|
@@ -453,7 +453,7 @@ export declare const holidayResponseSchema: z.ZodObject<{
|
|
|
453
453
|
name: string;
|
|
454
454
|
schoolId: string;
|
|
455
455
|
yearId: string;
|
|
456
|
-
holidayType: "state" | "
|
|
456
|
+
holidayType: "state" | "school" | "federal" | "break" | "professional_development";
|
|
457
457
|
affectsStudents: boolean;
|
|
458
458
|
affectsStaff: boolean;
|
|
459
459
|
holidayId: string;
|
|
@@ -464,7 +464,7 @@ export declare const holidayResponseSchema: z.ZodObject<{
|
|
|
464
464
|
name: string;
|
|
465
465
|
schoolId: string;
|
|
466
466
|
yearId: string;
|
|
467
|
-
holidayType: "state" | "
|
|
467
|
+
holidayType: "state" | "school" | "federal" | "break" | "professional_development";
|
|
468
468
|
affectsStudents: boolean;
|
|
469
469
|
affectsStaff: boolean;
|
|
470
470
|
holidayId: string;
|
|
@@ -489,7 +489,7 @@ export declare const holidayListResponseSchema: z.ZodObject<{
|
|
|
489
489
|
name: string;
|
|
490
490
|
schoolId: string;
|
|
491
491
|
yearId: string;
|
|
492
|
-
holidayType: "state" | "
|
|
492
|
+
holidayType: "state" | "school" | "federal" | "break" | "professional_development";
|
|
493
493
|
affectsStudents: boolean;
|
|
494
494
|
affectsStaff: boolean;
|
|
495
495
|
holidayId: string;
|
|
@@ -500,7 +500,7 @@ export declare const holidayListResponseSchema: z.ZodObject<{
|
|
|
500
500
|
name: string;
|
|
501
501
|
schoolId: string;
|
|
502
502
|
yearId: string;
|
|
503
|
-
holidayType: "state" | "
|
|
503
|
+
holidayType: "state" | "school" | "federal" | "break" | "professional_development";
|
|
504
504
|
affectsStudents: boolean;
|
|
505
505
|
affectsStaff: boolean;
|
|
506
506
|
holidayId: string;
|
|
@@ -516,7 +516,7 @@ export declare const holidayListResponseSchema: z.ZodObject<{
|
|
|
516
516
|
name: string;
|
|
517
517
|
schoolId: string;
|
|
518
518
|
yearId: string;
|
|
519
|
-
holidayType: "state" | "
|
|
519
|
+
holidayType: "state" | "school" | "federal" | "break" | "professional_development";
|
|
520
520
|
affectsStudents: boolean;
|
|
521
521
|
affectsStaff: boolean;
|
|
522
522
|
holidayId: string;
|
|
@@ -532,7 +532,7 @@ export declare const holidayListResponseSchema: z.ZodObject<{
|
|
|
532
532
|
name: string;
|
|
533
533
|
schoolId: string;
|
|
534
534
|
yearId: string;
|
|
535
|
-
holidayType: "state" | "
|
|
535
|
+
holidayType: "state" | "school" | "federal" | "break" | "professional_development";
|
|
536
536
|
affectsStudents: boolean;
|
|
537
537
|
affectsStaff: boolean;
|
|
538
538
|
holidayId: string;
|
|
@@ -119,8 +119,8 @@ export declare const authUserSchema: z.ZodObject<{
|
|
|
119
119
|
userId: string;
|
|
120
120
|
email: string;
|
|
121
121
|
firstName: string;
|
|
122
|
-
lastName: string;
|
|
123
122
|
globalRole: string;
|
|
123
|
+
lastName: string;
|
|
124
124
|
roles: {
|
|
125
125
|
schoolId: string;
|
|
126
126
|
role: string;
|
|
@@ -146,8 +146,8 @@ export declare const authUserSchema: z.ZodObject<{
|
|
|
146
146
|
userId: string;
|
|
147
147
|
email: string;
|
|
148
148
|
firstName: string;
|
|
149
|
-
lastName: string;
|
|
150
149
|
globalRole: string;
|
|
150
|
+
lastName: string;
|
|
151
151
|
roles: {
|
|
152
152
|
schoolId: string;
|
|
153
153
|
role: string;
|
|
@@ -227,8 +227,8 @@ export declare const loginResponseSchema: z.ZodObject<{
|
|
|
227
227
|
userId: string;
|
|
228
228
|
email: string;
|
|
229
229
|
firstName: string;
|
|
230
|
-
lastName: string;
|
|
231
230
|
globalRole: string;
|
|
231
|
+
lastName: string;
|
|
232
232
|
roles: {
|
|
233
233
|
schoolId: string;
|
|
234
234
|
role: string;
|
|
@@ -254,8 +254,8 @@ export declare const loginResponseSchema: z.ZodObject<{
|
|
|
254
254
|
userId: string;
|
|
255
255
|
email: string;
|
|
256
256
|
firstName: string;
|
|
257
|
-
lastName: string;
|
|
258
257
|
globalRole: string;
|
|
258
|
+
lastName: string;
|
|
259
259
|
roles: {
|
|
260
260
|
schoolId: string;
|
|
261
261
|
role: string;
|
|
@@ -287,8 +287,8 @@ export declare const loginResponseSchema: z.ZodObject<{
|
|
|
287
287
|
userId: string;
|
|
288
288
|
email: string;
|
|
289
289
|
firstName: string;
|
|
290
|
-
lastName: string;
|
|
291
290
|
globalRole: string;
|
|
291
|
+
lastName: string;
|
|
292
292
|
roles: {
|
|
293
293
|
schoolId: string;
|
|
294
294
|
role: string;
|
|
@@ -319,8 +319,8 @@ export declare const loginResponseSchema: z.ZodObject<{
|
|
|
319
319
|
userId: string;
|
|
320
320
|
email: string;
|
|
321
321
|
firstName: string;
|
|
322
|
-
lastName: string;
|
|
323
322
|
globalRole: string;
|
|
323
|
+
lastName: string;
|
|
324
324
|
roles: {
|
|
325
325
|
schoolId: string;
|
|
326
326
|
role: string;
|
|
@@ -474,8 +474,8 @@ export declare const currentUserResponseSchema: z.ZodObject<{
|
|
|
474
474
|
userId: string;
|
|
475
475
|
email: string;
|
|
476
476
|
firstName: string;
|
|
477
|
-
lastName: string;
|
|
478
477
|
globalRole: string;
|
|
478
|
+
lastName: string;
|
|
479
479
|
roles: {
|
|
480
480
|
schoolId: string;
|
|
481
481
|
role: string;
|
|
@@ -501,8 +501,8 @@ export declare const currentUserResponseSchema: z.ZodObject<{
|
|
|
501
501
|
userId: string;
|
|
502
502
|
email: string;
|
|
503
503
|
firstName: string;
|
|
504
|
-
lastName: string;
|
|
505
504
|
globalRole: string;
|
|
505
|
+
lastName: string;
|
|
506
506
|
roles: {
|
|
507
507
|
schoolId: string;
|
|
508
508
|
role: string;
|
|
@@ -569,8 +569,8 @@ export declare const currentUserResponseSchema: z.ZodObject<{
|
|
|
569
569
|
userId: string;
|
|
570
570
|
email: string;
|
|
571
571
|
firstName: string;
|
|
572
|
-
lastName: string;
|
|
573
572
|
globalRole: string;
|
|
573
|
+
lastName: string;
|
|
574
574
|
roles: {
|
|
575
575
|
schoolId: string;
|
|
576
576
|
role: string;
|
|
@@ -609,8 +609,8 @@ export declare const currentUserResponseSchema: z.ZodObject<{
|
|
|
609
609
|
userId: string;
|
|
610
610
|
email: string;
|
|
611
611
|
firstName: string;
|
|
612
|
-
lastName: string;
|
|
613
612
|
globalRole: string;
|
|
613
|
+
lastName: string;
|
|
614
614
|
roles: {
|
|
615
615
|
schoolId: string;
|
|
616
616
|
role: string;
|