@cool-digital-solutions/interferir-models 1.1.80 → 1.1.82
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/index.d.ts +4 -2
- package/dist/index.js +3 -1
- package/dist/schemas/ai-task-outline.schema.d.ts +28 -0
- package/dist/schemas/ai-task-outline.schema.js +40 -0
- package/dist/schemas/index.d.ts +2 -1
- package/dist/schemas/index.js +3 -1
- package/dist/schemas/spark.schema.js +1 -0
- package/dist/types/ai-task-outline.type.d.ts +45 -0
- package/dist/types/ai-task-outline.type.js +11 -0
- package/dist/types/index.d.ts +2 -1
- package/dist/types/spark.type.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -63,6 +63,7 @@ import { ITeamMember, ITeamMemberModel } from './types/team-member.type';
|
|
|
63
63
|
import { ICompanySubOrganization, ICompanySubOrganizationModel } from './types/company-sub-organization.type';
|
|
64
64
|
import { IHighlightNote, IHighlightNoteModel } from './types/highlight-note.type';
|
|
65
65
|
import { IAiTaskResearchManagerOutput, IAiTaskResearchManagerOutputModel } from './types/ai-task-research-manager-output.type';
|
|
66
|
+
import { IAiTaskOutline, IAiTaskOutlineModel } from './types/ai-task-outline.type';
|
|
66
67
|
import ThemeSchema from './schemas/theme.schema';
|
|
67
68
|
import ProblemSchema from './schemas/problem.schema';
|
|
68
69
|
import SFTagSchema from './schemas/sf-tag.schema';
|
|
@@ -127,5 +128,6 @@ import AiTaskSubmissionSchema from './schemas/ai-task-submission.schema';
|
|
|
127
128
|
import CompanySubOrganizationSchema from './schemas/company-sub-organization.schema';
|
|
128
129
|
import HighlightNoteSchema from './schemas/highlight-note.schema';
|
|
129
130
|
import AiTaskResearchManagerOutputSchema from './schemas/ai-task-research-manager-output.schema';
|
|
130
|
-
|
|
131
|
-
export {
|
|
131
|
+
import AiTaskOutlineSchema from './schemas/ai-task-outline.schema';
|
|
132
|
+
export { IAiConversation, IAiConversationModel, IAiConversationMessage, IAiConversationMessageModel, IAiConversationTrackingTask, IAiConversationTrackingTaskModel, IAiAssistant, IAiAssistantModel, IBackendError, IBackendErrorModel, IBadge, IBadgeModel, IBatchHistory, IBookmark, IBookmarkModel, ICompany, ICompanyModel, ICompanyCluster, ICompanyClusterModel, ICompanyMarketing, ICompanyMarketingModel, ICompanyFundingRound, ICompanyFundingRoundModel, ICompetitor, ICompetitorModel, ICompetitorAnalysis, ICompetitorAnalysisModel, IContactMessage, IContactMessageModel, IContactStartup, IContactStartupModel, IContent, IContentModel, IDraftVersion, IDraftVersionModel, IEvidenceLayout, IEvidenceLayoutModel, IEvidence, IEvidenceModel, IFaq, IFaqModel, IFeaturedTheme, IFeaturedThemeModel, IFollowContent, IFollowContentModel, IGeneralConfigSub, IGeneralConfigSubModel, IGeneralConfig, IGeneralConfigModel, IImage, IImageModel, IIndustry, IIndustryModel, IInstantResearch, IInstantResearchModel, IInvestor, IInvestorModel, ILike, ILikeModel, INews, INewsModel, INotification, INotificationModel, IOtp, IOtpModel, IPortiaArticle, IPortiaArticleModel, IProblem, IProblemModel, IRelatedTheme, IRelatedThemeModel, ISearchHistory, ISearchHistoryModel, ISFCategory, ISFCategoryModel, ISFSubCategory, ISFSubCategoryModel, ISFTag, ISFTagModel, ISparkUseCase, ISparkUseCaseModel, ISpark, ISparkModel, IStartupVectorAnyEntity, IStartupVectorAnyEntityModel, ISuggest, ISuggestModel, ITechnology, ITechnologyModel, ITheme, IThemeModel, IToken, ITokenModel, IUpdateJob, IUpdateJobModel, IUseCase, IUseCaseModel, IUseCaseDiscovery, IUseCaseDiscoveryModel, IUseCaseDiscoveryProblem, IUseCaseDiscoveryProblemModel, IUserToken, IUserTokenModel, IUserVisit, IUserVisitModel, IUser, IUserModel, IFoamTree, IFoamTreeModel, ICompetitorGrid, ICompetitorGridModel, IHighlight, IHighlightModel, IHighlightNote, IHighlightNoteModel, INewsHub, INewsHubModel, ITeam, ITeamModel, ITeamMember, ITeamMemberModel, IAiTask, IAiTaskModel, IAiTaskSubmission, IAiTaskSubmissionModel, ICompanySubOrganization, ICompanySubOrganizationModel, IAiTaskResearchManagerOutput, IAiTaskResearchManagerOutputModel, IAiTaskOutline, IAiTaskOutlineModel, };
|
|
133
|
+
export { AiTaskSchema, AiTaskSubmissionSchema, ThemeSchema, ProblemSchema, SFTagSchema, SFCategorySchema, SFSubCategorySchema, TechnologySchema, IndustrySchema, BackendErrorSchema, EvidenceSchema, EvidenceLayoutSchema, ImageSchema, SearchHistorySchema, TokenSchema, UserTokenSchema, UserSchema, CompanySchema, PortiaArticleSchema, InstantResearchSchema, ContactMessageSchema, ContactStartupSchema, BadgeSchema, ContentSchema, FaqSchema, UseCaseSchema, NewsSchema, LikeSchema, SparkSchema, SparkUseCaseSchema, FollowContentSchema, GeneralConfigSchema, GeneralConfigSubSchema, DraftVersionSchema, NotificationSchema, OtpSchema, SuggestSchema, UserVisitSchema, CompetitorSchema, CompanyFundingRoundSchema, BookmarkSchema, AiConversationSchema, AiConversationMessageSchema, AiConversationTrackingTaskSchema, CompanyClusterSchema, CompanyMarketingSchema, InvestorSchema, RelatedThemeSchema, StartupVectorAnyEntitySchema, UpdateJobSchema, UseCaseDiscoverySchema, UseCaseDiscoveryProblemSchema, CompetitorAnalysisSchema, FoamTreeSchema, FeaturedThemeSchema, CompetitorGridSchema, HighlightSchema, NewsHubSchema, AiAssistantSchema, TeamSchema, TeamMemberSchema, CompanySubOrganizationSchema, HighlightNoteSchema, AiTaskResearchManagerOutputSchema, AiTaskOutlineSchema, };
|
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.UpdateJobSchema = exports.StartupVectorAnyEntitySchema = exports.RelatedThemeSchema = exports.InvestorSchema = exports.CompanyMarketingSchema = exports.CompanyClusterSchema = exports.AiConversationTrackingTaskSchema = exports.AiConversationMessageSchema = exports.AiConversationSchema = exports.BookmarkSchema = exports.CompanyFundingRoundSchema = exports.CompetitorSchema = exports.UserVisitSchema = exports.SuggestSchema = exports.OtpSchema = exports.NotificationSchema = exports.DraftVersionSchema = exports.GeneralConfigSubSchema = exports.GeneralConfigSchema = exports.FollowContentSchema = exports.SparkUseCaseSchema = exports.SparkSchema = exports.LikeSchema = exports.NewsSchema = exports.UseCaseSchema = exports.FaqSchema = exports.ContentSchema = exports.BadgeSchema = exports.ContactStartupSchema = exports.ContactMessageSchema = exports.InstantResearchSchema = exports.PortiaArticleSchema = exports.CompanySchema = exports.UserSchema = exports.UserTokenSchema = exports.TokenSchema = exports.SearchHistorySchema = exports.ImageSchema = exports.EvidenceLayoutSchema = exports.EvidenceSchema = exports.BackendErrorSchema = exports.IndustrySchema = exports.TechnologySchema = exports.SFSubCategorySchema = exports.SFCategorySchema = exports.SFTagSchema = exports.ProblemSchema = exports.ThemeSchema = exports.AiTaskSubmissionSchema = exports.AiTaskSchema = void 0;
|
|
7
|
-
exports.AiTaskResearchManagerOutputSchema = exports.HighlightNoteSchema = exports.CompanySubOrganizationSchema = exports.TeamMemberSchema = exports.TeamSchema = exports.AiAssistantSchema = exports.NewsHubSchema = exports.HighlightSchema = exports.CompetitorGridSchema = exports.FeaturedThemeSchema = exports.FoamTreeSchema = exports.CompetitorAnalysisSchema = exports.UseCaseDiscoveryProblemSchema = exports.UseCaseDiscoverySchema = void 0;
|
|
7
|
+
exports.AiTaskOutlineSchema = exports.AiTaskResearchManagerOutputSchema = exports.HighlightNoteSchema = exports.CompanySubOrganizationSchema = exports.TeamMemberSchema = exports.TeamSchema = exports.AiAssistantSchema = exports.NewsHubSchema = exports.HighlightSchema = exports.CompetitorGridSchema = exports.FeaturedThemeSchema = exports.FoamTreeSchema = exports.CompetitorAnalysisSchema = exports.UseCaseDiscoveryProblemSchema = exports.UseCaseDiscoverySchema = void 0;
|
|
8
8
|
const theme_schema_1 = __importDefault(require("./schemas/theme.schema"));
|
|
9
9
|
exports.ThemeSchema = theme_schema_1.default;
|
|
10
10
|
const problem_schema_1 = __importDefault(require("./schemas/problem.schema"));
|
|
@@ -133,3 +133,5 @@ const highlight_note_schema_1 = __importDefault(require("./schemas/highlight-not
|
|
|
133
133
|
exports.HighlightNoteSchema = highlight_note_schema_1.default;
|
|
134
134
|
const ai_task_research_manager_output_schema_1 = __importDefault(require("./schemas/ai-task-research-manager-output.schema"));
|
|
135
135
|
exports.AiTaskResearchManagerOutputSchema = ai_task_research_manager_output_schema_1.default;
|
|
136
|
+
const ai_task_outline_schema_1 = __importDefault(require("./schemas/ai-task-outline.schema"));
|
|
137
|
+
exports.AiTaskOutlineSchema = ai_task_outline_schema_1.default;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/// <reference types="mongoose/types/aggregate" />
|
|
2
|
+
/// <reference types="mongoose/types/callback" />
|
|
3
|
+
/// <reference types="mongoose/types/collection" />
|
|
4
|
+
/// <reference types="mongoose/types/connection" />
|
|
5
|
+
/// <reference types="mongoose/types/cursor" />
|
|
6
|
+
/// <reference types="mongoose/types/document" />
|
|
7
|
+
/// <reference types="mongoose/types/error" />
|
|
8
|
+
/// <reference types="mongoose/types/expressions" />
|
|
9
|
+
/// <reference types="mongoose/types/helpers" />
|
|
10
|
+
/// <reference types="mongoose/types/middlewares" />
|
|
11
|
+
/// <reference types="mongoose/types/indexes" />
|
|
12
|
+
/// <reference types="mongoose/types/models" />
|
|
13
|
+
/// <reference types="mongoose/types/mongooseoptions" />
|
|
14
|
+
/// <reference types="mongoose/types/pipelinestage" />
|
|
15
|
+
/// <reference types="mongoose/types/populate" />
|
|
16
|
+
/// <reference types="mongoose/types/query" />
|
|
17
|
+
/// <reference types="mongoose/types/schemaoptions" />
|
|
18
|
+
/// <reference types="mongoose/types/schematypes" />
|
|
19
|
+
/// <reference types="mongoose/types/session" />
|
|
20
|
+
/// <reference types="mongoose/types/types" />
|
|
21
|
+
/// <reference types="mongoose/types/utility" />
|
|
22
|
+
/// <reference types="mongoose/types/validation" />
|
|
23
|
+
/// <reference types="mongoose/types/virtuals" />
|
|
24
|
+
/// <reference types="mongoose/types/inferschematype" />
|
|
25
|
+
import { Schema } from 'mongoose';
|
|
26
|
+
import { IAiTaskOutline, IAiTaskOutlineModel } from '../types';
|
|
27
|
+
declare const aiTaskOutlineSchema: Schema<IAiTaskOutline, IAiTaskOutlineModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IAiTaskOutline>;
|
|
28
|
+
export default aiTaskOutlineSchema;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const mongoose_1 = require("mongoose");
|
|
7
|
+
const express_http_context_1 = __importDefault(require("express-http-context"));
|
|
8
|
+
const _config_1 = require("../config");
|
|
9
|
+
const aiTaskOutlineSchema = new mongoose_1.Schema({
|
|
10
|
+
aiTask: { type: mongoose_1.Schema.Types.ObjectId, ref: 'IAiTask', required: true },
|
|
11
|
+
title: { type: String, default: '' },
|
|
12
|
+
order: { type: Number },
|
|
13
|
+
parentId: { type: mongoose_1.Schema.Types.ObjectId, ref: 'IAiTaskResearchManagerOutput', default: null },
|
|
14
|
+
references: [{ type: Object }],
|
|
15
|
+
feedback: { type: String, required: true },
|
|
16
|
+
reasoning: { type: String, required: true },
|
|
17
|
+
createdBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
18
|
+
updatedBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
19
|
+
updatedDate: Number,
|
|
20
|
+
createdDate: Number,
|
|
21
|
+
}, _config_1.schemaOptions);
|
|
22
|
+
aiTaskOutlineSchema.pre('save', function (next) {
|
|
23
|
+
const user = express_http_context_1.default.get('user');
|
|
24
|
+
const notUpdatedBy = express_http_context_1.default.get('notUpdatedBy');
|
|
25
|
+
if (user) {
|
|
26
|
+
if (!this.createdBy)
|
|
27
|
+
this.createdBy = user._id;
|
|
28
|
+
if (!notUpdatedBy)
|
|
29
|
+
this.updatedBy = user._id;
|
|
30
|
+
}
|
|
31
|
+
next();
|
|
32
|
+
});
|
|
33
|
+
aiTaskOutlineSchema.pre('findOneAndUpdate', function (next) {
|
|
34
|
+
const user = express_http_context_1.default.get('user');
|
|
35
|
+
const notUpdatedBy = express_http_context_1.default.get('notUpdatedBy');
|
|
36
|
+
if (user && !notUpdatedBy)
|
|
37
|
+
this._update.updatedBy = user._id;
|
|
38
|
+
next();
|
|
39
|
+
});
|
|
40
|
+
exports.default = aiTaskOutlineSchema;
|
package/dist/schemas/index.d.ts
CHANGED
|
@@ -61,4 +61,5 @@ import AiTaskSubmissionSchema from './ai-task-submission.schema';
|
|
|
61
61
|
import CompanySubOrganizationSchema from './company-sub-organization.schema';
|
|
62
62
|
import HighlightNoteSchema from './highlight-note.schema';
|
|
63
63
|
import AiTaskResearchManagerOutputSchema from './ai-task-research-manager-output.schema';
|
|
64
|
-
|
|
64
|
+
import AiTaskOutlineSchema from './ai-task-outline.schema';
|
|
65
|
+
export { AiTaskSchema, AiTaskSubmissionSchema, ThemeSchema, ProblemSchema, SFTagSchema, SFCategorySchema, SFSubCategorySchema, TechnologySchema, IndustrySchema, BackendErrorSchema, EvidenceSchema, EvidenceLayoutSchema, ImageSchema, SearchHistorySchema, TokenSchema, UserTokenSchema, UserSchema, CompanySchema, PortiaArticleSchema, InstantResearchSchema, ContactMessageSchema, ContactStartupSchema, BadgeSchema, ContentSchema, FaqSchema, UseCaseSchema, NewsSchema, LikeSchema, SparkSchema, SparkUseCaseSchema, FollowContentSchema, GeneralConfigSchema, GeneralConfigSubSchema, DraftVersionSchema, NotificationSchema, OtpSchema, SuggestSchema, UserVisitSchema, CompetitorSchema, CompanyFundingRoundSchema, BookmarkSchema, AiConversationSchema, AiConversationMessageSchema, AiConversationTrackingTaskSchema, BatchHistorySchema, CompanyClusterSchema, CompanyMarketingSchema, InvestorSchema, RelatedThemeSchema, StartupVectorAnyEntitySchema, UpdateJobSchema, UseCaseDiscoverySchema, UseCaseDiscoveryProblemSchema, CompetitorAnalysisSchema, FeaturedThemeSchema, HighlightSchema, NewsHubSchema, AiAssistantSchema, TeamSchema, TeamMemberSchema, CompanySubOrganizationSchema, HighlightNoteSchema, AiTaskResearchManagerOutputSchema, AiTaskOutlineSchema, };
|
package/dist/schemas/index.js
CHANGED
|
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.StartupVectorAnyEntitySchema = exports.RelatedThemeSchema = exports.InvestorSchema = exports.CompanyMarketingSchema = exports.CompanyClusterSchema = exports.BatchHistorySchema = exports.AiConversationTrackingTaskSchema = exports.AiConversationMessageSchema = exports.AiConversationSchema = exports.BookmarkSchema = exports.CompanyFundingRoundSchema = exports.CompetitorSchema = exports.UserVisitSchema = exports.SuggestSchema = exports.OtpSchema = exports.NotificationSchema = exports.DraftVersionSchema = exports.GeneralConfigSubSchema = exports.GeneralConfigSchema = exports.FollowContentSchema = exports.SparkUseCaseSchema = exports.SparkSchema = exports.LikeSchema = exports.NewsSchema = exports.UseCaseSchema = exports.FaqSchema = exports.ContentSchema = exports.BadgeSchema = exports.ContactStartupSchema = exports.ContactMessageSchema = exports.InstantResearchSchema = exports.PortiaArticleSchema = exports.CompanySchema = exports.UserSchema = exports.UserTokenSchema = exports.TokenSchema = exports.SearchHistorySchema = exports.ImageSchema = exports.EvidenceLayoutSchema = exports.EvidenceSchema = exports.BackendErrorSchema = exports.IndustrySchema = exports.TechnologySchema = exports.SFSubCategorySchema = exports.SFCategorySchema = exports.SFTagSchema = exports.ProblemSchema = exports.ThemeSchema = exports.AiTaskSubmissionSchema = exports.AiTaskSchema = void 0;
|
|
7
|
-
exports.AiTaskResearchManagerOutputSchema = exports.HighlightNoteSchema = exports.CompanySubOrganizationSchema = exports.TeamMemberSchema = exports.TeamSchema = exports.AiAssistantSchema = exports.NewsHubSchema = exports.HighlightSchema = exports.FeaturedThemeSchema = exports.CompetitorAnalysisSchema = exports.UseCaseDiscoveryProblemSchema = exports.UseCaseDiscoverySchema = exports.UpdateJobSchema = void 0;
|
|
7
|
+
exports.AiTaskOutlineSchema = exports.AiTaskResearchManagerOutputSchema = exports.HighlightNoteSchema = exports.CompanySubOrganizationSchema = exports.TeamMemberSchema = exports.TeamSchema = exports.AiAssistantSchema = exports.NewsHubSchema = exports.HighlightSchema = exports.FeaturedThemeSchema = exports.CompetitorAnalysisSchema = exports.UseCaseDiscoveryProblemSchema = exports.UseCaseDiscoverySchema = exports.UpdateJobSchema = void 0;
|
|
8
8
|
const theme_schema_1 = __importDefault(require("./theme.schema"));
|
|
9
9
|
exports.ThemeSchema = theme_schema_1.default;
|
|
10
10
|
const problem_schema_1 = __importDefault(require("./problem.schema"));
|
|
@@ -131,3 +131,5 @@ const highlight_note_schema_1 = __importDefault(require("./highlight-note.schema
|
|
|
131
131
|
exports.HighlightNoteSchema = highlight_note_schema_1.default;
|
|
132
132
|
const ai_task_research_manager_output_schema_1 = __importDefault(require("./ai-task-research-manager-output.schema"));
|
|
133
133
|
exports.AiTaskResearchManagerOutputSchema = ai_task_research_manager_output_schema_1.default;
|
|
134
|
+
const ai_task_outline_schema_1 = __importDefault(require("./ai-task-outline.schema"));
|
|
135
|
+
exports.AiTaskOutlineSchema = ai_task_outline_schema_1.default;
|
|
@@ -57,6 +57,7 @@ const sparkSchema = new mongoose_1.Schema({
|
|
|
57
57
|
},
|
|
58
58
|
forceSendToEntramind: { type: Boolean, default: false },
|
|
59
59
|
isSentToEntramind: { type: Boolean, default: true },
|
|
60
|
+
linkUseCaseOfCompanyToTheme: { type: Boolean, default: false },
|
|
60
61
|
rawContent: { type: String, default: '' },
|
|
61
62
|
createdBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
62
63
|
updatedBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/// <reference types="mongoose/types/aggregate" />
|
|
2
|
+
/// <reference types="mongoose/types/callback" />
|
|
3
|
+
/// <reference types="mongoose/types/collection" />
|
|
4
|
+
/// <reference types="mongoose/types/connection" />
|
|
5
|
+
/// <reference types="mongoose/types/cursor" />
|
|
6
|
+
/// <reference types="mongoose/types/document" />
|
|
7
|
+
/// <reference types="mongoose/types/error" />
|
|
8
|
+
/// <reference types="mongoose/types/expressions" />
|
|
9
|
+
/// <reference types="mongoose/types/helpers" />
|
|
10
|
+
/// <reference types="mongoose/types/middlewares" />
|
|
11
|
+
/// <reference types="mongoose/types/indexes" />
|
|
12
|
+
/// <reference types="mongoose/types/models" />
|
|
13
|
+
/// <reference types="mongoose/types/mongooseoptions" />
|
|
14
|
+
/// <reference types="mongoose/types/pipelinestage" />
|
|
15
|
+
/// <reference types="mongoose/types/populate" />
|
|
16
|
+
/// <reference types="mongoose/types/query" />
|
|
17
|
+
/// <reference types="mongoose/types/schemaoptions" />
|
|
18
|
+
/// <reference types="mongoose/types/schematypes" />
|
|
19
|
+
/// <reference types="mongoose/types/session" />
|
|
20
|
+
/// <reference types="mongoose/types/types" />
|
|
21
|
+
/// <reference types="mongoose/types/utility" />
|
|
22
|
+
/// <reference types="mongoose/types/validation" />
|
|
23
|
+
/// <reference types="mongoose/types/virtuals" />
|
|
24
|
+
/// <reference types="mongoose/types/inferschematype" />
|
|
25
|
+
import { Types } from 'mongoose';
|
|
26
|
+
import { IAiTask, IAiTaskResearchManagerOutput } from './';
|
|
27
|
+
import { BaseModel, BaseSchema } from '../config';
|
|
28
|
+
export declare enum AITaskStatus {
|
|
29
|
+
CREATED = "created",
|
|
30
|
+
IN_PROGRESS = "inProgress",
|
|
31
|
+
DONE = "done",
|
|
32
|
+
FAILED = "failed",
|
|
33
|
+
IN_HUMAN_REVIEW = "inHumanReview"
|
|
34
|
+
}
|
|
35
|
+
export interface IAiTaskOutline extends BaseSchema {
|
|
36
|
+
aiTask: Types.ObjectId | IAiTask;
|
|
37
|
+
title: string;
|
|
38
|
+
order: number;
|
|
39
|
+
parentId: Types.ObjectId | IAiTaskResearchManagerOutput;
|
|
40
|
+
references: object[];
|
|
41
|
+
feedback: string;
|
|
42
|
+
reasoning: string;
|
|
43
|
+
}
|
|
44
|
+
export interface IAiTaskOutlineModel extends BaseModel<IAiTaskOutline> {
|
|
45
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AITaskStatus = void 0;
|
|
4
|
+
var AITaskStatus;
|
|
5
|
+
(function (AITaskStatus) {
|
|
6
|
+
AITaskStatus["CREATED"] = "created";
|
|
7
|
+
AITaskStatus["IN_PROGRESS"] = "inProgress";
|
|
8
|
+
AITaskStatus["DONE"] = "done";
|
|
9
|
+
AITaskStatus["FAILED"] = "failed";
|
|
10
|
+
AITaskStatus["IN_HUMAN_REVIEW"] = "inHumanReview";
|
|
11
|
+
})(AITaskStatus || (exports.AITaskStatus = AITaskStatus = {}));
|
package/dist/types/index.d.ts
CHANGED
|
@@ -63,4 +63,5 @@ import { ITeamMember, ITeamMemberModel } from './team-member.type';
|
|
|
63
63
|
import { ICompanySubOrganization, ICompanySubOrganizationModel } from './company-sub-organization.type';
|
|
64
64
|
import { IHighlightNote, IHighlightNoteModel } from './highlight-note.type';
|
|
65
65
|
import { IAiTaskResearchManagerOutput, IAiTaskResearchManagerOutputModel } from './ai-task-research-manager-output.type';
|
|
66
|
-
|
|
66
|
+
import { IAiTaskOutline, IAiTaskOutlineModel } from './ai-task-outline.type';
|
|
67
|
+
export { IAiConversation, IAiConversationModel, IAiAssistant, IAiAssistantModel, IAiConversationMessage, IAiConversationMessageModel, IAiConversationTrackingTask, IAiConversationTrackingTaskModel, IBackendError, IBackendErrorModel, IBadge, IBadgeModel, IBatchHistory, IBookmark, IBookmarkModel, ICompany, ICompanyModel, ICompanyCluster, ICompanyClusterModel, ICompanyFundingRound, ICompanyFundingRoundModel, ICompanyMarketing, ICompanyMarketingModel, ICompetitor, ICompetitorModel, ICompetitorAnalysis, ICompetitorAnalysisModel, IContactMessage, IContactMessageModel, IContactStartup, IContactStartupModel, IContent, IContentModel, IDraftVersion, IDraftVersionModel, IEvidenceLayout, IEvidenceLayoutModel, IEvidence, IEvidenceModel, IFaq, IFaqModel, IFeaturedTheme, IFeaturedThemeModel, IFoamTree, IFoamTreeModel, IFollowContent, IFollowContentModel, IGeneralConfigSub, IGeneralConfigSubModel, IGeneralConfig, IGeneralConfigModel, IImage, IImageModel, IIndustry, IIndustryModel, IInstantResearch, IInstantResearchModel, IInvestor, IInvestorModel, ILike, ILikeModel, INews, INewsModel, INotification, INotificationModel, IOtp, IOtpModel, IPortiaArticle, IPortiaArticleModel, IProblem, IProblemModel, IRelatedTheme, IRelatedThemeModel, ISearchHistory, ISearchHistoryModel, ISFCategory, ISFCategoryModel, ISFSubCategory, ISFSubCategoryModel, ISFTag, ISFTagModel, ISparkUseCase, ISparkUseCaseModel, ISpark, ISparkModel, IStartupVectorAnyEntity, IStartupVectorAnyEntityModel, ISuggest, ISuggestModel, ITechnology, ITechnologyModel, ITheme, IThemeModel, IToken, ITokenModel, IUpdateJob, IUpdateJobModel, IUseCaseDiscovery, IUseCaseDiscoveryModel, IUseCaseDiscoveryProblem, IUseCaseDiscoveryProblemModel, IUseCase, IUseCaseModel, IUserToken, IUserTokenModel, IUserVisit, IUserVisitModel, IUser, IUserModel, ICompetitorGrid, ICompetitorGridModel, AIStatus, IHighlight, IHighlightModel, IHighlightNote, IHighlightNoteModel, INewsHub, INewsHubModel, ITeam, ITeamModel, ITeamMember, ITeamMemberModel, IAiTask, IAiTaskModel, IAiTaskSubmission, IAiTaskSubmissionModel, ICompanySubOrganizationModel, ICompanySubOrganization, IAiTaskResearchManagerOutput, IAiTaskResearchManagerOutputModel, IAiTaskOutline, IAiTaskOutlineModel, };
|
|
@@ -108,6 +108,7 @@ export interface ISpark extends BaseSchema {
|
|
|
108
108
|
rawContent?: string;
|
|
109
109
|
isSentToEntramind: boolean;
|
|
110
110
|
forceSendToEntramind: boolean;
|
|
111
|
+
linkUseCaseOfCompanyToTheme: boolean;
|
|
111
112
|
cronJob: CronJob;
|
|
112
113
|
}
|
|
113
114
|
export interface GetAllSpark extends ISpark {
|