@pushwoosh/rpc-gateway-statistics-api 1.3.845 → 1.3.846
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/data.js
CHANGED
|
@@ -3801,6 +3801,12 @@ export const data = {
|
|
|
3801
3801
|
"method": "post",
|
|
3802
3802
|
"path": "/api/v2/statistics/overview/getEmailBaseChange"
|
|
3803
3803
|
},
|
|
3804
|
+
"GetEmailPerformance": {
|
|
3805
|
+
"request": "pushwoosh.statistics.statistics.v2.overviewkpi.GetEmailPerformanceRequest",
|
|
3806
|
+
"response": "pushwoosh.statistics.statistics.v2.overviewkpi.GetEmailPerformanceResponse",
|
|
3807
|
+
"method": "post",
|
|
3808
|
+
"path": "/api/v2/statistics/overview/getEmailPerformance"
|
|
3809
|
+
},
|
|
3804
3810
|
"GetRetentionCurve": {
|
|
3805
3811
|
"request": "pushwoosh.statistics.statistics.v2.overviewkpi.GetRetentionCurveRequest",
|
|
3806
3812
|
"response": "pushwoosh.statistics.statistics.v2.overviewkpi.GetRetentionCurveResponse",
|
|
@@ -4235,6 +4241,48 @@ export const data = {
|
|
|
4235
4241
|
}
|
|
4236
4242
|
}
|
|
4237
4243
|
},
|
|
4244
|
+
"pushwoosh.statistics.statistics.v2.overviewkpi.GetEmailPerformanceRequest": {
|
|
4245
|
+
"type": "I",
|
|
4246
|
+
"fields": {
|
|
4247
|
+
"applicationCode": {
|
|
4248
|
+
"type": "string"
|
|
4249
|
+
},
|
|
4250
|
+
"dayFrom": {
|
|
4251
|
+
"type": "Date"
|
|
4252
|
+
},
|
|
4253
|
+
"dayTo": {
|
|
4254
|
+
"type": "Date"
|
|
4255
|
+
}
|
|
4256
|
+
}
|
|
4257
|
+
},
|
|
4258
|
+
"pushwoosh.statistics.statistics.v2.overviewkpi.EmailPerformanceCounts": {
|
|
4259
|
+
"type": "I",
|
|
4260
|
+
"fields": {
|
|
4261
|
+
"sends": {
|
|
4262
|
+
"type": "number"
|
|
4263
|
+
},
|
|
4264
|
+
"deliveries": {
|
|
4265
|
+
"type": "number"
|
|
4266
|
+
},
|
|
4267
|
+
"opens": {
|
|
4268
|
+
"type": "number"
|
|
4269
|
+
},
|
|
4270
|
+
"clicks": {
|
|
4271
|
+
"type": "number"
|
|
4272
|
+
}
|
|
4273
|
+
}
|
|
4274
|
+
},
|
|
4275
|
+
"pushwoosh.statistics.statistics.v2.overviewkpi.GetEmailPerformanceResponse": {
|
|
4276
|
+
"type": "I",
|
|
4277
|
+
"fields": {
|
|
4278
|
+
"bySends": {
|
|
4279
|
+
"type": "pushwoosh.statistics.statistics.v2.overviewkpi.EmailPerformanceCounts"
|
|
4280
|
+
},
|
|
4281
|
+
"byUsers": {
|
|
4282
|
+
"type": "pushwoosh.statistics.statistics.v2.overviewkpi.EmailPerformanceCounts"
|
|
4283
|
+
}
|
|
4284
|
+
}
|
|
4285
|
+
},
|
|
4238
4286
|
"pushwoosh.statistics.statistics.v2.overviewkpi.GetRetentionCurveRequest": {
|
|
4239
4287
|
"type": "I",
|
|
4240
4288
|
"fields": {
|
package/package.json
CHANGED
|
@@ -7,6 +7,7 @@ export type OverviewKPIService_GetChannelUsersTrend = RpcMethod<GetChannelUsersT
|
|
|
7
7
|
export type OverviewKPIService_GetEmailRates = RpcMethod<GetEmailRatesRequest, GetEmailRatesResponse>;
|
|
8
8
|
export type OverviewKPIService_GetEmailActivityDistribution = RpcMethod<GetEmailActivityDistributionRequest, GetEmailActivityDistributionResponse>;
|
|
9
9
|
export type OverviewKPIService_GetEmailBaseChange = RpcMethod<GetEmailBaseChangeRequest, GetEmailBaseChangeResponse>;
|
|
10
|
+
export type OverviewKPIService_GetEmailPerformance = RpcMethod<GetEmailPerformanceRequest, GetEmailPerformanceResponse>;
|
|
10
11
|
export type OverviewKPIService_GetRetentionCurve = RpcMethod<GetRetentionCurveRequest, GetRetentionCurveResponse>;
|
|
11
12
|
export type OverviewKPIService_GetBaseChange = RpcMethod<GetBaseChangeRequest, GetBaseChangeResponse>;
|
|
12
13
|
export type OverviewKPIService_GetUserMessageMetrics = RpcMethod<GetUserMessageMetricsRequest, GetUserMessageMetricsResponse>;
|
|
@@ -34,6 +35,8 @@ export interface OverviewKPIService {
|
|
|
34
35
|
GetEmailActivityDistribution: OverviewKPIService_GetEmailActivityDistribution;
|
|
35
36
|
/** GetEmailBaseChange returns how the email user base moved over a period. */
|
|
36
37
|
GetEmailBaseChange: OverviewKPIService_GetEmailBaseChange;
|
|
38
|
+
/** GetEmailPerformance returns the sends, deliveries, opens and clicks of the period. */
|
|
39
|
+
GetEmailPerformance: OverviewKPIService_GetEmailPerformance;
|
|
37
40
|
/** GetRetentionCurve returns the D1/D7/D30 curve of one cohort. */
|
|
38
41
|
GetRetentionCurve: OverviewKPIService_GetRetentionCurve;
|
|
39
42
|
/** GetBaseChange returns how the push device base moved over a period. */
|
|
@@ -275,6 +278,25 @@ export type GetEmailBaseChangeResponse = {
|
|
|
275
278
|
/** false when the period holds no snapshot day at all */
|
|
276
279
|
baseAvailable: boolean;
|
|
277
280
|
};
|
|
281
|
+
export type GetEmailPerformanceRequest = {
|
|
282
|
+
applicationCode: string;
|
|
283
|
+
dayFrom: Date;
|
|
284
|
+
dayTo: Date;
|
|
285
|
+
};
|
|
286
|
+
/** EmailPerformanceCounts is one counting unit of the four numbers the tiles divide. */
|
|
287
|
+
export type EmailPerformanceCounts = {
|
|
288
|
+
sends: number;
|
|
289
|
+
deliveries: number;
|
|
290
|
+
/** Apple MPP prefetches are left out where the log marks them */
|
|
291
|
+
opens: number;
|
|
292
|
+
/** clicks on our own unsubscribe link belong to the unsubscribe event, not here */
|
|
293
|
+
clicks: number;
|
|
294
|
+
};
|
|
295
|
+
export type GetEmailPerformanceResponse = {
|
|
296
|
+
/** every email of the application, whatever composed it */
|
|
297
|
+
bySends: EmailPerformanceCounts;
|
|
298
|
+
byUsers: EmailPerformanceCounts;
|
|
299
|
+
};
|
|
278
300
|
export type GetRetentionCurveRequest = {
|
|
279
301
|
applicationCode: string;
|
|
280
302
|
/** day the cohort registered on */
|