@pushwoosh/rpc-gateway-statistics-api 1.3.831 → 1.3.833
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
|
@@ -35,7 +35,8 @@ export const data = {
|
|
|
35
35
|
"WHATSAPP_API",
|
|
36
36
|
"SMS_API",
|
|
37
37
|
"INBOX_CP",
|
|
38
|
-
"INBOX_API"
|
|
38
|
+
"INBOX_API",
|
|
39
|
+
"TEST_EMAIL"
|
|
39
40
|
]
|
|
40
41
|
},
|
|
41
42
|
"pushwoosh.statistics.types.MessageType": {
|
|
@@ -3809,6 +3810,9 @@ export const data = {
|
|
|
3809
3810
|
},
|
|
3810
3811
|
"day": {
|
|
3811
3812
|
"type": "Date"
|
|
3813
|
+
},
|
|
3814
|
+
"platformId": {
|
|
3815
|
+
"type": "number"
|
|
3812
3816
|
}
|
|
3813
3817
|
}
|
|
3814
3818
|
},
|
|
@@ -3856,6 +3860,9 @@ export const data = {
|
|
|
3856
3860
|
},
|
|
3857
3861
|
"neverOptedInPercent": {
|
|
3858
3862
|
"type": "number"
|
|
3863
|
+
},
|
|
3864
|
+
"totalUsersAvailable": {
|
|
3865
|
+
"type": "boolean"
|
|
3859
3866
|
}
|
|
3860
3867
|
}
|
|
3861
3868
|
},
|
|
@@ -3878,6 +3885,15 @@ export const data = {
|
|
|
3878
3885
|
},
|
|
3879
3886
|
"reachable": {
|
|
3880
3887
|
"type": "number"
|
|
3888
|
+
},
|
|
3889
|
+
"usersWithPushDevice": {
|
|
3890
|
+
"type": "number"
|
|
3891
|
+
},
|
|
3892
|
+
"subscribers": {
|
|
3893
|
+
"type": "number"
|
|
3894
|
+
},
|
|
3895
|
+
"activeReachable": {
|
|
3896
|
+
"type": "number"
|
|
3881
3897
|
}
|
|
3882
3898
|
}
|
|
3883
3899
|
},
|
|
@@ -3904,6 +3920,9 @@ export const data = {
|
|
|
3904
3920
|
},
|
|
3905
3921
|
"dayTo": {
|
|
3906
3922
|
"type": "Date"
|
|
3923
|
+
},
|
|
3924
|
+
"platformId": {
|
|
3925
|
+
"type": "number"
|
|
3907
3926
|
}
|
|
3908
3927
|
}
|
|
3909
3928
|
},
|
|
@@ -3930,6 +3949,9 @@ export const data = {
|
|
|
3930
3949
|
"points": {
|
|
3931
3950
|
"type": "pushwoosh.statistics.statistics.v2.overviewkpi.GetActiveTrendResponse.Point",
|
|
3932
3951
|
"array": true
|
|
3952
|
+
},
|
|
3953
|
+
"activeMetricsAvailable": {
|
|
3954
|
+
"type": "boolean"
|
|
3933
3955
|
}
|
|
3934
3956
|
}
|
|
3935
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;
|
|
@@ -3,7 +3,7 @@ export type Source = 'SOURCE_UNSPECIFIED'
|
|
|
3
3
|
/** deprecated */
|
|
4
4
|
| 'AB_EXPERIMENT' | 'AB_TEST' | 'API' | 'AUTO_PUSH' | 'CP' | 'CSV' | 'CUSTOMER_JOURNEY' | 'EMAIL_API' | 'EMAIL_CP' | 'GEO_ZONE' | 'PUSH_ON_EVENT' | 'RSS' | 'SYSTEM'
|
|
5
5
|
/** deprecated */
|
|
6
|
-
| 'TWITTER' | 'TARGETED' | 'LIVE_ACTIVITY_API' | 'WHATSAPP_API' | 'SMS_API' | 'INBOX_CP' | 'INBOX_API';
|
|
6
|
+
| 'TWITTER' | 'TARGETED' | 'LIVE_ACTIVITY_API' | 'WHATSAPP_API' | 'SMS_API' | 'INBOX_CP' | 'INBOX_API' | 'TEST_EMAIL';
|
|
7
7
|
export type MessageType = 'MESSAGE_TYPE_UNSPECIFIED' | 'TRANSACTIONAL' | 'BROADCAST' | 'ALL';
|
|
8
8
|
export type Platform = 'PLATFORM_UNSPECIFIED' | 'IOS'
|
|
9
9
|
/** deprecated */
|