@xuulu/xuulu-types 1.0.47 → 1.0.48
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/cjs/interviewSetup/responses/index.d.ts +19 -19
- package/dist/esm/interviewSetup/responses/index.d.ts +19 -19
- package/package.json +1 -1
- package/src/account/index.ts +2 -2
- package/src/account/requests/index.ts +8 -8
- package/src/account/responses/index.ts +10 -10
- package/src/auth/index.ts +1 -1
- package/src/auth/requests/index.ts +8 -8
- package/src/auth/responses/index.ts +6 -6
- package/src/mails/index.ts +1 -1
- package/src/mails/requests/index.ts +7 -7
- package/src/pagination/index.ts +1 -1
- package/src/pagination/requests/index.ts +10 -10
- package/src/pagination/responses/index.ts +6 -6
- package/src/positions/index.ts +2 -2
- package/src/positions/requests/index.ts +71 -71
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { SectionResponse } from "../../sections/responses";
|
|
2
|
-
import { QuestionResponse } from "../../questions/responses";
|
|
3
|
-
import { FrameworkResponse } from "../../frameworks/responses";
|
|
4
|
-
import { InterviewsQuestionsResponse } from "../../InterviewQuestions/responses";
|
|
5
|
-
import { InterviewsQuestionsCustomResponse } from "../../interviewQuestionsCustom/responses";
|
|
6
|
-
export type InterviewSetupResponse = {
|
|
7
|
-
additionalSkills: {
|
|
8
|
-
sections: SectionResponse[];
|
|
9
|
-
frameworks: FrameworkResponse[];
|
|
10
|
-
};
|
|
11
|
-
absentSkills: {
|
|
12
|
-
sections: SectionResponse[];
|
|
13
|
-
frameworks: FrameworkResponse[];
|
|
14
|
-
};
|
|
15
|
-
similarityScore: number;
|
|
16
|
-
requiredQuestions: QuestionResponse[];
|
|
17
|
-
selectedQuestions: InterviewsQuestionsResponse[];
|
|
18
|
-
selectedQuestionsCustom: InterviewsQuestionsCustomResponse | {};
|
|
19
|
-
};
|
|
1
|
+
import { SectionResponse } from "../../sections/responses";
|
|
2
|
+
import { QuestionResponse } from "../../questions/responses";
|
|
3
|
+
import { FrameworkResponse } from "../../frameworks/responses";
|
|
4
|
+
import { InterviewsQuestionsResponse } from "../../InterviewQuestions/responses";
|
|
5
|
+
import { InterviewsQuestionsCustomResponse } from "../../interviewQuestionsCustom/responses";
|
|
6
|
+
export type InterviewSetupResponse = {
|
|
7
|
+
additionalSkills: {
|
|
8
|
+
sections: SectionResponse[];
|
|
9
|
+
frameworks: FrameworkResponse[];
|
|
10
|
+
};
|
|
11
|
+
absentSkills: {
|
|
12
|
+
sections: SectionResponse[];
|
|
13
|
+
frameworks: FrameworkResponse[];
|
|
14
|
+
};
|
|
15
|
+
similarityScore: number;
|
|
16
|
+
requiredQuestions: QuestionResponse[];
|
|
17
|
+
selectedQuestions: InterviewsQuestionsResponse[];
|
|
18
|
+
selectedQuestionsCustom: InterviewsQuestionsCustomResponse | {};
|
|
19
|
+
};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { SectionResponse } from "../../sections/responses";
|
|
2
|
-
import { QuestionResponse } from "../../questions/responses";
|
|
3
|
-
import { FrameworkResponse } from "../../frameworks/responses";
|
|
4
|
-
import { InterviewsQuestionsResponse } from "../../InterviewQuestions/responses";
|
|
5
|
-
import { InterviewsQuestionsCustomResponse } from "../../interviewQuestionsCustom/responses";
|
|
6
|
-
export type InterviewSetupResponse = {
|
|
7
|
-
additionalSkills: {
|
|
8
|
-
sections: SectionResponse[];
|
|
9
|
-
frameworks: FrameworkResponse[];
|
|
10
|
-
};
|
|
11
|
-
absentSkills: {
|
|
12
|
-
sections: SectionResponse[];
|
|
13
|
-
frameworks: FrameworkResponse[];
|
|
14
|
-
};
|
|
15
|
-
similarityScore: number;
|
|
16
|
-
requiredQuestions: QuestionResponse[];
|
|
17
|
-
selectedQuestions: InterviewsQuestionsResponse[];
|
|
18
|
-
selectedQuestionsCustom: InterviewsQuestionsCustomResponse | {};
|
|
19
|
-
};
|
|
1
|
+
import { SectionResponse } from "../../sections/responses";
|
|
2
|
+
import { QuestionResponse } from "../../questions/responses";
|
|
3
|
+
import { FrameworkResponse } from "../../frameworks/responses";
|
|
4
|
+
import { InterviewsQuestionsResponse } from "../../InterviewQuestions/responses";
|
|
5
|
+
import { InterviewsQuestionsCustomResponse } from "../../interviewQuestionsCustom/responses";
|
|
6
|
+
export type InterviewSetupResponse = {
|
|
7
|
+
additionalSkills: {
|
|
8
|
+
sections: SectionResponse[];
|
|
9
|
+
frameworks: FrameworkResponse[];
|
|
10
|
+
};
|
|
11
|
+
absentSkills: {
|
|
12
|
+
sections: SectionResponse[];
|
|
13
|
+
frameworks: FrameworkResponse[];
|
|
14
|
+
};
|
|
15
|
+
similarityScore: number;
|
|
16
|
+
requiredQuestions: QuestionResponse[];
|
|
17
|
+
selectedQuestions: InterviewsQuestionsResponse[];
|
|
18
|
+
selectedQuestionsCustom: InterviewsQuestionsCustomResponse | {};
|
|
19
|
+
};
|
package/package.json
CHANGED
package/src/account/index.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./requests";
|
|
2
|
-
export * from "./responses";
|
|
1
|
+
export * from "./requests";
|
|
2
|
+
export * from "./responses";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export type ApiKeyCreateRequest = {
|
|
2
|
-
name: string;
|
|
3
|
-
};
|
|
4
|
-
|
|
5
|
-
export type ApiKeyUpdateRequest = {
|
|
6
|
-
name?: string;
|
|
7
|
-
isActive?: boolean;
|
|
8
|
-
};
|
|
1
|
+
export type ApiKeyCreateRequest = {
|
|
2
|
+
name: string;
|
|
3
|
+
};
|
|
4
|
+
|
|
5
|
+
export type ApiKeyUpdateRequest = {
|
|
6
|
+
name?: string;
|
|
7
|
+
isActive?: boolean;
|
|
8
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export type ApiKeyResponse = {
|
|
2
|
-
id: number;
|
|
3
|
-
name: string;
|
|
4
|
-
keyValue: string;
|
|
5
|
-
isActive: boolean;
|
|
6
|
-
createdAt: Date;
|
|
7
|
-
expiresAt: Date;
|
|
8
|
-
isExpired?: boolean;
|
|
9
|
-
daysUntilExpiration?: number;
|
|
10
|
-
};
|
|
1
|
+
export type ApiKeyResponse = {
|
|
2
|
+
id: number;
|
|
3
|
+
name: string;
|
|
4
|
+
keyValue: string;
|
|
5
|
+
isActive: boolean;
|
|
6
|
+
createdAt: Date;
|
|
7
|
+
expiresAt: Date;
|
|
8
|
+
isExpired?: boolean;
|
|
9
|
+
daysUntilExpiration?: number;
|
|
10
|
+
};
|
package/src/auth/index.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './requests';
|
|
1
|
+
export * from './requests';
|
|
2
2
|
export * from './responses';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export type ResetPasswordRequest = {
|
|
2
|
-
email: string;
|
|
3
|
-
token: string;
|
|
4
|
-
newPassword: string;
|
|
5
|
-
};
|
|
6
|
-
|
|
7
|
-
export type ForgotPasswordRequest = {
|
|
8
|
-
email: string;
|
|
1
|
+
export type ResetPasswordRequest = {
|
|
2
|
+
email: string;
|
|
3
|
+
token: string;
|
|
4
|
+
newPassword: string;
|
|
5
|
+
};
|
|
6
|
+
|
|
7
|
+
export type ForgotPasswordRequest = {
|
|
8
|
+
email: string;
|
|
9
9
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export type ResetPasswordResponse = {
|
|
2
|
-
message: string;
|
|
3
|
-
};
|
|
4
|
-
|
|
5
|
-
export type ForgotPasswordResponse = {
|
|
6
|
-
message: string;
|
|
1
|
+
export type ResetPasswordResponse = {
|
|
2
|
+
message: string;
|
|
3
|
+
};
|
|
4
|
+
|
|
5
|
+
export type ForgotPasswordResponse = {
|
|
6
|
+
message: string;
|
|
7
7
|
};
|
package/src/mails/index.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./requests";
|
|
1
|
+
export * from "./requests";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export type SendEmailRequest = {
|
|
2
|
-
from?: string;
|
|
3
|
-
to: string | string[];
|
|
4
|
-
subject: string;
|
|
5
|
-
text: string;
|
|
6
|
-
html: string;
|
|
7
|
-
};
|
|
1
|
+
export type SendEmailRequest = {
|
|
2
|
+
from?: string;
|
|
3
|
+
to: string | string[];
|
|
4
|
+
subject: string;
|
|
5
|
+
text: string;
|
|
6
|
+
html: string;
|
|
7
|
+
};
|
package/src/pagination/index.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './responses';
|
|
1
|
+
export * from './responses';
|
|
2
2
|
export * from './requests';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export type QueryFilters = {
|
|
2
|
-
[key: string]: string | number | boolean | undefined | { search: string };
|
|
3
|
-
};
|
|
4
|
-
|
|
5
|
-
export type PaginationOptions = {
|
|
6
|
-
page?: number;
|
|
7
|
-
pageSize?: number;
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
export type PaginationFilters = PaginationOptions;
|
|
1
|
+
export type QueryFilters = {
|
|
2
|
+
[key: string]: string | number | boolean | undefined | { search: string };
|
|
3
|
+
};
|
|
4
|
+
|
|
5
|
+
export type PaginationOptions = {
|
|
6
|
+
page?: number;
|
|
7
|
+
pageSize?: number;
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
export type PaginationFilters = PaginationOptions;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export interface PaginatedResponse<T> {
|
|
2
|
-
data: T[];
|
|
3
|
-
total: number;
|
|
4
|
-
currentPage: number;
|
|
5
|
-
pageSize: number;
|
|
6
|
-
totalPages: number;
|
|
1
|
+
export interface PaginatedResponse<T> {
|
|
2
|
+
data: T[];
|
|
3
|
+
total: number;
|
|
4
|
+
currentPage: number;
|
|
5
|
+
pageSize: number;
|
|
6
|
+
totalPages: number;
|
|
7
7
|
}
|
package/src/positions/index.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./responses";
|
|
2
|
-
export * from "./requests";
|
|
1
|
+
export * from "./responses";
|
|
2
|
+
export * from "./requests";
|
|
@@ -1,71 +1,71 @@
|
|
|
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 { PositionWorkplaceResponse } from "../../positionWorkplaces/responses";
|
|
7
|
-
import { SectionResponse } from "../../sections/responses";
|
|
8
|
-
import { SeniorityLevelResponse } from "../../seniorityLevels/responses";
|
|
9
|
-
|
|
10
|
-
/* **************** *
|
|
11
|
-
* Position Create *
|
|
12
|
-
* **************** */
|
|
13
|
-
export type PositionCreateRequest = {
|
|
14
|
-
positionName: string;
|
|
15
|
-
volume: number;
|
|
16
|
-
description: string;
|
|
17
|
-
qualification: string;
|
|
18
|
-
niceToHaveDescription: string;
|
|
19
|
-
weOfferDescription: string;
|
|
20
|
-
comment?: string;
|
|
21
|
-
salary: number;
|
|
22
|
-
salaryCurrency: string;
|
|
23
|
-
seniorityLevel: Pick<SeniorityLevelResponse, "id" | "name">;
|
|
24
|
-
office: Pick<OfficeResponse, "id" | "name">;
|
|
25
|
-
contract: Pick<PositionContractResponse, "id" | "name">;
|
|
26
|
-
jobType: Pick<PositionJobTypeResponse, "id" | "name">;
|
|
27
|
-
workplace: Pick<PositionWorkplaceResponse, "id" | "name">;
|
|
28
|
-
candidates?: Pick<CandidateResponse, "id" | "firstname" | "lastname">[];
|
|
29
|
-
frameworks: Pick<FrameworkResponse, "id" | "name">[];
|
|
30
|
-
additionalFrameworks?: Pick<FrameworkResponse, "id" | "name">[];
|
|
31
|
-
sections: Pick<SectionResponse, "id" | "name">[];
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
/* **************** *
|
|
35
|
-
* Position update *
|
|
36
|
-
* **************** */
|
|
37
|
-
|
|
38
|
-
export type PositionEditRequest = {
|
|
39
|
-
positionName: string;
|
|
40
|
-
volume: number;
|
|
41
|
-
description: string;
|
|
42
|
-
qualification: string;
|
|
43
|
-
niceToHaveDescription: string;
|
|
44
|
-
weOfferDescription: string;
|
|
45
|
-
comment?: string;
|
|
46
|
-
salary: number;
|
|
47
|
-
salaryCurrency: string;
|
|
48
|
-
seniorityLevel: Pick<SeniorityLevelResponse, "id" | "name">;
|
|
49
|
-
office: Pick<OfficeResponse, "id" | "name">;
|
|
50
|
-
contract: Pick<PositionContractResponse, "id" | "name">;
|
|
51
|
-
jobType: Pick<PositionJobTypeResponse, "id" | "name">;
|
|
52
|
-
workplace: Pick<PositionWorkplaceResponse, "id" | "name">;
|
|
53
|
-
candidates?: Pick<CandidateResponse, "id" | "firstname" | "lastname">[];
|
|
54
|
-
frameworks: Pick<FrameworkResponse, "id" | "name">[];
|
|
55
|
-
additionalFrameworks?: Pick<FrameworkResponse, "id" | "name">[];
|
|
56
|
-
sections: Pick<SectionResponse, "id" | "name">[];
|
|
57
|
-
};
|
|
58
|
-
|
|
59
|
-
export type AiJobDescriptionRequest = {
|
|
60
|
-
positionName: string;
|
|
61
|
-
office: string;
|
|
62
|
-
seniorityLevel: string;
|
|
63
|
-
salary: number;
|
|
64
|
-
salaryCurrency: string;
|
|
65
|
-
jobType: string;
|
|
66
|
-
contract: string;
|
|
67
|
-
workplace: string;
|
|
68
|
-
sections: string;
|
|
69
|
-
frameworks: string;
|
|
70
|
-
additionalFrameworks: string;
|
|
71
|
-
};
|
|
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 { PositionWorkplaceResponse } from "../../positionWorkplaces/responses";
|
|
7
|
+
import { SectionResponse } from "../../sections/responses";
|
|
8
|
+
import { SeniorityLevelResponse } from "../../seniorityLevels/responses";
|
|
9
|
+
|
|
10
|
+
/* **************** *
|
|
11
|
+
* Position Create *
|
|
12
|
+
* **************** */
|
|
13
|
+
export type PositionCreateRequest = {
|
|
14
|
+
positionName: string;
|
|
15
|
+
volume: number;
|
|
16
|
+
description: string;
|
|
17
|
+
qualification: string;
|
|
18
|
+
niceToHaveDescription: string;
|
|
19
|
+
weOfferDescription: string;
|
|
20
|
+
comment?: string;
|
|
21
|
+
salary: number;
|
|
22
|
+
salaryCurrency: string;
|
|
23
|
+
seniorityLevel: Pick<SeniorityLevelResponse, "id" | "name">;
|
|
24
|
+
office: Pick<OfficeResponse, "id" | "name">;
|
|
25
|
+
contract: Pick<PositionContractResponse, "id" | "name">;
|
|
26
|
+
jobType: Pick<PositionJobTypeResponse, "id" | "name">;
|
|
27
|
+
workplace: Pick<PositionWorkplaceResponse, "id" | "name">;
|
|
28
|
+
candidates?: Pick<CandidateResponse, "id" | "firstname" | "lastname">[];
|
|
29
|
+
frameworks: Pick<FrameworkResponse, "id" | "name">[];
|
|
30
|
+
additionalFrameworks?: Pick<FrameworkResponse, "id" | "name">[];
|
|
31
|
+
sections: Pick<SectionResponse, "id" | "name">[];
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
/* **************** *
|
|
35
|
+
* Position update *
|
|
36
|
+
* **************** */
|
|
37
|
+
|
|
38
|
+
export type PositionEditRequest = {
|
|
39
|
+
positionName: string;
|
|
40
|
+
volume: number;
|
|
41
|
+
description: string;
|
|
42
|
+
qualification: string;
|
|
43
|
+
niceToHaveDescription: string;
|
|
44
|
+
weOfferDescription: string;
|
|
45
|
+
comment?: string;
|
|
46
|
+
salary: number;
|
|
47
|
+
salaryCurrency: string;
|
|
48
|
+
seniorityLevel: Pick<SeniorityLevelResponse, "id" | "name">;
|
|
49
|
+
office: Pick<OfficeResponse, "id" | "name">;
|
|
50
|
+
contract: Pick<PositionContractResponse, "id" | "name">;
|
|
51
|
+
jobType: Pick<PositionJobTypeResponse, "id" | "name">;
|
|
52
|
+
workplace: Pick<PositionWorkplaceResponse, "id" | "name">;
|
|
53
|
+
candidates?: Pick<CandidateResponse, "id" | "firstname" | "lastname">[];
|
|
54
|
+
frameworks: Pick<FrameworkResponse, "id" | "name">[];
|
|
55
|
+
additionalFrameworks?: Pick<FrameworkResponse, "id" | "name">[];
|
|
56
|
+
sections: Pick<SectionResponse, "id" | "name">[];
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
export type AiJobDescriptionRequest = {
|
|
60
|
+
positionName: string;
|
|
61
|
+
office: string;
|
|
62
|
+
seniorityLevel: string;
|
|
63
|
+
salary: number;
|
|
64
|
+
salaryCurrency: string;
|
|
65
|
+
jobType: string;
|
|
66
|
+
contract: string;
|
|
67
|
+
workplace: string;
|
|
68
|
+
sections: string;
|
|
69
|
+
frameworks: string;
|
|
70
|
+
additionalFrameworks: string;
|
|
71
|
+
};
|