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

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,6 +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
137
  createdBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
137
138
  updatedBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
138
139
  updatedDate: Number,
@@ -13,6 +13,7 @@ const aiHrFileUploadSchema = new mongoose_1.Schema({
13
13
  content: { type: String, default: '' },
14
14
  status: { type: String, enum: Object.values(ai_hr_file_upload_type_1.AiHrFileUploadStatus), default: ai_hr_file_upload_type_1.AiHrFileUploadStatus.DEFAULT },
15
15
  fileType: { type: String, default: '' },
16
+ filePurpose: { type: String, required: true },
16
17
  createdBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
17
18
  updatedBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
18
19
  updatedDate: Number,
@@ -233,6 +233,8 @@ const companySchema = new mongoose_1.Schema({
233
233
  aiHrContext: { type: String, default: '' },
234
234
  creationSource: [{ type: Object }],
235
235
  customerPerspective: { type: String, default: '' },
236
+ isWeeklyNewsletterActive: { type: Boolean, default: false },
237
+ questionPreferences: { type: String, default: '' },
236
238
  createdBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
237
239
  updatedBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
238
240
  updatedDate: { type: Number },
@@ -173,6 +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
177
  }
177
178
  export interface IAiHrCandidateProfileModel extends BaseModel<IAiHrCandidateProfile> {
178
179
  }
@@ -36,6 +36,7 @@ export interface IAiHrFileUpload extends BaseSchema {
36
36
  status: AiHrFileUploadStatus;
37
37
  aiConversation: Types.ObjectId | IAiConversation;
38
38
  fileType: string;
39
+ filePurpose: string;
39
40
  }
40
41
  export interface IAiHrFileUploadModel extends BaseModel<IAiHrFileUpload> {
41
42
  }
@@ -282,6 +282,8 @@ export interface ICompany extends BaseSchema {
282
282
  aiHrContext: string;
283
283
  creationSource: object[];
284
284
  customerPerspective: string;
285
+ isWeeklyNewsletterActive: boolean;
286
+ questionPreferences: string;
285
287
  }
286
288
  export interface ICompanyModel extends BaseModel<ICompany> {
287
289
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cool-digital-solutions/interferir-models",
3
- "version": "1.4.20",
3
+ "version": "1.4.22",
4
4
  "main": "./dist/index.js",
5
5
  "files": [
6
6
  "dist/**/*"