@pushwoosh/rpc-gateway-statistics-api 1.3.852 → 1.3.854

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
@@ -4210,6 +4210,9 @@ export const data = {
4210
4210
  },
4211
4211
  "dormantPercent": {
4212
4212
  "type": "number"
4213
+ },
4214
+ "machineOnlyOpeners": {
4215
+ "type": "number"
4213
4216
  }
4214
4217
  }
4215
4218
  },
@@ -4574,6 +4577,10 @@ export const data = {
4574
4577
  },
4575
4578
  "dayTo": {
4576
4579
  "type": "Date"
4580
+ },
4581
+ "platformIds": {
4582
+ "type": "number",
4583
+ "array": true
4577
4584
  }
4578
4585
  }
4579
4586
  },
@@ -4623,6 +4630,18 @@ export const data = {
4623
4630
  }
4624
4631
  }
4625
4632
  },
4633
+ "pushwoosh.statistics.statistics.v2.overviewkpi.GetUserMessageMetricsResponse.Day": {
4634
+ "type": "I",
4635
+ "fields": {
4636
+ "day": {
4637
+ "type": "Date"
4638
+ },
4639
+ "platforms": {
4640
+ "type": "pushwoosh.statistics.statistics.v2.overviewkpi.GetUserMessageMetricsResponse.Platform",
4641
+ "array": true
4642
+ }
4643
+ }
4644
+ },
4626
4645
  "pushwoosh.statistics.statistics.v2.overviewkpi.GetUserMessageMetricsResponse": {
4627
4646
  "type": "I",
4628
4647
  "fields": {
@@ -4653,6 +4672,10 @@ export const data = {
4653
4672
  },
4654
4673
  "unique": {
4655
4674
  "type": "pushwoosh.statistics.statistics.v2.overviewkpi.GetUserMessageMetricsResponse.Unique"
4675
+ },
4676
+ "days": {
4677
+ "type": "pushwoosh.statistics.statistics.v2.overviewkpi.GetUserMessageMetricsResponse.Day",
4678
+ "array": true
4656
4679
  }
4657
4680
  }
4658
4681
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-statistics-api",
3
- "version": "1.3.852",
3
+ "version": "1.3.854",
4
4
  "description": "Statistics API gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -256,6 +256,11 @@ export type GetEmailActivityDistributionResponse = {
256
256
  clickedPercent: number;
257
257
  openedNotClickedPercent: number;
258
258
  dormantPercent: number;
259
+ /**
260
+ * of the dormant, those whose only opens in the period were Apple MPP prefetches:
261
+ * a machine fetched the pixel, so nothing proves the letter was read
262
+ */
263
+ machineOnlyOpeners: number;
259
264
  };
260
265
  export type GetEmailBaseChangeRequest = {
261
266
  applicationCode: string;
@@ -454,6 +459,11 @@ export type GetUserMessageMetricsRequest = {
454
459
  applicationCode: string;
455
460
  dayFrom: Date;
456
461
  dayTo: Date;
462
+ /**
463
+ * count only these platforms; empty is every channel of the application,
464
+ * email and SMS included
465
+ */
466
+ platformIds: number[];
457
467
  };
458
468
  /**
459
469
  * the same tiles with every user counted once over the whole period instead
@@ -475,6 +485,11 @@ export type GetUserMessageMetricsResponse_Platform = {
475
485
  opens: number;
476
486
  unique: GetUserMessageMetricsResponse_Unique;
477
487
  };
488
+ /** one day of the period, split the same way as the period totals above */
489
+ export type GetUserMessageMetricsResponse_Day = {
490
+ day: Date;
491
+ platforms: GetUserMessageMetricsResponse_Platform[];
492
+ };
478
493
  export type GetUserMessageMetricsResponse = {
479
494
  /** users the gateway was asked for: the ones it took plus the ones it refused */
480
495
  sends: number;
@@ -502,4 +517,9 @@ export type GetUserMessageMetricsResponse = {
502
517
  */
503
518
  opens: number;
504
519
  unique: GetUserMessageMetricsResponse_Unique;
520
+ /**
521
+ * the daily series behind the chart; a day the mart never wrote is missing
522
+ * rather than zero, so the line starts where the data does
523
+ */
524
+ days: GetUserMessageMetricsResponse_Day[];
505
525
  };