@cool-digital-solutions/interferir-models 1.4.8 → 1.4.10
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/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/schemas/{ai-hr-candidate-candidate-profile.schema.js → ai-hr-candidate-profile.schema.js} +21 -0
- package/dist/schemas/ai-task.schema.js +1 -0
- package/dist/schemas/index.d.ts +1 -1
- package/dist/schemas/index.js +2 -2
- package/dist/types/ai-hr-candidate-profile.type.d.ts +19 -0
- package/dist/types/ai-task.type.d.ts +1 -0
- package/package.json +1 -1
- /package/dist/schemas/{ai-hr-candidate-candidate-profile.schema.d.ts → ai-hr-candidate-profile.schema.d.ts} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -153,7 +153,7 @@ import AiTaskPortiaArticleRelatedPortiaArticleSchema from './schemas/ai-task-por
|
|
|
153
153
|
import AiTaskNewsManagerOutputSchema from './schemas/ai-task-news-manager-output.schema';
|
|
154
154
|
import AiHrCandidateOutputSchema from './schemas/ai-hr-candidate-output.schema';
|
|
155
155
|
import AiHrCandidateTopCandidateSchema from './schemas/ai-hr-candidate-top-candidate.schema';
|
|
156
|
-
import AiHrCandidateProfileSchema from './schemas/ai-hr-candidate-
|
|
156
|
+
import AiHrCandidateProfileSchema from './schemas/ai-hr-candidate-profile.schema';
|
|
157
157
|
import AiEntrapeerKnowledgeBaseSchema from './schemas/ai-entrapeer-knowledge-base.schema';
|
|
158
158
|
import AiTaskCurationManagerOutputSchema from './schemas/ai-task-curation-manager-output.schema';
|
|
159
159
|
import AiTaskCompanyRelatedCompanySchema from './schemas/ai-task-company-related-company.schema';
|
package/dist/index.js
CHANGED
|
@@ -158,8 +158,8 @@ const ai_hr_candidate_output_schema_1 = __importDefault(require("./schemas/ai-hr
|
|
|
158
158
|
exports.AiHrCandidateOutputSchema = ai_hr_candidate_output_schema_1.default;
|
|
159
159
|
const ai_hr_candidate_top_candidate_schema_1 = __importDefault(require("./schemas/ai-hr-candidate-top-candidate.schema"));
|
|
160
160
|
exports.AiHrCandidateTopCandidateSchema = ai_hr_candidate_top_candidate_schema_1.default;
|
|
161
|
-
const
|
|
162
|
-
exports.AiHrCandidateProfileSchema =
|
|
161
|
+
const ai_hr_candidate_profile_schema_1 = __importDefault(require("./schemas/ai-hr-candidate-profile.schema"));
|
|
162
|
+
exports.AiHrCandidateProfileSchema = ai_hr_candidate_profile_schema_1.default;
|
|
163
163
|
const ai_entrapeer_knowledge_base_schema_1 = __importDefault(require("./schemas/ai-entrapeer-knowledge-base.schema"));
|
|
164
164
|
exports.AiEntrapeerKnowledgeBaseSchema = ai_entrapeer_knowledge_base_schema_1.default;
|
|
165
165
|
const ai_task_curation_manager_output_schema_1 = __importDefault(require("./schemas/ai-task-curation-manager-output.schema"));
|
|
@@ -112,6 +112,27 @@ const aiHrCandidateProfileSchema = new mongoose_1.Schema({
|
|
|
112
112
|
interviewCompleted: { type: Boolean },
|
|
113
113
|
assessmentCompleted: { type: Boolean },
|
|
114
114
|
aiHrUploadedCandidate: { type: mongoose_1.Schema.Types.ObjectId, ref: 'AiHrUploadedCandidate', default: null },
|
|
115
|
+
educationHistory: [
|
|
116
|
+
{
|
|
117
|
+
university: { type: String, required: false },
|
|
118
|
+
major: { type: String, required: false },
|
|
119
|
+
dateFrom: { type: Number, required: false },
|
|
120
|
+
dateTo: { type: Number, required: false },
|
|
121
|
+
universityLinkedinUrl: { type: String, required: false },
|
|
122
|
+
},
|
|
123
|
+
],
|
|
124
|
+
workHistory: [
|
|
125
|
+
{
|
|
126
|
+
company: { type: String, required: false },
|
|
127
|
+
companySizeRange: { type: String, required: false },
|
|
128
|
+
companySizeEmployeesCount: { type: Number, required: false },
|
|
129
|
+
companyIndustry: { type: String, required: false },
|
|
130
|
+
companyHqLocationCountry: { type: String, required: false },
|
|
131
|
+
companyHqLocationState: { type: String, required: false },
|
|
132
|
+
companyHqLocationCity: { type: String, required: false },
|
|
133
|
+
companyLinkedinUrl: { type: String, required: false },
|
|
134
|
+
},
|
|
135
|
+
],
|
|
115
136
|
createdBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
116
137
|
updatedBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
117
138
|
updatedDate: Number,
|
|
@@ -23,6 +23,7 @@ const aiTaskSchema = new mongoose_1.Schema({
|
|
|
23
23
|
isPublic: { type: Boolean, default: false },
|
|
24
24
|
etaTime: { startDate: { type: Number }, endDate: { type: Number }, date: { type: Number }, minTime: { type: Number }, maxTime: { type: Number } },
|
|
25
25
|
isRestarted: { type: Boolean, default: false },
|
|
26
|
+
agentAiConversation: { type: mongoose_1.Schema.Types.ObjectId, ref: 'AiConversation', default: null },
|
|
26
27
|
createdBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
27
28
|
updatedBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
28
29
|
updatedDate: Number,
|
package/dist/schemas/index.d.ts
CHANGED
|
@@ -72,7 +72,7 @@ import AiTaskPortiaArticleRelatedPortiaArticleSchema from './ai-task-portia-arti
|
|
|
72
72
|
import AiTaskNewsManagerOutputSchema from './ai-task-news-manager-output.schema';
|
|
73
73
|
import AiHrCandidateOutputSchema from './ai-hr-candidate-output.schema';
|
|
74
74
|
import AiHrCandidateTopCandidateSchema from './ai-hr-candidate-top-candidate.schema';
|
|
75
|
-
import AiHrCandidateProfileSchema from './ai-hr-candidate-
|
|
75
|
+
import AiHrCandidateProfileSchema from './ai-hr-candidate-profile.schema';
|
|
76
76
|
import AiEntrapeerKnowledgeBaseSchema from './ai-entrapeer-knowledge-base.schema';
|
|
77
77
|
import AiTaskCurationManagerOutputSchema from './ai-task-curation-manager-output.schema';
|
|
78
78
|
import AiTaskCompanyRelatedCompanySchema from './ai-task-company-related-company.schema';
|
package/dist/schemas/index.js
CHANGED
|
@@ -153,8 +153,8 @@ const ai_hr_candidate_output_schema_1 = __importDefault(require("./ai-hr-candida
|
|
|
153
153
|
exports.AiHrCandidateOutputSchema = ai_hr_candidate_output_schema_1.default;
|
|
154
154
|
const ai_hr_candidate_top_candidate_schema_1 = __importDefault(require("./ai-hr-candidate-top-candidate.schema"));
|
|
155
155
|
exports.AiHrCandidateTopCandidateSchema = ai_hr_candidate_top_candidate_schema_1.default;
|
|
156
|
-
const
|
|
157
|
-
exports.AiHrCandidateProfileSchema =
|
|
156
|
+
const ai_hr_candidate_profile_schema_1 = __importDefault(require("./ai-hr-candidate-profile.schema"));
|
|
157
|
+
exports.AiHrCandidateProfileSchema = ai_hr_candidate_profile_schema_1.default;
|
|
158
158
|
const ai_entrapeer_knowledge_base_schema_1 = __importDefault(require("./ai-entrapeer-knowledge-base.schema"));
|
|
159
159
|
exports.AiEntrapeerKnowledgeBaseSchema = ai_entrapeer_knowledge_base_schema_1.default;
|
|
160
160
|
const ai_task_curation_manager_output_schema_1 = __importDefault(require("./ai-task-curation-manager-output.schema"));
|
|
@@ -126,6 +126,23 @@ interface EmailResearch {
|
|
|
126
126
|
source: string;
|
|
127
127
|
}[];
|
|
128
128
|
}
|
|
129
|
+
interface IEducationHistory {
|
|
130
|
+
university: string;
|
|
131
|
+
major: string;
|
|
132
|
+
dateFrom: number;
|
|
133
|
+
dateTo: number;
|
|
134
|
+
universityLinkedinUrl: string;
|
|
135
|
+
}
|
|
136
|
+
interface IWorkHistory {
|
|
137
|
+
company: string;
|
|
138
|
+
companySizeRange: string;
|
|
139
|
+
companySizeEmployeesCount: number;
|
|
140
|
+
companyIndustry: string;
|
|
141
|
+
companyHqLocationCountry: string;
|
|
142
|
+
companyHqLocationState: string | null;
|
|
143
|
+
companyHqLocationCity: string | null;
|
|
144
|
+
companyLinkedinUrl: string;
|
|
145
|
+
}
|
|
129
146
|
export interface IAiHrCandidateProfile extends BaseSchema {
|
|
130
147
|
aiTask: Types.ObjectId | IAiTask;
|
|
131
148
|
aiHrCandidate: Types.ObjectId | IAiHrCandidate;
|
|
@@ -154,6 +171,8 @@ export interface IAiHrCandidateProfile extends BaseSchema {
|
|
|
154
171
|
interviewCompleted: boolean;
|
|
155
172
|
assessmentCompleted: boolean;
|
|
156
173
|
aiHrUploadedCandidate: Types.ObjectId | IAiHrUploadedCandidate;
|
|
174
|
+
educationHistory: IEducationHistory[];
|
|
175
|
+
workHistory: IWorkHistory[];
|
|
157
176
|
}
|
|
158
177
|
export interface IAiHrCandidateProfileModel extends BaseModel<IAiHrCandidateProfile> {
|
|
159
178
|
}
|
package/package.json
CHANGED
|
File without changes
|