@cool-digital-solutions/interferir-models 1.2.14 → 1.2.16
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.
- package/dist/schemas/spark-use-case.schema.js +1 -1
- package/dist/schemas/spark.schema.js +1 -1
- package/dist/types/contact-message.type.d.ts +1 -0
- package/dist/types/contact-message.type.js +1 -0
- package/dist/types/spark-use-case.type.d.ts +2 -1
- package/dist/types/spark.type.d.ts +2 -1
- package/package.json +1 -1
|
@@ -57,7 +57,7 @@ const sparkUseCaseSchema = new mongoose_1.Schema({
|
|
|
57
57
|
],
|
|
58
58
|
},
|
|
59
59
|
],
|
|
60
|
-
|
|
60
|
+
aiTaskResearchManagerOutputs: [{ type: mongoose_1.Schema.Types.ObjectId, ref: 'AiTaskResearchManagerOutput' }],
|
|
61
61
|
sfIndustries: [{ type: mongoose_1.Schema.Types.ObjectId, ref: 'Industry' }],
|
|
62
62
|
sfTechnologies: [{ type: mongoose_1.Schema.Types.ObjectId, ref: 'Technology' }],
|
|
63
63
|
sfCategories: [{ type: mongoose_1.Schema.Types.ObjectId, ref: 'SFCategory' }],
|
|
@@ -55,7 +55,7 @@ const sparkSchema = new mongoose_1.Schema({
|
|
|
55
55
|
status: { type: String, enum: Object.values(spark_type_1.CronJobStatus), default: spark_type_1.CronJobStatus.PENDING },
|
|
56
56
|
message: [{ type: String, default: '' }],
|
|
57
57
|
},
|
|
58
|
-
|
|
58
|
+
aiTasks: [{ type: mongoose_1.Schema.Types.ObjectId, ref: 'AiTask' }],
|
|
59
59
|
forceSendToEntramind: { type: Boolean, default: false },
|
|
60
60
|
isSentToEntramind: { type: Boolean, default: true },
|
|
61
61
|
linkUseCaseOfCompanyToTheme: { type: Boolean, default: false },
|
|
@@ -31,6 +31,7 @@ export declare enum ContactMessageTypes {
|
|
|
31
31
|
CONTACT = "contact",
|
|
32
32
|
TRAINING_SESSION = "trainingSession",
|
|
33
33
|
PRIVATE_RESEARCH_ACCESS_REQUEST = "privateResearchAccessRequest",
|
|
34
|
+
NEW_RESEARCH_REQUEST = "newResearchRequest",
|
|
34
35
|
DEFAULT = ""
|
|
35
36
|
}
|
|
36
37
|
export interface IContactMessage extends BaseSchema {
|
|
@@ -8,5 +8,6 @@ var ContactMessageTypes;
|
|
|
8
8
|
ContactMessageTypes["CONTACT"] = "contact";
|
|
9
9
|
ContactMessageTypes["TRAINING_SESSION"] = "trainingSession";
|
|
10
10
|
ContactMessageTypes["PRIVATE_RESEARCH_ACCESS_REQUEST"] = "privateResearchAccessRequest";
|
|
11
|
+
ContactMessageTypes["NEW_RESEARCH_REQUEST"] = "newResearchRequest";
|
|
11
12
|
ContactMessageTypes["DEFAULT"] = "";
|
|
12
13
|
})(ContactMessageTypes || (exports.ContactMessageTypes = ContactMessageTypes = {}));
|
|
@@ -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 { IUser, ISpark, ICompany, ITheme, IUseCase, IIndustry, ITechnology, ISFSubCategory, ISFCategory, ISFTag } from './';
|
|
26
|
+
import { IUser, ISpark, ICompany, ITheme, IUseCase, IIndustry, ITechnology, ISFSubCategory, ISFCategory, ISFTag, IAiTaskResearchManagerOutput } from './';
|
|
27
27
|
import { SparkPriorityList } from './spark.type';
|
|
28
28
|
import { BaseModel, BaseSchema, ContentStatus } from '../config';
|
|
29
29
|
export declare enum SparkUseCaseStatusList {
|
|
@@ -88,6 +88,7 @@ export interface ISparkUseCase extends BaseSchema {
|
|
|
88
88
|
sfTags: Types.ObjectId[] | ISFTag[];
|
|
89
89
|
fromEmptySparkUseCase: boolean;
|
|
90
90
|
projectLocation: string[];
|
|
91
|
+
aiTaskResearchManagerOutputs: Types.ObjectId[] | IAiTaskResearchManagerOutput[];
|
|
91
92
|
}
|
|
92
93
|
export interface ISparkUseCaseModel extends BaseModel<ISparkUseCase> {
|
|
93
94
|
}
|
|
@@ -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, ITheme } from './';
|
|
26
|
+
import { IAiTask, ICompany, ITheme } from './';
|
|
27
27
|
import { CompanyTypes } from './company.type';
|
|
28
28
|
import { BaseModel, BaseSchema } from '../config';
|
|
29
29
|
export declare enum SparkStatusList {
|
|
@@ -91,6 +91,7 @@ export interface ISpark extends BaseSchema {
|
|
|
91
91
|
website: string;
|
|
92
92
|
useCaseSourceList: string[];
|
|
93
93
|
themeList: Types.ObjectId[] | ITheme[];
|
|
94
|
+
aiTasks: Types.ObjectId[] | IAiTask[];
|
|
94
95
|
priority: SparkPriorityList;
|
|
95
96
|
priorityLevel: number;
|
|
96
97
|
note: string;
|