@aibrains/shared-types 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (158) hide show
  1. package/README.md +170 -0
  2. package/dist/index.d.ts +48 -0
  3. package/dist/index.d.ts.map +1 -0
  4. package/dist/index.js +74 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/mappers/edfi/calendar.mapper.d.ts +158 -0
  7. package/dist/mappers/edfi/calendar.mapper.d.ts.map +1 -0
  8. package/dist/mappers/edfi/calendar.mapper.js +235 -0
  9. package/dist/mappers/edfi/calendar.mapper.js.map +1 -0
  10. package/dist/mappers/edfi/credential.mapper.d.ts +50 -0
  11. package/dist/mappers/edfi/credential.mapper.d.ts.map +1 -0
  12. package/dist/mappers/edfi/credential.mapper.js +123 -0
  13. package/dist/mappers/edfi/credential.mapper.js.map +1 -0
  14. package/dist/mappers/edfi/index.d.ts +10 -0
  15. package/dist/mappers/edfi/index.d.ts.map +1 -0
  16. package/dist/mappers/edfi/index.js +26 -0
  17. package/dist/mappers/edfi/index.js.map +1 -0
  18. package/dist/mappers/edfi/staff.mapper.d.ts +96 -0
  19. package/dist/mappers/edfi/staff.mapper.d.ts.map +1 -0
  20. package/dist/mappers/edfi/staff.mapper.js +138 -0
  21. package/dist/mappers/edfi/staff.mapper.js.map +1 -0
  22. package/dist/mappers/index.d.ts +7 -0
  23. package/dist/mappers/index.d.ts.map +1 -0
  24. package/dist/mappers/index.js +23 -0
  25. package/dist/mappers/index.js.map +1 -0
  26. package/dist/schemas/academics/assignment.schema.d.ts +1463 -0
  27. package/dist/schemas/academics/assignment.schema.d.ts.map +1 -0
  28. package/dist/schemas/academics/assignment.schema.js +195 -0
  29. package/dist/schemas/academics/assignment.schema.js.map +1 -0
  30. package/dist/schemas/academics/attendance.schema.d.ts +762 -0
  31. package/dist/schemas/academics/attendance.schema.d.ts.map +1 -0
  32. package/dist/schemas/academics/attendance.schema.js +250 -0
  33. package/dist/schemas/academics/attendance.schema.js.map +1 -0
  34. package/dist/schemas/academics/classroom.schema.d.ts +742 -0
  35. package/dist/schemas/academics/classroom.schema.d.ts.map +1 -0
  36. package/dist/schemas/academics/classroom.schema.js +164 -0
  37. package/dist/schemas/academics/classroom.schema.js.map +1 -0
  38. package/dist/schemas/academics/course-section.schema.d.ts +388 -0
  39. package/dist/schemas/academics/course-section.schema.d.ts.map +1 -0
  40. package/dist/schemas/academics/course-section.schema.js +128 -0
  41. package/dist/schemas/academics/course-section.schema.js.map +1 -0
  42. package/dist/schemas/academics/course.schema.d.ts +778 -0
  43. package/dist/schemas/academics/course.schema.d.ts.map +1 -0
  44. package/dist/schemas/academics/course.schema.js +207 -0
  45. package/dist/schemas/academics/course.schema.js.map +1 -0
  46. package/dist/schemas/academics/grade.schema.d.ts +848 -0
  47. package/dist/schemas/academics/grade.schema.d.ts.map +1 -0
  48. package/dist/schemas/academics/grade.schema.js +251 -0
  49. package/dist/schemas/academics/grade.schema.js.map +1 -0
  50. package/dist/schemas/academics/index.d.ts +13 -0
  51. package/dist/schemas/academics/index.d.ts.map +1 -0
  52. package/dist/schemas/academics/index.js +29 -0
  53. package/dist/schemas/academics/index.js.map +1 -0
  54. package/dist/schemas/academics/student.schema.d.ts +2891 -0
  55. package/dist/schemas/academics/student.schema.d.ts.map +1 -0
  56. package/dist/schemas/academics/student.schema.js +249 -0
  57. package/dist/schemas/academics/student.schema.js.map +1 -0
  58. package/dist/schemas/common.d.ts +183 -0
  59. package/dist/schemas/common.d.ts.map +1 -0
  60. package/dist/schemas/common.js +126 -0
  61. package/dist/schemas/common.js.map +1 -0
  62. package/dist/schemas/enrollment/enrollment.schema.d.ts +2799 -0
  63. package/dist/schemas/enrollment/enrollment.schema.d.ts.map +1 -0
  64. package/dist/schemas/enrollment/enrollment.schema.js +435 -0
  65. package/dist/schemas/enrollment/enrollment.schema.js.map +1 -0
  66. package/dist/schemas/enrollment/index.d.ts +7 -0
  67. package/dist/schemas/enrollment/index.d.ts.map +1 -0
  68. package/dist/schemas/enrollment/index.js +23 -0
  69. package/dist/schemas/enrollment/index.js.map +1 -0
  70. package/dist/schemas/identity/academic-year.schema.d.ts +546 -0
  71. package/dist/schemas/identity/academic-year.schema.d.ts.map +1 -0
  72. package/dist/schemas/identity/academic-year.schema.js +137 -0
  73. package/dist/schemas/identity/academic-year.schema.js.map +1 -0
  74. package/dist/schemas/identity/auth.schema.d.ts +670 -0
  75. package/dist/schemas/identity/auth.schema.d.ts.map +1 -0
  76. package/dist/schemas/identity/auth.schema.js +126 -0
  77. package/dist/schemas/identity/auth.schema.js.map +1 -0
  78. package/dist/schemas/identity/bell-schedule.schema.d.ts +630 -0
  79. package/dist/schemas/identity/bell-schedule.schema.d.ts.map +1 -0
  80. package/dist/schemas/identity/bell-schedule.schema.js +143 -0
  81. package/dist/schemas/identity/bell-schedule.schema.js.map +1 -0
  82. package/dist/schemas/identity/calendar-date.schema.d.ts +830 -0
  83. package/dist/schemas/identity/calendar-date.schema.d.ts.map +1 -0
  84. package/dist/schemas/identity/calendar-date.schema.js +208 -0
  85. package/dist/schemas/identity/calendar-date.schema.js.map +1 -0
  86. package/dist/schemas/identity/credential.schema.d.ts +472 -0
  87. package/dist/schemas/identity/credential.schema.d.ts.map +1 -0
  88. package/dist/schemas/identity/credential.schema.js +200 -0
  89. package/dist/schemas/identity/credential.schema.js.map +1 -0
  90. package/dist/schemas/identity/department.schema.d.ts +567 -0
  91. package/dist/schemas/identity/department.schema.d.ts.map +1 -0
  92. package/dist/schemas/identity/department.schema.js +113 -0
  93. package/dist/schemas/identity/department.schema.js.map +1 -0
  94. package/dist/schemas/identity/index.d.ts +21 -0
  95. package/dist/schemas/identity/index.d.ts.map +1 -0
  96. package/dist/schemas/identity/index.js +39 -0
  97. package/dist/schemas/identity/index.js.map +1 -0
  98. package/dist/schemas/identity/leave.schema.d.ts +725 -0
  99. package/dist/schemas/identity/leave.schema.d.ts.map +1 -0
  100. package/dist/schemas/identity/leave.schema.js +204 -0
  101. package/dist/schemas/identity/leave.schema.js.map +1 -0
  102. package/dist/schemas/identity/role.schema.d.ts +356 -0
  103. package/dist/schemas/identity/role.schema.d.ts.map +1 -0
  104. package/dist/schemas/identity/role.schema.js +124 -0
  105. package/dist/schemas/identity/role.schema.js.map +1 -0
  106. package/dist/schemas/identity/school-year.schema.d.ts +303 -0
  107. package/dist/schemas/identity/school-year.schema.d.ts.map +1 -0
  108. package/dist/schemas/identity/school-year.schema.js +59 -0
  109. package/dist/schemas/identity/school-year.schema.js.map +1 -0
  110. package/dist/schemas/identity/school.schema.d.ts +844 -0
  111. package/dist/schemas/identity/school.schema.d.ts.map +1 -0
  112. package/dist/schemas/identity/school.schema.js +139 -0
  113. package/dist/schemas/identity/school.schema.js.map +1 -0
  114. package/dist/schemas/identity/security.schema.d.ts +422 -0
  115. package/dist/schemas/identity/security.schema.d.ts.map +1 -0
  116. package/dist/schemas/identity/security.schema.js +151 -0
  117. package/dist/schemas/identity/security.schema.js.map +1 -0
  118. package/dist/schemas/identity/session.schema.d.ts +193 -0
  119. package/dist/schemas/identity/session.schema.d.ts.map +1 -0
  120. package/dist/schemas/identity/session.schema.js +59 -0
  121. package/dist/schemas/identity/session.schema.js.map +1 -0
  122. package/dist/schemas/identity/staff.schema.d.ts +1037 -0
  123. package/dist/schemas/identity/staff.schema.d.ts.map +1 -0
  124. package/dist/schemas/identity/staff.schema.js +251 -0
  125. package/dist/schemas/identity/staff.schema.js.map +1 -0
  126. package/dist/schemas/identity/tenant.schema.d.ts +313 -0
  127. package/dist/schemas/identity/tenant.schema.d.ts.map +1 -0
  128. package/dist/schemas/identity/tenant.schema.js +81 -0
  129. package/dist/schemas/identity/tenant.schema.js.map +1 -0
  130. package/dist/schemas/identity/user.schema.d.ts +921 -0
  131. package/dist/schemas/identity/user.schema.d.ts.map +1 -0
  132. package/dist/schemas/identity/user.schema.js +201 -0
  133. package/dist/schemas/identity/user.schema.js.map +1 -0
  134. package/dist/schemas/index.d.ts +10 -0
  135. package/dist/schemas/index.d.ts.map +1 -0
  136. package/dist/schemas/index.js +26 -0
  137. package/dist/schemas/index.js.map +1 -0
  138. package/dist/validators/academic-year.d.ts +90 -0
  139. package/dist/validators/academic-year.d.ts.map +1 -0
  140. package/dist/validators/academic-year.js +190 -0
  141. package/dist/validators/academic-year.js.map +1 -0
  142. package/dist/validators/date-range.d.ts +142 -0
  143. package/dist/validators/date-range.d.ts.map +1 -0
  144. package/dist/validators/date-range.js +170 -0
  145. package/dist/validators/date-range.js.map +1 -0
  146. package/dist/validators/grade-level.d.ts +80 -0
  147. package/dist/validators/grade-level.d.ts.map +1 -0
  148. package/dist/validators/grade-level.js +157 -0
  149. package/dist/validators/grade-level.js.map +1 -0
  150. package/dist/validators/index.d.ts +10 -0
  151. package/dist/validators/index.d.ts.map +1 -0
  152. package/dist/validators/index.js +26 -0
  153. package/dist/validators/index.js.map +1 -0
  154. package/dist/validators/password.d.ts +60 -0
  155. package/dist/validators/password.d.ts.map +1 -0
  156. package/dist/validators/password.js +81 -0
  157. package/dist/validators/password.js.map +1 -0
  158. package/package.json +50 -0
@@ -0,0 +1,844 @@
1
+ /**
2
+ * School Schemas - Identity Service
3
+ *
4
+ * Zod schemas for school management DTOs.
5
+ */
6
+ import { z } from 'zod';
7
+ export declare const schoolTypeSchema: z.ZodEnum<["elementary", "middle", "high", "k12", "charter", "private", "vocational", "special_education"]>;
8
+ export type SchoolType = z.infer<typeof schoolTypeSchema>;
9
+ export declare const schoolStatusSchema: z.ZodEnum<["active", "inactive", "setup", "suspended", "closed"]>;
10
+ export type SchoolStatus = z.infer<typeof schoolStatusSchema>;
11
+ export declare const academicCalendarTypeSchema: z.ZodEnum<["semester", "quarter", "trimester"]>;
12
+ export type AcademicCalendarType = z.infer<typeof academicCalendarTypeSchema>;
13
+ export declare const schoolContactInfoSchema: z.ZodObject<{
14
+ primaryEmail: z.ZodString;
15
+ primaryPhone: z.ZodString;
16
+ secondaryPhone: z.ZodOptional<z.ZodString>;
17
+ website: z.ZodOptional<z.ZodString>;
18
+ fax: z.ZodOptional<z.ZodString>;
19
+ schoolEmail: z.ZodOptional<z.ZodString>;
20
+ }, "strip", z.ZodTypeAny, {
21
+ primaryEmail: string;
22
+ primaryPhone: string;
23
+ secondaryPhone?: string | undefined;
24
+ website?: string | undefined;
25
+ fax?: string | undefined;
26
+ schoolEmail?: string | undefined;
27
+ }, {
28
+ primaryEmail: string;
29
+ primaryPhone: string;
30
+ secondaryPhone?: string | undefined;
31
+ website?: string | undefined;
32
+ fax?: string | undefined;
33
+ schoolEmail?: string | undefined;
34
+ }>;
35
+ export type SchoolContactInfoDto = z.infer<typeof schoolContactInfoSchema>;
36
+ export declare const schoolGradeRangeSchema: z.ZodObject<{
37
+ start: z.ZodString;
38
+ end: z.ZodString;
39
+ }, "strip", z.ZodTypeAny, {
40
+ start: string;
41
+ end: string;
42
+ }, {
43
+ start: string;
44
+ end: string;
45
+ }>;
46
+ export type SchoolGradeRangeDto = z.infer<typeof schoolGradeRangeSchema>;
47
+ export declare const schoolAddressSchema: z.ZodObject<{
48
+ street1: z.ZodString;
49
+ street2: z.ZodOptional<z.ZodString>;
50
+ city: z.ZodString;
51
+ state: z.ZodString;
52
+ zipCode: z.ZodString;
53
+ country: z.ZodOptional<z.ZodString>;
54
+ latitude: z.ZodOptional<z.ZodNumber>;
55
+ longitude: z.ZodOptional<z.ZodNumber>;
56
+ timezone: z.ZodOptional<z.ZodString>;
57
+ }, "strip", z.ZodTypeAny, {
58
+ street1: string;
59
+ city: string;
60
+ state: string;
61
+ zipCode: string;
62
+ street2?: string | undefined;
63
+ country?: string | undefined;
64
+ latitude?: number | undefined;
65
+ longitude?: number | undefined;
66
+ timezone?: string | undefined;
67
+ }, {
68
+ street1: string;
69
+ city: string;
70
+ state: string;
71
+ zipCode: string;
72
+ street2?: string | undefined;
73
+ country?: string | undefined;
74
+ latitude?: number | undefined;
75
+ longitude?: number | undefined;
76
+ timezone?: string | undefined;
77
+ }>;
78
+ export type SchoolAddressDto = z.infer<typeof schoolAddressSchema>;
79
+ export declare const createSchoolSchema: z.ZodObject<{
80
+ schoolCode: z.ZodString;
81
+ name: z.ZodString;
82
+ shortName: z.ZodOptional<z.ZodString>;
83
+ schoolType: z.ZodEnum<["elementary", "middle", "high", "k12", "charter", "private", "vocational", "special_education"]>;
84
+ gradeRange: z.ZodObject<{
85
+ start: z.ZodString;
86
+ end: z.ZodString;
87
+ }, "strip", z.ZodTypeAny, {
88
+ start: string;
89
+ end: string;
90
+ }, {
91
+ start: string;
92
+ end: string;
93
+ }>;
94
+ phone: z.ZodOptional<z.ZodString>;
95
+ email: z.ZodOptional<z.ZodString>;
96
+ website: z.ZodOptional<z.ZodString>;
97
+ address: z.ZodOptional<z.ZodObject<{
98
+ street1: z.ZodString;
99
+ street2: z.ZodOptional<z.ZodString>;
100
+ city: z.ZodString;
101
+ state: z.ZodString;
102
+ zipCode: z.ZodString;
103
+ country: z.ZodOptional<z.ZodString>;
104
+ latitude: z.ZodOptional<z.ZodNumber>;
105
+ longitude: z.ZodOptional<z.ZodNumber>;
106
+ timezone: z.ZodOptional<z.ZodString>;
107
+ }, "strip", z.ZodTypeAny, {
108
+ street1: string;
109
+ city: string;
110
+ state: string;
111
+ zipCode: string;
112
+ street2?: string | undefined;
113
+ country?: string | undefined;
114
+ latitude?: number | undefined;
115
+ longitude?: number | undefined;
116
+ timezone?: string | undefined;
117
+ }, {
118
+ street1: string;
119
+ city: string;
120
+ state: string;
121
+ zipCode: string;
122
+ street2?: string | undefined;
123
+ country?: string | undefined;
124
+ latitude?: number | undefined;
125
+ longitude?: number | undefined;
126
+ timezone?: string | undefined;
127
+ }>>;
128
+ contactInfo: z.ZodOptional<z.ZodObject<{
129
+ primaryEmail: z.ZodString;
130
+ primaryPhone: z.ZodString;
131
+ secondaryPhone: z.ZodOptional<z.ZodString>;
132
+ website: z.ZodOptional<z.ZodString>;
133
+ fax: z.ZodOptional<z.ZodString>;
134
+ schoolEmail: z.ZodOptional<z.ZodString>;
135
+ }, "strip", z.ZodTypeAny, {
136
+ primaryEmail: string;
137
+ primaryPhone: string;
138
+ secondaryPhone?: string | undefined;
139
+ website?: string | undefined;
140
+ fax?: string | undefined;
141
+ schoolEmail?: string | undefined;
142
+ }, {
143
+ primaryEmail: string;
144
+ primaryPhone: string;
145
+ secondaryPhone?: string | undefined;
146
+ website?: string | undefined;
147
+ fax?: string | undefined;
148
+ schoolEmail?: string | undefined;
149
+ }>>;
150
+ principalName: z.ZodOptional<z.ZodString>;
151
+ principalEmail: z.ZodOptional<z.ZodString>;
152
+ timezone: z.ZodDefault<z.ZodString>;
153
+ locale: z.ZodDefault<z.ZodString>;
154
+ academicCalendarType: z.ZodDefault<z.ZodEnum<["semester", "quarter", "trimester"]>>;
155
+ logoUrl: z.ZodOptional<z.ZodString>;
156
+ }, "strip", z.ZodTypeAny, {
157
+ timezone: string;
158
+ schoolCode: string;
159
+ name: string;
160
+ schoolType: "elementary" | "middle" | "high" | "k12" | "charter" | "private" | "vocational" | "special_education";
161
+ gradeRange: {
162
+ start: string;
163
+ end: string;
164
+ };
165
+ locale: string;
166
+ academicCalendarType: "semester" | "quarter" | "trimester";
167
+ website?: string | undefined;
168
+ shortName?: string | undefined;
169
+ phone?: string | undefined;
170
+ email?: string | undefined;
171
+ address?: {
172
+ street1: string;
173
+ city: string;
174
+ state: string;
175
+ zipCode: string;
176
+ street2?: string | undefined;
177
+ country?: string | undefined;
178
+ latitude?: number | undefined;
179
+ longitude?: number | undefined;
180
+ timezone?: string | undefined;
181
+ } | undefined;
182
+ contactInfo?: {
183
+ primaryEmail: string;
184
+ primaryPhone: string;
185
+ secondaryPhone?: string | undefined;
186
+ website?: string | undefined;
187
+ fax?: string | undefined;
188
+ schoolEmail?: string | undefined;
189
+ } | undefined;
190
+ principalName?: string | undefined;
191
+ principalEmail?: string | undefined;
192
+ logoUrl?: string | undefined;
193
+ }, {
194
+ schoolCode: string;
195
+ name: string;
196
+ schoolType: "elementary" | "middle" | "high" | "k12" | "charter" | "private" | "vocational" | "special_education";
197
+ gradeRange: {
198
+ start: string;
199
+ end: string;
200
+ };
201
+ website?: string | undefined;
202
+ timezone?: string | undefined;
203
+ shortName?: string | undefined;
204
+ phone?: string | undefined;
205
+ email?: string | undefined;
206
+ address?: {
207
+ street1: string;
208
+ city: string;
209
+ state: string;
210
+ zipCode: string;
211
+ street2?: string | undefined;
212
+ country?: string | undefined;
213
+ latitude?: number | undefined;
214
+ longitude?: number | undefined;
215
+ timezone?: string | undefined;
216
+ } | undefined;
217
+ contactInfo?: {
218
+ primaryEmail: string;
219
+ primaryPhone: string;
220
+ secondaryPhone?: string | undefined;
221
+ website?: string | undefined;
222
+ fax?: string | undefined;
223
+ schoolEmail?: string | undefined;
224
+ } | undefined;
225
+ principalName?: string | undefined;
226
+ principalEmail?: string | undefined;
227
+ locale?: string | undefined;
228
+ academicCalendarType?: "semester" | "quarter" | "trimester" | undefined;
229
+ logoUrl?: string | undefined;
230
+ }>;
231
+ export type CreateSchoolDto = z.infer<typeof createSchoolSchema>;
232
+ export declare const updateSchoolSchema: z.ZodObject<{
233
+ name: z.ZodOptional<z.ZodString>;
234
+ shortName: z.ZodOptional<z.ZodString>;
235
+ schoolType: z.ZodOptional<z.ZodEnum<["elementary", "middle", "high", "k12", "charter", "private", "vocational", "special_education"]>>;
236
+ gradeRange: z.ZodOptional<z.ZodObject<{
237
+ start: z.ZodString;
238
+ end: z.ZodString;
239
+ }, "strip", z.ZodTypeAny, {
240
+ start: string;
241
+ end: string;
242
+ }, {
243
+ start: string;
244
+ end: string;
245
+ }>>;
246
+ phone: z.ZodOptional<z.ZodString>;
247
+ email: z.ZodOptional<z.ZodString>;
248
+ website: z.ZodOptional<z.ZodString>;
249
+ address: z.ZodOptional<z.ZodObject<{
250
+ street1: z.ZodString;
251
+ street2: z.ZodOptional<z.ZodString>;
252
+ city: z.ZodString;
253
+ state: z.ZodString;
254
+ zipCode: z.ZodString;
255
+ country: z.ZodOptional<z.ZodString>;
256
+ latitude: z.ZodOptional<z.ZodNumber>;
257
+ longitude: z.ZodOptional<z.ZodNumber>;
258
+ timezone: z.ZodOptional<z.ZodString>;
259
+ }, "strip", z.ZodTypeAny, {
260
+ street1: string;
261
+ city: string;
262
+ state: string;
263
+ zipCode: string;
264
+ street2?: string | undefined;
265
+ country?: string | undefined;
266
+ latitude?: number | undefined;
267
+ longitude?: number | undefined;
268
+ timezone?: string | undefined;
269
+ }, {
270
+ street1: string;
271
+ city: string;
272
+ state: string;
273
+ zipCode: string;
274
+ street2?: string | undefined;
275
+ country?: string | undefined;
276
+ latitude?: number | undefined;
277
+ longitude?: number | undefined;
278
+ timezone?: string | undefined;
279
+ }>>;
280
+ contactInfo: z.ZodOptional<z.ZodObject<{
281
+ primaryEmail: z.ZodOptional<z.ZodString>;
282
+ primaryPhone: z.ZodOptional<z.ZodString>;
283
+ secondaryPhone: z.ZodOptional<z.ZodOptional<z.ZodString>>;
284
+ website: z.ZodOptional<z.ZodOptional<z.ZodString>>;
285
+ fax: z.ZodOptional<z.ZodOptional<z.ZodString>>;
286
+ schoolEmail: z.ZodOptional<z.ZodOptional<z.ZodString>>;
287
+ }, "strip", z.ZodTypeAny, {
288
+ primaryEmail?: string | undefined;
289
+ primaryPhone?: string | undefined;
290
+ secondaryPhone?: string | undefined;
291
+ website?: string | undefined;
292
+ fax?: string | undefined;
293
+ schoolEmail?: string | undefined;
294
+ }, {
295
+ primaryEmail?: string | undefined;
296
+ primaryPhone?: string | undefined;
297
+ secondaryPhone?: string | undefined;
298
+ website?: string | undefined;
299
+ fax?: string | undefined;
300
+ schoolEmail?: string | undefined;
301
+ }>>;
302
+ principalName: z.ZodOptional<z.ZodString>;
303
+ principalEmail: z.ZodOptional<z.ZodString>;
304
+ status: z.ZodOptional<z.ZodEnum<["active", "inactive", "setup", "suspended", "closed"]>>;
305
+ timezone: z.ZodOptional<z.ZodString>;
306
+ locale: z.ZodOptional<z.ZodString>;
307
+ currentAcademicYearId: z.ZodOptional<z.ZodString>;
308
+ logoUrl: z.ZodOptional<z.ZodString>;
309
+ }, "strip", z.ZodTypeAny, {
310
+ status?: "active" | "inactive" | "setup" | "suspended" | "closed" | undefined;
311
+ website?: string | undefined;
312
+ timezone?: string | undefined;
313
+ name?: string | undefined;
314
+ shortName?: string | undefined;
315
+ schoolType?: "elementary" | "middle" | "high" | "k12" | "charter" | "private" | "vocational" | "special_education" | undefined;
316
+ gradeRange?: {
317
+ start: string;
318
+ end: string;
319
+ } | undefined;
320
+ phone?: string | undefined;
321
+ email?: string | undefined;
322
+ address?: {
323
+ street1: string;
324
+ city: string;
325
+ state: string;
326
+ zipCode: string;
327
+ street2?: string | undefined;
328
+ country?: string | undefined;
329
+ latitude?: number | undefined;
330
+ longitude?: number | undefined;
331
+ timezone?: string | undefined;
332
+ } | undefined;
333
+ contactInfo?: {
334
+ primaryEmail?: string | undefined;
335
+ primaryPhone?: string | undefined;
336
+ secondaryPhone?: string | undefined;
337
+ website?: string | undefined;
338
+ fax?: string | undefined;
339
+ schoolEmail?: string | undefined;
340
+ } | undefined;
341
+ principalName?: string | undefined;
342
+ principalEmail?: string | undefined;
343
+ locale?: string | undefined;
344
+ logoUrl?: string | undefined;
345
+ currentAcademicYearId?: string | undefined;
346
+ }, {
347
+ status?: "active" | "inactive" | "setup" | "suspended" | "closed" | undefined;
348
+ website?: string | undefined;
349
+ timezone?: string | undefined;
350
+ name?: string | undefined;
351
+ shortName?: string | undefined;
352
+ schoolType?: "elementary" | "middle" | "high" | "k12" | "charter" | "private" | "vocational" | "special_education" | undefined;
353
+ gradeRange?: {
354
+ start: string;
355
+ end: string;
356
+ } | undefined;
357
+ phone?: string | undefined;
358
+ email?: string | undefined;
359
+ address?: {
360
+ street1: string;
361
+ city: string;
362
+ state: string;
363
+ zipCode: string;
364
+ street2?: string | undefined;
365
+ country?: string | undefined;
366
+ latitude?: number | undefined;
367
+ longitude?: number | undefined;
368
+ timezone?: string | undefined;
369
+ } | undefined;
370
+ contactInfo?: {
371
+ primaryEmail?: string | undefined;
372
+ primaryPhone?: string | undefined;
373
+ secondaryPhone?: string | undefined;
374
+ website?: string | undefined;
375
+ fax?: string | undefined;
376
+ schoolEmail?: string | undefined;
377
+ } | undefined;
378
+ principalName?: string | undefined;
379
+ principalEmail?: string | undefined;
380
+ locale?: string | undefined;
381
+ logoUrl?: string | undefined;
382
+ currentAcademicYearId?: string | undefined;
383
+ }>;
384
+ export type UpdateSchoolDto = z.infer<typeof updateSchoolSchema>;
385
+ export declare const schoolResponseSchema: z.ZodObject<{
386
+ schoolId: z.ZodString;
387
+ schoolCode: z.ZodString;
388
+ name: z.ZodString;
389
+ shortName: z.ZodOptional<z.ZodString>;
390
+ schoolType: z.ZodEnum<["elementary", "middle", "high", "k12", "charter", "private", "vocational", "special_education"]>;
391
+ gradeRange: z.ZodObject<{
392
+ start: z.ZodString;
393
+ end: z.ZodString;
394
+ }, "strip", z.ZodTypeAny, {
395
+ start: string;
396
+ end: string;
397
+ }, {
398
+ start: string;
399
+ end: string;
400
+ }>;
401
+ phone: z.ZodOptional<z.ZodString>;
402
+ email: z.ZodOptional<z.ZodString>;
403
+ website: z.ZodOptional<z.ZodString>;
404
+ address: z.ZodOptional<z.ZodObject<{
405
+ street1: z.ZodString;
406
+ street2: z.ZodOptional<z.ZodString>;
407
+ city: z.ZodString;
408
+ state: z.ZodString;
409
+ zipCode: z.ZodString;
410
+ country: z.ZodOptional<z.ZodString>;
411
+ latitude: z.ZodOptional<z.ZodNumber>;
412
+ longitude: z.ZodOptional<z.ZodNumber>;
413
+ timezone: z.ZodOptional<z.ZodString>;
414
+ }, "strip", z.ZodTypeAny, {
415
+ street1: string;
416
+ city: string;
417
+ state: string;
418
+ zipCode: string;
419
+ street2?: string | undefined;
420
+ country?: string | undefined;
421
+ latitude?: number | undefined;
422
+ longitude?: number | undefined;
423
+ timezone?: string | undefined;
424
+ }, {
425
+ street1: string;
426
+ city: string;
427
+ state: string;
428
+ zipCode: string;
429
+ street2?: string | undefined;
430
+ country?: string | undefined;
431
+ latitude?: number | undefined;
432
+ longitude?: number | undefined;
433
+ timezone?: string | undefined;
434
+ }>>;
435
+ contactInfo: z.ZodOptional<z.ZodObject<{
436
+ primaryEmail: z.ZodString;
437
+ primaryPhone: z.ZodString;
438
+ secondaryPhone: z.ZodOptional<z.ZodString>;
439
+ website: z.ZodOptional<z.ZodString>;
440
+ fax: z.ZodOptional<z.ZodString>;
441
+ schoolEmail: z.ZodOptional<z.ZodString>;
442
+ }, "strip", z.ZodTypeAny, {
443
+ primaryEmail: string;
444
+ primaryPhone: string;
445
+ secondaryPhone?: string | undefined;
446
+ website?: string | undefined;
447
+ fax?: string | undefined;
448
+ schoolEmail?: string | undefined;
449
+ }, {
450
+ primaryEmail: string;
451
+ primaryPhone: string;
452
+ secondaryPhone?: string | undefined;
453
+ website?: string | undefined;
454
+ fax?: string | undefined;
455
+ schoolEmail?: string | undefined;
456
+ }>>;
457
+ principalName: z.ZodOptional<z.ZodString>;
458
+ principalEmail: z.ZodOptional<z.ZodString>;
459
+ status: z.ZodEnum<["active", "inactive", "setup", "suspended", "closed"]>;
460
+ timezone: z.ZodString;
461
+ locale: z.ZodString;
462
+ academicCalendarType: z.ZodEnum<["semester", "quarter", "trimester"]>;
463
+ currentAcademicYearId: z.ZodOptional<z.ZodString>;
464
+ studentCount: z.ZodOptional<z.ZodNumber>;
465
+ staffCount: z.ZodOptional<z.ZodNumber>;
466
+ teacherCount: z.ZodOptional<z.ZodNumber>;
467
+ logoUrl: z.ZodOptional<z.ZodString>;
468
+ createdAt: z.ZodString;
469
+ updatedAt: z.ZodString;
470
+ }, "strip", z.ZodTypeAny, {
471
+ status: "active" | "inactive" | "setup" | "suspended" | "closed";
472
+ createdAt: string;
473
+ updatedAt: string;
474
+ timezone: string;
475
+ schoolCode: string;
476
+ name: string;
477
+ schoolType: "elementary" | "middle" | "high" | "k12" | "charter" | "private" | "vocational" | "special_education";
478
+ gradeRange: {
479
+ start: string;
480
+ end: string;
481
+ };
482
+ locale: string;
483
+ academicCalendarType: "semester" | "quarter" | "trimester";
484
+ schoolId: string;
485
+ website?: string | undefined;
486
+ shortName?: string | undefined;
487
+ phone?: string | undefined;
488
+ email?: string | undefined;
489
+ address?: {
490
+ street1: string;
491
+ city: string;
492
+ state: string;
493
+ zipCode: string;
494
+ street2?: string | undefined;
495
+ country?: string | undefined;
496
+ latitude?: number | undefined;
497
+ longitude?: number | undefined;
498
+ timezone?: string | undefined;
499
+ } | undefined;
500
+ contactInfo?: {
501
+ primaryEmail: string;
502
+ primaryPhone: string;
503
+ secondaryPhone?: string | undefined;
504
+ website?: string | undefined;
505
+ fax?: string | undefined;
506
+ schoolEmail?: string | undefined;
507
+ } | undefined;
508
+ principalName?: string | undefined;
509
+ principalEmail?: string | undefined;
510
+ logoUrl?: string | undefined;
511
+ currentAcademicYearId?: string | undefined;
512
+ studentCount?: number | undefined;
513
+ staffCount?: number | undefined;
514
+ teacherCount?: number | undefined;
515
+ }, {
516
+ status: "active" | "inactive" | "setup" | "suspended" | "closed";
517
+ createdAt: string;
518
+ updatedAt: string;
519
+ timezone: string;
520
+ schoolCode: string;
521
+ name: string;
522
+ schoolType: "elementary" | "middle" | "high" | "k12" | "charter" | "private" | "vocational" | "special_education";
523
+ gradeRange: {
524
+ start: string;
525
+ end: string;
526
+ };
527
+ locale: string;
528
+ academicCalendarType: "semester" | "quarter" | "trimester";
529
+ schoolId: string;
530
+ website?: string | undefined;
531
+ shortName?: string | undefined;
532
+ phone?: string | undefined;
533
+ email?: string | undefined;
534
+ address?: {
535
+ street1: string;
536
+ city: string;
537
+ state: string;
538
+ zipCode: string;
539
+ street2?: string | undefined;
540
+ country?: string | undefined;
541
+ latitude?: number | undefined;
542
+ longitude?: number | undefined;
543
+ timezone?: string | undefined;
544
+ } | undefined;
545
+ contactInfo?: {
546
+ primaryEmail: string;
547
+ primaryPhone: string;
548
+ secondaryPhone?: string | undefined;
549
+ website?: string | undefined;
550
+ fax?: string | undefined;
551
+ schoolEmail?: string | undefined;
552
+ } | undefined;
553
+ principalName?: string | undefined;
554
+ principalEmail?: string | undefined;
555
+ logoUrl?: string | undefined;
556
+ currentAcademicYearId?: string | undefined;
557
+ studentCount?: number | undefined;
558
+ staffCount?: number | undefined;
559
+ teacherCount?: number | undefined;
560
+ }>;
561
+ export type SchoolResponseDto = z.infer<typeof schoolResponseSchema>;
562
+ export declare const schoolListResponseSchema: z.ZodObject<{
563
+ items: z.ZodArray<z.ZodObject<{
564
+ schoolId: z.ZodString;
565
+ schoolCode: z.ZodString;
566
+ name: z.ZodString;
567
+ shortName: z.ZodOptional<z.ZodString>;
568
+ schoolType: z.ZodEnum<["elementary", "middle", "high", "k12", "charter", "private", "vocational", "special_education"]>;
569
+ gradeRange: z.ZodObject<{
570
+ start: z.ZodString;
571
+ end: z.ZodString;
572
+ }, "strip", z.ZodTypeAny, {
573
+ start: string;
574
+ end: string;
575
+ }, {
576
+ start: string;
577
+ end: string;
578
+ }>;
579
+ phone: z.ZodOptional<z.ZodString>;
580
+ email: z.ZodOptional<z.ZodString>;
581
+ website: z.ZodOptional<z.ZodString>;
582
+ address: z.ZodOptional<z.ZodObject<{
583
+ street1: z.ZodString;
584
+ street2: z.ZodOptional<z.ZodString>;
585
+ city: z.ZodString;
586
+ state: z.ZodString;
587
+ zipCode: z.ZodString;
588
+ country: z.ZodOptional<z.ZodString>;
589
+ latitude: z.ZodOptional<z.ZodNumber>;
590
+ longitude: z.ZodOptional<z.ZodNumber>;
591
+ timezone: z.ZodOptional<z.ZodString>;
592
+ }, "strip", z.ZodTypeAny, {
593
+ street1: string;
594
+ city: string;
595
+ state: string;
596
+ zipCode: string;
597
+ street2?: string | undefined;
598
+ country?: string | undefined;
599
+ latitude?: number | undefined;
600
+ longitude?: number | undefined;
601
+ timezone?: string | undefined;
602
+ }, {
603
+ street1: string;
604
+ city: string;
605
+ state: string;
606
+ zipCode: string;
607
+ street2?: string | undefined;
608
+ country?: string | undefined;
609
+ latitude?: number | undefined;
610
+ longitude?: number | undefined;
611
+ timezone?: string | undefined;
612
+ }>>;
613
+ contactInfo: z.ZodOptional<z.ZodObject<{
614
+ primaryEmail: z.ZodString;
615
+ primaryPhone: z.ZodString;
616
+ secondaryPhone: z.ZodOptional<z.ZodString>;
617
+ website: z.ZodOptional<z.ZodString>;
618
+ fax: z.ZodOptional<z.ZodString>;
619
+ schoolEmail: z.ZodOptional<z.ZodString>;
620
+ }, "strip", z.ZodTypeAny, {
621
+ primaryEmail: string;
622
+ primaryPhone: string;
623
+ secondaryPhone?: string | undefined;
624
+ website?: string | undefined;
625
+ fax?: string | undefined;
626
+ schoolEmail?: string | undefined;
627
+ }, {
628
+ primaryEmail: string;
629
+ primaryPhone: string;
630
+ secondaryPhone?: string | undefined;
631
+ website?: string | undefined;
632
+ fax?: string | undefined;
633
+ schoolEmail?: string | undefined;
634
+ }>>;
635
+ principalName: z.ZodOptional<z.ZodString>;
636
+ principalEmail: z.ZodOptional<z.ZodString>;
637
+ status: z.ZodEnum<["active", "inactive", "setup", "suspended", "closed"]>;
638
+ timezone: z.ZodString;
639
+ locale: z.ZodString;
640
+ academicCalendarType: z.ZodEnum<["semester", "quarter", "trimester"]>;
641
+ currentAcademicYearId: z.ZodOptional<z.ZodString>;
642
+ studentCount: z.ZodOptional<z.ZodNumber>;
643
+ staffCount: z.ZodOptional<z.ZodNumber>;
644
+ teacherCount: z.ZodOptional<z.ZodNumber>;
645
+ logoUrl: z.ZodOptional<z.ZodString>;
646
+ createdAt: z.ZodString;
647
+ updatedAt: z.ZodString;
648
+ }, "strip", z.ZodTypeAny, {
649
+ status: "active" | "inactive" | "setup" | "suspended" | "closed";
650
+ createdAt: string;
651
+ updatedAt: string;
652
+ timezone: string;
653
+ schoolCode: string;
654
+ name: string;
655
+ schoolType: "elementary" | "middle" | "high" | "k12" | "charter" | "private" | "vocational" | "special_education";
656
+ gradeRange: {
657
+ start: string;
658
+ end: string;
659
+ };
660
+ locale: string;
661
+ academicCalendarType: "semester" | "quarter" | "trimester";
662
+ schoolId: string;
663
+ website?: string | undefined;
664
+ shortName?: string | undefined;
665
+ phone?: string | undefined;
666
+ email?: string | undefined;
667
+ address?: {
668
+ street1: string;
669
+ city: string;
670
+ state: string;
671
+ zipCode: string;
672
+ street2?: string | undefined;
673
+ country?: string | undefined;
674
+ latitude?: number | undefined;
675
+ longitude?: number | undefined;
676
+ timezone?: string | undefined;
677
+ } | undefined;
678
+ contactInfo?: {
679
+ primaryEmail: string;
680
+ primaryPhone: string;
681
+ secondaryPhone?: string | undefined;
682
+ website?: string | undefined;
683
+ fax?: string | undefined;
684
+ schoolEmail?: string | undefined;
685
+ } | undefined;
686
+ principalName?: string | undefined;
687
+ principalEmail?: string | undefined;
688
+ logoUrl?: string | undefined;
689
+ currentAcademicYearId?: string | undefined;
690
+ studentCount?: number | undefined;
691
+ staffCount?: number | undefined;
692
+ teacherCount?: number | undefined;
693
+ }, {
694
+ status: "active" | "inactive" | "setup" | "suspended" | "closed";
695
+ createdAt: string;
696
+ updatedAt: string;
697
+ timezone: string;
698
+ schoolCode: string;
699
+ name: string;
700
+ schoolType: "elementary" | "middle" | "high" | "k12" | "charter" | "private" | "vocational" | "special_education";
701
+ gradeRange: {
702
+ start: string;
703
+ end: string;
704
+ };
705
+ locale: string;
706
+ academicCalendarType: "semester" | "quarter" | "trimester";
707
+ schoolId: string;
708
+ website?: string | undefined;
709
+ shortName?: string | undefined;
710
+ phone?: string | undefined;
711
+ email?: string | undefined;
712
+ address?: {
713
+ street1: string;
714
+ city: string;
715
+ state: string;
716
+ zipCode: string;
717
+ street2?: string | undefined;
718
+ country?: string | undefined;
719
+ latitude?: number | undefined;
720
+ longitude?: number | undefined;
721
+ timezone?: string | undefined;
722
+ } | undefined;
723
+ contactInfo?: {
724
+ primaryEmail: string;
725
+ primaryPhone: string;
726
+ secondaryPhone?: string | undefined;
727
+ website?: string | undefined;
728
+ fax?: string | undefined;
729
+ schoolEmail?: string | undefined;
730
+ } | undefined;
731
+ principalName?: string | undefined;
732
+ principalEmail?: string | undefined;
733
+ logoUrl?: string | undefined;
734
+ currentAcademicYearId?: string | undefined;
735
+ studentCount?: number | undefined;
736
+ staffCount?: number | undefined;
737
+ teacherCount?: number | undefined;
738
+ }>, "many">;
739
+ lastEvaluatedKey: z.ZodOptional<z.ZodString>;
740
+ hasMore: z.ZodBoolean;
741
+ total: z.ZodOptional<z.ZodNumber>;
742
+ }, "strip", z.ZodTypeAny, {
743
+ items: {
744
+ status: "active" | "inactive" | "setup" | "suspended" | "closed";
745
+ createdAt: string;
746
+ updatedAt: string;
747
+ timezone: string;
748
+ schoolCode: string;
749
+ name: string;
750
+ schoolType: "elementary" | "middle" | "high" | "k12" | "charter" | "private" | "vocational" | "special_education";
751
+ gradeRange: {
752
+ start: string;
753
+ end: string;
754
+ };
755
+ locale: string;
756
+ academicCalendarType: "semester" | "quarter" | "trimester";
757
+ schoolId: string;
758
+ website?: string | undefined;
759
+ shortName?: string | undefined;
760
+ phone?: string | undefined;
761
+ email?: string | undefined;
762
+ address?: {
763
+ street1: string;
764
+ city: string;
765
+ state: string;
766
+ zipCode: string;
767
+ street2?: string | undefined;
768
+ country?: string | undefined;
769
+ latitude?: number | undefined;
770
+ longitude?: number | undefined;
771
+ timezone?: string | undefined;
772
+ } | undefined;
773
+ contactInfo?: {
774
+ primaryEmail: string;
775
+ primaryPhone: string;
776
+ secondaryPhone?: string | undefined;
777
+ website?: string | undefined;
778
+ fax?: string | undefined;
779
+ schoolEmail?: string | undefined;
780
+ } | undefined;
781
+ principalName?: string | undefined;
782
+ principalEmail?: string | undefined;
783
+ logoUrl?: string | undefined;
784
+ currentAcademicYearId?: string | undefined;
785
+ studentCount?: number | undefined;
786
+ staffCount?: number | undefined;
787
+ teacherCount?: number | undefined;
788
+ }[];
789
+ hasMore: boolean;
790
+ lastEvaluatedKey?: string | undefined;
791
+ total?: number | undefined;
792
+ }, {
793
+ items: {
794
+ status: "active" | "inactive" | "setup" | "suspended" | "closed";
795
+ createdAt: string;
796
+ updatedAt: string;
797
+ timezone: string;
798
+ schoolCode: string;
799
+ name: string;
800
+ schoolType: "elementary" | "middle" | "high" | "k12" | "charter" | "private" | "vocational" | "special_education";
801
+ gradeRange: {
802
+ start: string;
803
+ end: string;
804
+ };
805
+ locale: string;
806
+ academicCalendarType: "semester" | "quarter" | "trimester";
807
+ schoolId: string;
808
+ website?: string | undefined;
809
+ shortName?: string | undefined;
810
+ phone?: string | undefined;
811
+ email?: string | undefined;
812
+ address?: {
813
+ street1: string;
814
+ city: string;
815
+ state: string;
816
+ zipCode: string;
817
+ street2?: string | undefined;
818
+ country?: string | undefined;
819
+ latitude?: number | undefined;
820
+ longitude?: number | undefined;
821
+ timezone?: string | undefined;
822
+ } | undefined;
823
+ contactInfo?: {
824
+ primaryEmail: string;
825
+ primaryPhone: string;
826
+ secondaryPhone?: string | undefined;
827
+ website?: string | undefined;
828
+ fax?: string | undefined;
829
+ schoolEmail?: string | undefined;
830
+ } | undefined;
831
+ principalName?: string | undefined;
832
+ principalEmail?: string | undefined;
833
+ logoUrl?: string | undefined;
834
+ currentAcademicYearId?: string | undefined;
835
+ studentCount?: number | undefined;
836
+ staffCount?: number | undefined;
837
+ teacherCount?: number | undefined;
838
+ }[];
839
+ hasMore: boolean;
840
+ lastEvaluatedKey?: string | undefined;
841
+ total?: number | undefined;
842
+ }>;
843
+ export type SchoolListResponseDto = z.infer<typeof schoolListResponseSchema>;
844
+ //# sourceMappingURL=school.schema.d.ts.map