@pushwoosh/rpc-gateway-statistics-api 1.3.862 → 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": {
@@ -6402,7 +6333,8 @@ export const data = {
6402
6333
  "WINDOW_DAYS_UNSPECIFIED",
6403
6334
  "WINDOW_DAYS_3",
6404
6335
  "WINDOW_DAYS_7",
6405
- "WINDOW_DAYS_30"
6336
+ "WINDOW_DAYS_30",
6337
+ "WINDOW_DAYS_FULL_PERIOD"
6406
6338
  ]
6407
6339
  },
6408
6340
  "pushwoosh.statistics.statistics.v2.statistics.GetControlGroupAnalyticsRequest": {
@@ -6416,6 +6348,9 @@ export const data = {
6416
6348
  },
6417
6349
  "controlGroup": {
6418
6350
  "type": "string"
6351
+ },
6352
+ "cycleNumber": {
6353
+ "type": "number"
6419
6354
  }
6420
6355
  }
6421
6356
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-statistics-api",
3
- "version": "1.3.862",
3
+ "version": "1.3.864",
4
4
  "description": "Statistics API gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -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[];
@@ -1109,7 +1068,7 @@ export type GetUserFCSuppressionsResponse = {
1109
1068
  suppressions: FCSuppressionRecord[];
1110
1069
  };
1111
1070
  /** WindowDays is the analytics window preset */
1112
- export type GetControlGroupAnalyticsRequest_WindowDays = 'WINDOW_DAYS_UNSPECIFIED' | 'WINDOW_DAYS_3' | 'WINDOW_DAYS_7' | 'WINDOW_DAYS_30';
1071
+ export type GetControlGroupAnalyticsRequest_WindowDays = 'WINDOW_DAYS_UNSPECIFIED' | 'WINDOW_DAYS_3' | 'WINDOW_DAYS_7' | 'WINDOW_DAYS_30' | 'WINDOW_DAYS_FULL_PERIOD';
1113
1072
  /** GetControlGroupAnalyticsRequest represents a request for Global Control Group analytics */
1114
1073
  export type GetControlGroupAnalyticsRequest = {
1115
1074
  /** Application Code */
@@ -1121,6 +1080,8 @@ export type GetControlGroupAnalyticsRequest = {
1121
1080
  * control groups had codes, which is the application's only group.
1122
1081
  */
1123
1082
  controlGroup: string;
1083
+ /** Cycle to report on; 0 is the latest rows whatever their cycle. Required with WINDOW_DAYS_FULL_PERIOD. */
1084
+ cycleNumber: number;
1124
1085
  };
1125
1086
  /** ControlGroupAnalyticsGroup contains metrics for one side of the experiment (treatment or control) */
1126
1087
  export type ControlGroupAnalyticsGroup = {