@pushwoosh/rpc-gateway-statistics-api 1.3.792 → 1.3.793

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
@@ -891,6 +891,10 @@ export const data = {
891
891
  },
892
892
  "interval": {
893
893
  "type": "pushwoosh.statistics.types.TimeInterval"
894
+ },
895
+ "platformIds": {
896
+ "type": "number",
897
+ "array": true
894
898
  }
895
899
  }
896
900
  },
@@ -920,6 +924,15 @@ export const data = {
920
924
  },
921
925
  "unsubs": {
922
926
  "type": "number"
927
+ },
928
+ "errors": {
929
+ "type": "number"
930
+ },
931
+ "openTotal": {
932
+ "type": "number"
933
+ },
934
+ "deliveredUniq": {
935
+ "type": "number"
923
936
  }
924
937
  }
925
938
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-statistics-api",
3
- "version": "1.3.792",
3
+ "version": "1.3.793",
4
4
  "description": "Statistics API gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -353,6 +353,8 @@ export type GetMessagesTotalStatisticsCPRequest = {
353
353
  timestampFrom: string;
354
354
  timestampTo: string;
355
355
  interval: pushwoosh_statistics_types_TimeInterval;
356
+ /** platforms to count; empty keeps every platform of the application */
357
+ platformIds: number[];
356
358
  };
357
359
  export type ShortMessageMetric = {
358
360
  sent: number;
@@ -363,6 +365,12 @@ export type ShortMessageMetric = {
363
365
  softBounces: number;
364
366
  complaints: number;
365
367
  unsubs: number;
368
+ /** sends that failed on the provider; bounces and complaints are email only */
369
+ errors: number;
370
+ /** every open, while `open` above counts one per user */
371
+ openTotal: number;
372
+ /** users the message reached, while `delivered` above counts every delivery */
373
+ deliveredUniq: number;
366
374
  };
367
375
  export type ShortMessageMetricWithTimestampPlatformID = {
368
376
  timestamp: string;