@pushwoosh/rpc-gateway-statistics-api 1.3.835 → 1.3.837
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
|
@@ -2077,6 +2077,9 @@ export const data = {
|
|
|
2077
2077
|
},
|
|
2078
2078
|
"whatsappContentId": {
|
|
2079
2079
|
"type": "string"
|
|
2080
|
+
},
|
|
2081
|
+
"smsPresetCode": {
|
|
2082
|
+
"type": "string"
|
|
2080
2083
|
}
|
|
2081
2084
|
}
|
|
2082
2085
|
},
|
|
@@ -3894,6 +3897,9 @@ export const data = {
|
|
|
3894
3897
|
},
|
|
3895
3898
|
"activeReachable": {
|
|
3896
3899
|
"type": "number"
|
|
3900
|
+
},
|
|
3901
|
+
"usersWithChannel": {
|
|
3902
|
+
"type": "number"
|
|
3897
3903
|
}
|
|
3898
3904
|
}
|
|
3899
3905
|
},
|
package/package.json
CHANGED
|
@@ -103,12 +103,19 @@ export type GetReachByPlatformResponse_Platform = {
|
|
|
103
103
|
subscribers: number;
|
|
104
104
|
/** reachable users active within the window, same 30 days as the funnel */
|
|
105
105
|
activeReachable: number;
|
|
106
|
+
/**
|
|
107
|
+
* users reachable on this platform by any channel, push token or email
|
|
108
|
+
* address alike; the only non-zero field on an email, SMS or WhatsApp row
|
|
109
|
+
*/
|
|
110
|
+
usersWithChannel: number;
|
|
106
111
|
};
|
|
107
112
|
export type GetReachByPlatformResponse = {
|
|
108
113
|
day: Date;
|
|
109
114
|
/**
|
|
110
115
|
* a user counts in every platform they carry the flag on, so the sum over
|
|
111
|
-
* platforms exceeds the application total
|
|
116
|
+
* platforms exceeds the application total. Ordered by the larger of
|
|
117
|
+
* users_with_push_device and users_with_channel, because neither dominates:
|
|
118
|
+
* a reader drawing one metric still has to sort by the one it draws.
|
|
112
119
|
*/
|
|
113
120
|
platforms: GetReachByPlatformResponse_Platform[];
|
|
114
121
|
};
|