@pushwoosh/rpc-gateway-statistics-api 1.3.832 → 1.3.834
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
|
@@ -3810,6 +3810,9 @@ export const data = {
|
|
|
3810
3810
|
},
|
|
3811
3811
|
"day": {
|
|
3812
3812
|
"type": "Date"
|
|
3813
|
+
},
|
|
3814
|
+
"platformId": {
|
|
3815
|
+
"type": "number"
|
|
3813
3816
|
}
|
|
3814
3817
|
}
|
|
3815
3818
|
},
|
|
@@ -3857,6 +3860,9 @@ export const data = {
|
|
|
3857
3860
|
},
|
|
3858
3861
|
"neverOptedInPercent": {
|
|
3859
3862
|
"type": "number"
|
|
3863
|
+
},
|
|
3864
|
+
"totalUsersAvailable": {
|
|
3865
|
+
"type": "boolean"
|
|
3860
3866
|
}
|
|
3861
3867
|
}
|
|
3862
3868
|
},
|
|
@@ -3879,6 +3885,15 @@ export const data = {
|
|
|
3879
3885
|
},
|
|
3880
3886
|
"reachable": {
|
|
3881
3887
|
"type": "number"
|
|
3888
|
+
},
|
|
3889
|
+
"usersWithPushDevice": {
|
|
3890
|
+
"type": "number"
|
|
3891
|
+
},
|
|
3892
|
+
"subscribers": {
|
|
3893
|
+
"type": "number"
|
|
3894
|
+
},
|
|
3895
|
+
"activeReachable": {
|
|
3896
|
+
"type": "number"
|
|
3882
3897
|
}
|
|
3883
3898
|
}
|
|
3884
3899
|
},
|
|
@@ -3905,6 +3920,9 @@ export const data = {
|
|
|
3905
3920
|
},
|
|
3906
3921
|
"dayTo": {
|
|
3907
3922
|
"type": "Date"
|
|
3923
|
+
},
|
|
3924
|
+
"platformId": {
|
|
3925
|
+
"type": "number"
|
|
3908
3926
|
}
|
|
3909
3927
|
}
|
|
3910
3928
|
},
|
|
@@ -3931,6 +3949,9 @@ export const data = {
|
|
|
3931
3949
|
"points": {
|
|
3932
3950
|
"type": "pushwoosh.statistics.statistics.v2.overviewkpi.GetActiveTrendResponse.Point",
|
|
3933
3951
|
"array": true
|
|
3952
|
+
},
|
|
3953
|
+
"activeMetricsAvailable": {
|
|
3954
|
+
"type": "boolean"
|
|
3934
3955
|
}
|
|
3935
3956
|
}
|
|
3936
3957
|
},
|
package/package.json
CHANGED
|
@@ -56,6 +56,8 @@ export type GetOverviewKPIResponse = {
|
|
|
56
56
|
export type GetAudienceFunnelRequest = {
|
|
57
57
|
applicationCode: string;
|
|
58
58
|
day: Date;
|
|
59
|
+
/** count only users reachable on this platform; 0 is the application total */
|
|
60
|
+
platformId: number;
|
|
59
61
|
};
|
|
60
62
|
export type GetAudienceFunnelResponse = {
|
|
61
63
|
day: Date;
|
|
@@ -81,6 +83,11 @@ export type GetAudienceFunnelResponse = {
|
|
|
81
83
|
/** has a push device but no token at all */
|
|
82
84
|
neverOptedIn: number;
|
|
83
85
|
neverOptedInPercent: number;
|
|
86
|
+
/**
|
|
87
|
+
* total_users is counted by another job that knows no platforms, so under a
|
|
88
|
+
* platform_id it comes back zero and this flag is false.
|
|
89
|
+
*/
|
|
90
|
+
totalUsersAvailable: boolean;
|
|
84
91
|
};
|
|
85
92
|
export type GetReachByPlatformRequest = {
|
|
86
93
|
applicationCode: string;
|
|
@@ -88,13 +95,20 @@ export type GetReachByPlatformRequest = {
|
|
|
88
95
|
};
|
|
89
96
|
export type GetReachByPlatformResponse_Platform = {
|
|
90
97
|
platformId: number;
|
|
98
|
+
/** users with push permission and a valid token on this platform */
|
|
91
99
|
reachable: number;
|
|
100
|
+
/** users with at least one push device on this platform, token or not */
|
|
101
|
+
usersWithPushDevice: number;
|
|
102
|
+
/** users whose device on this platform holds a valid token */
|
|
103
|
+
subscribers: number;
|
|
104
|
+
/** reachable users active within the window, same 30 days as the funnel */
|
|
105
|
+
activeReachable: number;
|
|
92
106
|
};
|
|
93
107
|
export type GetReachByPlatformResponse = {
|
|
94
108
|
day: Date;
|
|
95
109
|
/**
|
|
96
|
-
* a user counts in every platform
|
|
97
|
-
*
|
|
110
|
+
* a user counts in every platform they carry the flag on, so the sum over
|
|
111
|
+
* platforms exceeds the application total; ordered by users_with_push_device
|
|
98
112
|
*/
|
|
99
113
|
platforms: GetReachByPlatformResponse_Platform[];
|
|
100
114
|
};
|
|
@@ -102,6 +116,8 @@ export type GetActiveTrendRequest = {
|
|
|
102
116
|
applicationCode: string;
|
|
103
117
|
dayFrom: Date;
|
|
104
118
|
dayTo: Date;
|
|
119
|
+
/** take reachable of this platform only; 0 is the application total */
|
|
120
|
+
platformId: number;
|
|
105
121
|
};
|
|
106
122
|
export type GetActiveTrendResponse_Point = {
|
|
107
123
|
day: Date;
|
|
@@ -117,6 +133,11 @@ export type GetActiveTrendResponse = {
|
|
|
117
133
|
* be summed or merged across points
|
|
118
134
|
*/
|
|
119
135
|
points: GetActiveTrendResponse_Point[];
|
|
136
|
+
/**
|
|
137
|
+
* dau and mau_30 are not counted per platform: under a platform_id they come
|
|
138
|
+
* back zero and this flag is false, while reachable stays filled.
|
|
139
|
+
*/
|
|
140
|
+
activeMetricsAvailable: boolean;
|
|
120
141
|
};
|
|
121
142
|
export type GetRetentionCurveRequest = {
|
|
122
143
|
applicationCode: string;
|