@pushwoosh/rpc-gateway-statistics-api 1.3.806 → 1.3.808
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 +64 -0
- package/package.json +1 -1
- package/pushwoosh_statistics_statistics_v1.d.ts +30 -0
package/data.js
CHANGED
|
@@ -225,6 +225,12 @@ export const data = {
|
|
|
225
225
|
"method": "post",
|
|
226
226
|
"path": "/api/v2/statistics/audience/getEmailUnsubscribeByFrequency"
|
|
227
227
|
},
|
|
228
|
+
"GetEmailProviderStatisticsCP": {
|
|
229
|
+
"request": "pushwoosh.statistics.statistics.v1.GetEmailProviderStatisticsCPRequest",
|
|
230
|
+
"response": "pushwoosh.statistics.statistics.v1.GetEmailProviderStatisticsCPResponse",
|
|
231
|
+
"method": "post",
|
|
232
|
+
"path": "/api/v2/statistics/audience/getEmailProviderStatistics"
|
|
233
|
+
},
|
|
228
234
|
"GetRetentionTotalStatisticsCP": {
|
|
229
235
|
"request": "pushwoosh.statistics.statistics.v1.GetRetentionTotalStatisticsCPRequest",
|
|
230
236
|
"response": "pushwoosh.statistics.statistics.v1.GetRetentionTotalStatisticsCPResponse",
|
|
@@ -1397,6 +1403,64 @@ export const data = {
|
|
|
1397
1403
|
}
|
|
1398
1404
|
}
|
|
1399
1405
|
},
|
|
1406
|
+
"pushwoosh.statistics.statistics.v1.GetEmailProviderStatisticsCPRequest": {
|
|
1407
|
+
"type": "I",
|
|
1408
|
+
"fields": {
|
|
1409
|
+
"applicationCode": {
|
|
1410
|
+
"type": "string"
|
|
1411
|
+
},
|
|
1412
|
+
"timestampFrom": {
|
|
1413
|
+
"type": "string"
|
|
1414
|
+
},
|
|
1415
|
+
"timestampTo": {
|
|
1416
|
+
"type": "string"
|
|
1417
|
+
}
|
|
1418
|
+
}
|
|
1419
|
+
},
|
|
1420
|
+
"pushwoosh.statistics.statistics.v1.EmailProviderStatistics": {
|
|
1421
|
+
"type": "I",
|
|
1422
|
+
"fields": {
|
|
1423
|
+
"provider": {
|
|
1424
|
+
"type": "string"
|
|
1425
|
+
},
|
|
1426
|
+
"sends": {
|
|
1427
|
+
"type": "number"
|
|
1428
|
+
},
|
|
1429
|
+
"deliveries": {
|
|
1430
|
+
"type": "number"
|
|
1431
|
+
},
|
|
1432
|
+
"opens": {
|
|
1433
|
+
"type": "number"
|
|
1434
|
+
},
|
|
1435
|
+
"hardBounces": {
|
|
1436
|
+
"type": "number"
|
|
1437
|
+
},
|
|
1438
|
+
"softBounces": {
|
|
1439
|
+
"type": "number"
|
|
1440
|
+
},
|
|
1441
|
+
"complaints": {
|
|
1442
|
+
"type": "number"
|
|
1443
|
+
},
|
|
1444
|
+
"unsubscribes": {
|
|
1445
|
+
"type": "number"
|
|
1446
|
+
}
|
|
1447
|
+
}
|
|
1448
|
+
},
|
|
1449
|
+
"pushwoosh.statistics.statistics.v1.GetEmailProviderStatisticsCPResponse": {
|
|
1450
|
+
"type": "I",
|
|
1451
|
+
"fields": {
|
|
1452
|
+
"rows": {
|
|
1453
|
+
"type": "pushwoosh.statistics.statistics.v1.EmailProviderStatistics",
|
|
1454
|
+
"array": true
|
|
1455
|
+
},
|
|
1456
|
+
"windowFrom": {
|
|
1457
|
+
"type": "string"
|
|
1458
|
+
},
|
|
1459
|
+
"windowTo": {
|
|
1460
|
+
"type": "string"
|
|
1461
|
+
}
|
|
1462
|
+
}
|
|
1463
|
+
},
|
|
1400
1464
|
"pushwoosh.statistics.statistics.v1.GetRetentionTotalStatisticsCPRequest": {
|
|
1401
1465
|
"type": "I",
|
|
1402
1466
|
"fields": {
|
package/package.json
CHANGED
|
@@ -25,6 +25,7 @@ export type StatisticsService_GetEmailActivityDistributionCP = RpcMethod<GetEmai
|
|
|
25
25
|
export type StatisticsService_GetEmailEventTriggeredPerformanceCP = RpcMethod<GetEmailEventTriggeredPerformanceCPRequest, GetEmailEventTriggeredPerformanceCPResponse>;
|
|
26
26
|
export type StatisticsService_GetEmailFrequencyCappingCP = RpcMethod<GetEmailFrequencyCappingCPRequest, GetEmailFrequencyCappingCPResponse>;
|
|
27
27
|
export type StatisticsService_GetEmailUnsubscribeByFrequencyCP = RpcMethod<GetEmailUnsubscribeByFrequencyCPRequest, GetEmailUnsubscribeByFrequencyCPResponse>;
|
|
28
|
+
export type StatisticsService_GetEmailProviderStatisticsCP = RpcMethod<GetEmailProviderStatisticsCPRequest, GetEmailProviderStatisticsCPResponse>;
|
|
28
29
|
export type StatisticsService_GetRetentionTotalStatisticsCP = RpcMethod<GetRetentionTotalStatisticsCPRequest, GetRetentionTotalStatisticsCPResponse>;
|
|
29
30
|
export type StatisticsService_GetEngagementTotalStatisticsCP = RpcMethod<GetEngagementTotalStatisticsCPRequest, GetEngagementTotalStatisticsCPResponse>;
|
|
30
31
|
export type StatisticsService_GetActiveUsersTotalStatisticsCP = RpcMethod<GetActiveUsersTotalStatisticsCPRequest, GetActiveUsersTotalStatisticsCPResponse>;
|
|
@@ -80,6 +81,8 @@ export interface StatisticsService {
|
|
|
80
81
|
GetEmailFrequencyCappingCP: StatisticsService_GetEmailFrequencyCappingCP;
|
|
81
82
|
/** GetEmailUnsubscribeByFrequencyCP returns the unsubscribe rate by how many letters an address got */
|
|
82
83
|
GetEmailUnsubscribeByFrequencyCP: StatisticsService_GetEmailUnsubscribeByFrequencyCP;
|
|
84
|
+
/** GetEmailProviderStatisticsCP breaks email delivery of the period down by the recipients' mailbox provider */
|
|
85
|
+
GetEmailProviderStatisticsCP: StatisticsService_GetEmailProviderStatisticsCP;
|
|
83
86
|
/** GetRetentionTotalStatisticsCP returns user retention statistics */
|
|
84
87
|
GetRetentionTotalStatisticsCP: StatisticsService_GetRetentionTotalStatisticsCP;
|
|
85
88
|
/** GetEngagementTotalStatisticsCP returns user engagement metrics */
|
|
@@ -561,6 +564,33 @@ export type GetEmailUnsubscribeByFrequencyCPResponse = {
|
|
|
561
564
|
windowFrom: string;
|
|
562
565
|
windowTo: string;
|
|
563
566
|
};
|
|
567
|
+
export type GetEmailProviderStatisticsCPRequest = {
|
|
568
|
+
applicationCode: string;
|
|
569
|
+
timestampFrom: string;
|
|
570
|
+
timestampTo: string;
|
|
571
|
+
};
|
|
572
|
+
/**
|
|
573
|
+
* One mailbox provider of the recipients: gmail, outlook, yahoo, apple, yandex, mailru, or
|
|
574
|
+
* other for every domain the taxonomy does not name. Counts are events, except opens, which
|
|
575
|
+
* count each (recipient, message) once so a re-read letter cannot push opens past deliveries.
|
|
576
|
+
*/
|
|
577
|
+
export type EmailProviderStatistics = {
|
|
578
|
+
provider: string;
|
|
579
|
+
sends: number;
|
|
580
|
+
deliveries: number;
|
|
581
|
+
opens: number;
|
|
582
|
+
hardBounces: number;
|
|
583
|
+
softBounces: number;
|
|
584
|
+
complaints: number;
|
|
585
|
+
unsubscribes: number;
|
|
586
|
+
};
|
|
587
|
+
export type GetEmailProviderStatisticsCPResponse = {
|
|
588
|
+
/** Providers with at least one event in the window, most sends first. */
|
|
589
|
+
rows: EmailProviderStatistics[];
|
|
590
|
+
/** The window actually read, clamped to the email event log retention. */
|
|
591
|
+
windowFrom: string;
|
|
592
|
+
windowTo: string;
|
|
593
|
+
};
|
|
564
594
|
export type GetRetentionTotalStatisticsCPRequest = {
|
|
565
595
|
applicationCode: string;
|
|
566
596
|
timestampFrom: string;
|