@pushwoosh/rpc-gateway-statistics-api 1.3.756 → 1.3.758
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 +58 -0
- package/package.json +1 -1
- package/pushwoosh_statistics_statistics_v1.d.ts +24 -0
package/data.js
CHANGED
|
@@ -213,6 +213,12 @@ export const data = {
|
|
|
213
213
|
"method": "post",
|
|
214
214
|
"path": "/api/v2/statistics/audience/getEmailEventTriggeredPerformance"
|
|
215
215
|
},
|
|
216
|
+
"GetEmailCategoryPerformanceCP": {
|
|
217
|
+
"request": "pushwoosh.statistics.statistics.v1.GetEmailCategoryPerformanceCPRequest",
|
|
218
|
+
"response": "pushwoosh.statistics.statistics.v1.GetEmailCategoryPerformanceCPResponse",
|
|
219
|
+
"method": "post",
|
|
220
|
+
"path": "/api/v2/statistics/audience/getEmailCategoryPerformance"
|
|
221
|
+
},
|
|
216
222
|
"GetRetentionTotalStatisticsCP": {
|
|
217
223
|
"request": "pushwoosh.statistics.statistics.v1.GetRetentionTotalStatisticsCPRequest",
|
|
218
224
|
"response": "pushwoosh.statistics.statistics.v1.GetRetentionTotalStatisticsCPResponse",
|
|
@@ -1264,6 +1270,58 @@ export const data = {
|
|
|
1264
1270
|
}
|
|
1265
1271
|
}
|
|
1266
1272
|
},
|
|
1273
|
+
"pushwoosh.statistics.statistics.v1.GetEmailCategoryPerformanceCPRequest": {
|
|
1274
|
+
"type": "I",
|
|
1275
|
+
"fields": {
|
|
1276
|
+
"applicationCode": {
|
|
1277
|
+
"type": "string"
|
|
1278
|
+
},
|
|
1279
|
+
"timestampFrom": {
|
|
1280
|
+
"type": "string"
|
|
1281
|
+
},
|
|
1282
|
+
"timestampTo": {
|
|
1283
|
+
"type": "string"
|
|
1284
|
+
}
|
|
1285
|
+
}
|
|
1286
|
+
},
|
|
1287
|
+
"pushwoosh.statistics.statistics.v1.EmailCategoryPerformance": {
|
|
1288
|
+
"type": "I",
|
|
1289
|
+
"fields": {
|
|
1290
|
+
"categoryCode": {
|
|
1291
|
+
"type": "string"
|
|
1292
|
+
},
|
|
1293
|
+
"categoryName": {
|
|
1294
|
+
"type": "string"
|
|
1295
|
+
},
|
|
1296
|
+
"sends": {
|
|
1297
|
+
"type": "number"
|
|
1298
|
+
},
|
|
1299
|
+
"opens": {
|
|
1300
|
+
"type": "number"
|
|
1301
|
+
},
|
|
1302
|
+
"clicks": {
|
|
1303
|
+
"type": "number"
|
|
1304
|
+
},
|
|
1305
|
+
"unsubscribes": {
|
|
1306
|
+
"type": "number"
|
|
1307
|
+
}
|
|
1308
|
+
}
|
|
1309
|
+
},
|
|
1310
|
+
"pushwoosh.statistics.statistics.v1.GetEmailCategoryPerformanceCPResponse": {
|
|
1311
|
+
"type": "I",
|
|
1312
|
+
"fields": {
|
|
1313
|
+
"rows": {
|
|
1314
|
+
"type": "pushwoosh.statistics.statistics.v1.EmailCategoryPerformance",
|
|
1315
|
+
"array": true
|
|
1316
|
+
},
|
|
1317
|
+
"windowFrom": {
|
|
1318
|
+
"type": "string"
|
|
1319
|
+
},
|
|
1320
|
+
"windowTo": {
|
|
1321
|
+
"type": "string"
|
|
1322
|
+
}
|
|
1323
|
+
}
|
|
1324
|
+
},
|
|
1267
1325
|
"pushwoosh.statistics.statistics.v1.GetRetentionTotalStatisticsCPRequest": {
|
|
1268
1326
|
"type": "I",
|
|
1269
1327
|
"fields": {
|
package/package.json
CHANGED
|
@@ -23,6 +23,7 @@ export type StatisticsService_GetSubscribersTotalStatisticsCP = RpcMethod<GetSub
|
|
|
23
23
|
export type StatisticsService_GetSubscribersDailyStatisticsCP = RpcMethod<GetSubscribersDailyStatisticsCPRequest, GetSubscribersDailyStatisticsCPResponse>;
|
|
24
24
|
export type StatisticsService_GetEmailActivityDistributionCP = RpcMethod<GetEmailActivityDistributionCPRequest, GetEmailActivityDistributionCPResponse>;
|
|
25
25
|
export type StatisticsService_GetEmailEventTriggeredPerformanceCP = RpcMethod<GetEmailEventTriggeredPerformanceCPRequest, GetEmailEventTriggeredPerformanceCPResponse>;
|
|
26
|
+
export type StatisticsService_GetEmailCategoryPerformanceCP = RpcMethod<GetEmailCategoryPerformanceCPRequest, GetEmailCategoryPerformanceCPResponse>;
|
|
26
27
|
export type StatisticsService_GetRetentionTotalStatisticsCP = RpcMethod<GetRetentionTotalStatisticsCPRequest, GetRetentionTotalStatisticsCPResponse>;
|
|
27
28
|
export type StatisticsService_GetEngagementTotalStatisticsCP = RpcMethod<GetEngagementTotalStatisticsCPRequest, GetEngagementTotalStatisticsCPResponse>;
|
|
28
29
|
export type StatisticsService_GetActiveUsersTotalStatisticsCP = RpcMethod<GetActiveUsersTotalStatisticsCPRequest, GetActiveUsersTotalStatisticsCPResponse>;
|
|
@@ -73,6 +74,8 @@ export interface StatisticsService {
|
|
|
73
74
|
GetEmailActivityDistributionCP: StatisticsService_GetEmailActivityDistributionCP;
|
|
74
75
|
/** GetEmailEventTriggeredPerformanceCP returns performance of event-triggered emails for control panel */
|
|
75
76
|
GetEmailEventTriggeredPerformanceCP: StatisticsService_GetEmailEventTriggeredPerformanceCP;
|
|
77
|
+
/** GetEmailCategoryPerformanceCP returns per-email-category performance for control panel */
|
|
78
|
+
GetEmailCategoryPerformanceCP: StatisticsService_GetEmailCategoryPerformanceCP;
|
|
76
79
|
/** GetRetentionTotalStatisticsCP returns user retention statistics */
|
|
77
80
|
GetRetentionTotalStatisticsCP: StatisticsService_GetRetentionTotalStatisticsCP;
|
|
78
81
|
/** GetEngagementTotalStatisticsCP returns user engagement metrics */
|
|
@@ -497,6 +500,27 @@ export type GetEmailEventTriggeredPerformanceCPResponse = {
|
|
|
497
500
|
windowFrom: string;
|
|
498
501
|
windowTo: string;
|
|
499
502
|
};
|
|
503
|
+
export type GetEmailCategoryPerformanceCPRequest = {
|
|
504
|
+
applicationCode: string;
|
|
505
|
+
timestampFrom: string;
|
|
506
|
+
timestampTo: string;
|
|
507
|
+
};
|
|
508
|
+
export type EmailCategoryPerformance = {
|
|
509
|
+
categoryCode: string;
|
|
510
|
+
categoryName: string;
|
|
511
|
+
sends: number;
|
|
512
|
+
opens: number;
|
|
513
|
+
clicks: number;
|
|
514
|
+
/** Unsubscribes from this very category, not from the whole mailing. */
|
|
515
|
+
unsubscribes: number;
|
|
516
|
+
};
|
|
517
|
+
/** One row per email category of the application, including categories nothing was sent to. */
|
|
518
|
+
export type GetEmailCategoryPerformanceCPResponse = {
|
|
519
|
+
rows: EmailCategoryPerformance[];
|
|
520
|
+
/** The window actually read, clamped to the event log retention. */
|
|
521
|
+
windowFrom: string;
|
|
522
|
+
windowTo: string;
|
|
523
|
+
};
|
|
500
524
|
export type GetRetentionTotalStatisticsCPRequest = {
|
|
501
525
|
applicationCode: string;
|
|
502
526
|
timestampFrom: string;
|