@cool-digital-solutions/interferir-models 1.3.31 → 1.3.32
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/index.d.ts +2 -1
- package/dist/schemas/index.js +3 -1
- package/dist/schemas/visionboard.schema.d.ts +28 -0
- package/dist/schemas/visionboard.schema.js +189 -0
- package/dist/types/index.d.ts +2 -1
- package/dist/types/visionboard.type.d.ts +151 -0
- package/dist/types/visionboard.type.js +2 -0
- package/package.json +1 -1
package/dist/schemas/index.d.ts
CHANGED
|
@@ -79,6 +79,7 @@ import AiTaskCurationManagerOutputSchema from './ai-task-curation-manager-output
|
|
|
79
79
|
import AiTaskCompanyRelatedCompanySchema from './ai-task-company-related-company.schema';
|
|
80
80
|
import AiTaskResearchManagerOutputSummarySubmissionSchema from './ai-task-research-manager-output-summary-submission.schema';
|
|
81
81
|
import AiTaskResearchManagerOutputSummarySchema from './ai-task-research-manager-output-summary.schema';
|
|
82
|
+
import VisionBoardSchema from './visionboard.schema';
|
|
82
83
|
import AiTaskResearchManagerOutputPresentationSubmissionSchema from './ai-task-research-manager-output-presentation-submission.schema';
|
|
83
84
|
import AiTaskResearchManagerOutputPresentationSchema from './ai-task-research-manager-output-presentation.schema';
|
|
84
|
-
export { AiTaskSchema, AiTaskSubmissionSchema, ThemeSchema, ProblemSchema, SFTagSchema, SFCategorySchema, SFSubCategorySchema, TechnologySchema, IndustrySchema, BackendErrorSchema, ImageSchema, SearchHistorySchema, TokenSchema, UserTokenSchema, UserSchema, CompanySchema, PortiaArticleSchema, InstantResearchSchema, ContactMessageSchema, ContactStartupSchema, 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, AiTaskShareSchema, BadgeSchema, AiTopUseCaseSchema, AiUseCaseAnalysisNodeSchema, AiUseCaseAnalysisSchema, AiHrCandidateSchema, AiHrCandidateCompanySchema, BugReportSchema, AiTaskUseCaseRelatedUseCaseSchema, AiWeeklyInsightSchema, AiTaskPortiaArticleRelatedPortiaArticleSchema, AiTaskNewsManagerOutputSchema, AiHrCandidateOutputSchema, AiHrCandidateTopCandidateSchema, AiHrCandidateProfileSchema, AiEntrapeerKnowledgeBaseSchema, AiTaskCurationManagerOutputSchema, AiTaskCompanyRelatedCompanySchema, AiTaskResearchManagerOutputSummarySubmissionSchema, AiTaskResearchManagerOutputSummarySchema, AiTaskResearchManagerOutputPresentationSubmissionSchema, AiTaskResearchManagerOutputPresentationSchema, };
|
|
85
|
+
export { AiTaskSchema, AiTaskSubmissionSchema, ThemeSchema, ProblemSchema, SFTagSchema, SFCategorySchema, SFSubCategorySchema, TechnologySchema, IndustrySchema, BackendErrorSchema, ImageSchema, SearchHistorySchema, TokenSchema, UserTokenSchema, UserSchema, CompanySchema, PortiaArticleSchema, InstantResearchSchema, ContactMessageSchema, ContactStartupSchema, 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, AiTaskShareSchema, BadgeSchema, AiTopUseCaseSchema, AiUseCaseAnalysisNodeSchema, AiUseCaseAnalysisSchema, AiHrCandidateSchema, AiHrCandidateCompanySchema, BugReportSchema, AiTaskUseCaseRelatedUseCaseSchema, AiWeeklyInsightSchema, AiTaskPortiaArticleRelatedPortiaArticleSchema, AiTaskNewsManagerOutputSchema, AiHrCandidateOutputSchema, AiHrCandidateTopCandidateSchema, AiHrCandidateProfileSchema, AiEntrapeerKnowledgeBaseSchema, AiTaskCurationManagerOutputSchema, AiTaskCompanyRelatedCompanySchema, AiTaskResearchManagerOutputSummarySubmissionSchema, AiTaskResearchManagerOutputSummarySchema, VisionBoardSchema, AiTaskResearchManagerOutputPresentationSubmissionSchema, AiTaskResearchManagerOutputPresentationSchema, };
|
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.UseCaseDiscoveryProblemSchema = exports.UseCaseDiscoverySchema = exports.UpdateJobSchema = 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.ContactStartupSchema = exports.ContactMessageSchema = exports.InstantResearchSchema = exports.PortiaArticleSchema = exports.CompanySchema = exports.UserSchema = exports.UserTokenSchema = exports.TokenSchema = exports.SearchHistorySchema = exports.ImageSchema = exports.BackendErrorSchema = exports.IndustrySchema = exports.TechnologySchema = exports.SFSubCategorySchema = exports.SFCategorySchema = exports.SFTagSchema = exports.ProblemSchema = exports.ThemeSchema = exports.AiTaskSubmissionSchema = exports.AiTaskSchema = void 0;
|
|
7
|
-
exports.AiTaskResearchManagerOutputPresentationSchema = exports.AiTaskResearchManagerOutputPresentationSubmissionSchema = exports.AiTaskResearchManagerOutputSummarySchema = exports.AiTaskResearchManagerOutputSummarySubmissionSchema = exports.AiTaskCompanyRelatedCompanySchema = exports.AiTaskCurationManagerOutputSchema = exports.AiEntrapeerKnowledgeBaseSchema = exports.AiHrCandidateProfileSchema = exports.AiHrCandidateTopCandidateSchema = exports.AiHrCandidateOutputSchema = exports.AiTaskNewsManagerOutputSchema = exports.AiTaskPortiaArticleRelatedPortiaArticleSchema = exports.AiWeeklyInsightSchema = exports.AiTaskUseCaseRelatedUseCaseSchema = exports.BugReportSchema = exports.AiHrCandidateCompanySchema = exports.AiHrCandidateSchema = exports.AiUseCaseAnalysisSchema = exports.AiUseCaseAnalysisNodeSchema = exports.AiTopUseCaseSchema = exports.BadgeSchema = exports.AiTaskShareSchema = exports.AiTaskOutlineSchema = exports.AiTaskResearchManagerOutputSchema = exports.HighlightNoteSchema = exports.CompanySubOrganizationSchema = exports.TeamMemberSchema = exports.TeamSchema = exports.AiAssistantSchema = exports.NewsHubSchema = exports.HighlightSchema = exports.FeaturedThemeSchema = exports.CompetitorAnalysisSchema = void 0;
|
|
7
|
+
exports.AiTaskResearchManagerOutputPresentationSchema = exports.AiTaskResearchManagerOutputPresentationSubmissionSchema = exports.VisionBoardSchema = exports.AiTaskResearchManagerOutputSummarySchema = exports.AiTaskResearchManagerOutputSummarySubmissionSchema = exports.AiTaskCompanyRelatedCompanySchema = exports.AiTaskCurationManagerOutputSchema = exports.AiEntrapeerKnowledgeBaseSchema = exports.AiHrCandidateProfileSchema = exports.AiHrCandidateTopCandidateSchema = exports.AiHrCandidateOutputSchema = exports.AiTaskNewsManagerOutputSchema = exports.AiTaskPortiaArticleRelatedPortiaArticleSchema = exports.AiWeeklyInsightSchema = exports.AiTaskUseCaseRelatedUseCaseSchema = exports.BugReportSchema = exports.AiHrCandidateCompanySchema = exports.AiHrCandidateSchema = exports.AiUseCaseAnalysisSchema = exports.AiUseCaseAnalysisNodeSchema = exports.AiTopUseCaseSchema = exports.BadgeSchema = exports.AiTaskShareSchema = exports.AiTaskOutlineSchema = exports.AiTaskResearchManagerOutputSchema = exports.HighlightNoteSchema = exports.CompanySubOrganizationSchema = exports.TeamMemberSchema = exports.TeamSchema = exports.AiAssistantSchema = exports.NewsHubSchema = exports.HighlightSchema = exports.FeaturedThemeSchema = exports.CompetitorAnalysisSchema = 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"));
|
|
@@ -167,6 +167,8 @@ const ai_task_research_manager_output_summary_submission_schema_1 = __importDefa
|
|
|
167
167
|
exports.AiTaskResearchManagerOutputSummarySubmissionSchema = ai_task_research_manager_output_summary_submission_schema_1.default;
|
|
168
168
|
const ai_task_research_manager_output_summary_schema_1 = __importDefault(require("./ai-task-research-manager-output-summary.schema"));
|
|
169
169
|
exports.AiTaskResearchManagerOutputSummarySchema = ai_task_research_manager_output_summary_schema_1.default;
|
|
170
|
+
const visionboard_schema_1 = __importDefault(require("./visionboard.schema"));
|
|
171
|
+
exports.VisionBoardSchema = visionboard_schema_1.default;
|
|
170
172
|
const ai_task_research_manager_output_presentation_submission_schema_1 = __importDefault(require("./ai-task-research-manager-output-presentation-submission.schema"));
|
|
171
173
|
exports.AiTaskResearchManagerOutputPresentationSubmissionSchema = ai_task_research_manager_output_presentation_submission_schema_1.default;
|
|
172
174
|
const ai_task_research_manager_output_presentation_schema_1 = __importDefault(require("./ai-task-research-manager-output-presentation.schema"));
|
|
@@ -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 { IVisionBoard, IVisionBoardModel } from '../types';
|
|
27
|
+
declare const visionBoardSchema: Schema<IVisionBoard, IVisionBoardModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IVisionBoard>;
|
|
28
|
+
export default visionBoardSchema;
|
|
@@ -0,0 +1,189 @@
|
|
|
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 visionBoardSchema = new mongoose_1.Schema({
|
|
10
|
+
companyId: { type: String, required: true },
|
|
11
|
+
companyName: { type: String },
|
|
12
|
+
reportTitle: { type: String },
|
|
13
|
+
researchDate: { type: Number, required: true },
|
|
14
|
+
useCaseList: [
|
|
15
|
+
{
|
|
16
|
+
id: { type: String, required: true },
|
|
17
|
+
title: { type: String, required: true },
|
|
18
|
+
description: { type: String },
|
|
19
|
+
url: { type: String, required: true },
|
|
20
|
+
industry: { type: String },
|
|
21
|
+
technologyStack: [String],
|
|
22
|
+
implementationTimeline: { type: String },
|
|
23
|
+
roiMetrics: { type: Map, of: String },
|
|
24
|
+
potentialValue: { type: String },
|
|
25
|
+
},
|
|
26
|
+
],
|
|
27
|
+
startups: [
|
|
28
|
+
{
|
|
29
|
+
id: { type: String, required: true },
|
|
30
|
+
name: { type: String },
|
|
31
|
+
foundingYear: { type: Number, default: 0 },
|
|
32
|
+
location: { type: String },
|
|
33
|
+
funding: { type: Map, of: mongoose_1.Schema.Types.Mixed },
|
|
34
|
+
valueProposition: { type: String },
|
|
35
|
+
technologyFocus: [String],
|
|
36
|
+
targetIndustries: [String],
|
|
37
|
+
competitiveThreatLevel: { type: String },
|
|
38
|
+
partnershipPotential: { type: String },
|
|
39
|
+
content: { type: String },
|
|
40
|
+
},
|
|
41
|
+
],
|
|
42
|
+
superUsecases: [
|
|
43
|
+
{
|
|
44
|
+
id: { type: String, required: true },
|
|
45
|
+
title: { type: String },
|
|
46
|
+
description: { type: String },
|
|
47
|
+
content: { type: String },
|
|
48
|
+
differentiationFactors: [String],
|
|
49
|
+
maturityLevel: { type: String },
|
|
50
|
+
potentialImpact: { type: String },
|
|
51
|
+
relatedUseCaseId: { type: String },
|
|
52
|
+
},
|
|
53
|
+
],
|
|
54
|
+
keyCompetitors: [
|
|
55
|
+
{
|
|
56
|
+
id: { type: String },
|
|
57
|
+
name: { type: String },
|
|
58
|
+
industryPosition: { type: String },
|
|
59
|
+
marketShare: { type: String },
|
|
60
|
+
strengths: [String],
|
|
61
|
+
weaknesses: [String],
|
|
62
|
+
},
|
|
63
|
+
],
|
|
64
|
+
keyCustomers: [
|
|
65
|
+
{
|
|
66
|
+
id: { type: String },
|
|
67
|
+
name: { type: String },
|
|
68
|
+
industry: { type: String },
|
|
69
|
+
relationshipLength: { type: String },
|
|
70
|
+
annualSpend: { type: String },
|
|
71
|
+
strategicImportance: { type: String },
|
|
72
|
+
},
|
|
73
|
+
],
|
|
74
|
+
clientActivities: [
|
|
75
|
+
{
|
|
76
|
+
id: { type: String },
|
|
77
|
+
customerName: { type: String },
|
|
78
|
+
activityType: { type: String },
|
|
79
|
+
description: { type: String },
|
|
80
|
+
content: { type: String },
|
|
81
|
+
date: { type: Number },
|
|
82
|
+
results: { type: String },
|
|
83
|
+
strategicRelevance: { type: String },
|
|
84
|
+
},
|
|
85
|
+
],
|
|
86
|
+
competitorActivities: [
|
|
87
|
+
{
|
|
88
|
+
id: { type: String },
|
|
89
|
+
competitorName: { type: String },
|
|
90
|
+
activityType: { type: String },
|
|
91
|
+
description: { type: String },
|
|
92
|
+
content: { type: String },
|
|
93
|
+
date: { type: Number },
|
|
94
|
+
marketImpact: { type: String },
|
|
95
|
+
technologiesInvolved: [String],
|
|
96
|
+
caterpillarResponseNeeded: { type: String },
|
|
97
|
+
},
|
|
98
|
+
],
|
|
99
|
+
news: [
|
|
100
|
+
{
|
|
101
|
+
id: { type: String },
|
|
102
|
+
date: { type: Number },
|
|
103
|
+
headline: { type: String },
|
|
104
|
+
source: { type: String },
|
|
105
|
+
impactOnCaterpillar: { type: String },
|
|
106
|
+
recommendedResponse: { type: String },
|
|
107
|
+
importance: { type: String },
|
|
108
|
+
content: { type: String },
|
|
109
|
+
},
|
|
110
|
+
],
|
|
111
|
+
regulation: [
|
|
112
|
+
{
|
|
113
|
+
id: { type: String },
|
|
114
|
+
date: { type: Number },
|
|
115
|
+
title: { type: String },
|
|
116
|
+
description: { type: String },
|
|
117
|
+
geographicalScope: { type: String },
|
|
118
|
+
impactOnCaterpillar: { type: String },
|
|
119
|
+
complianceDeadline: { type: Number },
|
|
120
|
+
complianceCostEstimate: { type: String },
|
|
121
|
+
content: { type: String },
|
|
122
|
+
},
|
|
123
|
+
],
|
|
124
|
+
marketData: {
|
|
125
|
+
totalAddressableMarket: { type: String },
|
|
126
|
+
caterpillarMarketShare: { type: String },
|
|
127
|
+
marketGrowthRate: { type: String },
|
|
128
|
+
segmentBreakdown: [
|
|
129
|
+
{
|
|
130
|
+
id: { type: String },
|
|
131
|
+
segment: { type: String },
|
|
132
|
+
marketSize: { type: String },
|
|
133
|
+
growthRate: { type: String },
|
|
134
|
+
caterpillarShare: { type: String },
|
|
135
|
+
},
|
|
136
|
+
],
|
|
137
|
+
technologyAdoptionTrends: [
|
|
138
|
+
{
|
|
139
|
+
id: { type: String },
|
|
140
|
+
technology: { type: String },
|
|
141
|
+
currentAdoption: { type: String },
|
|
142
|
+
fiveYearProjection: { type: String }, // Renamed from "5_year_projection"
|
|
143
|
+
caterpillarReadiness: { type: String },
|
|
144
|
+
},
|
|
145
|
+
],
|
|
146
|
+
},
|
|
147
|
+
focusAreasOfUseCases: [
|
|
148
|
+
{
|
|
149
|
+
id: { type: String },
|
|
150
|
+
focusArea: { type: String },
|
|
151
|
+
description: { type: String },
|
|
152
|
+
content: { type: String },
|
|
153
|
+
strategicImportance: { type: String },
|
|
154
|
+
relatedUseCaseIds: [String],
|
|
155
|
+
investmentRecommendation: { type: String },
|
|
156
|
+
expectedRoi: { type: String },
|
|
157
|
+
},
|
|
158
|
+
],
|
|
159
|
+
metadata: {
|
|
160
|
+
generatedDate: { type: Number },
|
|
161
|
+
dataSources: [String],
|
|
162
|
+
confidenceLevel: { type: String },
|
|
163
|
+
refreshRecommended: { type: Number },
|
|
164
|
+
aitaskId: { type: String },
|
|
165
|
+
},
|
|
166
|
+
createdBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
167
|
+
updatedBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
168
|
+
updatedDate: Number,
|
|
169
|
+
createdDate: Number,
|
|
170
|
+
}, _config_1.schemaOptions);
|
|
171
|
+
visionBoardSchema.pre('save', function (next) {
|
|
172
|
+
const user = express_http_context_1.default.get('user');
|
|
173
|
+
const notUpdatedBy = express_http_context_1.default.get('notUpdatedBy');
|
|
174
|
+
if (user) {
|
|
175
|
+
if (!this.createdBy)
|
|
176
|
+
this.createdBy = user._id;
|
|
177
|
+
if (!notUpdatedBy)
|
|
178
|
+
this.updatedBy = user._id;
|
|
179
|
+
}
|
|
180
|
+
next();
|
|
181
|
+
});
|
|
182
|
+
visionBoardSchema.pre('findOneAndUpdate', function (next) {
|
|
183
|
+
const user = express_http_context_1.default.get('user');
|
|
184
|
+
const notUpdatedBy = express_http_context_1.default.get('notUpdatedBy');
|
|
185
|
+
if (user && !notUpdatedBy)
|
|
186
|
+
this._update.updatedBy = user._id;
|
|
187
|
+
next();
|
|
188
|
+
});
|
|
189
|
+
exports.default = visionBoardSchema;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -82,6 +82,7 @@ import { IAiTaskCurationManagerOutput, IAiTaskCurationManagerOutputModel } from
|
|
|
82
82
|
import { IAiTaskCompanyRelatedCompany, IAiTaskCompanyRelatedCompanyModel } from './ai-task-company-related-company.type';
|
|
83
83
|
import { IAiTaskResearchManagerOutputSummarySubmission, IAiTaskResearchManagerOutputSummarySubmissionModel } from './ai-task-research-manager-output-summary-submission.type';
|
|
84
84
|
import { IAiTaskResearchManagerOutputSummary, IAiTaskResearchManagerOutputSummaryModel } from './ai-task-research-manager-output-summary.type';
|
|
85
|
+
import { IVisionBoard, IVisionBoardModel } from './visionboard.type';
|
|
85
86
|
import { IAiTaskResearchManagerOutputPresentationSubmission, IAiTaskResearchManagerOutputPresentationSubmissionModel } from './ai-task-research-manager-output-presentation-submission.type';
|
|
86
87
|
import { IAiTaskResearchManagerOutputPresentation, IAiTaskResearchManagerOutputPresentationModel } from './ai-task-research-manager-output-presentation.type';
|
|
87
|
-
export { IAiConversation, IAiConversationModel, IAiAssistant, IAiAssistantModel, IAiConversationMessage, IAiConversationMessageModel, IAiConversationTrackingTask, IAiConversationTrackingTaskModel, IBackendError, IBackendErrorModel, IBatchHistory, IBookmark, IBookmarkModel, ICompany, ICompanyModel, ICompanyCluster, ICompanyClusterModel, ICompanyFundingRound, ICompanyFundingRoundModel, ICompanyMarketing, ICompanyMarketingModel, ICompetitor, ICompetitorModel, ICompetitorAnalysis, ICompetitorAnalysisModel, IContactMessage, IContactMessageModel, IContactStartup, IContactStartupModel, IContent, IContentModel, IDraftVersion, IDraftVersionModel, 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, IAiTaskShare, IAiTaskShareModel, IBadge, IBadgeModel, IAiTopUseCase, IAiTopUseCaseModel, IAiUseCaseAnalysisNode, IAiUseCaseAnalysisNodeModel, IAiUseCaseAnalysis, IAiUseCaseAnalysisModel, IAiHrCandidate, IAiHrCandidateModel, IAiHrCandidateCompany, IAiHrCandidateCompanyModel, IBugReportModel, IBugReport, IAiTaskUseCaseRelatedUseCase, IAiTaskUseCaseRelatedUseCaseModel, IAiWeeklyInsight, IAiWeeklyInsightModel, IStrategyGameBoard, IStrategyGameBoardModel, IAiTaskPortiaArticleRelatedPortiaArticle, IAiTaskPortiaArticleRelatedPortiaArticleModel, IAiTaskNewsManagerOutput, IAiTaskNewsManagerOutputModel, IAiHrCandidateOutput, IAiHrCandidateOutputModel, IAiHrCandidateTopCandidate, IAiHrCandidateTopCandidateModel, IAiHrCandidateProfile, IAiHrCandidateProfileModel, IAiEntrapeerKnowledgeBase, IAiEntrapeerKnowledgeBaseModel, IAiTaskCurationManagerOutput, IAiTaskCurationManagerOutputModel, IAiTaskCompanyRelatedCompany, IAiTaskCompanyRelatedCompanyModel, IAiTaskResearchManagerOutputSummarySubmission, IAiTaskResearchManagerOutputSummarySubmissionModel, IAiTaskResearchManagerOutputSummary, IAiTaskResearchManagerOutputSummaryModel, IAiTaskResearchManagerOutputPresentationSubmission, IAiTaskResearchManagerOutputPresentationSubmissionModel, IAiTaskResearchManagerOutputPresentation, IAiTaskResearchManagerOutputPresentationModel, };
|
|
88
|
+
export { IAiConversation, IAiConversationModel, IAiAssistant, IAiAssistantModel, IAiConversationMessage, IAiConversationMessageModel, IAiConversationTrackingTask, IAiConversationTrackingTaskModel, IBackendError, IBackendErrorModel, IBatchHistory, IBookmark, IBookmarkModel, ICompany, ICompanyModel, ICompanyCluster, ICompanyClusterModel, ICompanyFundingRound, ICompanyFundingRoundModel, ICompanyMarketing, ICompanyMarketingModel, ICompetitor, ICompetitorModel, ICompetitorAnalysis, ICompetitorAnalysisModel, IContactMessage, IContactMessageModel, IContactStartup, IContactStartupModel, IContent, IContentModel, IDraftVersion, IDraftVersionModel, 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, IAiTaskShare, IAiTaskShareModel, IBadge, IBadgeModel, IAiTopUseCase, IAiTopUseCaseModel, IAiUseCaseAnalysisNode, IAiUseCaseAnalysisNodeModel, IAiUseCaseAnalysis, IAiUseCaseAnalysisModel, IAiHrCandidate, IAiHrCandidateModel, IAiHrCandidateCompany, IAiHrCandidateCompanyModel, IBugReportModel, IBugReport, IAiTaskUseCaseRelatedUseCase, IAiTaskUseCaseRelatedUseCaseModel, IAiWeeklyInsight, IAiWeeklyInsightModel, IStrategyGameBoard, IStrategyGameBoardModel, IAiTaskPortiaArticleRelatedPortiaArticle, IAiTaskPortiaArticleRelatedPortiaArticleModel, IAiTaskNewsManagerOutput, IAiTaskNewsManagerOutputModel, IAiHrCandidateOutput, IAiHrCandidateOutputModel, IAiHrCandidateTopCandidate, IAiHrCandidateTopCandidateModel, IAiHrCandidateProfile, IAiHrCandidateProfileModel, IAiEntrapeerKnowledgeBase, IAiEntrapeerKnowledgeBaseModel, IAiTaskCurationManagerOutput, IAiTaskCurationManagerOutputModel, IAiTaskCompanyRelatedCompany, IAiTaskCompanyRelatedCompanyModel, IAiTaskResearchManagerOutputSummarySubmission, IAiTaskResearchManagerOutputSummarySubmissionModel, IAiTaskResearchManagerOutputSummary, IAiTaskResearchManagerOutputSummaryModel, IVisionBoard, IVisionBoardModel, IAiTaskResearchManagerOutputPresentationSubmission, IAiTaskResearchManagerOutputPresentationSubmissionModel, IAiTaskResearchManagerOutputPresentation, IAiTaskResearchManagerOutputPresentationModel, };
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
import { BaseModel, BaseSchema } from '../config';
|
|
2
|
+
export interface UseCase {
|
|
3
|
+
id: string;
|
|
4
|
+
title: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
url: string;
|
|
7
|
+
industry?: string;
|
|
8
|
+
technologyStack?: string[];
|
|
9
|
+
implementationTimeline?: string;
|
|
10
|
+
roiMetrics?: Record<string, string>;
|
|
11
|
+
potentialValue?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface SuperUseCase {
|
|
14
|
+
id: string;
|
|
15
|
+
title?: string;
|
|
16
|
+
description?: string;
|
|
17
|
+
content?: string;
|
|
18
|
+
differentiationFactors?: string[];
|
|
19
|
+
maturityLevel?: string;
|
|
20
|
+
potentialImpact?: string;
|
|
21
|
+
relatedUseCaseId?: string;
|
|
22
|
+
}
|
|
23
|
+
export interface Startup {
|
|
24
|
+
id: string;
|
|
25
|
+
name?: string;
|
|
26
|
+
foundingYear?: number;
|
|
27
|
+
location?: string;
|
|
28
|
+
funding?: Record<string, any>;
|
|
29
|
+
valueProposition?: string;
|
|
30
|
+
technologyFocus?: string[];
|
|
31
|
+
targetIndustries?: string[];
|
|
32
|
+
competitiveThreatLevel?: string;
|
|
33
|
+
partnershipPotential?: string;
|
|
34
|
+
content?: string;
|
|
35
|
+
}
|
|
36
|
+
export interface Competitor {
|
|
37
|
+
id?: string;
|
|
38
|
+
name?: string;
|
|
39
|
+
industryPosition?: string;
|
|
40
|
+
marketShare?: string;
|
|
41
|
+
strengths?: string[];
|
|
42
|
+
weaknesses?: string[];
|
|
43
|
+
}
|
|
44
|
+
export interface Customer {
|
|
45
|
+
id?: string;
|
|
46
|
+
name?: string;
|
|
47
|
+
industry?: string;
|
|
48
|
+
relationshipLength?: string;
|
|
49
|
+
annualSpend?: string;
|
|
50
|
+
strategicImportance?: string;
|
|
51
|
+
}
|
|
52
|
+
export interface ClientActivity {
|
|
53
|
+
id?: string;
|
|
54
|
+
customerName?: string;
|
|
55
|
+
activityType?: string;
|
|
56
|
+
description?: string;
|
|
57
|
+
content?: string;
|
|
58
|
+
date?: number;
|
|
59
|
+
results?: string;
|
|
60
|
+
strategicRelevance?: string;
|
|
61
|
+
}
|
|
62
|
+
export interface CompetitorActivity {
|
|
63
|
+
id?: string;
|
|
64
|
+
competitorName?: string;
|
|
65
|
+
activityType?: string;
|
|
66
|
+
description?: string;
|
|
67
|
+
content?: string;
|
|
68
|
+
date?: number;
|
|
69
|
+
marketImpact?: string;
|
|
70
|
+
technologiesInvolved?: string[];
|
|
71
|
+
caterpillarResponseNeeded?: string;
|
|
72
|
+
}
|
|
73
|
+
export interface News {
|
|
74
|
+
id?: string;
|
|
75
|
+
date?: number;
|
|
76
|
+
headline?: string;
|
|
77
|
+
source?: string;
|
|
78
|
+
impactOnCaterpillar?: string;
|
|
79
|
+
recommendedResponse?: string;
|
|
80
|
+
importance?: string;
|
|
81
|
+
content?: string;
|
|
82
|
+
}
|
|
83
|
+
export interface Regulation {
|
|
84
|
+
id?: string;
|
|
85
|
+
date?: number;
|
|
86
|
+
title?: string;
|
|
87
|
+
description?: string;
|
|
88
|
+
geographicalScope?: string;
|
|
89
|
+
impactOnCaterpillar?: string;
|
|
90
|
+
complianceDeadline?: number;
|
|
91
|
+
complianceCostEstimate?: string;
|
|
92
|
+
content?: string;
|
|
93
|
+
}
|
|
94
|
+
export interface Segment {
|
|
95
|
+
id?: string;
|
|
96
|
+
segment?: string;
|
|
97
|
+
marketSize?: string;
|
|
98
|
+
growthRate?: string;
|
|
99
|
+
caterpillarShare?: string;
|
|
100
|
+
}
|
|
101
|
+
export interface Trend {
|
|
102
|
+
id?: string;
|
|
103
|
+
technology?: string;
|
|
104
|
+
currentAdoption?: string;
|
|
105
|
+
fiveYearProjection?: string;
|
|
106
|
+
caterpillarReadiness?: string;
|
|
107
|
+
}
|
|
108
|
+
export interface FocusArea {
|
|
109
|
+
id?: string;
|
|
110
|
+
focusArea?: string;
|
|
111
|
+
description?: string;
|
|
112
|
+
content?: string;
|
|
113
|
+
strategicImportance?: string;
|
|
114
|
+
relatedUseCaseIds?: string[];
|
|
115
|
+
investmentRecommendation?: string;
|
|
116
|
+
expectedRoi?: string;
|
|
117
|
+
}
|
|
118
|
+
export interface MarketData {
|
|
119
|
+
totalAddressableMarket?: string;
|
|
120
|
+
caterpillarMarketShare?: string;
|
|
121
|
+
marketGrowthRate?: string;
|
|
122
|
+
segmentBreakdown?: Segment[];
|
|
123
|
+
technologyAdoptionTrends?: Trend[];
|
|
124
|
+
}
|
|
125
|
+
export interface Metadata {
|
|
126
|
+
generatedDate?: number;
|
|
127
|
+
dataSources?: string[];
|
|
128
|
+
confidenceLevel?: string;
|
|
129
|
+
refreshRecommended?: number;
|
|
130
|
+
aitaskId?: string;
|
|
131
|
+
}
|
|
132
|
+
export interface IVisionBoard extends BaseSchema {
|
|
133
|
+
companyId: string;
|
|
134
|
+
companyName?: string;
|
|
135
|
+
reportTitle?: string;
|
|
136
|
+
researchDate: number;
|
|
137
|
+
useCaseList: UseCase[];
|
|
138
|
+
startups?: Startup[];
|
|
139
|
+
superUsecases: SuperUseCase[];
|
|
140
|
+
keyCompetitors?: Competitor[];
|
|
141
|
+
keyCustomers?: Customer[];
|
|
142
|
+
clientActivities?: ClientActivity[];
|
|
143
|
+
competitorActivities?: CompetitorActivity[];
|
|
144
|
+
news?: News[];
|
|
145
|
+
regulation?: Regulation[];
|
|
146
|
+
marketData?: MarketData;
|
|
147
|
+
focusAreasOfUseCases?: FocusArea[];
|
|
148
|
+
metadata?: Metadata;
|
|
149
|
+
}
|
|
150
|
+
export interface IVisionBoardModel extends BaseModel<IVisionBoard> {
|
|
151
|
+
}
|