@brivioio/api-server-types 7.3.0 → 7.5.0

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.
Files changed (53) hide show
  1. package/dist/index.d.ts +1 -5
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +1 -5
  4. package/dist/{admin.types.d.ts → organizationUsers.types.d.ts} +11 -5
  5. package/dist/organizationUsers.types.d.ts.map +1 -0
  6. package/dist/organizations.types.d.ts +10 -92
  7. package/dist/organizations.types.d.ts.map +1 -1
  8. package/dist/organizations.types.js +1 -8
  9. package/dist/utils.types.d.ts +2 -9
  10. package/dist/utils.types.d.ts.map +1 -1
  11. package/dist/utils.types.js +1 -9
  12. package/package.json +1 -1
  13. package/dist/admin.types.d.ts.map +0 -1
  14. package/dist/applications.types.d.ts +0 -468
  15. package/dist/applications.types.d.ts.map +0 -1
  16. package/dist/applications.types.js +0 -16
  17. package/dist/candidates/candidateNotes.types.d.ts +0 -25
  18. package/dist/candidates/candidateNotes.types.d.ts.map +0 -1
  19. package/dist/candidates/candidateNotes.types.js +0 -1
  20. package/dist/candidates/candidates.types.d.ts +0 -223
  21. package/dist/candidates/candidates.types.d.ts.map +0 -1
  22. package/dist/candidates/candidates.types.js +0 -1
  23. package/dist/candidates/enums.types.d.ts +0 -76
  24. package/dist/candidates/enums.types.d.ts.map +0 -1
  25. package/dist/candidates/enums.types.js +0 -86
  26. package/dist/candidates/index.d.ts +0 -5
  27. package/dist/candidates/index.d.ts.map +0 -1
  28. package/dist/candidates/index.js +0 -4
  29. package/dist/candidates/others.types.d.ts +0 -132
  30. package/dist/candidates/others.types.d.ts.map +0 -1
  31. package/dist/candidates/others.types.js +0 -1
  32. package/dist/globalCandidates/globalCandidates.types.d.ts +0 -176
  33. package/dist/globalCandidates/globalCandidates.types.d.ts.map +0 -1
  34. package/dist/globalCandidates/globalCandidates.types.js +0 -9
  35. package/dist/globalCandidates/index.d.ts +0 -2
  36. package/dist/globalCandidates/index.d.ts.map +0 -1
  37. package/dist/globalCandidates/index.js +0 -1
  38. package/dist/positions/enums.types.d.ts +0 -31
  39. package/dist/positions/enums.types.d.ts.map +0 -1
  40. package/dist/positions/enums.types.js +0 -36
  41. package/dist/positions/index.d.ts +0 -5
  42. package/dist/positions/index.d.ts.map +0 -1
  43. package/dist/positions/index.js +0 -4
  44. package/dist/positions/listApplications.types.d.ts +0 -25
  45. package/dist/positions/listApplications.types.d.ts.map +0 -1
  46. package/dist/positions/listApplications.types.js +0 -1
  47. package/dist/positions/listViewConfig.types.d.ts +0 -549
  48. package/dist/positions/listViewConfig.types.d.ts.map +0 -1
  49. package/dist/positions/listViewConfig.types.js +0 -275
  50. package/dist/positions/positions.types.d.ts +0 -363
  51. package/dist/positions/positions.types.d.ts.map +0 -1
  52. package/dist/positions/positions.types.js +0 -1
  53. /package/dist/{admin.types.js → organizationUsers.types.js} +0 -0
@@ -1,176 +0,0 @@
1
- import type { AIQueryRole, ICandidatePrivateData, OpenAIChatHistoryItem } from '../applications.types';
2
- import type { IResponse, ProcessStatus } from '../utils.types';
3
- import type { ListViewConfig } from '../positions/listViewConfig.types';
4
- export declare enum GlobalCandidateListType {
5
- ALL = "all",
6
- USER_CREATED = "userCreated",
7
- AI_CREATED = "aiCreated"
8
- }
9
- export interface IGlobalCandidateList {
10
- _id: string;
11
- title: string;
12
- description: string;
13
- type: GlobalCandidateListType;
14
- order: number;
15
- viewConfig: ListViewConfig;
16
- candidateIds: string[];
17
- isDeleted: boolean;
18
- createdBy: string;
19
- createdAt: string;
20
- updatedAt: string;
21
- }
22
- export interface IGlobalAIQuery {
23
- _id: string;
24
- sourceGlobalListId: string;
25
- destinationGlobalListId?: string;
26
- candidatesToProcess: {
27
- candidateId: string;
28
- status: ProcessStatus;
29
- outcome?: 'selected' | 'rejected';
30
- }[];
31
- chatHistory: {
32
- messageItem: OpenAIChatHistoryItem;
33
- createdAt: string;
34
- }[];
35
- isAgentThinking: boolean;
36
- status?: ProcessStatus;
37
- finalFormattedQuery?: string;
38
- internalTags: {
39
- key: string;
40
- value: string;
41
- }[];
42
- isDeleted: boolean;
43
- createdBy: string;
44
- createdAt: string;
45
- updatedAt: string;
46
- }
47
- export interface IGlobalCandidateApplication {
48
- applicationId: string;
49
- positionTitle: string;
50
- organizationName: string;
51
- submittedAt: string;
52
- questionsAndAnswers: {
53
- questionId: string;
54
- questionTitle: string;
55
- answer: {
56
- text?: string;
57
- mcq?: string[];
58
- number?: number;
59
- };
60
- }[];
61
- }
62
- export interface IGlobalCandidateWithApplications {
63
- candidate: ICandidatePrivateData;
64
- applications: IGlobalCandidateApplication[];
65
- }
66
- export declare namespace GlobalCandidatesAPITypes {
67
- type TGetListsResponseData = {
68
- _id: string;
69
- title: string;
70
- description: string;
71
- type: GlobalCandidateListType;
72
- order: number;
73
- viewConfig: ListViewConfig;
74
- candidateCount: number;
75
- createdAt: string;
76
- updatedAt: string;
77
- }[];
78
- type TGetListsResponse = IResponse<TGetListsResponseData | null>;
79
- type TCreateListRequestBody = {
80
- title: string;
81
- description: string;
82
- };
83
- type TCreateListResponse = IResponse<{
84
- listId: string;
85
- } | null>;
86
- type TEditListRequestBody = {
87
- title: string;
88
- description: string;
89
- };
90
- type TEditListResponse = IResponse<{
91
- listId: string;
92
- } | null>;
93
- type TDeleteListResponse = IResponse<{
94
- listId: string;
95
- } | null>;
96
- type TReorderListsRequestBody = {
97
- listIds: string[];
98
- };
99
- type TReorderListsResponse = IResponse<null>;
100
- type TUpdateViewConfigRequestBody = {
101
- viewConfig: ListViewConfig;
102
- };
103
- type TUpdateViewConfigResponse = IResponse<{
104
- listId: string;
105
- } | null>;
106
- type TGetCandidatesRequestQuery = {
107
- page: string;
108
- };
109
- type TGetCandidatesResponse = IResponse<{
110
- candidates: IGlobalCandidateWithApplications[];
111
- page: number;
112
- limit: number;
113
- totalPages: number;
114
- totalItems: number;
115
- } | null>;
116
- type TDownloadCandidatesResponse = IResponse<{
117
- candidates: IGlobalCandidateWithApplications[];
118
- } | null>;
119
- type TGetFilterValuesRequestQuery = {
120
- fieldId: string;
121
- };
122
- type TFilterValues = {
123
- type: 'string';
124
- values: string[];
125
- labels?: Record<string, string>;
126
- } | {
127
- type: 'number';
128
- values: number[];
129
- } | {
130
- type: 'boolean';
131
- values: [true, false];
132
- } | {
133
- type: 'date';
134
- values: number[];
135
- } | {
136
- type: 'array';
137
- values: string[];
138
- };
139
- type TGetFilterValuesResponse = IResponse<TFilterValues | null>;
140
- type TCopyToShortlistRequestBody = {
141
- destinationListId: string;
142
- candidateIds?: string[];
143
- };
144
- type TCopyToShortlistResponse = IResponse<{
145
- copiedCandidatesCount: number;
146
- } | null>;
147
- type TDeepProfileCandidatesRequestBody = {
148
- candidateIds?: string[];
149
- };
150
- type TDeepProfileCandidatesResponse = IResponse<{
151
- deepProfilesCount: number;
152
- scrapedProfilesCount: number;
153
- } | null>;
154
- type TGetProcessStatusResponseData = {
155
- isDeepProfiling: boolean;
156
- isScrapingProgrammingProfiles: boolean;
157
- isAIQueryProcessing: boolean;
158
- };
159
- type TGetProcessStatusResponse = IResponse<TGetProcessStatusResponseData | null>;
160
- type TCreateAIQueryMessageRequestBody = {
161
- aiQueryId?: string;
162
- message: string;
163
- };
164
- type TCreateAIQueryMessageResponse = IResponse<{
165
- aiQueryId: string;
166
- chatHistory: {
167
- content: string;
168
- role: AIQueryRole;
169
- createdAt: string;
170
- }[];
171
- status?: ProcessStatus;
172
- } | null>;
173
- type TGetAIQueriesResponse = IResponse<IGlobalAIQuery[] | null>;
174
- type TGetAIQueryByIdResponse = IResponse<IGlobalAIQuery | null>;
175
- }
176
- //# sourceMappingURL=globalCandidates.types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"globalCandidates.types.d.ts","sourceRoot":"","sources":["../../src/globalCandidates/globalCandidates.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AACvG,OAA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MAAM,CAAC;SACnB,EAAE,CAAC;QACJ,MAAM,CAAC,EAAE,aAAa,CAAC;KACxB,GAAG,IAAI,CAAC,CAAC;IACV,KAAY,qBAAqB,GAAG,SAAS,CAAC,cAAc,EAAE,GAAG,IAAI,CAAC,CAAC;IACvE,KAAY,uBAAuB,GAAG,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;CACxE"}
@@ -1,9 +0,0 @@
1
- // ============================================================================
2
- // Enums
3
- // ============================================================================
4
- export var GlobalCandidateListType;
5
- (function (GlobalCandidateListType) {
6
- GlobalCandidateListType["ALL"] = "all";
7
- GlobalCandidateListType["USER_CREATED"] = "userCreated";
8
- GlobalCandidateListType["AI_CREATED"] = "aiCreated";
9
- })(GlobalCandidateListType || (GlobalCandidateListType = {}));
@@ -1,2 +0,0 @@
1
- export * from './globalCandidates.types';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/globalCandidates/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC"}
@@ -1 +0,0 @@
1
- export * from './globalCandidates.types';
@@ -1,31 +0,0 @@
1
- export declare enum LocationMode {
2
- ONSITE = "onsite",
3
- REMOTE = "remote",
4
- HYBRID = "hybrid"
5
- }
6
- export declare enum EmploymentType {
7
- FULLTIME = "fulltime",
8
- INTERNSHIP = "internship",
9
- CONTRACT = "contract",
10
- FREELANCE = "freelance",
11
- OTHER = "other"
12
- }
13
- export declare enum PositionQuestionType {
14
- TEXT = "text",
15
- MCQ = "mcq",
16
- NUMBER = "number"
17
- }
18
- export declare enum TextQuestionType {
19
- SHORT_ANSWER = "shortAnswer",
20
- LONG_ANSWER = "longAnswer"
21
- }
22
- export declare enum McqQuestionType {
23
- SINGLE_SELECT = "singleSelect",
24
- MULTI_SELECT = "multiSelect"
25
- }
26
- export declare enum PositionListType {
27
- NEW = "new",
28
- USER_CREATED = "userCreated",
29
- AI_CREATED = "aiCreated"
30
- }
31
- //# sourceMappingURL=enums.types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"enums.types.d.ts","sourceRoot":"","sources":["../../src/positions/enums.types.ts"],"names":[],"mappings":"AAAA,oBAAY,YAAY;IACtB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,MAAM,WAAW;CAClB;AAED,oBAAY,cAAc;IACxB,QAAQ,aAAa;IACrB,UAAU,eAAe;IACzB,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,KAAK,UAAU;CAChB;AAED,oBAAY,oBAAoB;IAC9B,IAAI,SAAS;IACb,GAAG,QAAQ;IACX,MAAM,WAAW;CAClB;AAED,oBAAY,gBAAgB;IAC1B,YAAY,gBAAgB;IAC5B,WAAW,eAAe;CAC3B;AAED,oBAAY,eAAe;IACzB,aAAa,iBAAiB;IAC9B,YAAY,gBAAgB;CAC7B;AAED,oBAAY,gBAAgB;IAC1B,GAAG,QAAQ;IACX,YAAY,gBAAgB;IAC5B,UAAU,cAAc;CACzB"}
@@ -1,36 +0,0 @@
1
- export var LocationMode;
2
- (function (LocationMode) {
3
- LocationMode["ONSITE"] = "onsite";
4
- LocationMode["REMOTE"] = "remote";
5
- LocationMode["HYBRID"] = "hybrid";
6
- })(LocationMode || (LocationMode = {}));
7
- export var EmploymentType;
8
- (function (EmploymentType) {
9
- EmploymentType["FULLTIME"] = "fulltime";
10
- EmploymentType["INTERNSHIP"] = "internship";
11
- EmploymentType["CONTRACT"] = "contract";
12
- EmploymentType["FREELANCE"] = "freelance";
13
- EmploymentType["OTHER"] = "other";
14
- })(EmploymentType || (EmploymentType = {}));
15
- export var PositionQuestionType;
16
- (function (PositionQuestionType) {
17
- PositionQuestionType["TEXT"] = "text";
18
- PositionQuestionType["MCQ"] = "mcq";
19
- PositionQuestionType["NUMBER"] = "number";
20
- })(PositionQuestionType || (PositionQuestionType = {}));
21
- export var TextQuestionType;
22
- (function (TextQuestionType) {
23
- TextQuestionType["SHORT_ANSWER"] = "shortAnswer";
24
- TextQuestionType["LONG_ANSWER"] = "longAnswer";
25
- })(TextQuestionType || (TextQuestionType = {}));
26
- export var McqQuestionType;
27
- (function (McqQuestionType) {
28
- McqQuestionType["SINGLE_SELECT"] = "singleSelect";
29
- McqQuestionType["MULTI_SELECT"] = "multiSelect";
30
- })(McqQuestionType || (McqQuestionType = {}));
31
- export var PositionListType;
32
- (function (PositionListType) {
33
- PositionListType["NEW"] = "new";
34
- PositionListType["USER_CREATED"] = "userCreated";
35
- PositionListType["AI_CREATED"] = "aiCreated";
36
- })(PositionListType || (PositionListType = {}));
@@ -1,5 +0,0 @@
1
- export * from './enums.types';
2
- export * from './listApplications.types';
3
- export * from './listViewConfig.types';
4
- export * from './positions.types';
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/positions/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC"}
@@ -1,4 +0,0 @@
1
- export * from './enums.types';
2
- export * from './listApplications.types';
3
- export * from './listViewConfig.types';
4
- export * from './positions.types';
@@ -1,25 +0,0 @@
1
- import type { IApplicationPrivateData, ICandidatePrivateData } from '../applications.types';
2
- import type { IResponse } from '../utils.types';
3
- export interface IListApplicationWithCandidate {
4
- application: IApplicationPrivateData;
5
- candidate: ICandidatePrivateData;
6
- }
7
- export type TGetListApplicationsRequestQuery = {
8
- page: string;
9
- };
10
- export type TGetListApplicationsResponseData = {
11
- applications: IListApplicationWithCandidate[];
12
- pagination: {
13
- page: number;
14
- limit: number;
15
- totalPages: number;
16
- totalItems: number;
17
- lastApplicationSubmittedAt: Date | null;
18
- };
19
- };
20
- export type TGetListApplicationsResponse = IResponse<TGetListApplicationsResponseData | null>;
21
- export type TDownloadListApplicationsResponseData = {
22
- downloadUrl: string;
23
- };
24
- export type TDownloadListApplicationsResponse = IResponse<TDownloadListApplicationsResponseData | null>;
25
- //# sourceMappingURL=listApplications.types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"listApplications.types.d.ts","sourceRoot":"","sources":["../../src/positions/listApplications.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAC5F,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAGhD,MAAM,WAAW,6BAA6B;IAC5C,WAAW,EAAE,uBAAuB,CAAC;IACrC,SAAS,EAAE,qBAAqB,CAAC;CAClC;AAED,MAAM,MAAM,gCAAgC,GAAG;IAC7C,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,gCAAgC,GAAG;IAC7C,YAAY,EAAE,6BAA6B,EAAE,CAAC;IAC9C,UAAU,EAAE;QACV,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,MAAM,CAAC;QACd,UAAU,EAAE,MAAM,CAAC;QACnB,UAAU,EAAE,MAAM,CAAC;QACnB,0BAA0B,EAAE,IAAI,GAAG,IAAI,CAAC;KACzC,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG,SAAS,CAAC,gCAAgC,GAAG,IAAI,CAAC,CAAC;AAE9F,MAAM,MAAM,qCAAqC,GAAG;IAClD,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,iCAAiC,GAC3C,SAAS,CAAC,qCAAqC,GAAG,IAAI,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- export {};