@grapadigital/shared-schemas 1.0.226 → 1.0.227
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/schemas/benchmark.schema.d.ts +1 -6
- package/dist/schemas/benchmark.schema.js +3 -8
- package/dist/schemas/content.schema.d.ts +0 -31
- package/dist/schemas/content.schema.js +1 -43
- package/package.json +1 -1
- package/src/schemas/benchmark.schema.ts +2 -7
- package/src/schemas/content.schema.ts +0 -39
|
@@ -25,14 +25,9 @@
|
|
|
25
25
|
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
26
26
|
import { HydratedDocument, Schema as MongooseSchema, Types } from 'mongoose';
|
|
27
27
|
import { Client } from './client.schema';
|
|
28
|
-
/**
|
|
29
|
-
* Métrica do benchmark. Nomes por extenso (GD-751); os antigos (`er`, `cpi`,
|
|
30
|
-
* `cpe`) ficam aceitos só durante a virada e saem na fase de remoção.
|
|
31
|
-
*/
|
|
28
|
+
/** Métrica do benchmark, com nomes por extenso (GD-751). */
|
|
32
29
|
export declare const BENCHMARK_METRIC_VALUES: readonly ["reach", "engagementRate", "costPerThousandImpressions", "costPerEngagement"];
|
|
33
30
|
export type BenchmarkMetric = (typeof BENCHMARK_METRIC_VALUES)[number];
|
|
34
|
-
/** @deprecated Nomes antigos aceitos só na virada (GD-751). */
|
|
35
|
-
export declare const LEGACY_BENCHMARK_METRIC_VALUES: readonly ["er", "cpi", "cpe", "costPerImpression"];
|
|
36
31
|
export type BenchmarkMode = 'organic' | 'paid';
|
|
37
32
|
export type BenchmarkDocument = HydratedDocument<Benchmark>;
|
|
38
33
|
export declare class Benchmark {
|
|
@@ -9,16 +9,11 @@ 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.BenchmarkModel = exports.BenchmarkSchema = exports.Benchmark = exports.
|
|
12
|
+
exports.BenchmarkModel = exports.BenchmarkSchema = exports.Benchmark = exports.BENCHMARK_METRIC_VALUES = void 0;
|
|
13
13
|
const mongoose_1 = require("@nestjs/mongoose");
|
|
14
14
|
const mongoose_2 = require("mongoose");
|
|
15
|
-
/**
|
|
16
|
-
* Métrica do benchmark. Nomes por extenso (GD-751); os antigos (`er`, `cpi`,
|
|
17
|
-
* `cpe`) ficam aceitos só durante a virada e saem na fase de remoção.
|
|
18
|
-
*/
|
|
15
|
+
/** Métrica do benchmark, com nomes por extenso (GD-751). */
|
|
19
16
|
exports.BENCHMARK_METRIC_VALUES = ['reach', 'engagementRate', 'costPerThousandImpressions', 'costPerEngagement'];
|
|
20
|
-
/** @deprecated Nomes antigos aceitos só na virada (GD-751). */
|
|
21
|
-
exports.LEGACY_BENCHMARK_METRIC_VALUES = ['er', 'cpi', 'cpe', 'costPerImpression'];
|
|
22
17
|
let Benchmark = class Benchmark {
|
|
23
18
|
};
|
|
24
19
|
__decorate([
|
|
@@ -34,7 +29,7 @@ __decorate([
|
|
|
34
29
|
__metadata("design:type", String)
|
|
35
30
|
], Benchmark.prototype, "mode", void 0);
|
|
36
31
|
__decorate([
|
|
37
|
-
(0, mongoose_1.Prop)({ type: String, enum:
|
|
32
|
+
(0, mongoose_1.Prop)({ type: String, enum: exports.BENCHMARK_METRIC_VALUES, required: true }),
|
|
38
33
|
__metadata("design:type", String)
|
|
39
34
|
], Benchmark.prototype, "metric", void 0);
|
|
40
35
|
__decorate([
|
|
@@ -93,8 +93,6 @@ export declare class Metrics {
|
|
|
93
93
|
commentCount?: number | null;
|
|
94
94
|
savedCount?: number | null;
|
|
95
95
|
shareCount?: number | null;
|
|
96
|
-
/** @deprecated Usar `shareCount` (GD-751). Sai na fase de remoção. */
|
|
97
|
-
sharesCount?: number | null;
|
|
98
96
|
storyCount?: number | null;
|
|
99
97
|
tapBackCount?: number | null;
|
|
100
98
|
clickCount?: number | null;
|
|
@@ -106,8 +104,6 @@ export declare class Metrics {
|
|
|
106
104
|
dislikeCount?: number | null;
|
|
107
105
|
/** Valor de Mídia Estimado (EMV), da Primetag. Ver GD-751. */
|
|
108
106
|
earnedMediaValue?: number | null;
|
|
109
|
-
/** @deprecated Usar `earnedMediaValue` (GD-751). Sai na fase de remoção. */
|
|
110
|
-
emv?: number | null;
|
|
111
107
|
engagementCount?: number | null;
|
|
112
108
|
engagementRate?: number | null;
|
|
113
109
|
effectiveReach?: number | null;
|
|
@@ -117,16 +113,10 @@ export declare class Metrics {
|
|
|
117
113
|
allocatedBudgetAmount?: number | null;
|
|
118
114
|
/** Custo por Influência (CPMI): investimento ÷ (alcance × Score) × 1000. Ver GD-751. */
|
|
119
115
|
costPerInfluency?: number | null;
|
|
120
|
-
/** @deprecated Usar `costPerInfluency` (GD-751). Sai na fase de remoção. */
|
|
121
|
-
cpmi?: number | null;
|
|
122
116
|
/** Custo por Mil Impressões (CPM): investimento ÷ impressões × 1000. Ver GD-751. */
|
|
123
117
|
costPerThousandImpressions?: number | null;
|
|
124
|
-
/** @deprecated Usar `costPerThousandImpressions` (GD-751). Sai na fase de remoção. */
|
|
125
|
-
cpi?: number | null;
|
|
126
118
|
/** Custo por Engajamento (CPE): investimento ÷ engajamento. Ver GD-751. */
|
|
127
119
|
costPerEngagement?: number | null;
|
|
128
|
-
/** @deprecated Usar `costPerEngagement` (GD-751). Sai na fase de remoção. */
|
|
129
|
-
cpe?: number | null;
|
|
130
120
|
/**
|
|
131
121
|
* Alcance Potencial (o antigo PO Reach): seguidores no momento do post. Em
|
|
132
122
|
* Content.metrics soma o autor e todos os coautores. Ver GD-703.
|
|
@@ -177,8 +167,6 @@ export declare class ContentBaseMetrics {
|
|
|
177
167
|
commentCount?: number | null;
|
|
178
168
|
savedCount?: number | null;
|
|
179
169
|
shareCount?: number | null;
|
|
180
|
-
/** @deprecated Usar `shareCount` (GD-751). Sai na fase de remoção. */
|
|
181
|
-
sharesCount?: number | null;
|
|
182
170
|
storyCount?: number | null;
|
|
183
171
|
tapBackCount?: number | null;
|
|
184
172
|
clickCount?: number | null;
|
|
@@ -190,8 +178,6 @@ export declare class ContentBaseMetrics {
|
|
|
190
178
|
dislikeCount?: number | null;
|
|
191
179
|
/** Valor de Mídia Estimado (EMV), da Primetag. Ver GD-751. */
|
|
192
180
|
earnedMediaValue?: number | null;
|
|
193
|
-
/** @deprecated Usar `earnedMediaValue` (GD-751). Sai na fase de remoção. */
|
|
194
|
-
emv?: number | null;
|
|
195
181
|
}
|
|
196
182
|
export declare const ContentBaseMetricsSchema: MongooseSchema<ContentBaseMetrics, import("mongoose").Model<ContentBaseMetrics, any, any, any, import("mongoose").Document<unknown, any, ContentBaseMetrics, any, {}> & ContentBaseMetrics & {
|
|
197
183
|
_id: Types.ObjectId;
|
|
@@ -227,8 +213,6 @@ export declare class ContentVideo {
|
|
|
227
213
|
watchTime?: number | null;
|
|
228
214
|
/** Taxa de Conclusão do Vídeo (VCR): (watchTime ÷ duration) ÷ impressionCount, sem teto. Ver GD-751. */
|
|
229
215
|
videoCompletionRate?: number | null;
|
|
230
|
-
/** @deprecated Usar `videoCompletionRate` (GD-751). Sai na fase de remoção. */
|
|
231
|
-
vcr?: number | null;
|
|
232
216
|
}
|
|
233
217
|
export declare const ContentVideoSchema: MongooseSchema<ContentVideo, import("mongoose").Model<ContentVideo, any, any, any, import("mongoose").Document<unknown, any, ContentVideo, any, {}> & ContentVideo & {
|
|
234
218
|
_id: Types.ObjectId;
|
|
@@ -268,19 +252,6 @@ export declare const EstimatedMetricsSchema: MongooseSchema<EstimatedMetrics, im
|
|
|
268
252
|
} & {
|
|
269
253
|
__v: number;
|
|
270
254
|
}>;
|
|
271
|
-
/** @deprecated Usar `EstimatedMetrics` (GD-751). */
|
|
272
|
-
export declare class Estimates extends EstimatedMetrics {
|
|
273
|
-
}
|
|
274
|
-
/** @deprecated Usar `EstimatedMetricsSchema` (GD-751). */
|
|
275
|
-
export declare const EstimatesSchema: MongooseSchema<EstimatedMetrics, import("mongoose").Model<EstimatedMetrics, any, any, any, import("mongoose").Document<unknown, any, EstimatedMetrics, any, {}> & EstimatedMetrics & {
|
|
276
|
-
_id: Types.ObjectId;
|
|
277
|
-
} & {
|
|
278
|
-
__v: number;
|
|
279
|
-
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, EstimatedMetrics, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<EstimatedMetrics>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<EstimatedMetrics> & {
|
|
280
|
-
_id: Types.ObjectId;
|
|
281
|
-
} & {
|
|
282
|
-
__v: number;
|
|
283
|
-
}>;
|
|
284
255
|
export declare const CONTENT_STATUS_VALUES: readonly ["pending", "approved", "deleted", "processing", "classified", "error", "partial_error"];
|
|
285
256
|
export type ContentStatus = (typeof CONTENT_STATUS_VALUES)[number];
|
|
286
257
|
export declare const CONTENT_REPORTABLE_STATUS_VALUES: ContentStatus[];
|
|
@@ -337,8 +308,6 @@ export declare class Content {
|
|
|
337
308
|
manualMetrics?: string[];
|
|
338
309
|
video?: ContentVideo | null;
|
|
339
310
|
estimatedMetrics?: EstimatedMetrics | null;
|
|
340
|
-
/** @deprecated Usar `estimatedMetrics` (GD-751). Sai na fase de remoção. */
|
|
341
|
-
estimates?: Estimates;
|
|
342
311
|
googleSheetRow?: string;
|
|
343
312
|
createdAt?: Date;
|
|
344
313
|
updatedAt?: Date;
|
|
@@ -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_CLASSIFICATION_SOURCE_VALUES = exports.CONTENT_METRICS_SOURCE_VALUES = exports.CONTENT_COMMENT_COUNT_SOURCE_VALUES = exports.CONTENT_REPORTABLE_STATUS_VALUES = exports.CONTENT_STATUS_VALUES = exports.
|
|
12
|
+
exports.ContentModel = exports.ContentSchema = exports.Content = exports.ContentStatusChangedBySchema = exports.ContentStatusChangedBy = exports.CONTENT_CLASSIFICATION_SOURCE_VALUES = exports.CONTENT_METRICS_SOURCE_VALUES = exports.CONTENT_COMMENT_COUNT_SOURCE_VALUES = exports.CONTENT_REPORTABLE_STATUS_VALUES = exports.CONTENT_STATUS_VALUES = exports.EstimatedMetricsSchema = exports.EstimatedMetrics = exports.ContentMetricsHistoryEntrySchema = exports.ContentMetricsHistoryEntry = exports.ContentVideoSchema = exports.ContentVideo = exports.ContentMetricsBreakdownSchema = exports.ContentMetricsBreakdown = exports.ContentBaseMetricsSchema = exports.ContentBaseMetrics = exports.CONTENT_BASE_METRIC_KEYS = exports.ContentCollabSchema = exports.ContentCollab = 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
|
const normalize_content_link_util_1 = require("../utils/normalize-content-link.util");
|
|
@@ -127,10 +127,6 @@ __decorate([
|
|
|
127
127
|
(0, mongoose_1.Prop)({ type: Number, required: false, default: null }),
|
|
128
128
|
__metadata("design:type", Object)
|
|
129
129
|
], Metrics.prototype, "shareCount", void 0);
|
|
130
|
-
__decorate([
|
|
131
|
-
(0, mongoose_1.Prop)({ type: Number, required: false, default: null }),
|
|
132
|
-
__metadata("design:type", Object)
|
|
133
|
-
], Metrics.prototype, "sharesCount", void 0);
|
|
134
130
|
__decorate([
|
|
135
131
|
(0, mongoose_1.Prop)({ type: Number, required: false, default: null }),
|
|
136
132
|
__metadata("design:type", Object)
|
|
@@ -171,10 +167,6 @@ __decorate([
|
|
|
171
167
|
(0, mongoose_1.Prop)({ type: Number, required: false, default: null }),
|
|
172
168
|
__metadata("design:type", Object)
|
|
173
169
|
], Metrics.prototype, "earnedMediaValue", void 0);
|
|
174
|
-
__decorate([
|
|
175
|
-
(0, mongoose_1.Prop)({ type: Number, required: false, default: null }),
|
|
176
|
-
__metadata("design:type", Object)
|
|
177
|
-
], Metrics.prototype, "emv", void 0);
|
|
178
170
|
__decorate([
|
|
179
171
|
(0, mongoose_1.Prop)({ type: Number, required: false, default: null }),
|
|
180
172
|
__metadata("design:type", Object)
|
|
@@ -207,26 +199,14 @@ __decorate([
|
|
|
207
199
|
(0, mongoose_1.Prop)({ type: Number, required: false, default: null }),
|
|
208
200
|
__metadata("design:type", Object)
|
|
209
201
|
], Metrics.prototype, "costPerInfluency", void 0);
|
|
210
|
-
__decorate([
|
|
211
|
-
(0, mongoose_1.Prop)({ type: Number, required: false, default: null }),
|
|
212
|
-
__metadata("design:type", Object)
|
|
213
|
-
], Metrics.prototype, "cpmi", void 0);
|
|
214
202
|
__decorate([
|
|
215
203
|
(0, mongoose_1.Prop)({ type: Number, required: false, default: null }),
|
|
216
204
|
__metadata("design:type", Object)
|
|
217
205
|
], Metrics.prototype, "costPerThousandImpressions", void 0);
|
|
218
|
-
__decorate([
|
|
219
|
-
(0, mongoose_1.Prop)({ type: Number, required: false, default: null }),
|
|
220
|
-
__metadata("design:type", Object)
|
|
221
|
-
], Metrics.prototype, "cpi", void 0);
|
|
222
206
|
__decorate([
|
|
223
207
|
(0, mongoose_1.Prop)({ type: Number, required: false, default: null }),
|
|
224
208
|
__metadata("design:type", Object)
|
|
225
209
|
], Metrics.prototype, "costPerEngagement", void 0);
|
|
226
|
-
__decorate([
|
|
227
|
-
(0, mongoose_1.Prop)({ type: Number, required: false, default: null }),
|
|
228
|
-
__metadata("design:type", Object)
|
|
229
|
-
], Metrics.prototype, "cpe", void 0);
|
|
230
210
|
__decorate([
|
|
231
211
|
(0, mongoose_1.Prop)({ type: Number, required: false, default: null }),
|
|
232
212
|
__metadata("design:type", Object)
|
|
@@ -313,10 +293,6 @@ __decorate([
|
|
|
313
293
|
(0, mongoose_1.Prop)({ type: Number, required: false, default: null }),
|
|
314
294
|
__metadata("design:type", Object)
|
|
315
295
|
], ContentBaseMetrics.prototype, "shareCount", void 0);
|
|
316
|
-
__decorate([
|
|
317
|
-
(0, mongoose_1.Prop)({ type: Number, required: false, default: null }),
|
|
318
|
-
__metadata("design:type", Object)
|
|
319
|
-
], ContentBaseMetrics.prototype, "sharesCount", void 0);
|
|
320
296
|
__decorate([
|
|
321
297
|
(0, mongoose_1.Prop)({ type: Number, required: false, default: null }),
|
|
322
298
|
__metadata("design:type", Object)
|
|
@@ -357,10 +333,6 @@ __decorate([
|
|
|
357
333
|
(0, mongoose_1.Prop)({ type: Number, required: false, default: null }),
|
|
358
334
|
__metadata("design:type", Object)
|
|
359
335
|
], ContentBaseMetrics.prototype, "earnedMediaValue", void 0);
|
|
360
|
-
__decorate([
|
|
361
|
-
(0, mongoose_1.Prop)({ type: Number, required: false, default: null }),
|
|
362
|
-
__metadata("design:type", Object)
|
|
363
|
-
], ContentBaseMetrics.prototype, "emv", void 0);
|
|
364
336
|
ContentBaseMetrics = __decorate([
|
|
365
337
|
(0, mongoose_1.Schema)({ _id: false })
|
|
366
338
|
], ContentBaseMetrics);
|
|
@@ -400,10 +372,6 @@ __decorate([
|
|
|
400
372
|
(0, mongoose_1.Prop)({ type: Number, required: false, default: null }),
|
|
401
373
|
__metadata("design:type", Object)
|
|
402
374
|
], ContentVideo.prototype, "videoCompletionRate", void 0);
|
|
403
|
-
__decorate([
|
|
404
|
-
(0, mongoose_1.Prop)({ type: Number, required: false, default: null }),
|
|
405
|
-
__metadata("design:type", Object)
|
|
406
|
-
], ContentVideo.prototype, "vcr", void 0);
|
|
407
375
|
ContentVideo = __decorate([
|
|
408
376
|
(0, mongoose_1.Schema)({ _id: false })
|
|
409
377
|
], ContentVideo);
|
|
@@ -448,12 +416,6 @@ EstimatedMetrics = __decorate([
|
|
|
448
416
|
], EstimatedMetrics);
|
|
449
417
|
exports.EstimatedMetrics = EstimatedMetrics;
|
|
450
418
|
exports.EstimatedMetricsSchema = mongoose_1.SchemaFactory.createForClass(EstimatedMetrics);
|
|
451
|
-
/** @deprecated Usar `EstimatedMetrics` (GD-751). */
|
|
452
|
-
class Estimates extends EstimatedMetrics {
|
|
453
|
-
}
|
|
454
|
-
exports.Estimates = Estimates;
|
|
455
|
-
/** @deprecated Usar `EstimatedMetricsSchema` (GD-751). */
|
|
456
|
-
exports.EstimatesSchema = exports.EstimatedMetricsSchema;
|
|
457
419
|
// error: captura de comentários falhou ou a classificação falhou por inteiro.
|
|
458
420
|
// partial_error: parte dos comentários não foi classificada. Nenhum dos dois
|
|
459
421
|
// volta sozinho pro pipeline — só por reenvio manual (aprovação).
|
|
@@ -618,10 +580,6 @@ __decorate([
|
|
|
618
580
|
(0, mongoose_1.Prop)({ type: exports.EstimatedMetricsSchema, required: false, default: null }),
|
|
619
581
|
__metadata("design:type", Object)
|
|
620
582
|
], Content.prototype, "estimatedMetrics", void 0);
|
|
621
|
-
__decorate([
|
|
622
|
-
(0, mongoose_1.Prop)({ type: exports.MetricsSchema, required: false }),
|
|
623
|
-
__metadata("design:type", Estimates)
|
|
624
|
-
], Content.prototype, "estimates", void 0);
|
|
625
583
|
__decorate([
|
|
626
584
|
(0, mongoose_1.Prop)({ type: String, required: false }),
|
|
627
585
|
__metadata("design:type", String)
|
package/package.json
CHANGED
|
@@ -2,14 +2,9 @@ import { Prop, Schema, SchemaFactory } from '@nestjs/mongoose';
|
|
|
2
2
|
import { HydratedDocument, Schema as MongooseSchema, Types, model as MongooseModel } from 'mongoose';
|
|
3
3
|
import { Client } from './client.schema';
|
|
4
4
|
|
|
5
|
-
/**
|
|
6
|
-
* Métrica do benchmark. Nomes por extenso (GD-751); os antigos (`er`, `cpi`,
|
|
7
|
-
* `cpe`) ficam aceitos só durante a virada e saem na fase de remoção.
|
|
8
|
-
*/
|
|
5
|
+
/** Métrica do benchmark, com nomes por extenso (GD-751). */
|
|
9
6
|
export const BENCHMARK_METRIC_VALUES = ['reach', 'engagementRate', 'costPerThousandImpressions', 'costPerEngagement'] as const;
|
|
10
7
|
export type BenchmarkMetric = (typeof BENCHMARK_METRIC_VALUES)[number];
|
|
11
|
-
/** @deprecated Nomes antigos aceitos só na virada (GD-751). */
|
|
12
|
-
export const LEGACY_BENCHMARK_METRIC_VALUES = ['er', 'cpi', 'cpe', 'costPerImpression'] as const;
|
|
13
8
|
export type BenchmarkMode = 'organic' | 'paid';
|
|
14
9
|
export type BenchmarkDocument = HydratedDocument<Benchmark>;
|
|
15
10
|
|
|
@@ -24,7 +19,7 @@ export class Benchmark {
|
|
|
24
19
|
@Prop({ type: String, enum: ['organic', 'paid'], required: true })
|
|
25
20
|
mode: BenchmarkMode;
|
|
26
21
|
|
|
27
|
-
@Prop({ type: String, enum:
|
|
22
|
+
@Prop({ type: String, enum: BENCHMARK_METRIC_VALUES, required: true })
|
|
28
23
|
metric: BenchmarkMetric;
|
|
29
24
|
|
|
30
25
|
@Prop({ type: Number, required: true })
|
|
@@ -96,10 +96,6 @@ export class Metrics {
|
|
|
96
96
|
@Prop({ type: Number, required: false, default: null })
|
|
97
97
|
shareCount?: number | null;
|
|
98
98
|
|
|
99
|
-
/** @deprecated Usar `shareCount` (GD-751). Sai na fase de remoção. */
|
|
100
|
-
@Prop({ type: Number, required: false, default: null })
|
|
101
|
-
sharesCount?: number | null;
|
|
102
|
-
|
|
103
99
|
@Prop({ type: Number, required: false, default: null })
|
|
104
100
|
storyCount?: number | null;
|
|
105
101
|
|
|
@@ -131,10 +127,6 @@ export class Metrics {
|
|
|
131
127
|
@Prop({ type: Number, required: false, default: null })
|
|
132
128
|
earnedMediaValue?: number | null;
|
|
133
129
|
|
|
134
|
-
/** @deprecated Usar `earnedMediaValue` (GD-751). Sai na fase de remoção. */
|
|
135
|
-
@Prop({ type: Number, required: false, default: null })
|
|
136
|
-
emv?: number | null;
|
|
137
|
-
|
|
138
130
|
@Prop({ type: Number, required: false, default: null })
|
|
139
131
|
engagementCount?: number | null;
|
|
140
132
|
|
|
@@ -162,26 +154,14 @@ export class Metrics {
|
|
|
162
154
|
@Prop({ type: Number, required: false, default: null })
|
|
163
155
|
costPerInfluency?: number | null;
|
|
164
156
|
|
|
165
|
-
/** @deprecated Usar `costPerInfluency` (GD-751). Sai na fase de remoção. */
|
|
166
|
-
@Prop({ type: Number, required: false, default: null })
|
|
167
|
-
cpmi?: number | null;
|
|
168
|
-
|
|
169
157
|
/** Custo por Mil Impressões (CPM): investimento ÷ impressões × 1000. Ver GD-751. */
|
|
170
158
|
@Prop({ type: Number, required: false, default: null })
|
|
171
159
|
costPerThousandImpressions?: number | null;
|
|
172
160
|
|
|
173
|
-
/** @deprecated Usar `costPerThousandImpressions` (GD-751). Sai na fase de remoção. */
|
|
174
|
-
@Prop({ type: Number, required: false, default: null })
|
|
175
|
-
cpi?: number | null;
|
|
176
|
-
|
|
177
161
|
/** Custo por Engajamento (CPE): investimento ÷ engajamento. Ver GD-751. */
|
|
178
162
|
@Prop({ type: Number, required: false, default: null })
|
|
179
163
|
costPerEngagement?: number | null;
|
|
180
164
|
|
|
181
|
-
/** @deprecated Usar `costPerEngagement` (GD-751). Sai na fase de remoção. */
|
|
182
|
-
@Prop({ type: Number, required: false, default: null })
|
|
183
|
-
cpe?: number | null;
|
|
184
|
-
|
|
185
165
|
/**
|
|
186
166
|
* Alcance Potencial (o antigo PO Reach): seguidores no momento do post. Em
|
|
187
167
|
* Content.metrics soma o autor e todos os coautores. Ver GD-703.
|
|
@@ -264,10 +244,6 @@ export class ContentBaseMetrics {
|
|
|
264
244
|
@Prop({ type: Number, required: false, default: null })
|
|
265
245
|
shareCount?: number | null;
|
|
266
246
|
|
|
267
|
-
/** @deprecated Usar `shareCount` (GD-751). Sai na fase de remoção. */
|
|
268
|
-
@Prop({ type: Number, required: false, default: null })
|
|
269
|
-
sharesCount?: number | null;
|
|
270
|
-
|
|
271
247
|
@Prop({ type: Number, required: false, default: null })
|
|
272
248
|
storyCount?: number | null;
|
|
273
249
|
|
|
@@ -299,9 +275,6 @@ export class ContentBaseMetrics {
|
|
|
299
275
|
@Prop({ type: Number, required: false, default: null })
|
|
300
276
|
earnedMediaValue?: number | null;
|
|
301
277
|
|
|
302
|
-
/** @deprecated Usar `earnedMediaValue` (GD-751). Sai na fase de remoção. */
|
|
303
|
-
@Prop({ type: Number, required: false, default: null })
|
|
304
|
-
emv?: number | null;
|
|
305
278
|
}
|
|
306
279
|
|
|
307
280
|
export const ContentBaseMetricsSchema = SchemaFactory.createForClass(ContentBaseMetrics);
|
|
@@ -336,9 +309,6 @@ export class ContentVideo {
|
|
|
336
309
|
@Prop({ type: Number, required: false, default: null })
|
|
337
310
|
videoCompletionRate?: number | null;
|
|
338
311
|
|
|
339
|
-
/** @deprecated Usar `videoCompletionRate` (GD-751). Sai na fase de remoção. */
|
|
340
|
-
@Prop({ type: Number, required: false, default: null })
|
|
341
|
-
vcr?: number | null;
|
|
342
312
|
}
|
|
343
313
|
|
|
344
314
|
export const ContentVideoSchema = SchemaFactory.createForClass(ContentVideo);
|
|
@@ -372,11 +342,6 @@ export class EstimatedMetrics {
|
|
|
372
342
|
|
|
373
343
|
export const EstimatedMetricsSchema = SchemaFactory.createForClass(EstimatedMetrics);
|
|
374
344
|
|
|
375
|
-
/** @deprecated Usar `EstimatedMetrics` (GD-751). */
|
|
376
|
-
export class Estimates extends EstimatedMetrics {}
|
|
377
|
-
/** @deprecated Usar `EstimatedMetricsSchema` (GD-751). */
|
|
378
|
-
export const EstimatesSchema = EstimatedMetricsSchema;
|
|
379
|
-
|
|
380
345
|
// error: captura de comentários falhou ou a classificação falhou por inteiro.
|
|
381
346
|
// partial_error: parte dos comentários não foi classificada. Nenhum dos dois
|
|
382
347
|
// volta sozinho pro pipeline — só por reenvio manual (aprovação).
|
|
@@ -542,10 +507,6 @@ export class Content {
|
|
|
542
507
|
@Prop({ type: EstimatedMetricsSchema, required: false, default: null })
|
|
543
508
|
estimatedMetrics?: EstimatedMetrics | null;
|
|
544
509
|
|
|
545
|
-
/** @deprecated Usar `estimatedMetrics` (GD-751). Sai na fase de remoção. */
|
|
546
|
-
@Prop({ type: MetricsSchema, required: false })
|
|
547
|
-
estimates?: Estimates;
|
|
548
|
-
|
|
549
510
|
@Prop({ type: String, required: false })
|
|
550
511
|
googleSheetRow?: string;
|
|
551
512
|
|