@pushwoosh/rpc-gateway-statistics-api 1.3.774 → 1.3.776
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
|
@@ -631,6 +631,13 @@ export const data = {
|
|
|
631
631
|
"applicationIds": {
|
|
632
632
|
"type": "number",
|
|
633
633
|
"array": true
|
|
634
|
+
},
|
|
635
|
+
"messagesCodes": {
|
|
636
|
+
"type": "string",
|
|
637
|
+
"array": true
|
|
638
|
+
},
|
|
639
|
+
"timestampFrom": {
|
|
640
|
+
"type": "string"
|
|
634
641
|
}
|
|
635
642
|
}
|
|
636
643
|
},
|
|
@@ -4705,6 +4712,23 @@ export const data = {
|
|
|
4705
4712
|
}
|
|
4706
4713
|
}
|
|
4707
4714
|
},
|
|
4715
|
+
"pushwoosh.statistics.statistics.v2.statistics.GetDeliveryFunnelResponse.ErrorCode": {
|
|
4716
|
+
"type": "I",
|
|
4717
|
+
"fields": {
|
|
4718
|
+
"platform": {
|
|
4719
|
+
"type": "number"
|
|
4720
|
+
},
|
|
4721
|
+
"code": {
|
|
4722
|
+
"type": "number"
|
|
4723
|
+
},
|
|
4724
|
+
"name": {
|
|
4725
|
+
"type": "string"
|
|
4726
|
+
},
|
|
4727
|
+
"count": {
|
|
4728
|
+
"type": "number"
|
|
4729
|
+
}
|
|
4730
|
+
}
|
|
4731
|
+
},
|
|
4708
4732
|
"pushwoosh.statistics.statistics.v2.statistics.GetDeliveryFunnelResponse.ErrorRow": {
|
|
4709
4733
|
"type": "I",
|
|
4710
4734
|
"fields": {
|
|
@@ -4717,6 +4741,10 @@ export const data = {
|
|
|
4717
4741
|
"platforms": {
|
|
4718
4742
|
"type": "pushwoosh.statistics.statistics.v2.statistics.GetDeliveryFunnelResponse.PlatformCount",
|
|
4719
4743
|
"array": true
|
|
4744
|
+
},
|
|
4745
|
+
"codes": {
|
|
4746
|
+
"type": "pushwoosh.statistics.statistics.v2.statistics.GetDeliveryFunnelResponse.ErrorCode",
|
|
4747
|
+
"array": true
|
|
4720
4748
|
}
|
|
4721
4749
|
}
|
|
4722
4750
|
},
|
package/package.json
CHANGED
|
@@ -262,6 +262,10 @@ export type GetMessagesTotalStatisticsRequest = {
|
|
|
262
262
|
messagesIds: number[];
|
|
263
263
|
withUniq: boolean;
|
|
264
264
|
applicationIds: number[];
|
|
265
|
+
/** transactional messages share message_id 0, so they are addressed by code */
|
|
266
|
+
messagesCodes: string[];
|
|
267
|
+
/** required with messages_codes: the send date the server reads for ids is unavailable for them */
|
|
268
|
+
timestampFrom: string;
|
|
265
269
|
};
|
|
266
270
|
export type MessageMetric = {
|
|
267
271
|
sends: number;
|
|
@@ -696,6 +696,17 @@ export type GetDeliveryFunnelResponse_Piece = {
|
|
|
696
696
|
count: number;
|
|
697
697
|
platforms: GetDeliveryFunnelResponse_PlatformCount[];
|
|
698
698
|
};
|
|
699
|
+
/**
|
|
700
|
+
* ErrorCode is one sender status code inside an error row. Platform is part of the row,
|
|
701
|
+
* not a breakdown of it: 1002 is BadDeviceToken on APNS and ParameterErr on Huawei.
|
|
702
|
+
*/
|
|
703
|
+
export type GetDeliveryFunnelResponse_ErrorCode = {
|
|
704
|
+
platform: number;
|
|
705
|
+
code: number;
|
|
706
|
+
/** short human name; our own publish codes read "Processing Error" */
|
|
707
|
+
name: string;
|
|
708
|
+
count: number;
|
|
709
|
+
};
|
|
699
710
|
/**
|
|
700
711
|
* ErrorRow is what STAGE_ERRORS carries instead of pieces: a Piece in all but name,
|
|
701
712
|
* since every row of that stage is a drop-out.
|
|
@@ -705,6 +716,11 @@ export type GetDeliveryFunnelResponse_ErrorRow = {
|
|
|
705
716
|
category: string;
|
|
706
717
|
count: number;
|
|
707
718
|
platforms: GetDeliveryFunnelResponse_PlatformCount[];
|
|
719
|
+
/**
|
|
720
|
+
* codes are the measured rows the category was folded from, so they sum to count --
|
|
721
|
+
* except on UNCLASSIFIED_ERROR, which is a remainder and carries none.
|
|
722
|
+
*/
|
|
723
|
+
codes: GetDeliveryFunnelResponse_ErrorCode[];
|
|
708
724
|
};
|
|
709
725
|
/**
|
|
710
726
|
* StageItem is one funnel level with its breakdown. STAGE_DELIVERIES counts accepted
|