@xuulu/xuulu-types 1.0.40 → 1.0.42
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/candidates/requests/index.d.ts +13 -0
- package/dist/cjs/candidates/responses/index.d.ts +2 -0
- package/dist/cjs/pagination/index.d.ts +1 -0
- package/dist/cjs/pagination/index.js +1 -0
- package/dist/cjs/pagination/requests/index.d.ts +7 -0
- package/dist/cjs/pagination/requests/index.js +2 -0
- package/dist/cjs/sign/requests/index.d.ts +1 -0
- package/dist/esm/candidates/requests/index.d.ts +13 -0
- package/dist/esm/candidates/responses/index.d.ts +2 -0
- package/dist/esm/pagination/index.d.ts +1 -0
- package/dist/esm/pagination/index.js +1 -0
- package/dist/esm/pagination/requests/index.d.ts +7 -0
- package/dist/esm/pagination/requests/index.js +1 -0
- package/dist/esm/sign/requests/index.d.ts +1 -0
- package/package.json +1 -1
- package/src/candidates/requests/index.ts +15 -0
- package/src/candidates/responses/index.ts +2 -0
- package/src/pagination/index.ts +2 -1
- package/src/pagination/requests/index.ts +9 -0
- package/src/sign/requests/index.ts +1 -0
|
@@ -19,3 +19,16 @@ export type CandidateEditRequest = {
|
|
|
19
19
|
status: CandidateStatusesResponse;
|
|
20
20
|
comments: string;
|
|
21
21
|
};
|
|
22
|
+
export type CandidateStatusUpdate = {
|
|
23
|
+
statusId: number;
|
|
24
|
+
rejectionReason: string;
|
|
25
|
+
};
|
|
26
|
+
export type CandidateCreateOpenApiRequest = {
|
|
27
|
+
firstname: string;
|
|
28
|
+
lastname: string;
|
|
29
|
+
email: string;
|
|
30
|
+
dateOfBirth: string;
|
|
31
|
+
positionId: number;
|
|
32
|
+
cvFileName: string;
|
|
33
|
+
cvFile: File;
|
|
34
|
+
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { CandidateStatusesResponse } from "../../candidateStatuses/responses";
|
|
2
2
|
import { PositionCandidateResponse } from "../../positionCandidates/responses";
|
|
3
|
+
import { PositionResponse } from "../../positions";
|
|
3
4
|
export type CandidateResponse = {
|
|
4
5
|
id: number;
|
|
5
6
|
email: string;
|
|
@@ -12,5 +13,6 @@ export type CandidateResponse = {
|
|
|
12
13
|
comments: string;
|
|
13
14
|
rejectionReason?: string;
|
|
14
15
|
isExternal: boolean;
|
|
16
|
+
positions: Pick<PositionResponse, "id" | "positionName">[];
|
|
15
17
|
};
|
|
16
18
|
export type CandidateWithSimilarityResponse = Pick<PositionCandidateResponse, "similarity" | "hasSimilarPriorExp"> & Pick<CandidateResponse, "id" | "firstname" | "lastname" | "email" | "status">;
|
|
@@ -19,3 +19,16 @@ export type CandidateEditRequest = {
|
|
|
19
19
|
status: CandidateStatusesResponse;
|
|
20
20
|
comments: string;
|
|
21
21
|
};
|
|
22
|
+
export type CandidateStatusUpdate = {
|
|
23
|
+
statusId: number;
|
|
24
|
+
rejectionReason: string;
|
|
25
|
+
};
|
|
26
|
+
export type CandidateCreateOpenApiRequest = {
|
|
27
|
+
firstname: string;
|
|
28
|
+
lastname: string;
|
|
29
|
+
email: string;
|
|
30
|
+
dateOfBirth: string;
|
|
31
|
+
positionId: number;
|
|
32
|
+
cvFileName: string;
|
|
33
|
+
cvFile: File;
|
|
34
|
+
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { CandidateStatusesResponse } from "../../candidateStatuses/responses";
|
|
2
2
|
import { PositionCandidateResponse } from "../../positionCandidates/responses";
|
|
3
|
+
import { PositionResponse } from "../../positions";
|
|
3
4
|
export type CandidateResponse = {
|
|
4
5
|
id: number;
|
|
5
6
|
email: string;
|
|
@@ -12,5 +13,6 @@ export type CandidateResponse = {
|
|
|
12
13
|
comments: string;
|
|
13
14
|
rejectionReason?: string;
|
|
14
15
|
isExternal: boolean;
|
|
16
|
+
positions: Pick<PositionResponse, "id" | "positionName">[];
|
|
15
17
|
};
|
|
16
18
|
export type CandidateWithSimilarityResponse = Pick<PositionCandidateResponse, "similarity" | "hasSimilarPriorExp"> & Pick<CandidateResponse, "id" | "firstname" | "lastname" | "email" | "status">;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -21,3 +21,18 @@ export type CandidateEditRequest = {
|
|
|
21
21
|
status: CandidateStatusesResponse;
|
|
22
22
|
comments: string;
|
|
23
23
|
};
|
|
24
|
+
|
|
25
|
+
export type CandidateStatusUpdate = {
|
|
26
|
+
statusId: number;
|
|
27
|
+
rejectionReason: string;
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
export type CandidateCreateOpenApiRequest = {
|
|
31
|
+
firstname: string;
|
|
32
|
+
lastname: string;
|
|
33
|
+
email: string;
|
|
34
|
+
dateOfBirth: string;
|
|
35
|
+
positionId: number;
|
|
36
|
+
cvFileName: string;
|
|
37
|
+
cvFile: File;
|
|
38
|
+
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { CandidateStatusesResponse } from "../../candidateStatuses/responses";
|
|
2
2
|
import { PositionCandidateResponse } from "../../positionCandidates/responses";
|
|
3
|
+
import { PositionResponse } from "../../positions";
|
|
3
4
|
|
|
4
5
|
export type CandidateResponse = {
|
|
5
6
|
id: number;
|
|
@@ -13,6 +14,7 @@ export type CandidateResponse = {
|
|
|
13
14
|
comments: string;
|
|
14
15
|
rejectionReason?: string;
|
|
15
16
|
isExternal: boolean;
|
|
17
|
+
positions: Pick<PositionResponse, "id" | "positionName">[];
|
|
16
18
|
};
|
|
17
19
|
|
|
18
20
|
export type CandidateWithSimilarityResponse = Pick<
|
package/src/pagination/index.ts
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export * from './responses';
|
|
1
|
+
export * from './responses';
|
|
2
|
+
export * from './requests';
|