@cool-digital-solutions/interferir-models 1.3.50 → 1.3.52
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.
|
@@ -9,7 +9,7 @@ const _config_1 = require("../config");
|
|
|
9
9
|
const ai_hr_assessment_question_type_1 = require("../types/ai-hr-assessment-question.type");
|
|
10
10
|
const aiHrAssessmentQuestionSchema = new mongoose_1.Schema({
|
|
11
11
|
aiTask: { type: mongoose_1.Schema.Types.ObjectId, ref: 'AiTask', default: null },
|
|
12
|
-
|
|
12
|
+
aiHrCandidateProfile: { type: mongoose_1.Schema.Types.ObjectId, ref: 'AiHrCandidateProfile', default: null },
|
|
13
13
|
assessmentQuestions: [
|
|
14
14
|
{
|
|
15
15
|
traitFamily: { type: String, enum: Object.values(ai_hr_assessment_question_type_1.TraitFamily), required: false },
|
|
@@ -60,6 +60,7 @@ const sparkSchema = new mongoose_1.Schema({
|
|
|
60
60
|
forceSendToEntramind: { type: Boolean, default: false },
|
|
61
61
|
isSentToEntramind: { type: Boolean, default: true },
|
|
62
62
|
linkUseCaseOfCompanyToTheme: { type: Boolean, default: false },
|
|
63
|
+
isCreatedForAgent: { type: Boolean, default: false },
|
|
63
64
|
entramindRequestCount: { type: Number, default: 0 },
|
|
64
65
|
rawContent: { type: String, default: '' },
|
|
65
66
|
createdBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
import { BaseModel, BaseSchema } from '../config';
|
|
26
26
|
import { Types } from 'mongoose';
|
|
27
27
|
import { IAiTask } from './ai-task.type';
|
|
28
|
-
import {
|
|
28
|
+
import { IAiHrCandidateProfile } from './ai-hr-candidate-profile.type';
|
|
29
29
|
export declare enum TraitFamily {
|
|
30
30
|
COGNITIVE_TRAITS = "cognitiveTraits",
|
|
31
31
|
BEHAVIORAL_TRAITS = "behavioralTraits",
|
|
@@ -51,7 +51,7 @@ interface IntroQuestion {
|
|
|
51
51
|
}
|
|
52
52
|
export interface IAiHrAssessmentQuestion extends BaseSchema {
|
|
53
53
|
aiTask: Types.ObjectId | IAiTask;
|
|
54
|
-
|
|
54
|
+
aiHrCandidateProfile: Types.ObjectId | IAiHrCandidateProfile;
|
|
55
55
|
assessmentQuestions: AssessmentQuestion[];
|
|
56
56
|
introQuestions: IntroQuestion[];
|
|
57
57
|
}
|
|
@@ -113,6 +113,7 @@ export interface ISpark extends BaseSchema {
|
|
|
113
113
|
linkUseCaseOfCompanyToTheme: boolean;
|
|
114
114
|
cronJob: CronJob;
|
|
115
115
|
entramindRequestCount: number;
|
|
116
|
+
isCreatedForAgent: boolean;
|
|
116
117
|
}
|
|
117
118
|
export interface GetAllSpark extends ISpark {
|
|
118
119
|
useCaseCount: number;
|