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

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.778",
4
4
  "description": "Statistics API gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -14,9 +14,12 @@ export type GetOverviewKPIResponse = {
14
14
  netReachableGrowthPercent: number;
15
15
  /** unique users who opened the application that day */
16
16
  dau: number;
17
- /** unique users who opened it within the rolling 30 days ending that day */
17
+ /** users with a valid push token who opened it within the rolling 30 days */
18
18
  mau30: number;
19
- /** dau / mau_30, in percent */
19
+ /**
20
+ * dau over the untokened monthly count, in percent: both sides of the ratio
21
+ * share one definition, and dau has no token-filtered counterpart
22
+ */
20
23
  stickinessPercent: number;
21
24
  /** users reached by push, email, SMS or WhatsApp in the rolling 30 days */
22
25
  unifiedMau30: number;
@@ -90,3 +93,24 @@ export type GetRetentionCurveResponse = {
90
93
  cohortDate: Date;
91
94
  points: GetRetentionCurveResponse_Point[];
92
95
  };
96
+ export type GetMAUOverviewRequest = {
97
+ /** applications to sum over; ids of other accounts are ignored */
98
+ applicationIds: number[];
99
+ /** snapshot day, only year-month-day are used */
100
+ day: Date;
101
+ };
102
+ export type GetMAUOverviewResponse = {
103
+ day: Date;
104
+ /**
105
+ * sum of the per-application counts of users with a valid push token; a user
106
+ * active in two applications of the account is counted in each of them
107
+ */
108
+ mau30: number;
109
+ /** same sum for the unified count: opens plus delivered email, SMS and WhatsApp */
110
+ unifiedMau30: number;
111
+ /**
112
+ * false when the day carries no row, or carries activity with an empty token
113
+ * column, so that a zero is never read as a measured zero
114
+ */
115
+ dataAvailable: boolean;
116
+ };