@pushwoosh/rpc-gateway-statistics-api 1.3.883 → 1.3.885

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
@@ -5163,6 +5163,12 @@ export const data = {
5163
5163
  "method": "post",
5164
5164
  "path": "/api/v2/statistics/messages/getCampaignDeliveryTimeline"
5165
5165
  },
5166
+ "GetPopupFormsStatistics": {
5167
+ "request": "pushwoosh.statistics.statistics.v2.statistics.GetPopupFormsStatisticsRequest",
5168
+ "response": "pushwoosh.statistics.statistics.v2.statistics.GetPopupFormsStatisticsResponse",
5169
+ "method": "post",
5170
+ "path": "/api/v2/statistics/forms/getPopupFormsStatistics"
5171
+ },
5166
5172
  "GetEmailCategoryPerformance": {
5167
5173
  "request": "pushwoosh.statistics.statistics.v2.statistics.GetEmailCategoryPerformanceRequest",
5168
5174
  "response": "pushwoosh.statistics.statistics.v2.statistics.GetEmailCategoryPerformanceResponse",
@@ -6471,6 +6477,16 @@ export const data = {
6471
6477
  },
6472
6478
  "impressions": {
6473
6479
  "type": "number"
6480
+ },
6481
+ "submits": {
6482
+ "type": "number"
6483
+ },
6484
+ "confirmed": {
6485
+ "type": "number"
6486
+ },
6487
+ "submitErrors": {
6488
+ "type": "number",
6489
+ "mapKeyType": "string"
6474
6490
  }
6475
6491
  }
6476
6492
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-statistics-api",
3
- "version": "1.3.883",
3
+ "version": "1.3.885",
4
4
  "description": "Statistics API gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -16,6 +16,7 @@ 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_GetPopupFormsStatistics = RpcMethod<GetPopupFormsStatisticsRequest, GetPopupFormsStatisticsResponse>;
19
20
  export type StatisticsService_GetEmailCategoryPerformance = RpcMethod<GetEmailCategoryPerformanceRequest, GetEmailCategoryPerformanceResponse>;
20
21
  /** StatisticsService provides various statistics operations */
21
22
  export interface StatisticsService {
@@ -63,6 +64,8 @@ export interface StatisticsService {
63
64
  * Uniques stay unique within a message, so one subscriber can count more than once.
64
65
  */
65
66
  GetCampaignDeliveryTimeline: StatisticsService_GetCampaignDeliveryTimeline;
67
+ /** GetPopupFormsStatistics returns popup forms statistics (visits, impressions, submits, confirmed, submit errors) */
68
+ GetPopupFormsStatistics: StatisticsService_GetPopupFormsStatistics;
66
69
  /**
67
70
  * GetEmailCategoryPerformance counts email sends, openers and clickers per category code.
68
71
  * The caller names the categories; statistics only groups by the names it is given.
@@ -974,6 +977,12 @@ export type GetPopupFormsStatisticsResponse_FormStatistics = {
974
977
  visits: number;
975
978
  /** Total impressions */
976
979
  impressions: number;
980
+ /** Total successful form submits */
981
+ submits: number;
982
+ /** Total double opt-in confirmations */
983
+ confirmed: number;
984
+ /** Failed submits per reason */
985
+ submitErrors: Record<string, number>;
977
986
  };
978
987
  export type GetPopupFormsStatisticsResponse = {
979
988
  forms: Record<string, GetPopupFormsStatisticsResponse_FormStatistics>;