@pushwoosh/rpc-v2-http-api-data 0.2.438 → 0.2.440
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 +17 -2
- package/package.json +1 -1
- package/pushwoosh_rpc_popup_forms_contents_v3.d.ts +41 -1
package/data.js
CHANGED
|
@@ -32450,7 +32450,14 @@ export const data = {
|
|
|
32450
32450
|
"JSON_EMPTY",
|
|
32451
32451
|
"JSON_INVALID",
|
|
32452
32452
|
"KIND_EMPTY",
|
|
32453
|
-
"KIND_INVALID"
|
|
32453
|
+
"KIND_INVALID",
|
|
32454
|
+
"FORM_MALFORMED",
|
|
32455
|
+
"FORM_NO_FIELDS",
|
|
32456
|
+
"FORM_SUBMIT_INVALID",
|
|
32457
|
+
"FORM_CONSENT_MISSING",
|
|
32458
|
+
"FORM_EMAIL_DUPLICATE",
|
|
32459
|
+
"FORM_TAG_INVALID",
|
|
32460
|
+
"FORM_SUCCESS_PAGE_INVALID"
|
|
32454
32461
|
],
|
|
32455
32462
|
"valuesArgs": {
|
|
32456
32463
|
"NAME_TOO_LONG": [
|
|
@@ -32458,6 +32465,9 @@ export const data = {
|
|
|
32458
32465
|
],
|
|
32459
32466
|
"NAME_ALREADY_EXISTS": [
|
|
32460
32467
|
"name"
|
|
32468
|
+
],
|
|
32469
|
+
"FORM_TAG_INVALID": [
|
|
32470
|
+
"tag"
|
|
32461
32471
|
]
|
|
32462
32472
|
}
|
|
32463
32473
|
},
|
|
@@ -32465,7 +32475,8 @@ export const data = {
|
|
|
32465
32475
|
"type": "E",
|
|
32466
32476
|
"values": [
|
|
32467
32477
|
"FV_LIST_UNSPECIFIED",
|
|
32468
|
-
"PER_PAGE_TOO_LARGE"
|
|
32478
|
+
"PER_PAGE_TOO_LARGE",
|
|
32479
|
+
"KIND_FILTER_INVALID"
|
|
32469
32480
|
],
|
|
32470
32481
|
"valuesArgs": {
|
|
32471
32482
|
"PER_PAGE_TOO_LARGE": [
|
|
@@ -32625,6 +32636,10 @@ export const data = {
|
|
|
32625
32636
|
},
|
|
32626
32637
|
"perPage": {
|
|
32627
32638
|
"type": "number"
|
|
32639
|
+
},
|
|
32640
|
+
"kind": {
|
|
32641
|
+
"type": "string",
|
|
32642
|
+
"optional": true
|
|
32628
32643
|
}
|
|
32629
32644
|
}
|
|
32630
32645
|
},
|
package/package.json
CHANGED
|
@@ -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. */
|