@pushwoosh/rpc-gateway-statistics-api 1.3.837 → 1.3.840
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
|
@@ -3739,6 +3739,12 @@ export const data = {
|
|
|
3739
3739
|
"method": "post",
|
|
3740
3740
|
"path": "/api/v2/statistics/overview/getActiveTrend"
|
|
3741
3741
|
},
|
|
3742
|
+
"GetChannelUsersTrend": {
|
|
3743
|
+
"request": "pushwoosh.statistics.statistics.v2.overviewkpi.GetChannelUsersTrendRequest",
|
|
3744
|
+
"response": "pushwoosh.statistics.statistics.v2.overviewkpi.GetChannelUsersTrendResponse",
|
|
3745
|
+
"method": "post",
|
|
3746
|
+
"path": "/api/v2/statistics/overview/getChannelUsersTrend"
|
|
3747
|
+
},
|
|
3742
3748
|
"GetRetentionCurve": {
|
|
3743
3749
|
"request": "pushwoosh.statistics.statistics.v2.overviewkpi.GetRetentionCurveRequest",
|
|
3744
3750
|
"response": "pushwoosh.statistics.statistics.v2.overviewkpi.GetRetentionCurveResponse",
|
|
@@ -3961,6 +3967,43 @@ export const data = {
|
|
|
3961
3967
|
}
|
|
3962
3968
|
}
|
|
3963
3969
|
},
|
|
3970
|
+
"pushwoosh.statistics.statistics.v2.overviewkpi.GetChannelUsersTrendRequest": {
|
|
3971
|
+
"type": "I",
|
|
3972
|
+
"fields": {
|
|
3973
|
+
"applicationCode": {
|
|
3974
|
+
"type": "string"
|
|
3975
|
+
},
|
|
3976
|
+
"dayFrom": {
|
|
3977
|
+
"type": "Date"
|
|
3978
|
+
},
|
|
3979
|
+
"dayTo": {
|
|
3980
|
+
"type": "Date"
|
|
3981
|
+
},
|
|
3982
|
+
"platformId": {
|
|
3983
|
+
"type": "number"
|
|
3984
|
+
}
|
|
3985
|
+
}
|
|
3986
|
+
},
|
|
3987
|
+
"pushwoosh.statistics.statistics.v2.overviewkpi.GetChannelUsersTrendResponse.Point": {
|
|
3988
|
+
"type": "I",
|
|
3989
|
+
"fields": {
|
|
3990
|
+
"day": {
|
|
3991
|
+
"type": "Date"
|
|
3992
|
+
},
|
|
3993
|
+
"usersWithChannel": {
|
|
3994
|
+
"type": "number"
|
|
3995
|
+
}
|
|
3996
|
+
}
|
|
3997
|
+
},
|
|
3998
|
+
"pushwoosh.statistics.statistics.v2.overviewkpi.GetChannelUsersTrendResponse": {
|
|
3999
|
+
"type": "I",
|
|
4000
|
+
"fields": {
|
|
4001
|
+
"points": {
|
|
4002
|
+
"type": "pushwoosh.statistics.statistics.v2.overviewkpi.GetChannelUsersTrendResponse.Point",
|
|
4003
|
+
"array": true
|
|
4004
|
+
}
|
|
4005
|
+
}
|
|
4006
|
+
},
|
|
3964
4007
|
"pushwoosh.statistics.statistics.v2.overviewkpi.GetRetentionCurveRequest": {
|
|
3965
4008
|
"type": "I",
|
|
3966
4009
|
"fields": {
|
package/package.json
CHANGED
|
@@ -3,6 +3,7 @@ export type OverviewKPIService_GetOverviewKPI = RpcMethod<GetOverviewKPIRequest,
|
|
|
3
3
|
export type OverviewKPIService_GetAudienceFunnel = RpcMethod<GetAudienceFunnelRequest, GetAudienceFunnelResponse>;
|
|
4
4
|
export type OverviewKPIService_GetReachByPlatform = RpcMethod<GetReachByPlatformRequest, GetReachByPlatformResponse>;
|
|
5
5
|
export type OverviewKPIService_GetActiveTrend = RpcMethod<GetActiveTrendRequest, GetActiveTrendResponse>;
|
|
6
|
+
export type OverviewKPIService_GetChannelUsersTrend = RpcMethod<GetChannelUsersTrendRequest, GetChannelUsersTrendResponse>;
|
|
6
7
|
export type OverviewKPIService_GetRetentionCurve = RpcMethod<GetRetentionCurveRequest, GetRetentionCurveResponse>;
|
|
7
8
|
export type OverviewKPIService_GetBaseChange = RpcMethod<GetBaseChangeRequest, GetBaseChangeResponse>;
|
|
8
9
|
export type OverviewKPIService_GetUserMessageMetrics = RpcMethod<GetUserMessageMetricsRequest, GetUserMessageMetricsResponse>;
|
|
@@ -19,6 +20,8 @@ export interface OverviewKPIService {
|
|
|
19
20
|
GetReachByPlatform: OverviewKPIService_GetReachByPlatform;
|
|
20
21
|
/** GetActiveTrend returns the daily DAU and rolling-30 MAU series. */
|
|
21
22
|
GetActiveTrend: OverviewKPIService_GetActiveTrend;
|
|
23
|
+
/** GetChannelUsersTrend returns the daily users-with-channel series of one platform. */
|
|
24
|
+
GetChannelUsersTrend: OverviewKPIService_GetChannelUsersTrend;
|
|
22
25
|
/** GetRetentionCurve returns the D1/D7/D30 curve of one cohort. */
|
|
23
26
|
GetRetentionCurve: OverviewKPIService_GetRetentionCurve;
|
|
24
27
|
/** GetBaseChange returns how the push device base moved over a period. */
|
|
@@ -146,6 +149,22 @@ export type GetActiveTrendResponse = {
|
|
|
146
149
|
*/
|
|
147
150
|
activeMetricsAvailable: boolean;
|
|
148
151
|
};
|
|
152
|
+
export type GetChannelUsersTrendRequest = {
|
|
153
|
+
applicationCode: string;
|
|
154
|
+
dayFrom: Date;
|
|
155
|
+
dayTo: Date;
|
|
156
|
+
/** platform the channel addresses the user on; email is 14, 0 is every channel */
|
|
157
|
+
platformId: number;
|
|
158
|
+
};
|
|
159
|
+
export type GetChannelUsersTrendResponse_Point = {
|
|
160
|
+
day: Date;
|
|
161
|
+
/** users holding an address on that platform, one snapshot day */
|
|
162
|
+
usersWithChannel: number;
|
|
163
|
+
};
|
|
164
|
+
export type GetChannelUsersTrendResponse = {
|
|
165
|
+
/** one point per day the writer has a row for; days it never ran are absent */
|
|
166
|
+
points: GetChannelUsersTrendResponse_Point[];
|
|
167
|
+
};
|
|
149
168
|
export type GetRetentionCurveRequest = {
|
|
150
169
|
applicationCode: string;
|
|
151
170
|
/** day the cohort registered on */
|