@grapadigital/shared-schemas 1.0.230 → 1.0.231
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.
|
@@ -40,7 +40,7 @@ export type ClientCustomization = (typeof CLIENT_CUSTOMIZATION_VALUES)[number];
|
|
|
40
40
|
* `viralReachEngagementRate` é o limite de viral e só vale no Tier.
|
|
41
41
|
* Ver GD-687.
|
|
42
42
|
*/
|
|
43
|
-
export declare const CLIENT_GOAL_METRIC_VALUES: readonly ["potentialReach", "reachCount", "impressionCount", "engagementCount", "engagementRate", "reachEngagementRate", "qualifiedEngagementRate", "effectiveReach", "earnedMediaValue", "score", "costPerInfluency", "costPerImpact", "costPerEngagement", "savedCount", "shareCount", "videoCompletionRate", "viralReachEngagementRate"];
|
|
43
|
+
export declare const CLIENT_GOAL_METRIC_VALUES: readonly ["potentialReach", "reachCount", "impressionCount", "engagementCount", "engagementRate", "reachEngagementRate", "followersEngagementRate", "qualifiedEngagementRate", "effectiveReach", "earnedMediaValue", "score", "costPerInfluency", "costPerImpact", "costPerEngagement", "savedCount", "shareCount", "videoCompletionRate", "viralReachEngagementRate"];
|
|
44
44
|
export type ClientGoalMetric = (typeof CLIENT_GOAL_METRIC_VALUES)[number];
|
|
45
45
|
export type ClientGoalMetricUnit = 'count' | 'rate' | 'currency';
|
|
46
46
|
/** Unidade de cada métrica. `rate` é guardado como fração (0,10 = 10%). */
|
|
@@ -33,6 +33,7 @@ exports.CLIENT_GOAL_METRIC_VALUES = [
|
|
|
33
33
|
'engagementCount',
|
|
34
34
|
'engagementRate',
|
|
35
35
|
'reachEngagementRate',
|
|
36
|
+
'followersEngagementRate',
|
|
36
37
|
'qualifiedEngagementRate',
|
|
37
38
|
'effectiveReach',
|
|
38
39
|
'earnedMediaValue',
|
|
@@ -53,6 +54,7 @@ exports.CLIENT_GOAL_METRIC_UNITS = {
|
|
|
53
54
|
engagementCount: 'count',
|
|
54
55
|
engagementRate: 'rate',
|
|
55
56
|
reachEngagementRate: 'rate',
|
|
57
|
+
followersEngagementRate: 'rate',
|
|
56
58
|
qualifiedEngagementRate: 'rate',
|
|
57
59
|
effectiveReach: 'count',
|
|
58
60
|
earnedMediaValue: 'currency',
|
|
@@ -126,6 +126,15 @@ export declare class Metrics {
|
|
|
126
126
|
reachEngagementRate?: number | null;
|
|
127
127
|
/** Tx. de Engaj. por Seguidores: engagementCount ÷ potentialReach (fração). Ver GD-703. */
|
|
128
128
|
followersEngagementRate?: number | null;
|
|
129
|
+
/**
|
|
130
|
+
* Engajamento ponderado do Real E/R (pesos do genc): curtidas×1 + comentários
|
|
131
|
+
* curados×2 + compartilhamentos×3 + salvos×3 + respostas×2 + cliques×6 +
|
|
132
|
+
* toques×1. Comentário curado = alvo marca ou conteúdo, fora de spam. null em
|
|
133
|
+
* story, sem GenIA ou sem comentários classificados. Ver GD-720.
|
|
134
|
+
*/
|
|
135
|
+
curatedEngagementCount?: number | null;
|
|
136
|
+
/** Real E/R: curatedEngagementCount ÷ potentialReach (fração). Ver GD-720. */
|
|
137
|
+
curatedEngagementRate?: number | null;
|
|
129
138
|
/** Nome do Client.tiers pelo potentialReach do post; null sem Tiers ou fora das faixas. Ver GD-703. */
|
|
130
139
|
tier?: string | null;
|
|
131
140
|
/**
|
|
@@ -219,6 +219,14 @@ __decorate([
|
|
|
219
219
|
(0, mongoose_1.Prop)({ type: Number, required: false, default: null }),
|
|
220
220
|
__metadata("design:type", Object)
|
|
221
221
|
], Metrics.prototype, "followersEngagementRate", void 0);
|
|
222
|
+
__decorate([
|
|
223
|
+
(0, mongoose_1.Prop)({ type: Number, required: false, default: null }),
|
|
224
|
+
__metadata("design:type", Object)
|
|
225
|
+
], Metrics.prototype, "curatedEngagementCount", void 0);
|
|
226
|
+
__decorate([
|
|
227
|
+
(0, mongoose_1.Prop)({ type: Number, required: false, default: null }),
|
|
228
|
+
__metadata("design:type", Object)
|
|
229
|
+
], Metrics.prototype, "curatedEngagementRate", void 0);
|
|
222
230
|
__decorate([
|
|
223
231
|
(0, mongoose_1.Prop)({ type: String, required: false, default: null }),
|
|
224
232
|
__metadata("design:type", Object)
|
package/package.json
CHANGED
|
@@ -32,6 +32,7 @@ export const CLIENT_GOAL_METRIC_VALUES = [
|
|
|
32
32
|
'engagementCount',
|
|
33
33
|
'engagementRate',
|
|
34
34
|
'reachEngagementRate',
|
|
35
|
+
'followersEngagementRate',
|
|
35
36
|
'qualifiedEngagementRate',
|
|
36
37
|
'effectiveReach',
|
|
37
38
|
'earnedMediaValue',
|
|
@@ -56,6 +57,7 @@ export const CLIENT_GOAL_METRIC_UNITS: Record<ClientGoalMetric, ClientGoalMetric
|
|
|
56
57
|
engagementCount: 'count',
|
|
57
58
|
engagementRate: 'rate',
|
|
58
59
|
reachEngagementRate: 'rate',
|
|
60
|
+
followersEngagementRate: 'rate',
|
|
59
61
|
qualifiedEngagementRate: 'rate',
|
|
60
62
|
effectiveReach: 'count',
|
|
61
63
|
earnedMediaValue: 'currency',
|
|
@@ -177,6 +177,19 @@ export class Metrics {
|
|
|
177
177
|
@Prop({ type: Number, required: false, default: null })
|
|
178
178
|
followersEngagementRate?: number | null;
|
|
179
179
|
|
|
180
|
+
/**
|
|
181
|
+
* Engajamento ponderado do Real E/R (pesos do genc): curtidas×1 + comentários
|
|
182
|
+
* curados×2 + compartilhamentos×3 + salvos×3 + respostas×2 + cliques×6 +
|
|
183
|
+
* toques×1. Comentário curado = alvo marca ou conteúdo, fora de spam. null em
|
|
184
|
+
* story, sem GenIA ou sem comentários classificados. Ver GD-720.
|
|
185
|
+
*/
|
|
186
|
+
@Prop({ type: Number, required: false, default: null })
|
|
187
|
+
curatedEngagementCount?: number | null;
|
|
188
|
+
|
|
189
|
+
/** Real E/R: curatedEngagementCount ÷ potentialReach (fração). Ver GD-720. */
|
|
190
|
+
@Prop({ type: Number, required: false, default: null })
|
|
191
|
+
curatedEngagementRate?: number | null;
|
|
192
|
+
|
|
180
193
|
/** Nome do Client.tiers pelo potentialReach do post; null sem Tiers ou fora das faixas. Ver GD-703. */
|
|
181
194
|
@Prop({ type: String, required: false, default: null })
|
|
182
195
|
tier?: string | null;
|