@cool-digital-solutions/interferir-models 1.4.22 → 1.4.24

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.
@@ -133,7 +133,7 @@ const aiHrCandidateProfileSchema = new mongoose_1.Schema({
133
133
  companyLinkedinUrl: { type: String, required: false },
134
134
  },
135
135
  ],
136
- candidateSource: { type: String, required: true },
136
+ candidateSources: [{ type: String, required: true }],
137
137
  createdBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
138
138
  updatedBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
139
139
  updatedDate: Number,
@@ -234,6 +234,7 @@ const companySchema = new mongoose_1.Schema({
234
234
  creationSource: [{ type: Object }],
235
235
  customerPerspective: { type: String, default: '' },
236
236
  isWeeklyNewsletterActive: { type: Boolean, default: false },
237
+ newsFeedAnalysis: { type: String, default: '' },
237
238
  questionPreferences: { type: String, default: '' },
238
239
  createdBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
239
240
  updatedBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
@@ -173,7 +173,7 @@ export interface IAiHrCandidateProfile extends BaseSchema {
173
173
  aiHrUploadedCandidate: Types.ObjectId | IAiHrUploadedCandidate;
174
174
  educationHistory: IEducationHistory[];
175
175
  workHistory: IWorkHistory[];
176
- candidateSource: string;
176
+ candidateSources: string[];
177
177
  }
178
178
  export interface IAiHrCandidateProfileModel extends BaseModel<IAiHrCandidateProfile> {
179
179
  }
@@ -284,6 +284,7 @@ export interface ICompany extends BaseSchema {
284
284
  customerPerspective: string;
285
285
  isWeeklyNewsletterActive: boolean;
286
286
  questionPreferences: string;
287
+ newsFeedAnalysis: string;
287
288
  }
288
289
  export interface ICompanyModel extends BaseModel<ICompany> {
289
290
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cool-digital-solutions/interferir-models",
3
- "version": "1.4.22",
3
+ "version": "1.4.24",
4
4
  "main": "./dist/index.js",
5
5
  "files": [
6
6
  "dist/**/*"