@aibrains/shared-types 0.1.1 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/schemas/academics/assignment.schema.d.ts +10 -10
- package/dist/schemas/academics/course.schema.d.ts +10 -10
- package/dist/schemas/academics/grade.schema.d.ts +13 -13
- package/dist/schemas/enrollment/enrollment.schema.d.ts +49 -49
- package/dist/schemas/identity/academic-year.schema.d.ts +12 -12
- package/dist/schemas/identity/auth.schema.d.ts +10 -10
- package/dist/schemas/identity/credential.schema.d.ts +12 -12
- package/dist/schemas/identity/education-org-descriptors.d.ts +314 -0
- package/dist/schemas/identity/education-org-descriptors.d.ts.map +1 -0
- package/dist/schemas/identity/education-org-descriptors.js +245 -0
- package/dist/schemas/identity/education-org-descriptors.js.map +1 -0
- package/dist/schemas/identity/education-org-hierarchy.schema.d.ts +65 -0
- package/dist/schemas/identity/education-org-hierarchy.schema.d.ts.map +1 -0
- package/dist/schemas/identity/education-org-hierarchy.schema.js +46 -0
- package/dist/schemas/identity/education-org-hierarchy.schema.js.map +1 -0
- package/dist/schemas/identity/education-organization.schema.d.ts +127 -0
- package/dist/schemas/identity/education-organization.schema.d.ts.map +1 -0
- package/dist/schemas/identity/education-organization.schema.js +102 -0
- package/dist/schemas/identity/education-organization.schema.js.map +1 -0
- package/dist/schemas/identity/education-service-center.schema.d.ts +826 -0
- package/dist/schemas/identity/education-service-center.schema.d.ts.map +1 -0
- package/dist/schemas/identity/education-service-center.schema.js +85 -0
- package/dist/schemas/identity/education-service-center.schema.js.map +1 -0
- package/dist/schemas/identity/index.d.ts +8 -0
- package/dist/schemas/identity/index.d.ts.map +1 -1
- package/dist/schemas/identity/index.js +9 -0
- package/dist/schemas/identity/index.js.map +1 -1
- package/dist/schemas/identity/local-education-agency.schema.d.ts +888 -0
- package/dist/schemas/identity/local-education-agency.schema.d.ts.map +1 -0
- package/dist/schemas/identity/local-education-agency.schema.js +96 -0
- package/dist/schemas/identity/local-education-agency.schema.js.map +1 -0
- package/dist/schemas/identity/school.schema.d.ts +404 -0
- package/dist/schemas/identity/school.schema.d.ts.map +1 -1
- package/dist/schemas/identity/school.schema.js +35 -0
- package/dist/schemas/identity/school.schema.js.map +1 -1
- package/dist/schemas/identity/staff-assignment.schema.d.ts +240 -0
- package/dist/schemas/identity/staff-assignment.schema.d.ts.map +1 -0
- package/dist/schemas/identity/staff-assignment.schema.js +72 -0
- package/dist/schemas/identity/staff-assignment.schema.js.map +1 -0
- package/dist/schemas/identity/staff-employment-history.schema.d.ts +114 -0
- package/dist/schemas/identity/staff-employment-history.schema.d.ts.map +1 -0
- package/dist/schemas/identity/staff-employment-history.schema.js +31 -0
- package/dist/schemas/identity/staff-employment-history.schema.js.map +1 -0
- package/dist/schemas/identity/staff.schema.d.ts +482 -10
- package/dist/schemas/identity/staff.schema.d.ts.map +1 -1
- package/dist/schemas/identity/staff.schema.js +15 -1
- package/dist/schemas/identity/staff.schema.js.map +1 -1
- package/dist/schemas/identity/state-education-agency.schema.d.ts +511 -0
- package/dist/schemas/identity/state-education-agency.schema.d.ts.map +1 -0
- package/dist/schemas/identity/state-education-agency.schema.js +68 -0
- package/dist/schemas/identity/state-education-agency.schema.js.map +1 -0
- package/dist/schemas/identity/user.schema.d.ts +10 -10
- package/package.json +1 -1
|
@@ -225,6 +225,7 @@ export declare const createStaffSchema: z.ZodObject<{
|
|
|
225
225
|
employmentType: "full_time" | "part_time" | "contract" | "temporary" | "volunteer";
|
|
226
226
|
hireDate: string;
|
|
227
227
|
userId?: string | undefined;
|
|
228
|
+
title?: string | undefined;
|
|
228
229
|
phone?: string | undefined;
|
|
229
230
|
department?: string | undefined;
|
|
230
231
|
middleName?: string | undefined;
|
|
@@ -247,7 +248,6 @@ export declare const createStaffSchema: z.ZodObject<{
|
|
|
247
248
|
telephoneNumberTypeDescriptor?: "fax" | "home" | "work" | "mobile" | "emergency" | undefined;
|
|
248
249
|
orderOfPriority?: number | undefined;
|
|
249
250
|
}[] | undefined;
|
|
250
|
-
title?: string | undefined;
|
|
251
251
|
highlyQualifiedTeacher?: boolean | undefined;
|
|
252
252
|
yearsOfPriorTeachingExperience?: number | undefined;
|
|
253
253
|
yearsOfPriorProfessionalExperience?: number | undefined;
|
|
@@ -267,6 +267,7 @@ export declare const createStaffSchema: z.ZodObject<{
|
|
|
267
267
|
primarySchoolId: string;
|
|
268
268
|
hireDate: string;
|
|
269
269
|
userId?: string | undefined;
|
|
270
|
+
title?: string | undefined;
|
|
270
271
|
phone?: string | undefined;
|
|
271
272
|
department?: string | undefined;
|
|
272
273
|
middleName?: string | undefined;
|
|
@@ -290,7 +291,6 @@ export declare const createStaffSchema: z.ZodObject<{
|
|
|
290
291
|
telephoneNumberTypeDescriptor?: "fax" | "home" | "work" | "mobile" | "emergency" | undefined;
|
|
291
292
|
orderOfPriority?: number | undefined;
|
|
292
293
|
}[] | undefined;
|
|
293
|
-
title?: string | undefined;
|
|
294
294
|
highlyQualifiedTeacher?: boolean | undefined;
|
|
295
295
|
yearsOfPriorTeachingExperience?: number | undefined;
|
|
296
296
|
yearsOfPriorProfessionalExperience?: number | undefined;
|
|
@@ -390,6 +390,7 @@ export declare const updateStaffSchema: z.ZodObject<z.objectUtil.extendShape<Omi
|
|
|
390
390
|
}>, "strip", z.ZodTypeAny, {
|
|
391
391
|
status?: "active" | "inactive" | "pending" | undefined;
|
|
392
392
|
userId?: string | undefined;
|
|
393
|
+
title?: string | undefined;
|
|
393
394
|
phone?: string | undefined;
|
|
394
395
|
email?: string | undefined;
|
|
395
396
|
role?: "teacher" | "principal" | "vice_principal" | "counselor" | "librarian" | "nurse" | "admin_staff" | "support_staff" | "it_staff" | "substitute" | "contractor" | undefined;
|
|
@@ -418,7 +419,6 @@ export declare const updateStaffSchema: z.ZodObject<z.objectUtil.extendShape<Omi
|
|
|
418
419
|
telephoneNumberTypeDescriptor?: "fax" | "home" | "work" | "mobile" | "emergency" | undefined;
|
|
419
420
|
orderOfPriority?: number | undefined;
|
|
420
421
|
}[] | undefined;
|
|
421
|
-
title?: string | undefined;
|
|
422
422
|
highlyQualifiedTeacher?: boolean | undefined;
|
|
423
423
|
yearsOfPriorTeachingExperience?: number | undefined;
|
|
424
424
|
yearsOfPriorProfessionalExperience?: number | undefined;
|
|
@@ -435,6 +435,7 @@ export declare const updateStaffSchema: z.ZodObject<z.objectUtil.extendShape<Omi
|
|
|
435
435
|
}, {
|
|
436
436
|
status?: "active" | "inactive" | "pending" | undefined;
|
|
437
437
|
userId?: string | undefined;
|
|
438
|
+
title?: string | undefined;
|
|
438
439
|
phone?: string | undefined;
|
|
439
440
|
email?: string | undefined;
|
|
440
441
|
role?: "teacher" | "principal" | "vice_principal" | "counselor" | "librarian" | "nurse" | "admin_staff" | "support_staff" | "it_staff" | "substitute" | "contractor" | undefined;
|
|
@@ -463,7 +464,6 @@ export declare const updateStaffSchema: z.ZodObject<z.objectUtil.extendShape<Omi
|
|
|
463
464
|
telephoneNumberTypeDescriptor?: "fax" | "home" | "work" | "mobile" | "emergency" | undefined;
|
|
464
465
|
orderOfPriority?: number | undefined;
|
|
465
466
|
}[] | undefined;
|
|
466
|
-
title?: string | undefined;
|
|
467
467
|
highlyQualifiedTeacher?: boolean | undefined;
|
|
468
468
|
yearsOfPriorTeachingExperience?: number | undefined;
|
|
469
469
|
yearsOfPriorProfessionalExperience?: number | undefined;
|
|
@@ -580,6 +580,7 @@ export declare const staffResponseSchema: z.ZodObject<{
|
|
|
580
580
|
employmentStatus: "active" | "suspended" | "on_leave" | "terminated" | "retired" | "resigned";
|
|
581
581
|
staffId: string;
|
|
582
582
|
userId?: string | undefined;
|
|
583
|
+
title?: string | undefined;
|
|
583
584
|
phone?: string | undefined;
|
|
584
585
|
department?: string | undefined;
|
|
585
586
|
middleName?: string | undefined;
|
|
@@ -596,7 +597,6 @@ export declare const staffResponseSchema: z.ZodObject<{
|
|
|
596
597
|
stateAbbreviationDescriptor?: string | undefined;
|
|
597
598
|
postalCode?: string | undefined;
|
|
598
599
|
}[] | undefined;
|
|
599
|
-
title?: string | undefined;
|
|
600
600
|
highlyQualifiedTeacher?: boolean | undefined;
|
|
601
601
|
yearsOfPriorTeachingExperience?: number | undefined;
|
|
602
602
|
terminationDate?: string | undefined;
|
|
@@ -629,6 +629,7 @@ export declare const staffResponseSchema: z.ZodObject<{
|
|
|
629
629
|
employmentStatus: "active" | "suspended" | "on_leave" | "terminated" | "retired" | "resigned";
|
|
630
630
|
staffId: string;
|
|
631
631
|
userId?: string | undefined;
|
|
632
|
+
title?: string | undefined;
|
|
632
633
|
phone?: string | undefined;
|
|
633
634
|
department?: string | undefined;
|
|
634
635
|
middleName?: string | undefined;
|
|
@@ -645,7 +646,6 @@ export declare const staffResponseSchema: z.ZodObject<{
|
|
|
645
646
|
stateAbbreviationDescriptor?: string | undefined;
|
|
646
647
|
postalCode?: string | undefined;
|
|
647
648
|
}[] | undefined;
|
|
648
|
-
title?: string | undefined;
|
|
649
649
|
highlyQualifiedTeacher?: boolean | undefined;
|
|
650
650
|
yearsOfPriorTeachingExperience?: number | undefined;
|
|
651
651
|
terminationDate?: string | undefined;
|
|
@@ -766,6 +766,7 @@ export declare const staffListResponseSchema: z.ZodObject<{
|
|
|
766
766
|
employmentStatus: "active" | "suspended" | "on_leave" | "terminated" | "retired" | "resigned";
|
|
767
767
|
staffId: string;
|
|
768
768
|
userId?: string | undefined;
|
|
769
|
+
title?: string | undefined;
|
|
769
770
|
phone?: string | undefined;
|
|
770
771
|
department?: string | undefined;
|
|
771
772
|
middleName?: string | undefined;
|
|
@@ -782,7 +783,6 @@ export declare const staffListResponseSchema: z.ZodObject<{
|
|
|
782
783
|
stateAbbreviationDescriptor?: string | undefined;
|
|
783
784
|
postalCode?: string | undefined;
|
|
784
785
|
}[] | undefined;
|
|
785
|
-
title?: string | undefined;
|
|
786
786
|
highlyQualifiedTeacher?: boolean | undefined;
|
|
787
787
|
yearsOfPriorTeachingExperience?: number | undefined;
|
|
788
788
|
terminationDate?: string | undefined;
|
|
@@ -815,6 +815,7 @@ export declare const staffListResponseSchema: z.ZodObject<{
|
|
|
815
815
|
employmentStatus: "active" | "suspended" | "on_leave" | "terminated" | "retired" | "resigned";
|
|
816
816
|
staffId: string;
|
|
817
817
|
userId?: string | undefined;
|
|
818
|
+
title?: string | undefined;
|
|
818
819
|
phone?: string | undefined;
|
|
819
820
|
department?: string | undefined;
|
|
820
821
|
middleName?: string | undefined;
|
|
@@ -831,7 +832,6 @@ export declare const staffListResponseSchema: z.ZodObject<{
|
|
|
831
832
|
stateAbbreviationDescriptor?: string | undefined;
|
|
832
833
|
postalCode?: string | undefined;
|
|
833
834
|
}[] | undefined;
|
|
834
|
-
title?: string | undefined;
|
|
835
835
|
highlyQualifiedTeacher?: boolean | undefined;
|
|
836
836
|
yearsOfPriorTeachingExperience?: number | undefined;
|
|
837
837
|
terminationDate?: string | undefined;
|
|
@@ -869,6 +869,7 @@ export declare const staffListResponseSchema: z.ZodObject<{
|
|
|
869
869
|
employmentStatus: "active" | "suspended" | "on_leave" | "terminated" | "retired" | "resigned";
|
|
870
870
|
staffId: string;
|
|
871
871
|
userId?: string | undefined;
|
|
872
|
+
title?: string | undefined;
|
|
872
873
|
phone?: string | undefined;
|
|
873
874
|
department?: string | undefined;
|
|
874
875
|
middleName?: string | undefined;
|
|
@@ -885,7 +886,6 @@ export declare const staffListResponseSchema: z.ZodObject<{
|
|
|
885
886
|
stateAbbreviationDescriptor?: string | undefined;
|
|
886
887
|
postalCode?: string | undefined;
|
|
887
888
|
}[] | undefined;
|
|
888
|
-
title?: string | undefined;
|
|
889
889
|
highlyQualifiedTeacher?: boolean | undefined;
|
|
890
890
|
yearsOfPriorTeachingExperience?: number | undefined;
|
|
891
891
|
terminationDate?: string | undefined;
|
|
@@ -923,6 +923,7 @@ export declare const staffListResponseSchema: z.ZodObject<{
|
|
|
923
923
|
employmentStatus: "active" | "suspended" | "on_leave" | "terminated" | "retired" | "resigned";
|
|
924
924
|
staffId: string;
|
|
925
925
|
userId?: string | undefined;
|
|
926
|
+
title?: string | undefined;
|
|
926
927
|
phone?: string | undefined;
|
|
927
928
|
department?: string | undefined;
|
|
928
929
|
middleName?: string | undefined;
|
|
@@ -939,7 +940,6 @@ export declare const staffListResponseSchema: z.ZodObject<{
|
|
|
939
940
|
stateAbbreviationDescriptor?: string | undefined;
|
|
940
941
|
postalCode?: string | undefined;
|
|
941
942
|
}[] | undefined;
|
|
942
|
-
title?: string | undefined;
|
|
943
943
|
highlyQualifiedTeacher?: boolean | undefined;
|
|
944
944
|
yearsOfPriorTeachingExperience?: number | undefined;
|
|
945
945
|
terminationDate?: string | undefined;
|
|
@@ -1034,4 +1034,476 @@ export declare const updateEmploymentStatusSchema: z.ZodObject<{
|
|
|
1034
1034
|
notes?: string | undefined;
|
|
1035
1035
|
}>;
|
|
1036
1036
|
export type UpdateEmploymentStatusDto = z.infer<typeof updateEmploymentStatusSchema>;
|
|
1037
|
+
export declare const createStaffWithUserSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
1038
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
1039
|
+
staffUniqueId: z.ZodString;
|
|
1040
|
+
firstName: z.ZodString;
|
|
1041
|
+
lastSurname: z.ZodString;
|
|
1042
|
+
middleName: z.ZodOptional<z.ZodString>;
|
|
1043
|
+
generationCodeSuffix: z.ZodOptional<z.ZodString>;
|
|
1044
|
+
maidenName: z.ZodOptional<z.ZodString>;
|
|
1045
|
+
birthDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1046
|
+
gender: z.ZodOptional<z.ZodEnum<["male", "female", "non_binary", "prefer_not_to_say"]>>;
|
|
1047
|
+
hispanicLatinoEthnicity: z.ZodOptional<z.ZodBoolean>;
|
|
1048
|
+
primarySchoolId: z.ZodString;
|
|
1049
|
+
role: z.ZodEnum<["teacher", "principal", "vice_principal", "counselor", "librarian", "nurse", "admin_staff", "support_staff", "it_staff", "substitute", "contractor"]>;
|
|
1050
|
+
employmentType: z.ZodDefault<z.ZodEnum<["full_time", "part_time", "contract", "temporary", "volunteer"]>>;
|
|
1051
|
+
hireDate: z.ZodEffects<z.ZodString, string, string>;
|
|
1052
|
+
email: z.ZodString;
|
|
1053
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
1054
|
+
addresses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1055
|
+
addressTypeDescriptor: z.ZodOptional<z.ZodEnum<["home", "mailing", "work", "temporary"]>>;
|
|
1056
|
+
streetNumberName: z.ZodOptional<z.ZodString>;
|
|
1057
|
+
apartmentRoomSuiteNumber: z.ZodOptional<z.ZodString>;
|
|
1058
|
+
city: z.ZodOptional<z.ZodString>;
|
|
1059
|
+
stateAbbreviationDescriptor: z.ZodOptional<z.ZodString>;
|
|
1060
|
+
postalCode: z.ZodOptional<z.ZodString>;
|
|
1061
|
+
country: z.ZodOptional<z.ZodString>;
|
|
1062
|
+
}, "strip", z.ZodTypeAny, {
|
|
1063
|
+
city?: string | undefined;
|
|
1064
|
+
country?: string | undefined;
|
|
1065
|
+
addressTypeDescriptor?: "temporary" | "home" | "mailing" | "work" | undefined;
|
|
1066
|
+
streetNumberName?: string | undefined;
|
|
1067
|
+
apartmentRoomSuiteNumber?: string | undefined;
|
|
1068
|
+
stateAbbreviationDescriptor?: string | undefined;
|
|
1069
|
+
postalCode?: string | undefined;
|
|
1070
|
+
}, {
|
|
1071
|
+
city?: string | undefined;
|
|
1072
|
+
country?: string | undefined;
|
|
1073
|
+
addressTypeDescriptor?: "temporary" | "home" | "mailing" | "work" | undefined;
|
|
1074
|
+
streetNumberName?: string | undefined;
|
|
1075
|
+
apartmentRoomSuiteNumber?: string | undefined;
|
|
1076
|
+
stateAbbreviationDescriptor?: string | undefined;
|
|
1077
|
+
postalCode?: string | undefined;
|
|
1078
|
+
}>, "many">>;
|
|
1079
|
+
telephones: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1080
|
+
telephoneNumber: z.ZodString;
|
|
1081
|
+
telephoneNumberTypeDescriptor: z.ZodOptional<z.ZodEnum<["home", "mobile", "work", "fax", "emergency"]>>;
|
|
1082
|
+
orderOfPriority: z.ZodOptional<z.ZodNumber>;
|
|
1083
|
+
}, "strip", z.ZodTypeAny, {
|
|
1084
|
+
telephoneNumber: string;
|
|
1085
|
+
telephoneNumberTypeDescriptor?: "fax" | "home" | "work" | "mobile" | "emergency" | undefined;
|
|
1086
|
+
orderOfPriority?: number | undefined;
|
|
1087
|
+
}, {
|
|
1088
|
+
telephoneNumber: string;
|
|
1089
|
+
telephoneNumberTypeDescriptor?: "fax" | "home" | "work" | "mobile" | "emergency" | undefined;
|
|
1090
|
+
orderOfPriority?: number | undefined;
|
|
1091
|
+
}>, "many">>;
|
|
1092
|
+
department: z.ZodOptional<z.ZodString>;
|
|
1093
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1094
|
+
highlyQualifiedTeacher: z.ZodOptional<z.ZodBoolean>;
|
|
1095
|
+
yearsOfPriorTeachingExperience: z.ZodOptional<z.ZodNumber>;
|
|
1096
|
+
yearsOfPriorProfessionalExperience: z.ZodOptional<z.ZodNumber>;
|
|
1097
|
+
emergencyContacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1098
|
+
name: z.ZodString;
|
|
1099
|
+
relationship: z.ZodString;
|
|
1100
|
+
phone: z.ZodString;
|
|
1101
|
+
alternatePhone: z.ZodOptional<z.ZodString>;
|
|
1102
|
+
email: z.ZodOptional<z.ZodString>;
|
|
1103
|
+
}, "strip", z.ZodTypeAny, {
|
|
1104
|
+
name: string;
|
|
1105
|
+
phone: string;
|
|
1106
|
+
relationship: string;
|
|
1107
|
+
email?: string | undefined;
|
|
1108
|
+
alternatePhone?: string | undefined;
|
|
1109
|
+
}, {
|
|
1110
|
+
name: string;
|
|
1111
|
+
phone: string;
|
|
1112
|
+
relationship: string;
|
|
1113
|
+
email?: string | undefined;
|
|
1114
|
+
alternatePhone?: string | undefined;
|
|
1115
|
+
}>, "many">>;
|
|
1116
|
+
}, {
|
|
1117
|
+
temporaryPassword: z.ZodOptional<z.ZodString>;
|
|
1118
|
+
globalRole: z.ZodDefault<z.ZodEnum<["TenantAdmin", "TenantUser"]>>;
|
|
1119
|
+
createUserAccount: z.ZodDefault<z.ZodBoolean>;
|
|
1120
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1121
|
+
email: string;
|
|
1122
|
+
role: "teacher" | "principal" | "vice_principal" | "counselor" | "librarian" | "nurse" | "admin_staff" | "support_staff" | "it_staff" | "substitute" | "contractor";
|
|
1123
|
+
staffUniqueId: string;
|
|
1124
|
+
firstName: string;
|
|
1125
|
+
lastSurname: string;
|
|
1126
|
+
primarySchoolId: string;
|
|
1127
|
+
employmentType: "full_time" | "part_time" | "contract" | "temporary" | "volunteer";
|
|
1128
|
+
hireDate: string;
|
|
1129
|
+
globalRole: "TenantAdmin" | "TenantUser";
|
|
1130
|
+
createUserAccount: boolean;
|
|
1131
|
+
userId?: string | undefined;
|
|
1132
|
+
title?: string | undefined;
|
|
1133
|
+
phone?: string | undefined;
|
|
1134
|
+
department?: string | undefined;
|
|
1135
|
+
middleName?: string | undefined;
|
|
1136
|
+
generationCodeSuffix?: string | undefined;
|
|
1137
|
+
maidenName?: string | undefined;
|
|
1138
|
+
birthDate?: string | undefined;
|
|
1139
|
+
gender?: "male" | "female" | "non_binary" | "prefer_not_to_say" | undefined;
|
|
1140
|
+
hispanicLatinoEthnicity?: boolean | undefined;
|
|
1141
|
+
addresses?: {
|
|
1142
|
+
city?: string | undefined;
|
|
1143
|
+
country?: string | undefined;
|
|
1144
|
+
addressTypeDescriptor?: "temporary" | "home" | "mailing" | "work" | undefined;
|
|
1145
|
+
streetNumberName?: string | undefined;
|
|
1146
|
+
apartmentRoomSuiteNumber?: string | undefined;
|
|
1147
|
+
stateAbbreviationDescriptor?: string | undefined;
|
|
1148
|
+
postalCode?: string | undefined;
|
|
1149
|
+
}[] | undefined;
|
|
1150
|
+
telephones?: {
|
|
1151
|
+
telephoneNumber: string;
|
|
1152
|
+
telephoneNumberTypeDescriptor?: "fax" | "home" | "work" | "mobile" | "emergency" | undefined;
|
|
1153
|
+
orderOfPriority?: number | undefined;
|
|
1154
|
+
}[] | undefined;
|
|
1155
|
+
highlyQualifiedTeacher?: boolean | undefined;
|
|
1156
|
+
yearsOfPriorTeachingExperience?: number | undefined;
|
|
1157
|
+
yearsOfPriorProfessionalExperience?: number | undefined;
|
|
1158
|
+
emergencyContacts?: {
|
|
1159
|
+
name: string;
|
|
1160
|
+
phone: string;
|
|
1161
|
+
relationship: string;
|
|
1162
|
+
email?: string | undefined;
|
|
1163
|
+
alternatePhone?: string | undefined;
|
|
1164
|
+
}[] | undefined;
|
|
1165
|
+
temporaryPassword?: string | undefined;
|
|
1166
|
+
}, {
|
|
1167
|
+
email: string;
|
|
1168
|
+
role: "teacher" | "principal" | "vice_principal" | "counselor" | "librarian" | "nurse" | "admin_staff" | "support_staff" | "it_staff" | "substitute" | "contractor";
|
|
1169
|
+
staffUniqueId: string;
|
|
1170
|
+
firstName: string;
|
|
1171
|
+
lastSurname: string;
|
|
1172
|
+
primarySchoolId: string;
|
|
1173
|
+
hireDate: string;
|
|
1174
|
+
userId?: string | undefined;
|
|
1175
|
+
title?: string | undefined;
|
|
1176
|
+
phone?: string | undefined;
|
|
1177
|
+
department?: string | undefined;
|
|
1178
|
+
middleName?: string | undefined;
|
|
1179
|
+
generationCodeSuffix?: string | undefined;
|
|
1180
|
+
maidenName?: string | undefined;
|
|
1181
|
+
birthDate?: string | undefined;
|
|
1182
|
+
gender?: "male" | "female" | "non_binary" | "prefer_not_to_say" | undefined;
|
|
1183
|
+
hispanicLatinoEthnicity?: boolean | undefined;
|
|
1184
|
+
employmentType?: "full_time" | "part_time" | "contract" | "temporary" | "volunteer" | undefined;
|
|
1185
|
+
addresses?: {
|
|
1186
|
+
city?: string | undefined;
|
|
1187
|
+
country?: string | undefined;
|
|
1188
|
+
addressTypeDescriptor?: "temporary" | "home" | "mailing" | "work" | undefined;
|
|
1189
|
+
streetNumberName?: string | undefined;
|
|
1190
|
+
apartmentRoomSuiteNumber?: string | undefined;
|
|
1191
|
+
stateAbbreviationDescriptor?: string | undefined;
|
|
1192
|
+
postalCode?: string | undefined;
|
|
1193
|
+
}[] | undefined;
|
|
1194
|
+
telephones?: {
|
|
1195
|
+
telephoneNumber: string;
|
|
1196
|
+
telephoneNumberTypeDescriptor?: "fax" | "home" | "work" | "mobile" | "emergency" | undefined;
|
|
1197
|
+
orderOfPriority?: number | undefined;
|
|
1198
|
+
}[] | undefined;
|
|
1199
|
+
highlyQualifiedTeacher?: boolean | undefined;
|
|
1200
|
+
yearsOfPriorTeachingExperience?: number | undefined;
|
|
1201
|
+
yearsOfPriorProfessionalExperience?: number | undefined;
|
|
1202
|
+
emergencyContacts?: {
|
|
1203
|
+
name: string;
|
|
1204
|
+
phone: string;
|
|
1205
|
+
relationship: string;
|
|
1206
|
+
email?: string | undefined;
|
|
1207
|
+
alternatePhone?: string | undefined;
|
|
1208
|
+
}[] | undefined;
|
|
1209
|
+
temporaryPassword?: string | undefined;
|
|
1210
|
+
globalRole?: "TenantAdmin" | "TenantUser" | undefined;
|
|
1211
|
+
createUserAccount?: boolean | undefined;
|
|
1212
|
+
}>;
|
|
1213
|
+
export type CreateStaffWithUserDto = z.infer<typeof createStaffWithUserSchema>;
|
|
1214
|
+
export declare const staffWithUserResponseSchema: z.ZodObject<{
|
|
1215
|
+
staff: z.ZodObject<{
|
|
1216
|
+
staffId: z.ZodString;
|
|
1217
|
+
staffUniqueId: z.ZodString;
|
|
1218
|
+
tenantId: z.ZodString;
|
|
1219
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
1220
|
+
firstName: z.ZodString;
|
|
1221
|
+
lastSurname: z.ZodString;
|
|
1222
|
+
middleName: z.ZodOptional<z.ZodString>;
|
|
1223
|
+
generationCodeSuffix: z.ZodOptional<z.ZodString>;
|
|
1224
|
+
birthDate: z.ZodOptional<z.ZodString>;
|
|
1225
|
+
gender: z.ZodOptional<z.ZodEnum<["male", "female", "non_binary", "prefer_not_to_say"]>>;
|
|
1226
|
+
email: z.ZodString;
|
|
1227
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
1228
|
+
addresses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1229
|
+
addressTypeDescriptor: z.ZodOptional<z.ZodEnum<["home", "mailing", "work", "temporary"]>>;
|
|
1230
|
+
streetNumberName: z.ZodOptional<z.ZodString>;
|
|
1231
|
+
apartmentRoomSuiteNumber: z.ZodOptional<z.ZodString>;
|
|
1232
|
+
city: z.ZodOptional<z.ZodString>;
|
|
1233
|
+
stateAbbreviationDescriptor: z.ZodOptional<z.ZodString>;
|
|
1234
|
+
postalCode: z.ZodOptional<z.ZodString>;
|
|
1235
|
+
country: z.ZodOptional<z.ZodString>;
|
|
1236
|
+
}, "strip", z.ZodTypeAny, {
|
|
1237
|
+
city?: string | undefined;
|
|
1238
|
+
country?: string | undefined;
|
|
1239
|
+
addressTypeDescriptor?: "temporary" | "home" | "mailing" | "work" | undefined;
|
|
1240
|
+
streetNumberName?: string | undefined;
|
|
1241
|
+
apartmentRoomSuiteNumber?: string | undefined;
|
|
1242
|
+
stateAbbreviationDescriptor?: string | undefined;
|
|
1243
|
+
postalCode?: string | undefined;
|
|
1244
|
+
}, {
|
|
1245
|
+
city?: string | undefined;
|
|
1246
|
+
country?: string | undefined;
|
|
1247
|
+
addressTypeDescriptor?: "temporary" | "home" | "mailing" | "work" | undefined;
|
|
1248
|
+
streetNumberName?: string | undefined;
|
|
1249
|
+
apartmentRoomSuiteNumber?: string | undefined;
|
|
1250
|
+
stateAbbreviationDescriptor?: string | undefined;
|
|
1251
|
+
postalCode?: string | undefined;
|
|
1252
|
+
}>, "many">>;
|
|
1253
|
+
primarySchoolId: z.ZodString;
|
|
1254
|
+
primarySchoolName: z.ZodOptional<z.ZodString>;
|
|
1255
|
+
schoolAssignments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1256
|
+
schoolId: z.ZodString;
|
|
1257
|
+
schoolName: z.ZodOptional<z.ZodString>;
|
|
1258
|
+
role: z.ZodEnum<["teacher", "principal", "vice_principal", "counselor", "librarian", "nurse", "admin_staff", "support_staff", "it_staff", "substitute", "contractor"]>;
|
|
1259
|
+
department: z.ZodOptional<z.ZodString>;
|
|
1260
|
+
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
1261
|
+
beginDate: z.ZodEffects<z.ZodString, string, string>;
|
|
1262
|
+
endDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1263
|
+
positionTitle: z.ZodOptional<z.ZodString>;
|
|
1264
|
+
fullTimeEquivalency: z.ZodOptional<z.ZodNumber>;
|
|
1265
|
+
}, "strip", z.ZodTypeAny, {
|
|
1266
|
+
schoolId: string;
|
|
1267
|
+
role: "teacher" | "principal" | "vice_principal" | "counselor" | "librarian" | "nurse" | "admin_staff" | "support_staff" | "it_staff" | "substitute" | "contractor";
|
|
1268
|
+
isPrimary: boolean;
|
|
1269
|
+
beginDate: string;
|
|
1270
|
+
endDate?: string | undefined;
|
|
1271
|
+
schoolName?: string | undefined;
|
|
1272
|
+
department?: string | undefined;
|
|
1273
|
+
positionTitle?: string | undefined;
|
|
1274
|
+
fullTimeEquivalency?: number | undefined;
|
|
1275
|
+
}, {
|
|
1276
|
+
schoolId: string;
|
|
1277
|
+
role: "teacher" | "principal" | "vice_principal" | "counselor" | "librarian" | "nurse" | "admin_staff" | "support_staff" | "it_staff" | "substitute" | "contractor";
|
|
1278
|
+
beginDate: string;
|
|
1279
|
+
endDate?: string | undefined;
|
|
1280
|
+
schoolName?: string | undefined;
|
|
1281
|
+
department?: string | undefined;
|
|
1282
|
+
isPrimary?: boolean | undefined;
|
|
1283
|
+
positionTitle?: string | undefined;
|
|
1284
|
+
fullTimeEquivalency?: number | undefined;
|
|
1285
|
+
}>, "many">>;
|
|
1286
|
+
role: z.ZodEnum<["teacher", "principal", "vice_principal", "counselor", "librarian", "nurse", "admin_staff", "support_staff", "it_staff", "substitute", "contractor"]>;
|
|
1287
|
+
employmentType: z.ZodEnum<["full_time", "part_time", "contract", "temporary", "volunteer"]>;
|
|
1288
|
+
employmentStatus: z.ZodEnum<["active", "on_leave", "suspended", "terminated", "retired", "resigned"]>;
|
|
1289
|
+
hireDate: z.ZodString;
|
|
1290
|
+
terminationDate: z.ZodOptional<z.ZodString>;
|
|
1291
|
+
department: z.ZodOptional<z.ZodString>;
|
|
1292
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1293
|
+
highlyQualifiedTeacher: z.ZodOptional<z.ZodBoolean>;
|
|
1294
|
+
yearsOfPriorTeachingExperience: z.ZodOptional<z.ZodNumber>;
|
|
1295
|
+
status: z.ZodEnum<["active", "inactive", "pending"]>;
|
|
1296
|
+
credentialsCount: z.ZodOptional<z.ZodNumber>;
|
|
1297
|
+
hispanicLatinoEthnicity: z.ZodOptional<z.ZodBoolean>;
|
|
1298
|
+
createdAt: z.ZodString;
|
|
1299
|
+
updatedAt: z.ZodString;
|
|
1300
|
+
}, "strip", z.ZodTypeAny, {
|
|
1301
|
+
status: "active" | "inactive" | "pending";
|
|
1302
|
+
tenantId: string;
|
|
1303
|
+
createdAt: string;
|
|
1304
|
+
updatedAt: string;
|
|
1305
|
+
email: string;
|
|
1306
|
+
role: "teacher" | "principal" | "vice_principal" | "counselor" | "librarian" | "nurse" | "admin_staff" | "support_staff" | "it_staff" | "substitute" | "contractor";
|
|
1307
|
+
staffUniqueId: string;
|
|
1308
|
+
firstName: string;
|
|
1309
|
+
lastSurname: string;
|
|
1310
|
+
primarySchoolId: string;
|
|
1311
|
+
employmentType: "full_time" | "part_time" | "contract" | "temporary" | "volunteer";
|
|
1312
|
+
hireDate: string;
|
|
1313
|
+
employmentStatus: "active" | "suspended" | "on_leave" | "terminated" | "retired" | "resigned";
|
|
1314
|
+
staffId: string;
|
|
1315
|
+
userId?: string | undefined;
|
|
1316
|
+
title?: string | undefined;
|
|
1317
|
+
phone?: string | undefined;
|
|
1318
|
+
department?: string | undefined;
|
|
1319
|
+
middleName?: string | undefined;
|
|
1320
|
+
generationCodeSuffix?: string | undefined;
|
|
1321
|
+
birthDate?: string | undefined;
|
|
1322
|
+
gender?: "male" | "female" | "non_binary" | "prefer_not_to_say" | undefined;
|
|
1323
|
+
hispanicLatinoEthnicity?: boolean | undefined;
|
|
1324
|
+
addresses?: {
|
|
1325
|
+
city?: string | undefined;
|
|
1326
|
+
country?: string | undefined;
|
|
1327
|
+
addressTypeDescriptor?: "temporary" | "home" | "mailing" | "work" | undefined;
|
|
1328
|
+
streetNumberName?: string | undefined;
|
|
1329
|
+
apartmentRoomSuiteNumber?: string | undefined;
|
|
1330
|
+
stateAbbreviationDescriptor?: string | undefined;
|
|
1331
|
+
postalCode?: string | undefined;
|
|
1332
|
+
}[] | undefined;
|
|
1333
|
+
highlyQualifiedTeacher?: boolean | undefined;
|
|
1334
|
+
yearsOfPriorTeachingExperience?: number | undefined;
|
|
1335
|
+
terminationDate?: string | undefined;
|
|
1336
|
+
primarySchoolName?: string | undefined;
|
|
1337
|
+
schoolAssignments?: {
|
|
1338
|
+
schoolId: string;
|
|
1339
|
+
role: "teacher" | "principal" | "vice_principal" | "counselor" | "librarian" | "nurse" | "admin_staff" | "support_staff" | "it_staff" | "substitute" | "contractor";
|
|
1340
|
+
isPrimary: boolean;
|
|
1341
|
+
beginDate: string;
|
|
1342
|
+
endDate?: string | undefined;
|
|
1343
|
+
schoolName?: string | undefined;
|
|
1344
|
+
department?: string | undefined;
|
|
1345
|
+
positionTitle?: string | undefined;
|
|
1346
|
+
fullTimeEquivalency?: number | undefined;
|
|
1347
|
+
}[] | undefined;
|
|
1348
|
+
credentialsCount?: number | undefined;
|
|
1349
|
+
}, {
|
|
1350
|
+
status: "active" | "inactive" | "pending";
|
|
1351
|
+
tenantId: string;
|
|
1352
|
+
createdAt: string;
|
|
1353
|
+
updatedAt: string;
|
|
1354
|
+
email: string;
|
|
1355
|
+
role: "teacher" | "principal" | "vice_principal" | "counselor" | "librarian" | "nurse" | "admin_staff" | "support_staff" | "it_staff" | "substitute" | "contractor";
|
|
1356
|
+
staffUniqueId: string;
|
|
1357
|
+
firstName: string;
|
|
1358
|
+
lastSurname: string;
|
|
1359
|
+
primarySchoolId: string;
|
|
1360
|
+
employmentType: "full_time" | "part_time" | "contract" | "temporary" | "volunteer";
|
|
1361
|
+
hireDate: string;
|
|
1362
|
+
employmentStatus: "active" | "suspended" | "on_leave" | "terminated" | "retired" | "resigned";
|
|
1363
|
+
staffId: string;
|
|
1364
|
+
userId?: string | undefined;
|
|
1365
|
+
title?: string | undefined;
|
|
1366
|
+
phone?: string | undefined;
|
|
1367
|
+
department?: string | undefined;
|
|
1368
|
+
middleName?: string | undefined;
|
|
1369
|
+
generationCodeSuffix?: string | undefined;
|
|
1370
|
+
birthDate?: string | undefined;
|
|
1371
|
+
gender?: "male" | "female" | "non_binary" | "prefer_not_to_say" | undefined;
|
|
1372
|
+
hispanicLatinoEthnicity?: boolean | undefined;
|
|
1373
|
+
addresses?: {
|
|
1374
|
+
city?: string | undefined;
|
|
1375
|
+
country?: string | undefined;
|
|
1376
|
+
addressTypeDescriptor?: "temporary" | "home" | "mailing" | "work" | undefined;
|
|
1377
|
+
streetNumberName?: string | undefined;
|
|
1378
|
+
apartmentRoomSuiteNumber?: string | undefined;
|
|
1379
|
+
stateAbbreviationDescriptor?: string | undefined;
|
|
1380
|
+
postalCode?: string | undefined;
|
|
1381
|
+
}[] | undefined;
|
|
1382
|
+
highlyQualifiedTeacher?: boolean | undefined;
|
|
1383
|
+
yearsOfPriorTeachingExperience?: number | undefined;
|
|
1384
|
+
terminationDate?: string | undefined;
|
|
1385
|
+
primarySchoolName?: string | undefined;
|
|
1386
|
+
schoolAssignments?: {
|
|
1387
|
+
schoolId: string;
|
|
1388
|
+
role: "teacher" | "principal" | "vice_principal" | "counselor" | "librarian" | "nurse" | "admin_staff" | "support_staff" | "it_staff" | "substitute" | "contractor";
|
|
1389
|
+
beginDate: string;
|
|
1390
|
+
endDate?: string | undefined;
|
|
1391
|
+
schoolName?: string | undefined;
|
|
1392
|
+
department?: string | undefined;
|
|
1393
|
+
isPrimary?: boolean | undefined;
|
|
1394
|
+
positionTitle?: string | undefined;
|
|
1395
|
+
fullTimeEquivalency?: number | undefined;
|
|
1396
|
+
}[] | undefined;
|
|
1397
|
+
credentialsCount?: number | undefined;
|
|
1398
|
+
}>;
|
|
1399
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
1400
|
+
userCreated: z.ZodBoolean;
|
|
1401
|
+
}, "strip", z.ZodTypeAny, {
|
|
1402
|
+
staff: {
|
|
1403
|
+
status: "active" | "inactive" | "pending";
|
|
1404
|
+
tenantId: string;
|
|
1405
|
+
createdAt: string;
|
|
1406
|
+
updatedAt: string;
|
|
1407
|
+
email: string;
|
|
1408
|
+
role: "teacher" | "principal" | "vice_principal" | "counselor" | "librarian" | "nurse" | "admin_staff" | "support_staff" | "it_staff" | "substitute" | "contractor";
|
|
1409
|
+
staffUniqueId: string;
|
|
1410
|
+
firstName: string;
|
|
1411
|
+
lastSurname: string;
|
|
1412
|
+
primarySchoolId: string;
|
|
1413
|
+
employmentType: "full_time" | "part_time" | "contract" | "temporary" | "volunteer";
|
|
1414
|
+
hireDate: string;
|
|
1415
|
+
employmentStatus: "active" | "suspended" | "on_leave" | "terminated" | "retired" | "resigned";
|
|
1416
|
+
staffId: string;
|
|
1417
|
+
userId?: string | undefined;
|
|
1418
|
+
title?: string | undefined;
|
|
1419
|
+
phone?: string | undefined;
|
|
1420
|
+
department?: string | undefined;
|
|
1421
|
+
middleName?: string | undefined;
|
|
1422
|
+
generationCodeSuffix?: string | undefined;
|
|
1423
|
+
birthDate?: string | undefined;
|
|
1424
|
+
gender?: "male" | "female" | "non_binary" | "prefer_not_to_say" | undefined;
|
|
1425
|
+
hispanicLatinoEthnicity?: boolean | undefined;
|
|
1426
|
+
addresses?: {
|
|
1427
|
+
city?: string | undefined;
|
|
1428
|
+
country?: string | undefined;
|
|
1429
|
+
addressTypeDescriptor?: "temporary" | "home" | "mailing" | "work" | undefined;
|
|
1430
|
+
streetNumberName?: string | undefined;
|
|
1431
|
+
apartmentRoomSuiteNumber?: string | undefined;
|
|
1432
|
+
stateAbbreviationDescriptor?: string | undefined;
|
|
1433
|
+
postalCode?: string | undefined;
|
|
1434
|
+
}[] | undefined;
|
|
1435
|
+
highlyQualifiedTeacher?: boolean | undefined;
|
|
1436
|
+
yearsOfPriorTeachingExperience?: number | undefined;
|
|
1437
|
+
terminationDate?: string | undefined;
|
|
1438
|
+
primarySchoolName?: string | undefined;
|
|
1439
|
+
schoolAssignments?: {
|
|
1440
|
+
schoolId: string;
|
|
1441
|
+
role: "teacher" | "principal" | "vice_principal" | "counselor" | "librarian" | "nurse" | "admin_staff" | "support_staff" | "it_staff" | "substitute" | "contractor";
|
|
1442
|
+
isPrimary: boolean;
|
|
1443
|
+
beginDate: string;
|
|
1444
|
+
endDate?: string | undefined;
|
|
1445
|
+
schoolName?: string | undefined;
|
|
1446
|
+
department?: string | undefined;
|
|
1447
|
+
positionTitle?: string | undefined;
|
|
1448
|
+
fullTimeEquivalency?: number | undefined;
|
|
1449
|
+
}[] | undefined;
|
|
1450
|
+
credentialsCount?: number | undefined;
|
|
1451
|
+
};
|
|
1452
|
+
userCreated: boolean;
|
|
1453
|
+
userId?: string | undefined;
|
|
1454
|
+
}, {
|
|
1455
|
+
staff: {
|
|
1456
|
+
status: "active" | "inactive" | "pending";
|
|
1457
|
+
tenantId: string;
|
|
1458
|
+
createdAt: string;
|
|
1459
|
+
updatedAt: string;
|
|
1460
|
+
email: string;
|
|
1461
|
+
role: "teacher" | "principal" | "vice_principal" | "counselor" | "librarian" | "nurse" | "admin_staff" | "support_staff" | "it_staff" | "substitute" | "contractor";
|
|
1462
|
+
staffUniqueId: string;
|
|
1463
|
+
firstName: string;
|
|
1464
|
+
lastSurname: string;
|
|
1465
|
+
primarySchoolId: string;
|
|
1466
|
+
employmentType: "full_time" | "part_time" | "contract" | "temporary" | "volunteer";
|
|
1467
|
+
hireDate: string;
|
|
1468
|
+
employmentStatus: "active" | "suspended" | "on_leave" | "terminated" | "retired" | "resigned";
|
|
1469
|
+
staffId: string;
|
|
1470
|
+
userId?: string | undefined;
|
|
1471
|
+
title?: string | undefined;
|
|
1472
|
+
phone?: string | undefined;
|
|
1473
|
+
department?: string | undefined;
|
|
1474
|
+
middleName?: string | undefined;
|
|
1475
|
+
generationCodeSuffix?: string | undefined;
|
|
1476
|
+
birthDate?: string | undefined;
|
|
1477
|
+
gender?: "male" | "female" | "non_binary" | "prefer_not_to_say" | undefined;
|
|
1478
|
+
hispanicLatinoEthnicity?: boolean | undefined;
|
|
1479
|
+
addresses?: {
|
|
1480
|
+
city?: string | undefined;
|
|
1481
|
+
country?: string | undefined;
|
|
1482
|
+
addressTypeDescriptor?: "temporary" | "home" | "mailing" | "work" | undefined;
|
|
1483
|
+
streetNumberName?: string | undefined;
|
|
1484
|
+
apartmentRoomSuiteNumber?: string | undefined;
|
|
1485
|
+
stateAbbreviationDescriptor?: string | undefined;
|
|
1486
|
+
postalCode?: string | undefined;
|
|
1487
|
+
}[] | undefined;
|
|
1488
|
+
highlyQualifiedTeacher?: boolean | undefined;
|
|
1489
|
+
yearsOfPriorTeachingExperience?: number | undefined;
|
|
1490
|
+
terminationDate?: string | undefined;
|
|
1491
|
+
primarySchoolName?: string | undefined;
|
|
1492
|
+
schoolAssignments?: {
|
|
1493
|
+
schoolId: string;
|
|
1494
|
+
role: "teacher" | "principal" | "vice_principal" | "counselor" | "librarian" | "nurse" | "admin_staff" | "support_staff" | "it_staff" | "substitute" | "contractor";
|
|
1495
|
+
beginDate: string;
|
|
1496
|
+
endDate?: string | undefined;
|
|
1497
|
+
schoolName?: string | undefined;
|
|
1498
|
+
department?: string | undefined;
|
|
1499
|
+
isPrimary?: boolean | undefined;
|
|
1500
|
+
positionTitle?: string | undefined;
|
|
1501
|
+
fullTimeEquivalency?: number | undefined;
|
|
1502
|
+
}[] | undefined;
|
|
1503
|
+
credentialsCount?: number | undefined;
|
|
1504
|
+
};
|
|
1505
|
+
userCreated: boolean;
|
|
1506
|
+
userId?: string | undefined;
|
|
1507
|
+
}>;
|
|
1508
|
+
export type StaffWithUserResponseDto = z.infer<typeof staffWithUserResponseSchema>;
|
|
1037
1509
|
//# sourceMappingURL=staff.schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"staff.schema.d.ts","sourceRoot":"","sources":["../../../src/schemas/identity/staff.schema.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAcxB;;GAEG;AACH,eAAO,MAAM,eAAe,kKAY1B,CAAC;AACH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAExD;;GAEG;AACH,eAAO,MAAM,sBAAsB,qFAOjC,CAAC;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEtE;;GAEG;AACH,eAAO,MAAM,oBAAoB,6EAM/B,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAElE;;GAEG;AACH,eAAO,MAAM,iBAAiB,8CAI5B,CAAC;AACH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D;;GAEG;AACH,eAAO,MAAM,iBAAiB,kEAK5B,CAAC;AACH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAM5D,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;EAQ7B,CAAC;AACH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAM9D,eAAO,MAAM,yBAAyB;;;;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