@aibrains/shared-types 0.11.0 → 0.13.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/course-section.schema.d.ts +8 -0
- package/dist/schemas/academics/course-section.schema.d.ts.map +1 -1
- package/dist/schemas/academics/course-section.schema.js +2 -0
- package/dist/schemas/academics/course-section.schema.js.map +1 -1
- package/dist/schemas/academics/student.schema.d.ts +12 -12
- package/dist/schemas/enrollment/enrollment.schema.d.ts +32 -32
- package/dist/schemas/identity/calendar-date.schema.d.ts +48 -48
- package/dist/schemas/identity/calendar.schema.d.ts +10 -10
- package/dist/schemas/identity/grade-levels.d.ts +125 -0
- package/dist/schemas/identity/grade-levels.d.ts.map +1 -0
- package/dist/schemas/identity/grade-levels.js +222 -0
- package/dist/schemas/identity/grade-levels.js.map +1 -0
- package/dist/schemas/identity/index.d.ts +1 -0
- package/dist/schemas/identity/index.d.ts.map +1 -1
- package/dist/schemas/identity/index.js +2 -0
- package/dist/schemas/identity/index.js.map +1 -1
- package/dist/schemas/identity/leave.schema.d.ts +26 -26
- package/dist/schemas/identity/school.schema.d.ts +474 -2
- package/dist/schemas/identity/school.schema.d.ts.map +1 -1
- package/dist/schemas/identity/school.schema.js +29 -2
- package/dist/schemas/identity/school.schema.js.map +1 -1
- package/dist/schemas/identity/staff.schema.d.ts +2 -2
- package/package.json +1 -1
|
@@ -22,13 +22,13 @@ export declare const calendarEventSchema: z.ZodObject<{
|
|
|
22
22
|
startTime: z.ZodOptional<z.ZodString>;
|
|
23
23
|
endTime: z.ZodOptional<z.ZodString>;
|
|
24
24
|
}, "strip", z.ZodTypeAny, {
|
|
25
|
-
eventType: "
|
|
25
|
+
eventType: "other" | "break" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day";
|
|
26
26
|
isAllDay: boolean;
|
|
27
27
|
description?: string | undefined;
|
|
28
28
|
startTime?: string | undefined;
|
|
29
29
|
endTime?: string | undefined;
|
|
30
30
|
}, {
|
|
31
|
-
eventType: "
|
|
31
|
+
eventType: "other" | "break" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day";
|
|
32
32
|
description?: string | undefined;
|
|
33
33
|
startTime?: string | undefined;
|
|
34
34
|
endTime?: string | undefined;
|
|
@@ -44,13 +44,13 @@ export declare const calendarDateSchema: z.ZodObject<{
|
|
|
44
44
|
startTime: z.ZodOptional<z.ZodString>;
|
|
45
45
|
endTime: z.ZodOptional<z.ZodString>;
|
|
46
46
|
}, "strip", z.ZodTypeAny, {
|
|
47
|
-
eventType: "
|
|
47
|
+
eventType: "other" | "break" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day";
|
|
48
48
|
isAllDay: boolean;
|
|
49
49
|
description?: string | undefined;
|
|
50
50
|
startTime?: string | undefined;
|
|
51
51
|
endTime?: string | undefined;
|
|
52
52
|
}, {
|
|
53
|
-
eventType: "
|
|
53
|
+
eventType: "other" | "break" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day";
|
|
54
54
|
description?: string | undefined;
|
|
55
55
|
startTime?: string | undefined;
|
|
56
56
|
endTime?: string | undefined;
|
|
@@ -68,7 +68,7 @@ export declare const calendarDateSchema: z.ZodObject<{
|
|
|
68
68
|
}, "strip", z.ZodTypeAny, {
|
|
69
69
|
date: string;
|
|
70
70
|
calendarEvents: {
|
|
71
|
-
eventType: "
|
|
71
|
+
eventType: "other" | "break" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day";
|
|
72
72
|
isAllDay: boolean;
|
|
73
73
|
description?: string | undefined;
|
|
74
74
|
startTime?: string | undefined;
|
|
@@ -86,7 +86,7 @@ export declare const calendarDateSchema: z.ZodObject<{
|
|
|
86
86
|
}, {
|
|
87
87
|
date: string;
|
|
88
88
|
calendarEvents: {
|
|
89
|
-
eventType: "
|
|
89
|
+
eventType: "other" | "break" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day";
|
|
90
90
|
description?: string | undefined;
|
|
91
91
|
startTime?: string | undefined;
|
|
92
92
|
endTime?: string | undefined;
|
|
@@ -112,13 +112,13 @@ export declare const createCalendarDateSchema: z.ZodObject<{
|
|
|
112
112
|
startTime: z.ZodOptional<z.ZodString>;
|
|
113
113
|
endTime: z.ZodOptional<z.ZodString>;
|
|
114
114
|
}, "strip", z.ZodTypeAny, {
|
|
115
|
-
eventType: "
|
|
115
|
+
eventType: "other" | "break" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day";
|
|
116
116
|
isAllDay: boolean;
|
|
117
117
|
description?: string | undefined;
|
|
118
118
|
startTime?: string | undefined;
|
|
119
119
|
endTime?: string | undefined;
|
|
120
120
|
}, {
|
|
121
|
-
eventType: "
|
|
121
|
+
eventType: "other" | "break" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day";
|
|
122
122
|
description?: string | undefined;
|
|
123
123
|
startTime?: string | undefined;
|
|
124
124
|
endTime?: string | undefined;
|
|
@@ -136,7 +136,7 @@ export declare const createCalendarDateSchema: z.ZodObject<{
|
|
|
136
136
|
}, "strip", z.ZodTypeAny, {
|
|
137
137
|
date: string;
|
|
138
138
|
calendarEvents: {
|
|
139
|
-
eventType: "
|
|
139
|
+
eventType: "other" | "break" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day";
|
|
140
140
|
isAllDay: boolean;
|
|
141
141
|
description?: string | undefined;
|
|
142
142
|
startTime?: string | undefined;
|
|
@@ -154,7 +154,7 @@ export declare const createCalendarDateSchema: z.ZodObject<{
|
|
|
154
154
|
}, {
|
|
155
155
|
date: string;
|
|
156
156
|
calendarEvents: {
|
|
157
|
-
eventType: "
|
|
157
|
+
eventType: "other" | "break" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day";
|
|
158
158
|
description?: string | undefined;
|
|
159
159
|
startTime?: string | undefined;
|
|
160
160
|
endTime?: string | undefined;
|
|
@@ -180,13 +180,13 @@ export declare const updateCalendarDateSchema: z.ZodObject<Omit<{
|
|
|
180
180
|
startTime: z.ZodOptional<z.ZodString>;
|
|
181
181
|
endTime: z.ZodOptional<z.ZodString>;
|
|
182
182
|
}, "strip", z.ZodTypeAny, {
|
|
183
|
-
eventType: "
|
|
183
|
+
eventType: "other" | "break" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day";
|
|
184
184
|
isAllDay: boolean;
|
|
185
185
|
description?: string | undefined;
|
|
186
186
|
startTime?: string | undefined;
|
|
187
187
|
endTime?: string | undefined;
|
|
188
188
|
}, {
|
|
189
|
-
eventType: "
|
|
189
|
+
eventType: "other" | "break" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day";
|
|
190
190
|
description?: string | undefined;
|
|
191
191
|
startTime?: string | undefined;
|
|
192
192
|
endTime?: string | undefined;
|
|
@@ -207,7 +207,7 @@ export declare const updateCalendarDateSchema: z.ZodObject<Omit<{
|
|
|
207
207
|
bellScheduleId?: string | undefined;
|
|
208
208
|
calendarId?: string | undefined;
|
|
209
209
|
calendarEvents?: {
|
|
210
|
-
eventType: "
|
|
210
|
+
eventType: "other" | "break" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day";
|
|
211
211
|
isAllDay: boolean;
|
|
212
212
|
description?: string | undefined;
|
|
213
213
|
startTime?: string | undefined;
|
|
@@ -224,7 +224,7 @@ export declare const updateCalendarDateSchema: z.ZodObject<Omit<{
|
|
|
224
224
|
bellScheduleId?: string | undefined;
|
|
225
225
|
calendarId?: string | undefined;
|
|
226
226
|
calendarEvents?: {
|
|
227
|
-
eventType: "
|
|
227
|
+
eventType: "other" | "break" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day";
|
|
228
228
|
description?: string | undefined;
|
|
229
229
|
startTime?: string | undefined;
|
|
230
230
|
endTime?: string | undefined;
|
|
@@ -250,13 +250,13 @@ export declare const calendarDateResponseSchema: z.ZodObject<{
|
|
|
250
250
|
startTime: z.ZodOptional<z.ZodString>;
|
|
251
251
|
endTime: z.ZodOptional<z.ZodString>;
|
|
252
252
|
}, "strip", z.ZodTypeAny, {
|
|
253
|
-
eventType: "
|
|
253
|
+
eventType: "other" | "break" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day";
|
|
254
254
|
isAllDay: boolean;
|
|
255
255
|
description?: string | undefined;
|
|
256
256
|
startTime?: string | undefined;
|
|
257
257
|
endTime?: string | undefined;
|
|
258
258
|
}, {
|
|
259
|
-
eventType: "
|
|
259
|
+
eventType: "other" | "break" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day";
|
|
260
260
|
description?: string | undefined;
|
|
261
261
|
startTime?: string | undefined;
|
|
262
262
|
endTime?: string | undefined;
|
|
@@ -285,7 +285,7 @@ export declare const calendarDateResponseSchema: z.ZodObject<{
|
|
|
285
285
|
dayOfWeek: "sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday";
|
|
286
286
|
academicYearId: string;
|
|
287
287
|
calendarEvents: {
|
|
288
|
-
eventType: "
|
|
288
|
+
eventType: "other" | "break" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day";
|
|
289
289
|
isAllDay: boolean;
|
|
290
290
|
description?: string | undefined;
|
|
291
291
|
startTime?: string | undefined;
|
|
@@ -312,7 +312,7 @@ export declare const calendarDateResponseSchema: z.ZodObject<{
|
|
|
312
312
|
dayOfWeek: "sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday";
|
|
313
313
|
academicYearId: string;
|
|
314
314
|
calendarEvents: {
|
|
315
|
-
eventType: "
|
|
315
|
+
eventType: "other" | "break" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day";
|
|
316
316
|
description?: string | undefined;
|
|
317
317
|
startTime?: string | undefined;
|
|
318
318
|
endTime?: string | undefined;
|
|
@@ -346,13 +346,13 @@ export declare const calendarDateListResponseSchema: z.ZodObject<{
|
|
|
346
346
|
startTime: z.ZodOptional<z.ZodString>;
|
|
347
347
|
endTime: z.ZodOptional<z.ZodString>;
|
|
348
348
|
}, "strip", z.ZodTypeAny, {
|
|
349
|
-
eventType: "
|
|
349
|
+
eventType: "other" | "break" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day";
|
|
350
350
|
isAllDay: boolean;
|
|
351
351
|
description?: string | undefined;
|
|
352
352
|
startTime?: string | undefined;
|
|
353
353
|
endTime?: string | undefined;
|
|
354
354
|
}, {
|
|
355
|
-
eventType: "
|
|
355
|
+
eventType: "other" | "break" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day";
|
|
356
356
|
description?: string | undefined;
|
|
357
357
|
startTime?: string | undefined;
|
|
358
358
|
endTime?: string | undefined;
|
|
@@ -381,7 +381,7 @@ export declare const calendarDateListResponseSchema: z.ZodObject<{
|
|
|
381
381
|
dayOfWeek: "sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday";
|
|
382
382
|
academicYearId: string;
|
|
383
383
|
calendarEvents: {
|
|
384
|
-
eventType: "
|
|
384
|
+
eventType: "other" | "break" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day";
|
|
385
385
|
isAllDay: boolean;
|
|
386
386
|
description?: string | undefined;
|
|
387
387
|
startTime?: string | undefined;
|
|
@@ -408,7 +408,7 @@ export declare const calendarDateListResponseSchema: z.ZodObject<{
|
|
|
408
408
|
dayOfWeek: "sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday";
|
|
409
409
|
academicYearId: string;
|
|
410
410
|
calendarEvents: {
|
|
411
|
-
eventType: "
|
|
411
|
+
eventType: "other" | "break" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day";
|
|
412
412
|
description?: string | undefined;
|
|
413
413
|
startTime?: string | undefined;
|
|
414
414
|
endTime?: string | undefined;
|
|
@@ -440,7 +440,7 @@ export declare const calendarDateListResponseSchema: z.ZodObject<{
|
|
|
440
440
|
dayOfWeek: "sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday";
|
|
441
441
|
academicYearId: string;
|
|
442
442
|
calendarEvents: {
|
|
443
|
-
eventType: "
|
|
443
|
+
eventType: "other" | "break" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day";
|
|
444
444
|
isAllDay: boolean;
|
|
445
445
|
description?: string | undefined;
|
|
446
446
|
startTime?: string | undefined;
|
|
@@ -472,7 +472,7 @@ export declare const calendarDateListResponseSchema: z.ZodObject<{
|
|
|
472
472
|
dayOfWeek: "sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday";
|
|
473
473
|
academicYearId: string;
|
|
474
474
|
calendarEvents: {
|
|
475
|
-
eventType: "
|
|
475
|
+
eventType: "other" | "break" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day";
|
|
476
476
|
description?: string | undefined;
|
|
477
477
|
startTime?: string | undefined;
|
|
478
478
|
endTime?: string | undefined;
|
|
@@ -517,7 +517,7 @@ export declare const calendarDateFilterSchema: z.ZodObject<{
|
|
|
517
517
|
schoolId?: string | undefined;
|
|
518
518
|
year?: number | undefined;
|
|
519
519
|
academicYearId?: string | undefined;
|
|
520
|
-
eventType?: "
|
|
520
|
+
eventType?: "other" | "break" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day" | undefined;
|
|
521
521
|
isInstructionalDay?: boolean | undefined;
|
|
522
522
|
isHoliday?: boolean | undefined;
|
|
523
523
|
gradingPeriodId?: string | undefined;
|
|
@@ -530,7 +530,7 @@ export declare const calendarDateFilterSchema: z.ZodObject<{
|
|
|
530
530
|
schoolId?: string | undefined;
|
|
531
531
|
year?: number | undefined;
|
|
532
532
|
academicYearId?: string | undefined;
|
|
533
|
-
eventType?: "
|
|
533
|
+
eventType?: "other" | "break" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day" | undefined;
|
|
534
534
|
isInstructionalDay?: boolean | undefined;
|
|
535
535
|
isHoliday?: boolean | undefined;
|
|
536
536
|
gradingPeriodId?: string | undefined;
|
|
@@ -554,11 +554,11 @@ export declare const generateCalendarSchema: z.ZodEffects<z.ZodObject<{
|
|
|
554
554
|
}, "strip", z.ZodTypeAny, {
|
|
555
555
|
date: string;
|
|
556
556
|
name: string;
|
|
557
|
-
eventType: "
|
|
557
|
+
eventType: "other" | "break" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day";
|
|
558
558
|
}, {
|
|
559
559
|
date: string;
|
|
560
560
|
name: string;
|
|
561
|
-
eventType?: "
|
|
561
|
+
eventType?: "other" | "break" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day" | undefined;
|
|
562
562
|
}>, "many">>;
|
|
563
563
|
breaks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
564
564
|
startDate: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -569,12 +569,12 @@ export declare const generateCalendarSchema: z.ZodEffects<z.ZodObject<{
|
|
|
569
569
|
startDate: string;
|
|
570
570
|
endDate: string;
|
|
571
571
|
name: string;
|
|
572
|
-
eventType: "
|
|
572
|
+
eventType: "other" | "break" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day";
|
|
573
573
|
}, {
|
|
574
574
|
startDate: string;
|
|
575
575
|
endDate: string;
|
|
576
576
|
name: string;
|
|
577
|
-
eventType?: "
|
|
577
|
+
eventType?: "other" | "break" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day" | undefined;
|
|
578
578
|
}>, "many">>;
|
|
579
579
|
}, "strip", z.ZodTypeAny, {
|
|
580
580
|
startDate: string;
|
|
@@ -585,14 +585,14 @@ export declare const generateCalendarSchema: z.ZodEffects<z.ZodObject<{
|
|
|
585
585
|
holidays?: {
|
|
586
586
|
date: string;
|
|
587
587
|
name: string;
|
|
588
|
-
eventType: "
|
|
588
|
+
eventType: "other" | "break" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day";
|
|
589
589
|
}[] | undefined;
|
|
590
590
|
defaultBellScheduleId?: string | undefined;
|
|
591
591
|
breaks?: {
|
|
592
592
|
startDate: string;
|
|
593
593
|
endDate: string;
|
|
594
594
|
name: string;
|
|
595
|
-
eventType: "
|
|
595
|
+
eventType: "other" | "break" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day";
|
|
596
596
|
}[] | undefined;
|
|
597
597
|
}, {
|
|
598
598
|
startDate: string;
|
|
@@ -601,7 +601,7 @@ export declare const generateCalendarSchema: z.ZodEffects<z.ZodObject<{
|
|
|
601
601
|
holidays?: {
|
|
602
602
|
date: string;
|
|
603
603
|
name: string;
|
|
604
|
-
eventType?: "
|
|
604
|
+
eventType?: "other" | "break" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day" | undefined;
|
|
605
605
|
}[] | undefined;
|
|
606
606
|
schoolDays?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
|
|
607
607
|
defaultBellScheduleId?: string | undefined;
|
|
@@ -610,7 +610,7 @@ export declare const generateCalendarSchema: z.ZodEffects<z.ZodObject<{
|
|
|
610
610
|
startDate: string;
|
|
611
611
|
endDate: string;
|
|
612
612
|
name: string;
|
|
613
|
-
eventType?: "
|
|
613
|
+
eventType?: "other" | "break" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day" | undefined;
|
|
614
614
|
}[] | undefined;
|
|
615
615
|
}>, {
|
|
616
616
|
startDate: string;
|
|
@@ -621,14 +621,14 @@ export declare const generateCalendarSchema: z.ZodEffects<z.ZodObject<{
|
|
|
621
621
|
holidays?: {
|
|
622
622
|
date: string;
|
|
623
623
|
name: string;
|
|
624
|
-
eventType: "
|
|
624
|
+
eventType: "other" | "break" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day";
|
|
625
625
|
}[] | undefined;
|
|
626
626
|
defaultBellScheduleId?: string | undefined;
|
|
627
627
|
breaks?: {
|
|
628
628
|
startDate: string;
|
|
629
629
|
endDate: string;
|
|
630
630
|
name: string;
|
|
631
|
-
eventType: "
|
|
631
|
+
eventType: "other" | "break" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day";
|
|
632
632
|
}[] | undefined;
|
|
633
633
|
}, {
|
|
634
634
|
startDate: string;
|
|
@@ -637,7 +637,7 @@ export declare const generateCalendarSchema: z.ZodEffects<z.ZodObject<{
|
|
|
637
637
|
holidays?: {
|
|
638
638
|
date: string;
|
|
639
639
|
name: string;
|
|
640
|
-
eventType?: "
|
|
640
|
+
eventType?: "other" | "break" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day" | undefined;
|
|
641
641
|
}[] | undefined;
|
|
642
642
|
schoolDays?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
|
|
643
643
|
defaultBellScheduleId?: string | undefined;
|
|
@@ -646,7 +646,7 @@ export declare const generateCalendarSchema: z.ZodEffects<z.ZodObject<{
|
|
|
646
646
|
startDate: string;
|
|
647
647
|
endDate: string;
|
|
648
648
|
name: string;
|
|
649
|
-
eventType?: "
|
|
649
|
+
eventType?: "other" | "break" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day" | undefined;
|
|
650
650
|
}[] | undefined;
|
|
651
651
|
}>;
|
|
652
652
|
export type GenerateCalendarDto = z.infer<typeof generateCalendarSchema>;
|
|
@@ -661,13 +661,13 @@ export declare const bulkUpdateCalendarDatesSchema: z.ZodObject<{
|
|
|
661
661
|
startTime: z.ZodOptional<z.ZodString>;
|
|
662
662
|
endTime: z.ZodOptional<z.ZodString>;
|
|
663
663
|
}, "strip", z.ZodTypeAny, {
|
|
664
|
-
eventType: "
|
|
664
|
+
eventType: "other" | "break" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day";
|
|
665
665
|
isAllDay: boolean;
|
|
666
666
|
description?: string | undefined;
|
|
667
667
|
startTime?: string | undefined;
|
|
668
668
|
endTime?: string | undefined;
|
|
669
669
|
}, {
|
|
670
|
-
eventType: "
|
|
670
|
+
eventType: "other" | "break" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day";
|
|
671
671
|
description?: string | undefined;
|
|
672
672
|
startTime?: string | undefined;
|
|
673
673
|
endTime?: string | undefined;
|
|
@@ -688,7 +688,7 @@ export declare const bulkUpdateCalendarDatesSchema: z.ZodObject<{
|
|
|
688
688
|
bellScheduleId?: string | undefined;
|
|
689
689
|
calendarId?: string | undefined;
|
|
690
690
|
calendarEvents?: {
|
|
691
|
-
eventType: "
|
|
691
|
+
eventType: "other" | "break" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day";
|
|
692
692
|
isAllDay: boolean;
|
|
693
693
|
description?: string | undefined;
|
|
694
694
|
startTime?: string | undefined;
|
|
@@ -705,7 +705,7 @@ export declare const bulkUpdateCalendarDatesSchema: z.ZodObject<{
|
|
|
705
705
|
bellScheduleId?: string | undefined;
|
|
706
706
|
calendarId?: string | undefined;
|
|
707
707
|
calendarEvents?: {
|
|
708
|
-
eventType: "
|
|
708
|
+
eventType: "other" | "break" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day";
|
|
709
709
|
description?: string | undefined;
|
|
710
710
|
startTime?: string | undefined;
|
|
711
711
|
endTime?: string | undefined;
|
|
@@ -725,7 +725,7 @@ export declare const bulkUpdateCalendarDatesSchema: z.ZodObject<{
|
|
|
725
725
|
bellScheduleId?: string | undefined;
|
|
726
726
|
calendarId?: string | undefined;
|
|
727
727
|
calendarEvents?: {
|
|
728
|
-
eventType: "
|
|
728
|
+
eventType: "other" | "break" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day";
|
|
729
729
|
isAllDay: boolean;
|
|
730
730
|
description?: string | undefined;
|
|
731
731
|
startTime?: string | undefined;
|
|
@@ -745,7 +745,7 @@ export declare const bulkUpdateCalendarDatesSchema: z.ZodObject<{
|
|
|
745
745
|
bellScheduleId?: string | undefined;
|
|
746
746
|
calendarId?: string | undefined;
|
|
747
747
|
calendarEvents?: {
|
|
748
|
-
eventType: "
|
|
748
|
+
eventType: "other" | "break" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day";
|
|
749
749
|
description?: string | undefined;
|
|
750
750
|
startTime?: string | undefined;
|
|
751
751
|
endTime?: string | undefined;
|
|
@@ -792,11 +792,11 @@ export declare const calendarSummarySchema: z.ZodObject<{
|
|
|
792
792
|
description: z.ZodOptional<z.ZodString>;
|
|
793
793
|
}, "strip", z.ZodTypeAny, {
|
|
794
794
|
date: string;
|
|
795
|
-
eventType: "
|
|
795
|
+
eventType: "other" | "break" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day";
|
|
796
796
|
description?: string | undefined;
|
|
797
797
|
}, {
|
|
798
798
|
date: string;
|
|
799
|
-
eventType: "
|
|
799
|
+
eventType: "other" | "break" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day";
|
|
800
800
|
description?: string | undefined;
|
|
801
801
|
}>, "many">>;
|
|
802
802
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -820,7 +820,7 @@ export declare const calendarSummarySchema: z.ZodObject<{
|
|
|
820
820
|
} | undefined;
|
|
821
821
|
upcomingEvents?: {
|
|
822
822
|
date: string;
|
|
823
|
-
eventType: "
|
|
823
|
+
eventType: "other" | "break" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day";
|
|
824
824
|
description?: string | undefined;
|
|
825
825
|
}[] | undefined;
|
|
826
826
|
}, {
|
|
@@ -844,7 +844,7 @@ export declare const calendarSummarySchema: z.ZodObject<{
|
|
|
844
844
|
} | undefined;
|
|
845
845
|
upcomingEvents?: {
|
|
846
846
|
date: string;
|
|
847
|
-
eventType: "
|
|
847
|
+
eventType: "other" | "break" | "early_release" | "late_start" | "instructional_day" | "non_instructional_day" | "holiday" | "teacher_only" | "student_holiday" | "weather_day" | "testing_day" | "conference_day" | "graduation" | "in_service" | "make_up_day";
|
|
848
848
|
description?: string | undefined;
|
|
849
849
|
}[] | undefined;
|
|
850
850
|
}>;
|
|
@@ -26,12 +26,12 @@ export declare const createCalendarSchema: z.ZodObject<{
|
|
|
26
26
|
isDefault: boolean;
|
|
27
27
|
academicYearId: string;
|
|
28
28
|
calendarCode: string;
|
|
29
|
-
calendarTypeDescriptor: "
|
|
29
|
+
calendarTypeDescriptor: "other" | "teacher" | "student" | "IEP";
|
|
30
30
|
gradeLevels?: ("PK" | "10" | "11" | "12" | "KG" | "01" | "02" | "03" | "04" | "05" | "06" | "07" | "08" | "09")[] | undefined;
|
|
31
31
|
}, {
|
|
32
32
|
academicYearId: string;
|
|
33
33
|
calendarCode: string;
|
|
34
|
-
calendarTypeDescriptor: "
|
|
34
|
+
calendarTypeDescriptor: "other" | "teacher" | "student" | "IEP";
|
|
35
35
|
gradeLevels?: ("PK" | "10" | "11" | "12" | "KG" | "01" | "02" | "03" | "04" | "05" | "06" | "07" | "08" | "09")[] | undefined;
|
|
36
36
|
isDefault?: boolean | undefined;
|
|
37
37
|
}>;
|
|
@@ -45,12 +45,12 @@ export declare const updateCalendarSchema: z.ZodObject<{
|
|
|
45
45
|
gradeLevels?: ("PK" | "10" | "11" | "12" | "KG" | "01" | "02" | "03" | "04" | "05" | "06" | "07" | "08" | "09")[] | undefined;
|
|
46
46
|
isDefault?: boolean | undefined;
|
|
47
47
|
calendarCode?: string | undefined;
|
|
48
|
-
calendarTypeDescriptor?: "
|
|
48
|
+
calendarTypeDescriptor?: "other" | "teacher" | "student" | "IEP" | undefined;
|
|
49
49
|
}, {
|
|
50
50
|
gradeLevels?: ("PK" | "10" | "11" | "12" | "KG" | "01" | "02" | "03" | "04" | "05" | "06" | "07" | "08" | "09")[] | undefined;
|
|
51
51
|
isDefault?: boolean | undefined;
|
|
52
52
|
calendarCode?: string | undefined;
|
|
53
|
-
calendarTypeDescriptor?: "
|
|
53
|
+
calendarTypeDescriptor?: "other" | "teacher" | "student" | "IEP" | undefined;
|
|
54
54
|
}>;
|
|
55
55
|
export type UpdateCalendarDto = z.infer<typeof updateCalendarSchema>;
|
|
56
56
|
export declare const calendarResponseSchema: z.ZodObject<{
|
|
@@ -70,7 +70,7 @@ export declare const calendarResponseSchema: z.ZodObject<{
|
|
|
70
70
|
isDefault: boolean;
|
|
71
71
|
academicYearId: string;
|
|
72
72
|
calendarCode: string;
|
|
73
|
-
calendarTypeDescriptor: "
|
|
73
|
+
calendarTypeDescriptor: "other" | "teacher" | "student" | "IEP";
|
|
74
74
|
calendarId: string;
|
|
75
75
|
gradeLevels?: ("PK" | "10" | "11" | "12" | "KG" | "01" | "02" | "03" | "04" | "05" | "06" | "07" | "08" | "09")[] | undefined;
|
|
76
76
|
}, {
|
|
@@ -80,7 +80,7 @@ export declare const calendarResponseSchema: z.ZodObject<{
|
|
|
80
80
|
isDefault: boolean;
|
|
81
81
|
academicYearId: string;
|
|
82
82
|
calendarCode: string;
|
|
83
|
-
calendarTypeDescriptor: "
|
|
83
|
+
calendarTypeDescriptor: "other" | "teacher" | "student" | "IEP";
|
|
84
84
|
calendarId: string;
|
|
85
85
|
gradeLevels?: ("PK" | "10" | "11" | "12" | "KG" | "01" | "02" | "03" | "04" | "05" | "06" | "07" | "08" | "09")[] | undefined;
|
|
86
86
|
}>;
|
|
@@ -103,7 +103,7 @@ export declare const calendarListResponseSchema: z.ZodObject<{
|
|
|
103
103
|
isDefault: boolean;
|
|
104
104
|
academicYearId: string;
|
|
105
105
|
calendarCode: string;
|
|
106
|
-
calendarTypeDescriptor: "
|
|
106
|
+
calendarTypeDescriptor: "other" | "teacher" | "student" | "IEP";
|
|
107
107
|
calendarId: string;
|
|
108
108
|
gradeLevels?: ("PK" | "10" | "11" | "12" | "KG" | "01" | "02" | "03" | "04" | "05" | "06" | "07" | "08" | "09")[] | undefined;
|
|
109
109
|
}, {
|
|
@@ -113,7 +113,7 @@ export declare const calendarListResponseSchema: z.ZodObject<{
|
|
|
113
113
|
isDefault: boolean;
|
|
114
114
|
academicYearId: string;
|
|
115
115
|
calendarCode: string;
|
|
116
|
-
calendarTypeDescriptor: "
|
|
116
|
+
calendarTypeDescriptor: "other" | "teacher" | "student" | "IEP";
|
|
117
117
|
calendarId: string;
|
|
118
118
|
gradeLevels?: ("PK" | "10" | "11" | "12" | "KG" | "01" | "02" | "03" | "04" | "05" | "06" | "07" | "08" | "09")[] | undefined;
|
|
119
119
|
}>, "many">;
|
|
@@ -128,7 +128,7 @@ export declare const calendarListResponseSchema: z.ZodObject<{
|
|
|
128
128
|
isDefault: boolean;
|
|
129
129
|
academicYearId: string;
|
|
130
130
|
calendarCode: string;
|
|
131
|
-
calendarTypeDescriptor: "
|
|
131
|
+
calendarTypeDescriptor: "other" | "teacher" | "student" | "IEP";
|
|
132
132
|
calendarId: string;
|
|
133
133
|
gradeLevels?: ("PK" | "10" | "11" | "12" | "KG" | "01" | "02" | "03" | "04" | "05" | "06" | "07" | "08" | "09")[] | undefined;
|
|
134
134
|
}[];
|
|
@@ -143,7 +143,7 @@ export declare const calendarListResponseSchema: z.ZodObject<{
|
|
|
143
143
|
isDefault: boolean;
|
|
144
144
|
academicYearId: string;
|
|
145
145
|
calendarCode: string;
|
|
146
|
-
calendarTypeDescriptor: "
|
|
146
|
+
calendarTypeDescriptor: "other" | "teacher" | "student" | "IEP";
|
|
147
147
|
calendarId: string;
|
|
148
148
|
gradeLevels?: ("PK" | "10" | "11" | "12" | "KG" | "01" | "02" | "03" | "04" | "05" | "06" | "07" | "08" | "09")[] | undefined;
|
|
149
149
|
}[];
|