@cool-digital-solutions/interferir-models 1.0.38 → 1.0.40

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.
@@ -19,7 +19,7 @@ const aiConversationSchema = new mongoose_1.Schema({
19
19
  messageDate: { type: Number, required: true },
20
20
  isLiked: { type: Boolean, default: null },
21
21
  comment: { type: String, default: null },
22
- reason: { type: String, enum: ai_conversation_type_1.IMessageReason, default: null },
22
+ reason: { type: String, enum: ai_conversation_type_1.IMessageReason, default: ai_conversation_type_1.IMessageReason.DEFAULT },
23
23
  title: { type: String, required: false },
24
24
  },
25
25
  ],
@@ -53,6 +53,7 @@ const portiaArticleSchema = new mongoose_1.Schema({
53
53
  },
54
54
  companyReferences: [{ type: mongoose_1.Schema.Types.ObjectId, ref: 'Company' }],
55
55
  investors: [{ type: String, default: '' }],
56
+ isHasUseCase: { type: Boolean, default: null },
56
57
  },
57
58
  default: null,
58
59
  },
@@ -32,7 +32,8 @@ export declare enum ROLE {
32
32
  export declare enum IMessageReason {
33
33
  IRRELEVANT_ANSWER = "Irrelevant answer",
34
34
  INACCURATE_INFORMATION = "Inaccurate information",
35
- INADEQUATE_RESPONSE = "Inadequate response"
35
+ INADEQUATE_RESPONSE = "Inadequate response",
36
+ DEFAULT = ""
36
37
  }
37
38
  interface IMessage {
38
39
  role: ROLE;
@@ -11,4 +11,5 @@ var IMessageReason;
11
11
  IMessageReason["IRRELEVANT_ANSWER"] = "Irrelevant answer";
12
12
  IMessageReason["INACCURATE_INFORMATION"] = "Inaccurate information";
13
13
  IMessageReason["INADEQUATE_RESPONSE"] = "Inadequate response";
14
+ IMessageReason["DEFAULT"] = "";
14
15
  })(IMessageReason || (exports.IMessageReason = IMessageReason = {}));
@@ -54,6 +54,7 @@ export interface IPortiaAnalysis {
54
54
  companies: IPortiaCompany[];
55
55
  companyReferences: Types.ObjectId[] | ICompany[];
56
56
  investors?: [String];
57
+ isHasUseCase?: boolean;
57
58
  }
58
59
  export declare enum PortiaArticleStatus {
59
60
  DRAFT = "draft",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cool-digital-solutions/interferir-models",
3
- "version": "1.0.38",
3
+ "version": "1.0.40",
4
4
  "main": "./dist/index.js",
5
5
  "files": [
6
6
  "dist/**/*"