@pushwoosh/rpc-gateway-statistics-api 1.3.775 → 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
|
@@ -631,6 +631,13 @@ export const data = {
|
|
|
631
631
|
"applicationIds": {
|
|
632
632
|
"type": "number",
|
|
633
633
|
"array": true
|
|
634
|
+
},
|
|
635
|
+
"messagesCodes": {
|
|
636
|
+
"type": "string",
|
|
637
|
+
"array": true
|
|
638
|
+
},
|
|
639
|
+
"timestampFrom": {
|
|
640
|
+
"type": "string"
|
|
634
641
|
}
|
|
635
642
|
}
|
|
636
643
|
},
|
|
@@ -3655,6 +3662,35 @@ export const data = {
|
|
|
3655
3662
|
}
|
|
3656
3663
|
}
|
|
3657
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
|
+
},
|
|
3658
3694
|
"pushwoosh.statistics.statistics.v2.statistics.StatisticsService": {
|
|
3659
3695
|
"type": "S",
|
|
3660
3696
|
"key": "statisticsV2",
|
package/package.json
CHANGED
|
@@ -262,6 +262,10 @@ export type GetMessagesTotalStatisticsRequest = {
|
|
|
262
262
|
messagesIds: number[];
|
|
263
263
|
withUniq: boolean;
|
|
264
264
|
applicationIds: number[];
|
|
265
|
+
/** transactional messages share message_id 0, so they are addressed by code */
|
|
266
|
+
messagesCodes: string[];
|
|
267
|
+
/** required with messages_codes: the send date the server reads for ids is unavailable for them */
|
|
268
|
+
timestampFrom: string;
|
|
265
269
|
};
|
|
266
270
|
export type MessageMetric = {
|
|
267
271
|
sends: number;
|
|
@@ -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
|
+
};
|