@pushwoosh/rpc-gateway-statistics-api 1.3.810 → 1.3.812
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
|
@@ -3897,6 +3897,67 @@ export const data = {
|
|
|
3897
3897
|
}
|
|
3898
3898
|
}
|
|
3899
3899
|
},
|
|
3900
|
+
"pushwoosh.statistics.statistics.v2.overviewkpi.GetUserMessageMetricsRequest": {
|
|
3901
|
+
"type": "I",
|
|
3902
|
+
"fields": {
|
|
3903
|
+
"applicationCode": {
|
|
3904
|
+
"type": "string"
|
|
3905
|
+
},
|
|
3906
|
+
"dayFrom": {
|
|
3907
|
+
"type": "Date"
|
|
3908
|
+
},
|
|
3909
|
+
"dayTo": {
|
|
3910
|
+
"type": "Date"
|
|
3911
|
+
}
|
|
3912
|
+
}
|
|
3913
|
+
},
|
|
3914
|
+
"pushwoosh.statistics.statistics.v2.overviewkpi.GetUserMessageMetricsResponse.Platform": {
|
|
3915
|
+
"type": "I",
|
|
3916
|
+
"fields": {
|
|
3917
|
+
"platformId": {
|
|
3918
|
+
"type": "number"
|
|
3919
|
+
},
|
|
3920
|
+
"sends": {
|
|
3921
|
+
"type": "number"
|
|
3922
|
+
},
|
|
3923
|
+
"deliveries": {
|
|
3924
|
+
"type": "number"
|
|
3925
|
+
},
|
|
3926
|
+
"errors": {
|
|
3927
|
+
"type": "number"
|
|
3928
|
+
},
|
|
3929
|
+
"deliveryRatePercent": {
|
|
3930
|
+
"type": "number"
|
|
3931
|
+
}
|
|
3932
|
+
}
|
|
3933
|
+
},
|
|
3934
|
+
"pushwoosh.statistics.statistics.v2.overviewkpi.GetUserMessageMetricsResponse": {
|
|
3935
|
+
"type": "I",
|
|
3936
|
+
"fields": {
|
|
3937
|
+
"sends": {
|
|
3938
|
+
"type": "number"
|
|
3939
|
+
},
|
|
3940
|
+
"deliveries": {
|
|
3941
|
+
"type": "number"
|
|
3942
|
+
},
|
|
3943
|
+
"errors": {
|
|
3944
|
+
"type": "number"
|
|
3945
|
+
},
|
|
3946
|
+
"deliveryRatePercent": {
|
|
3947
|
+
"type": "number"
|
|
3948
|
+
},
|
|
3949
|
+
"platforms": {
|
|
3950
|
+
"type": "pushwoosh.statistics.statistics.v2.overviewkpi.GetUserMessageMetricsResponse.Platform",
|
|
3951
|
+
"array": true
|
|
3952
|
+
},
|
|
3953
|
+
"firstWrittenDay": {
|
|
3954
|
+
"type": "Date"
|
|
3955
|
+
},
|
|
3956
|
+
"dataAvailable": {
|
|
3957
|
+
"type": "boolean"
|
|
3958
|
+
}
|
|
3959
|
+
}
|
|
3960
|
+
},
|
|
3900
3961
|
"pushwoosh.statistics.statistics.v2.statistics.StatisticsService": {
|
|
3901
3962
|
"type": "S",
|
|
3902
3963
|
"key": "statisticsV2",
|
package/package.json
CHANGED
|
@@ -177,3 +177,37 @@ export type GetMAUOverviewResponse = {
|
|
|
177
177
|
/** same sum restricted to users holding a valid push token */
|
|
178
178
|
activeWithToken30: number;
|
|
179
179
|
};
|
|
180
|
+
export type GetUserMessageMetricsRequest = {
|
|
181
|
+
applicationCode: string;
|
|
182
|
+
dayFrom: Date;
|
|
183
|
+
dayTo: Date;
|
|
184
|
+
};
|
|
185
|
+
export type GetUserMessageMetricsResponse_Platform = {
|
|
186
|
+
platformId: number;
|
|
187
|
+
sends: number;
|
|
188
|
+
deliveries: number;
|
|
189
|
+
errors: number;
|
|
190
|
+
deliveryRatePercent: number;
|
|
191
|
+
};
|
|
192
|
+
export type GetUserMessageMetricsResponse = {
|
|
193
|
+
/** users the gateway was asked for: the ones it took plus the ones it refused */
|
|
194
|
+
sends: number;
|
|
195
|
+
/** users the gateway took, confirmed by the device or not */
|
|
196
|
+
deliveries: number;
|
|
197
|
+
/** users whose send the gateway refused */
|
|
198
|
+
errors: number;
|
|
199
|
+
/** deliveries over sends, in percent, rounded to two decimals */
|
|
200
|
+
deliveryRatePercent: number;
|
|
201
|
+
/**
|
|
202
|
+
* a user reached on two platforms is counted in each, so the rows do not sum
|
|
203
|
+
* to the totals above
|
|
204
|
+
*/
|
|
205
|
+
platforms: GetUserMessageMetricsResponse_Platform[];
|
|
206
|
+
/**
|
|
207
|
+
* first day the mart holds for this application; an earlier day_from asks for
|
|
208
|
+
* numbers that were never written and can no longer be rebuilt
|
|
209
|
+
*/
|
|
210
|
+
firstWrittenDay: Date;
|
|
211
|
+
/** false when the mart has nothing for this application at all */
|
|
212
|
+
dataAvailable: boolean;
|
|
213
|
+
};
|