@pushwoosh/rpc-gateway-statistics-api 1.3.805 → 1.3.807

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
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-statistics-api",
3
- "version": "1.3.805",
3
+ "version": "1.3.807",
4
4
  "description": "Statistics API gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -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,32 @@ 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, not unique addresses.
575
+ */
576
+ export type EmailProviderStatistics = {
577
+ provider: string;
578
+ sends: number;
579
+ deliveries: number;
580
+ opens: number;
581
+ hardBounces: number;
582
+ softBounces: number;
583
+ complaints: number;
584
+ unsubscribes: number;
585
+ };
586
+ export type GetEmailProviderStatisticsCPResponse = {
587
+ /** Providers with at least one event in the window, most sends first. */
588
+ rows: EmailProviderStatistics[];
589
+ /** The window actually read, clamped to the email event log retention. */
590
+ windowFrom: string;
591
+ windowTo: string;
592
+ };
564
593
  export type GetRetentionTotalStatisticsCPRequest = {
565
594
  applicationCode: string;
566
595
  timestampFrom: string;