@pushwoosh/rpc-gateway-statistics-api 1.3.834 → 1.3.836

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
@@ -3894,6 +3894,9 @@ export const data = {
3894
3894
  },
3895
3895
  "activeReachable": {
3896
3896
  "type": "number"
3897
+ },
3898
+ "usersWithChannel": {
3899
+ "type": "number"
3897
3900
  }
3898
3901
  }
3899
3902
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-statistics-api",
3
- "version": "1.3.834",
3
+ "version": "1.3.836",
4
4
  "description": "Statistics API gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -103,12 +103,19 @@ export type GetReachByPlatformResponse_Platform = {
103
103
  subscribers: number;
104
104
  /** reachable users active within the window, same 30 days as the funnel */
105
105
  activeReachable: number;
106
+ /**
107
+ * users reachable on this platform by any channel, push token or email
108
+ * address alike; the only non-zero field on an email, SMS or WhatsApp row
109
+ */
110
+ usersWithChannel: number;
106
111
  };
107
112
  export type GetReachByPlatformResponse = {
108
113
  day: Date;
109
114
  /**
110
115
  * a user counts in every platform they carry the flag on, so the sum over
111
- * platforms exceeds the application total; ordered by users_with_push_device
116
+ * platforms exceeds the application total. Ordered by the larger of
117
+ * users_with_push_device and users_with_channel, because neither dominates:
118
+ * a reader drawing one metric still has to sort by the one it draws.
112
119
  */
113
120
  platforms: GetReachByPlatformResponse_Platform[];
114
121
  };