@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.
Files changed (53) hide show
  1. package/dist/schemas/academics/assignment.schema.d.ts +10 -10
  2. package/dist/schemas/academics/course.schema.d.ts +10 -10
  3. package/dist/schemas/academics/grade.schema.d.ts +13 -13
  4. package/dist/schemas/enrollment/enrollment.schema.d.ts +49 -49
  5. package/dist/schemas/identity/academic-year.schema.d.ts +12 -12
  6. package/dist/schemas/identity/auth.schema.d.ts +10 -10
  7. package/dist/schemas/identity/credential.schema.d.ts +12 -12
  8. package/dist/schemas/identity/education-org-descriptors.d.ts +314 -0
  9. package/dist/schemas/identity/education-org-descriptors.d.ts.map +1 -0
  10. package/dist/schemas/identity/education-org-descriptors.js +245 -0
  11. package/dist/schemas/identity/education-org-descriptors.js.map +1 -0
  12. package/dist/schemas/identity/education-org-hierarchy.schema.d.ts +65 -0
  13. package/dist/schemas/identity/education-org-hierarchy.schema.d.ts.map +1 -0
  14. package/dist/schemas/identity/education-org-hierarchy.schema.js +46 -0
  15. package/dist/schemas/identity/education-org-hierarchy.schema.js.map +1 -0
  16. package/dist/schemas/identity/education-organization.schema.d.ts +127 -0
  17. package/dist/schemas/identity/education-organization.schema.d.ts.map +1 -0
  18. package/dist/schemas/identity/education-organization.schema.js +102 -0
  19. package/dist/schemas/identity/education-organization.schema.js.map +1 -0
  20. package/dist/schemas/identity/education-service-center.schema.d.ts +826 -0
  21. package/dist/schemas/identity/education-service-center.schema.d.ts.map +1 -0
  22. package/dist/schemas/identity/education-service-center.schema.js +85 -0
  23. package/dist/schemas/identity/education-service-center.schema.js.map +1 -0
  24. package/dist/schemas/identity/index.d.ts +8 -0
  25. package/dist/schemas/identity/index.d.ts.map +1 -1
  26. package/dist/schemas/identity/index.js +9 -0
  27. package/dist/schemas/identity/index.js.map +1 -1
  28. package/dist/schemas/identity/local-education-agency.schema.d.ts +888 -0
  29. package/dist/schemas/identity/local-education-agency.schema.d.ts.map +1 -0
  30. package/dist/schemas/identity/local-education-agency.schema.js +96 -0
  31. package/dist/schemas/identity/local-education-agency.schema.js.map +1 -0
  32. package/dist/schemas/identity/school.schema.d.ts +404 -0
  33. package/dist/schemas/identity/school.schema.d.ts.map +1 -1
  34. package/dist/schemas/identity/school.schema.js +35 -0
  35. package/dist/schemas/identity/school.schema.js.map +1 -1
  36. package/dist/schemas/identity/staff-assignment.schema.d.ts +240 -0
  37. package/dist/schemas/identity/staff-assignment.schema.d.ts.map +1 -0
  38. package/dist/schemas/identity/staff-assignment.schema.js +72 -0
  39. package/dist/schemas/identity/staff-assignment.schema.js.map +1 -0
  40. package/dist/schemas/identity/staff-employment-history.schema.d.ts +114 -0
  41. package/dist/schemas/identity/staff-employment-history.schema.d.ts.map +1 -0
  42. package/dist/schemas/identity/staff-employment-history.schema.js +31 -0
  43. package/dist/schemas/identity/staff-employment-history.schema.js.map +1 -0
  44. package/dist/schemas/identity/staff.schema.d.ts +482 -10
  45. package/dist/schemas/identity/staff.schema.d.ts.map +1 -1
  46. package/dist/schemas/identity/staff.schema.js +15 -1
  47. package/dist/schemas/identity/staff.schema.js.map +1 -1
  48. package/dist/schemas/identity/state-education-agency.schema.d.ts +511 -0
  49. package/dist/schemas/identity/state-education-agency.schema.d.ts.map +1 -0
  50. package/dist/schemas/identity/state-education-agency.schema.js +68 -0
  51. package/dist/schemas/identity/state-education-agency.schema.js.map +1 -0
  52. package/dist/schemas/identity/user.schema.d.ts +10 -10
  53. package/package.json +9 -5
@@ -557,8 +557,8 @@ export declare const updateAssignmentSchema: z.ZodObject<Omit<{
557
557
  learningStandardIds: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
558
558
  }, "classroomId">, "strip", z.ZodTypeAny, {
559
559
  status?: "archived" | "closed" | "draft" | "published" | undefined;
560
- description?: string | undefined;
561
560
  title?: string | undefined;
561
+ description?: string | undefined;
562
562
  gradingPeriodId?: string | undefined;
563
563
  categoryType?: "other" | "assignment" | "quiz" | "test" | "exam" | "project" | "homework" | "participation" | "lab" | "presentation" | undefined;
564
564
  isExtraCredit?: boolean | undefined;
@@ -610,8 +610,8 @@ export declare const updateAssignmentSchema: z.ZodObject<Omit<{
610
610
  learningStandardIds?: string[] | undefined;
611
611
  }, {
612
612
  status?: "archived" | "closed" | "draft" | "published" | undefined;
613
- description?: string | undefined;
614
613
  title?: string | undefined;
614
+ description?: string | undefined;
615
615
  gradingPeriodId?: string | undefined;
616
616
  categoryType?: "other" | "assignment" | "quiz" | "test" | "exam" | "project" | "homework" | "participation" | "lab" | "presentation" | undefined;
617
617
  isExtraCredit?: boolean | undefined;
@@ -817,9 +817,9 @@ export declare const assignmentResponseSchema: z.ZodObject<{
817
817
  createdAt: string;
818
818
  updatedAt: string;
819
819
  title: string;
820
+ assignmentId: string;
820
821
  classroomId: string;
821
822
  isExtraCredit: boolean;
822
- assignmentId: string;
823
823
  pointsPossible: number;
824
824
  assignedDate: string;
825
825
  dueDate: string;
@@ -882,9 +882,9 @@ export declare const assignmentResponseSchema: z.ZodObject<{
882
882
  createdAt: string;
883
883
  updatedAt: string;
884
884
  title: string;
885
+ assignmentId: string;
885
886
  classroomId: string;
886
887
  isExtraCredit: boolean;
887
- assignmentId: string;
888
888
  pointsPossible: number;
889
889
  assignedDate: string;
890
890
  dueDate: string;
@@ -1099,9 +1099,9 @@ export declare const assignmentListResponseSchema: z.ZodObject<{
1099
1099
  createdAt: string;
1100
1100
  updatedAt: string;
1101
1101
  title: string;
1102
+ assignmentId: string;
1102
1103
  classroomId: string;
1103
1104
  isExtraCredit: boolean;
1104
- assignmentId: string;
1105
1105
  pointsPossible: number;
1106
1106
  assignedDate: string;
1107
1107
  dueDate: string;
@@ -1164,9 +1164,9 @@ export declare const assignmentListResponseSchema: z.ZodObject<{
1164
1164
  createdAt: string;
1165
1165
  updatedAt: string;
1166
1166
  title: string;
1167
+ assignmentId: string;
1167
1168
  classroomId: string;
1168
1169
  isExtraCredit: boolean;
1169
- assignmentId: string;
1170
1170
  pointsPossible: number;
1171
1171
  assignedDate: string;
1172
1172
  dueDate: string;
@@ -1234,9 +1234,9 @@ export declare const assignmentListResponseSchema: z.ZodObject<{
1234
1234
  createdAt: string;
1235
1235
  updatedAt: string;
1236
1236
  title: string;
1237
+ assignmentId: string;
1237
1238
  classroomId: string;
1238
1239
  isExtraCredit: boolean;
1239
- assignmentId: string;
1240
1240
  pointsPossible: number;
1241
1241
  assignedDate: string;
1242
1242
  dueDate: string;
@@ -1304,9 +1304,9 @@ export declare const assignmentListResponseSchema: z.ZodObject<{
1304
1304
  createdAt: string;
1305
1305
  updatedAt: string;
1306
1306
  title: string;
1307
+ assignmentId: string;
1307
1308
  classroomId: string;
1308
1309
  isExtraCredit: boolean;
1309
- assignmentId: string;
1310
1310
  pointsPossible: number;
1311
1311
  assignedDate: string;
1312
1312
  dueDate: string;
@@ -1429,8 +1429,8 @@ export declare const studentSubmissionSchema: z.ZodObject<{
1429
1429
  submittedAt: z.ZodOptional<z.ZodString>;
1430
1430
  attemptNumber: z.ZodDefault<z.ZodNumber>;
1431
1431
  }, "strip", z.ZodTypeAny, {
1432
- studentId: string;
1433
1432
  assignmentId: string;
1433
+ studentId: string;
1434
1434
  attemptNumber: number;
1435
1435
  submittedAt?: string | undefined;
1436
1436
  attachments?: {
@@ -1444,8 +1444,8 @@ export declare const studentSubmissionSchema: z.ZodObject<{
1444
1444
  content?: string | undefined;
1445
1445
  externalUrl?: string | undefined;
1446
1446
  }, {
1447
- studentId: string;
1448
1447
  assignmentId: string;
1448
+ studentId: string;
1449
1449
  submittedAt?: string | undefined;
1450
1450
  attachments?: {
1451
1451
  name: string;
@@ -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
- }, "studentId" | "classroomId" | "assignmentId">, "strip", z.ZodTypeAny, {
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<{