@pushwoosh/rpc-gateway-statistics-api 1.3.863 → 1.3.864
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
|
@@ -4864,12 +4864,6 @@ export const data = {
|
|
|
4864
4864
|
"method": "post",
|
|
4865
4865
|
"path": "/api/v2/statistics/messages/getCampaignDeliveryTimeline"
|
|
4866
4866
|
},
|
|
4867
|
-
"GetActiveAudience": {
|
|
4868
|
-
"request": "pushwoosh.statistics.statistics.v2.statistics.GetActiveAudienceRequest",
|
|
4869
|
-
"response": "pushwoosh.statistics.statistics.v2.statistics.GetActiveAudienceResponse",
|
|
4870
|
-
"method": "post",
|
|
4871
|
-
"path": "/api/v2/statistics/audience/getActiveAudience"
|
|
4872
|
-
},
|
|
4873
4867
|
"GetEmailCategoryPerformance": {
|
|
4874
4868
|
"request": "pushwoosh.statistics.statistics.v2.statistics.GetEmailCategoryPerformanceRequest",
|
|
4875
4869
|
"response": "pushwoosh.statistics.statistics.v2.statistics.GetEmailCategoryPerformanceResponse",
|
|
@@ -6075,69 +6069,6 @@ export const data = {
|
|
|
6075
6069
|
}
|
|
6076
6070
|
}
|
|
6077
6071
|
},
|
|
6078
|
-
"pushwoosh.statistics.statistics.v2.statistics.ActiveAudienceType": {
|
|
6079
|
-
"type": "E",
|
|
6080
|
-
"values": [
|
|
6081
|
-
"ACTIVE_USERS_TYPE_UNSPECIFIED",
|
|
6082
|
-
"ACTIVE_USERS_TYPE_DAY",
|
|
6083
|
-
"ACTIVE_USERS_TYPE_MONTH",
|
|
6084
|
-
"ACTIVE_USERS_TYPE_CALENDAR_MONTH",
|
|
6085
|
-
"ACTIVE_USERS_TYPE_CALENDAR_MONTH_WITH_TOKEN",
|
|
6086
|
-
"ACTIVE_USERS_TYPE_MONTH_WITH_TOKEN",
|
|
6087
|
-
"ACTIVE_DEVICES_TYPE_DAY",
|
|
6088
|
-
"ACTIVE_DEVICES_TYPE_MONTH",
|
|
6089
|
-
"ACTIVE_DEVICES_TYPE_CALENDAR_MONTH",
|
|
6090
|
-
"ACTIVE_DEVICES_TYPE_MONTH_WITH_TOKEN"
|
|
6091
|
-
]
|
|
6092
|
-
},
|
|
6093
|
-
"pushwoosh.statistics.statistics.v2.statistics.ActiveAudienceCount": {
|
|
6094
|
-
"type": "I",
|
|
6095
|
-
"fields": {
|
|
6096
|
-
"timestamp": {
|
|
6097
|
-
"type": "Date"
|
|
6098
|
-
},
|
|
6099
|
-
"applicationId": {
|
|
6100
|
-
"type": "number"
|
|
6101
|
-
},
|
|
6102
|
-
"platformId": {
|
|
6103
|
-
"type": "number"
|
|
6104
|
-
},
|
|
6105
|
-
"count": {
|
|
6106
|
-
"type": "number"
|
|
6107
|
-
}
|
|
6108
|
-
}
|
|
6109
|
-
},
|
|
6110
|
-
"pushwoosh.statistics.statistics.v2.statistics.GetActiveAudienceRequest": {
|
|
6111
|
-
"type": "I",
|
|
6112
|
-
"fields": {
|
|
6113
|
-
"applicationIds": {
|
|
6114
|
-
"type": "number",
|
|
6115
|
-
"array": true
|
|
6116
|
-
},
|
|
6117
|
-
"platformIds": {
|
|
6118
|
-
"type": "number",
|
|
6119
|
-
"array": true
|
|
6120
|
-
},
|
|
6121
|
-
"dateFrom": {
|
|
6122
|
-
"type": "Date"
|
|
6123
|
-
},
|
|
6124
|
-
"dateTo": {
|
|
6125
|
-
"type": "Date"
|
|
6126
|
-
},
|
|
6127
|
-
"type": {
|
|
6128
|
-
"type": "pushwoosh.statistics.statistics.v2.statistics.ActiveAudienceType"
|
|
6129
|
-
}
|
|
6130
|
-
}
|
|
6131
|
-
},
|
|
6132
|
-
"pushwoosh.statistics.statistics.v2.statistics.GetActiveAudienceResponse": {
|
|
6133
|
-
"type": "I",
|
|
6134
|
-
"fields": {
|
|
6135
|
-
"rows": {
|
|
6136
|
-
"type": "pushwoosh.statistics.statistics.v2.statistics.ActiveAudienceCount",
|
|
6137
|
-
"array": true
|
|
6138
|
-
}
|
|
6139
|
-
}
|
|
6140
|
-
},
|
|
6141
6072
|
"pushwoosh.statistics.statistics.v2.statistics.GetUniqueEmailRecipientsRequest": {
|
|
6142
6073
|
"type": "I",
|
|
6143
6074
|
"fields": {
|
package/package.json
CHANGED
|
@@ -16,7 +16,6 @@ export type StatisticsService_GetMessageDeliveryFunnel = RpcMethod<GetMessageDel
|
|
|
16
16
|
export type StatisticsService_GetCampaignDeliveryFunnel = RpcMethod<GetCampaignDeliveryFunnelRequest, GetDeliveryFunnelResponse>;
|
|
17
17
|
export type StatisticsService_GetMessageDeliveryTimeline = RpcMethod<GetMessageDeliveryTimelineRequest, GetDeliveryTimelineResponse>;
|
|
18
18
|
export type StatisticsService_GetCampaignDeliveryTimeline = RpcMethod<GetCampaignDeliveryTimelineRequest, GetDeliveryTimelineResponse>;
|
|
19
|
-
export type StatisticsService_GetActiveAudience = RpcMethod<GetActiveAudienceRequest, GetActiveAudienceResponse>;
|
|
20
19
|
export type StatisticsService_GetEmailCategoryPerformance = RpcMethod<GetEmailCategoryPerformanceRequest, GetEmailCategoryPerformanceResponse>;
|
|
21
20
|
export type StatisticsService_GetConversionsBoard = RpcMethod<GetConversionsBoardRequest, GetConversionsBoardResponse>;
|
|
22
21
|
/** StatisticsService provides various statistics operations */
|
|
@@ -65,8 +64,6 @@ export interface StatisticsService {
|
|
|
65
64
|
* Uniques stay unique within a message, so one subscriber can count more than once.
|
|
66
65
|
*/
|
|
67
66
|
GetCampaignDeliveryTimeline: StatisticsService_GetCampaignDeliveryTimeline;
|
|
68
|
-
/** GetActiveAudience returns active users and active devices groped by application and platform */
|
|
69
|
-
GetActiveAudience: StatisticsService_GetActiveAudience;
|
|
70
67
|
/**
|
|
71
68
|
* GetEmailCategoryPerformance counts email sends, openers and clickers per category code.
|
|
72
69
|
* The caller names the categories; statistics only groups by the names it is given.
|
|
@@ -914,44 +911,6 @@ export type GetDeliveryTimelineResponse = {
|
|
|
914
911
|
*/
|
|
915
912
|
readSource: GetDeliveryTimelineResponse_ReadSource;
|
|
916
913
|
};
|
|
917
|
-
/** ActiveAudienceType specifies the type of active users calculation */
|
|
918
|
-
export type ActiveAudienceType =
|
|
919
|
-
/** Unspecified type */
|
|
920
|
-
'ACTIVE_USERS_TYPE_UNSPECIFIED'
|
|
921
|
-
/** Daily Active Users (MAU) */
|
|
922
|
-
| 'ACTIVE_USERS_TYPE_DAY'
|
|
923
|
-
/** Monthly Active Users from month start */
|
|
924
|
-
| 'ACTIVE_USERS_TYPE_MONTH'
|
|
925
|
-
/** Monthly Active Users from specified date */
|
|
926
|
-
| 'ACTIVE_USERS_TYPE_CALENDAR_MONTH'
|
|
927
|
-
/** Monthly Active Users from specified date */
|
|
928
|
-
| 'ACTIVE_USERS_TYPE_CALENDAR_MONTH_WITH_TOKEN'
|
|
929
|
-
/** Monthly Active Users from specified date with device with token */
|
|
930
|
-
| 'ACTIVE_USERS_TYPE_MONTH_WITH_TOKEN'
|
|
931
|
-
/** Daily Active Devices (MAD) */
|
|
932
|
-
| 'ACTIVE_DEVICES_TYPE_DAY'
|
|
933
|
-
/** Monthly Active Devices from month start */
|
|
934
|
-
| 'ACTIVE_DEVICES_TYPE_MONTH'
|
|
935
|
-
/** Monthly Active Devices from specified date */
|
|
936
|
-
| 'ACTIVE_DEVICES_TYPE_CALENDAR_MONTH'
|
|
937
|
-
/** Monthly Active Devices with push token */
|
|
938
|
-
| 'ACTIVE_DEVICES_TYPE_MONTH_WITH_TOKEN';
|
|
939
|
-
export type ActiveAudienceCount = {
|
|
940
|
-
timestamp: Date;
|
|
941
|
-
applicationId: number;
|
|
942
|
-
platformId: number;
|
|
943
|
-
count: number;
|
|
944
|
-
};
|
|
945
|
-
export type GetActiveAudienceRequest = {
|
|
946
|
-
applicationIds: number[];
|
|
947
|
-
platformIds: number[];
|
|
948
|
-
dateFrom: Date;
|
|
949
|
-
dateTo: Date;
|
|
950
|
-
type: ActiveAudienceType;
|
|
951
|
-
};
|
|
952
|
-
export type GetActiveAudienceResponse = {
|
|
953
|
-
rows: ActiveAudienceCount[];
|
|
954
|
-
};
|
|
955
914
|
/** GetUniqueEmailRecipientsRequest represents a request to count unique email HWIDs with successful sends */
|
|
956
915
|
export type GetUniqueEmailRecipientsRequest = {
|
|
957
916
|
applicationIds: number[];
|