@pushwoosh/rpc-v2-http-api-data 0.2.439 → 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
|
},
|
|
@@ -32450,7 +32463,14 @@ export const data = {
|
|
|
32450
32463
|
"JSON_EMPTY",
|
|
32451
32464
|
"JSON_INVALID",
|
|
32452
32465
|
"KIND_EMPTY",
|
|
32453
|
-
"KIND_INVALID"
|
|
32466
|
+
"KIND_INVALID",
|
|
32467
|
+
"FORM_MALFORMED",
|
|
32468
|
+
"FORM_NO_FIELDS",
|
|
32469
|
+
"FORM_SUBMIT_INVALID",
|
|
32470
|
+
"FORM_CONSENT_MISSING",
|
|
32471
|
+
"FORM_EMAIL_DUPLICATE",
|
|
32472
|
+
"FORM_TAG_INVALID",
|
|
32473
|
+
"FORM_SUCCESS_PAGE_INVALID"
|
|
32454
32474
|
],
|
|
32455
32475
|
"valuesArgs": {
|
|
32456
32476
|
"NAME_TOO_LONG": [
|
|
@@ -32458,6 +32478,9 @@ export const data = {
|
|
|
32458
32478
|
],
|
|
32459
32479
|
"NAME_ALREADY_EXISTS": [
|
|
32460
32480
|
"name"
|
|
32481
|
+
],
|
|
32482
|
+
"FORM_TAG_INVALID": [
|
|
32483
|
+
"tag"
|
|
32461
32484
|
]
|
|
32462
32485
|
}
|
|
32463
32486
|
},
|
|
@@ -32465,7 +32488,8 @@ export const data = {
|
|
|
32465
32488
|
"type": "E",
|
|
32466
32489
|
"values": [
|
|
32467
32490
|
"FV_LIST_UNSPECIFIED",
|
|
32468
|
-
"PER_PAGE_TOO_LARGE"
|
|
32491
|
+
"PER_PAGE_TOO_LARGE",
|
|
32492
|
+
"KIND_FILTER_INVALID"
|
|
32469
32493
|
],
|
|
32470
32494
|
"valuesArgs": {
|
|
32471
32495
|
"PER_PAGE_TOO_LARGE": [
|
|
@@ -32625,6 +32649,10 @@ export const data = {
|
|
|
32625
32649
|
},
|
|
32626
32650
|
"perPage": {
|
|
32627
32651
|
"type": "number"
|
|
32652
|
+
},
|
|
32653
|
+
"kind": {
|
|
32654
|
+
"type": "string",
|
|
32655
|
+
"optional": true
|
|
32628
32656
|
}
|
|
32629
32657
|
}
|
|
32630
32658
|
},
|
package/package.json
CHANGED
|
@@ -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;
|
|
@@ -38,6 +38,37 @@ export type PopupFormsContentsService_Save_FieldViolations = {
|
|
|
38
38
|
reason: 'KIND_INVALID';
|
|
39
39
|
field: string;
|
|
40
40
|
description: string;
|
|
41
|
+
} | {
|
|
42
|
+
reason: 'FORM_MALFORMED';
|
|
43
|
+
field: string;
|
|
44
|
+
description: string;
|
|
45
|
+
} | {
|
|
46
|
+
reason: 'FORM_NO_FIELDS';
|
|
47
|
+
field: string;
|
|
48
|
+
description: string;
|
|
49
|
+
} | {
|
|
50
|
+
reason: 'FORM_SUBMIT_INVALID';
|
|
51
|
+
field: string;
|
|
52
|
+
description: string;
|
|
53
|
+
} | {
|
|
54
|
+
reason: 'FORM_CONSENT_MISSING';
|
|
55
|
+
field: string;
|
|
56
|
+
description: string;
|
|
57
|
+
} | {
|
|
58
|
+
reason: 'FORM_EMAIL_DUPLICATE';
|
|
59
|
+
field: string;
|
|
60
|
+
description: string;
|
|
61
|
+
} | {
|
|
62
|
+
reason: 'FORM_TAG_INVALID';
|
|
63
|
+
field: string;
|
|
64
|
+
description: string;
|
|
65
|
+
args: {
|
|
66
|
+
tag: string;
|
|
67
|
+
};
|
|
68
|
+
} | {
|
|
69
|
+
reason: 'FORM_SUCCESS_PAGE_INVALID';
|
|
70
|
+
field: string;
|
|
71
|
+
description: string;
|
|
41
72
|
};
|
|
42
73
|
export type PopupFormsContentsService_List_FieldViolations = {
|
|
43
74
|
reason: 'FV_LIST_UNSPECIFIED';
|
|
@@ -50,6 +81,10 @@ export type PopupFormsContentsService_List_FieldViolations = {
|
|
|
50
81
|
args: {
|
|
51
82
|
max_per_page: string;
|
|
52
83
|
};
|
|
84
|
+
} | {
|
|
85
|
+
reason: 'KIND_FILTER_INVALID';
|
|
86
|
+
field: string;
|
|
87
|
+
description: string;
|
|
53
88
|
};
|
|
54
89
|
export type PopupFormsContentsService_Common_FailedPreconditions = {
|
|
55
90
|
type: 'FP_UNSPECIFIED';
|
|
@@ -129,7 +164,7 @@ export type PopupFormsContentsService_GetPopupFormsContentsUsage = RpcMethodV3<G
|
|
|
129
164
|
failedPreconditions?: pushwoosh_rpc_errors_v3_Common_FailedPreconditions;
|
|
130
165
|
}>;
|
|
131
166
|
export interface PopupFormsContentsService {
|
|
132
|
-
/** Lists popup form contents (web subscription-popup designs) for an application code XXXXX-XXXXX, ordered by updated or name, with paging
|
|
167
|
+
/** Lists popup form contents (web subscription-popup designs) for an application code XXXXX-XXXXX, ordered by updated or name, with paging, free-text search over name and code and an optional kind filter (CONTENT or FORM). Use to browse designs or find a content code before get/update/delete. */
|
|
133
168
|
List: PopupFormsContentsService_List;
|
|
134
169
|
/** Returns one popup form content by its content code, including the frontend-generated json and optional html. Use after list_popup_form_contents to inspect a single design. */
|
|
135
170
|
Get: PopupFormsContentsService_Get;
|
|
@@ -211,6 +246,11 @@ export type ListRequest = {
|
|
|
211
246
|
page?: number;
|
|
212
247
|
/** Number of items per page. */
|
|
213
248
|
perPage?: number;
|
|
249
|
+
/**
|
|
250
|
+
* Optional kind filter: "CONTENT" or "FORM". Empty means no filter.
|
|
251
|
+
* Paging and totals are counted over the filtered set.
|
|
252
|
+
*/
|
|
253
|
+
kind?: string;
|
|
214
254
|
};
|
|
215
255
|
export type ListResponse_ListItem = {
|
|
216
256
|
/** Similar to the PopupFormContent. */
|
|
@@ -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. */
|