@cool-digital-solutions/interferir-models 1.1.1 → 1.1.3
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.
|
@@ -24,7 +24,7 @@ const aiConversationMessageSchema = new mongoose_1.Schema({
|
|
|
24
24
|
relatedQuestions: [{ type: mongoose_1.Schema.Types.ObjectId, ref: 'AiConversationMessage', default: null }],
|
|
25
25
|
defaultCompanyDisplayColumns: [{ type: String, default: null }],
|
|
26
26
|
hasScoutingRequest: { type: Boolean, default: false },
|
|
27
|
-
contentVersion: { type: String,
|
|
27
|
+
contentVersion: { type: String, default: '' },
|
|
28
28
|
nextRole: { type: String, default: '' },
|
|
29
29
|
requestId: { type: String, default: '' },
|
|
30
30
|
createdBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
@@ -70,6 +70,7 @@ const portiaArticleSchema = new mongoose_1.Schema({
|
|
|
70
70
|
score: { type: Number, default: 0 },
|
|
71
71
|
},
|
|
72
72
|
],
|
|
73
|
+
useCases: [{ type: mongoose_1.Schema.Types.ObjectId, ref: 'UseCase' }],
|
|
73
74
|
status: { type: String, enum: Object.values(portia_article_type_1.PortiaArticleStatus), required: [true, 'status is required!'], default: portia_article_type_1.PortiaArticleStatus.PUBLISH },
|
|
74
75
|
sfIndustries: [{ type: mongoose_1.Schema.Types.ObjectId, ref: 'Industry' }],
|
|
75
76
|
sfTechnologies: [{ type: mongoose_1.Schema.Types.ObjectId, ref: 'Technology' }],
|
|
@@ -48,7 +48,7 @@ export interface IAiConversationMessage extends BaseSchema {
|
|
|
48
48
|
relatedQuestions?: Types.ObjectId[] | IAiConversationMessage[];
|
|
49
49
|
defaultCompanyDisplayColumns?: string[];
|
|
50
50
|
hasScoutingRequest?: boolean;
|
|
51
|
-
contentVersion
|
|
51
|
+
contentVersion?: string;
|
|
52
52
|
nextRole?: string;
|
|
53
53
|
requestId?: string;
|
|
54
54
|
}
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
/// <reference types="mongoose/types/virtuals" />
|
|
24
24
|
/// <reference types="mongoose/types/inferschematype" />
|
|
25
25
|
import { Types } from 'mongoose';
|
|
26
|
-
import { ICompany, IImage, IIndustry, ITechnology, ISFCategory, ISFSubCategory, ISFTag } from './';
|
|
26
|
+
import { ICompany, IImage, IIndustry, ITechnology, ISFCategory, ISFSubCategory, ISFTag, IUseCase } from './';
|
|
27
27
|
import { BaseModel, BaseSchema } from '../config';
|
|
28
28
|
export declare enum PortiaArticleTypes {
|
|
29
29
|
NEWS = "news"
|
|
@@ -100,6 +100,7 @@ export interface IPortiaArticle extends BaseSchema {
|
|
|
100
100
|
portiaApiResults: {
|
|
101
101
|
message: string;
|
|
102
102
|
}[];
|
|
103
|
+
useCases: Types.ObjectId[] | IUseCase[];
|
|
103
104
|
}
|
|
104
105
|
export interface IPortiaArticleModel extends BaseModel<IPortiaArticle> {
|
|
105
106
|
}
|