@cool-digital-solutions/interferir-models 1.3.54 → 1.3.55

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.
@@ -99,6 +99,10 @@ const aiHrCandidateProfileSchema = new mongoose_1.Schema({
99
99
  },
100
100
  ],
101
101
  },
102
+ aiHrAssessment: { type: mongoose_1.Schema.Types.ObjectId, ref: 'AiHrAssessment', default: null },
103
+ aiHrAssessmentQuestion: { type: mongoose_1.Schema.Types.ObjectId, ref: 'AiHrAssessmentQuestion', default: null },
104
+ aiHrInterview: { type: mongoose_1.Schema.Types.ObjectId, ref: 'AiHrInterview', default: null },
105
+ aiHrInterviewQuestion: { type: mongoose_1.Schema.Types.ObjectId, ref: 'AiHrInterviewQuestion', default: null },
102
106
  createdBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
103
107
  updatedBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
104
108
  updatedDate: Number,
@@ -26,6 +26,10 @@ import { BaseModel, BaseSchema } from '../config';
26
26
  import { Types } from 'mongoose';
27
27
  import { IAiTask } from './ai-task.type';
28
28
  import { IAiHrCandidate } from './ai-hr-candidate.type';
29
+ import { IAiHrAssessment } from './ai-hr-assessment.type';
30
+ import { IAiHrAssessmentQuestion } from './ai-hr-assessment-question.type';
31
+ import { IAiHrInterview } from './ai-hr-interview.type';
32
+ import { IAiHrInterviewQuestion } from './ai-hr-interview-question.type';
29
33
  interface Reasoning {
30
34
  evidence: string;
31
35
  trait: string;
@@ -130,6 +134,10 @@ export interface IAiHrCandidateProfile extends BaseSchema {
130
134
  isOutreached: boolean;
131
135
  profileTag: ProfileTag;
132
136
  emailResearch: EmailResearch;
137
+ aiHrAssessment: Types.ObjectId | IAiHrAssessment;
138
+ aiHrAssessmentQuestion: Types.ObjectId | IAiHrAssessmentQuestion;
139
+ aiHrInterview: Types.ObjectId | IAiHrInterview;
140
+ aiHrInterviewQuestion: Types.ObjectId | IAiHrInterviewQuestion;
133
141
  }
134
142
  export interface IAiHrCandidateProfileModel extends BaseModel<IAiHrCandidateProfile> {
135
143
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cool-digital-solutions/interferir-models",
3
- "version": "1.3.54",
3
+ "version": "1.3.55",
4
4
  "main": "./dist/index.js",
5
5
  "files": [
6
6
  "dist/**/*"