@cool-digital-solutions/interferir-models 1.4.93 → 1.4.95

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.
@@ -11,7 +11,8 @@ const aiAnalysisDataCollectionQuestionSchema = new mongoose_1.Schema({
11
11
  questionSectionId: { type: mongoose_1.Schema.Types.ObjectId, required: true },
12
12
  users: [
13
13
  {
14
- user: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', required: true },
14
+ user: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', required: false, default: null },
15
+ email: { type: String, required: true, },
15
16
  invitedDate: { type: Number, required: true },
16
17
  },
17
18
  ],
@@ -9,6 +9,7 @@ const _config_1 = require("../config");
9
9
  const aiAnalysisInterviewTopicSchema = new mongoose_1.Schema({
10
10
  subject: { type: String },
11
11
  turnkeyProjectId: { type: mongoose_1.Schema.Types.ObjectId, required: true },
12
+ turnkeyProjectName: { type: String },
12
13
  company: { type: mongoose_1.Schema.Types.ObjectId, ref: 'Company' },
13
14
  interviewer: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', required: true },
14
15
  freeNotes: { type: String },
@@ -32,6 +32,7 @@ interface Answer {
32
32
  status: string;
33
33
  }
34
34
  interface User {
35
+ email: string;
35
36
  user: Types.ObjectId | IUser;
36
37
  invitedDate: number;
37
38
  }
@@ -28,6 +28,7 @@ import { IUser } from './';
28
28
  export interface IAiAnalysisInterviewTopic extends BaseSchema {
29
29
  subject?: string;
30
30
  turnkeyProjectId: Types.ObjectId;
31
+ turnkeyProjectName?: string;
31
32
  company?: Types.ObjectId;
32
33
  interviewer: Types.ObjectId | IUser;
33
34
  freeNotes?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cool-digital-solutions/interferir-models",
3
- "version": "1.4.93",
3
+ "version": "1.4.95",
4
4
  "main": "./dist/index.js",
5
5
  "files": [
6
6
  "dist/**/*"