@cool-digital-solutions/interferir-models 1.4.11 → 1.4.13
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 -7
- package/dist/index.js +4 -6
- package/dist/schemas/index.d.ts +2 -2
- package/dist/schemas/index.js +3 -3
- package/dist/schemas/{foam-tree.schema.d.ts → interest.schema.d.ts} +3 -3
- package/dist/schemas/{foam-tree.schema.js → interest.schema.js} +8 -18
- package/dist/types/index.d.ts +2 -3
- package/dist/types/interest.type.d.ts +7 -0
- package/package.json +1 -1
- package/dist/schemas/visionboard.schema.d.ts +0 -28
- package/dist/schemas/visionboard.schema.js +0 -204
- package/dist/types/foam-tree.type.d.ts +0 -79
- package/dist/types/foam-tree.type.js +0 -14
- package/dist/types/visionboard.type.d.ts +0 -189
- /package/dist/types/{visionboard.type.js → interest.type.js} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -44,7 +44,6 @@ import { IUseCaseDiscoveryProblem, IUseCaseDiscoveryProblemModel } from './types
|
|
|
44
44
|
import { IUserToken, IUserTokenModel } from './types/user-token.type';
|
|
45
45
|
import { IUserVisit, IUserVisitModel } from './types/user-visit.type';
|
|
46
46
|
import { IUser, IUserModel } from './types/user.type';
|
|
47
|
-
import { IFoamTree, IFoamTreeModel } from './types/foam-tree.type';
|
|
48
47
|
import { ICompetitorGrid, ICompetitorGridModel } from './types/competitor-grid.type';
|
|
49
48
|
import { IHighlight, IHighlightModel } from './types/highlight.type';
|
|
50
49
|
import { INewsHub, INewsHubModel } from './types/news-hub.type';
|
|
@@ -70,10 +69,9 @@ import { IAiWeeklyInsight, IAiWeeklyInsightModel } from './types/ai-weekly-insig
|
|
|
70
69
|
import { IStrategyGameBoard, IStrategyGameBoardModel } from './types/strategy-game-board.type';
|
|
71
70
|
import { IAiTaskPortiaArticleRelatedPortiaArticle, IAiTaskPortiaArticleRelatedPortiaArticleModel } from './types/ai-task-portia-article-related-portia-article.type';
|
|
72
71
|
import { IAiTaskNewsManagerOutput, IAiTaskNewsManagerOutputModel } from './types/ai-task-news-manager-output.type';
|
|
73
|
-
import { IPricingAdditionalBaseCredit, IPricingAdditionalBaseCreditModel, IPricingBaseCredit, IPricingBaseCreditModel, IAiEntrapeerKnowledgeBase, IAiEntrapeerKnowledgeBaseModel, IAiHrAssessment, IAiHrAssessmentModel, IAiHrAssessmentQuestion, IAiHrAssessmentQuestionModel, IAiHrCandidateOutput, IAiHrCandidateOutputModel, IAiHrCandidateProfile, IAiHrCandidateProfileModel, IAiHrCandidateTopCandidate, IAiHrCandidateTopCandidateModel, IAiHrInterview, IAiHrInterviewModel, IAiHrInterviewQuestion, IAiHrInterviewQuestionModel, IAiHrNote, IAiHrNoteModel, IAiHrReportStat, IAiHrReportStatModel, IAiTaskResearchManagerOutputPresentation, IAiTaskResearchManagerOutputPresentationModel, IAiTaskResearchManagerOutputPresentationSubmission, IAiTaskResearchManagerOutputPresentationSubmissionModel, IAiTaskResearchManagerOutputSummary, IAiTaskResearchManagerOutputSummaryModel, IAiTaskResearchManagerOutputSummarySubmission, IAiTaskResearchManagerOutputSummarySubmissionModel, IAiTaskResearchManagerOutputTranslationSubmission, IAiTaskResearchManagerOutputTranslationSubmissionModel, IPricingBaseCreditSub, IPricingBaseCreditSubModel, IPricingAiAssistantBaseCredit, IPricingAiAssistantBaseCreditModel, IAiAssistantCreditUsageModel, IAiAssistantCreditUsage, IPricingCompanyAiAssistantCredit, IPricingCompanyAiAssistantCreditModel, IPricingCompanyPlan, IPricingCompanyPlanModel, IAiHrFileUpload, IAiHrFileUploadModel, IAiHrUploadedCandidate, IAiHrUploadedCandidateModel, IEntityReference, IEntityReferenceModel } from './types';
|
|
72
|
+
import { IPricingAdditionalBaseCredit, IPricingAdditionalBaseCreditModel, IPricingBaseCredit, IPricingBaseCreditModel, IAiEntrapeerKnowledgeBase, IAiEntrapeerKnowledgeBaseModel, IAiHrAssessment, IAiHrAssessmentModel, IAiHrAssessmentQuestion, IAiHrAssessmentQuestionModel, IAiHrCandidateOutput, IAiHrCandidateOutputModel, IAiHrCandidateProfile, IAiHrCandidateProfileModel, IAiHrCandidateTopCandidate, IAiHrCandidateTopCandidateModel, IAiHrInterview, IAiHrInterviewModel, IAiHrInterviewQuestion, IAiHrInterviewQuestionModel, IAiHrNote, IAiHrNoteModel, IAiHrReportStat, IAiHrReportStatModel, IAiTaskResearchManagerOutputPresentation, IAiTaskResearchManagerOutputPresentationModel, IAiTaskResearchManagerOutputPresentationSubmission, IAiTaskResearchManagerOutputPresentationSubmissionModel, IAiTaskResearchManagerOutputSummary, IAiTaskResearchManagerOutputSummaryModel, IAiTaskResearchManagerOutputSummarySubmission, IAiTaskResearchManagerOutputSummarySubmissionModel, IAiTaskResearchManagerOutputTranslationSubmission, IAiTaskResearchManagerOutputTranslationSubmissionModel, IPricingBaseCreditSub, IPricingBaseCreditSubModel, IPricingAiAssistantBaseCredit, IPricingAiAssistantBaseCreditModel, IAiAssistantCreditUsageModel, IAiAssistantCreditUsage, IPricingCompanyAiAssistantCredit, IPricingCompanyAiAssistantCreditModel, IPricingCompanyPlan, IPricingCompanyPlanModel, IAiHrFileUpload, IAiHrFileUploadModel, IAiHrUploadedCandidate, IAiHrUploadedCandidateModel, IEntityReference, IEntityReferenceModel, IInterest, IInterestModel } from './types';
|
|
74
73
|
import { IAiTaskCurationManagerOutput, IAiTaskCurationManagerOutputModel } from './types/ai-task-curation-manager-output.type';
|
|
75
74
|
import { IAiTaskCompanyRelatedCompany, IAiTaskCompanyRelatedCompanyModel } from './types/ai-task-company-related-company.type';
|
|
76
|
-
import { IVisionBoard, IVisionBoardModel } from './types/visionboard.type';
|
|
77
75
|
import ThemeSchema from './schemas/theme.schema';
|
|
78
76
|
import ProblemSchema from './schemas/problem.schema';
|
|
79
77
|
import SFTagSchema from './schemas/sf-tag.schema';
|
|
@@ -120,7 +118,6 @@ import StartupVectorAnyEntitySchema from './schemas/startup-vector-any-entity.sc
|
|
|
120
118
|
import UseCaseDiscoverySchema from './schemas/use-case-discovery.schema';
|
|
121
119
|
import UseCaseDiscoveryProblemSchema from './schemas/use-case-discovery-problem.schema';
|
|
122
120
|
import CompetitorAnalysisSchema from './schemas/competitor-analysis.schema';
|
|
123
|
-
import FoamTreeSchema from './schemas/foam-tree.schema';
|
|
124
121
|
import FeaturedThemeSchema from './schemas/featured-theme.schema';
|
|
125
122
|
import CompetitorGridSchema from './schemas/competitor-grid.schema';
|
|
126
123
|
import HighlightSchema from './schemas/highlight.schema';
|
|
@@ -156,7 +153,6 @@ import AiTaskResearchManagerOutputSummarySubmissionSchema from './schemas/ai-tas
|
|
|
156
153
|
import AiTaskResearchManagerOutputSummarySchema from './schemas/ai-task-research-manager-output-summary.schema';
|
|
157
154
|
import AiTaskResearchManagerOutputPresentationSubmissionSchema from './schemas/ai-task-research-manager-output-presentation-submission.schema';
|
|
158
155
|
import AiTaskResearchManagerOutputPresentationSchema from './schemas/ai-task-research-manager-output-presentation.schema';
|
|
159
|
-
import VisionBoardSchema from './schemas/visionboard.schema';
|
|
160
156
|
import AiHrAssessmentQuestionSchema from './schemas/ai-hr-assessment-question.schema';
|
|
161
157
|
import AiHrAssessmentSchema from './schemas/ai-hr-assessment.schema';
|
|
162
158
|
import AiHrInterviewSchema from './schemas/ai-hr-interview.schema';
|
|
@@ -174,5 +170,6 @@ import PricingCompanyAiAssistantCreditSchema from './schemas/pricing-company-ai-
|
|
|
174
170
|
import AiHrFileUploadSchema from './schemas/ai-hr-file-upload.schema';
|
|
175
171
|
import AiHrUploadedCandidateSchema from './schemas/ai-hr-uploaded-candidate.schema';
|
|
176
172
|
import EntityReferenceSchema from './schemas/entity-reference.schema';
|
|
177
|
-
|
|
178
|
-
export {
|
|
173
|
+
import InterestSchema from './schemas/interest.schema';
|
|
174
|
+
export { IAiConversation, IAiConversationModel, IAiConversationMessage, IAiConversationMessageModel, IAiConversationTrackingTask, IAiConversationTrackingTaskModel, IAiAssistant, IAiAssistantModel, IBackendError, IBackendErrorModel, IBookmark, IBookmarkModel, ICompany, ICompanyModel, ICompanyCluster, ICompanyClusterModel, ICompanyMarketing, ICompanyMarketingModel, ICompetitor, ICompetitorModel, ICompetitorAnalysis, ICompetitorAnalysisModel, IContactMessage, IContactMessageModel, IContactStartup, IContactStartupModel, IContent, IContentModel, IDraftVersion, IDraftVersionModel, IFaq, IFaqModel, IFeaturedTheme, IFeaturedThemeModel, IFollowContent, IFollowContentModel, IGeneralConfigSub, IGeneralConfigSubModel, IGeneralConfig, IGeneralConfigModel, IImage, IImageModel, IIndustry, IIndustryModel, 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, IUseCase, IUseCaseModel, IUseCaseDiscovery, IUseCaseDiscoveryModel, IUseCaseDiscoveryProblem, IUseCaseDiscoveryProblemModel, IUserToken, IUserTokenModel, IUserVisit, IUserVisitModel, IUser, IUserModel, ICompetitorGrid, ICompetitorGridModel, IHighlight, IHighlightModel, IHighlightNote, IHighlightNoteModel, INewsHub, INewsHubModel, ITeam, ITeamModel, ITeamMember, ITeamMemberModel, IAiTask, IAiTaskModel, IAiTaskSubmission, IAiTaskSubmissionModel, ICompanySubOrganization, ICompanySubOrganizationModel, 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, IAiTaskCompanyRelatedCompanyModel, IAiTaskCompanyRelatedCompany, IAiTaskResearchManagerOutputSummarySubmission, IAiTaskResearchManagerOutputSummarySubmissionModel, IAiTaskResearchManagerOutputSummary, IAiTaskResearchManagerOutputSummaryModel, IAiTaskResearchManagerOutputPresentationSubmission, IAiTaskResearchManagerOutputPresentationSubmissionModel, IAiTaskResearchManagerOutputPresentation, IAiTaskResearchManagerOutputPresentationModel, IAiHrAssessmentQuestion, IAiHrAssessmentQuestionModel, IAiHrAssessment, IAiHrAssessmentModel, IAiHrInterview, IAiHrInterviewModel, IAiHrInterviewQuestion, IAiHrInterviewQuestionModel, IAiHrNote, IAiHrNoteModel, IAiHrReportStat, IAiHrReportStatModel, IAiTaskResearchManagerOutputTranslationSubmission, IAiTaskResearchManagerOutputTranslationSubmissionModel, IPricingBaseCredit, IPricingBaseCreditModel, IPricingBaseCreditSub, IPricingBaseCreditSubModel, IPricingAdditionalBaseCredit, IPricingAdditionalBaseCreditModel, IPricingAiAssistantBaseCredit, IPricingAiAssistantBaseCreditModel, IPricingCompanyAiAssistantCredit, IPricingCompanyAiAssistantCreditModel, IPricingCompanyPlan, IPricingCompanyPlanModel, IAiAssistantCreditUsage, IAiAssistantCreditUsageModel, IAiHrFileUpload, IAiHrFileUploadModel, IAiHrUploadedCandidate, IAiHrUploadedCandidateModel, IEntityReference, IEntityReferenceModel, IInterest, IInterestModel, };
|
|
175
|
+
export { BadgeSchema, AiTaskSchema, AiTaskSubmissionSchema, ThemeSchema, ProblemSchema, SFTagSchema, SFCategorySchema, SFSubCategorySchema, TechnologySchema, IndustrySchema, BackendErrorSchema, ImageSchema, SearchHistorySchema, TokenSchema, UserTokenSchema, UserSchema, CompanySchema, PortiaArticleSchema, ContactMessageSchema, ContactStartupSchema, ContentSchema, FaqSchema, UseCaseSchema, NewsSchema, LikeSchema, SparkSchema, SparkUseCaseSchema, FollowContentSchema, GeneralConfigSchema, GeneralConfigSubSchema, DraftVersionSchema, NotificationSchema, OtpSchema, SuggestSchema, UserVisitSchema, CompetitorSchema, BookmarkSchema, AiConversationSchema, AiConversationMessageSchema, AiConversationTrackingTaskSchema, CompanyClusterSchema, CompanyMarketingSchema, InvestorSchema, RelatedThemeSchema, StartupVectorAnyEntitySchema, UseCaseDiscoverySchema, UseCaseDiscoveryProblemSchema, CompetitorAnalysisSchema, FeaturedThemeSchema, CompetitorGridSchema, HighlightSchema, NewsHubSchema, AiAssistantSchema, TeamSchema, TeamMemberSchema, CompanySubOrganizationSchema, HighlightNoteSchema, AiTaskResearchManagerOutputSchema, AiTaskOutlineSchema, AiTaskShareSchema, AiTopUseCaseSchema, AiUseCaseAnalysisNodeSchema, AiUseCaseAnalysisSchema, AiHrCandidateSchema, AiHrCandidateCompanySchema, BugReportSchema, AiTaskUseCaseRelatedUseCaseSchema, AiWeeklyInsightSchema, StrategyGameBoardSchema, AiTaskPortiaArticleRelatedPortiaArticleSchema, AiTaskNewsManagerOutputSchema, AiHrCandidateOutputSchema, AiHrCandidateTopCandidateSchema, AiHrCandidateProfileSchema, AiEntrapeerKnowledgeBaseSchema, AiTaskCurationManagerOutputSchema, AiTaskCompanyRelatedCompanySchema, AiTaskResearchManagerOutputSummarySubmissionSchema, AiTaskResearchManagerOutputSummarySchema, AiTaskResearchManagerOutputPresentationSubmissionSchema, AiTaskResearchManagerOutputPresentationSchema, AiHrAssessmentQuestionSchema, AiHrAssessmentSchema, AiHrInterviewSchema, AiHrInterviewQuestionSchema, AiHrNoteSchema, AiHrReportStatSchema, AiTaskResearchManagerOutputTranslationSubmissionSchema, PricingBaseCreditSchema, PricingBaseCreditSubSchema, PricingAdditionalBaseCreditSchema, PricingAiAssistantBaseCreditSchema, PricingAiAssistantCreditUsageSchema, PricingCompanyPlanSchema, PricingCompanyAiAssistantCreditSchema, AiHrFileUploadSchema, AiHrUploadedCandidateSchema, EntityReferenceSchema, InterestSchema, };
|
package/dist/index.js
CHANGED
|
@@ -3,8 +3,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
7
|
-
exports.EntityReferenceSchema = exports.AiHrUploadedCandidateSchema = exports.AiHrFileUploadSchema = exports.PricingCompanyAiAssistantCreditSchema = exports.PricingCompanyPlanSchema = exports.PricingAiAssistantCreditUsageSchema = exports.PricingAiAssistantBaseCreditSchema = exports.PricingAdditionalBaseCreditSchema = exports.PricingBaseCreditSubSchema = exports.PricingBaseCreditSchema = exports.AiTaskResearchManagerOutputTranslationSubmissionSchema = exports.AiHrReportStatSchema = exports.AiHrNoteSchema = exports.AiHrInterviewQuestionSchema = exports.AiHrInterviewSchema = exports.AiHrAssessmentSchema = exports.AiHrAssessmentQuestionSchema = exports.
|
|
6
|
+
exports.CompetitorGridSchema = exports.FeaturedThemeSchema = exports.CompetitorAnalysisSchema = exports.UseCaseDiscoveryProblemSchema = exports.UseCaseDiscoverySchema = exports.StartupVectorAnyEntitySchema = exports.RelatedThemeSchema = exports.InvestorSchema = exports.CompanyMarketingSchema = exports.CompanyClusterSchema = exports.AiConversationTrackingTaskSchema = exports.AiConversationMessageSchema = exports.AiConversationSchema = exports.BookmarkSchema = 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.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 = exports.BadgeSchema = void 0;
|
|
7
|
+
exports.InterestSchema = exports.EntityReferenceSchema = exports.AiHrUploadedCandidateSchema = exports.AiHrFileUploadSchema = exports.PricingCompanyAiAssistantCreditSchema = exports.PricingCompanyPlanSchema = exports.PricingAiAssistantCreditUsageSchema = exports.PricingAiAssistantBaseCreditSchema = exports.PricingAdditionalBaseCreditSchema = exports.PricingBaseCreditSubSchema = exports.PricingBaseCreditSchema = exports.AiTaskResearchManagerOutputTranslationSubmissionSchema = exports.AiHrReportStatSchema = exports.AiHrNoteSchema = exports.AiHrInterviewQuestionSchema = exports.AiHrInterviewSchema = exports.AiHrAssessmentSchema = exports.AiHrAssessmentQuestionSchema = 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.StrategyGameBoardSchema = exports.AiWeeklyInsightSchema = exports.AiTaskUseCaseRelatedUseCaseSchema = exports.BugReportSchema = exports.AiHrCandidateCompanySchema = exports.AiHrCandidateSchema = exports.AiUseCaseAnalysisSchema = exports.AiUseCaseAnalysisNodeSchema = exports.AiTopUseCaseSchema = exports.AiTaskShareSchema = exports.AiTaskOutlineSchema = exports.AiTaskResearchManagerOutputSchema = exports.HighlightNoteSchema = exports.CompanySubOrganizationSchema = exports.TeamMemberSchema = exports.TeamSchema = exports.AiAssistantSchema = exports.NewsHubSchema = exports.HighlightSchema = 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"));
|
|
@@ -97,8 +97,6 @@ const use_case_discovery_problem_schema_1 = __importDefault(require("./schemas/u
|
|
|
97
97
|
exports.UseCaseDiscoveryProblemSchema = use_case_discovery_problem_schema_1.default;
|
|
98
98
|
const competitor_analysis_schema_1 = __importDefault(require("./schemas/competitor-analysis.schema"));
|
|
99
99
|
exports.CompetitorAnalysisSchema = competitor_analysis_schema_1.default;
|
|
100
|
-
const foam_tree_schema_1 = __importDefault(require("./schemas/foam-tree.schema"));
|
|
101
|
-
exports.FoamTreeSchema = foam_tree_schema_1.default;
|
|
102
100
|
const featured_theme_schema_1 = __importDefault(require("./schemas/featured-theme.schema"));
|
|
103
101
|
exports.FeaturedThemeSchema = featured_theme_schema_1.default;
|
|
104
102
|
const competitor_grid_schema_1 = __importDefault(require("./schemas/competitor-grid.schema"));
|
|
@@ -169,8 +167,6 @@ const ai_task_research_manager_output_presentation_submission_schema_1 = __impor
|
|
|
169
167
|
exports.AiTaskResearchManagerOutputPresentationSubmissionSchema = ai_task_research_manager_output_presentation_submission_schema_1.default;
|
|
170
168
|
const ai_task_research_manager_output_presentation_schema_1 = __importDefault(require("./schemas/ai-task-research-manager-output-presentation.schema"));
|
|
171
169
|
exports.AiTaskResearchManagerOutputPresentationSchema = ai_task_research_manager_output_presentation_schema_1.default;
|
|
172
|
-
const visionboard_schema_1 = __importDefault(require("./schemas/visionboard.schema"));
|
|
173
|
-
exports.VisionBoardSchema = visionboard_schema_1.default;
|
|
174
170
|
const ai_hr_assessment_question_schema_1 = __importDefault(require("./schemas/ai-hr-assessment-question.schema"));
|
|
175
171
|
exports.AiHrAssessmentQuestionSchema = ai_hr_assessment_question_schema_1.default;
|
|
176
172
|
const ai_hr_assessment_schema_1 = __importDefault(require("./schemas/ai-hr-assessment.schema"));
|
|
@@ -205,3 +201,5 @@ const ai_hr_uploaded_candidate_schema_1 = __importDefault(require("./schemas/ai-
|
|
|
205
201
|
exports.AiHrUploadedCandidateSchema = ai_hr_uploaded_candidate_schema_1.default;
|
|
206
202
|
const entity_reference_schema_1 = __importDefault(require("./schemas/entity-reference.schema"));
|
|
207
203
|
exports.EntityReferenceSchema = entity_reference_schema_1.default;
|
|
204
|
+
const interest_schema_1 = __importDefault(require("./schemas/interest.schema"));
|
|
205
|
+
exports.InterestSchema = interest_schema_1.default;
|
package/dist/schemas/index.d.ts
CHANGED
|
@@ -75,7 +75,6 @@ import AiTaskCurationManagerOutputSchema from './ai-task-curation-manager-output
|
|
|
75
75
|
import AiTaskCompanyRelatedCompanySchema from './ai-task-company-related-company.schema';
|
|
76
76
|
import AiTaskResearchManagerOutputSummarySubmissionSchema from './ai-task-research-manager-output-summary-submission.schema';
|
|
77
77
|
import AiTaskResearchManagerOutputSummarySchema from './ai-task-research-manager-output-summary.schema';
|
|
78
|
-
import VisionBoardSchema from './visionboard.schema';
|
|
79
78
|
import AiTaskResearchManagerOutputPresentationSubmissionSchema from './ai-task-research-manager-output-presentation-submission.schema';
|
|
80
79
|
import AiTaskResearchManagerOutputPresentationSchema from './ai-task-research-manager-output-presentation.schema';
|
|
81
80
|
import AiHrAssessmentQuestionSchema from './ai-hr-assessment-question.schema';
|
|
@@ -95,4 +94,5 @@ import PricingAiAssistantCreditUsageSchema from './pricing-ai-assistant-credit-u
|
|
|
95
94
|
import AiHrFileUploadSchema from './ai-hr-file-upload.schema';
|
|
96
95
|
import AiHrUploadedCandidateSchema from './ai-hr-uploaded-candidate.schema';
|
|
97
96
|
import EntityReferenceSchema from './entity-reference.schema';
|
|
98
|
-
|
|
97
|
+
import InterestSchema from './interest.schema';
|
|
98
|
+
export { AiTaskSchema, AiTaskSubmissionSchema, ThemeSchema, ProblemSchema, SFTagSchema, SFCategorySchema, SFSubCategorySchema, TechnologySchema, IndustrySchema, BackendErrorSchema, ImageSchema, SearchHistorySchema, TokenSchema, UserTokenSchema, UserSchema, CompanySchema, PortiaArticleSchema, ContactMessageSchema, ContactStartupSchema, ContentSchema, FaqSchema, UseCaseSchema, NewsSchema, LikeSchema, SparkSchema, SparkUseCaseSchema, FollowContentSchema, GeneralConfigSchema, GeneralConfigSubSchema, DraftVersionSchema, NotificationSchema, OtpSchema, SuggestSchema, UserVisitSchema, CompetitorSchema, BookmarkSchema, AiConversationSchema, AiConversationMessageSchema, AiConversationTrackingTaskSchema, CompanyClusterSchema, CompanyMarketingSchema, InvestorSchema, RelatedThemeSchema, StartupVectorAnyEntitySchema, 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, AiHrAssessmentQuestionSchema, AiHrAssessmentSchema, AiHrInterviewSchema, AiHrInterviewQuestionSchema, AiHrNoteSchema, AiHrReportStatSchema, AiTaskResearchManagerOutputTranslationSubmissionSchema, PricingBaseCreditSchema, PricingBaseCreditSubSchema, PricingAdditionalBaseCreditSchema, PricingAiAssistantBaseCreditSchema, PricingCompanyPlanSchema, PricingCompanyAiAssistantCreditSchema, PricingAiAssistantCreditUsageSchema, AiHrFileUploadSchema, AiHrUploadedCandidateSchema, EntityReferenceSchema, InterestSchema };
|
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.NewsHubSchema = exports.HighlightSchema = exports.FeaturedThemeSchema = exports.CompetitorAnalysisSchema = exports.UseCaseDiscoveryProblemSchema = exports.UseCaseDiscoverySchema = exports.StartupVectorAnyEntitySchema = exports.RelatedThemeSchema = exports.InvestorSchema = exports.CompanyMarketingSchema = exports.CompanyClusterSchema = exports.AiConversationTrackingTaskSchema = exports.AiConversationMessageSchema = exports.AiConversationSchema = exports.BookmarkSchema = 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.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.EntityReferenceSchema = exports.AiHrUploadedCandidateSchema = exports.AiHrFileUploadSchema = exports.PricingAiAssistantCreditUsageSchema = exports.PricingCompanyAiAssistantCreditSchema = exports.PricingCompanyPlanSchema = exports.PricingAiAssistantBaseCreditSchema = exports.PricingAdditionalBaseCreditSchema = exports.PricingBaseCreditSubSchema = exports.PricingBaseCreditSchema = exports.AiTaskResearchManagerOutputTranslationSubmissionSchema = exports.AiHrReportStatSchema = exports.AiHrNoteSchema = exports.AiHrInterviewQuestionSchema = exports.AiHrInterviewSchema = exports.AiHrAssessmentSchema = exports.AiHrAssessmentQuestionSchema = exports.AiTaskResearchManagerOutputPresentationSchema = exports.AiTaskResearchManagerOutputPresentationSubmissionSchema = exports.
|
|
7
|
+
exports.InterestSchema = exports.EntityReferenceSchema = exports.AiHrUploadedCandidateSchema = exports.AiHrFileUploadSchema = exports.PricingAiAssistantCreditUsageSchema = exports.PricingCompanyAiAssistantCreditSchema = exports.PricingCompanyPlanSchema = exports.PricingAiAssistantBaseCreditSchema = exports.PricingAdditionalBaseCreditSchema = exports.PricingBaseCreditSubSchema = exports.PricingBaseCreditSchema = exports.AiTaskResearchManagerOutputTranslationSubmissionSchema = exports.AiHrReportStatSchema = exports.AiHrNoteSchema = exports.AiHrInterviewQuestionSchema = exports.AiHrInterviewSchema = exports.AiHrAssessmentSchema = exports.AiHrAssessmentQuestionSchema = 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 = 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"));
|
|
@@ -159,8 +159,6 @@ const ai_task_research_manager_output_summary_submission_schema_1 = __importDefa
|
|
|
159
159
|
exports.AiTaskResearchManagerOutputSummarySubmissionSchema = ai_task_research_manager_output_summary_submission_schema_1.default;
|
|
160
160
|
const ai_task_research_manager_output_summary_schema_1 = __importDefault(require("./ai-task-research-manager-output-summary.schema"));
|
|
161
161
|
exports.AiTaskResearchManagerOutputSummarySchema = ai_task_research_manager_output_summary_schema_1.default;
|
|
162
|
-
const visionboard_schema_1 = __importDefault(require("./visionboard.schema"));
|
|
163
|
-
exports.VisionBoardSchema = visionboard_schema_1.default;
|
|
164
162
|
const ai_task_research_manager_output_presentation_submission_schema_1 = __importDefault(require("./ai-task-research-manager-output-presentation-submission.schema"));
|
|
165
163
|
exports.AiTaskResearchManagerOutputPresentationSubmissionSchema = ai_task_research_manager_output_presentation_submission_schema_1.default;
|
|
166
164
|
const ai_task_research_manager_output_presentation_schema_1 = __importDefault(require("./ai-task-research-manager-output-presentation.schema"));
|
|
@@ -199,3 +197,5 @@ const ai_hr_uploaded_candidate_schema_1 = __importDefault(require("./ai-hr-uploa
|
|
|
199
197
|
exports.AiHrUploadedCandidateSchema = ai_hr_uploaded_candidate_schema_1.default;
|
|
200
198
|
const entity_reference_schema_1 = __importDefault(require("./entity-reference.schema"));
|
|
201
199
|
exports.EntityReferenceSchema = entity_reference_schema_1.default;
|
|
200
|
+
const interest_schema_1 = __importDefault(require("./interest.schema"));
|
|
201
|
+
exports.InterestSchema = interest_schema_1.default;
|
|
@@ -23,6 +23,6 @@
|
|
|
23
23
|
/// <reference types="mongoose/types/virtuals" />
|
|
24
24
|
/// <reference types="mongoose/types/inferschematype" />
|
|
25
25
|
import { Schema } from 'mongoose';
|
|
26
|
-
import {
|
|
27
|
-
declare const
|
|
28
|
-
export default
|
|
26
|
+
import { IInterest, IInterestModel } from '../types';
|
|
27
|
+
declare const interestSchema: Schema<IInterest, IInterestModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IInterest>;
|
|
28
|
+
export default interestSchema;
|
|
@@ -6,25 +6,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
const mongoose_1 = require("mongoose");
|
|
7
7
|
const express_http_context_1 = __importDefault(require("express-http-context"));
|
|
8
8
|
const _config_1 = require("../config");
|
|
9
|
-
const
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
companyList: [{ type: mongoose_1.Schema.Types.ObjectId, ref: 'Company' }],
|
|
13
|
-
themeList: [{ type: mongoose_1.Schema.Types.ObjectId, ref: 'Theme' }],
|
|
14
|
-
sfIndustries: [{ _id: mongoose_1.Schema.Types.ObjectId, name: String }],
|
|
15
|
-
sfTechnologies: [{ _id: mongoose_1.Schema.Types.ObjectId, name: String }],
|
|
16
|
-
countries: [{ type: String, default: [] }],
|
|
17
|
-
dropdown: { type: String, default: '' },
|
|
18
|
-
parentClustering: [{ type: String, default: [] }],
|
|
19
|
-
resultClustering: [{ type: String, default: [] }],
|
|
20
|
-
accuracy: { type: Number, default: 0 },
|
|
21
|
-
query: { type: String, default: '' },
|
|
9
|
+
const interestSchema = new mongoose_1.Schema({
|
|
10
|
+
name: { type: String, required: true },
|
|
11
|
+
description: { type: String, required: false, default: '' },
|
|
22
12
|
createdBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
23
13
|
updatedBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
24
|
-
updatedDate:
|
|
25
|
-
createdDate:
|
|
14
|
+
updatedDate: Number,
|
|
15
|
+
createdDate: Number,
|
|
26
16
|
}, _config_1.schemaOptions);
|
|
27
|
-
|
|
17
|
+
interestSchema.pre('save', function (next) {
|
|
28
18
|
const user = express_http_context_1.default.get('user');
|
|
29
19
|
const notUpdatedBy = express_http_context_1.default.get('notUpdatedBy');
|
|
30
20
|
if (user) {
|
|
@@ -35,11 +25,11 @@ foamTreeSchema.pre('save', function (next) {
|
|
|
35
25
|
}
|
|
36
26
|
next();
|
|
37
27
|
});
|
|
38
|
-
|
|
28
|
+
interestSchema.pre('findOneAndUpdate', function (next) {
|
|
39
29
|
const user = express_http_context_1.default.get('user');
|
|
40
30
|
const notUpdatedBy = express_http_context_1.default.get('notUpdatedBy');
|
|
41
31
|
if (user && !notUpdatedBy)
|
|
42
32
|
this._update.updatedBy = user._id;
|
|
43
33
|
next();
|
|
44
34
|
});
|
|
45
|
-
exports.default =
|
|
35
|
+
exports.default = interestSchema;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -12,7 +12,6 @@ import { IContent, IContentModel } from './content.type';
|
|
|
12
12
|
import { IDraftVersion, IDraftVersionModel } from './draft-version.type';
|
|
13
13
|
import { IFaq, IFaqModel } from './faq.type';
|
|
14
14
|
import { IFeaturedTheme, IFeaturedThemeModel } from './featured-theme.type';
|
|
15
|
-
import { IFoamTree, IFoamTreeModel } from './foam-tree.type';
|
|
16
15
|
import { IFollowContent, IFollowContentModel } from './follow-content.type';
|
|
17
16
|
import { IGeneralConfigSub, IGeneralConfigSubModel } from './general-config-sub.type';
|
|
18
17
|
import { IGeneralConfig, IGeneralConfigModel } from './general-config.type';
|
|
@@ -78,7 +77,6 @@ import { IAiTaskCurationManagerOutput, IAiTaskCurationManagerOutputModel } from
|
|
|
78
77
|
import { IAiTaskCompanyRelatedCompany, IAiTaskCompanyRelatedCompanyModel } from './ai-task-company-related-company.type';
|
|
79
78
|
import { IAiTaskResearchManagerOutputSummarySubmission, IAiTaskResearchManagerOutputSummarySubmissionModel } from './ai-task-research-manager-output-summary-submission.type';
|
|
80
79
|
import { IAiTaskResearchManagerOutputSummary, IAiTaskResearchManagerOutputSummaryModel } from './ai-task-research-manager-output-summary.type';
|
|
81
|
-
import { IVisionBoard, IVisionBoardModel } from './visionboard.type';
|
|
82
80
|
import { IAiTaskResearchManagerOutputPresentationSubmission, IAiTaskResearchManagerOutputPresentationSubmissionModel } from './ai-task-research-manager-output-presentation-submission.type';
|
|
83
81
|
import { IAiTaskResearchManagerOutputPresentation, IAiTaskResearchManagerOutputPresentationModel } from './ai-task-research-manager-output-presentation.type';
|
|
84
82
|
import { IAiHrAssessmentQuestion, IAiHrAssessmentQuestionModel } from './ai-hr-assessment-question.type';
|
|
@@ -98,4 +96,5 @@ import { IAiAssistantCreditUsage, IAiAssistantCreditUsageModel } from './pricing
|
|
|
98
96
|
import { IAiHrFileUpload, IAiHrFileUploadModel } from './ai-hr-file-upload.type';
|
|
99
97
|
import { IAiHrUploadedCandidate, IAiHrUploadedCandidateModel } from './ai-hr-uploaded-candidate.type';
|
|
100
98
|
import { IEntityReference, IEntityReferenceModel } from './entity-reference.type';
|
|
101
|
-
|
|
99
|
+
import { IInterest, IInterestModel } from './interest.type';
|
|
100
|
+
export { IAiConversation, IAiConversationModel, IAiAssistant, IAiAssistantModel, IAiConversationMessage, IAiConversationMessageModel, IAiConversationTrackingTask, IAiConversationTrackingTaskModel, IBackendError, IBackendErrorModel, IBookmark, IBookmarkModel, ICompany, ICompanyModel, ICompanyCluster, ICompanyClusterModel, ICompanyMarketing, ICompanyMarketingModel, ICompetitor, ICompetitorModel, ICompetitorAnalysis, ICompetitorAnalysisModel, IContactMessage, IContactMessageModel, IContactStartup, IContactStartupModel, IContent, IContentModel, IDraftVersion, IDraftVersionModel, IFaq, IFaqModel, IFeaturedTheme, IFeaturedThemeModel, IFollowContent, IFollowContentModel, IGeneralConfigSub, IGeneralConfigSubModel, IGeneralConfig, IGeneralConfigModel, IImage, IImageModel, IIndustry, IIndustryModel, 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, 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, IAiHrAssessmentQuestion, IAiHrAssessmentQuestionModel, IAiHrAssessment, IAiHrAssessmentModel, IAiHrInterview, IAiHrInterviewModel, IAiHrInterviewQuestion, IAiHrInterviewQuestionModel, IAiHrNote, IAiHrNoteModel, IAiHrReportStat, IAiHrReportStatModel, IAiTaskResearchManagerOutputTranslationSubmission, IAiTaskResearchManagerOutputTranslationSubmissionModel, IPricingBaseCredit, IPricingBaseCreditModel, IPricingBaseCreditSub, IPricingBaseCreditSubModel, IPricingAdditionalBaseCredit, IPricingAdditionalBaseCreditModel, IPricingAiAssistantBaseCredit, IPricingAiAssistantBaseCreditModel, IPricingCompanyPlan, IPricingCompanyPlanModel, IPricingCompanyAiAssistantCredit, IPricingCompanyAiAssistantCreditModel, IAiAssistantCreditUsage, IAiAssistantCreditUsageModel, IAiHrFileUpload, IAiHrFileUploadModel, IAiHrUploadedCandidate, IAiHrUploadedCandidateModel, IEntityReference, IEntityReferenceModel, IInterest, IInterestModel, };
|
package/package.json
CHANGED
|
@@ -1,28 +0,0 @@
|
|
|
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;
|
|
@@ -1,204 +0,0 @@
|
|
|
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: mongoose_1.Schema.Types.ObjectId, ref: 'Company' },
|
|
11
|
-
companyName: { type: String },
|
|
12
|
-
reportTitle: { type: String },
|
|
13
|
-
researchDate: { type: Number, required: true },
|
|
14
|
-
sections: [
|
|
15
|
-
{
|
|
16
|
-
aiTaskOutlineId: { type: mongoose_1.Schema.Types.ObjectId, ref: 'AiTaskOutline' },
|
|
17
|
-
content: { type: String },
|
|
18
|
-
references: [
|
|
19
|
-
{
|
|
20
|
-
url: { type: String },
|
|
21
|
-
citationNumber: { type: Number },
|
|
22
|
-
},
|
|
23
|
-
],
|
|
24
|
-
sectionNumber: { type: String },
|
|
25
|
-
sectionType: { type: String },
|
|
26
|
-
title: { type: String },
|
|
27
|
-
},
|
|
28
|
-
],
|
|
29
|
-
useCaseList: [
|
|
30
|
-
{
|
|
31
|
-
id: { type: mongoose_1.Schema.Types.ObjectId, ref: 'UseCase', required: true },
|
|
32
|
-
title: { type: String, required: true },
|
|
33
|
-
description: { type: String },
|
|
34
|
-
url: { type: String, required: true },
|
|
35
|
-
industry: { type: String },
|
|
36
|
-
technologyStack: [String],
|
|
37
|
-
implementationTimeline: { type: String },
|
|
38
|
-
roiMetrics: { type: Map, of: String },
|
|
39
|
-
potentialValue: { type: String },
|
|
40
|
-
},
|
|
41
|
-
],
|
|
42
|
-
startups: [
|
|
43
|
-
{
|
|
44
|
-
id: { type: mongoose_1.Schema.Types.ObjectId, ref: 'Company', required: true },
|
|
45
|
-
name: { type: String },
|
|
46
|
-
foundingYear: { type: Number, default: 0 },
|
|
47
|
-
location: { type: String },
|
|
48
|
-
funding: { type: Map, of: mongoose_1.Schema.Types.Mixed },
|
|
49
|
-
valueProposition: { type: String },
|
|
50
|
-
technologyFocus: [String],
|
|
51
|
-
targetIndustries: [String],
|
|
52
|
-
competitiveThreatLevel: { type: String },
|
|
53
|
-
partnershipPotential: { type: String },
|
|
54
|
-
content: { type: String },
|
|
55
|
-
},
|
|
56
|
-
],
|
|
57
|
-
superUsecases: [
|
|
58
|
-
{
|
|
59
|
-
id: { type: mongoose_1.Schema.Types.ObjectId, ref: 'UseCase', required: true },
|
|
60
|
-
title: { type: String },
|
|
61
|
-
description: { type: String },
|
|
62
|
-
content: { type: String },
|
|
63
|
-
differentiationFactors: [String],
|
|
64
|
-
maturityLevel: { type: String },
|
|
65
|
-
potentialImpact: { type: String },
|
|
66
|
-
relatedUseCaseId: { type: mongoose_1.Schema.Types.ObjectId, ref: 'UseCase' },
|
|
67
|
-
},
|
|
68
|
-
],
|
|
69
|
-
keyCompetitors: [
|
|
70
|
-
{
|
|
71
|
-
id: { type: mongoose_1.Schema.Types.ObjectId, ref: 'Company' },
|
|
72
|
-
name: { type: String },
|
|
73
|
-
industryPosition: { type: String },
|
|
74
|
-
marketShare: { type: String },
|
|
75
|
-
strengths: [String],
|
|
76
|
-
weaknesses: [String],
|
|
77
|
-
},
|
|
78
|
-
],
|
|
79
|
-
keyCustomers: [
|
|
80
|
-
{
|
|
81
|
-
id: { type: mongoose_1.Schema.Types.ObjectId, ref: 'Company' },
|
|
82
|
-
name: { type: String },
|
|
83
|
-
industry: { type: String },
|
|
84
|
-
relationshipLength: { type: String },
|
|
85
|
-
annualSpend: { type: String },
|
|
86
|
-
strategicImportance: { type: String },
|
|
87
|
-
},
|
|
88
|
-
],
|
|
89
|
-
clientActivities: [
|
|
90
|
-
{
|
|
91
|
-
id: { type: mongoose_1.Schema.Types.ObjectId, ref: 'Company' },
|
|
92
|
-
customerName: { type: String },
|
|
93
|
-
activityType: { type: String },
|
|
94
|
-
description: { type: String },
|
|
95
|
-
content: { type: String },
|
|
96
|
-
date: { type: Number },
|
|
97
|
-
results: { type: String },
|
|
98
|
-
strategicRelevance: { type: String },
|
|
99
|
-
},
|
|
100
|
-
],
|
|
101
|
-
competitorActivities: [
|
|
102
|
-
{
|
|
103
|
-
id: { type: mongoose_1.Schema.Types.ObjectId, ref: 'Company' },
|
|
104
|
-
competitorName: { type: String },
|
|
105
|
-
activityType: { type: String },
|
|
106
|
-
description: { type: String },
|
|
107
|
-
content: { type: String },
|
|
108
|
-
date: { type: Number },
|
|
109
|
-
marketImpact: { type: String },
|
|
110
|
-
technologiesInvolved: [String],
|
|
111
|
-
responseNeeded: { type: String },
|
|
112
|
-
},
|
|
113
|
-
],
|
|
114
|
-
news: [
|
|
115
|
-
{
|
|
116
|
-
id: { type: mongoose_1.Schema.Types.ObjectId, ref: 'PortiaArticle' },
|
|
117
|
-
date: { type: Number },
|
|
118
|
-
headline: { type: String },
|
|
119
|
-
source: { type: String },
|
|
120
|
-
impact: { type: String },
|
|
121
|
-
recommendedResponse: { type: String },
|
|
122
|
-
importance: { type: String },
|
|
123
|
-
content: { type: String },
|
|
124
|
-
},
|
|
125
|
-
],
|
|
126
|
-
regulation: [
|
|
127
|
-
{
|
|
128
|
-
id: { type: String },
|
|
129
|
-
date: { type: Number },
|
|
130
|
-
title: { type: String },
|
|
131
|
-
description: { type: String },
|
|
132
|
-
geographicalScope: { type: String },
|
|
133
|
-
impact: { type: String },
|
|
134
|
-
complianceDeadline: { type: Number },
|
|
135
|
-
complianceCostEstimate: { type: String },
|
|
136
|
-
content: { type: String },
|
|
137
|
-
},
|
|
138
|
-
],
|
|
139
|
-
marketData: {
|
|
140
|
-
totalAddressableMarket: { type: String },
|
|
141
|
-
marketShare: { type: String },
|
|
142
|
-
marketGrowthRate: { type: String },
|
|
143
|
-
segmentBreakdown: [
|
|
144
|
-
{
|
|
145
|
-
id: { type: String },
|
|
146
|
-
segment: { type: String },
|
|
147
|
-
marketSize: { type: String },
|
|
148
|
-
growthRate: { type: String },
|
|
149
|
-
share: { type: String },
|
|
150
|
-
},
|
|
151
|
-
],
|
|
152
|
-
technologyAdoptionTrends: [
|
|
153
|
-
{
|
|
154
|
-
id: { type: mongoose_1.Schema.Types.ObjectId, ref: 'Technology' },
|
|
155
|
-
technology: { type: String },
|
|
156
|
-
currentAdoption: { type: String },
|
|
157
|
-
fiveYearProjection: { type: String },
|
|
158
|
-
readiness: { type: String },
|
|
159
|
-
},
|
|
160
|
-
],
|
|
161
|
-
},
|
|
162
|
-
focusAreasOfUseCases: [
|
|
163
|
-
{
|
|
164
|
-
id: { type: mongoose_1.Schema.Types.ObjectId, ref: 'UseCase' },
|
|
165
|
-
focusArea: { type: String },
|
|
166
|
-
description: { type: String },
|
|
167
|
-
content: { type: String },
|
|
168
|
-
strategicImportance: { type: String },
|
|
169
|
-
relatedUseCaseIds: [{ type: mongoose_1.Schema.Types.ObjectId, ref: 'UseCase' }],
|
|
170
|
-
investmentRecommendation: { type: String },
|
|
171
|
-
expectedRoi: { type: String },
|
|
172
|
-
},
|
|
173
|
-
],
|
|
174
|
-
metadata: {
|
|
175
|
-
generatedDate: { type: Number },
|
|
176
|
-
dataSources: [String],
|
|
177
|
-
confidenceLevel: { type: String },
|
|
178
|
-
refreshRecommended: { type: Number },
|
|
179
|
-
aitaskId: { type: String },
|
|
180
|
-
},
|
|
181
|
-
createdBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
182
|
-
updatedBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
183
|
-
updatedDate: Number,
|
|
184
|
-
createdDate: Number,
|
|
185
|
-
}, _config_1.schemaOptions);
|
|
186
|
-
visionBoardSchema.pre('save', function (next) {
|
|
187
|
-
const user = express_http_context_1.default.get('user');
|
|
188
|
-
const notUpdatedBy = express_http_context_1.default.get('notUpdatedBy');
|
|
189
|
-
if (user) {
|
|
190
|
-
if (!this.createdBy)
|
|
191
|
-
this.createdBy = user._id;
|
|
192
|
-
if (!notUpdatedBy)
|
|
193
|
-
this.updatedBy = user._id;
|
|
194
|
-
}
|
|
195
|
-
next();
|
|
196
|
-
});
|
|
197
|
-
visionBoardSchema.pre('findOneAndUpdate', function (next) {
|
|
198
|
-
const user = express_http_context_1.default.get('user');
|
|
199
|
-
const notUpdatedBy = express_http_context_1.default.get('notUpdatedBy');
|
|
200
|
-
if (user && !notUpdatedBy)
|
|
201
|
-
this._update.updatedBy = user._id;
|
|
202
|
-
next();
|
|
203
|
-
});
|
|
204
|
-
exports.default = visionBoardSchema;
|
|
@@ -1,79 +0,0 @@
|
|
|
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 { BaseModel, BaseSchema } from '../config';
|
|
27
|
-
export interface FoamTreeItem {
|
|
28
|
-
id?: string;
|
|
29
|
-
dbId?: string;
|
|
30
|
-
label?: string;
|
|
31
|
-
weight?: number;
|
|
32
|
-
groups?: FoamTreeItem[];
|
|
33
|
-
type?: 'sfIndustries' | 'sfTechnologies' | 'Theme' | 'Use Case' | 'Company';
|
|
34
|
-
}
|
|
35
|
-
export declare enum Clusters {
|
|
36
|
-
Industry = "Industry",
|
|
37
|
-
Tech = "Tech"
|
|
38
|
-
}
|
|
39
|
-
export declare enum SearchBy {
|
|
40
|
-
Theme = "Theme",
|
|
41
|
-
UseCase = "Use Case",
|
|
42
|
-
Company = "Company"
|
|
43
|
-
}
|
|
44
|
-
export interface sfTechnologies {
|
|
45
|
-
_id: Types.ObjectId;
|
|
46
|
-
name: string;
|
|
47
|
-
}
|
|
48
|
-
export interface sfIndustries {
|
|
49
|
-
_id: Types.ObjectId;
|
|
50
|
-
name: string;
|
|
51
|
-
}
|
|
52
|
-
export interface FoamTreeItemV2 extends FoamTreeItem {
|
|
53
|
-
cluster?: Clusters | SearchBy;
|
|
54
|
-
clusterInfo?: string[];
|
|
55
|
-
multipleClusterInfo?: string[][];
|
|
56
|
-
color?: {
|
|
57
|
-
h: number;
|
|
58
|
-
s: number;
|
|
59
|
-
l: number;
|
|
60
|
-
a: number;
|
|
61
|
-
};
|
|
62
|
-
logo?: string;
|
|
63
|
-
}
|
|
64
|
-
export interface IFoamTree extends BaseSchema {
|
|
65
|
-
rawData: FoamTreeItem[];
|
|
66
|
-
solutionList: Types.ObjectId[];
|
|
67
|
-
companyList: Types.ObjectId[];
|
|
68
|
-
themeList: Types.ObjectId[];
|
|
69
|
-
sfTechnologies: sfTechnologies[];
|
|
70
|
-
sfIndustries: sfIndustries[];
|
|
71
|
-
countries: string[];
|
|
72
|
-
dropdown: string;
|
|
73
|
-
parentClustering: string[];
|
|
74
|
-
resultClustering: string[];
|
|
75
|
-
accuracy: number;
|
|
76
|
-
query: string;
|
|
77
|
-
}
|
|
78
|
-
export interface IFoamTreeModel extends BaseModel<IFoamTree> {
|
|
79
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SearchBy = exports.Clusters = void 0;
|
|
4
|
-
var Clusters;
|
|
5
|
-
(function (Clusters) {
|
|
6
|
-
Clusters["Industry"] = "Industry";
|
|
7
|
-
Clusters["Tech"] = "Tech";
|
|
8
|
-
})(Clusters || (exports.Clusters = Clusters = {}));
|
|
9
|
-
var SearchBy;
|
|
10
|
-
(function (SearchBy) {
|
|
11
|
-
SearchBy["Theme"] = "Theme";
|
|
12
|
-
SearchBy["UseCase"] = "Use Case";
|
|
13
|
-
SearchBy["Company"] = "Company";
|
|
14
|
-
})(SearchBy || (exports.SearchBy = SearchBy = {}));
|
|
@@ -1,189 +0,0 @@
|
|
|
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 { BaseModel, BaseSchema } from '../config';
|
|
27
|
-
export interface Reference {
|
|
28
|
-
url?: string;
|
|
29
|
-
citationNumber?: number;
|
|
30
|
-
}
|
|
31
|
-
export interface Section {
|
|
32
|
-
aiTaskOutlineId?: string;
|
|
33
|
-
content?: string;
|
|
34
|
-
references?: Reference[];
|
|
35
|
-
sectionNumber?: string;
|
|
36
|
-
sectionType?: string;
|
|
37
|
-
title?: string;
|
|
38
|
-
}
|
|
39
|
-
export interface UseCase {
|
|
40
|
-
id: Types.ObjectId;
|
|
41
|
-
title: string;
|
|
42
|
-
description?: string;
|
|
43
|
-
url: string;
|
|
44
|
-
industry?: string;
|
|
45
|
-
technologyStack?: string[];
|
|
46
|
-
implementationTimeline?: string;
|
|
47
|
-
roiMetrics?: Record<string, string>;
|
|
48
|
-
potentialValue?: string;
|
|
49
|
-
}
|
|
50
|
-
export interface SuperUseCase {
|
|
51
|
-
id: Types.ObjectId;
|
|
52
|
-
title?: string;
|
|
53
|
-
description?: string;
|
|
54
|
-
content?: string;
|
|
55
|
-
differentiationFactors?: string[];
|
|
56
|
-
maturityLevel?: string;
|
|
57
|
-
potentialImpact?: string;
|
|
58
|
-
relatedUseCaseId?: Types.ObjectId;
|
|
59
|
-
}
|
|
60
|
-
export interface Startup {
|
|
61
|
-
id: Types.ObjectId;
|
|
62
|
-
name?: string;
|
|
63
|
-
foundingYear?: number;
|
|
64
|
-
location?: string;
|
|
65
|
-
funding?: Record<string, any>;
|
|
66
|
-
valueProposition?: string;
|
|
67
|
-
technologyFocus?: string[];
|
|
68
|
-
targetIndustries?: string[];
|
|
69
|
-
competitiveThreatLevel?: string;
|
|
70
|
-
partnershipPotential?: string;
|
|
71
|
-
content?: string;
|
|
72
|
-
}
|
|
73
|
-
export interface Competitor {
|
|
74
|
-
id?: Types.ObjectId;
|
|
75
|
-
name?: string;
|
|
76
|
-
industryPosition?: string;
|
|
77
|
-
marketShare?: string;
|
|
78
|
-
strengths?: string[];
|
|
79
|
-
weaknesses?: string[];
|
|
80
|
-
}
|
|
81
|
-
export interface Customer {
|
|
82
|
-
id?: Types.ObjectId;
|
|
83
|
-
name?: string;
|
|
84
|
-
industry?: string;
|
|
85
|
-
relationshipLength?: string;
|
|
86
|
-
annualSpend?: string;
|
|
87
|
-
strategicImportance?: string;
|
|
88
|
-
}
|
|
89
|
-
export interface ClientActivity {
|
|
90
|
-
id?: Types.ObjectId;
|
|
91
|
-
customerName?: string;
|
|
92
|
-
activityType?: string;
|
|
93
|
-
description?: string;
|
|
94
|
-
content?: string;
|
|
95
|
-
date?: number;
|
|
96
|
-
results?: string;
|
|
97
|
-
strategicRelevance?: string;
|
|
98
|
-
}
|
|
99
|
-
export interface CompetitorActivity {
|
|
100
|
-
id?: Types.ObjectId;
|
|
101
|
-
competitorName?: string;
|
|
102
|
-
activityType?: string;
|
|
103
|
-
description?: string;
|
|
104
|
-
content?: string;
|
|
105
|
-
date?: number;
|
|
106
|
-
marketImpact?: string;
|
|
107
|
-
technologiesInvolved?: string[];
|
|
108
|
-
responseNeeded?: string;
|
|
109
|
-
}
|
|
110
|
-
export interface News {
|
|
111
|
-
id?: Types.ObjectId;
|
|
112
|
-
date?: number;
|
|
113
|
-
headline?: string;
|
|
114
|
-
source?: string;
|
|
115
|
-
impact?: string;
|
|
116
|
-
recommendedResponse?: string;
|
|
117
|
-
importance?: string;
|
|
118
|
-
content?: string;
|
|
119
|
-
}
|
|
120
|
-
export interface Regulation {
|
|
121
|
-
id?: string;
|
|
122
|
-
date?: number;
|
|
123
|
-
title?: string;
|
|
124
|
-
description?: string;
|
|
125
|
-
geographicalScope?: string;
|
|
126
|
-
impact?: string;
|
|
127
|
-
complianceDeadline?: number;
|
|
128
|
-
complianceCostEstimate?: string;
|
|
129
|
-
content?: string;
|
|
130
|
-
}
|
|
131
|
-
export interface Segment {
|
|
132
|
-
id?: string;
|
|
133
|
-
segment?: string;
|
|
134
|
-
marketSize?: string;
|
|
135
|
-
growthRate?: string;
|
|
136
|
-
share?: string;
|
|
137
|
-
}
|
|
138
|
-
export interface Trend {
|
|
139
|
-
id?: Types.ObjectId;
|
|
140
|
-
technology?: string;
|
|
141
|
-
currentAdoption?: string;
|
|
142
|
-
fiveYearProjection?: string;
|
|
143
|
-
readiness?: string;
|
|
144
|
-
}
|
|
145
|
-
export interface FocusArea {
|
|
146
|
-
id?: Types.ObjectId;
|
|
147
|
-
focusArea?: string;
|
|
148
|
-
description?: string;
|
|
149
|
-
content?: string;
|
|
150
|
-
strategicImportance?: string;
|
|
151
|
-
relatedUseCaseIds?: Types.ObjectId[];
|
|
152
|
-
investmentRecommendation?: string;
|
|
153
|
-
expectedRoi?: string;
|
|
154
|
-
}
|
|
155
|
-
export interface MarketData {
|
|
156
|
-
totalAddressableMarket?: string;
|
|
157
|
-
marketShare?: string;
|
|
158
|
-
marketGrowthRate?: string;
|
|
159
|
-
segmentBreakdown?: Segment[];
|
|
160
|
-
technologyAdoptionTrends?: Trend[];
|
|
161
|
-
}
|
|
162
|
-
export interface Metadata {
|
|
163
|
-
generatedDate?: number;
|
|
164
|
-
dataSources?: string[];
|
|
165
|
-
confidenceLevel?: string;
|
|
166
|
-
refreshRecommended?: number;
|
|
167
|
-
aitaskId?: string;
|
|
168
|
-
}
|
|
169
|
-
export interface IVisionBoard extends BaseSchema {
|
|
170
|
-
companyId: Types.ObjectId;
|
|
171
|
-
companyName?: string;
|
|
172
|
-
reportTitle?: string;
|
|
173
|
-
researchDate: number;
|
|
174
|
-
sections?: Section[];
|
|
175
|
-
useCaseList: UseCase[];
|
|
176
|
-
startups?: Startup[];
|
|
177
|
-
superUsecases: SuperUseCase[];
|
|
178
|
-
keyCompetitors?: Competitor[];
|
|
179
|
-
keyCustomers?: Customer[];
|
|
180
|
-
clientActivities?: ClientActivity[];
|
|
181
|
-
competitorActivities?: CompetitorActivity[];
|
|
182
|
-
news?: News[];
|
|
183
|
-
regulation?: Regulation[];
|
|
184
|
-
marketData?: MarketData;
|
|
185
|
-
focusAreasOfUseCases?: FocusArea[];
|
|
186
|
-
metadata?: Metadata;
|
|
187
|
-
}
|
|
188
|
-
export interface IVisionBoardModel extends BaseModel<IVisionBoard> {
|
|
189
|
-
}
|
|
File without changes
|