fix(aihr): separate onboarding and candidate review states

This commit is contained in:
2026-07-15 02:39:29 +08:00
parent 21a13d806c
commit 40574c204d
13 changed files with 487 additions and 13 deletions
+39
View File
@@ -315,6 +315,39 @@ export interface PracticeAssignment {
audioOssId?: number | string;
}
export interface OnboardTask {
id: number;
projectCode?: string | null;
positionCode?: string | null;
sopId?: number | null;
courseId?: number | null;
taskType: string;
status: string;
assignBy?: string | null;
assignedTime?: string | null;
dueTime?: string | null;
completedTime?: string | null;
evidenceRef?: string | null;
}
export interface QualificationGate {
id: number;
projectCode?: string | null;
positionCode: string;
certId: string;
passed: boolean;
validThru?: string | null;
evidenceRef?: string | null;
reviewer?: string | null;
reviewedTime?: string | null;
}
export interface QualificationSummary {
status: 'NOT_CONFIGURED' | 'BLOCKED' | 'EXPIRED' | 'PASSED' | string;
positionCode?: string | null;
gates: QualificationGate[];
}
export interface PracticeAssignmentRequest {
extPartyId: string;
traineeName?: string;
@@ -458,10 +491,16 @@ export interface InterviewDimension {
}
export interface InterviewRecord {
sessionId?: string;
time: string;
candidate: string;
position: string;
score: number;
reviewedScore?: number | null;
finalScore?: number;
reviewStatus?: string;
reviewer?: string;
reviewNote?: string;
result: string;
summary: string;
questions?: InterviewQuestionRecord[];