@brivioio/api-server-types 4.0.0 → 5.0.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.
@@ -0,0 +1,125 @@
1
+ import type { McqQuestionType, PositionQuestionType, TextQuestionType } from './positions';
2
+ import type { ProcessStatus } from './utils.types';
3
+ export declare enum AIOutcome {
4
+ POSITIVE = "positive",
5
+ NEGATIVE = "negative",
6
+ NEUTRAL = "neutral"
7
+ }
8
+ export declare enum AIQueryRole {
9
+ USER = "user",
10
+ ASSISTANT = "assistant"
11
+ }
12
+ export interface IApplication {
13
+ _id: string;
14
+ candidateId: string;
15
+ positionId: string;
16
+ organizationId: string;
17
+ listId: string;
18
+ questionsAndAnswers: {
19
+ questionId: string;
20
+ type: PositionQuestionType;
21
+ order: number;
22
+ title: string;
23
+ description?: string;
24
+ isRequired: boolean;
25
+ textConfig?: {
26
+ type: TextQuestionType;
27
+ minCharacters?: number;
28
+ maxCharacters?: number;
29
+ validationFailErrorMessage?: string;
30
+ };
31
+ mcqConfig?: {
32
+ options: string[];
33
+ type: McqQuestionType;
34
+ };
35
+ numberConfig?: {
36
+ minValue?: number;
37
+ maxValue?: number;
38
+ validationFailErrorMessage?: string;
39
+ };
40
+ answer: {
41
+ text?: string;
42
+ mcq?: string[];
43
+ number?: number;
44
+ };
45
+ questionCreatedAt: string;
46
+ questionUpdatedAt: string;
47
+ }[];
48
+ internalTags: {
49
+ key: string;
50
+ value: string;
51
+ }[];
52
+ isDeleted: boolean;
53
+ createdAt: string;
54
+ updatedAt: string;
55
+ }
56
+ export interface IOpenAIDeveloperInputMessage {
57
+ role: 'developer';
58
+ content: {
59
+ type: 'input_text';
60
+ text: string;
61
+ }[];
62
+ }
63
+ export interface IOpenAIUserInputMessage {
64
+ role: 'user';
65
+ content: {
66
+ type: 'input_text';
67
+ text: string;
68
+ }[];
69
+ }
70
+ export interface IOpenAIAssistantOutputMessage {
71
+ id: string;
72
+ role: 'assistant';
73
+ content: {
74
+ type: 'output_text';
75
+ text: string;
76
+ }[];
77
+ }
78
+ export interface IOpenAIFunctionCallRequestMessage {
79
+ type: 'function_call';
80
+ id?: string;
81
+ call_id: string;
82
+ name: string;
83
+ arguments: string;
84
+ }
85
+ export interface IOpenAIFunctionCallOutputMessage {
86
+ type: 'function_call_output';
87
+ call_id: string;
88
+ output: string;
89
+ }
90
+ export interface IOpenAIAgentReasoningMessage {
91
+ type: 'reasoning';
92
+ id: string;
93
+ encrypted_content?: string;
94
+ summary: {
95
+ type: 'summary_text';
96
+ text: string;
97
+ }[];
98
+ }
99
+ export type OpenAIChatHistoryItem = IOpenAIDeveloperInputMessage | IOpenAIUserInputMessage | IOpenAIAssistantOutputMessage | IOpenAIFunctionCallRequestMessage | IOpenAIFunctionCallOutputMessage | IOpenAIAgentReasoningMessage;
100
+ export interface IAIQuery {
101
+ _id: string;
102
+ positionId: string;
103
+ sourceListId: string;
104
+ destinationListId?: string;
105
+ applicationsToProcess: {
106
+ applicationId: string;
107
+ status: ProcessStatus;
108
+ outcome?: AIOutcome;
109
+ }[];
110
+ chatHistory: {
111
+ messageItem: OpenAIChatHistoryItem;
112
+ createdAt: string;
113
+ }[];
114
+ isAgentThinking: boolean;
115
+ status?: ProcessStatus;
116
+ finalFormattedQuery?: string;
117
+ internalTags: {
118
+ key: string;
119
+ value: string;
120
+ }[];
121
+ isDeleted: boolean;
122
+ createdAt: string;
123
+ updatedAt: string;
124
+ }
125
+ //# sourceMappingURL=applications.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"applications.types.d.ts","sourceRoot":"","sources":["../src/applications.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC3F,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAEnD,oBAAY,SAAS;IACnB,QAAQ,aAAa;IACrB,QAAQ,aAAa;IACrB,OAAO,YAA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Q;IACvB,GAAG,EAAE,MAAM,CAAC;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,qBAAqB,EAAE;QACrB,aAAa,EAAE,MAAM,CAAC;QACtB,MAAM,EAAE,aAAa,CAAC;QACtB,OAAO,CAAC,EAAE,SAAS,CAAC;KACrB,EAAE,CAAC;IACJ,WAAW,EAAE;QACX,WAAW,EAAE,qBAAqB,CAAC;QACnC,SAAS,EAAE,MAAM,CAAC;KACnB,EAAE,CAAC;IACJ,eAAe,EAAE,OAAO,CAAC;IACzB,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,YAAY,EAAE;QACZ,GAAG,EAAE,MAAM,CAAC;QACZ,KAAK,EAAE,MAAM,CAAC;KACf,EAAE,CAAC;IACJ,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB"}
@@ -0,0 +1,11 @@
1
+ export var AIOutcome;
2
+ (function (AIOutcome) {
3
+ AIOutcome["POSITIVE"] = "positive";
4
+ AIOutcome["NEGATIVE"] = "negative";
5
+ AIOutcome["NEUTRAL"] = "neutral";
6
+ })(AIOutcome || (AIOutcome = {}));
7
+ export var AIQueryRole;
8
+ (function (AIQueryRole) {
9
+ AIQueryRole["USER"] = "user";
10
+ AIQueryRole["ASSISTANT"] = "assistant";
11
+ })(AIQueryRole || (AIQueryRole = {}));
@@ -0,0 +1,221 @@
1
+ import type { CandidateAuthMode, CandidateSource, WorkEmploymentType, WorkLocationMode, EducationDeliveryMode, EducationCredentialType, EducationDegree, ScrapedProfilesSubProcesses, DeepProfileSubProcesses } from './enums.types';
2
+ import type { IResponse, ProcessStatus } from '../utils.types';
3
+ export interface ICandidate {
4
+ _id: string;
5
+ email: string;
6
+ authMode: CandidateAuthMode;
7
+ candidateSource: CandidateSource;
8
+ isEmailVerified: boolean;
9
+ baseProfile?: {
10
+ isProfileComplete?: boolean;
11
+ firstName?: string;
12
+ lastName?: string;
13
+ phone?: {
14
+ countryCode?: number;
15
+ phoneNumber?: number;
16
+ };
17
+ urls?: {
18
+ linkedin?: string;
19
+ github?: string;
20
+ codechef?: string;
21
+ leetcode?: string;
22
+ codeforces?: string;
23
+ portfolio?: string;
24
+ blog?: string;
25
+ others: string[];
26
+ };
27
+ currentLocation?: {
28
+ city?: string;
29
+ state?: string;
30
+ };
31
+ preferredLocation?: {
32
+ city?: string;
33
+ state?: string;
34
+ };
35
+ currentCashCompInLPA?: number;
36
+ expectedCashCompInLPA?: number;
37
+ noticePeriodInDays?: number;
38
+ skills: string[];
39
+ fullTimeExperienceInYears?: number;
40
+ workExperience: {
41
+ organizationName?: string;
42
+ roleTitle?: string;
43
+ employmentType?: WorkEmploymentType;
44
+ employmentTypeOther?: string;
45
+ locationMode?: WorkLocationMode;
46
+ location?: {
47
+ city?: string;
48
+ state?: string;
49
+ };
50
+ startDate?: {
51
+ month?: number;
52
+ year?: number;
53
+ };
54
+ endDate?: {
55
+ month?: number;
56
+ year?: number;
57
+ isOngoing?: boolean;
58
+ };
59
+ description?: string;
60
+ skills?: string[];
61
+ }[];
62
+ education: {
63
+ instituteName?: string;
64
+ startDate?: {
65
+ month?: number;
66
+ year?: number;
67
+ };
68
+ endDate?: {
69
+ month?: number;
70
+ year?: number;
71
+ };
72
+ courseName?: string;
73
+ educationDeliveryMode?: EducationDeliveryMode;
74
+ credentialType?: EducationCredentialType;
75
+ credentialTypeOther?: string;
76
+ degree?: EducationDegree;
77
+ degreeOther?: string;
78
+ }[];
79
+ otherWorks: {
80
+ title?: string;
81
+ description?: string;
82
+ }[];
83
+ createdAt?: string;
84
+ updatedAt?: string;
85
+ };
86
+ cv?: {
87
+ assetId?: string;
88
+ unformattedText?: string;
89
+ markdownFormattedText?: string;
90
+ createdAt?: string;
91
+ updatedAt?: string;
92
+ };
93
+ scrapedProfiles?: {
94
+ lastSuccessfulRunAt?: string;
95
+ lastRequestedAt?: string;
96
+ startProcessingAt?: string;
97
+ status?: ProcessStatus;
98
+ codeforcesProfileId?: string;
99
+ codeChefProfileId?: string;
100
+ leetCodeProfileId?: string;
101
+ gitHubProfileId?: string;
102
+ remarkOnProcessFailure?: string;
103
+ failedSubprocesses?: ScrapedProfilesSubProcesses[];
104
+ };
105
+ deepProfile?: {
106
+ lastSuccessfulRunAt?: string;
107
+ lastRequestedAt: string;
108
+ startProcessingAt?: string;
109
+ status: ProcessStatus;
110
+ remarkOnProcessFailure?: string;
111
+ failedSubprocesses?: DeepProfileSubProcesses[];
112
+ coresignalEmployeeId?: string;
113
+ skills?: {
114
+ keywords?: string[];
115
+ technologies?: {
116
+ core?: string[];
117
+ languages?: string[];
118
+ libraries?: string[];
119
+ frameworks?: string[];
120
+ tools?: string[];
121
+ others?: string[];
122
+ };
123
+ domains?: string[];
124
+ };
125
+ workExperience?: {
126
+ organizationName?: string;
127
+ roleTitle?: string;
128
+ employmentType?: WorkEmploymentType;
129
+ employmentTypeOther?: string;
130
+ locationMode?: WorkLocationMode;
131
+ location?: {
132
+ city?: string;
133
+ state?: string;
134
+ };
135
+ startDate?: {
136
+ month?: number;
137
+ year?: number;
138
+ };
139
+ endDate?: {
140
+ month?: number;
141
+ year?: number;
142
+ isOngoing?: boolean;
143
+ };
144
+ description?: string;
145
+ skills?: string[];
146
+ organizationDeepProfileId?: string;
147
+ }[];
148
+ education?: {
149
+ instituteName?: string;
150
+ startDate?: {
151
+ month?: number;
152
+ year?: number;
153
+ };
154
+ endDate?: {
155
+ month?: number;
156
+ year?: number;
157
+ };
158
+ courseName?: string;
159
+ educationDeliveryMode?: EducationDeliveryMode;
160
+ credentialType?: EducationCredentialType;
161
+ credentialTypeOther?: string;
162
+ degree?: EducationDegree;
163
+ degreeOther?: string;
164
+ instituteDeepProfileId?: string;
165
+ courseDeepProfileId?: string;
166
+ }[];
167
+ otherWorks?: {
168
+ title?: string;
169
+ description?: string;
170
+ tags?: string[];
171
+ }[];
172
+ keywords?: string[];
173
+ };
174
+ computedFields?: {
175
+ fullName?: string;
176
+ whatsAppUrl?: string;
177
+ allSkills?: string[];
178
+ fullTimeExperienceInYears?: number;
179
+ isCurrentlyEmployedFullTime?: boolean;
180
+ numberOfFullTimeJobSwitches?: number;
181
+ latestFullTimeEmployer?: string;
182
+ monthsSpentInLatestFullTimeRole?: number;
183
+ monthsSinceUnemployedFromLastFullTimeRole?: number;
184
+ latestFullTimeRoleTitle?: string;
185
+ };
186
+ internalTags: {
187
+ key: string;
188
+ value: string;
189
+ }[];
190
+ isDeleted: boolean;
191
+ createdAt: string;
192
+ updatedAt: string;
193
+ }
194
+ export declare namespace CandidatesAPITypes {
195
+ type TLoginRequestBody = {
196
+ email: string;
197
+ };
198
+ type TLoginResponse = IResponse<null>;
199
+ type TVerifyOtpRequestBody = {
200
+ email: string;
201
+ otp: string;
202
+ };
203
+ type TVerifyOtpResponse = IResponse<{
204
+ token: string;
205
+ email: string;
206
+ candidateId: string;
207
+ } | null>;
208
+ type TUploadCVRequestBody = {
209
+ cvBase64: string;
210
+ };
211
+ type TUploadCVResponse = IResponse<null>;
212
+ type TGetCandidateBaseProfileResponse = IResponse<ICandidate['baseProfile'] | null>;
213
+ type TUpdateCandidateBaseProfileRequestBody = Omit<NonNullable<ICandidate['baseProfile']>, 'createdAt' | 'updatedAt' | 'isProfileComplete'>;
214
+ type TUpdateCandidateBaseProfileResponse = IResponse<null>;
215
+ type TVerifySessionResponse = IResponse<{
216
+ email: string;
217
+ candidateId: string;
218
+ } | null>;
219
+ type TLogoutResponse = IResponse<null>;
220
+ }
221
+ //# sourceMappingURL=candidates.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"candidates.types.d.ts","sourceRoot":"","sources":["../../src/candidates/candidates.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,eAAe,EACf,kBAAkB,EAClB,gB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yBAAiB,kBAAkB,CAAC;IAClC,KAAY,iBAAiB,GAAG;QAC9B,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,KAAY,cAAc,GAAG,SAAS,CAAC,IAAI,CAAC,CAAC;IAC7C,KAAY,qBAAqB,GAAG;QAClC,KAAK,EAAE,MAAM,CAAC;QACd,GAAG,EAAE,MAAM,CAAC;KACb,CAAC;IACF,KAAY,kBAAkB,GAAG,SAAS,CAAC;QACzC,KAAK,EAAE,MAAM,CAAC;QACd,KAAK,EAAE,MAAM,CAAC;QACd,WAAW,EAAE,MAAM,CAAC;KACrB,GAAG,IAAI,CAAC,CAAC;IACV,KAAY,oBAAoB,GAAG;QACjC,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC;IACF,KAAY,iBAAiB,GAAG,SAAS,CAAC,IAAI,CAAC,CAAC;IAChD,KAAY,gCAAgC,GAAG,SAAS,CAAC,UAAU,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC;IAE3F,KAAY,sCAAsC,GAAG,IAAI,CACvD,WAAW,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC,EACtC,WAAW,GAAG,WAAW,GAAG,mBAAmB,CAChD,CAAC;IACF,KAAY,mCAAmC,GAAG,SAAS,CAAC,IAAI,CAAC,CAAC;IAClE,KAAY,sBAAsB,GAAG,SAAS,CAAC;QAC7C,KAAK,EAAE,MAAM,CAAC;QACd,WAAW,EAAE,MAAM,CAAC;KACrB,GAAG,IAAI,CAAC,CAAC;IACV,KAAY,eAAe,GAAG,SAAS,CAAC,IAAI,CAAC,CAAC;CAC/C"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,76 @@
1
+ export declare enum CandidateAuthMode {
2
+ EMAIL_OTP = "emailOtp"
3
+ }
4
+ export declare enum WorkEmploymentType {
5
+ FULLTIME = "fulltime",
6
+ INTERNSHIP = "internship",
7
+ CONTRACT = "contract",
8
+ FREELANCE = "freelance",
9
+ OTHER = "other"
10
+ }
11
+ export declare enum WorkLocationMode {
12
+ ONSITE = "onsite",
13
+ HYBRID = "hybrid",
14
+ REMOTE = "remote"
15
+ }
16
+ export declare enum EducationDeliveryMode {
17
+ OFFLINE = "offline",
18
+ ONLINE = "online"
19
+ }
20
+ export declare enum EducationCredentialType {
21
+ MAJOR = "major",
22
+ MINOR = "minor",
23
+ DIPLOMA = "diploma",
24
+ CERTIFICATE = "certificate",
25
+ OTHER = "other"
26
+ }
27
+ export declare enum EducationDegree {
28
+ BE = "BE",
29
+ BTECH = "BTech",
30
+ BSC = "BSc",
31
+ BS = "BS",
32
+ BA = "BA",
33
+ MA = "MA",
34
+ MS = "MS",
35
+ ME = "ME",
36
+ MTECH = "MTech",
37
+ MSC = "MSc",
38
+ PHD = "PhD",
39
+ POSTDOC = "PostDoc",
40
+ BCA = "BCA",
41
+ MCA = "MCA",
42
+ BDESIGN = "BDes",
43
+ BARC = "BArc",
44
+ OTHER = "other"
45
+ }
46
+ export declare enum CandidateSource {
47
+ DEFAULT = "default",// job listings, inbound, etc.
48
+ REFERRAL = "referral",// referred by a friend
49
+ ADMIN = "admin"
50
+ }
51
+ export declare enum EducationInstituteTier {
52
+ TIER1 = "tier1",
53
+ TIER2 = "tier2",
54
+ TIER3 = "tier3"
55
+ }
56
+ export declare enum EducationInstituteBrand {
57
+ IIT = "iit",
58
+ NIT = "nit",
59
+ IIIT = "iiit",
60
+ BITS = "bits",
61
+ NONE = "none"
62
+ }
63
+ export declare enum ScrapedProfilesSubProcesses {
64
+ GITHUB = "github",
65
+ CODEFORCES = "codeforces",
66
+ LEETCODE = "leetcode",
67
+ CODECHEF = "codechef"
68
+ }
69
+ export declare enum DeepProfileSubProcesses {
70
+ WORK_EXPERIENCE = "workExperience",
71
+ EDUCATION = "education",
72
+ SKILLS = "skills",
73
+ KEYWORDS = "keywords",
74
+ OTHER_WORKS = "otherWorks"
75
+ }
76
+ //# sourceMappingURL=enums.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"enums.types.d.ts","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e,mBAAmB;IAClC,SAAS,cAAc;IACvB,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,WAAW,eAAe;CAC3B"}
@@ -0,0 +1,86 @@
1
+ export var CandidateAuthMode;
2
+ (function (CandidateAuthMode) {
3
+ CandidateAuthMode["EMAIL_OTP"] = "emailOtp";
4
+ })(CandidateAuthMode || (CandidateAuthMode = {}));
5
+ export var WorkEmploymentType;
6
+ (function (WorkEmploymentType) {
7
+ WorkEmploymentType["FULLTIME"] = "fulltime";
8
+ WorkEmploymentType["INTERNSHIP"] = "internship";
9
+ WorkEmploymentType["CONTRACT"] = "contract";
10
+ WorkEmploymentType["FREELANCE"] = "freelance";
11
+ WorkEmploymentType["OTHER"] = "other";
12
+ })(WorkEmploymentType || (WorkEmploymentType = {}));
13
+ export var WorkLocationMode;
14
+ (function (WorkLocationMode) {
15
+ WorkLocationMode["ONSITE"] = "onsite";
16
+ WorkLocationMode["HYBRID"] = "hybrid";
17
+ WorkLocationMode["REMOTE"] = "remote";
18
+ })(WorkLocationMode || (WorkLocationMode = {}));
19
+ export var EducationDeliveryMode;
20
+ (function (EducationDeliveryMode) {
21
+ EducationDeliveryMode["OFFLINE"] = "offline";
22
+ EducationDeliveryMode["ONLINE"] = "online";
23
+ })(EducationDeliveryMode || (EducationDeliveryMode = {}));
24
+ export var EducationCredentialType;
25
+ (function (EducationCredentialType) {
26
+ EducationCredentialType["MAJOR"] = "major";
27
+ EducationCredentialType["MINOR"] = "minor";
28
+ EducationCredentialType["DIPLOMA"] = "diploma";
29
+ EducationCredentialType["CERTIFICATE"] = "certificate";
30
+ EducationCredentialType["OTHER"] = "other";
31
+ })(EducationCredentialType || (EducationCredentialType = {}));
32
+ export var EducationDegree;
33
+ (function (EducationDegree) {
34
+ EducationDegree["BE"] = "BE";
35
+ EducationDegree["BTECH"] = "BTech";
36
+ EducationDegree["BSC"] = "BSc";
37
+ EducationDegree["BS"] = "BS";
38
+ EducationDegree["BA"] = "BA";
39
+ EducationDegree["MA"] = "MA";
40
+ EducationDegree["MS"] = "MS";
41
+ EducationDegree["ME"] = "ME";
42
+ EducationDegree["MTECH"] = "MTech";
43
+ EducationDegree["MSC"] = "MSc";
44
+ EducationDegree["PHD"] = "PhD";
45
+ EducationDegree["POSTDOC"] = "PostDoc";
46
+ EducationDegree["BCA"] = "BCA";
47
+ EducationDegree["MCA"] = "MCA";
48
+ EducationDegree["BDESIGN"] = "BDes";
49
+ EducationDegree["BARC"] = "BArc";
50
+ EducationDegree["OTHER"] = "other";
51
+ })(EducationDegree || (EducationDegree = {}));
52
+ export var CandidateSource;
53
+ (function (CandidateSource) {
54
+ CandidateSource["DEFAULT"] = "default";
55
+ CandidateSource["REFERRAL"] = "referral";
56
+ CandidateSource["ADMIN"] = "admin";
57
+ })(CandidateSource || (CandidateSource = {}));
58
+ export var EducationInstituteTier;
59
+ (function (EducationInstituteTier) {
60
+ EducationInstituteTier["TIER1"] = "tier1";
61
+ EducationInstituteTier["TIER2"] = "tier2";
62
+ EducationInstituteTier["TIER3"] = "tier3";
63
+ })(EducationInstituteTier || (EducationInstituteTier = {}));
64
+ export var EducationInstituteBrand;
65
+ (function (EducationInstituteBrand) {
66
+ EducationInstituteBrand["IIT"] = "iit";
67
+ EducationInstituteBrand["NIT"] = "nit";
68
+ EducationInstituteBrand["IIIT"] = "iiit";
69
+ EducationInstituteBrand["BITS"] = "bits";
70
+ EducationInstituteBrand["NONE"] = "none";
71
+ })(EducationInstituteBrand || (EducationInstituteBrand = {}));
72
+ export var ScrapedProfilesSubProcesses;
73
+ (function (ScrapedProfilesSubProcesses) {
74
+ ScrapedProfilesSubProcesses["GITHUB"] = "github";
75
+ ScrapedProfilesSubProcesses["CODEFORCES"] = "codeforces";
76
+ ScrapedProfilesSubProcesses["LEETCODE"] = "leetcode";
77
+ ScrapedProfilesSubProcesses["CODECHEF"] = "codechef";
78
+ })(ScrapedProfilesSubProcesses || (ScrapedProfilesSubProcesses = {}));
79
+ export var DeepProfileSubProcesses;
80
+ (function (DeepProfileSubProcesses) {
81
+ DeepProfileSubProcesses["WORK_EXPERIENCE"] = "workExperience";
82
+ DeepProfileSubProcesses["EDUCATION"] = "education";
83
+ DeepProfileSubProcesses["SKILLS"] = "skills";
84
+ DeepProfileSubProcesses["KEYWORDS"] = "keywords";
85
+ DeepProfileSubProcesses["OTHER_WORKS"] = "otherWorks";
86
+ })(DeepProfileSubProcesses || (DeepProfileSubProcesses = {}));
@@ -0,0 +1,4 @@
1
+ export * from './candidates.types';
2
+ export * from './others.types';
3
+ export * from './enums.types';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/candidates/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './candidates.types';
2
+ export * from './others.types';
3
+ export * from './enums.types';