@cool-digital-solutions/interferir-models 1.0.15 → 1.0.17

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.
Files changed (46) hide show
  1. package/dist/schemas/ai-conversation.schema.d.ts +2 -4
  2. package/dist/schemas/backend-error.schema.d.ts +2 -4
  3. package/dist/schemas/badge.schema.d.ts +2 -4
  4. package/dist/schemas/batch-history.schema.d.ts +2 -6
  5. package/dist/schemas/company-funding-round.schema.d.ts +2 -4
  6. package/dist/schemas/company.schema.d.ts +2 -4
  7. package/dist/schemas/company.schema.js +10 -0
  8. package/dist/schemas/competitor.schema.d.ts +2 -4
  9. package/dist/schemas/contact-message.schema.d.ts +2 -4
  10. package/dist/schemas/contact-startup.schema.d.ts +1 -3
  11. package/dist/schemas/content.schema.d.ts +2 -4
  12. package/dist/schemas/draft-version.schema.d.ts +2 -4
  13. package/dist/schemas/evidence-layout.schema.d.ts +2 -4
  14. package/dist/schemas/evidence.schema.d.ts +2 -4
  15. package/dist/schemas/faq.schema.d.ts +2 -4
  16. package/dist/schemas/follow-content.schema.d.ts +2 -4
  17. package/dist/schemas/general-config-sub.schema.d.ts +1 -3
  18. package/dist/schemas/general-config.schema.d.ts +1 -3
  19. package/dist/schemas/image.schema.d.ts +2 -4
  20. package/dist/schemas/industry.schema.d.ts +2 -4
  21. package/dist/schemas/instant-research.schema.d.ts +2 -4
  22. package/dist/schemas/investor.schema.d.ts +2 -4
  23. package/dist/schemas/like.schema.d.ts +2 -4
  24. package/dist/schemas/news.schema.d.ts +2 -4
  25. package/dist/schemas/notification.schema.d.ts +1 -3
  26. package/dist/schemas/otp.schema.d.ts +1 -3
  27. package/dist/schemas/portia-article.schema.d.ts +2 -4
  28. package/dist/schemas/problem.schema.d.ts +2 -4
  29. package/dist/schemas/search-history.schema.d.ts +2 -4
  30. package/dist/schemas/sf-category.schema.d.ts +2 -4
  31. package/dist/schemas/sf-sub-category.schema.d.ts +2 -4
  32. package/dist/schemas/sf-tag.schema.d.ts +2 -4
  33. package/dist/schemas/site-map-cache.schema.d.ts +1 -3
  34. package/dist/schemas/spark-use-case.schema.d.ts +2 -4
  35. package/dist/schemas/spark.schema.d.ts +2 -4
  36. package/dist/schemas/suggest.schema.d.ts +2 -4
  37. package/dist/schemas/technology.schema.d.ts +2 -4
  38. package/dist/schemas/theme.schema.d.ts +2 -4
  39. package/dist/schemas/token.schema.d.ts +1 -3
  40. package/dist/schemas/update-job.schema.d.ts +2 -4
  41. package/dist/schemas/use-case.schema.d.ts +2 -4
  42. package/dist/schemas/user-token.schema.d.ts +2 -4
  43. package/dist/schemas/user-visit.schema.d.ts +2 -4
  44. package/dist/schemas/user.schema.d.ts +2 -4
  45. package/dist/types/company.type.d.ts +10 -0
  46. package/package.json +2 -2
@@ -22,9 +22,7 @@
22
22
  /// <reference types="mongoose/types/validation" />
23
23
  /// <reference types="mongoose/types/virtuals" />
24
24
  /// <reference types="mongoose/types/inferschematype" />
25
- import { Schema, Types } from 'mongoose';
25
+ import { Schema } from 'mongoose';
26
26
  import type { IAiConversation, IAiConversationModel } from '../types';
27
- declare const aiConversationSchema: Schema<IAiConversation, IAiConversationModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IAiConversation, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<IAiConversation>> & import("mongoose").FlatRecord<IAiConversation> & Required<{
28
- _id: Types.ObjectId;
29
- }>>;
27
+ declare const aiConversationSchema: Schema<IAiConversation, IAiConversationModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IAiConversation>;
30
28
  export default aiConversationSchema;
@@ -22,9 +22,7 @@
22
22
  /// <reference types="mongoose/types/validation" />
23
23
  /// <reference types="mongoose/types/virtuals" />
24
24
  /// <reference types="mongoose/types/inferschematype" />
25
- import { Schema, Types } from 'mongoose';
25
+ import { Schema } from 'mongoose';
26
26
  import type { IBackendError, IBackendErrorModel } from '../types';
27
- declare const backendErrorSchema: Schema<IBackendError, IBackendErrorModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IBackendError, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<IBackendError>> & import("mongoose").FlatRecord<IBackendError> & Required<{
28
- _id: Types.ObjectId;
29
- }>>;
27
+ declare const backendErrorSchema: Schema<IBackendError, IBackendErrorModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IBackendError>;
30
28
  export default backendErrorSchema;
@@ -22,9 +22,7 @@
22
22
  /// <reference types="mongoose/types/validation" />
23
23
  /// <reference types="mongoose/types/virtuals" />
24
24
  /// <reference types="mongoose/types/inferschematype" />
25
- import { Schema, Types } from 'mongoose';
25
+ import { Schema } from 'mongoose';
26
26
  import type { IBadge, IBadgeModel } from '../types';
27
- declare const badgeSchema: Schema<IBadge, IBadgeModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IBadge, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<IBadge>> & import("mongoose").FlatRecord<IBadge> & Required<{
28
- _id: Types.ObjectId;
29
- }>>;
27
+ declare const badgeSchema: Schema<IBadge, IBadgeModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IBadge>;
30
28
  export default badgeSchema;
@@ -22,11 +22,7 @@
22
22
  /// <reference types="mongoose/types/validation" />
23
23
  /// <reference types="mongoose/types/virtuals" />
24
24
  /// <reference types="mongoose/types/inferschematype" />
25
- import { Schema, Types } from 'mongoose';
25
+ import { Schema } from 'mongoose';
26
26
  import type { IBatchHistory } from '../types';
27
- declare const batchHistorySchema: Schema<IBatchHistory, import("mongoose").Model<IBatchHistory, any, any, any, import("mongoose").Document<unknown, any, IBatchHistory> & IBatchHistory & Required<{
28
- _id: Types.ObjectId;
29
- }>, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IBatchHistory, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<IBatchHistory>> & import("mongoose").FlatRecord<IBatchHistory> & Required<{
30
- _id: Types.ObjectId;
31
- }>>;
27
+ declare const batchHistorySchema: Schema<IBatchHistory, import("mongoose").Model<IBatchHistory, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IBatchHistory>;
32
28
  export default batchHistorySchema;
@@ -22,9 +22,7 @@
22
22
  /// <reference types="mongoose/types/validation" />
23
23
  /// <reference types="mongoose/types/virtuals" />
24
24
  /// <reference types="mongoose/types/inferschematype" />
25
- import { Schema, Types } from 'mongoose';
25
+ import { Schema } from 'mongoose';
26
26
  import { ICompanyFundingRound, ICompanyFundingRoundModel } from '../types';
27
- declare const companyFundingRound: Schema<ICompanyFundingRound, ICompanyFundingRoundModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, ICompanyFundingRound, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<ICompanyFundingRound>> & import("mongoose").FlatRecord<ICompanyFundingRound> & Required<{
28
- _id: Types.ObjectId;
29
- }>>;
27
+ declare const companyFundingRound: Schema<ICompanyFundingRound, ICompanyFundingRoundModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, ICompanyFundingRound>;
30
28
  export default companyFundingRound;
@@ -22,9 +22,7 @@
22
22
  /// <reference types="mongoose/types/validation" />
23
23
  /// <reference types="mongoose/types/virtuals" />
24
24
  /// <reference types="mongoose/types/inferschematype" />
25
- import { Schema, Types } from 'mongoose';
25
+ import { Schema } from 'mongoose';
26
26
  import type { ICompany, ICompanyModel } from '../types';
27
- declare const companySchema: Schema<ICompany, ICompanyModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, ICompany, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<ICompany>> & import("mongoose").FlatRecord<ICompany> & Required<{
28
- _id: Types.ObjectId;
29
- }>>;
27
+ declare const companySchema: Schema<ICompany, ICompanyModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, ICompany>;
30
28
  export default companySchema;
@@ -63,6 +63,7 @@ const companySchema = new mongoose_1.Schema({
63
63
  funding: {
64
64
  amount: { type: Number, default: 0 },
65
65
  currency: { type: String, default: '' },
66
+ amountUsd: { type: Number, default: 0 },
66
67
  },
67
68
  sfIndustries: [{ type: mongoose_1.Schema.Types.ObjectId, ref: 'Industry' }],
68
69
  sfTechnologies: [{ type: mongoose_1.Schema.Types.ObjectId, ref: 'Technology' }],
@@ -222,6 +223,15 @@ const companySchema = new mongoose_1.Schema({
222
223
  investmentStageCount: { type: Number },
223
224
  focusAreaCount: { type: Number },
224
225
  diversitySpotlights: [{ type: String, default: '' }],
226
+ investmentPortfolio: {
227
+ foundingThesis: { type: String, default: '' },
228
+ portfolioCompanyAnalyses: [
229
+ {
230
+ company: { type: mongoose_1.Schema.Types.ObjectId, ref: 'Company' },
231
+ investmentThesis: { type: String, default: '' },
232
+ },
233
+ ],
234
+ },
225
235
  createdBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
226
236
  updatedBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
227
237
  updatedDate: { type: Number },
@@ -22,9 +22,7 @@
22
22
  /// <reference types="mongoose/types/validation" />
23
23
  /// <reference types="mongoose/types/virtuals" />
24
24
  /// <reference types="mongoose/types/inferschematype" />
25
- import { Schema, Types } from 'mongoose';
25
+ import { Schema } from 'mongoose';
26
26
  import type { ICompetitor, ICompetitorModel } from '../types';
27
- declare const competitorSchema: Schema<ICompetitor, ICompetitorModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, ICompetitor, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<ICompetitor>> & import("mongoose").FlatRecord<ICompetitor> & Required<{
28
- _id: Types.ObjectId;
29
- }>>;
27
+ declare const competitorSchema: Schema<ICompetitor, ICompetitorModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, ICompetitor>;
30
28
  export default competitorSchema;
@@ -22,9 +22,7 @@
22
22
  /// <reference types="mongoose/types/validation" />
23
23
  /// <reference types="mongoose/types/virtuals" />
24
24
  /// <reference types="mongoose/types/inferschematype" />
25
- import { Schema, Types } from 'mongoose';
25
+ import { Schema } from 'mongoose';
26
26
  import type { IContactMessage, IContactMessageModel } from '../types';
27
- declare const contactMessageSchema: Schema<IContactMessage, IContactMessageModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IContactMessage, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<IContactMessage>> & import("mongoose").FlatRecord<IContactMessage> & Required<{
28
- _id: Types.ObjectId;
29
- }>>;
27
+ declare const contactMessageSchema: Schema<IContactMessage, IContactMessageModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IContactMessage>;
30
28
  export default contactMessageSchema;
@@ -24,7 +24,5 @@
24
24
  /// <reference types="mongoose/types/inferschematype" />
25
25
  import { Schema } from 'mongoose';
26
26
  import type { IContactStartup, IContactStartupModel } from '../types';
27
- declare const contactStartupSchema: Schema<IContactStartup, IContactStartupModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IContactStartup, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<IContactStartup>> & import("mongoose").FlatRecord<IContactStartup> & Required<{
28
- _id: import("mongoose").Types.ObjectId;
29
- }>>;
27
+ declare const contactStartupSchema: Schema<IContactStartup, IContactStartupModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IContactStartup>;
30
28
  export default contactStartupSchema;
@@ -22,9 +22,7 @@
22
22
  /// <reference types="mongoose/types/validation" />
23
23
  /// <reference types="mongoose/types/virtuals" />
24
24
  /// <reference types="mongoose/types/inferschematype" />
25
- import { Schema, Types } from 'mongoose';
25
+ import { Schema } from 'mongoose';
26
26
  import type { IContent, IContentModel } from '../types';
27
- declare const contentSchema: Schema<IContent, IContentModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IContent, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<IContent>> & import("mongoose").FlatRecord<IContent> & Required<{
28
- _id: Types.ObjectId;
29
- }>>;
27
+ declare const contentSchema: Schema<IContent, IContentModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IContent>;
30
28
  export default contentSchema;
@@ -22,9 +22,7 @@
22
22
  /// <reference types="mongoose/types/validation" />
23
23
  /// <reference types="mongoose/types/virtuals" />
24
24
  /// <reference types="mongoose/types/inferschematype" />
25
- import { Schema, Types } from 'mongoose';
25
+ import { Schema } from 'mongoose';
26
26
  import type { IDraftVersion, IDraftVersionModel } from '../types';
27
- declare const draftVersionSchema: Schema<IDraftVersion, IDraftVersionModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IDraftVersion, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<IDraftVersion>> & import("mongoose").FlatRecord<IDraftVersion> & Required<{
28
- _id: Types.ObjectId;
29
- }>>;
27
+ declare const draftVersionSchema: Schema<IDraftVersion, IDraftVersionModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IDraftVersion>;
30
28
  export default draftVersionSchema;
@@ -22,9 +22,7 @@
22
22
  /// <reference types="mongoose/types/validation" />
23
23
  /// <reference types="mongoose/types/virtuals" />
24
24
  /// <reference types="mongoose/types/inferschematype" />
25
- import { Schema, Types } from 'mongoose';
25
+ import { Schema } from 'mongoose';
26
26
  import type { IEvidenceLayout, IEvidenceLayoutModel } from '../types';
27
- declare const evidenceLayoutSchema: Schema<IEvidenceLayout, IEvidenceLayoutModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IEvidenceLayout, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<IEvidenceLayout>> & import("mongoose").FlatRecord<IEvidenceLayout> & Required<{
28
- _id: Types.ObjectId;
29
- }>>;
27
+ declare const evidenceLayoutSchema: Schema<IEvidenceLayout, IEvidenceLayoutModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IEvidenceLayout>;
30
28
  export default evidenceLayoutSchema;
@@ -22,9 +22,7 @@
22
22
  /// <reference types="mongoose/types/validation" />
23
23
  /// <reference types="mongoose/types/virtuals" />
24
24
  /// <reference types="mongoose/types/inferschematype" />
25
- import { Schema, Types } from 'mongoose';
25
+ import { Schema } from 'mongoose';
26
26
  import type { IEvidence, IEvidenceModel } from '../types';
27
- declare const evidenceSchema: Schema<IEvidence, IEvidenceModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IEvidence, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<IEvidence>> & import("mongoose").FlatRecord<IEvidence> & Required<{
28
- _id: Types.ObjectId;
29
- }>>;
27
+ declare const evidenceSchema: Schema<IEvidence, IEvidenceModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IEvidence>;
30
28
  export default evidenceSchema;
@@ -22,9 +22,7 @@
22
22
  /// <reference types="mongoose/types/validation" />
23
23
  /// <reference types="mongoose/types/virtuals" />
24
24
  /// <reference types="mongoose/types/inferschematype" />
25
- import { Schema, Types } from 'mongoose';
25
+ import { Schema } from 'mongoose';
26
26
  import type { IFaq, IFaqModel } from '../types';
27
- declare const faqSchema: Schema<IFaq, IFaqModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IFaq, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<IFaq>> & import("mongoose").FlatRecord<IFaq> & Required<{
28
- _id: Types.ObjectId;
29
- }>>;
27
+ declare const faqSchema: Schema<IFaq, IFaqModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IFaq>;
30
28
  export default faqSchema;
@@ -22,9 +22,7 @@
22
22
  /// <reference types="mongoose/types/validation" />
23
23
  /// <reference types="mongoose/types/virtuals" />
24
24
  /// <reference types="mongoose/types/inferschematype" />
25
- import { Schema, Types } from 'mongoose';
25
+ import { Schema } from 'mongoose';
26
26
  import type { IFollowContent, IFollowContentModel } from '../types';
27
- declare const followContentSchema: Schema<IFollowContent, IFollowContentModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IFollowContent, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<IFollowContent>> & import("mongoose").FlatRecord<IFollowContent> & Required<{
28
- _id: Types.ObjectId;
29
- }>>;
27
+ declare const followContentSchema: Schema<IFollowContent, IFollowContentModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IFollowContent>;
30
28
  export default followContentSchema;
@@ -24,7 +24,5 @@
24
24
  /// <reference types="mongoose/types/inferschematype" />
25
25
  import { Schema } from 'mongoose';
26
26
  import type { IGeneralConfigSub, IGeneralConfigSubModel } from '../types';
27
- declare const generalConfigSubSchema: Schema<IGeneralConfigSub, IGeneralConfigSubModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IGeneralConfigSub, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<IGeneralConfigSub>> & import("mongoose").FlatRecord<IGeneralConfigSub> & Required<{
28
- _id: import("mongoose").Types.ObjectId;
29
- }>>;
27
+ declare const generalConfigSubSchema: Schema<IGeneralConfigSub, IGeneralConfigSubModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IGeneralConfigSub>;
30
28
  export default generalConfigSubSchema;
@@ -24,7 +24,5 @@
24
24
  /// <reference types="mongoose/types/inferschematype" />
25
25
  import { Schema } from 'mongoose';
26
26
  import type { IGeneralConfig, IGeneralConfigModel } from '../types';
27
- declare const generalConfigSchema: Schema<IGeneralConfig, IGeneralConfigModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IGeneralConfig, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<IGeneralConfig>> & import("mongoose").FlatRecord<IGeneralConfig> & Required<{
28
- _id: import("mongoose").Types.ObjectId;
29
- }>>;
27
+ declare const generalConfigSchema: Schema<IGeneralConfig, IGeneralConfigModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IGeneralConfig>;
30
28
  export default generalConfigSchema;
@@ -22,9 +22,7 @@
22
22
  /// <reference types="mongoose/types/validation" />
23
23
  /// <reference types="mongoose/types/virtuals" />
24
24
  /// <reference types="mongoose/types/inferschematype" />
25
- import { Schema, Types } from 'mongoose';
25
+ import { Schema } from 'mongoose';
26
26
  import type { IImage, IImageModel } from '../types';
27
- declare const imageSchema: Schema<IImage, IImageModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IImage, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<IImage>> & import("mongoose").FlatRecord<IImage> & Required<{
28
- _id: Types.ObjectId;
29
- }>>;
27
+ declare const imageSchema: Schema<IImage, IImageModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IImage>;
30
28
  export default imageSchema;
@@ -22,9 +22,7 @@
22
22
  /// <reference types="mongoose/types/validation" />
23
23
  /// <reference types="mongoose/types/virtuals" />
24
24
  /// <reference types="mongoose/types/inferschematype" />
25
- import { Schema, Types } from 'mongoose';
25
+ import { Schema } from 'mongoose';
26
26
  import type { IIndustry, IIndustryModel } from '../types';
27
- declare const industrySchema: Schema<IIndustry, IIndustryModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IIndustry, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<IIndustry>> & import("mongoose").FlatRecord<IIndustry> & Required<{
28
- _id: Types.ObjectId;
29
- }>>;
27
+ declare const industrySchema: Schema<IIndustry, IIndustryModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IIndustry>;
30
28
  export default industrySchema;
@@ -22,9 +22,7 @@
22
22
  /// <reference types="mongoose/types/validation" />
23
23
  /// <reference types="mongoose/types/virtuals" />
24
24
  /// <reference types="mongoose/types/inferschematype" />
25
- import { Schema, Types } from 'mongoose';
25
+ import { Schema } from 'mongoose';
26
26
  import type { IInstantResearch, IInstantResearchModel } from '../types';
27
- declare const instantResearchSchema: Schema<IInstantResearch, IInstantResearchModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IInstantResearch, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<IInstantResearch>> & import("mongoose").FlatRecord<IInstantResearch> & Required<{
28
- _id: Types.ObjectId;
29
- }>>;
27
+ declare const instantResearchSchema: Schema<IInstantResearch, IInstantResearchModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IInstantResearch>;
30
28
  export default instantResearchSchema;
@@ -22,9 +22,7 @@
22
22
  /// <reference types="mongoose/types/validation" />
23
23
  /// <reference types="mongoose/types/virtuals" />
24
24
  /// <reference types="mongoose/types/inferschematype" />
25
- import { Schema, Types } from 'mongoose';
25
+ import { Schema } from 'mongoose';
26
26
  import type { IInvestor, IInvestorModel } from '../types';
27
- declare const instantResearchSchema: Schema<IInvestor, IInvestorModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IInvestor, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<IInvestor>> & import("mongoose").FlatRecord<IInvestor> & Required<{
28
- _id: Types.ObjectId;
29
- }>>;
27
+ declare const instantResearchSchema: Schema<IInvestor, IInvestorModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IInvestor>;
30
28
  export default instantResearchSchema;
@@ -22,9 +22,7 @@
22
22
  /// <reference types="mongoose/types/validation" />
23
23
  /// <reference types="mongoose/types/virtuals" />
24
24
  /// <reference types="mongoose/types/inferschematype" />
25
- import { Schema, Types } from 'mongoose';
25
+ import { Schema } from 'mongoose';
26
26
  import type { ILike, ILikeModel } from '../types';
27
- declare const likeSchema: Schema<ILike, ILikeModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, ILike, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<ILike>> & import("mongoose").FlatRecord<ILike> & Required<{
28
- _id: Types.ObjectId;
29
- }>>;
27
+ declare const likeSchema: Schema<ILike, ILikeModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, ILike>;
30
28
  export default likeSchema;
@@ -22,9 +22,7 @@
22
22
  /// <reference types="mongoose/types/validation" />
23
23
  /// <reference types="mongoose/types/virtuals" />
24
24
  /// <reference types="mongoose/types/inferschematype" />
25
- import { Schema, Types } from 'mongoose';
25
+ import { Schema } from 'mongoose';
26
26
  import type { INews, INewsModel } from '../types';
27
- declare const newsSchema: Schema<INews, INewsModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, INews, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<INews>> & import("mongoose").FlatRecord<INews> & Required<{
28
- _id: Types.ObjectId;
29
- }>>;
27
+ declare const newsSchema: Schema<INews, INewsModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, INews>;
30
28
  export default newsSchema;
@@ -24,7 +24,5 @@
24
24
  /// <reference types="mongoose/types/inferschematype" />
25
25
  import { Schema } from 'mongoose';
26
26
  import type { INotification, INotificationModel } from '../types';
27
- declare const notificationSchema: Schema<INotification, INotificationModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, INotification, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<INotification>> & import("mongoose").FlatRecord<INotification> & Required<{
28
- _id: import("mongoose").Types.ObjectId;
29
- }>>;
27
+ declare const notificationSchema: Schema<INotification, INotificationModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, INotification>;
30
28
  export default notificationSchema;
@@ -24,7 +24,5 @@
24
24
  /// <reference types="mongoose/types/inferschematype" />
25
25
  import { Schema } from 'mongoose';
26
26
  import type { IOtp, IOtpModel } from '../types';
27
- declare const otpSchema: Schema<IOtp, IOtpModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IOtp, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<IOtp>> & import("mongoose").FlatRecord<IOtp> & Required<{
28
- _id: import("mongoose").Types.ObjectId;
29
- }>>;
27
+ declare const otpSchema: Schema<IOtp, IOtpModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IOtp>;
30
28
  export default otpSchema;
@@ -22,9 +22,7 @@
22
22
  /// <reference types="mongoose/types/validation" />
23
23
  /// <reference types="mongoose/types/virtuals" />
24
24
  /// <reference types="mongoose/types/inferschematype" />
25
- import { Schema, Types } from 'mongoose';
25
+ import { Schema } from 'mongoose';
26
26
  import { IPortiaArticle, IPortiaArticleModel } from '../types';
27
- declare const portiaArticleSchema: Schema<IPortiaArticle, IPortiaArticleModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IPortiaArticle, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<IPortiaArticle>> & import("mongoose").FlatRecord<IPortiaArticle> & Required<{
28
- _id: Types.ObjectId;
29
- }>>;
27
+ declare const portiaArticleSchema: Schema<IPortiaArticle, IPortiaArticleModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IPortiaArticle>;
30
28
  export default portiaArticleSchema;
@@ -22,9 +22,7 @@
22
22
  /// <reference types="mongoose/types/validation" />
23
23
  /// <reference types="mongoose/types/virtuals" />
24
24
  /// <reference types="mongoose/types/inferschematype" />
25
- import { Schema, Types } from 'mongoose';
25
+ import { Schema } from 'mongoose';
26
26
  import type { IProblem, IProblemModel } from '../types';
27
- declare const problemSchema: Schema<IProblem, IProblemModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IProblem, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<IProblem>> & import("mongoose").FlatRecord<IProblem> & Required<{
28
- _id: Types.ObjectId;
29
- }>>;
27
+ declare const problemSchema: Schema<IProblem, IProblemModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IProblem>;
30
28
  export default problemSchema;
@@ -22,9 +22,7 @@
22
22
  /// <reference types="mongoose/types/validation" />
23
23
  /// <reference types="mongoose/types/virtuals" />
24
24
  /// <reference types="mongoose/types/inferschematype" />
25
- import { Schema, Types } from 'mongoose';
25
+ import { Schema } from 'mongoose';
26
26
  import type { ISearchHistory, ISearchHistoryModel } from '../types';
27
- declare const searchHistorySchema: Schema<ISearchHistory, ISearchHistoryModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, ISearchHistory, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<ISearchHistory>> & import("mongoose").FlatRecord<ISearchHistory> & Required<{
28
- _id: Types.ObjectId;
29
- }>>;
27
+ declare const searchHistorySchema: Schema<ISearchHistory, ISearchHistoryModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, ISearchHistory>;
30
28
  export default searchHistorySchema;
@@ -22,9 +22,7 @@
22
22
  /// <reference types="mongoose/types/validation" />
23
23
  /// <reference types="mongoose/types/virtuals" />
24
24
  /// <reference types="mongoose/types/inferschematype" />
25
- import { Schema, Types } from 'mongoose';
25
+ import { Schema } from 'mongoose';
26
26
  import type { ISFCategory, ISFCategoryModel } from '../types';
27
- declare const sfCategorySchema: Schema<ISFCategory, ISFCategoryModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, ISFCategory, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<ISFCategory>> & import("mongoose").FlatRecord<ISFCategory> & Required<{
28
- _id: Types.ObjectId;
29
- }>>;
27
+ declare const sfCategorySchema: Schema<ISFCategory, ISFCategoryModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, ISFCategory>;
30
28
  export default sfCategorySchema;
@@ -22,9 +22,7 @@
22
22
  /// <reference types="mongoose/types/validation" />
23
23
  /// <reference types="mongoose/types/virtuals" />
24
24
  /// <reference types="mongoose/types/inferschematype" />
25
- import { Schema, Types } from 'mongoose';
25
+ import { Schema } from 'mongoose';
26
26
  import type { ISFSubCategory, ISFSubCategoryModel } from '../types';
27
- declare const sfSubCategorySchema: Schema<ISFSubCategory, ISFSubCategoryModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, ISFSubCategory, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<ISFSubCategory>> & import("mongoose").FlatRecord<ISFSubCategory> & Required<{
28
- _id: Types.ObjectId;
29
- }>>;
27
+ declare const sfSubCategorySchema: Schema<ISFSubCategory, ISFSubCategoryModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, ISFSubCategory>;
30
28
  export default sfSubCategorySchema;
@@ -22,9 +22,7 @@
22
22
  /// <reference types="mongoose/types/validation" />
23
23
  /// <reference types="mongoose/types/virtuals" />
24
24
  /// <reference types="mongoose/types/inferschematype" />
25
- import { Schema, Types } from 'mongoose';
25
+ import { Schema } from 'mongoose';
26
26
  import type { ISFTag, ISFTagModel } from '../types';
27
- declare const sfTagSchema: Schema<ISFTag, ISFTagModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, ISFTag, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<ISFTag>> & import("mongoose").FlatRecord<ISFTag> & Required<{
28
- _id: Types.ObjectId;
29
- }>>;
27
+ declare const sfTagSchema: Schema<ISFTag, ISFTagModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, ISFTag>;
30
28
  export default sfTagSchema;
@@ -24,7 +24,5 @@
24
24
  /// <reference types="mongoose/types/inferschematype" />
25
25
  import { Schema } from 'mongoose';
26
26
  import type { ISiteMapCache, ISiteMapCacheModel } from '../types';
27
- declare const siteMapCacheSchema: Schema<ISiteMapCache, ISiteMapCacheModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, ISiteMapCache, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<ISiteMapCache>> & import("mongoose").FlatRecord<ISiteMapCache> & Required<{
28
- _id: import("mongoose").Types.ObjectId;
29
- }>>;
27
+ declare const siteMapCacheSchema: Schema<ISiteMapCache, ISiteMapCacheModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, ISiteMapCache>;
30
28
  export default siteMapCacheSchema;
@@ -22,9 +22,7 @@
22
22
  /// <reference types="mongoose/types/validation" />
23
23
  /// <reference types="mongoose/types/virtuals" />
24
24
  /// <reference types="mongoose/types/inferschematype" />
25
- import { Schema, Types } from 'mongoose';
25
+ import { Schema } from 'mongoose';
26
26
  import type { ISparkUseCase, ISparkUseCaseModel } from '../types';
27
- declare const sparkUseCaseSchema: Schema<ISparkUseCase, ISparkUseCaseModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, ISparkUseCase, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<ISparkUseCase>> & import("mongoose").FlatRecord<ISparkUseCase> & Required<{
28
- _id: Types.ObjectId;
29
- }>>;
27
+ declare const sparkUseCaseSchema: Schema<ISparkUseCase, ISparkUseCaseModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, ISparkUseCase>;
30
28
  export default sparkUseCaseSchema;
@@ -22,9 +22,7 @@
22
22
  /// <reference types="mongoose/types/validation" />
23
23
  /// <reference types="mongoose/types/virtuals" />
24
24
  /// <reference types="mongoose/types/inferschematype" />
25
- import { Schema, Types } from 'mongoose';
25
+ import { Schema } from 'mongoose';
26
26
  import type { ISpark, ISparkModel } from '../types';
27
- declare const sparkSchema: Schema<ISpark, ISparkModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, ISpark, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<ISpark>> & import("mongoose").FlatRecord<ISpark> & Required<{
28
- _id: Types.ObjectId;
29
- }>>;
27
+ declare const sparkSchema: Schema<ISpark, ISparkModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, ISpark>;
30
28
  export default sparkSchema;
@@ -22,9 +22,7 @@
22
22
  /// <reference types="mongoose/types/validation" />
23
23
  /// <reference types="mongoose/types/virtuals" />
24
24
  /// <reference types="mongoose/types/inferschematype" />
25
- import { Schema, Types } from 'mongoose';
25
+ import { Schema } from 'mongoose';
26
26
  import type { ISuggest, ISuggestModel } from '../types';
27
- declare const suggestSchema: Schema<ISuggest, ISuggestModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, ISuggest, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<ISuggest>> & import("mongoose").FlatRecord<ISuggest> & Required<{
28
- _id: Types.ObjectId;
29
- }>>;
27
+ declare const suggestSchema: Schema<ISuggest, ISuggestModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, ISuggest>;
30
28
  export default suggestSchema;
@@ -22,9 +22,7 @@
22
22
  /// <reference types="mongoose/types/validation" />
23
23
  /// <reference types="mongoose/types/virtuals" />
24
24
  /// <reference types="mongoose/types/inferschematype" />
25
- import { Schema, Types } from 'mongoose';
25
+ import { Schema } from 'mongoose';
26
26
  import type { ITechnology, ITechnologyModel } from '../types';
27
- declare const technologySchema: Schema<ITechnology, ITechnologyModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, ITechnology, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<ITechnology>> & import("mongoose").FlatRecord<ITechnology> & Required<{
28
- _id: Types.ObjectId;
29
- }>>;
27
+ declare const technologySchema: Schema<ITechnology, ITechnologyModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, ITechnology>;
30
28
  export default technologySchema;
@@ -22,9 +22,7 @@
22
22
  /// <reference types="mongoose/types/validation" />
23
23
  /// <reference types="mongoose/types/virtuals" />
24
24
  /// <reference types="mongoose/types/inferschematype" />
25
- import { Schema, Types } from 'mongoose';
25
+ import { Schema } from 'mongoose';
26
26
  import type { ITheme, IThemeModel } from '../types';
27
- declare const themeSchema: Schema<ITheme, IThemeModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, ITheme, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<ITheme>> & import("mongoose").FlatRecord<ITheme> & Required<{
28
- _id: Types.ObjectId;
29
- }>>;
27
+ declare const themeSchema: Schema<ITheme, IThemeModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, ITheme>;
30
28
  export default themeSchema;
@@ -24,7 +24,5 @@
24
24
  /// <reference types="mongoose/types/inferschematype" />
25
25
  import { Schema } from 'mongoose';
26
26
  import type { IToken, ITokenModel } from '../types';
27
- declare const tokenSchema: Schema<IToken, ITokenModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IToken, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<IToken>> & import("mongoose").FlatRecord<IToken> & Required<{
28
- _id: import("mongoose").Types.ObjectId;
29
- }>>;
27
+ declare const tokenSchema: Schema<IToken, ITokenModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IToken>;
30
28
  export default tokenSchema;
@@ -22,9 +22,7 @@
22
22
  /// <reference types="mongoose/types/validation" />
23
23
  /// <reference types="mongoose/types/virtuals" />
24
24
  /// <reference types="mongoose/types/inferschematype" />
25
- import { Schema, Types } from 'mongoose';
25
+ import { Schema } from 'mongoose';
26
26
  import type { IUpdateJob, IUpdateJobModel } from '../types';
27
- declare const updateJobSchema: Schema<IUpdateJob, IUpdateJobModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IUpdateJob, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<IUpdateJob>> & import("mongoose").FlatRecord<IUpdateJob> & Required<{
28
- _id: Types.ObjectId;
29
- }>>;
27
+ declare const updateJobSchema: Schema<IUpdateJob, IUpdateJobModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IUpdateJob>;
30
28
  export default updateJobSchema;
@@ -22,9 +22,7 @@
22
22
  /// <reference types="mongoose/types/validation" />
23
23
  /// <reference types="mongoose/types/virtuals" />
24
24
  /// <reference types="mongoose/types/inferschematype" />
25
- import { Schema, Types } from 'mongoose';
25
+ import { Schema } from 'mongoose';
26
26
  import type { IUseCase, IUseCaseModel } from '../types';
27
- declare const useCaseSchema: Schema<IUseCase, IUseCaseModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IUseCase, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<IUseCase>> & import("mongoose").FlatRecord<IUseCase> & Required<{
28
- _id: Types.ObjectId;
29
- }>>;
27
+ declare const useCaseSchema: Schema<IUseCase, IUseCaseModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IUseCase>;
30
28
  export default useCaseSchema;
@@ -22,9 +22,7 @@
22
22
  /// <reference types="mongoose/types/validation" />
23
23
  /// <reference types="mongoose/types/virtuals" />
24
24
  /// <reference types="mongoose/types/inferschematype" />
25
- import { Schema, Types } from 'mongoose';
25
+ import { Schema } from 'mongoose';
26
26
  import type { IUserToken, IUserTokenModel } from '../types';
27
- declare const userTokenSchema: Schema<IUserToken, IUserTokenModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IUserToken, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<IUserToken>> & import("mongoose").FlatRecord<IUserToken> & Required<{
28
- _id: Types.ObjectId;
29
- }>>;
27
+ declare const userTokenSchema: Schema<IUserToken, IUserTokenModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IUserToken>;
30
28
  export default userTokenSchema;
@@ -22,9 +22,7 @@
22
22
  /// <reference types="mongoose/types/validation" />
23
23
  /// <reference types="mongoose/types/virtuals" />
24
24
  /// <reference types="mongoose/types/inferschematype" />
25
- import { Schema, Types } from 'mongoose';
25
+ import { Schema } from 'mongoose';
26
26
  import type { IUserVisit, IUserVisitModel } from '../types';
27
- declare const userVisitSchema: Schema<IUserVisit, IUserVisitModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IUserVisit, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<IUserVisit>> & import("mongoose").FlatRecord<IUserVisit> & Required<{
28
- _id: Types.ObjectId;
29
- }>>;
27
+ declare const userVisitSchema: Schema<IUserVisit, IUserVisitModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IUserVisit>;
30
28
  export default userVisitSchema;
@@ -22,9 +22,7 @@
22
22
  /// <reference types="mongoose/types/validation" />
23
23
  /// <reference types="mongoose/types/virtuals" />
24
24
  /// <reference types="mongoose/types/inferschematype" />
25
- import { Schema, Types } from 'mongoose';
25
+ import { Schema } from 'mongoose';
26
26
  import type { IUser, IUserModel } from '../types';
27
- declare const userSchema: Schema<IUser, IUserModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IUser, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<IUser>> & import("mongoose").FlatRecord<IUser> & Required<{
28
- _id: Types.ObjectId;
29
- }>>;
27
+ declare const userSchema: Schema<IUser, IUserModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IUser>;
30
28
  export default userSchema;
@@ -166,6 +166,7 @@ interface Financial {
166
166
  interface FinanceFunding {
167
167
  amount: number;
168
168
  currency: string;
169
+ amountUsd: number;
169
170
  }
170
171
  interface DeploymentOption {
171
172
  isCloud: boolean;
@@ -187,6 +188,14 @@ export interface Pivot extends BaseSchema {
187
188
  pivotFrom: string;
188
189
  pivotTo: string;
189
190
  }
191
+ export interface InvestmentPortfolio {
192
+ foundingThesis: string;
193
+ portfolioCompanyAnalyses: PortfolioCompanyAnalyses[];
194
+ }
195
+ export interface PortfolioCompanyAnalyses {
196
+ company: Types.ObjectId | ICompany;
197
+ investmentThesis: string;
198
+ }
190
199
  export interface ICompany extends BaseSchema {
191
200
  name: string;
192
201
  lcName: string;
@@ -267,6 +276,7 @@ export interface ICompany extends BaseSchema {
267
276
  investmentStageCount: Number;
268
277
  focusAreaCount: Number;
269
278
  diversitySpotlights: string[];
279
+ investmentPortfolio: InvestmentPortfolio;
270
280
  }
271
281
  export interface ICompanyModel extends BaseModel<ICompany> {
272
282
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cool-digital-solutions/interferir-models",
3
- "version": "1.0.15",
3
+ "version": "1.0.17",
4
4
  "main": "./dist/index.js",
5
5
  "files": [
6
6
  "dist/**/*"
@@ -17,7 +17,7 @@
17
17
  "license": "ISC",
18
18
  "dependencies": {
19
19
  "express-http-context": "^1.2.4",
20
- "mongoose": "^8.0.4"
20
+ "mongoose": "^6.0.9"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@types/node": "^20.11.6",