@grapadigital/shared-schemas 1.0.199 → 1.0.201

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 CHANGED
@@ -31,3 +31,5 @@ export { Note, NoteSchema, NoteMention, NoteMentionSchema } from './schemas/note
31
31
  export * from './schemas/content-capture-process.schema';
32
32
  export * from './schemas/content-draft.schema';
33
33
  export * from './schemas/export-comments-job.schema';
34
+ export * from './schemas/profile-followers-snapshot.schema';
35
+ export * from './schemas/lead.schema';
package/dist/index.js CHANGED
@@ -52,3 +52,5 @@ Object.defineProperty(exports, "NoteMentionSchema", { enumerable: true, get: fun
52
52
  __exportStar(require("./schemas/content-capture-process.schema"), exports);
53
53
  __exportStar(require("./schemas/content-draft.schema"), exports);
54
54
  __exportStar(require("./schemas/export-comments-job.schema"), exports);
55
+ __exportStar(require("./schemas/profile-followers-snapshot.schema"), exports);
56
+ __exportStar(require("./schemas/lead.schema"), exports);
@@ -154,6 +154,8 @@ export declare const EstimatesSchema: MongooseSchema<Estimates, import("mongoose
154
154
  export declare const CONTENT_STATUS_VALUES: readonly ["pending", "approved", "deleted", "processing", "classified", "error", "partial_error"];
155
155
  export type ContentStatus = (typeof CONTENT_STATUS_VALUES)[number];
156
156
  export declare const CONTENT_REPORTABLE_STATUS_VALUES: ContentStatus[];
157
+ export declare const CONTENT_COMMENT_COUNT_SOURCE_VALUES: readonly ["primetag", "exportcomments"];
158
+ export type ContentCommentCountSource = (typeof CONTENT_COMMENT_COUNT_SOURCE_VALUES)[number];
157
159
  export declare const CONTENT_METRICS_SOURCE_VALUES: readonly ["real", "organic", "estimated"];
158
160
  export type ContentMetricsSource = (typeof CONTENT_METRICS_SOURCE_VALUES)[number];
159
161
  export declare class ContentStatusChangedBy {
@@ -180,6 +182,8 @@ export declare class Content {
180
182
  status: ContentStatus;
181
183
  metricsSource?: ContentMetricsSource | null;
182
184
  processedCommentCount?: number | null;
185
+ primetagCommentCount?: number | null;
186
+ commentCountSource?: ContentCommentCountSource | null;
183
187
  approvedAt?: Date | null;
184
188
  approvedBy?: ContentStatusChangedBy | null;
185
189
  profile: Types.ObjectId | Profile;
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.ContentModel = exports.ContentSchema = exports.Content = exports.ContentStatusChangedBySchema = exports.ContentStatusChangedBy = exports.CONTENT_METRICS_SOURCE_VALUES = exports.CONTENT_REPORTABLE_STATUS_VALUES = exports.CONTENT_STATUS_VALUES = exports.EstimatesSchema = exports.Estimates = exports.ContentMetricsHistoryEntrySchema = exports.ContentMetricsHistoryEntry = exports.MetricsSchema = exports.Metrics = exports.SentimentAnalysisSchema = exports.SentimentAnalysis = exports.SentimentScoreSchema = exports.SentimentScore = exports.WordCloudSchema = exports.WordCloud = exports.SentimentCommentSchema = exports.SentimentComment = void 0;
12
+ exports.ContentModel = exports.ContentSchema = exports.Content = exports.ContentStatusChangedBySchema = exports.ContentStatusChangedBy = exports.CONTENT_METRICS_SOURCE_VALUES = exports.CONTENT_COMMENT_COUNT_SOURCE_VALUES = exports.CONTENT_REPORTABLE_STATUS_VALUES = exports.CONTENT_STATUS_VALUES = exports.EstimatesSchema = exports.Estimates = exports.ContentMetricsHistoryEntrySchema = exports.ContentMetricsHistoryEntry = exports.MetricsSchema = exports.Metrics = exports.SentimentAnalysisSchema = exports.SentimentAnalysis = exports.SentimentScoreSchema = exports.SentimentScore = exports.WordCloudSchema = exports.WordCloud = exports.SentimentCommentSchema = exports.SentimentComment = void 0;
13
13
  const mongoose_1 = require("@nestjs/mongoose");
14
14
  const mongoose_2 = require("mongoose");
15
15
  let SentimentComment = class SentimentComment {
@@ -271,6 +271,7 @@ exports.CONTENT_REPORTABLE_STATUS_VALUES = [
271
271
  'error',
272
272
  'partial_error',
273
273
  ];
274
+ exports.CONTENT_COMMENT_COUNT_SOURCE_VALUES = ['primetag', 'exportcomments'];
274
275
  exports.CONTENT_METRICS_SOURCE_VALUES = ['real', 'organic', 'estimated'];
275
276
  let ContentStatusChangedBy = class ContentStatusChangedBy {
276
277
  };
@@ -346,6 +347,14 @@ __decorate([
346
347
  (0, mongoose_1.Prop)({ type: Number, required: false, default: null }),
347
348
  __metadata("design:type", Object)
348
349
  ], Content.prototype, "processedCommentCount", void 0);
350
+ __decorate([
351
+ (0, mongoose_1.Prop)({ type: Number, required: false, default: null }),
352
+ __metadata("design:type", Object)
353
+ ], Content.prototype, "primetagCommentCount", void 0);
354
+ __decorate([
355
+ (0, mongoose_1.Prop)({ type: String, enum: exports.CONTENT_COMMENT_COUNT_SOURCE_VALUES, required: false, default: null }),
356
+ __metadata("design:type", Object)
357
+ ], Content.prototype, "commentCountSource", void 0);
349
358
  __decorate([
350
359
  (0, mongoose_1.Prop)({ type: Date, required: false, default: null }),
351
360
  __metadata("design:type", Object)
@@ -0,0 +1,281 @@
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/session" />
19
+ /// <reference types="mongoose/types/types" />
20
+ /// <reference types="mongoose/types/utility" />
21
+ /// <reference types="mongoose/types/validation" />
22
+ /// <reference types="mongoose/types/virtuals" />
23
+ /// <reference types="mongoose/types/schematypes" />
24
+ /// <reference types="mongoose/types/inferschematype" />
25
+ /// <reference types="mongoose/types/inferrawdoctype" />
26
+ import { HydratedDocument, Types } from 'mongoose';
27
+ export declare const LEAD_STATUS_VALUES: readonly ["draft", "submitted"];
28
+ export type LeadStatus = (typeof LEAD_STATUS_VALUES)[number];
29
+ export declare const LEAD_PRESENTATION_FORMAT_VALUES: readonly ["online", "in_person", "email_only"];
30
+ export type LeadPresentationFormat = (typeof LEAD_PRESENTATION_FORMAT_VALUES)[number];
31
+ export declare const LEAD_PAYMENT_TERM_VALUES: readonly [30, 60, 90, 120];
32
+ export type LeadPaymentTerm = (typeof LEAD_PAYMENT_TERM_VALUES)[number];
33
+ export declare const LEAD_DELIVERABLE_VALUES: readonly ["content_strategy", "ppt_presentation", "curation_sheet", "production_sheet"];
34
+ export type LeadDeliverable = (typeof LEAD_DELIVERABLE_VALUES)[number];
35
+ export declare const LEAD_GOAL_VALUES: readonly ["awareness", "consideration", "intent"];
36
+ export type LeadGoal = (typeof LEAD_GOAL_VALUES)[number];
37
+ export declare const LEAD_CHANNEL_VALUES: readonly ["online", "offline"];
38
+ export type LeadChannel = (typeof LEAD_CHANNEL_VALUES)[number];
39
+ export declare const LEAD_RIGHT_VALUES: readonly ["influencer_collab", "brand_collab", "client_boost", "influencer_boost", "segment_exclusivity", "image_rights", "dark_post", "offline"];
40
+ export type LeadRight = (typeof LEAD_RIGHT_VALUES)[number];
41
+ export declare const LEAD_FOLLOWER_TIER_VALUES: readonly ["heroes", "macros", "medios", "micros", "nanos", "nda"];
42
+ export type LeadFollowerTier = (typeof LEAD_FOLLOWER_TIER_VALUES)[number];
43
+ export declare const LEAD_SECTION_KEYS: readonly ["general", "confidentiality", "budget", "competition", "deliverables", "strategicContext", "objectives", "deliveryScope", "audience", "curation", "logistics", "contentGuidelines"];
44
+ export type LeadSectionKey = (typeof LEAD_SECTION_KEYS)[number];
45
+ export declare class LeadGeneral {
46
+ advertiser?: string;
47
+ brand?: string;
48
+ socialProfiles?: string;
49
+ campaignName?: string;
50
+ language?: string;
51
+ materialsUrl?: string;
52
+ presentationDate?: Date;
53
+ schedule?: string;
54
+ presentationFormat?: LeadPresentationFormat;
55
+ contactName?: string;
56
+ contactEmail?: string;
57
+ }
58
+ export declare const LeadGeneralSchema: import("mongoose").Schema<LeadGeneral, import("mongoose").Model<LeadGeneral, any, any, any, import("mongoose").Document<unknown, any, LeadGeneral, any, {}> & LeadGeneral & {
59
+ _id: Types.ObjectId;
60
+ } & {
61
+ __v: number;
62
+ }, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, LeadGeneral, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<LeadGeneral>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<LeadGeneral> & {
63
+ _id: Types.ObjectId;
64
+ } & {
65
+ __v: number;
66
+ }>;
67
+ export declare class LeadConfidentiality {
68
+ hasRestriction?: boolean;
69
+ restrictionDetails?: string;
70
+ }
71
+ export declare const LeadConfidentialitySchema: import("mongoose").Schema<LeadConfidentiality, import("mongoose").Model<LeadConfidentiality, any, any, any, import("mongoose").Document<unknown, any, LeadConfidentiality, any, {}> & LeadConfidentiality & {
72
+ _id: Types.ObjectId;
73
+ } & {
74
+ __v: number;
75
+ }, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, LeadConfidentiality, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<LeadConfidentiality>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<LeadConfidentiality> & {
76
+ _id: Types.ObjectId;
77
+ } & {
78
+ __v: number;
79
+ }>;
80
+ export declare class LeadBudget {
81
+ totalBudget?: number;
82
+ creatorsBudget?: number;
83
+ paymentTerm?: LeadPaymentTerm;
84
+ campaignDurationMonths?: number;
85
+ }
86
+ export declare const LeadBudgetSchema: import("mongoose").Schema<LeadBudget, import("mongoose").Model<LeadBudget, any, any, any, import("mongoose").Document<unknown, any, LeadBudget, any, {}> & LeadBudget & {
87
+ _id: Types.ObjectId;
88
+ } & {
89
+ __v: number;
90
+ }, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, LeadBudget, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<LeadBudget>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<LeadBudget> & {
91
+ _id: Types.ObjectId;
92
+ } & {
93
+ __v: number;
94
+ }>;
95
+ export declare class LeadCompetition {
96
+ isCompetitive?: boolean;
97
+ involveAreaLeaders?: boolean;
98
+ }
99
+ export declare const LeadCompetitionSchema: import("mongoose").Schema<LeadCompetition, import("mongoose").Model<LeadCompetition, any, any, any, import("mongoose").Document<unknown, any, LeadCompetition, any, {}> & LeadCompetition & {
100
+ _id: Types.ObjectId;
101
+ } & {
102
+ __v: number;
103
+ }, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, LeadCompetition, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<LeadCompetition>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<LeadCompetition> & {
104
+ _id: Types.ObjectId;
105
+ } & {
106
+ __v: number;
107
+ }>;
108
+ export declare class LeadDeliverables {
109
+ types?: LeadDeliverable[];
110
+ }
111
+ export declare const LeadDeliverablesSchema: import("mongoose").Schema<LeadDeliverables, import("mongoose").Model<LeadDeliverables, any, any, any, import("mongoose").Document<unknown, any, LeadDeliverables, any, {}> & LeadDeliverables & {
112
+ _id: Types.ObjectId;
113
+ } & {
114
+ __v: number;
115
+ }, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, LeadDeliverables, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<LeadDeliverables>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<LeadDeliverables> & {
116
+ _id: Types.ObjectId;
117
+ } & {
118
+ __v: number;
119
+ }>;
120
+ export declare class LeadStrategicContext {
121
+ brandScenario?: string;
122
+ productInfo?: string;
123
+ parentCampaign?: string;
124
+ message?: string;
125
+ callToAction?: string;
126
+ highlights?: string;
127
+ centralChallenge?: string;
128
+ tone?: string;
129
+ }
130
+ export declare const LeadStrategicContextSchema: import("mongoose").Schema<LeadStrategicContext, import("mongoose").Model<LeadStrategicContext, any, any, any, import("mongoose").Document<unknown, any, LeadStrategicContext, any, {}> & LeadStrategicContext & {
131
+ _id: Types.ObjectId;
132
+ } & {
133
+ __v: number;
134
+ }, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, LeadStrategicContext, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<LeadStrategicContext>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<LeadStrategicContext> & {
135
+ _id: Types.ObjectId;
136
+ } & {
137
+ __v: number;
138
+ }>;
139
+ export declare class LeadObjectives {
140
+ goals?: LeadGoal[];
141
+ primaryGoal?: LeadGoal;
142
+ }
143
+ export declare const LeadObjectivesSchema: import("mongoose").Schema<LeadObjectives, import("mongoose").Model<LeadObjectives, any, any, any, import("mongoose").Document<unknown, any, LeadObjectives, any, {}> & LeadObjectives & {
144
+ _id: Types.ObjectId;
145
+ } & {
146
+ __v: number;
147
+ }, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, LeadObjectives, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<LeadObjectives>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<LeadObjectives> & {
148
+ _id: Types.ObjectId;
149
+ } & {
150
+ __v: number;
151
+ }>;
152
+ export declare class LeadDeliveryScope {
153
+ channels?: LeadChannel[];
154
+ primaryNetworks?: string;
155
+ secondaryNetworks?: string;
156
+ contentPerNetwork?: string;
157
+ rights?: LeadRight[];
158
+ imageRightsMonths?: number;
159
+ offlineFormats?: string;
160
+ }
161
+ export declare const LeadDeliveryScopeSchema: import("mongoose").Schema<LeadDeliveryScope, import("mongoose").Model<LeadDeliveryScope, any, any, any, import("mongoose").Document<unknown, any, LeadDeliveryScope, any, {}> & LeadDeliveryScope & {
162
+ _id: Types.ObjectId;
163
+ } & {
164
+ __v: number;
165
+ }, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, LeadDeliveryScope, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<LeadDeliveryScope>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<LeadDeliveryScope> & {
166
+ _id: Types.ObjectId;
167
+ } & {
168
+ __v: number;
169
+ }>;
170
+ export declare class LeadAudience {
171
+ ageRange?: string;
172
+ gender?: string;
173
+ region?: string;
174
+ attitudinalProfile?: string;
175
+ }
176
+ export declare const LeadAudienceSchema: import("mongoose").Schema<LeadAudience, import("mongoose").Model<LeadAudience, any, any, any, import("mongoose").Document<unknown, any, LeadAudience, any, {}> & LeadAudience & {
177
+ _id: Types.ObjectId;
178
+ } & {
179
+ __v: number;
180
+ }, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, LeadAudience, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<LeadAudience>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<LeadAudience> & {
181
+ _id: Types.ObjectId;
182
+ } & {
183
+ __v: number;
184
+ }>;
185
+ export declare class LeadCuration {
186
+ influencerProfile?: string;
187
+ referenceNames?: string;
188
+ namesToAvoid?: string;
189
+ approveCount?: number;
190
+ analyzeCount?: number;
191
+ followerTiers?: LeadFollowerTier[];
192
+ competitorBrands?: string;
193
+ competitorCheckPeriod?: string;
194
+ requirements?: string;
195
+ }
196
+ export declare const LeadCurationSchema: import("mongoose").Schema<LeadCuration, import("mongoose").Model<LeadCuration, any, any, any, import("mongoose").Document<unknown, any, LeadCuration, any, {}> & LeadCuration & {
197
+ _id: Types.ObjectId;
198
+ } & {
199
+ __v: number;
200
+ }, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, LeadCuration, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<LeadCuration>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<LeadCuration> & {
201
+ _id: Types.ObjectId;
202
+ } & {
203
+ __v: number;
204
+ }>;
205
+ export declare class LeadLogistics {
206
+ productShipping?: string;
207
+ eventPresence?: string;
208
+ otherLogistics?: string;
209
+ }
210
+ export declare const LeadLogisticsSchema: import("mongoose").Schema<LeadLogistics, import("mongoose").Model<LeadLogistics, any, any, any, import("mongoose").Document<unknown, any, LeadLogistics, any, {}> & LeadLogistics & {
211
+ _id: Types.ObjectId;
212
+ } & {
213
+ __v: number;
214
+ }, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, LeadLogistics, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<LeadLogistics>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<LeadLogistics> & {
215
+ _id: Types.ObjectId;
216
+ } & {
217
+ __v: number;
218
+ }>;
219
+ export declare class LeadContentGuidelines {
220
+ productionRequirements?: string;
221
+ dos?: string;
222
+ donts?: string;
223
+ mandatoryWords?: string;
224
+ forbiddenTopics?: string;
225
+ forbiddenWords?: string;
226
+ creatorMessage?: string;
227
+ additionalDirections?: string;
228
+ }
229
+ export declare const LeadContentGuidelinesSchema: import("mongoose").Schema<LeadContentGuidelines, import("mongoose").Model<LeadContentGuidelines, any, any, any, import("mongoose").Document<unknown, any, LeadContentGuidelines, any, {}> & LeadContentGuidelines & {
230
+ _id: Types.ObjectId;
231
+ } & {
232
+ __v: number;
233
+ }, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, LeadContentGuidelines, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<LeadContentGuidelines>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<LeadContentGuidelines> & {
234
+ _id: Types.ObjectId;
235
+ } & {
236
+ __v: number;
237
+ }>;
238
+ export type LeadDocument = HydratedDocument<Lead>;
239
+ export declare class Lead {
240
+ accessToken: string;
241
+ status: LeadStatus;
242
+ organization: Types.ObjectId;
243
+ submittedAt?: Date;
244
+ lastEditedAt?: Date;
245
+ general: LeadGeneral;
246
+ confidentiality: LeadConfidentiality;
247
+ budget: LeadBudget;
248
+ competition: LeadCompetition;
249
+ deliverables: LeadDeliverables;
250
+ strategicContext: LeadStrategicContext;
251
+ objectives: LeadObjectives;
252
+ deliveryScope: LeadDeliveryScope;
253
+ audience: LeadAudience;
254
+ curation: LeadCuration;
255
+ logistics: LeadLogistics;
256
+ contentGuidelines: LeadContentGuidelines;
257
+ createdAt?: Date;
258
+ updatedAt?: Date;
259
+ }
260
+ export declare const LeadSchema: import("mongoose").Schema<Lead, import("mongoose").Model<Lead, any, any, any, import("mongoose").Document<unknown, any, Lead, any, {}> & Lead & {
261
+ _id: Types.ObjectId;
262
+ } & {
263
+ __v: number;
264
+ }, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Lead, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<Lead>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<Lead> & {
265
+ _id: Types.ObjectId;
266
+ } & {
267
+ __v: number;
268
+ }>;
269
+ export declare const LeadModel: import("mongoose").Model<Lead, {}, {}, {}, import("mongoose").Document<unknown, {}, Lead, {}, import("mongoose").DefaultSchemaOptions> & Lead & {
270
+ _id: Types.ObjectId;
271
+ } & {
272
+ __v: number;
273
+ }, import("mongoose").Schema<Lead, import("mongoose").Model<Lead, any, any, any, import("mongoose").Document<unknown, any, Lead, any, {}> & Lead & {
274
+ _id: Types.ObjectId;
275
+ } & {
276
+ __v: number;
277
+ }, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Lead, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<Lead>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<Lead> & {
278
+ _id: Types.ObjectId;
279
+ } & {
280
+ __v: number;
281
+ }>>;