@pushwoosh/rpc-gateway-statistics-api 1.3.776 → 1.3.777

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
@@ -3662,6 +3662,35 @@ export const data = {
3662
3662
  }
3663
3663
  }
3664
3664
  },
3665
+ "pushwoosh.statistics.statistics.v2.overviewkpi.GetMAUOverviewRequest": {
3666
+ "type": "I",
3667
+ "fields": {
3668
+ "applicationIds": {
3669
+ "type": "number",
3670
+ "array": true
3671
+ },
3672
+ "day": {
3673
+ "type": "Date"
3674
+ }
3675
+ }
3676
+ },
3677
+ "pushwoosh.statistics.statistics.v2.overviewkpi.GetMAUOverviewResponse": {
3678
+ "type": "I",
3679
+ "fields": {
3680
+ "day": {
3681
+ "type": "Date"
3682
+ },
3683
+ "mau30": {
3684
+ "type": "number"
3685
+ },
3686
+ "unifiedMau30": {
3687
+ "type": "number"
3688
+ },
3689
+ "dataAvailable": {
3690
+ "type": "boolean"
3691
+ }
3692
+ }
3693
+ },
3665
3694
  "pushwoosh.statistics.statistics.v2.statistics.StatisticsService": {
3666
3695
  "type": "S",
3667
3696
  "key": "statisticsV2",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-statistics-api",
3
- "version": "1.3.776",
3
+ "version": "1.3.777",
4
4
  "description": "Statistics API gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -90,3 +90,24 @@ export type GetRetentionCurveResponse = {
90
90
  cohortDate: Date;
91
91
  points: GetRetentionCurveResponse_Point[];
92
92
  };
93
+ export type GetMAUOverviewRequest = {
94
+ /** applications to sum over; ids of other accounts are ignored */
95
+ applicationIds: number[];
96
+ /** snapshot day, only year-month-day are used */
97
+ day: Date;
98
+ };
99
+ export type GetMAUOverviewResponse = {
100
+ day: Date;
101
+ /**
102
+ * sum of the per-application rolling-30 counts; a user active in two
103
+ * applications of the account is counted in each of them
104
+ */
105
+ mau30: number;
106
+ /** same sum for the unified count: opens plus delivered email, SMS and WhatsApp */
107
+ unifiedMau30: number;
108
+ /**
109
+ * false when the day carries no row for any of the applications, so that a
110
+ * zero is never read as a measured zero
111
+ */
112
+ dataAvailable: boolean;
113
+ };