@brivioio/api-server-types 4.0.0 → 4.0.1

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,224 @@
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
+ latestBachelorsInstituteName?: string;
186
+ latestBachelorsDegree?: string;
187
+ latestDegree?: string;
188
+ };
189
+ internalTags: {
190
+ key: string;
191
+ value: string;
192
+ }[];
193
+ isDeleted: boolean;
194
+ createdAt: string;
195
+ updatedAt: string;
196
+ }
197
+ export declare namespace CandidatesAPITypes {
198
+ type TLoginRequestBody = {
199
+ email: string;
200
+ };
201
+ type TLoginResponse = IResponse<null>;
202
+ type TVerifyOtpRequestBody = {
203
+ email: string;
204
+ otp: string;
205
+ };
206
+ type TVerifyOtpResponse = IResponse<{
207
+ token: string;
208
+ email: string;
209
+ candidateId: string;
210
+ } | null>;
211
+ type TUploadCVRequestBody = {
212
+ cvBase64: string;
213
+ };
214
+ type TUploadCVResponse = IResponse<null>;
215
+ type TGetCandidateBaseProfileResponse = IResponse<ICandidate['baseProfile'] | null>;
216
+ type TUpdateCandidateBaseProfileRequestBody = Omit<NonNullable<ICandidate['baseProfile']>, 'createdAt' | 'updatedAt' | 'isProfileComplete'>;
217
+ type TUpdateCandidateBaseProfileResponse = IResponse<null>;
218
+ type TVerifySessionResponse = IResponse<{
219
+ email: string;
220
+ candidateId: string;
221
+ } | null>;
222
+ type TLogoutResponse = IResponse<null>;
223
+ }
224
+ //# 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,gBAAgB,EAChB,qBAAqB,EACrB,uBAAuB,EACvB,eAAe,EACf,2BAA2B,EAC3B,uBAAuB,EACxB,MAAM,eAAe,CAAC;AACvB,OAAO,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAE/D,MAAM,WAAW,UAAU;IACzB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,iBAAiB,CAAC;IAC5B,eAAe,EAAE,eAAe,CAAC;IACjC,eAAe,EAAE,OAAO,CAAC;IACzB,WAAW,CAAC,EAAE;QACZ,iBAAiB,CAAC,EAAE,OAAO,CAAC;QAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,KAAK,CAAC,EAAE;YACN,WAAW,CAAC,EAAE,MAAM,CAAC;YACrB,WAAW,CAAC,EAAE,MAAM,CAAC;SACtB,CAAC;QACF,IAAI,CAAC,EAAE;YACL,QAAQ,CAAC,EAAE,MAAM,CAAC;YAClB,MAAM,CAAC,EAAE,MAAM,CAAC;YAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;YAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;YAClB,UAAU,CAAC,EAAE,MAAM,CAA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C,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","sourceRoot":"","sources":["../../src/candidates/enums.types.ts"],"names":[],"mappings":"AAAA,oBAAY,iBAAiB;IAC3B,SAAS,aAAa;CACvB;AAED,oBAAY,kBAAkB;IAC5B,QAAQ,aAAa;IACrB,UAAU,eAAe;IACzB,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,KAAK,UAAU;CAChB;AAED,oBAAY,gBAAgB;IAC1B,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,MAAM,WAAW;CAClB;AAED,oBAAY,qBAAqB;IAC/B,OAAO,YAAY;IACnB,MAAM,WAAW;CAClB;AAED,oBAAY,uBAAuB;IACjC,KAAK,UAAU;IACf,KAAK,UAAU;IACf,OAAO,YAAY;IACnB,WAAW,gBAAgB;IAC3B,KAAK,UAAU;CAChB;AAED,oBAAY,eAAe;IACzB,EAAE,OAAO;IACT,KAAK,UAAU;IACf,GAAG,QAAQ;IACX,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,KAAK,UAAU;IACf,GAAG,QAAQ;IACX,GAAG,QAAQ;IACX,OAAO,YAAY;IACnB,GAAG,QAAQ;IACX,GAAG,QAAQ;IACX,OAAO,SAAS;IAChB,IAAI,SAAS;IACb,KAAK,UAAU;CAChB;AAED,oBAAY,eAAe;IACzB,OAAO,YAAY,CAAE,8BAA8B;IACnD,QAAQ,aAAa,CAAE,uBAAuB;IAC9C,KAAK,UAAU;CAChB;AAED,oBAAY,sBAAsB;IAChC,KAAK,UAAU;IACf,KAAK,UAAU;IACf,KAAK,UAAU;CAChB;AAED,oBAAY,uBAAuB;IACjC,GAAG,QAAQ;IACX,GAAG,QAAQ;IACX,IAAI,SAAS;IACb,IAAI,SAAS;IACb,IAAI,SAAS;CACd;AAED,oBAAY,2BAA2B;IACrC,MAAM,WAAW;IACjB,UAAU,eAAe;IACzB,QAAQ,aAAa;IACrB,QAAQ,aAAa;CACtB;AAED,oBAAY,uBAAuB;IACjC,eAAe,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';
@@ -0,0 +1,132 @@
1
+ import type { EducationInstituteBrand, EducationInstituteTier } from './enums.types';
2
+ export interface ICoresignalEmployee {
3
+ _id: string;
4
+ employeeId: number;
5
+ shorthandNames: string[];
6
+ document: unknown;
7
+ internalTags: {
8
+ key: string;
9
+ value: string;
10
+ }[];
11
+ isDeleted: boolean;
12
+ createdAt: string;
13
+ updatedAt: string;
14
+ }
15
+ export interface ICodeforcesProfile {
16
+ _id: string;
17
+ handle: string;
18
+ rating?: number;
19
+ maxRating?: number;
20
+ rank?: string;
21
+ problemsSolved?: number;
22
+ lastSubmissionAt?: string;
23
+ internalTags: {
24
+ key: string;
25
+ value: string;
26
+ }[];
27
+ isDeleted: boolean;
28
+ createdAt: string;
29
+ updatedAt: string;
30
+ }
31
+ export interface ICodeChefProfile {
32
+ _id: string;
33
+ handle: string;
34
+ rating?: number;
35
+ problemsSolved?: number;
36
+ lastSubmissionAt?: string;
37
+ internalTags: {
38
+ key: string;
39
+ value: string;
40
+ }[];
41
+ isDeleted: boolean;
42
+ createdAt: string;
43
+ updatedAt: string;
44
+ }
45
+ export interface ILeetCodeProfile {
46
+ _id: string;
47
+ handle: string;
48
+ problemsSolved?: number;
49
+ difficultyBasedProblemsSolvedCount?: {
50
+ easy?: number;
51
+ medium?: number;
52
+ hard?: number;
53
+ };
54
+ languageBasedProblemsSolvedCount?: {
55
+ language?: string;
56
+ count?: number;
57
+ }[];
58
+ tagsBasedProblemsSolvedCount?: {
59
+ tag?: string;
60
+ count?: number;
61
+ }[];
62
+ internalTags: {
63
+ key: string;
64
+ value: string;
65
+ }[];
66
+ isDeleted: boolean;
67
+ createdAt: string;
68
+ updatedAt: string;
69
+ }
70
+ export interface IGitHubProfile {
71
+ _id: string;
72
+ handle: string;
73
+ repositoriesCount?: number;
74
+ repositories?: {
75
+ name?: string;
76
+ description?: string;
77
+ languages?: {
78
+ language?: string;
79
+ linesOfCode?: number;
80
+ linesOfCodePercentage?: number;
81
+ }[];
82
+ }[];
83
+ totalContributions?: number;
84
+ contributionsByYear?: {
85
+ year?: number;
86
+ contributions?: number;
87
+ }[];
88
+ languageStats?: {
89
+ language?: string;
90
+ linesOfCode?: number;
91
+ linesOfCodePercentage?: number;
92
+ }[];
93
+ internalTags: {
94
+ key: string;
95
+ value: string;
96
+ }[];
97
+ isDeleted: boolean;
98
+ createdAt: string;
99
+ updatedAt: string;
100
+ }
101
+ export interface IEducationInstituteProfile {
102
+ _id: string;
103
+ instituteTier?: EducationInstituteTier;
104
+ instituteBrand?: EducationInstituteBrand;
105
+ normalizedInstituteName: string;
106
+ otherAppearances: string[];
107
+ internalTags: {
108
+ key: string;
109
+ value: string;
110
+ }[];
111
+ isDeleted: boolean;
112
+ createdAt: string;
113
+ updatedAt: string;
114
+ }
115
+ export interface IEducationCourseProfile {
116
+ _id: string;
117
+ normalizedCourseName: string;
118
+ isComputerScience?: boolean;
119
+ isComputerScienceRelated?: boolean;
120
+ isComputerScienceExtension?: boolean;
121
+ isElectricalOrElectronics?: boolean;
122
+ isMathematicsRelated?: boolean;
123
+ otherAppearances: string[];
124
+ internalTags: {
125
+ key: string;
126
+ value: string;
127
+ }[];
128
+ isDeleted: boolean;
129
+ createdAt: string;
130
+ updatedAt: string;
131
+ }
132
+ //# sourceMappingURL=others.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"others.types.d.ts","sourceRoot":"","sources":["../../src/candidates/others.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAErF,MAAM,WAAW,mBAAmB;IAClC,GAAG,EAAE,MAAM,CAAC;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,QAAQ,EAAE,OAAO,CAAC;IAClB,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;AAED,M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AM,CAAC;IACZ,aAAa,CAAC,EAAE,sBAAsB,CAAC;IACvC,cAAc,CAAC,EAAE,uBAAuB,CAAC;IACzC,uBAAuB,EAAE,MAAM,CAAC;IAChC,gBAAgB,EAAE,MAAM,EAAE,CAAC;IAC3B,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;AAED,MAAM,WAAW,uBAAuB;IACtC,GAAG,EAAE,MAAM,CAAC;IACZ,oBAAoB,EAAE,MAAM,CAAC;IAC7B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,gBAAgB,EAAE,MAAM,EAAE,CAAC;IAC3B,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 @@
1
+ export {};
package/dist/index.d.ts CHANGED
@@ -1,3 +1,5 @@
1
1
  export * from './admin.types';
2
+ export * from './candidates';
2
3
  export * from './organizations.types';
4
+ export * from './positions';
3
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,uBAAuB,CAAC;AACtC,cAAc,aAAa,CAAC"}
package/dist/index.js CHANGED
@@ -1,2 +1,4 @@
1
1
  export * from './admin.types';
2
+ export * from './candidates';
2
3
  export * from './organizations.types';
4
+ export * from './positions';
@@ -0,0 +1,31 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,36 @@
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 = {}));
@@ -0,0 +1,4 @@
1
+ export * from './listViewConfig.types';
2
+ export * from './positions.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/positions/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './listViewConfig.types';
2
+ export * from './positions.types';
3
+ export * from './enums.types';