@cool-digital-solutions/interferir-models 1.2.69 → 1.2.71
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 +6 -2
- package/dist/index.js +5 -1
- package/dist/schemas/ai-hr-candidate-output.schema.d.ts +28 -0
- package/dist/schemas/ai-hr-candidate-output.schema.js +41 -0
- package/dist/schemas/ai-task-news-manager-output.schema.d.ts +28 -0
- package/dist/schemas/ai-task-news-manager-output.schema.js +36 -0
- package/dist/schemas/index.d.ts +3 -1
- package/dist/schemas/index.js +5 -1
- package/dist/types/ai-hr-candidate-output.type.d.ts +41 -0
- package/dist/types/ai-hr-candidate-output.type.js +2 -0
- package/dist/types/ai-task-news-manager-output.type.d.ts +34 -0
- package/dist/types/ai-task-news-manager-output.type.js +2 -0
- package/dist/types/index.d.ts +3 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -73,6 +73,7 @@ import { IAiTaskUseCaseRelatedUseCase, IAiTaskUseCaseRelatedUseCaseModel } from
|
|
|
73
73
|
import { IAiWeeklyInsight, IAiWeeklyInsightModel } from './types/ai-weekly-insight.type';
|
|
74
74
|
import { IStrategyGameBoard, IStrategyGameBoardModel } from './types/strategy-game-board.type';
|
|
75
75
|
import { IAiTaskPortiaArticleRelatedPortiaArticle, IAiTaskPortiaArticleRelatedPortiaArticleModel } from './types/ai-task-portia-article-related-portia-article.type';
|
|
76
|
+
import { IAiTaskNewsManagerOutput, IAiTaskNewsManagerOutputModel } from './types/ai-task-news-manager-output.type';
|
|
76
77
|
import ThemeSchema from './schemas/theme.schema';
|
|
77
78
|
import ProblemSchema from './schemas/problem.schema';
|
|
78
79
|
import SFTagSchema from './schemas/sf-tag.schema';
|
|
@@ -147,5 +148,8 @@ import AiTaskUseCaseRelatedUseCaseSchema from './schemas/ai-task-use-case-relate
|
|
|
147
148
|
import AiWeeklyInsightSchema from './schemas/ai-weekly-insight.schema';
|
|
148
149
|
import StrategyGameBoardSchema from './schemas/strategy-game-board.schema';
|
|
149
150
|
import AiTaskPortiaArticleRelatedPortiaArticleSchema from './schemas/ai-task-portia-article-related-portia-article.schema';
|
|
150
|
-
|
|
151
|
-
|
|
151
|
+
import AiTaskNewsManagerOutputSchema from './schemas/ai-task-news-manager-output.schema';
|
|
152
|
+
import AiHrCandidateOutputSchema from './schemas/ai-hr-candidate-output.schema';
|
|
153
|
+
import { IAiHrCandidateOutput, IAiHrCandidateOutputModel } from './types';
|
|
154
|
+
export { IAiConversation, IAiConversationModel, IAiConversationMessage, IAiConversationMessageModel, IAiConversationTrackingTask, IAiConversationTrackingTaskModel, IAiAssistant, IAiAssistantModel, IBackendError, IBackendErrorModel, IBatchHistory, IBookmark, IBookmarkModel, ICompany, ICompanyModel, ICompanyCluster, ICompanyClusterModel, ICompanyMarketing, ICompanyMarketingModel, ICompanyFundingRound, ICompanyFundingRoundModel, 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, IInstantResearch, IInstantResearchModel, IInvestor, IInvestorModel, ILike, ILikeModel, INews, INewsModel, INotification, INotificationModel, IOtp, IOtpModel, IPortiaArticle, IPortiaArticleModel, IProblem, IProblemModel, IRelatedTheme, IRelatedThemeModel, ISearchHistory, ISearchHistoryModel, ISFCategory, ISFCategoryModel, ISFSubCategory, ISFSubCategoryModel, ISFTag, ISFTagModel, ISparkUseCase, ISparkUseCaseModel, ISpark, ISparkModel, IStartupVectorAnyEntity, IStartupVectorAnyEntityModel, ISuggest, ISuggestModel, ITechnology, ITechnologyModel, ITheme, IThemeModel, IToken, ITokenModel, IUpdateJob, IUpdateJobModel, IUseCase, IUseCaseModel, IUseCaseDiscovery, IUseCaseDiscoveryModel, IUseCaseDiscoveryProblem, IUseCaseDiscoveryProblemModel, IUserToken, IUserTokenModel, IUserVisit, IUserVisitModel, IUser, IUserModel, IFoamTree, IFoamTreeModel, ICompetitorGrid, ICompetitorGridModel, IHighlight, IHighlightModel, IHighlightNote, IHighlightNoteModel, INewsHub, INewsHubModel, ITeam, ITeamModel, ITeamMember, ITeamMemberModel, IAiTask, IAiTaskModel, IAiTaskSubmission, IAiTaskSubmissionModel, ICompanySubOrganization, ICompanySubOrganizationModel, IAiTaskResearchManagerOutput, IAiTaskResearchManagerOutputModel, IAiTaskOutline, IAiTaskOutlineModel, 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, };
|
|
155
|
+
export { BadgeSchema, 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, CompanyClusterSchema, CompanyMarketingSchema, InvestorSchema, RelatedThemeSchema, StartupVectorAnyEntitySchema, UpdateJobSchema, UseCaseDiscoverySchema, UseCaseDiscoveryProblemSchema, CompetitorAnalysisSchema, FoamTreeSchema, FeaturedThemeSchema, CompetitorGridSchema, HighlightSchema, NewsHubSchema, AiAssistantSchema, TeamSchema, TeamMemberSchema, CompanySubOrganizationSchema, HighlightNoteSchema, AiTaskResearchManagerOutputSchema, AiTaskOutlineSchema, AiTaskShareSchema, AiTopUseCaseSchema, AiUseCaseAnalysisNodeSchema, AiUseCaseAnalysisSchema, AiHrCandidateSchema, AiHrCandidateCompanySchema, BugReportSchema, AiTaskUseCaseRelatedUseCaseSchema, AiWeeklyInsightSchema, StrategyGameBoardSchema, AiTaskPortiaArticleRelatedPortiaArticleSchema, AiTaskNewsManagerOutputSchema, AiHrCandidateOutputSchema, };
|
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.UseCaseDiscoveryProblemSchema = exports.UseCaseDiscoverySchema = exports.UpdateJobSchema = exports.StartupVectorAnyEntitySchema = exports.RelatedThemeSchema = exports.InvestorSchema = exports.CompanyMarketingSchema = exports.CompanyClusterSchema = exports.AiConversationTrackingTaskSchema = exports.AiConversationMessageSchema = exports.AiConversationSchema = exports.BookmarkSchema = exports.CompanyFundingRoundSchema = exports.CompetitorSchema = exports.UserVisitSchema = exports.SuggestSchema = exports.OtpSchema = exports.NotificationSchema = exports.DraftVersionSchema = exports.GeneralConfigSubSchema = exports.GeneralConfigSchema = exports.FollowContentSchema = exports.SparkUseCaseSchema = exports.SparkSchema = exports.LikeSchema = exports.NewsSchema = exports.UseCaseSchema = exports.FaqSchema = exports.ContentSchema = exports.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 = exports.BadgeSchema = void 0;
|
|
7
|
-
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 = exports.CompetitorGridSchema = exports.FeaturedThemeSchema = exports.FoamTreeSchema = exports.CompetitorAnalysisSchema = void 0;
|
|
7
|
+
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 = exports.CompetitorGridSchema = exports.FeaturedThemeSchema = exports.FoamTreeSchema = exports.CompetitorAnalysisSchema = 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"));
|
|
@@ -153,3 +153,7 @@ const strategy_game_board_schema_1 = __importDefault(require("./schemas/strategy
|
|
|
153
153
|
exports.StrategyGameBoardSchema = strategy_game_board_schema_1.default;
|
|
154
154
|
const ai_task_portia_article_related_portia_article_schema_1 = __importDefault(require("./schemas/ai-task-portia-article-related-portia-article.schema"));
|
|
155
155
|
exports.AiTaskPortiaArticleRelatedPortiaArticleSchema = ai_task_portia_article_related_portia_article_schema_1.default;
|
|
156
|
+
const ai_task_news_manager_output_schema_1 = __importDefault(require("./schemas/ai-task-news-manager-output.schema"));
|
|
157
|
+
exports.AiTaskNewsManagerOutputSchema = ai_task_news_manager_output_schema_1.default;
|
|
158
|
+
const ai_hr_candidate_output_schema_1 = __importDefault(require("./schemas/ai-hr-candidate-output.schema"));
|
|
159
|
+
exports.AiHrCandidateOutputSchema = ai_hr_candidate_output_schema_1.default;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/// <reference types="mongoose/types/aggregate" />
|
|
2
|
+
/// <reference types="mongoose/types/callback" />
|
|
3
|
+
/// <reference types="mongoose/types/collection" />
|
|
4
|
+
/// <reference types="mongoose/types/connection" />
|
|
5
|
+
/// <reference types="mongoose/types/cursor" />
|
|
6
|
+
/// <reference types="mongoose/types/document" />
|
|
7
|
+
/// <reference types="mongoose/types/error" />
|
|
8
|
+
/// <reference types="mongoose/types/expressions" />
|
|
9
|
+
/// <reference types="mongoose/types/helpers" />
|
|
10
|
+
/// <reference types="mongoose/types/middlewares" />
|
|
11
|
+
/// <reference types="mongoose/types/indexes" />
|
|
12
|
+
/// <reference types="mongoose/types/models" />
|
|
13
|
+
/// <reference types="mongoose/types/mongooseoptions" />
|
|
14
|
+
/// <reference types="mongoose/types/pipelinestage" />
|
|
15
|
+
/// <reference types="mongoose/types/populate" />
|
|
16
|
+
/// <reference types="mongoose/types/query" />
|
|
17
|
+
/// <reference types="mongoose/types/schemaoptions" />
|
|
18
|
+
/// <reference types="mongoose/types/schematypes" />
|
|
19
|
+
/// <reference types="mongoose/types/session" />
|
|
20
|
+
/// <reference types="mongoose/types/types" />
|
|
21
|
+
/// <reference types="mongoose/types/utility" />
|
|
22
|
+
/// <reference types="mongoose/types/validation" />
|
|
23
|
+
/// <reference types="mongoose/types/virtuals" />
|
|
24
|
+
/// <reference types="mongoose/types/inferschematype" />
|
|
25
|
+
import { Schema } from 'mongoose';
|
|
26
|
+
import { IAiHrCandidateOutput, IAiHrCandidateOutputModel } from '../types';
|
|
27
|
+
declare const aiHrCandidateOutputSchema: Schema<IAiHrCandidateOutput, IAiHrCandidateOutputModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IAiHrCandidateOutput>;
|
|
28
|
+
export default aiHrCandidateOutputSchema;
|
|
@@ -0,0 +1,41 @@
|
|
|
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 aiHrCandidateOutputSchema = new mongoose_1.Schema({
|
|
10
|
+
aiTask: { type: mongoose_1.Schema.Types.ObjectId, ref: 'AiTask', required: true },
|
|
11
|
+
executiveSummary: { type: String, default: '' },
|
|
12
|
+
researchNumbers: {
|
|
13
|
+
totalCandidates: { type: Number },
|
|
14
|
+
highlyRelevantMatches: { type: Number },
|
|
15
|
+
filteredByExperience: { type: Number },
|
|
16
|
+
locationFit: { type: Number },
|
|
17
|
+
},
|
|
18
|
+
createdBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
19
|
+
updatedBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
20
|
+
updatedDate: Number,
|
|
21
|
+
createdDate: Number,
|
|
22
|
+
}, _config_1.schemaOptions);
|
|
23
|
+
aiHrCandidateOutputSchema.pre('save', function (next) {
|
|
24
|
+
const user = express_http_context_1.default.get('user');
|
|
25
|
+
const notUpdatedBy = express_http_context_1.default.get('notUpdatedBy');
|
|
26
|
+
if (user) {
|
|
27
|
+
if (!this.createdBy)
|
|
28
|
+
this.createdBy = user._id;
|
|
29
|
+
if (!notUpdatedBy)
|
|
30
|
+
this.updatedBy = user._id;
|
|
31
|
+
}
|
|
32
|
+
next();
|
|
33
|
+
});
|
|
34
|
+
aiHrCandidateOutputSchema.pre('findOneAndUpdate', function (next) {
|
|
35
|
+
const user = express_http_context_1.default.get('user');
|
|
36
|
+
const notUpdatedBy = express_http_context_1.default.get('notUpdatedBy');
|
|
37
|
+
if (user && !notUpdatedBy)
|
|
38
|
+
this._update.updatedBy = user._id;
|
|
39
|
+
next();
|
|
40
|
+
});
|
|
41
|
+
exports.default = aiHrCandidateOutputSchema;
|
|
@@ -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 { IAiTaskNewsManagerOutput, IAiTaskNewsManagerOutputModel } from '../types';
|
|
27
|
+
declare const aiTaskNewsManagerOutputSchema: Schema<IAiTaskNewsManagerOutput, IAiTaskNewsManagerOutputModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IAiTaskNewsManagerOutput>;
|
|
28
|
+
export default aiTaskNewsManagerOutputSchema;
|
|
@@ -0,0 +1,36 @@
|
|
|
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 aiTaskNewsManagerOutputSchema = new mongoose_1.Schema({
|
|
10
|
+
aiTask: { type: mongoose_1.Schema.Types.ObjectId, ref: 'AiTask', required: true },
|
|
11
|
+
title: { type: String, required: true },
|
|
12
|
+
summary: { type: String, required: true },
|
|
13
|
+
createdBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
14
|
+
updatedBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
15
|
+
updatedDate: Number,
|
|
16
|
+
createdDate: Number,
|
|
17
|
+
}, _config_1.schemaOptions);
|
|
18
|
+
aiTaskNewsManagerOutputSchema.pre('save', function (next) {
|
|
19
|
+
const user = express_http_context_1.default.get('user');
|
|
20
|
+
const notUpdatedBy = express_http_context_1.default.get('notUpdatedBy');
|
|
21
|
+
if (user) {
|
|
22
|
+
if (!this.createdBy)
|
|
23
|
+
this.createdBy = user._id;
|
|
24
|
+
if (!notUpdatedBy)
|
|
25
|
+
this.updatedBy = user._id;
|
|
26
|
+
}
|
|
27
|
+
next();
|
|
28
|
+
});
|
|
29
|
+
aiTaskNewsManagerOutputSchema.pre('findOneAndUpdate', function (next) {
|
|
30
|
+
const user = express_http_context_1.default.get('user');
|
|
31
|
+
const notUpdatedBy = express_http_context_1.default.get('notUpdatedBy');
|
|
32
|
+
if (user && !notUpdatedBy)
|
|
33
|
+
this._update.updatedBy = user._id;
|
|
34
|
+
next();
|
|
35
|
+
});
|
|
36
|
+
exports.default = aiTaskNewsManagerOutputSchema;
|
package/dist/schemas/index.d.ts
CHANGED
|
@@ -70,4 +70,6 @@ import BugReportSchema from './bug-report.schema';
|
|
|
70
70
|
import AiTaskUseCaseRelatedUseCaseSchema from './ai-task-use-case-related-use-case.schema';
|
|
71
71
|
import AiWeeklyInsightSchema from './ai-weekly-insight.schema';
|
|
72
72
|
import AiTaskPortiaArticleRelatedPortiaArticleSchema from './ai-task-portia-article-related-portia-article.schema';
|
|
73
|
-
|
|
73
|
+
import AiTaskNewsManagerOutputSchema from './ai-task-news-manager-output.schema';
|
|
74
|
+
import AiHrCandidateOutputSchema from './ai-hr-candidate-output.schema';
|
|
75
|
+
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, };
|
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.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.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"));
|
|
@@ -149,3 +149,7 @@ const ai_weekly_insight_schema_1 = __importDefault(require("./ai-weekly-insight.
|
|
|
149
149
|
exports.AiWeeklyInsightSchema = ai_weekly_insight_schema_1.default;
|
|
150
150
|
const ai_task_portia_article_related_portia_article_schema_1 = __importDefault(require("./ai-task-portia-article-related-portia-article.schema"));
|
|
151
151
|
exports.AiTaskPortiaArticleRelatedPortiaArticleSchema = ai_task_portia_article_related_portia_article_schema_1.default;
|
|
152
|
+
const ai_task_news_manager_output_schema_1 = __importDefault(require("./ai-task-news-manager-output.schema"));
|
|
153
|
+
exports.AiTaskNewsManagerOutputSchema = ai_task_news_manager_output_schema_1.default;
|
|
154
|
+
const ai_hr_candidate_output_schema_1 = __importDefault(require("./ai-hr-candidate-output.schema"));
|
|
155
|
+
exports.AiHrCandidateOutputSchema = ai_hr_candidate_output_schema_1.default;
|
|
@@ -0,0 +1,41 @@
|
|
|
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 { BaseModel, BaseSchema } from '../config';
|
|
26
|
+
import { Types } from 'mongoose';
|
|
27
|
+
import { IAiTask } from './ai-task.type';
|
|
28
|
+
interface ResearchNumber {
|
|
29
|
+
totalCandidates: number;
|
|
30
|
+
highlyRelevantMatches: number;
|
|
31
|
+
filteredByExperience: number;
|
|
32
|
+
locationFit: number;
|
|
33
|
+
}
|
|
34
|
+
export interface IAiHrCandidateOutput extends BaseSchema {
|
|
35
|
+
aiTask: Types.ObjectId | IAiTask;
|
|
36
|
+
executiveSummary: string;
|
|
37
|
+
researchNumbers: ResearchNumber;
|
|
38
|
+
}
|
|
39
|
+
export interface IAiHrCandidateOutputModel extends BaseModel<IAiHrCandidateOutput> {
|
|
40
|
+
}
|
|
41
|
+
export {};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/// <reference types="mongoose/types/aggregate" />
|
|
2
|
+
/// <reference types="mongoose/types/callback" />
|
|
3
|
+
/// <reference types="mongoose/types/collection" />
|
|
4
|
+
/// <reference types="mongoose/types/connection" />
|
|
5
|
+
/// <reference types="mongoose/types/cursor" />
|
|
6
|
+
/// <reference types="mongoose/types/document" />
|
|
7
|
+
/// <reference types="mongoose/types/error" />
|
|
8
|
+
/// <reference types="mongoose/types/expressions" />
|
|
9
|
+
/// <reference types="mongoose/types/helpers" />
|
|
10
|
+
/// <reference types="mongoose/types/middlewares" />
|
|
11
|
+
/// <reference types="mongoose/types/indexes" />
|
|
12
|
+
/// <reference types="mongoose/types/models" />
|
|
13
|
+
/// <reference types="mongoose/types/mongooseoptions" />
|
|
14
|
+
/// <reference types="mongoose/types/pipelinestage" />
|
|
15
|
+
/// <reference types="mongoose/types/populate" />
|
|
16
|
+
/// <reference types="mongoose/types/query" />
|
|
17
|
+
/// <reference types="mongoose/types/schemaoptions" />
|
|
18
|
+
/// <reference types="mongoose/types/schematypes" />
|
|
19
|
+
/// <reference types="mongoose/types/session" />
|
|
20
|
+
/// <reference types="mongoose/types/types" />
|
|
21
|
+
/// <reference types="mongoose/types/utility" />
|
|
22
|
+
/// <reference types="mongoose/types/validation" />
|
|
23
|
+
/// <reference types="mongoose/types/virtuals" />
|
|
24
|
+
/// <reference types="mongoose/types/inferschematype" />
|
|
25
|
+
import { Types } from 'mongoose';
|
|
26
|
+
import { IAiTask } from './';
|
|
27
|
+
import { BaseModel, BaseSchema } from '../config';
|
|
28
|
+
export interface IAiTaskNewsManagerOutput extends BaseSchema {
|
|
29
|
+
aiTask: Types.ObjectId | IAiTask;
|
|
30
|
+
title: string;
|
|
31
|
+
summary: string;
|
|
32
|
+
}
|
|
33
|
+
export interface IAiTaskNewsManagerOutputModel extends BaseModel<IAiTaskNewsManagerOutput> {
|
|
34
|
+
}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -73,4 +73,6 @@ import { IAiTaskUseCaseRelatedUseCase, IAiTaskUseCaseRelatedUseCaseModel } from
|
|
|
73
73
|
import { IAiWeeklyInsight, IAiWeeklyInsightModel } from './ai-weekly-insight.type';
|
|
74
74
|
import { IStrategyGameBoard, IStrategyGameBoardModel } from './strategy-game-board.type';
|
|
75
75
|
import { IAiTaskPortiaArticleRelatedPortiaArticle, IAiTaskPortiaArticleRelatedPortiaArticleModel } from './ai-task-portia-article-related-portia-article.type';
|
|
76
|
-
|
|
76
|
+
import { IAiTaskNewsManagerOutput, IAiTaskNewsManagerOutputModel } from './ai-task-news-manager-output.type';
|
|
77
|
+
import { IAiHrCandidateOutput, IAiHrCandidateOutputModel } from './ai-hr-candidate-output.type';
|
|
78
|
+
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, };
|