@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.
- package/README.md +170 -0
- package/dist/index.d.ts +48 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +74 -0
- package/dist/index.js.map +1 -0
- package/dist/mappers/edfi/calendar.mapper.d.ts +158 -0
- package/dist/mappers/edfi/calendar.mapper.d.ts.map +1 -0
- package/dist/mappers/edfi/calendar.mapper.js +235 -0
- package/dist/mappers/edfi/calendar.mapper.js.map +1 -0
- package/dist/mappers/edfi/credential.mapper.d.ts +50 -0
- package/dist/mappers/edfi/credential.mapper.d.ts.map +1 -0
- package/dist/mappers/edfi/credential.mapper.js +123 -0
- package/dist/mappers/edfi/credential.mapper.js.map +1 -0
- package/dist/mappers/edfi/index.d.ts +10 -0
- package/dist/mappers/edfi/index.d.ts.map +1 -0
- package/dist/mappers/edfi/index.js +26 -0
- package/dist/mappers/edfi/index.js.map +1 -0
- package/dist/mappers/edfi/staff.mapper.d.ts +96 -0
- package/dist/mappers/edfi/staff.mapper.d.ts.map +1 -0
- package/dist/mappers/edfi/staff.mapper.js +138 -0
- package/dist/mappers/edfi/staff.mapper.js.map +1 -0
- package/dist/mappers/index.d.ts +7 -0
- package/dist/mappers/index.d.ts.map +1 -0
- package/dist/mappers/index.js +23 -0
- package/dist/mappers/index.js.map +1 -0
- package/dist/schemas/academics/assignment.schema.d.ts +1463 -0
- package/dist/schemas/academics/assignment.schema.d.ts.map +1 -0
- package/dist/schemas/academics/assignment.schema.js +195 -0
- package/dist/schemas/academics/assignment.schema.js.map +1 -0
- package/dist/schemas/academics/attendance.schema.d.ts +762 -0
- package/dist/schemas/academics/attendance.schema.d.ts.map +1 -0
- package/dist/schemas/academics/attendance.schema.js +250 -0
- package/dist/schemas/academics/attendance.schema.js.map +1 -0
- package/dist/schemas/academics/classroom.schema.d.ts +742 -0
- package/dist/schemas/academics/classroom.schema.d.ts.map +1 -0
- package/dist/schemas/academics/classroom.schema.js +164 -0
- package/dist/schemas/academics/classroom.schema.js.map +1 -0
- package/dist/schemas/academics/course-section.schema.d.ts +388 -0
- package/dist/schemas/academics/course-section.schema.d.ts.map +1 -0
- package/dist/schemas/academics/course-section.schema.js +128 -0
- package/dist/schemas/academics/course-section.schema.js.map +1 -0
- package/dist/schemas/academics/course.schema.d.ts +778 -0
- package/dist/schemas/academics/course.schema.d.ts.map +1 -0
- package/dist/schemas/academics/course.schema.js +207 -0
- package/dist/schemas/academics/course.schema.js.map +1 -0
- package/dist/schemas/academics/grade.schema.d.ts +848 -0
- package/dist/schemas/academics/grade.schema.d.ts.map +1 -0
- package/dist/schemas/academics/grade.schema.js +251 -0
- package/dist/schemas/academics/grade.schema.js.map +1 -0
- package/dist/schemas/academics/index.d.ts +13 -0
- package/dist/schemas/academics/index.d.ts.map +1 -0
- package/dist/schemas/academics/index.js +29 -0
- package/dist/schemas/academics/index.js.map +1 -0
- package/dist/schemas/academics/student.schema.d.ts +2891 -0
- package/dist/schemas/academics/student.schema.d.ts.map +1 -0
- package/dist/schemas/academics/student.schema.js +249 -0
- package/dist/schemas/academics/student.schema.js.map +1 -0
- package/dist/schemas/common.d.ts +183 -0
- package/dist/schemas/common.d.ts.map +1 -0
- package/dist/schemas/common.js +126 -0
- package/dist/schemas/common.js.map +1 -0
- package/dist/schemas/enrollment/enrollment.schema.d.ts +2799 -0
- package/dist/schemas/enrollment/enrollment.schema.d.ts.map +1 -0
- package/dist/schemas/enrollment/enrollment.schema.js +435 -0
- package/dist/schemas/enrollment/enrollment.schema.js.map +1 -0
- package/dist/schemas/enrollment/index.d.ts +7 -0
- package/dist/schemas/enrollment/index.d.ts.map +1 -0
- package/dist/schemas/enrollment/index.js +23 -0
- package/dist/schemas/enrollment/index.js.map +1 -0
- package/dist/schemas/identity/academic-year.schema.d.ts +546 -0
- package/dist/schemas/identity/academic-year.schema.d.ts.map +1 -0
- package/dist/schemas/identity/academic-year.schema.js +137 -0
- package/dist/schemas/identity/academic-year.schema.js.map +1 -0
- package/dist/schemas/identity/auth.schema.d.ts +670 -0
- package/dist/schemas/identity/auth.schema.d.ts.map +1 -0
- package/dist/schemas/identity/auth.schema.js +126 -0
- package/dist/schemas/identity/auth.schema.js.map +1 -0
- package/dist/schemas/identity/bell-schedule.schema.d.ts +630 -0
- package/dist/schemas/identity/bell-schedule.schema.d.ts.map +1 -0
- package/dist/schemas/identity/bell-schedule.schema.js +143 -0
- package/dist/schemas/identity/bell-schedule.schema.js.map +1 -0
- package/dist/schemas/identity/calendar-date.schema.d.ts +830 -0
- package/dist/schemas/identity/calendar-date.schema.d.ts.map +1 -0
- package/dist/schemas/identity/calendar-date.schema.js +208 -0
- package/dist/schemas/identity/calendar-date.schema.js.map +1 -0
- package/dist/schemas/identity/credential.schema.d.ts +472 -0
- package/dist/schemas/identity/credential.schema.d.ts.map +1 -0
- package/dist/schemas/identity/credential.schema.js +200 -0
- package/dist/schemas/identity/credential.schema.js.map +1 -0
- package/dist/schemas/identity/department.schema.d.ts +567 -0
- package/dist/schemas/identity/department.schema.d.ts.map +1 -0
- package/dist/schemas/identity/department.schema.js +113 -0
- package/dist/schemas/identity/department.schema.js.map +1 -0
- package/dist/schemas/identity/index.d.ts +21 -0
- package/dist/schemas/identity/index.d.ts.map +1 -0
- package/dist/schemas/identity/index.js +39 -0
- package/dist/schemas/identity/index.js.map +1 -0
- package/dist/schemas/identity/leave.schema.d.ts +725 -0
- package/dist/schemas/identity/leave.schema.d.ts.map +1 -0
- package/dist/schemas/identity/leave.schema.js +204 -0
- package/dist/schemas/identity/leave.schema.js.map +1 -0
- package/dist/schemas/identity/role.schema.d.ts +356 -0
- package/dist/schemas/identity/role.schema.d.ts.map +1 -0
- package/dist/schemas/identity/role.schema.js +124 -0
- package/dist/schemas/identity/role.schema.js.map +1 -0
- package/dist/schemas/identity/school-year.schema.d.ts +303 -0
- package/dist/schemas/identity/school-year.schema.d.ts.map +1 -0
- package/dist/schemas/identity/school-year.schema.js +59 -0
- package/dist/schemas/identity/school-year.schema.js.map +1 -0
- package/dist/schemas/identity/school.schema.d.ts +844 -0
- package/dist/schemas/identity/school.schema.d.ts.map +1 -0
- package/dist/schemas/identity/school.schema.js +139 -0
- package/dist/schemas/identity/school.schema.js.map +1 -0
- package/dist/schemas/identity/security.schema.d.ts +422 -0
- package/dist/schemas/identity/security.schema.d.ts.map +1 -0
- package/dist/schemas/identity/security.schema.js +151 -0
- package/dist/schemas/identity/security.schema.js.map +1 -0
- package/dist/schemas/identity/session.schema.d.ts +193 -0
- package/dist/schemas/identity/session.schema.d.ts.map +1 -0
- package/dist/schemas/identity/session.schema.js +59 -0
- package/dist/schemas/identity/session.schema.js.map +1 -0
- package/dist/schemas/identity/staff.schema.d.ts +1037 -0
- package/dist/schemas/identity/staff.schema.d.ts.map +1 -0
- package/dist/schemas/identity/staff.schema.js +251 -0
- package/dist/schemas/identity/staff.schema.js.map +1 -0
- package/dist/schemas/identity/tenant.schema.d.ts +313 -0
- package/dist/schemas/identity/tenant.schema.d.ts.map +1 -0
- package/dist/schemas/identity/tenant.schema.js +81 -0
- package/dist/schemas/identity/tenant.schema.js.map +1 -0
- package/dist/schemas/identity/user.schema.d.ts +921 -0
- package/dist/schemas/identity/user.schema.d.ts.map +1 -0
- package/dist/schemas/identity/user.schema.js +201 -0
- package/dist/schemas/identity/user.schema.js.map +1 -0
- package/dist/schemas/index.d.ts +10 -0
- package/dist/schemas/index.d.ts.map +1 -0
- package/dist/schemas/index.js +26 -0
- package/dist/schemas/index.js.map +1 -0
- package/dist/validators/academic-year.d.ts +90 -0
- package/dist/validators/academic-year.d.ts.map +1 -0
- package/dist/validators/academic-year.js +190 -0
- package/dist/validators/academic-year.js.map +1 -0
- package/dist/validators/date-range.d.ts +142 -0
- package/dist/validators/date-range.d.ts.map +1 -0
- package/dist/validators/date-range.js +170 -0
- package/dist/validators/date-range.js.map +1 -0
- package/dist/validators/grade-level.d.ts +80 -0
- package/dist/validators/grade-level.d.ts.map +1 -0
- package/dist/validators/grade-level.js +157 -0
- package/dist/validators/grade-level.js.map +1 -0
- package/dist/validators/index.d.ts +10 -0
- package/dist/validators/index.d.ts.map +1 -0
- package/dist/validators/index.js +26 -0
- package/dist/validators/index.js.map +1 -0
- package/dist/validators/password.d.ts +60 -0
- package/dist/validators/password.d.ts.map +1 -0
- package/dist/validators/password.js +81 -0
- package/dist/validators/password.js.map +1 -0
- package/package.json +50 -0
|
@@ -0,0 +1,472 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Credential Schemas - Identity Service
|
|
3
|
+
*
|
|
4
|
+
* Zod schemas for staff credential management with Ed-Fi alignment.
|
|
5
|
+
* Ed-Fi: Credential represents teaching licenses, certifications, endorsements.
|
|
6
|
+
*/
|
|
7
|
+
import { z } from 'zod';
|
|
8
|
+
/**
|
|
9
|
+
* Credential type (Ed-Fi: credentialTypeDescriptor)
|
|
10
|
+
*/
|
|
11
|
+
export declare const credentialTypeSchema: z.ZodEnum<["certification", "license", "endorsement", "degree", "registration", "permit", "clearance", "training", "other"]>;
|
|
12
|
+
export type CredentialType = z.infer<typeof credentialTypeSchema>;
|
|
13
|
+
/**
|
|
14
|
+
* Credential field/subject area (Ed-Fi: credentialFieldDescriptor)
|
|
15
|
+
*/
|
|
16
|
+
export declare const credentialFieldSchema: z.ZodEnum<["elementary_education", "secondary_education", "special_education", "early_childhood", "mathematics", "science", "english_language_arts", "social_studies", "foreign_language", "physical_education", "music", "art", "technology", "counseling", "administration", "library_media", "other"]>;
|
|
17
|
+
export type CredentialField = z.infer<typeof credentialFieldSchema>;
|
|
18
|
+
/**
|
|
19
|
+
* Verification status
|
|
20
|
+
*/
|
|
21
|
+
export declare const verificationStatusSchema: z.ZodEnum<["pending", "verified", "rejected", "expired", "revoked"]>;
|
|
22
|
+
export type VerificationStatus = z.infer<typeof verificationStatusSchema>;
|
|
23
|
+
/**
|
|
24
|
+
* Grade level (Ed-Fi aligned)
|
|
25
|
+
*/
|
|
26
|
+
export declare const gradeLevelDescriptorSchema: z.ZodEnum<["pre_k", "kindergarten", "first", "second", "third", "fourth", "fifth", "sixth", "seventh", "eighth", "ninth", "tenth", "eleventh", "twelfth", "adult_education", "ungraded"]>;
|
|
27
|
+
export type GradeLevelDescriptor = z.infer<typeof gradeLevelDescriptorSchema>;
|
|
28
|
+
export declare const createCredentialSchema: z.ZodObject<{
|
|
29
|
+
credentialIdentifier: z.ZodString;
|
|
30
|
+
credentialTypeDescriptor: z.ZodEnum<["certification", "license", "endorsement", "degree", "registration", "permit", "clearance", "training", "other"]>;
|
|
31
|
+
credentialFieldDescriptor: z.ZodOptional<z.ZodEnum<["elementary_education", "secondary_education", "special_education", "early_childhood", "mathematics", "science", "english_language_arts", "social_studies", "foreign_language", "physical_education", "music", "art", "technology", "counseling", "administration", "library_media", "other"]>>;
|
|
32
|
+
issuanceDate: z.ZodEffects<z.ZodString, string, string>;
|
|
33
|
+
expirationDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
34
|
+
issuingState: z.ZodOptional<z.ZodString>;
|
|
35
|
+
issuingOrganization: z.ZodString;
|
|
36
|
+
gradeLevels: z.ZodOptional<z.ZodArray<z.ZodEnum<["pre_k", "kindergarten", "first", "second", "third", "fourth", "fifth", "sixth", "seventh", "eighth", "ninth", "tenth", "eleventh", "twelfth", "adult_education", "ungraded"]>, "many">>;
|
|
37
|
+
subjects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
38
|
+
name: z.ZodString;
|
|
39
|
+
description: z.ZodOptional<z.ZodString>;
|
|
40
|
+
documentUrl: z.ZodOptional<z.ZodString>;
|
|
41
|
+
documentFileName: z.ZodOptional<z.ZodString>;
|
|
42
|
+
verificationStatus: z.ZodDefault<z.ZodEnum<["pending", "verified", "rejected", "expired", "revoked"]>>;
|
|
43
|
+
verificationNotes: z.ZodOptional<z.ZodString>;
|
|
44
|
+
verifiedBy: z.ZodOptional<z.ZodString>;
|
|
45
|
+
verifiedAt: z.ZodOptional<z.ZodString>;
|
|
46
|
+
isRenewable: z.ZodDefault<z.ZodBoolean>;
|
|
47
|
+
renewalReminderDays: z.ZodDefault<z.ZodNumber>;
|
|
48
|
+
}, "strip", z.ZodTypeAny, {
|
|
49
|
+
name: string;
|
|
50
|
+
credentialIdentifier: string;
|
|
51
|
+
credentialTypeDescriptor: "other" | "certification" | "license" | "endorsement" | "degree" | "registration" | "permit" | "clearance" | "training";
|
|
52
|
+
issuanceDate: string;
|
|
53
|
+
issuingOrganization: string;
|
|
54
|
+
verificationStatus: "pending" | "expired" | "revoked" | "verified" | "rejected";
|
|
55
|
+
isRenewable: boolean;
|
|
56
|
+
renewalReminderDays: number;
|
|
57
|
+
description?: string | undefined;
|
|
58
|
+
credentialFieldDescriptor?: "special_education" | "other" | "elementary_education" | "secondary_education" | "early_childhood" | "mathematics" | "science" | "english_language_arts" | "social_studies" | "foreign_language" | "physical_education" | "music" | "art" | "technology" | "counseling" | "administration" | "library_media" | undefined;
|
|
59
|
+
expirationDate?: string | undefined;
|
|
60
|
+
issuingState?: string | undefined;
|
|
61
|
+
gradeLevels?: ("pre_k" | "kindergarten" | "first" | "second" | "third" | "fourth" | "fifth" | "sixth" | "seventh" | "eighth" | "ninth" | "tenth" | "eleventh" | "twelfth" | "adult_education" | "ungraded")[] | undefined;
|
|
62
|
+
subjects?: string[] | undefined;
|
|
63
|
+
documentUrl?: string | undefined;
|
|
64
|
+
documentFileName?: string | undefined;
|
|
65
|
+
verificationNotes?: string | undefined;
|
|
66
|
+
verifiedBy?: string | undefined;
|
|
67
|
+
verifiedAt?: string | undefined;
|
|
68
|
+
}, {
|
|
69
|
+
name: string;
|
|
70
|
+
credentialIdentifier: string;
|
|
71
|
+
credentialTypeDescriptor: "other" | "certification" | "license" | "endorsement" | "degree" | "registration" | "permit" | "clearance" | "training";
|
|
72
|
+
issuanceDate: string;
|
|
73
|
+
issuingOrganization: string;
|
|
74
|
+
description?: string | undefined;
|
|
75
|
+
credentialFieldDescriptor?: "special_education" | "other" | "elementary_education" | "secondary_education" | "early_childhood" | "mathematics" | "science" | "english_language_arts" | "social_studies" | "foreign_language" | "physical_education" | "music" | "art" | "technology" | "counseling" | "administration" | "library_media" | undefined;
|
|
76
|
+
expirationDate?: string | undefined;
|
|
77
|
+
issuingState?: string | undefined;
|
|
78
|
+
gradeLevels?: ("pre_k" | "kindergarten" | "first" | "second" | "third" | "fourth" | "fifth" | "sixth" | "seventh" | "eighth" | "ninth" | "tenth" | "eleventh" | "twelfth" | "adult_education" | "ungraded")[] | undefined;
|
|
79
|
+
subjects?: string[] | undefined;
|
|
80
|
+
documentUrl?: string | undefined;
|
|
81
|
+
documentFileName?: string | undefined;
|
|
82
|
+
verificationStatus?: "pending" | "expired" | "revoked" | "verified" | "rejected" | undefined;
|
|
83
|
+
verificationNotes?: string | undefined;
|
|
84
|
+
verifiedBy?: string | undefined;
|
|
85
|
+
verifiedAt?: string | undefined;
|
|
86
|
+
isRenewable?: boolean | undefined;
|
|
87
|
+
renewalReminderDays?: number | undefined;
|
|
88
|
+
}>;
|
|
89
|
+
export type CreateCredentialDto = z.infer<typeof createCredentialSchema>;
|
|
90
|
+
export declare const updateCredentialSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
91
|
+
credentialIdentifier: z.ZodOptional<z.ZodString>;
|
|
92
|
+
credentialTypeDescriptor: z.ZodOptional<z.ZodEnum<["certification", "license", "endorsement", "degree", "registration", "permit", "clearance", "training", "other"]>>;
|
|
93
|
+
credentialFieldDescriptor: z.ZodOptional<z.ZodOptional<z.ZodEnum<["elementary_education", "secondary_education", "special_education", "early_childhood", "mathematics", "science", "english_language_arts", "social_studies", "foreign_language", "physical_education", "music", "art", "technology", "counseling", "administration", "library_media", "other"]>>>;
|
|
94
|
+
issuanceDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
95
|
+
expirationDate: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
96
|
+
issuingState: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
97
|
+
issuingOrganization: z.ZodOptional<z.ZodString>;
|
|
98
|
+
gradeLevels: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEnum<["pre_k", "kindergarten", "first", "second", "third", "fourth", "fifth", "sixth", "seventh", "eighth", "ninth", "tenth", "eleventh", "twelfth", "adult_education", "ungraded"]>, "many">>>;
|
|
99
|
+
subjects: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
100
|
+
name: z.ZodOptional<z.ZodString>;
|
|
101
|
+
description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
102
|
+
documentUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
103
|
+
documentFileName: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
104
|
+
verificationStatus: z.ZodOptional<z.ZodDefault<z.ZodEnum<["pending", "verified", "rejected", "expired", "revoked"]>>>;
|
|
105
|
+
verificationNotes: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
106
|
+
verifiedBy: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
107
|
+
verifiedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
108
|
+
isRenewable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
109
|
+
renewalReminderDays: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
110
|
+
}, "credentialIdentifier">, {
|
|
111
|
+
verificationStatus: z.ZodOptional<z.ZodEnum<["pending", "verified", "rejected", "expired", "revoked"]>>;
|
|
112
|
+
}>, "strip", z.ZodTypeAny, {
|
|
113
|
+
name?: string | undefined;
|
|
114
|
+
description?: string | undefined;
|
|
115
|
+
credentialTypeDescriptor?: "other" | "certification" | "license" | "endorsement" | "degree" | "registration" | "permit" | "clearance" | "training" | undefined;
|
|
116
|
+
credentialFieldDescriptor?: "special_education" | "other" | "elementary_education" | "secondary_education" | "early_childhood" | "mathematics" | "science" | "english_language_arts" | "social_studies" | "foreign_language" | "physical_education" | "music" | "art" | "technology" | "counseling" | "administration" | "library_media" | undefined;
|
|
117
|
+
issuanceDate?: string | undefined;
|
|
118
|
+
expirationDate?: string | undefined;
|
|
119
|
+
issuingState?: string | undefined;
|
|
120
|
+
issuingOrganization?: string | undefined;
|
|
121
|
+
gradeLevels?: ("pre_k" | "kindergarten" | "first" | "second" | "third" | "fourth" | "fifth" | "sixth" | "seventh" | "eighth" | "ninth" | "tenth" | "eleventh" | "twelfth" | "adult_education" | "ungraded")[] | undefined;
|
|
122
|
+
subjects?: string[] | undefined;
|
|
123
|
+
documentUrl?: string | undefined;
|
|
124
|
+
documentFileName?: string | undefined;
|
|
125
|
+
verificationStatus?: "pending" | "expired" | "revoked" | "verified" | "rejected" | undefined;
|
|
126
|
+
verificationNotes?: string | undefined;
|
|
127
|
+
verifiedBy?: string | undefined;
|
|
128
|
+
verifiedAt?: string | undefined;
|
|
129
|
+
isRenewable?: boolean | undefined;
|
|
130
|
+
renewalReminderDays?: number | undefined;
|
|
131
|
+
}, {
|
|
132
|
+
name?: string | undefined;
|
|
133
|
+
description?: string | undefined;
|
|
134
|
+
credentialTypeDescriptor?: "other" | "certification" | "license" | "endorsement" | "degree" | "registration" | "permit" | "clearance" | "training" | undefined;
|
|
135
|
+
credentialFieldDescriptor?: "special_education" | "other" | "elementary_education" | "secondary_education" | "early_childhood" | "mathematics" | "science" | "english_language_arts" | "social_studies" | "foreign_language" | "physical_education" | "music" | "art" | "technology" | "counseling" | "administration" | "library_media" | undefined;
|
|
136
|
+
issuanceDate?: string | undefined;
|
|
137
|
+
expirationDate?: string | undefined;
|
|
138
|
+
issuingState?: string | undefined;
|
|
139
|
+
issuingOrganization?: string | undefined;
|
|
140
|
+
gradeLevels?: ("pre_k" | "kindergarten" | "first" | "second" | "third" | "fourth" | "fifth" | "sixth" | "seventh" | "eighth" | "ninth" | "tenth" | "eleventh" | "twelfth" | "adult_education" | "ungraded")[] | undefined;
|
|
141
|
+
subjects?: string[] | undefined;
|
|
142
|
+
documentUrl?: string | undefined;
|
|
143
|
+
documentFileName?: string | undefined;
|
|
144
|
+
verificationStatus?: "pending" | "expired" | "revoked" | "verified" | "rejected" | undefined;
|
|
145
|
+
verificationNotes?: string | undefined;
|
|
146
|
+
verifiedBy?: string | undefined;
|
|
147
|
+
verifiedAt?: string | undefined;
|
|
148
|
+
isRenewable?: boolean | undefined;
|
|
149
|
+
renewalReminderDays?: number | undefined;
|
|
150
|
+
}>;
|
|
151
|
+
export type UpdateCredentialDto = z.infer<typeof updateCredentialSchema>;
|
|
152
|
+
export declare const credentialResponseSchema: z.ZodObject<{
|
|
153
|
+
credentialId: z.ZodString;
|
|
154
|
+
staffId: z.ZodString;
|
|
155
|
+
tenantId: z.ZodString;
|
|
156
|
+
credentialIdentifier: z.ZodString;
|
|
157
|
+
credentialTypeDescriptor: z.ZodEnum<["certification", "license", "endorsement", "degree", "registration", "permit", "clearance", "training", "other"]>;
|
|
158
|
+
credentialFieldDescriptor: z.ZodOptional<z.ZodEnum<["elementary_education", "secondary_education", "special_education", "early_childhood", "mathematics", "science", "english_language_arts", "social_studies", "foreign_language", "physical_education", "music", "art", "technology", "counseling", "administration", "library_media", "other"]>>;
|
|
159
|
+
issuanceDate: z.ZodString;
|
|
160
|
+
expirationDate: z.ZodOptional<z.ZodString>;
|
|
161
|
+
issuingState: z.ZodOptional<z.ZodString>;
|
|
162
|
+
issuingOrganization: z.ZodString;
|
|
163
|
+
gradeLevels: z.ZodOptional<z.ZodArray<z.ZodEnum<["pre_k", "kindergarten", "first", "second", "third", "fourth", "fifth", "sixth", "seventh", "eighth", "ninth", "tenth", "eleventh", "twelfth", "adult_education", "ungraded"]>, "many">>;
|
|
164
|
+
subjects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
165
|
+
name: z.ZodString;
|
|
166
|
+
description: z.ZodOptional<z.ZodString>;
|
|
167
|
+
documentUrl: z.ZodOptional<z.ZodString>;
|
|
168
|
+
documentFileName: z.ZodOptional<z.ZodString>;
|
|
169
|
+
verificationStatus: z.ZodEnum<["pending", "verified", "rejected", "expired", "revoked"]>;
|
|
170
|
+
verificationNotes: z.ZodOptional<z.ZodString>;
|
|
171
|
+
verifiedBy: z.ZodOptional<z.ZodString>;
|
|
172
|
+
verifiedByName: z.ZodOptional<z.ZodString>;
|
|
173
|
+
verifiedAt: z.ZodOptional<z.ZodString>;
|
|
174
|
+
isRenewable: z.ZodBoolean;
|
|
175
|
+
renewalReminderDays: z.ZodNumber;
|
|
176
|
+
isExpired: z.ZodBoolean;
|
|
177
|
+
daysUntilExpiration: z.ZodOptional<z.ZodNumber>;
|
|
178
|
+
isExpiringSoon: z.ZodBoolean;
|
|
179
|
+
createdAt: z.ZodString;
|
|
180
|
+
updatedAt: z.ZodString;
|
|
181
|
+
}, "strip", z.ZodTypeAny, {
|
|
182
|
+
tenantId: string;
|
|
183
|
+
createdAt: string;
|
|
184
|
+
updatedAt: string;
|
|
185
|
+
name: string;
|
|
186
|
+
staffId: string;
|
|
187
|
+
credentialIdentifier: string;
|
|
188
|
+
credentialTypeDescriptor: "other" | "certification" | "license" | "endorsement" | "degree" | "registration" | "permit" | "clearance" | "training";
|
|
189
|
+
issuanceDate: string;
|
|
190
|
+
issuingOrganization: string;
|
|
191
|
+
verificationStatus: "pending" | "expired" | "revoked" | "verified" | "rejected";
|
|
192
|
+
isRenewable: boolean;
|
|
193
|
+
renewalReminderDays: number;
|
|
194
|
+
credentialId: string;
|
|
195
|
+
isExpired: boolean;
|
|
196
|
+
isExpiringSoon: boolean;
|
|
197
|
+
description?: string | undefined;
|
|
198
|
+
credentialFieldDescriptor?: "special_education" | "other" | "elementary_education" | "secondary_education" | "early_childhood" | "mathematics" | "science" | "english_language_arts" | "social_studies" | "foreign_language" | "physical_education" | "music" | "art" | "technology" | "counseling" | "administration" | "library_media" | undefined;
|
|
199
|
+
expirationDate?: string | undefined;
|
|
200
|
+
issuingState?: string | undefined;
|
|
201
|
+
gradeLevels?: ("pre_k" | "kindergarten" | "first" | "second" | "third" | "fourth" | "fifth" | "sixth" | "seventh" | "eighth" | "ninth" | "tenth" | "eleventh" | "twelfth" | "adult_education" | "ungraded")[] | undefined;
|
|
202
|
+
subjects?: string[] | undefined;
|
|
203
|
+
documentUrl?: string | undefined;
|
|
204
|
+
documentFileName?: string | undefined;
|
|
205
|
+
verificationNotes?: string | undefined;
|
|
206
|
+
verifiedBy?: string | undefined;
|
|
207
|
+
verifiedAt?: string | undefined;
|
|
208
|
+
verifiedByName?: string | undefined;
|
|
209
|
+
daysUntilExpiration?: number | undefined;
|
|
210
|
+
}, {
|
|
211
|
+
tenantId: string;
|
|
212
|
+
createdAt: string;
|
|
213
|
+
updatedAt: string;
|
|
214
|
+
name: string;
|
|
215
|
+
staffId: string;
|
|
216
|
+
credentialIdentifier: string;
|
|
217
|
+
credentialTypeDescriptor: "other" | "certification" | "license" | "endorsement" | "degree" | "registration" | "permit" | "clearance" | "training";
|
|
218
|
+
issuanceDate: string;
|
|
219
|
+
issuingOrganization: string;
|
|
220
|
+
verificationStatus: "pending" | "expired" | "revoked" | "verified" | "rejected";
|
|
221
|
+
isRenewable: boolean;
|
|
222
|
+
renewalReminderDays: number;
|
|
223
|
+
credentialId: string;
|
|
224
|
+
isExpired: boolean;
|
|
225
|
+
isExpiringSoon: boolean;
|
|
226
|
+
description?: string | undefined;
|
|
227
|
+
credentialFieldDescriptor?: "special_education" | "other" | "elementary_education" | "secondary_education" | "early_childhood" | "mathematics" | "science" | "english_language_arts" | "social_studies" | "foreign_language" | "physical_education" | "music" | "art" | "technology" | "counseling" | "administration" | "library_media" | undefined;
|
|
228
|
+
expirationDate?: string | undefined;
|
|
229
|
+
issuingState?: string | undefined;
|
|
230
|
+
gradeLevels?: ("pre_k" | "kindergarten" | "first" | "second" | "third" | "fourth" | "fifth" | "sixth" | "seventh" | "eighth" | "ninth" | "tenth" | "eleventh" | "twelfth" | "adult_education" | "ungraded")[] | undefined;
|
|
231
|
+
subjects?: string[] | undefined;
|
|
232
|
+
documentUrl?: string | undefined;
|
|
233
|
+
documentFileName?: string | undefined;
|
|
234
|
+
verificationNotes?: string | undefined;
|
|
235
|
+
verifiedBy?: string | undefined;
|
|
236
|
+
verifiedAt?: string | undefined;
|
|
237
|
+
verifiedByName?: string | undefined;
|
|
238
|
+
daysUntilExpiration?: number | undefined;
|
|
239
|
+
}>;
|
|
240
|
+
export type CredentialResponseDto = z.infer<typeof credentialResponseSchema>;
|
|
241
|
+
export declare const credentialListResponseSchema: z.ZodObject<{
|
|
242
|
+
items: z.ZodArray<z.ZodObject<{
|
|
243
|
+
credentialId: z.ZodString;
|
|
244
|
+
staffId: z.ZodString;
|
|
245
|
+
tenantId: z.ZodString;
|
|
246
|
+
credentialIdentifier: z.ZodString;
|
|
247
|
+
credentialTypeDescriptor: z.ZodEnum<["certification", "license", "endorsement", "degree", "registration", "permit", "clearance", "training", "other"]>;
|
|
248
|
+
credentialFieldDescriptor: z.ZodOptional<z.ZodEnum<["elementary_education", "secondary_education", "special_education", "early_childhood", "mathematics", "science", "english_language_arts", "social_studies", "foreign_language", "physical_education", "music", "art", "technology", "counseling", "administration", "library_media", "other"]>>;
|
|
249
|
+
issuanceDate: z.ZodString;
|
|
250
|
+
expirationDate: z.ZodOptional<z.ZodString>;
|
|
251
|
+
issuingState: z.ZodOptional<z.ZodString>;
|
|
252
|
+
issuingOrganization: z.ZodString;
|
|
253
|
+
gradeLevels: z.ZodOptional<z.ZodArray<z.ZodEnum<["pre_k", "kindergarten", "first", "second", "third", "fourth", "fifth", "sixth", "seventh", "eighth", "ninth", "tenth", "eleventh", "twelfth", "adult_education", "ungraded"]>, "many">>;
|
|
254
|
+
subjects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
255
|
+
name: z.ZodString;
|
|
256
|
+
description: z.ZodOptional<z.ZodString>;
|
|
257
|
+
documentUrl: z.ZodOptional<z.ZodString>;
|
|
258
|
+
documentFileName: z.ZodOptional<z.ZodString>;
|
|
259
|
+
verificationStatus: z.ZodEnum<["pending", "verified", "rejected", "expired", "revoked"]>;
|
|
260
|
+
verificationNotes: z.ZodOptional<z.ZodString>;
|
|
261
|
+
verifiedBy: z.ZodOptional<z.ZodString>;
|
|
262
|
+
verifiedByName: z.ZodOptional<z.ZodString>;
|
|
263
|
+
verifiedAt: z.ZodOptional<z.ZodString>;
|
|
264
|
+
isRenewable: z.ZodBoolean;
|
|
265
|
+
renewalReminderDays: z.ZodNumber;
|
|
266
|
+
isExpired: z.ZodBoolean;
|
|
267
|
+
daysUntilExpiration: z.ZodOptional<z.ZodNumber>;
|
|
268
|
+
isExpiringSoon: z.ZodBoolean;
|
|
269
|
+
createdAt: z.ZodString;
|
|
270
|
+
updatedAt: z.ZodString;
|
|
271
|
+
}, "strip", z.ZodTypeAny, {
|
|
272
|
+
tenantId: string;
|
|
273
|
+
createdAt: string;
|
|
274
|
+
updatedAt: string;
|
|
275
|
+
name: string;
|
|
276
|
+
staffId: string;
|
|
277
|
+
credentialIdentifier: string;
|
|
278
|
+
credentialTypeDescriptor: "other" | "certification" | "license" | "endorsement" | "degree" | "registration" | "permit" | "clearance" | "training";
|
|
279
|
+
issuanceDate: string;
|
|
280
|
+
issuingOrganization: string;
|
|
281
|
+
verificationStatus: "pending" | "expired" | "revoked" | "verified" | "rejected";
|
|
282
|
+
isRenewable: boolean;
|
|
283
|
+
renewalReminderDays: number;
|
|
284
|
+
credentialId: string;
|
|
285
|
+
isExpired: boolean;
|
|
286
|
+
isExpiringSoon: boolean;
|
|
287
|
+
description?: string | undefined;
|
|
288
|
+
credentialFieldDescriptor?: "special_education" | "other" | "elementary_education" | "secondary_education" | "early_childhood" | "mathematics" | "science" | "english_language_arts" | "social_studies" | "foreign_language" | "physical_education" | "music" | "art" | "technology" | "counseling" | "administration" | "library_media" | undefined;
|
|
289
|
+
expirationDate?: string | undefined;
|
|
290
|
+
issuingState?: string | undefined;
|
|
291
|
+
gradeLevels?: ("pre_k" | "kindergarten" | "first" | "second" | "third" | "fourth" | "fifth" | "sixth" | "seventh" | "eighth" | "ninth" | "tenth" | "eleventh" | "twelfth" | "adult_education" | "ungraded")[] | undefined;
|
|
292
|
+
subjects?: string[] | undefined;
|
|
293
|
+
documentUrl?: string | undefined;
|
|
294
|
+
documentFileName?: string | undefined;
|
|
295
|
+
verificationNotes?: string | undefined;
|
|
296
|
+
verifiedBy?: string | undefined;
|
|
297
|
+
verifiedAt?: string | undefined;
|
|
298
|
+
verifiedByName?: string | undefined;
|
|
299
|
+
daysUntilExpiration?: number | undefined;
|
|
300
|
+
}, {
|
|
301
|
+
tenantId: string;
|
|
302
|
+
createdAt: string;
|
|
303
|
+
updatedAt: string;
|
|
304
|
+
name: string;
|
|
305
|
+
staffId: string;
|
|
306
|
+
credentialIdentifier: string;
|
|
307
|
+
credentialTypeDescriptor: "other" | "certification" | "license" | "endorsement" | "degree" | "registration" | "permit" | "clearance" | "training";
|
|
308
|
+
issuanceDate: string;
|
|
309
|
+
issuingOrganization: string;
|
|
310
|
+
verificationStatus: "pending" | "expired" | "revoked" | "verified" | "rejected";
|
|
311
|
+
isRenewable: boolean;
|
|
312
|
+
renewalReminderDays: number;
|
|
313
|
+
credentialId: string;
|
|
314
|
+
isExpired: boolean;
|
|
315
|
+
isExpiringSoon: boolean;
|
|
316
|
+
description?: string | undefined;
|
|
317
|
+
credentialFieldDescriptor?: "special_education" | "other" | "elementary_education" | "secondary_education" | "early_childhood" | "mathematics" | "science" | "english_language_arts" | "social_studies" | "foreign_language" | "physical_education" | "music" | "art" | "technology" | "counseling" | "administration" | "library_media" | undefined;
|
|
318
|
+
expirationDate?: string | undefined;
|
|
319
|
+
issuingState?: string | undefined;
|
|
320
|
+
gradeLevels?: ("pre_k" | "kindergarten" | "first" | "second" | "third" | "fourth" | "fifth" | "sixth" | "seventh" | "eighth" | "ninth" | "tenth" | "eleventh" | "twelfth" | "adult_education" | "ungraded")[] | undefined;
|
|
321
|
+
subjects?: string[] | undefined;
|
|
322
|
+
documentUrl?: string | undefined;
|
|
323
|
+
documentFileName?: string | undefined;
|
|
324
|
+
verificationNotes?: string | undefined;
|
|
325
|
+
verifiedBy?: string | undefined;
|
|
326
|
+
verifiedAt?: string | undefined;
|
|
327
|
+
verifiedByName?: string | undefined;
|
|
328
|
+
daysUntilExpiration?: number | undefined;
|
|
329
|
+
}>, "many">;
|
|
330
|
+
lastEvaluatedKey: z.ZodOptional<z.ZodString>;
|
|
331
|
+
hasMore: z.ZodBoolean;
|
|
332
|
+
total: z.ZodOptional<z.ZodNumber>;
|
|
333
|
+
}, "strip", z.ZodTypeAny, {
|
|
334
|
+
items: {
|
|
335
|
+
tenantId: string;
|
|
336
|
+
createdAt: string;
|
|
337
|
+
updatedAt: string;
|
|
338
|
+
name: string;
|
|
339
|
+
staffId: string;
|
|
340
|
+
credentialIdentifier: string;
|
|
341
|
+
credentialTypeDescriptor: "other" | "certification" | "license" | "endorsement" | "degree" | "registration" | "permit" | "clearance" | "training";
|
|
342
|
+
issuanceDate: string;
|
|
343
|
+
issuingOrganization: string;
|
|
344
|
+
verificationStatus: "pending" | "expired" | "revoked" | "verified" | "rejected";
|
|
345
|
+
isRenewable: boolean;
|
|
346
|
+
renewalReminderDays: number;
|
|
347
|
+
credentialId: string;
|
|
348
|
+
isExpired: boolean;
|
|
349
|
+
isExpiringSoon: boolean;
|
|
350
|
+
description?: string | undefined;
|
|
351
|
+
credentialFieldDescriptor?: "special_education" | "other" | "elementary_education" | "secondary_education" | "early_childhood" | "mathematics" | "science" | "english_language_arts" | "social_studies" | "foreign_language" | "physical_education" | "music" | "art" | "technology" | "counseling" | "administration" | "library_media" | undefined;
|
|
352
|
+
expirationDate?: string | undefined;
|
|
353
|
+
issuingState?: string | undefined;
|
|
354
|
+
gradeLevels?: ("pre_k" | "kindergarten" | "first" | "second" | "third" | "fourth" | "fifth" | "sixth" | "seventh" | "eighth" | "ninth" | "tenth" | "eleventh" | "twelfth" | "adult_education" | "ungraded")[] | undefined;
|
|
355
|
+
subjects?: string[] | undefined;
|
|
356
|
+
documentUrl?: string | undefined;
|
|
357
|
+
documentFileName?: string | undefined;
|
|
358
|
+
verificationNotes?: string | undefined;
|
|
359
|
+
verifiedBy?: string | undefined;
|
|
360
|
+
verifiedAt?: string | undefined;
|
|
361
|
+
verifiedByName?: string | undefined;
|
|
362
|
+
daysUntilExpiration?: number | undefined;
|
|
363
|
+
}[];
|
|
364
|
+
hasMore: boolean;
|
|
365
|
+
lastEvaluatedKey?: string | undefined;
|
|
366
|
+
total?: number | undefined;
|
|
367
|
+
}, {
|
|
368
|
+
items: {
|
|
369
|
+
tenantId: string;
|
|
370
|
+
createdAt: string;
|
|
371
|
+
updatedAt: string;
|
|
372
|
+
name: string;
|
|
373
|
+
staffId: string;
|
|
374
|
+
credentialIdentifier: string;
|
|
375
|
+
credentialTypeDescriptor: "other" | "certification" | "license" | "endorsement" | "degree" | "registration" | "permit" | "clearance" | "training";
|
|
376
|
+
issuanceDate: string;
|
|
377
|
+
issuingOrganization: string;
|
|
378
|
+
verificationStatus: "pending" | "expired" | "revoked" | "verified" | "rejected";
|
|
379
|
+
isRenewable: boolean;
|
|
380
|
+
renewalReminderDays: number;
|
|
381
|
+
credentialId: string;
|
|
382
|
+
isExpired: boolean;
|
|
383
|
+
isExpiringSoon: boolean;
|
|
384
|
+
description?: string | undefined;
|
|
385
|
+
credentialFieldDescriptor?: "special_education" | "other" | "elementary_education" | "secondary_education" | "early_childhood" | "mathematics" | "science" | "english_language_arts" | "social_studies" | "foreign_language" | "physical_education" | "music" | "art" | "technology" | "counseling" | "administration" | "library_media" | undefined;
|
|
386
|
+
expirationDate?: string | undefined;
|
|
387
|
+
issuingState?: string | undefined;
|
|
388
|
+
gradeLevels?: ("pre_k" | "kindergarten" | "first" | "second" | "third" | "fourth" | "fifth" | "sixth" | "seventh" | "eighth" | "ninth" | "tenth" | "eleventh" | "twelfth" | "adult_education" | "ungraded")[] | undefined;
|
|
389
|
+
subjects?: string[] | undefined;
|
|
390
|
+
documentUrl?: string | undefined;
|
|
391
|
+
documentFileName?: string | undefined;
|
|
392
|
+
verificationNotes?: string | undefined;
|
|
393
|
+
verifiedBy?: string | undefined;
|
|
394
|
+
verifiedAt?: string | undefined;
|
|
395
|
+
verifiedByName?: string | undefined;
|
|
396
|
+
daysUntilExpiration?: number | undefined;
|
|
397
|
+
}[];
|
|
398
|
+
hasMore: boolean;
|
|
399
|
+
lastEvaluatedKey?: string | undefined;
|
|
400
|
+
total?: number | undefined;
|
|
401
|
+
}>;
|
|
402
|
+
export type CredentialListResponseDto = z.infer<typeof credentialListResponseSchema>;
|
|
403
|
+
export declare const credentialFilterSchema: z.ZodObject<{
|
|
404
|
+
staffId: z.ZodOptional<z.ZodString>;
|
|
405
|
+
credentialType: z.ZodOptional<z.ZodEnum<["certification", "license", "endorsement", "degree", "registration", "permit", "clearance", "training", "other"]>>;
|
|
406
|
+
credentialField: z.ZodOptional<z.ZodEnum<["elementary_education", "secondary_education", "special_education", "early_childhood", "mathematics", "science", "english_language_arts", "social_studies", "foreign_language", "physical_education", "music", "art", "technology", "counseling", "administration", "library_media", "other"]>>;
|
|
407
|
+
verificationStatus: z.ZodOptional<z.ZodEnum<["pending", "verified", "rejected", "expired", "revoked"]>>;
|
|
408
|
+
isExpired: z.ZodOptional<z.ZodBoolean>;
|
|
409
|
+
isExpiringSoon: z.ZodOptional<z.ZodBoolean>;
|
|
410
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
411
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
412
|
+
}, "strip", z.ZodTypeAny, {
|
|
413
|
+
limit: number;
|
|
414
|
+
cursor?: string | undefined;
|
|
415
|
+
staffId?: string | undefined;
|
|
416
|
+
verificationStatus?: "pending" | "expired" | "revoked" | "verified" | "rejected" | undefined;
|
|
417
|
+
isExpired?: boolean | undefined;
|
|
418
|
+
isExpiringSoon?: boolean | undefined;
|
|
419
|
+
credentialType?: "other" | "certification" | "license" | "endorsement" | "degree" | "registration" | "permit" | "clearance" | "training" | undefined;
|
|
420
|
+
credentialField?: "special_education" | "other" | "elementary_education" | "secondary_education" | "early_childhood" | "mathematics" | "science" | "english_language_arts" | "social_studies" | "foreign_language" | "physical_education" | "music" | "art" | "technology" | "counseling" | "administration" | "library_media" | undefined;
|
|
421
|
+
}, {
|
|
422
|
+
limit?: number | undefined;
|
|
423
|
+
cursor?: string | undefined;
|
|
424
|
+
staffId?: string | undefined;
|
|
425
|
+
verificationStatus?: "pending" | "expired" | "revoked" | "verified" | "rejected" | undefined;
|
|
426
|
+
isExpired?: boolean | undefined;
|
|
427
|
+
isExpiringSoon?: boolean | undefined;
|
|
428
|
+
credentialType?: "other" | "certification" | "license" | "endorsement" | "degree" | "registration" | "permit" | "clearance" | "training" | undefined;
|
|
429
|
+
credentialField?: "special_education" | "other" | "elementary_education" | "secondary_education" | "early_childhood" | "mathematics" | "science" | "english_language_arts" | "social_studies" | "foreign_language" | "physical_education" | "music" | "art" | "technology" | "counseling" | "administration" | "library_media" | undefined;
|
|
430
|
+
}>;
|
|
431
|
+
export type CredentialFilterDto = z.infer<typeof credentialFilterSchema>;
|
|
432
|
+
export declare const verifyCredentialSchema: z.ZodObject<{
|
|
433
|
+
verificationStatus: z.ZodEnum<["verified", "rejected"]>;
|
|
434
|
+
verificationNotes: z.ZodOptional<z.ZodString>;
|
|
435
|
+
}, "strip", z.ZodTypeAny, {
|
|
436
|
+
verificationStatus: "verified" | "rejected";
|
|
437
|
+
verificationNotes?: string | undefined;
|
|
438
|
+
}, {
|
|
439
|
+
verificationStatus: "verified" | "rejected";
|
|
440
|
+
verificationNotes?: string | undefined;
|
|
441
|
+
}>;
|
|
442
|
+
export type VerifyCredentialDto = z.infer<typeof verifyCredentialSchema>;
|
|
443
|
+
export declare const credentialExpirationAlertSchema: z.ZodObject<{
|
|
444
|
+
credentialId: z.ZodString;
|
|
445
|
+
staffId: z.ZodString;
|
|
446
|
+
staffName: z.ZodString;
|
|
447
|
+
credentialName: z.ZodString;
|
|
448
|
+
expirationDate: z.ZodString;
|
|
449
|
+
daysUntilExpiration: z.ZodNumber;
|
|
450
|
+
schoolId: z.ZodString;
|
|
451
|
+
schoolName: z.ZodString;
|
|
452
|
+
}, "strip", z.ZodTypeAny, {
|
|
453
|
+
schoolId: string;
|
|
454
|
+
schoolName: string;
|
|
455
|
+
staffId: string;
|
|
456
|
+
expirationDate: string;
|
|
457
|
+
credentialId: string;
|
|
458
|
+
daysUntilExpiration: number;
|
|
459
|
+
staffName: string;
|
|
460
|
+
credentialName: string;
|
|
461
|
+
}, {
|
|
462
|
+
schoolId: string;
|
|
463
|
+
schoolName: string;
|
|
464
|
+
staffId: string;
|
|
465
|
+
expirationDate: string;
|
|
466
|
+
credentialId: string;
|
|
467
|
+
daysUntilExpiration: number;
|
|
468
|
+
staffName: string;
|
|
469
|
+
credentialName: string;
|
|
470
|
+
}>;
|
|
471
|
+
export type CredentialExpirationAlertDto = z.infer<typeof credentialExpirationAlertSchema>;
|
|
472
|
+
//# sourceMappingURL=credential.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"credential.schema.d.ts","sourceRoot":"","sources":["../../../src/schemas/identity/credential.schema.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAWxB;;GAEG;AACH,eAAO,MAAM,oBAAoB,8HAU/B,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAElE;;GAEG;AACH,eAAO,MAAM,qBAAqB,2SAkBhC,CAAC;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEpE;;GAEG;AACH,eAAO,MAAM,wBAAwB,sEAMnC,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E;;GAEG;AACH,eAAO,MAAM,0BAA0B,2LAiBrC,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAM9E,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiCjC,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAMzE,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIjC,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAMzE,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8CnC,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAM7E,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA0D,CAAC;AACpG,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAMrF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;EASjC,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAMzE,eAAO,MAAM,sBAAsB;;;;;;;;;EAGjC,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAMzE,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS1C,CAAC;AAEH,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC"}
|