@pushwoosh/rpc-gateway-statistics-api 1.3.800 → 1.3.802

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
@@ -260,6 +260,12 @@ export const data = {
260
260
  "response": "pushwoosh.statistics.statistics.v1.GetUsersPAEStatisticsCPResponse",
261
261
  "method": "post",
262
262
  "path": "/api/v2/statistics/audience/getUsersPAEStatistics"
263
+ },
264
+ "GetEmailLinkStatistics": {
265
+ "request": "pushwoosh.statistics.statistics.v1.GetEmailLinkStatisticsRequest",
266
+ "response": "pushwoosh.statistics.statistics.v1.GetEmailLinkStatisticsResponse",
267
+ "method": "post",
268
+ "path": "/api/v2/statistics/emails/linksInteractions"
263
269
  }
264
270
  }
265
271
  },
@@ -5023,6 +5029,14 @@ export const data = {
5023
5029
  "METRIC_OPENED"
5024
5030
  ]
5025
5031
  },
5032
+ "pushwoosh.statistics.statistics.v2.statistics.GetDeliveryTimelineResponse.ReadSource": {
5033
+ "type": "E",
5034
+ "values": [
5035
+ "READ_SOURCE_UNSPECIFIED",
5036
+ "READ_SOURCE_ROW_LEVEL_LOG",
5037
+ "READ_SOURCE_PRE_AGGREGATE"
5038
+ ]
5039
+ },
5026
5040
  "pushwoosh.statistics.statistics.v2.statistics.GetDeliveryTimelineResponse.Point": {
5027
5041
  "type": "I",
5028
5042
  "fields": {
@@ -5086,6 +5100,9 @@ export const data = {
5086
5100
  "eventAxisMetrics": {
5087
5101
  "type": "pushwoosh.statistics.statistics.v2.statistics.GetDeliveryTimelineResponse.Metric",
5088
5102
  "array": true
5103
+ },
5104
+ "readSource": {
5105
+ "type": "pushwoosh.statistics.statistics.v2.statistics.GetDeliveryTimelineResponse.ReadSource"
5089
5106
  }
5090
5107
  }
5091
5108
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-statistics-api",
3
- "version": "1.3.800",
3
+ "version": "1.3.802",
4
4
  "description": "Statistics API gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -31,6 +31,7 @@ export type StatisticsService_GetActiveUsersTotalStatisticsCP = RpcMethod<GetAct
31
31
  export type StatisticsService_GetMessagesFunnelStatisticsCP = RpcMethod<GetMessagesFunnelStatisticsCPRequest, GetMessagesFunnelStatisticsCPResponse>;
32
32
  export type StatisticsService_GetFrequencyCappingTotalStatisticsCP = RpcMethod<GetFrequencyCappingTotalStatisticsCPRequest, GetFrequencyCappingTotalStatisticsCPResponse>;
33
33
  export type StatisticsService_GetUsersPAEStatisticsCP = RpcMethod<GetUsersPAEStatisticsCPRequest, GetUsersPAEStatisticsCPResponse>;
34
+ export type StatisticsService_GetEmailLinkStatistics = RpcMethod<GetEmailLinkStatisticsRequest, GetEmailLinkStatisticsResponse>;
34
35
  /** StatisticsService provides statistics operations for messages, campaigns, and applications */
35
36
  export interface StatisticsService {
36
37
  /** TODO: delete? */
@@ -91,6 +92,8 @@ export interface StatisticsService {
91
92
  GetFrequencyCappingTotalStatisticsCP: StatisticsService_GetFrequencyCappingTotalStatisticsCP;
92
93
  /** GetUsersPAEStatisticsCP returns Push Active Enabled (PAE) user statistics */
93
94
  GetUsersPAEStatisticsCP: StatisticsService_GetUsersPAEStatisticsCP;
95
+ /** GetEmailLinkStatistics returns email link click statistics with optional full link details */
96
+ GetEmailLinkStatistics: StatisticsService_GetEmailLinkStatistics;
94
97
  }
95
98
  /** StatisticsByApplicationIDRequest represents a request for application statistics */
96
99
  export type StatisticsByApplicationIDRequest = {
@@ -828,6 +828,11 @@ export type GetDeliveryTimelineResponse_Metric = 'METRIC_UNSPECIFIED'
828
828
  | 'METRIC_CONFIRMED_DELIVERIES'
829
829
  /** unique devices that opened */
830
830
  | 'METRIC_OPENED';
831
+ /**
832
+ * ReadSource is which store answered. It decides the unit of METRIC_SENT — subscribers from
833
+ * the log, send events from the pre-aggregate — and whether per-device detail exists.
834
+ */
835
+ export type GetDeliveryTimelineResponse_ReadSource = 'READ_SOURCE_UNSPECIFIED' | 'READ_SOURCE_ROW_LEVEL_LOG' | 'READ_SOURCE_PRE_AGGREGATE';
831
836
  /**
832
837
  * Point is one bucket of a series, always UTC. Empty buckets are not emitted: the
833
838
  * client draws the axis from the window and the interval.
@@ -878,6 +883,11 @@ export type GetDeliveryTimelineResponse = {
878
883
  * metrics of one bucket are therefore not a funnel: they reconcile over the window.
879
884
  */
880
885
  eventAxisMetrics: GetDeliveryTimelineResponse_Metric[];
886
+ /**
887
+ * Which store answered, so a client can name the unit and explain a missing per-device
888
+ * series. Unset on an empty or expired answer: nothing was read.
889
+ */
890
+ readSource: GetDeliveryTimelineResponse_ReadSource;
881
891
  };
882
892
  /** ActiveAudienceType specifies the type of active users calculation */
883
893
  export type ActiveAudienceType =