@aibrains/shared-types 0.4.0 → 0.5.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.
@@ -2270,6 +2270,7 @@ export declare const createEnrollmentSchema: z.ZodObject<{
2270
2270
  primarySchool: boolean;
2271
2271
  repeatGradeIndicator: boolean;
2272
2272
  notes?: string | undefined;
2273
+ calendarCode?: string | undefined;
2273
2274
  homeroomId?: string | undefined;
2274
2275
  sectionId?: string | undefined;
2275
2276
  expectedGraduationDate?: string | undefined;
@@ -2280,7 +2281,6 @@ export declare const createEnrollmentSchema: z.ZodObject<{
2280
2281
  entryTypeDescriptor?: string | undefined;
2281
2282
  enrollmentTypeDescriptor?: string | undefined;
2282
2283
  residencyStatusDescriptor?: string | undefined;
2283
- calendarCode?: string | undefined;
2284
2284
  }, {
2285
2285
  schoolId: string;
2286
2286
  academicYearId: string;
@@ -2289,6 +2289,7 @@ export declare const createEnrollmentSchema: z.ZodObject<{
2289
2289
  gradeLevel: string;
2290
2290
  fullTimeEquivalency?: number | undefined;
2291
2291
  notes?: string | undefined;
2292
+ calendarCode?: string | undefined;
2292
2293
  homeroomId?: string | undefined;
2293
2294
  sectionId?: string | undefined;
2294
2295
  enrollmentType?: "new" | "transfer" | "returning" | "re_enrollment" | undefined;
@@ -2302,7 +2303,6 @@ export declare const createEnrollmentSchema: z.ZodObject<{
2302
2303
  residencyStatusDescriptor?: string | undefined;
2303
2304
  primarySchool?: boolean | undefined;
2304
2305
  repeatGradeIndicator?: boolean | undefined;
2305
- calendarCode?: string | undefined;
2306
2306
  }>;
2307
2307
  export type CreateEnrollmentDto = z.infer<typeof createEnrollmentSchema>;
2308
2308
  export declare const updateEnrollmentStatusSchema: z.ZodObject<{
@@ -2392,6 +2392,7 @@ export declare const enrollmentResponseSchema: z.ZodObject<{
2392
2392
  schoolName?: string | undefined;
2393
2393
  fullTimeEquivalency?: number | undefined;
2394
2394
  notes?: string | undefined;
2395
+ calendarCode?: string | undefined;
2395
2396
  academicYearName?: string | undefined;
2396
2397
  homeroomId?: string | undefined;
2397
2398
  homeroomName?: string | undefined;
@@ -2408,7 +2409,6 @@ export declare const enrollmentResponseSchema: z.ZodObject<{
2408
2409
  residencyStatusDescriptor?: string | undefined;
2409
2410
  primarySchool?: boolean | undefined;
2410
2411
  repeatGradeIndicator?: boolean | undefined;
2411
- calendarCode?: string | undefined;
2412
2412
  actualGraduationDate?: string | undefined;
2413
2413
  exitWithdrawTypeDescriptor?: string | undefined;
2414
2414
  }, {
@@ -2428,6 +2428,7 @@ export declare const enrollmentResponseSchema: z.ZodObject<{
2428
2428
  schoolName?: string | undefined;
2429
2429
  fullTimeEquivalency?: number | undefined;
2430
2430
  notes?: string | undefined;
2431
+ calendarCode?: string | undefined;
2431
2432
  academicYearName?: string | undefined;
2432
2433
  homeroomId?: string | undefined;
2433
2434
  homeroomName?: string | undefined;
@@ -2444,7 +2445,6 @@ export declare const enrollmentResponseSchema: z.ZodObject<{
2444
2445
  residencyStatusDescriptor?: string | undefined;
2445
2446
  primarySchool?: boolean | undefined;
2446
2447
  repeatGradeIndicator?: boolean | undefined;
2447
- calendarCode?: string | undefined;
2448
2448
  actualGraduationDate?: string | undefined;
2449
2449
  exitWithdrawTypeDescriptor?: string | undefined;
2450
2450
  }>;
@@ -2503,6 +2503,7 @@ export declare const enrollmentListResponseSchema: z.ZodObject<{
2503
2503
  schoolName?: string | undefined;
2504
2504
  fullTimeEquivalency?: number | undefined;
2505
2505
  notes?: string | undefined;
2506
+ calendarCode?: string | undefined;
2506
2507
  academicYearName?: string | undefined;
2507
2508
  homeroomId?: string | undefined;
2508
2509
  homeroomName?: string | undefined;
@@ -2519,7 +2520,6 @@ export declare const enrollmentListResponseSchema: z.ZodObject<{
2519
2520
  residencyStatusDescriptor?: string | undefined;
2520
2521
  primarySchool?: boolean | undefined;
2521
2522
  repeatGradeIndicator?: boolean | undefined;
2522
- calendarCode?: string | undefined;
2523
2523
  actualGraduationDate?: string | undefined;
2524
2524
  exitWithdrawTypeDescriptor?: string | undefined;
2525
2525
  }, {
@@ -2539,6 +2539,7 @@ export declare const enrollmentListResponseSchema: z.ZodObject<{
2539
2539
  schoolName?: string | undefined;
2540
2540
  fullTimeEquivalency?: number | undefined;
2541
2541
  notes?: string | undefined;
2542
+ calendarCode?: string | undefined;
2542
2543
  academicYearName?: string | undefined;
2543
2544
  homeroomId?: string | undefined;
2544
2545
  homeroomName?: string | undefined;
@@ -2555,7 +2556,6 @@ export declare const enrollmentListResponseSchema: z.ZodObject<{
2555
2556
  residencyStatusDescriptor?: string | undefined;
2556
2557
  primarySchool?: boolean | undefined;
2557
2558
  repeatGradeIndicator?: boolean | undefined;
2558
- calendarCode?: string | undefined;
2559
2559
  actualGraduationDate?: string | undefined;
2560
2560
  exitWithdrawTypeDescriptor?: string | undefined;
2561
2561
  }>, "many">;
@@ -2580,6 +2580,7 @@ export declare const enrollmentListResponseSchema: z.ZodObject<{
2580
2580
  schoolName?: string | undefined;
2581
2581
  fullTimeEquivalency?: number | undefined;
2582
2582
  notes?: string | undefined;
2583
+ calendarCode?: string | undefined;
2583
2584
  academicYearName?: string | undefined;
2584
2585
  homeroomId?: string | undefined;
2585
2586
  homeroomName?: string | undefined;
@@ -2596,7 +2597,6 @@ export declare const enrollmentListResponseSchema: z.ZodObject<{
2596
2597
  residencyStatusDescriptor?: string | undefined;
2597
2598
  primarySchool?: boolean | undefined;
2598
2599
  repeatGradeIndicator?: boolean | undefined;
2599
- calendarCode?: string | undefined;
2600
2600
  actualGraduationDate?: string | undefined;
2601
2601
  exitWithdrawTypeDescriptor?: string | undefined;
2602
2602
  }[];
@@ -2621,6 +2621,7 @@ export declare const enrollmentListResponseSchema: z.ZodObject<{
2621
2621
  schoolName?: string | undefined;
2622
2622
  fullTimeEquivalency?: number | undefined;
2623
2623
  notes?: string | undefined;
2624
+ calendarCode?: string | undefined;
2624
2625
  academicYearName?: string | undefined;
2625
2626
  homeroomId?: string | undefined;
2626
2627
  homeroomName?: string | undefined;
@@ -2637,7 +2638,6 @@ export declare const enrollmentListResponseSchema: z.ZodObject<{
2637
2638
  residencyStatusDescriptor?: string | undefined;
2638
2639
  primarySchool?: boolean | undefined;
2639
2640
  repeatGradeIndicator?: boolean | undefined;
2640
- calendarCode?: string | undefined;
2641
2641
  actualGraduationDate?: string | undefined;
2642
2642
  exitWithdrawTypeDescriptor?: string | undefined;
2643
2643
  }[];
@@ -0,0 +1,186 @@
1
+ /**
2
+ * Academic Session Schemas - Identity Service
3
+ *
4
+ * Zod schemas for Ed-Fi Session entity (named AcademicSession to avoid
5
+ * collision with auth Session entity).
6
+ * Ed-Fi: Session models terms/semesters within an academic year.
7
+ */
8
+ import { z } from 'zod';
9
+ /**
10
+ * Term descriptor (Ed-Fi: termDescriptor)
11
+ */
12
+ export declare const termDescriptorSchema: z.ZodEnum<["fall_semester", "spring_semester", "year_round", "summer", "first_quarter", "second_quarter", "third_quarter", "fourth_quarter"]>;
13
+ export type TermDescriptor = z.infer<typeof termDescriptorSchema>;
14
+ export declare const createAcademicSessionSchema: z.ZodEffects<z.ZodObject<{
15
+ academicYearId: z.ZodString;
16
+ sessionName: z.ZodString;
17
+ beginDate: z.ZodString;
18
+ endDate: z.ZodString;
19
+ termDescriptor: z.ZodEnum<["fall_semester", "spring_semester", "year_round", "summer", "first_quarter", "second_quarter", "third_quarter", "fourth_quarter"]>;
20
+ gradingPeriodIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
21
+ }, "strip", z.ZodTypeAny, {
22
+ endDate: string;
23
+ beginDate: string;
24
+ academicYearId: string;
25
+ sessionName: string;
26
+ termDescriptor: "fall_semester" | "spring_semester" | "year_round" | "summer" | "first_quarter" | "second_quarter" | "third_quarter" | "fourth_quarter";
27
+ gradingPeriodIds?: string[] | undefined;
28
+ }, {
29
+ endDate: string;
30
+ beginDate: string;
31
+ academicYearId: string;
32
+ sessionName: string;
33
+ termDescriptor: "fall_semester" | "spring_semester" | "year_round" | "summer" | "first_quarter" | "second_quarter" | "third_quarter" | "fourth_quarter";
34
+ gradingPeriodIds?: string[] | undefined;
35
+ }>, {
36
+ endDate: string;
37
+ beginDate: string;
38
+ academicYearId: string;
39
+ sessionName: string;
40
+ termDescriptor: "fall_semester" | "spring_semester" | "year_round" | "summer" | "first_quarter" | "second_quarter" | "third_quarter" | "fourth_quarter";
41
+ gradingPeriodIds?: string[] | undefined;
42
+ }, {
43
+ endDate: string;
44
+ beginDate: string;
45
+ academicYearId: string;
46
+ sessionName: string;
47
+ termDescriptor: "fall_semester" | "spring_semester" | "year_round" | "summer" | "first_quarter" | "second_quarter" | "third_quarter" | "fourth_quarter";
48
+ gradingPeriodIds?: string[] | undefined;
49
+ }>;
50
+ export type CreateAcademicSessionDto = z.infer<typeof createAcademicSessionSchema>;
51
+ export declare const updateAcademicSessionSchema: z.ZodObject<{
52
+ sessionName: z.ZodOptional<z.ZodString>;
53
+ beginDate: z.ZodOptional<z.ZodString>;
54
+ endDate: z.ZodOptional<z.ZodString>;
55
+ termDescriptor: z.ZodOptional<z.ZodEnum<["fall_semester", "spring_semester", "year_round", "summer", "first_quarter", "second_quarter", "third_quarter", "fourth_quarter"]>>;
56
+ gradingPeriodIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
57
+ }, "strip", z.ZodTypeAny, {
58
+ endDate?: string | undefined;
59
+ beginDate?: string | undefined;
60
+ sessionName?: string | undefined;
61
+ termDescriptor?: "fall_semester" | "spring_semester" | "year_round" | "summer" | "first_quarter" | "second_quarter" | "third_quarter" | "fourth_quarter" | undefined;
62
+ gradingPeriodIds?: string[] | undefined;
63
+ }, {
64
+ endDate?: string | undefined;
65
+ beginDate?: string | undefined;
66
+ sessionName?: string | undefined;
67
+ termDescriptor?: "fall_semester" | "spring_semester" | "year_round" | "summer" | "first_quarter" | "second_quarter" | "third_quarter" | "fourth_quarter" | undefined;
68
+ gradingPeriodIds?: string[] | undefined;
69
+ }>;
70
+ export type UpdateAcademicSessionDto = z.infer<typeof updateAcademicSessionSchema>;
71
+ export declare const academicSessionResponseSchema: z.ZodObject<{
72
+ academicSessionId: z.ZodString;
73
+ schoolId: z.ZodString;
74
+ academicYearId: z.ZodString;
75
+ sessionName: z.ZodString;
76
+ beginDate: z.ZodString;
77
+ endDate: z.ZodString;
78
+ totalInstructionalDays: z.ZodNumber;
79
+ termDescriptor: z.ZodEnum<["fall_semester", "spring_semester", "year_round", "summer", "first_quarter", "second_quarter", "third_quarter", "fourth_quarter"]>;
80
+ gradingPeriodIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
81
+ createdAt: z.ZodString;
82
+ updatedAt: z.ZodString;
83
+ }, "strip", z.ZodTypeAny, {
84
+ createdAt: string;
85
+ updatedAt: string;
86
+ endDate: string;
87
+ schoolId: string;
88
+ academicSessionId: string;
89
+ beginDate: string;
90
+ academicYearId: string;
91
+ sessionName: string;
92
+ termDescriptor: "fall_semester" | "spring_semester" | "year_round" | "summer" | "first_quarter" | "second_quarter" | "third_quarter" | "fourth_quarter";
93
+ totalInstructionalDays: number;
94
+ gradingPeriodIds?: string[] | undefined;
95
+ }, {
96
+ createdAt: string;
97
+ updatedAt: string;
98
+ endDate: string;
99
+ schoolId: string;
100
+ academicSessionId: string;
101
+ beginDate: string;
102
+ academicYearId: string;
103
+ sessionName: string;
104
+ termDescriptor: "fall_semester" | "spring_semester" | "year_round" | "summer" | "first_quarter" | "second_quarter" | "third_quarter" | "fourth_quarter";
105
+ totalInstructionalDays: number;
106
+ gradingPeriodIds?: string[] | undefined;
107
+ }>;
108
+ export type AcademicSessionResponseDto = z.infer<typeof academicSessionResponseSchema>;
109
+ export declare const academicSessionListResponseSchema: z.ZodObject<{
110
+ items: z.ZodArray<z.ZodObject<{
111
+ academicSessionId: z.ZodString;
112
+ schoolId: z.ZodString;
113
+ academicYearId: z.ZodString;
114
+ sessionName: z.ZodString;
115
+ beginDate: z.ZodString;
116
+ endDate: z.ZodString;
117
+ totalInstructionalDays: z.ZodNumber;
118
+ termDescriptor: z.ZodEnum<["fall_semester", "spring_semester", "year_round", "summer", "first_quarter", "second_quarter", "third_quarter", "fourth_quarter"]>;
119
+ gradingPeriodIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
120
+ createdAt: z.ZodString;
121
+ updatedAt: z.ZodString;
122
+ }, "strip", z.ZodTypeAny, {
123
+ createdAt: string;
124
+ updatedAt: string;
125
+ endDate: string;
126
+ schoolId: string;
127
+ academicSessionId: string;
128
+ beginDate: string;
129
+ academicYearId: string;
130
+ sessionName: string;
131
+ termDescriptor: "fall_semester" | "spring_semester" | "year_round" | "summer" | "first_quarter" | "second_quarter" | "third_quarter" | "fourth_quarter";
132
+ totalInstructionalDays: number;
133
+ gradingPeriodIds?: string[] | undefined;
134
+ }, {
135
+ createdAt: string;
136
+ updatedAt: string;
137
+ endDate: string;
138
+ schoolId: string;
139
+ academicSessionId: string;
140
+ beginDate: string;
141
+ academicYearId: string;
142
+ sessionName: string;
143
+ termDescriptor: "fall_semester" | "spring_semester" | "year_round" | "summer" | "first_quarter" | "second_quarter" | "third_quarter" | "fourth_quarter";
144
+ totalInstructionalDays: number;
145
+ gradingPeriodIds?: string[] | undefined;
146
+ }>, "many">;
147
+ lastEvaluatedKey: z.ZodOptional<z.ZodString>;
148
+ hasMore: z.ZodBoolean;
149
+ total: z.ZodOptional<z.ZodNumber>;
150
+ }, "strip", z.ZodTypeAny, {
151
+ items: {
152
+ createdAt: string;
153
+ updatedAt: string;
154
+ endDate: string;
155
+ schoolId: string;
156
+ academicSessionId: string;
157
+ beginDate: string;
158
+ academicYearId: string;
159
+ sessionName: string;
160
+ termDescriptor: "fall_semester" | "spring_semester" | "year_round" | "summer" | "first_quarter" | "second_quarter" | "third_quarter" | "fourth_quarter";
161
+ totalInstructionalDays: number;
162
+ gradingPeriodIds?: string[] | undefined;
163
+ }[];
164
+ hasMore: boolean;
165
+ lastEvaluatedKey?: string | undefined;
166
+ total?: number | undefined;
167
+ }, {
168
+ items: {
169
+ createdAt: string;
170
+ updatedAt: string;
171
+ endDate: string;
172
+ schoolId: string;
173
+ academicSessionId: string;
174
+ beginDate: string;
175
+ academicYearId: string;
176
+ sessionName: string;
177
+ termDescriptor: "fall_semester" | "spring_semester" | "year_round" | "summer" | "first_quarter" | "second_quarter" | "third_quarter" | "fourth_quarter";
178
+ totalInstructionalDays: number;
179
+ gradingPeriodIds?: string[] | undefined;
180
+ }[];
181
+ hasMore: boolean;
182
+ lastEvaluatedKey?: string | undefined;
183
+ total?: number | undefined;
184
+ }>;
185
+ export type AcademicSessionListResponseDto = z.infer<typeof academicSessionListResponseSchema>;
186
+ //# sourceMappingURL=academic-session.schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"academic-session.schema.d.ts","sourceRoot":"","sources":["../../../src/schemas/identity/academic-session.schema.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB;;GAEG;AACH,eAAO,MAAM,oBAAoB,+IAS/B,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAMlE,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUvC,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAMnF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;EAMtC,CAAC;AAEH,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAMnF,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYxC,CAAC;AAEH,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAMvF,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA+D,CAAC;AAC9G,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAC"}
@@ -0,0 +1,70 @@
1
+ "use strict";
2
+ /**
3
+ * Academic Session Schemas - Identity Service
4
+ *
5
+ * Zod schemas for Ed-Fi Session entity (named AcademicSession to avoid
6
+ * collision with auth Session entity).
7
+ * Ed-Fi: Session models terms/semesters within an academic year.
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.academicSessionListResponseSchema = exports.academicSessionResponseSchema = exports.updateAcademicSessionSchema = exports.createAcademicSessionSchema = exports.termDescriptorSchema = void 0;
11
+ const zod_1 = require("zod");
12
+ const common_1 = require("../common");
13
+ // ============================================
14
+ // Enums (Ed-Fi aligned)
15
+ // ============================================
16
+ /**
17
+ * Term descriptor (Ed-Fi: termDescriptor)
18
+ */
19
+ exports.termDescriptorSchema = zod_1.z.enum([
20
+ 'fall_semester',
21
+ 'spring_semester',
22
+ 'year_round',
23
+ 'summer',
24
+ 'first_quarter',
25
+ 'second_quarter',
26
+ 'third_quarter',
27
+ 'fourth_quarter',
28
+ ]);
29
+ // ============================================
30
+ // Create Academic Session Schema
31
+ // ============================================
32
+ exports.createAcademicSessionSchema = zod_1.z.object({
33
+ academicYearId: zod_1.z.string().uuid(),
34
+ sessionName: zod_1.z.string().min(2).max(100), // e.g., "Fall 2026"
35
+ beginDate: zod_1.z.string().regex(/^\d{4}-\d{2}-\d{2}$/, 'Must be YYYY-MM-DD format'),
36
+ endDate: zod_1.z.string().regex(/^\d{4}-\d{2}-\d{2}$/, 'Must be YYYY-MM-DD format'),
37
+ termDescriptor: exports.termDescriptorSchema,
38
+ gradingPeriodIds: zod_1.z.array(zod_1.z.string().uuid()).optional(),
39
+ }).refine(data => new Date(data.endDate) > new Date(data.beginDate), { message: 'End date must be after begin date', path: ['endDate'] });
40
+ // ============================================
41
+ // Update Academic Session Schema
42
+ // ============================================
43
+ exports.updateAcademicSessionSchema = zod_1.z.object({
44
+ sessionName: zod_1.z.string().min(2).max(100).optional(),
45
+ beginDate: zod_1.z.string().regex(/^\d{4}-\d{2}-\d{2}$/).optional(),
46
+ endDate: zod_1.z.string().regex(/^\d{4}-\d{2}-\d{2}$/).optional(),
47
+ termDescriptor: exports.termDescriptorSchema.optional(),
48
+ gradingPeriodIds: zod_1.z.array(zod_1.z.string().uuid()).optional(),
49
+ });
50
+ // ============================================
51
+ // Academic Session Response Schema
52
+ // ============================================
53
+ exports.academicSessionResponseSchema = zod_1.z.object({
54
+ academicSessionId: zod_1.z.string().uuid(),
55
+ schoolId: zod_1.z.string().uuid(),
56
+ academicYearId: zod_1.z.string().uuid(),
57
+ sessionName: zod_1.z.string(),
58
+ beginDate: zod_1.z.string(),
59
+ endDate: zod_1.z.string(),
60
+ totalInstructionalDays: zod_1.z.number().int(),
61
+ termDescriptor: exports.termDescriptorSchema,
62
+ gradingPeriodIds: zod_1.z.array(zod_1.z.string().uuid()).optional(),
63
+ createdAt: common_1.isoDateSchema,
64
+ updatedAt: common_1.isoDateSchema,
65
+ });
66
+ // ============================================
67
+ // Academic Session List Response
68
+ // ============================================
69
+ exports.academicSessionListResponseSchema = (0, common_1.createPaginatedResponseSchema)(exports.academicSessionResponseSchema);
70
+ //# sourceMappingURL=academic-session.schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"academic-session.schema.js","sourceRoot":"","sources":["../../../src/schemas/identity/academic-session.schema.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEH,6BAAwB;AACxB,sCAAyE;AAEzE,+CAA+C;AAC/C,wBAAwB;AACxB,+CAA+C;AAE/C;;GAEG;AACU,QAAA,oBAAoB,GAAG,OAAC,CAAC,IAAI,CAAC;IACzC,eAAe;IACf,iBAAiB;IACjB,YAAY;IACZ,QAAQ;IACR,eAAe;IACf,gBAAgB;IAChB,eA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qB,CAAC,CAAC,QAAQ,EAAE;IAC3D,cAAc,EAAE,4BAAoB,CAAC,QAAQ,EAAE;IAC/C,gBAAgB,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,CAAC,QAAQ,EAAE;CACxD,CAAC,CAAC;AAIH,+CAA+C;AAC/C,mCAAmC;AACnC,+CAA+C;AAElC,QAAA,6BAA6B,GAAG,OAAC,CAAC,MAAM,CAAC;IACpD,iBAAiB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACpC,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC3B,cAAc,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACjC,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE;IACvB,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE;IACrB,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE;IACnB,sBAAsB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACxC,cAAc,EAAE,4BAAoB;IACpC,gBAAgB,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,CAAC,QAAQ,EAAE;IACvD,SAAS,EAAE,sBAAa;IACxB,SAAS,EAAE,sBAAa;CACzB,CAAC,CAAC;AAIH,+CAA+C;AAC/C,iCAAiC;AACjC,+CAA+C;AAElC,QAAA,iCAAiC,GAAG,IAAA,sCAA6B,EAAC,qCAA6B,CAAC,CAAC"}
@@ -185,6 +185,7 @@ export declare const createGradingPeriodSchema: z.ZodObject<{
185
185
  endDate: z.ZodString;
186
186
  gradesDueDate: z.ZodOptional<z.ZodString>;
187
187
  reportCardDate: z.ZodOptional<z.ZodString>;
188
+ academicSessionId: z.ZodOptional<z.ZodString>;
188
189
  }, "strip", z.ZodTypeAny, {
189
190
  startDate: string;
190
191
  endDate: string;
@@ -194,6 +195,7 @@ export declare const createGradingPeriodSchema: z.ZodObject<{
194
195
  shortName?: string | undefined;
195
196
  gradesDueDate?: string | undefined;
196
197
  reportCardDate?: string | undefined;
198
+ academicSessionId?: string | undefined;
197
199
  }, {
198
200
  startDate: string;
199
201
  endDate: string;
@@ -203,6 +205,7 @@ export declare const createGradingPeriodSchema: z.ZodObject<{
203
205
  shortName?: string | undefined;
204
206
  gradesDueDate?: string | undefined;
205
207
  reportCardDate?: string | undefined;
208
+ academicSessionId?: string | undefined;
206
209
  }>;
207
210
  export type CreateGradingPeriodDto = z.infer<typeof createGradingPeriodSchema>;
208
211
  export declare const updateGradingPeriodSchema: z.ZodObject<{
@@ -213,6 +216,7 @@ export declare const updateGradingPeriodSchema: z.ZodObject<{
213
216
  gradesDueDate: z.ZodOptional<z.ZodString>;
214
217
  reportCardDate: z.ZodOptional<z.ZodString>;
215
218
  isActive: z.ZodOptional<z.ZodBoolean>;
219
+ academicSessionId: z.ZodOptional<z.ZodString>;
216
220
  }, "strip", z.ZodTypeAny, {
217
221
  startDate?: string | undefined;
218
222
  endDate?: string | undefined;
@@ -220,6 +224,7 @@ export declare const updateGradingPeriodSchema: z.ZodObject<{
220
224
  shortName?: string | undefined;
221
225
  gradesDueDate?: string | undefined;
222
226
  reportCardDate?: string | undefined;
227
+ academicSessionId?: string | undefined;
223
228
  isActive?: boolean | undefined;
224
229
  }, {
225
230
  startDate?: string | undefined;
@@ -228,6 +233,7 @@ export declare const updateGradingPeriodSchema: z.ZodObject<{
228
233
  shortName?: string | undefined;
229
234
  gradesDueDate?: string | undefined;
230
235
  reportCardDate?: string | undefined;
236
+ academicSessionId?: string | undefined;
231
237
  isActive?: boolean | undefined;
232
238
  }>;
233
239
  export type UpdateGradingPeriodDto = z.infer<typeof updateGradingPeriodSchema>;
@@ -244,6 +250,7 @@ export declare const gradingPeriodResponseSchema: z.ZodObject<{
244
250
  gradesDueDate: z.ZodOptional<z.ZodString>;
245
251
  reportCardDate: z.ZodOptional<z.ZodString>;
246
252
  isActive: z.ZodBoolean;
253
+ academicSessionId: z.ZodOptional<z.ZodString>;
247
254
  createdAt: z.ZodString;
248
255
  updatedAt: z.ZodString;
249
256
  }, "strip", z.ZodTypeAny, {
@@ -261,6 +268,7 @@ export declare const gradingPeriodResponseSchema: z.ZodObject<{
261
268
  shortName?: string | undefined;
262
269
  gradesDueDate?: string | undefined;
263
270
  reportCardDate?: string | undefined;
271
+ academicSessionId?: string | undefined;
264
272
  }, {
265
273
  createdAt: string;
266
274
  updatedAt: string;
@@ -276,6 +284,7 @@ export declare const gradingPeriodResponseSchema: z.ZodObject<{
276
284
  shortName?: string | undefined;
277
285
  gradesDueDate?: string | undefined;
278
286
  reportCardDate?: string | undefined;
287
+ academicSessionId?: string | undefined;
279
288
  }>;
280
289
  export type GradingPeriodResponseDto = z.infer<typeof gradingPeriodResponseSchema>;
281
290
  export declare const gradingPeriodListResponseSchema: z.ZodObject<{
@@ -292,6 +301,7 @@ export declare const gradingPeriodListResponseSchema: z.ZodObject<{
292
301
  gradesDueDate: z.ZodOptional<z.ZodString>;
293
302
  reportCardDate: z.ZodOptional<z.ZodString>;
294
303
  isActive: z.ZodBoolean;
304
+ academicSessionId: z.ZodOptional<z.ZodString>;
295
305
  createdAt: z.ZodString;
296
306
  updatedAt: z.ZodString;
297
307
  }, "strip", z.ZodTypeAny, {
@@ -309,6 +319,7 @@ export declare const gradingPeriodListResponseSchema: z.ZodObject<{
309
319
  shortName?: string | undefined;
310
320
  gradesDueDate?: string | undefined;
311
321
  reportCardDate?: string | undefined;
322
+ academicSessionId?: string | undefined;
312
323
  }, {
313
324
  createdAt: string;
314
325
  updatedAt: string;
@@ -324,6 +335,7 @@ export declare const gradingPeriodListResponseSchema: z.ZodObject<{
324
335
  shortName?: string | undefined;
325
336
  gradesDueDate?: string | undefined;
326
337
  reportCardDate?: string | undefined;
338
+ academicSessionId?: string | undefined;
327
339
  }>, "many">;
328
340
  lastEvaluatedKey: z.ZodOptional<z.ZodString>;
329
341
  hasMore: z.ZodBoolean;
@@ -344,6 +356,7 @@ export declare const gradingPeriodListResponseSchema: z.ZodObject<{
344
356
  shortName?: string | undefined;
345
357
  gradesDueDate?: string | undefined;
346
358
  reportCardDate?: string | undefined;
359
+ academicSessionId?: string | undefined;
347
360
  }[];
348
361
  hasMore: boolean;
349
362
  lastEvaluatedKey?: string | undefined;
@@ -364,6 +377,7 @@ export declare const gradingPeriodListResponseSchema: z.ZodObject<{
364
377
  shortName?: string | undefined;
365
378
  gradesDueDate?: string | undefined;
366
379
  reportCardDate?: string | undefined;
380
+ academicSessionId?: string | undefined;
367
381
  }[];
368
382
  hasMore: boolean;
369
383
  lastEvaluatedKey?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"academic-year.schema.d.ts","sourceRoot":"","sources":["../../../src/schemas/identity/academic-year.schema.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,eAAO,MAAM,wBAAwB,4DAA0D,CAAC;AAChG,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E,eAAO,MAAM,cAAc,yDAAuD,CAAC;AACnF,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAEtD,eAAO,MAAM,iBAAiB,gFAM5B,CAAC;AACH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAM5D,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;EAOnC,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAM7E,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;EAMnC,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,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M,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEnF,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA6D,CAAC;AAC1G,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC;AAM3F,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;EAO9B,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEnE,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEnC,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE7E,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAWhC,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEvE,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAuD,CAAC;AAC9F,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC"}
@@ -80,6 +80,7 @@ exports.createGradingPeriodSchema = zod_1.z.object({
80
80
  endDate: zod_1.z.string().regex(/^\d{4}-\d{2}-\d{2}$/),
81
81
  gradesDueDate: zod_1.z.string().regex(/^\d{4}-\d{2}-\d{2}$/).optional(),
82
82
  reportCardDate: zod_1.z.string().regex(/^\d{4}-\d{2}-\d{2}$/).optional(),
83
+ academicSessionId: zod_1.z.string().uuid().optional(), // Link to AcademicSession (Ed-Fi)
83
84
  });
84
85
  exports.updateGradingPeriodSchema = zod_1.z.object({
85
86
  name: zod_1.z.string().min(2).max(50).optional(),
@@ -89,6 +90,7 @@ exports.updateGradingPeriodSchema = zod_1.z.object({
89
90
  gradesDueDate: zod_1.z.string().regex(/^\d{4}-\d{2}-\d{2}$/).optional(),
90
91
  reportCardDate: zod_1.z.string().regex(/^\d{4}-\d{2}-\d{2}$/).optional(),
91
92
  isActive: zod_1.z.boolean().optional(),
93
+ academicSessionId: zod_1.z.string().uuid().optional(), // Link to AcademicSession (Ed-Fi)
92
94
  });
93
95
  exports.gradingPeriodResponseSchema = zod_1.z.object({
94
96
  termId: zod_1.z.string(),
@@ -103,6 +105,7 @@ exports.gradingPeriodResponseSchema = zod_1.z.object({
103
105
  gradesDueDate: zod_1.z.string().optional(),
104
106
  reportCardDate: zod_1.z.string().optional(),
105
107
  isActive: zod_1.z.boolean(),
108
+ academicSessionId: zod_1.z.string().uuid().optional(),
106
109
  createdAt: common_1.isoDateSchema,
107
110
  updatedAt: common_1.isoDateSchema,
108
111
  });
@@ -1 +1 @@
1
- {"version":3,"file":"academic-year.schema.js","sourceRoot":"","sources":["../../../src/schemas/identity/academic-year.schema.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEH,6BAAwB;AACxB,sCAAyE;AACzE,mDAA6D;AAE7D,+CAA+C;AAC/C,QAAQ;AACR,+CAA+C;AAElC,QAAA,wBAAwB,GAAG,OAAC,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,QAAQ,EAAE,WAAW,EAAE,UAAU,CAAC,CAAC,CAAC;AAGnF,QAAA,cAAc,GAAG,OAAC,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,CAAC,CAAC,CAAC;AAGtE,QAAA,iBAAiB,GAAG,OAAC,CAAC,IAAI,CAAC;IACtC,SAAS;IACT,OAAO;IACP,QAA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AC3D,WAAW,EAAE,yBAAiB;IAC9B,eAAe,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE;IACrD,YAAY,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE;CACnD,CAAC,CAAC;AAIU,QAAA,wBAAwB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/C,QAAQ,EAAE,OAAC,CAAC,KAAK,CAAC,2BAAmB,CAAC;CACvC,CAAC,CAAC;AAIU,QAAA,qBAAqB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC5C,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE;IACrB,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE;IAClB,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE;IACpB,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,WAAW,EAAE,yBAAiB;IAC9B,eAAe,EAAE,OAAC,CAAC,OAAO,EAAE;IAC5B,YAAY,EAAE,OAAC,CAAC,OAAO,EAAE;IACzB,SAAS,EAAE,sBAAa;CACzB,CAAC,CAAC;AAIU,QAAA,yBAAyB,GAAG,IAAA,sCAA6B,EAAC,6BAAqB,CAAC,CAAC"}
@@ -56,6 +56,7 @@ export declare const calendarDateSchema: z.ZodObject<{
56
56
  endTime?: string | undefined;
57
57
  isAllDay?: boolean | undefined;
58
58
  }>, "many">;
59
+ calendarId: z.ZodOptional<z.ZodString>;
59
60
  isInstructionalDay: z.ZodBoolean;
60
61
  isHoliday: z.ZodDefault<z.ZodBoolean>;
61
62
  isWeekend: z.ZodOptional<z.ZodBoolean>;
@@ -78,6 +79,7 @@ export declare const calendarDateSchema: z.ZodObject<{
78
79
  notes?: string | undefined;
79
80
  bellScheduleName?: string | undefined;
80
81
  bellScheduleId?: string | undefined;
82
+ calendarId?: string | undefined;
81
83
  isWeekend?: boolean | undefined;
82
84
  gradingPeriodId?: string | undefined;
83
85
  gradingPeriodName?: string | undefined;
@@ -94,6 +96,7 @@ export declare const calendarDateSchema: z.ZodObject<{
94
96
  notes?: string | undefined;
95
97
  bellScheduleName?: string | undefined;
96
98
  bellScheduleId?: string | undefined;
99
+ calendarId?: string | undefined;
97
100
  isHoliday?: boolean | undefined;
98
101
  isWeekend?: boolean | undefined;
99
102
  gradingPeriodId?: string | undefined;
@@ -121,6 +124,7 @@ export declare const createCalendarDateSchema: z.ZodObject<{
121
124
  endTime?: string | undefined;
122
125
  isAllDay?: boolean | undefined;
123
126
  }>, "many">;
127
+ calendarId: z.ZodOptional<z.ZodString>;
124
128
  isInstructionalDay: z.ZodBoolean;
125
129
  isHoliday: z.ZodDefault<z.ZodBoolean>;
126
130
  isWeekend: z.ZodOptional<z.ZodBoolean>;
@@ -143,6 +147,7 @@ export declare const createCalendarDateSchema: z.ZodObject<{
143
147
  notes?: string | undefined;
144
148
  bellScheduleName?: string | undefined;
145
149
  bellScheduleId?: string | undefined;
150
+ calendarId?: string | undefined;
146
151
  isWeekend?: boolean | undefined;
147
152
  gradingPeriodId?: string | undefined;
148
153
  gradingPeriodName?: string | undefined;
@@ -159,6 +164,7 @@ export declare const createCalendarDateSchema: z.ZodObject<{
159
164
  notes?: string | undefined;
160
165
  bellScheduleName?: string | undefined;
161
166
  bellScheduleId?: string | undefined;
167
+ calendarId?: string | undefined;
162
168
  isHoliday?: boolean | undefined;
163
169
  isWeekend?: boolean | undefined;
164
170
  gradingPeriodId?: string | undefined;
@@ -186,6 +192,7 @@ export declare const updateCalendarDateSchema: z.ZodObject<Omit<{
186
192
  endTime?: string | undefined;
187
193
  isAllDay?: boolean | undefined;
188
194
  }>, "many">>;
195
+ calendarId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
189
196
  isInstructionalDay: z.ZodOptional<z.ZodBoolean>;
190
197
  isHoliday: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
191
198
  isWeekend: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
@@ -198,6 +205,7 @@ export declare const updateCalendarDateSchema: z.ZodObject<Omit<{
198
205
  notes?: string | undefined;
199
206
  bellScheduleName?: string | undefined;
200
207
  bellScheduleId?: string | undefined;
208
+ calendarId?: string | undefined;
201
209
  calendarEvents?: {
202
210
  eventType: "break" | "other" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day";
203
211
  isAllDay: boolean;
@@ -214,6 +222,7 @@ export declare const updateCalendarDateSchema: z.ZodObject<Omit<{
214
222
  notes?: string | undefined;
215
223
  bellScheduleName?: string | undefined;
216
224
  bellScheduleId?: string | undefined;
225
+ calendarId?: string | undefined;
217
226
  calendarEvents?: {
218
227
  eventType: "break" | "other" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day";
219
228
  description?: string | undefined;
@@ -253,6 +262,7 @@ export declare const calendarDateResponseSchema: z.ZodObject<{
253
262
  endTime?: string | undefined;
254
263
  isAllDay?: boolean | undefined;
255
264
  }>, "many">;
265
+ calendarId: z.ZodOptional<z.ZodString>;
256
266
  isInstructionalDay: z.ZodBoolean;
257
267
  isHoliday: z.ZodBoolean;
258
268
  isWeekend: z.ZodBoolean;
@@ -273,6 +283,7 @@ export declare const calendarDateResponseSchema: z.ZodObject<{
273
283
  date: string;
274
284
  schoolId: string;
275
285
  dayOfWeek: "sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday";
286
+ academicYearId: string;
276
287
  calendarEvents: {
277
288
  eventType: "break" | "other" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day";
278
289
  isAllDay: boolean;
@@ -284,10 +295,10 @@ export declare const calendarDateResponseSchema: z.ZodObject<{
284
295
  isHoliday: boolean;
285
296
  isWeekend: boolean;
286
297
  calendarDateId: string;
287
- academicYearId: string;
288
298
  notes?: string | undefined;
289
299
  bellScheduleName?: string | undefined;
290
300
  bellScheduleId?: string | undefined;
301
+ calendarId?: string | undefined;
291
302
  gradingPeriodId?: string | undefined;
292
303
  gradingPeriodName?: string | undefined;
293
304
  dayNumber?: number | undefined;
@@ -299,6 +310,7 @@ export declare const calendarDateResponseSchema: z.ZodObject<{
299
310
  date: string;
300
311
  schoolId: string;
301
312
  dayOfWeek: "sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday";
313
+ academicYearId: string;
302
314
  calendarEvents: {
303
315
  eventType: "break" | "other" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day";
304
316
  description?: string | undefined;
@@ -310,10 +322,10 @@ export declare const calendarDateResponseSchema: z.ZodObject<{
310
322
  isHoliday: boolean;
311
323
  isWeekend: boolean;
312
324
  calendarDateId: string;
313
- academicYearId: string;
314
325
  notes?: string | undefined;
315
326
  bellScheduleName?: string | undefined;
316
327
  bellScheduleId?: string | undefined;
328
+ calendarId?: string | undefined;
317
329
  gradingPeriodId?: string | undefined;
318
330
  gradingPeriodName?: string | undefined;
319
331
  dayNumber?: number | undefined;
@@ -346,6 +358,7 @@ export declare const calendarDateListResponseSchema: z.ZodObject<{
346
358
  endTime?: string | undefined;
347
359
  isAllDay?: boolean | undefined;
348
360
  }>, "many">;
361
+ calendarId: z.ZodOptional<z.ZodString>;
349
362
  isInstructionalDay: z.ZodBoolean;
350
363
  isHoliday: z.ZodBoolean;
351
364
  isWeekend: z.ZodBoolean;
@@ -366,6 +379,7 @@ export declare const calendarDateListResponseSchema: z.ZodObject<{
366
379
  date: string;
367
380
  schoolId: string;
368
381
  dayOfWeek: "sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday";
382
+ academicYearId: string;
369
383
  calendarEvents: {
370
384
  eventType: "break" | "other" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day";
371
385
  isAllDay: boolean;
@@ -377,10 +391,10 @@ export declare const calendarDateListResponseSchema: z.ZodObject<{
377
391
  isHoliday: boolean;
378
392
  isWeekend: boolean;
379
393
  calendarDateId: string;
380
- academicYearId: string;
381
394
  notes?: string | undefined;
382
395
  bellScheduleName?: string | undefined;
383
396
  bellScheduleId?: string | undefined;
397
+ calendarId?: string | undefined;
384
398
  gradingPeriodId?: string | undefined;
385
399
  gradingPeriodName?: string | undefined;
386
400
  dayNumber?: number | undefined;
@@ -392,6 +406,7 @@ export declare const calendarDateListResponseSchema: z.ZodObject<{
392
406
  date: string;
393
407
  schoolId: string;
394
408
  dayOfWeek: "sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday";
409
+ academicYearId: string;
395
410
  calendarEvents: {
396
411
  eventType: "break" | "other" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day";
397
412
  description?: string | undefined;
@@ -403,10 +418,10 @@ export declare const calendarDateListResponseSchema: z.ZodObject<{
403
418
  isHoliday: boolean;
404
419
  isWeekend: boolean;
405
420
  calendarDateId: string;
406
- academicYearId: string;
407
421
  notes?: string | undefined;
408
422
  bellScheduleName?: string | undefined;
409
423
  bellScheduleId?: string | undefined;
424
+ calendarId?: string | undefined;
410
425
  gradingPeriodId?: string | undefined;
411
426
  gradingPeriodName?: string | undefined;
412
427
  dayNumber?: number | undefined;
@@ -423,6 +438,7 @@ export declare const calendarDateListResponseSchema: z.ZodObject<{
423
438
  date: string;
424
439
  schoolId: string;
425
440
  dayOfWeek: "sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday";
441
+ academicYearId: string;
426
442
  calendarEvents: {
427
443
  eventType: "break" | "other" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day";
428
444
  isAllDay: boolean;
@@ -434,10 +450,10 @@ export declare const calendarDateListResponseSchema: z.ZodObject<{
434
450
  isHoliday: boolean;
435
451
  isWeekend: boolean;
436
452
  calendarDateId: string;
437
- academicYearId: string;
438
453
  notes?: string | undefined;
439
454
  bellScheduleName?: string | undefined;
440
455
  bellScheduleId?: string | undefined;
456
+ calendarId?: string | undefined;
441
457
  gradingPeriodId?: string | undefined;
442
458
  gradingPeriodName?: string | undefined;
443
459
  dayNumber?: number | undefined;
@@ -454,6 +470,7 @@ export declare const calendarDateListResponseSchema: z.ZodObject<{
454
470
  date: string;
455
471
  schoolId: string;
456
472
  dayOfWeek: "sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday";
473
+ academicYearId: string;
457
474
  calendarEvents: {
458
475
  eventType: "break" | "other" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day";
459
476
  description?: string | undefined;
@@ -465,10 +482,10 @@ export declare const calendarDateListResponseSchema: z.ZodObject<{
465
482
  isHoliday: boolean;
466
483
  isWeekend: boolean;
467
484
  calendarDateId: string;
468
- academicYearId: string;
469
485
  notes?: string | undefined;
470
486
  bellScheduleName?: string | undefined;
471
487
  bellScheduleId?: string | undefined;
488
+ calendarId?: string | undefined;
472
489
  gradingPeriodId?: string | undefined;
473
490
  gradingPeriodName?: string | undefined;
474
491
  dayNumber?: number | undefined;
@@ -499,11 +516,11 @@ export declare const calendarDateFilterSchema: z.ZodObject<{
499
516
  endDate?: string | undefined;
500
517
  schoolId?: string | undefined;
501
518
  year?: number | undefined;
519
+ academicYearId?: string | undefined;
502
520
  eventType?: "break" | "other" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day" | undefined;
503
521
  isInstructionalDay?: boolean | undefined;
504
522
  isHoliday?: boolean | undefined;
505
523
  gradingPeriodId?: string | undefined;
506
- academicYearId?: string | undefined;
507
524
  month?: number | undefined;
508
525
  }, {
509
526
  limit?: number | undefined;
@@ -512,11 +529,11 @@ export declare const calendarDateFilterSchema: z.ZodObject<{
512
529
  endDate?: string | undefined;
513
530
  schoolId?: string | undefined;
514
531
  year?: number | undefined;
532
+ academicYearId?: string | undefined;
515
533
  eventType?: "break" | "other" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day" | undefined;
516
534
  isInstructionalDay?: boolean | undefined;
517
535
  isHoliday?: boolean | undefined;
518
536
  gradingPeriodId?: string | undefined;
519
- academicYearId?: string | undefined;
520
537
  month?: number | undefined;
521
538
  }>;
522
539
  export type CalendarDateFilterDto = z.infer<typeof calendarDateFilterSchema>;
@@ -656,6 +673,7 @@ export declare const bulkUpdateCalendarDatesSchema: z.ZodObject<{
656
673
  endTime?: string | undefined;
657
674
  isAllDay?: boolean | undefined;
658
675
  }>, "many">>;
676
+ calendarId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
659
677
  isInstructionalDay: z.ZodOptional<z.ZodBoolean>;
660
678
  isHoliday: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
661
679
  isWeekend: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
@@ -668,6 +686,7 @@ export declare const bulkUpdateCalendarDatesSchema: z.ZodObject<{
668
686
  notes?: string | undefined;
669
687
  bellScheduleName?: string | undefined;
670
688
  bellScheduleId?: string | undefined;
689
+ calendarId?: string | undefined;
671
690
  calendarEvents?: {
672
691
  eventType: "break" | "other" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day";
673
692
  isAllDay: boolean;
@@ -684,6 +703,7 @@ export declare const bulkUpdateCalendarDatesSchema: z.ZodObject<{
684
703
  notes?: string | undefined;
685
704
  bellScheduleName?: string | undefined;
686
705
  bellScheduleId?: string | undefined;
706
+ calendarId?: string | undefined;
687
707
  calendarEvents?: {
688
708
  eventType: "break" | "other" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day";
689
709
  description?: string | undefined;
@@ -703,6 +723,7 @@ export declare const bulkUpdateCalendarDatesSchema: z.ZodObject<{
703
723
  notes?: string | undefined;
704
724
  bellScheduleName?: string | undefined;
705
725
  bellScheduleId?: string | undefined;
726
+ calendarId?: string | undefined;
706
727
  calendarEvents?: {
707
728
  eventType: "break" | "other" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day";
708
729
  isAllDay: boolean;
@@ -722,6 +743,7 @@ export declare const bulkUpdateCalendarDatesSchema: z.ZodObject<{
722
743
  notes?: string | undefined;
723
744
  bellScheduleName?: string | undefined;
724
745
  bellScheduleId?: string | undefined;
746
+ calendarId?: string | undefined;
725
747
  calendarEvents?: {
726
748
  eventType: "break" | "other" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day";
727
749
  description?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"calendar-date.schema.d.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AEH,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAMvF,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgChC,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
@@ -61,6 +61,8 @@ exports.calendarDateSchema = zod_1.z.object({
61
61
  // Ed-Fi Core
62
62
  date: common_1.dateSchema, // Ed-Fi: date (YYYY-MM-DD)
63
63
  calendarEvents: zod_1.z.array(exports.calendarEventSchema).min(1), // Ed-Fi: calendarEvents
64
+ // Calendar reference (Ed-Fi: CalendarDate → Calendar)
65
+ calendarId: zod_1.z.string().uuid().optional(),
64
66
  // EdForge Extensions
65
67
  isInstructionalDay: zod_1.z.boolean(),
66
68
  isHoliday: zod_1.z.boolean().default(false),
@@ -96,6 +98,8 @@ exports.calendarDateResponseSchema = zod_1.z.object({
96
98
  // Ed-Fi Core
97
99
  date: zod_1.z.string(),
98
100
  calendarEvents: zod_1.z.array(exports.calendarEventSchema),
101
+ // Calendar reference
102
+ calendarId: zod_1.z.string().uuid().optional(),
99
103
  // EdForge Extensions
100
104
  isInstructionalDay: zod_1.z.boolean(),
101
105
  isHoliday: zod_1.z.boolean(),
@@ -1 +1 @@
1
- {"version":3,"file":"calendar-date.schema.js","sourceRoot":"","sources":["../../../src/schemas/identity/calendar-date.schema.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,6BAAwB;AACxB,sCAImB;AAEnB,+CAA+C;AAC/C,wBAAwB;AACxB,+CAA+C;AAE/C;;GAEG;AACU,QAAA,6BAA6B,GAAG,OAAC,CAAC,IAAI,CAAC;IAClD,mBAAmB,EAAQ,qBAAqB;IAChD,uBAAuB,EAAI,aAAa;IACxC,SAAS,EA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,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;KACnC,CAAC,CAAC,CAAC,QAAQ,EAAE;CACf,CAAC,CAAC"}
1
+ {"version":3,"file":"calendar-date.schema.js","sourceRoot":"","sources":["../../../src/schemas/identity/calendar-date.schema.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,6BAAwB;AACxB,sCAImB;AAEnB,+CAA+C;AAC/C,wBAAwB;AACxB,+CAA+C;AAE/C;;GAEG;AACU,QAAA,6BAA6B,GAAG,OAAC,CAAC,IAAI,CAAC;IAClD,mBAAmB,EAAQ,qBAAqB;IAChD,uBAAuB,EAAI,aAAa;IACxC,SAAS,EAAkB,mBAAmB;IAC9C,cAAc,EAAa,2BAA2B;IACtD,iBAAiB,EAAU,8BAA8B;IACzD,aAAa,EAAc,oBAAoB;IAC/C,aAAa,EAAc,uBAAuB;IAClD,eAAe,EAAY,gBAAgB;IAC3C,YAAY,EAAe,gBAAgB;IAC3C,gBAAgB,EAAW,6BAA6B;IACxD,YAAY,EAAe,sBAAsB;IACjD,OAAO,EAAoB,sBAAsB;IACjD,YAAY,EAAe,qBAAqB;IAChD,aAAa,EAAc,yBAAyB;IACpD,OAAO;CACR,CAAC,CAAC;AAGH;;GAEG;AACU,QAAA,uBAAuB,GAAG,OAAC,CAAC,IAAI,CAAC;IAC5C,QAAQ;IACR,SAAS;IACT,WAAW;IACX,UAAU;IACV,QAAQ;IACR,UAAU;IACV,QAAQ;CACT,CAAC,CAAC;AAGH,+CAA+C;AAC/C,wBAAwB;AACxB,+CAA+C;AAElC,QAAA,mBAAmB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC1C,SAAS,EAAE,qCAA6B;IACxC,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;IAC3C,QAAQ,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC;IACnC,SA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AAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACpC,uBAAuB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9C,0BAA0B,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjD,kBAAkB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAEzC,sBAAsB;IACtB,oBAAoB,EAAE,OAAC,CAAC,MAAM,CAAC;QAC7B,eAAe,EAAE,OAAC,CAAC,MAAM,EAAE;QAC3B,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;QAChB,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE;KAC1B,CAAC,CAAC,QAAQ,EAAE;IAEb,kBAAkB;IAClB,cAAc,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,CAAC;QAC/B,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;QAChB,SAAS,EAAE,qCAA6B;QACxC,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;KACnC,CAAC,CAAC,CAAC,QAAQ,EAAE;CACf,CAAC,CAAC"}
@@ -0,0 +1,155 @@
1
+ /**
2
+ * Calendar Schemas - Identity Service
3
+ *
4
+ * Zod schemas for Ed-Fi Calendar entity.
5
+ * Ed-Fi: Calendar is an intermediary between School and CalendarDate.
6
+ * A school can have multiple calendars (Student, Teacher, IEP, etc.)
7
+ */
8
+ import { z } from 'zod';
9
+ /**
10
+ * Calendar type descriptor (Ed-Fi: calendarTypeDescriptor)
11
+ */
12
+ export declare const calendarTypeDescriptorSchema: z.ZodEnum<["student", "teacher", "IEP", "other"]>;
13
+ export type CalendarTypeDescriptor = z.infer<typeof calendarTypeDescriptorSchema>;
14
+ /**
15
+ * Grade level descriptor for calendar association
16
+ */
17
+ export declare const calendarGradeLevelSchema: z.ZodEnum<["PK", "KG", "01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12"]>;
18
+ export type CalendarGradeLevel = z.infer<typeof calendarGradeLevelSchema>;
19
+ export declare const createCalendarSchema: z.ZodObject<{
20
+ academicYearId: z.ZodString;
21
+ calendarCode: z.ZodString;
22
+ calendarTypeDescriptor: z.ZodEnum<["student", "teacher", "IEP", "other"]>;
23
+ gradeLevels: z.ZodOptional<z.ZodArray<z.ZodEnum<["PK", "KG", "01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12"]>, "many">>;
24
+ isDefault: z.ZodDefault<z.ZodBoolean>;
25
+ }, "strip", z.ZodTypeAny, {
26
+ isDefault: boolean;
27
+ academicYearId: string;
28
+ calendarCode: string;
29
+ calendarTypeDescriptor: "teacher" | "other" | "student" | "IEP";
30
+ gradeLevels?: ("PK" | "10" | "11" | "12" | "KG" | "01" | "02" | "03" | "04" | "05" | "06" | "07" | "08" | "09")[] | undefined;
31
+ }, {
32
+ academicYearId: string;
33
+ calendarCode: string;
34
+ calendarTypeDescriptor: "teacher" | "other" | "student" | "IEP";
35
+ gradeLevels?: ("PK" | "10" | "11" | "12" | "KG" | "01" | "02" | "03" | "04" | "05" | "06" | "07" | "08" | "09")[] | undefined;
36
+ isDefault?: boolean | undefined;
37
+ }>;
38
+ export type CreateCalendarDto = z.infer<typeof createCalendarSchema>;
39
+ export declare const updateCalendarSchema: z.ZodObject<{
40
+ calendarCode: z.ZodOptional<z.ZodString>;
41
+ calendarTypeDescriptor: z.ZodOptional<z.ZodEnum<["student", "teacher", "IEP", "other"]>>;
42
+ gradeLevels: z.ZodOptional<z.ZodArray<z.ZodEnum<["PK", "KG", "01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12"]>, "many">>;
43
+ isDefault: z.ZodOptional<z.ZodBoolean>;
44
+ }, "strip", z.ZodTypeAny, {
45
+ gradeLevels?: ("PK" | "10" | "11" | "12" | "KG" | "01" | "02" | "03" | "04" | "05" | "06" | "07" | "08" | "09")[] | undefined;
46
+ isDefault?: boolean | undefined;
47
+ calendarCode?: string | undefined;
48
+ calendarTypeDescriptor?: "teacher" | "other" | "student" | "IEP" | undefined;
49
+ }, {
50
+ gradeLevels?: ("PK" | "10" | "11" | "12" | "KG" | "01" | "02" | "03" | "04" | "05" | "06" | "07" | "08" | "09")[] | undefined;
51
+ isDefault?: boolean | undefined;
52
+ calendarCode?: string | undefined;
53
+ calendarTypeDescriptor?: "teacher" | "other" | "student" | "IEP" | undefined;
54
+ }>;
55
+ export type UpdateCalendarDto = z.infer<typeof updateCalendarSchema>;
56
+ export declare const calendarResponseSchema: z.ZodObject<{
57
+ calendarId: z.ZodString;
58
+ schoolId: z.ZodString;
59
+ academicYearId: z.ZodString;
60
+ calendarCode: z.ZodString;
61
+ calendarTypeDescriptor: z.ZodEnum<["student", "teacher", "IEP", "other"]>;
62
+ gradeLevels: z.ZodOptional<z.ZodArray<z.ZodEnum<["PK", "KG", "01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12"]>, "many">>;
63
+ isDefault: z.ZodBoolean;
64
+ createdAt: z.ZodString;
65
+ updatedAt: z.ZodString;
66
+ }, "strip", z.ZodTypeAny, {
67
+ createdAt: string;
68
+ updatedAt: string;
69
+ schoolId: string;
70
+ isDefault: boolean;
71
+ academicYearId: string;
72
+ calendarCode: string;
73
+ calendarTypeDescriptor: "teacher" | "other" | "student" | "IEP";
74
+ calendarId: string;
75
+ gradeLevels?: ("PK" | "10" | "11" | "12" | "KG" | "01" | "02" | "03" | "04" | "05" | "06" | "07" | "08" | "09")[] | undefined;
76
+ }, {
77
+ createdAt: string;
78
+ updatedAt: string;
79
+ schoolId: string;
80
+ isDefault: boolean;
81
+ academicYearId: string;
82
+ calendarCode: string;
83
+ calendarTypeDescriptor: "teacher" | "other" | "student" | "IEP";
84
+ calendarId: string;
85
+ gradeLevels?: ("PK" | "10" | "11" | "12" | "KG" | "01" | "02" | "03" | "04" | "05" | "06" | "07" | "08" | "09")[] | undefined;
86
+ }>;
87
+ export type CalendarResponseDto = z.infer<typeof calendarResponseSchema>;
88
+ export declare const calendarListResponseSchema: z.ZodObject<{
89
+ items: z.ZodArray<z.ZodObject<{
90
+ calendarId: z.ZodString;
91
+ schoolId: z.ZodString;
92
+ academicYearId: z.ZodString;
93
+ calendarCode: z.ZodString;
94
+ calendarTypeDescriptor: z.ZodEnum<["student", "teacher", "IEP", "other"]>;
95
+ gradeLevels: z.ZodOptional<z.ZodArray<z.ZodEnum<["PK", "KG", "01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12"]>, "many">>;
96
+ isDefault: z.ZodBoolean;
97
+ createdAt: z.ZodString;
98
+ updatedAt: z.ZodString;
99
+ }, "strip", z.ZodTypeAny, {
100
+ createdAt: string;
101
+ updatedAt: string;
102
+ schoolId: string;
103
+ isDefault: boolean;
104
+ academicYearId: string;
105
+ calendarCode: string;
106
+ calendarTypeDescriptor: "teacher" | "other" | "student" | "IEP";
107
+ calendarId: string;
108
+ gradeLevels?: ("PK" | "10" | "11" | "12" | "KG" | "01" | "02" | "03" | "04" | "05" | "06" | "07" | "08" | "09")[] | undefined;
109
+ }, {
110
+ createdAt: string;
111
+ updatedAt: string;
112
+ schoolId: string;
113
+ isDefault: boolean;
114
+ academicYearId: string;
115
+ calendarCode: string;
116
+ calendarTypeDescriptor: "teacher" | "other" | "student" | "IEP";
117
+ calendarId: string;
118
+ gradeLevels?: ("PK" | "10" | "11" | "12" | "KG" | "01" | "02" | "03" | "04" | "05" | "06" | "07" | "08" | "09")[] | undefined;
119
+ }>, "many">;
120
+ lastEvaluatedKey: z.ZodOptional<z.ZodString>;
121
+ hasMore: z.ZodBoolean;
122
+ total: z.ZodOptional<z.ZodNumber>;
123
+ }, "strip", z.ZodTypeAny, {
124
+ items: {
125
+ createdAt: string;
126
+ updatedAt: string;
127
+ schoolId: string;
128
+ isDefault: boolean;
129
+ academicYearId: string;
130
+ calendarCode: string;
131
+ calendarTypeDescriptor: "teacher" | "other" | "student" | "IEP";
132
+ calendarId: string;
133
+ gradeLevels?: ("PK" | "10" | "11" | "12" | "KG" | "01" | "02" | "03" | "04" | "05" | "06" | "07" | "08" | "09")[] | undefined;
134
+ }[];
135
+ hasMore: boolean;
136
+ lastEvaluatedKey?: string | undefined;
137
+ total?: number | undefined;
138
+ }, {
139
+ items: {
140
+ createdAt: string;
141
+ updatedAt: string;
142
+ schoolId: string;
143
+ isDefault: boolean;
144
+ academicYearId: string;
145
+ calendarCode: string;
146
+ calendarTypeDescriptor: "teacher" | "other" | "student" | "IEP";
147
+ calendarId: string;
148
+ gradeLevels?: ("PK" | "10" | "11" | "12" | "KG" | "01" | "02" | "03" | "04" | "05" | "06" | "07" | "08" | "09")[] | undefined;
149
+ }[];
150
+ hasMore: boolean;
151
+ lastEvaluatedKey?: string | undefined;
152
+ total?: number | undefined;
153
+ }>;
154
+ export type CalendarListResponseDto = z.infer<typeof calendarListResponseSchema>;
155
+ //# sourceMappingURL=calendar.schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"calendar.schema.d.ts","sourceRoot":"","sources":["../../../src/schemas/identity/calendar.schema.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB;;GAEG;AACH,eAAO,MAAM,4BAA4B,mDAKvC,CAAC;AACH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAElF;;GAEG;AACH,eAAO,MAAM,wBAAwB,iGAGnC,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAM1E,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;EAM/B,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAMrE,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;EAK/B,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAMrE,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUjC,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAMzE,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAwD,CAAC;AAChG,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC"}
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ /**
3
+ * Calendar Schemas - Identity Service
4
+ *
5
+ * Zod schemas for Ed-Fi Calendar entity.
6
+ * Ed-Fi: Calendar is an intermediary between School and CalendarDate.
7
+ * A school can have multiple calendars (Student, Teacher, IEP, etc.)
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.calendarListResponseSchema = exports.calendarResponseSchema = exports.updateCalendarSchema = exports.createCalendarSchema = exports.calendarGradeLevelSchema = exports.calendarTypeDescriptorSchema = void 0;
11
+ const zod_1 = require("zod");
12
+ const common_1 = require("../common");
13
+ // ============================================
14
+ // Enums (Ed-Fi aligned)
15
+ // ============================================
16
+ /**
17
+ * Calendar type descriptor (Ed-Fi: calendarTypeDescriptor)
18
+ */
19
+ exports.calendarTypeDescriptorSchema = zod_1.z.enum([
20
+ 'student', // Standard student calendar
21
+ 'teacher', // Teacher/staff calendar
22
+ 'IEP', // Individualized Education Program
23
+ 'other',
24
+ ]);
25
+ /**
26
+ * Grade level descriptor for calendar association
27
+ */
28
+ exports.calendarGradeLevelSchema = zod_1.z.enum([
29
+ 'PK', 'KG', '01', '02', '03', '04', '05', '06',
30
+ '07', '08', '09', '10', '11', '12',
31
+ ]);
32
+ // ============================================
33
+ // Create Calendar Schema
34
+ // ============================================
35
+ exports.createCalendarSchema = zod_1.z.object({
36
+ academicYearId: zod_1.z.string().uuid(),
37
+ calendarCode: zod_1.z.string().min(1).max(50), // e.g., "STUDENT-2026"
38
+ calendarTypeDescriptor: exports.calendarTypeDescriptorSchema,
39
+ gradeLevels: zod_1.z.array(exports.calendarGradeLevelSchema).optional(), // Ed-Fi: GradeLevel[]
40
+ isDefault: zod_1.z.boolean().default(false),
41
+ });
42
+ // ============================================
43
+ // Update Calendar Schema
44
+ // ============================================
45
+ exports.updateCalendarSchema = zod_1.z.object({
46
+ calendarCode: zod_1.z.string().min(1).max(50).optional(),
47
+ calendarTypeDescriptor: exports.calendarTypeDescriptorSchema.optional(),
48
+ gradeLevels: zod_1.z.array(exports.calendarGradeLevelSchema).optional(),
49
+ isDefault: zod_1.z.boolean().optional(),
50
+ });
51
+ // ============================================
52
+ // Calendar Response Schema
53
+ // ============================================
54
+ exports.calendarResponseSchema = zod_1.z.object({
55
+ calendarId: zod_1.z.string().uuid(),
56
+ schoolId: zod_1.z.string().uuid(),
57
+ academicYearId: zod_1.z.string().uuid(),
58
+ calendarCode: zod_1.z.string(),
59
+ calendarTypeDescriptor: exports.calendarTypeDescriptorSchema,
60
+ gradeLevels: zod_1.z.array(exports.calendarGradeLevelSchema).optional(),
61
+ isDefault: zod_1.z.boolean(),
62
+ createdAt: common_1.isoDateSchema,
63
+ updatedAt: common_1.isoDateSchema,
64
+ });
65
+ // ============================================
66
+ // Calendar List Response
67
+ // ============================================
68
+ exports.calendarListResponseSchema = (0, common_1.createPaginatedResponseSchema)(exports.calendarResponseSchema);
69
+ //# sourceMappingURL=calendar.schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"calendar.schema.js","sourceRoot":"","sources":["../../../src/schemas/identity/calendar.schema.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEH,6BAAwB;AACxB,sCAAyE;AAEzE,+CAA+C;AAC/C,wBAAwB;AACxB,+CAA+C;AAE/C;;GAEG;AACU,QAAA,4BAA4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EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CAClC,CAAC,CAAC;AAIH,+CAA+C;AAC/C,2BAA2B;AAC3B,+CAA+C;AAElC,QAAA,sBAAsB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC7C,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC7B,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC3B,cAAc,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACjC,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE;IACxB,sBAAsB,EAAE,oCAA4B;IACpD,WAAW,EAAE,OAAC,CAAC,KAAK,CAAC,gCAAwB,CAAC,CAAC,QAAQ,EAAE;IACzD,SAAS,EAAE,OAAC,CAAC,OAAO,EAAE;IACtB,SAAS,EAAE,sBAAa;IACxB,SAAS,EAAE,sBAAa;CACzB,CAAC,CAAC;AAIH,+CAA+C;AAC/C,yBAAyB;AACzB,+CAA+C;AAElC,QAAA,0BAA0B,GAAG,IAAA,sCAA6B,EAAC,8BAAsB,CAAC,CAAC"}
@@ -25,6 +25,8 @@ export * from './staff-employment-history.schema';
25
25
  export * from './credential.schema';
26
26
  export * from './leave.schema';
27
27
  export * from './bell-schedule.schema';
28
+ export * from './calendar.schema';
28
29
  export * from './calendar-date.schema';
30
+ export * from './academic-session.schema';
29
31
  export * from './school-year.schema';
30
32
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/schemas/identity/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc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AC"}
@@ -44,6 +44,8 @@ __exportStar(require("./credential.schema"), exports);
44
44
  __exportStar(require("./leave.schema"), exports);
45
45
  // Calendar Management (Ed-Fi aligned)
46
46
  __exportStar(require("./bell-schedule.schema"), exports);
47
+ __exportStar(require("./calendar.schema"), exports);
47
48
  __exportStar(require("./calendar-date.schema"), exports);
49
+ __exportStar(require("./academic-session.schema"), exports);
48
50
  __exportStar(require("./school-year.schema"), exports);
49
51
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/schemas/identity/index.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;;;;;;;;;;;AAEH,gDAA8B;AAC9B,gDAA8B;AAC9B,oDAAkC;AAClC,kDAAgC;AAChC,kDAAgC;AAChC,gDAA8B;AAC9B,mDAAiC;AACjC,yDAAuC;AACvC,sDAAoC;AAEpC,gDAAgD;AAChD,8DAA4C;AAC5C,kEAAgD;AAChD,kEAAgD;AAChD,kEAAgD;AAChD,oEAAkD;AAClD,iEAA+C;AAC/C,mEAAiD;AAEjD,mCAAmC;AACnC,iDAA+B;AAC/B,4DAA0C;AAC1C,oEAAkD;AAClD,sDAAoC;AACpC,iDAA+B;AAE/B,sCAAsC;AACtC,yDAAuC;AACvC,yDAAuC;AACvC,uDAAqC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/schemas/identity/index.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;;;;;;;;;;;AAEH,gDAA8B;AAC9B,gDAA8B;AAC9B,oDAAkC;AAClC,kDAAgC;AAChC,kDAAgC;AAChC,gDAA8B;AAC9B,mDAAiC;AACjC,yDAAuC;AACvC,sDAAoC;AAEpC,gDAAgD;AAChD,8DAA4C;AAC5C,kEAAgD;AAChD,kEAAgD;AAChD,kEAAgD;AAChD,oEAAkD;AAClD,iEAA+C;AAC/C,mEAAiD;AAEjD,mCAAmC;AACnC,iDAA+B;AAC/B,4DAA0C;AAC1C,oEAAkD;AAClD,sDAAoC;AACpC,iDAA+B;AAE/B,sCAAsC;AACtC,yDAAuC;AACvC,oDAAkC;AAClC,yDAAuC;AACvC,4DAA0C;AAC1C,uDAAqC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aibrains/shared-types",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "description": "Shared Zod schemas, TypeScript types, and validators for Education data models.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",