@pushwoosh/rpc-gateway-statistics-api 1.3.815 → 1.3.816

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
@@ -3924,6 +3924,26 @@ export const data = {
3924
3924
  }
3925
3925
  }
3926
3926
  },
3927
+ "pushwoosh.statistics.statistics.v2.overviewkpi.GetUserMessageMetricsResponse.Unique": {
3928
+ "type": "I",
3929
+ "fields": {
3930
+ "sends": {
3931
+ "type": "number"
3932
+ },
3933
+ "deliveries": {
3934
+ "type": "number"
3935
+ },
3936
+ "errors": {
3937
+ "type": "number"
3938
+ },
3939
+ "opens": {
3940
+ "type": "number"
3941
+ },
3942
+ "deliveryRatePercent": {
3943
+ "type": "number"
3944
+ }
3945
+ }
3946
+ },
3927
3947
  "pushwoosh.statistics.statistics.v2.overviewkpi.GetUserMessageMetricsResponse.Platform": {
3928
3948
  "type": "I",
3929
3949
  "fields": {
@@ -3941,6 +3961,12 @@ export const data = {
3941
3961
  },
3942
3962
  "deliveryRatePercent": {
3943
3963
  "type": "number"
3964
+ },
3965
+ "opens": {
3966
+ "type": "number"
3967
+ },
3968
+ "unique": {
3969
+ "type": "pushwoosh.statistics.statistics.v2.overviewkpi.GetUserMessageMetricsResponse.Unique"
3944
3970
  }
3945
3971
  }
3946
3972
  },
@@ -3968,6 +3994,12 @@ export const data = {
3968
3994
  },
3969
3995
  "dataAvailable": {
3970
3996
  "type": "boolean"
3997
+ },
3998
+ "opens": {
3999
+ "type": "number"
4000
+ },
4001
+ "unique": {
4002
+ "type": "pushwoosh.statistics.statistics.v2.overviewkpi.GetUserMessageMetricsResponse.Unique"
3971
4003
  }
3972
4004
  }
3973
4005
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-statistics-api",
3
- "version": "1.3.815",
3
+ "version": "1.3.816",
4
4
  "description": "Statistics API gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -185,12 +185,25 @@ export type GetUserMessageMetricsRequest = {
185
185
  dayFrom: Date;
186
186
  dayTo: Date;
187
187
  };
188
+ /**
189
+ * the same tiles with every user counted once over the whole period instead
190
+ * of once a day; a sum of daily counts is not a headcount
191
+ */
192
+ export type GetUserMessageMetricsResponse_Unique = {
193
+ sends: number;
194
+ deliveries: number;
195
+ errors: number;
196
+ opens: number;
197
+ deliveryRatePercent: number;
198
+ };
188
199
  export type GetUserMessageMetricsResponse_Platform = {
189
200
  platformId: number;
190
201
  sends: number;
191
202
  deliveries: number;
192
203
  errors: number;
193
204
  deliveryRatePercent: number;
205
+ opens: number;
206
+ unique: GetUserMessageMetricsResponse_Unique;
194
207
  };
195
208
  export type GetUserMessageMetricsResponse = {
196
209
  /** users the gateway was asked for: the ones it took plus the ones it refused */
@@ -213,4 +226,10 @@ export type GetUserMessageMetricsResponse = {
213
226
  firstWrittenDay: Date;
214
227
  /** false when the mart has nothing for this application at all */
215
228
  dataAvailable: boolean;
229
+ /**
230
+ * opens of the period, counted on the day of the open rather than of the
231
+ * send, so opens and sends of one period do not reconcile
232
+ */
233
+ opens: number;
234
+ unique: GetUserMessageMetricsResponse_Unique;
216
235
  };