@xuulu/xuulu-types 1.0.15 → 1.0.17
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/candidateStatuses/responses/index.ts +4 -0
- package/candidates/responses/index.ts +14 -0
- package/frameworks/responses/index.ts +1 -1
- package/interviewCall/responses/index.ts +15 -0
- package/interviewSetup/responses/index.ts +3 -3
- package/interviewStatuses/request/index.ts +0 -0
- package/interviewStatuses/response/index.ts +4 -0
- package/interviewTypes/responses/index.ts +4 -0
- package/interviews/responses/index.tsx +28 -0
- package/offices/responses/index.ts +9 -0
- package/package.json +1 -1
- package/positionContracts/responses/index.ts +4 -0
- package/positionStatuses/responses/index.ts +4 -0
- package/positionWorkplaces/responses/index.ts +4 -0
- package/positions/responses/index.ts +30 -0
- package/positionsJobTypes/responses/index.ts +4 -0
- package/seniorityLevels/responses/index.ts +5 -0
- package/users/responses/index.ts +14 -0
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CandidateStatusesResponse } from "../../candidateStatuses/responses";
|
|
2
|
+
|
|
3
|
+
export type CandidateResponse = {
|
|
4
|
+
id: number;
|
|
5
|
+
email: string;
|
|
6
|
+
lastname: string;
|
|
7
|
+
firstname: string;
|
|
8
|
+
dateOfBirth: string;
|
|
9
|
+
cvFileName: string;
|
|
10
|
+
similarity: number;
|
|
11
|
+
status: CandidateStatusesResponse;
|
|
12
|
+
comments: string;
|
|
13
|
+
positionCandidates: [{ similarity: number }];
|
|
14
|
+
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { SectionResponse } from "../../sections/responses";
|
|
2
2
|
import { QuestionResponse } from "../../questions/responses";
|
|
3
|
-
import {
|
|
3
|
+
import { FrameworkResponse } from "../../frameworks/responses";
|
|
4
4
|
import { InterviewsQuestionsResponse } from "../../InterviewQuestions/responses";
|
|
5
5
|
import { InterviewsQuestionsCustomResponse } from "../../interviewQuestionsCustom/responses";
|
|
6
6
|
|
|
7
7
|
export type InterviewSetupResponse = {
|
|
8
8
|
additionalSkills: {
|
|
9
9
|
sections: SectionResponse[];
|
|
10
|
-
frameworks:
|
|
10
|
+
frameworks: FrameworkResponse[];
|
|
11
11
|
};
|
|
12
12
|
absentSkills: {
|
|
13
13
|
sections: SectionResponse[];
|
|
14
|
-
frameworks:
|
|
14
|
+
frameworks: FrameworkResponse[];
|
|
15
15
|
};
|
|
16
16
|
requiredQuestions: QuestionResponse[];
|
|
17
17
|
selectedQuestions: InterviewsQuestionsResponse[];
|
|
File without changes
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { PositionResponse } from "../../positions/responses";
|
|
2
|
+
import { CandidateResponse } from "../../candidates/responses";
|
|
3
|
+
import { InterviewTypeResponse } from "../../interviewTypes/responses";
|
|
4
|
+
import { MeetingDetails } from "../../interviewCall/responses";
|
|
5
|
+
import { InterviewStatusResponse } from "../../interviewStatuses/response";
|
|
6
|
+
import { QuestionResponse } from "../../questions/responses";
|
|
7
|
+
import { UsersResponse } from "../../users/responses";
|
|
8
|
+
|
|
9
|
+
type Interview = {
|
|
10
|
+
id: number;
|
|
11
|
+
interviewDate: string;
|
|
12
|
+
similarity: number;
|
|
13
|
+
meetingId: string;
|
|
14
|
+
accessToken: string;
|
|
15
|
+
candidate: CandidateResponse;
|
|
16
|
+
position: PositionResponse;
|
|
17
|
+
interviewType: InterviewTypeResponse;
|
|
18
|
+
status: InterviewStatusResponse;
|
|
19
|
+
responsible: UsersResponse;
|
|
20
|
+
questions: QuestionResponse[];
|
|
21
|
+
interviewers: UsersResponse[];
|
|
22
|
+
feedback: string;
|
|
23
|
+
meetingDetails: MeetingDetails;
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
export type InterviewResponse = Interview & {
|
|
27
|
+
subInterviews: Interview[];
|
|
28
|
+
};
|
package/package.json
CHANGED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { CandidateResponse } from "../../candidates/responses";
|
|
2
|
+
import { FrameworkResponse } from "../../frameworks/responses";
|
|
3
|
+
import { OfficeResponse } from "../../offices/responses";
|
|
4
|
+
import { PositionContractResponse } from "../../positionContracts/responses";
|
|
5
|
+
import { PositionJobTypeResponse } from "../../positionsJobTypes/responses";
|
|
6
|
+
import { PositionStatusesResponse } from "../../positionStatuses/responses";
|
|
7
|
+
import { PositionWorkplaceResponse } from "../../positionWorkplaces/responses";
|
|
8
|
+
import { SeniorityLevelResponse } from "../../seniorityLevels/responses";
|
|
9
|
+
|
|
10
|
+
export type PositionResponse = {
|
|
11
|
+
id: number;
|
|
12
|
+
positionName: string;
|
|
13
|
+
description: string;
|
|
14
|
+
qualification: string;
|
|
15
|
+
niceToHave: string;
|
|
16
|
+
weOffer: string;
|
|
17
|
+
seniorityLevel: SeniorityLevelResponse;
|
|
18
|
+
status?: PositionStatusesResponse;
|
|
19
|
+
workplace: PositionWorkplaceResponse;
|
|
20
|
+
jobType: PositionJobTypeResponse;
|
|
21
|
+
contract: PositionContractResponse;
|
|
22
|
+
office: OfficeResponse;
|
|
23
|
+
salary: number;
|
|
24
|
+
salaryCurrency: string;
|
|
25
|
+
volume: number;
|
|
26
|
+
comment: string;
|
|
27
|
+
candidates: CandidateResponse[];
|
|
28
|
+
frameworks: FrameworkResponse[];
|
|
29
|
+
sections: PositionResponse[];
|
|
30
|
+
};
|