@pushwoosh/rpc-v2-http-api-data 0.2.440 → 0.2.441

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
@@ -17751,6 +17751,9 @@ export const data = {
17751
17751
  },
17752
17752
  "dateTo": {
17753
17753
  "type": "Date"
17754
+ },
17755
+ "campaign": {
17756
+ "type": "string"
17754
17757
  }
17755
17758
  }
17756
17759
  },
@@ -32159,6 +32162,16 @@ export const data = {
32159
32162
  },
32160
32163
  "cssSelector": {
32161
32164
  "type": "string"
32165
+ },
32166
+ "submits": {
32167
+ "type": "number"
32168
+ },
32169
+ "confirmed": {
32170
+ "type": "number"
32171
+ },
32172
+ "submitErrors": {
32173
+ "type": "number",
32174
+ "mapKeyType": "string"
32162
32175
  }
32163
32176
  }
32164
32177
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.2.440",
3
+ "version": "0.2.441",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -1125,6 +1125,11 @@ export type ExportSubscriptionFormSubscribedUsersArgs = {
1125
1125
  submissionStatus: ExportSubscriptionFormSubscribedUsersArgs_SUBMISSION_STATUS;
1126
1126
  dateFrom: Date;
1127
1127
  dateTo: Date;
1128
+ /**
1129
+ * Web campaign code (popup_forms.code). Exactly one of `form` and `campaign` is set;
1130
+ * not a oneof, since that would change the Go API of `form` for the callers.
1131
+ */
1132
+ campaign: string;
1128
1133
  };
1129
1134
  export type ExportSubscriptionFormSubscribedUsersResult = {
1130
1135
  file: string;
@@ -280,6 +280,15 @@ export type ListResponse_ListItem = {
280
280
  kind: string;
281
281
  /** Similar to the PopupForm. */
282
282
  cssSelector: string;
283
+ /** Number of form submissions (PW_PopupFormSubmit). */
284
+ submits: number;
285
+ /** Number of confirmed email subscriptions (PW_PopupFormConfirm). */
286
+ confirmed: number;
287
+ /**
288
+ * Number of failed submissions by reason (PW_PopupFormSubmitError).
289
+ * An event without a reason is counted under "unknown".
290
+ */
291
+ submitErrors: Record<string, number>;
283
292
  };
284
293
  export type ListResponse = {
285
294
  /** List of Popup Forms for the current page. */