@xuulu/xuulu-types 1.0.54 → 1.0.55
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/index.d.ts +7 -7
- package/dist/cjs/index.js +7 -7
- package/dist/cjs/socket/index.d.ts +1 -1
- package/dist/cjs/socket/requests/index.d.ts +2 -2
- package/dist/cjs/socket/responses/index.d.ts +0 -0
- package/dist/cjs/socket/responses/index.js +1 -0
- package/dist/esm/index.d.ts +7 -7
- package/dist/esm/index.js +7 -7
- package/dist/esm/socket/index.d.ts +1 -1
- package/dist/esm/socket/index.js +1 -1
- package/dist/esm/socket/requests/index.d.ts +2 -2
- package/dist/esm/socket/responses/index.d.ts +0 -0
- package/dist/esm/socket/responses/index.js +1 -0
- 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/index.ts +7 -7
- 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
- package/src/socket/index.ts +1 -1
- package/src/socket/requests/index.ts +3 -3
- package/src/socket/responses/index.ts +0 -0
package/dist/cjs/index.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export * from "./account";
|
|
2
|
+
export * from "./auth";
|
|
1
3
|
export * from "./candidates";
|
|
2
4
|
export * from "./candidateStatuses";
|
|
3
5
|
export * from "./companies";
|
|
@@ -11,7 +13,9 @@ export * from "./interviews";
|
|
|
11
13
|
export * from "./interviewSetup";
|
|
12
14
|
export * from "./interviewStatuses";
|
|
13
15
|
export * from "./interviewTypes";
|
|
16
|
+
export * from "./mails";
|
|
14
17
|
export * from "./offices";
|
|
18
|
+
export * from "./pagination";
|
|
15
19
|
export * from "./positionContracts";
|
|
16
20
|
export * from "./positions";
|
|
17
21
|
export * from "./positionsJobTypes";
|
|
@@ -22,12 +26,8 @@ export * from "./roles";
|
|
|
22
26
|
export * from "./sections";
|
|
23
27
|
export * from "./seniorityLevels";
|
|
24
28
|
export * from "./sign";
|
|
29
|
+
export * from "./socket";
|
|
30
|
+
export * from "./sorting";
|
|
31
|
+
export * from "./stripe";
|
|
25
32
|
export * from "./users";
|
|
26
33
|
export * from "./userSettings";
|
|
27
|
-
export * from "./stripe";
|
|
28
|
-
export * from "./auth";
|
|
29
|
-
export * from "./mails";
|
|
30
|
-
export * from "./account";
|
|
31
|
-
export * from "./pagination";
|
|
32
|
-
export * from "./sorting";
|
|
33
|
-
export * from "./socket";
|
package/dist/cjs/index.js
CHANGED
|
@@ -14,6 +14,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./account"), exports);
|
|
18
|
+
__exportStar(require("./auth"), exports);
|
|
17
19
|
__exportStar(require("./candidates"), exports);
|
|
18
20
|
__exportStar(require("./candidateStatuses"), exports);
|
|
19
21
|
__exportStar(require("./companies"), exports);
|
|
@@ -27,7 +29,9 @@ __exportStar(require("./interviews"), exports);
|
|
|
27
29
|
__exportStar(require("./interviewSetup"), exports);
|
|
28
30
|
__exportStar(require("./interviewStatuses"), exports);
|
|
29
31
|
__exportStar(require("./interviewTypes"), exports);
|
|
32
|
+
__exportStar(require("./mails"), exports);
|
|
30
33
|
__exportStar(require("./offices"), exports);
|
|
34
|
+
__exportStar(require("./pagination"), exports);
|
|
31
35
|
__exportStar(require("./positionContracts"), exports);
|
|
32
36
|
__exportStar(require("./positions"), exports);
|
|
33
37
|
__exportStar(require("./positionsJobTypes"), exports);
|
|
@@ -38,12 +42,8 @@ __exportStar(require("./roles"), exports);
|
|
|
38
42
|
__exportStar(require("./sections"), exports);
|
|
39
43
|
__exportStar(require("./seniorityLevels"), exports);
|
|
40
44
|
__exportStar(require("./sign"), exports);
|
|
45
|
+
__exportStar(require("./socket"), exports);
|
|
46
|
+
__exportStar(require("./sorting"), exports);
|
|
47
|
+
__exportStar(require("./stripe"), exports);
|
|
41
48
|
__exportStar(require("./users"), exports);
|
|
42
49
|
__exportStar(require("./userSettings"), exports);
|
|
43
|
-
__exportStar(require("./stripe"), exports);
|
|
44
|
-
__exportStar(require("./auth"), exports);
|
|
45
|
-
__exportStar(require("./mails"), exports);
|
|
46
|
-
__exportStar(require("./account"), exports);
|
|
47
|
-
__exportStar(require("./pagination"), exports);
|
|
48
|
-
__exportStar(require("./sorting"), exports);
|
|
49
|
-
__exportStar(require("./socket"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from "./requests";
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export * from "./account";
|
|
2
|
+
export * from "./auth";
|
|
1
3
|
export * from "./candidates";
|
|
2
4
|
export * from "./candidateStatuses";
|
|
3
5
|
export * from "./companies";
|
|
@@ -11,7 +13,9 @@ export * from "./interviews";
|
|
|
11
13
|
export * from "./interviewSetup";
|
|
12
14
|
export * from "./interviewStatuses";
|
|
13
15
|
export * from "./interviewTypes";
|
|
16
|
+
export * from "./mails";
|
|
14
17
|
export * from "./offices";
|
|
18
|
+
export * from "./pagination";
|
|
15
19
|
export * from "./positionContracts";
|
|
16
20
|
export * from "./positions";
|
|
17
21
|
export * from "./positionsJobTypes";
|
|
@@ -22,12 +26,8 @@ export * from "./roles";
|
|
|
22
26
|
export * from "./sections";
|
|
23
27
|
export * from "./seniorityLevels";
|
|
24
28
|
export * from "./sign";
|
|
29
|
+
export * from "./socket";
|
|
30
|
+
export * from "./sorting";
|
|
31
|
+
export * from "./stripe";
|
|
25
32
|
export * from "./users";
|
|
26
33
|
export * from "./userSettings";
|
|
27
|
-
export * from "./stripe";
|
|
28
|
-
export * from "./auth";
|
|
29
|
-
export * from "./mails";
|
|
30
|
-
export * from "./account";
|
|
31
|
-
export * from "./pagination";
|
|
32
|
-
export * from "./sorting";
|
|
33
|
-
export * from "./socket";
|
package/dist/esm/index.js
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export * from "./account";
|
|
2
|
+
export * from "./auth";
|
|
1
3
|
export * from "./candidates";
|
|
2
4
|
export * from "./candidateStatuses";
|
|
3
5
|
export * from "./companies";
|
|
@@ -11,7 +13,9 @@ export * from "./interviews";
|
|
|
11
13
|
export * from "./interviewSetup";
|
|
12
14
|
export * from "./interviewStatuses";
|
|
13
15
|
export * from "./interviewTypes";
|
|
16
|
+
export * from "./mails";
|
|
14
17
|
export * from "./offices";
|
|
18
|
+
export * from "./pagination";
|
|
15
19
|
export * from "./positionContracts";
|
|
16
20
|
export * from "./positions";
|
|
17
21
|
export * from "./positionsJobTypes";
|
|
@@ -22,12 +26,8 @@ export * from "./roles";
|
|
|
22
26
|
export * from "./sections";
|
|
23
27
|
export * from "./seniorityLevels";
|
|
24
28
|
export * from "./sign";
|
|
29
|
+
export * from "./socket";
|
|
30
|
+
export * from "./sorting";
|
|
31
|
+
export * from "./stripe";
|
|
25
32
|
export * from "./users";
|
|
26
33
|
export * from "./userSettings";
|
|
27
|
-
export * from "./stripe";
|
|
28
|
-
export * from "./auth";
|
|
29
|
-
export * from "./mails";
|
|
30
|
-
export * from "./account";
|
|
31
|
-
export * from "./pagination";
|
|
32
|
-
export * from "./sorting";
|
|
33
|
-
export * from "./socket";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from "./requests";
|
package/dist/esm/socket/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from "./requests";
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
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/index.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export * from "./account";
|
|
2
|
+
export * from "./auth";
|
|
1
3
|
export * from "./candidates";
|
|
2
4
|
export * from "./candidateStatuses";
|
|
3
5
|
export * from "./companies";
|
|
@@ -11,7 +13,9 @@ export * from "./interviews";
|
|
|
11
13
|
export * from "./interviewSetup";
|
|
12
14
|
export * from "./interviewStatuses";
|
|
13
15
|
export * from "./interviewTypes";
|
|
16
|
+
export * from "./mails";
|
|
14
17
|
export * from "./offices";
|
|
18
|
+
export * from "./pagination";
|
|
15
19
|
export * from "./positionContracts";
|
|
16
20
|
export * from "./positions";
|
|
17
21
|
export * from "./positionsJobTypes";
|
|
@@ -22,12 +26,8 @@ export * from "./roles";
|
|
|
22
26
|
export * from "./sections";
|
|
23
27
|
export * from "./seniorityLevels";
|
|
24
28
|
export * from "./sign";
|
|
29
|
+
export * from "./socket";
|
|
30
|
+
export * from "./sorting";
|
|
31
|
+
export * from "./stripe";
|
|
25
32
|
export * from "./users";
|
|
26
33
|
export * from "./userSettings";
|
|
27
|
-
export * from "./stripe";
|
|
28
|
-
export * from "./auth";
|
|
29
|
-
export * from "./mails";
|
|
30
|
-
export * from "./account";
|
|
31
|
-
export * from "./pagination";
|
|
32
|
-
export * from "./sorting";
|
|
33
|
-
export * from "./socket";
|
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
|
+
};
|
package/src/socket/index.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from "./requests";
|
|
File without changes
|