@wix/auto_sdk_quick-pages_pages 1.0.0
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/build/cjs/index.d.ts +806 -0
- package/build/cjs/index.js +1133 -0
- package/build/cjs/index.js.map +1 -0
- package/build/cjs/index.typings.d.ts +1 -0
- package/build/cjs/index.typings.js +1011 -0
- package/build/cjs/index.typings.js.map +1 -0
- package/build/cjs/meta.d.ts +532 -0
- package/build/cjs/meta.js +744 -0
- package/build/cjs/meta.js.map +1 -0
- package/build/es/index.d.mts +806 -0
- package/build/es/index.mjs +1092 -0
- package/build/es/index.mjs.map +1 -0
- package/build/es/index.typings.d.mts +1 -0
- package/build/es/index.typings.mjs +970 -0
- package/build/es/index.typings.mjs.map +1 -0
- package/build/es/meta.d.mts +532 -0
- package/build/es/meta.mjs +704 -0
- package/build/es/meta.mjs.map +1 -0
- package/build/es/package.json +3 -0
- package/build/internal/cjs/index.d.ts +196 -0
- package/build/internal/cjs/index.js +1133 -0
- package/build/internal/cjs/index.js.map +1 -0
- package/build/internal/cjs/index.typings.d.ts +985 -0
- package/build/internal/cjs/index.typings.js +1011 -0
- package/build/internal/cjs/index.typings.js.map +1 -0
- package/build/internal/cjs/meta.d.ts +533 -0
- package/build/internal/cjs/meta.js +744 -0
- package/build/internal/cjs/meta.js.map +1 -0
- package/build/internal/es/index.d.mts +196 -0
- package/build/internal/es/index.mjs +1092 -0
- package/build/internal/es/index.mjs.map +1 -0
- package/build/internal/es/index.typings.d.mts +985 -0
- package/build/internal/es/index.typings.mjs +970 -0
- package/build/internal/es/index.typings.mjs.map +1 -0
- package/build/internal/es/meta.d.mts +533 -0
- package/build/internal/es/meta.mjs +704 -0
- package/build/internal/es/meta.mjs.map +1 -0
- package/meta/package.json +3 -0
- package/package.json +54 -0
|
@@ -0,0 +1,704 @@
|
|
|
1
|
+
// src/quickpages-v1-page-pages.http.ts
|
|
2
|
+
import { toURLSearchParams } from "@wix/sdk-runtime/rest-modules";
|
|
3
|
+
import { transformSDKTimestampToRESTTimestamp } from "@wix/sdk-runtime/transformations/timestamp";
|
|
4
|
+
import { transformRESTTimestampToSDKTimestamp } from "@wix/sdk-runtime/transformations/timestamp";
|
|
5
|
+
import { transformSDKFieldMaskToRESTFieldMask } from "@wix/sdk-runtime/transformations/field-mask";
|
|
6
|
+
import { transformPaths } from "@wix/sdk-runtime/transformations/transform-paths";
|
|
7
|
+
import { resolveUrl } from "@wix/sdk-runtime/rest-modules";
|
|
8
|
+
function resolveWixQuickpagesPagesV1PagesUrl(opts) {
|
|
9
|
+
const domainToMappings = {
|
|
10
|
+
"manage._base_domain_": [
|
|
11
|
+
{
|
|
12
|
+
srcPath: "/_api/quick-pages/v1/pages",
|
|
13
|
+
destPath: "/v1/pages"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
srcPath: "/_api/quick-pages/v1/bulk/pages",
|
|
17
|
+
destPath: "/v1/bulk/pages"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"www.wixapis.com": [
|
|
21
|
+
{
|
|
22
|
+
srcPath: "/quick-pages/v1/pages",
|
|
23
|
+
destPath: "/v1/pages"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
srcPath: "/quick-pages/v1/bulk/pages",
|
|
27
|
+
destPath: "/v1/bulk/pages"
|
|
28
|
+
}
|
|
29
|
+
]
|
|
30
|
+
};
|
|
31
|
+
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
32
|
+
}
|
|
33
|
+
var PACKAGE_NAME = "@wix/auto_sdk_quick-pages_pages";
|
|
34
|
+
function createPage(payload) {
|
|
35
|
+
function __createPage({ host }) {
|
|
36
|
+
const serializedData = transformPaths(payload, [
|
|
37
|
+
{
|
|
38
|
+
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
39
|
+
paths: [
|
|
40
|
+
{ path: "page.createdDate" },
|
|
41
|
+
{ path: "page.updatedDate" },
|
|
42
|
+
{ path: "page.publishedDate" },
|
|
43
|
+
{ path: "page.unpublishedDate" }
|
|
44
|
+
]
|
|
45
|
+
}
|
|
46
|
+
]);
|
|
47
|
+
const metadata = {
|
|
48
|
+
entityFqdn: "wix.quickpages.v1.page",
|
|
49
|
+
method: "POST",
|
|
50
|
+
methodFqn: "wix.quickpages.pages.v1.Pages.CreatePage",
|
|
51
|
+
packageName: PACKAGE_NAME,
|
|
52
|
+
url: resolveWixQuickpagesPagesV1PagesUrl({
|
|
53
|
+
protoPath: "/v1/pages",
|
|
54
|
+
data: serializedData,
|
|
55
|
+
host
|
|
56
|
+
}),
|
|
57
|
+
data: serializedData,
|
|
58
|
+
transformResponse: (payload2) => transformPaths(payload2, [
|
|
59
|
+
{
|
|
60
|
+
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
61
|
+
paths: [
|
|
62
|
+
{ path: "page.createdDate" },
|
|
63
|
+
{ path: "page.updatedDate" },
|
|
64
|
+
{ path: "page.publishedDate" },
|
|
65
|
+
{ path: "page.unpublishedDate" }
|
|
66
|
+
]
|
|
67
|
+
}
|
|
68
|
+
])
|
|
69
|
+
};
|
|
70
|
+
return metadata;
|
|
71
|
+
}
|
|
72
|
+
return __createPage;
|
|
73
|
+
}
|
|
74
|
+
function getPage(payload) {
|
|
75
|
+
function __getPage({ host }) {
|
|
76
|
+
const metadata = {
|
|
77
|
+
entityFqdn: "wix.quickpages.v1.page",
|
|
78
|
+
method: "GET",
|
|
79
|
+
methodFqn: "wix.quickpages.pages.v1.Pages.GetPage",
|
|
80
|
+
packageName: PACKAGE_NAME,
|
|
81
|
+
url: resolveWixQuickpagesPagesV1PagesUrl({
|
|
82
|
+
protoPath: "/v1/pages/{pageId}",
|
|
83
|
+
data: payload,
|
|
84
|
+
host
|
|
85
|
+
}),
|
|
86
|
+
params: toURLSearchParams(payload),
|
|
87
|
+
transformResponse: (payload2) => transformPaths(payload2, [
|
|
88
|
+
{
|
|
89
|
+
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
90
|
+
paths: [
|
|
91
|
+
{ path: "page.createdDate" },
|
|
92
|
+
{ path: "page.updatedDate" },
|
|
93
|
+
{ path: "page.publishedDate" },
|
|
94
|
+
{ path: "page.unpublishedDate" }
|
|
95
|
+
]
|
|
96
|
+
}
|
|
97
|
+
])
|
|
98
|
+
};
|
|
99
|
+
return metadata;
|
|
100
|
+
}
|
|
101
|
+
return __getPage;
|
|
102
|
+
}
|
|
103
|
+
function updatePage(payload) {
|
|
104
|
+
function __updatePage({ host }) {
|
|
105
|
+
const serializedData = transformPaths(payload, [
|
|
106
|
+
{
|
|
107
|
+
transformFn: transformSDKFieldMaskToRESTFieldMask,
|
|
108
|
+
paths: [{ path: "fieldMask" }]
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
112
|
+
paths: [
|
|
113
|
+
{ path: "page.createdDate" },
|
|
114
|
+
{ path: "page.updatedDate" },
|
|
115
|
+
{ path: "page.publishedDate" },
|
|
116
|
+
{ path: "page.unpublishedDate" }
|
|
117
|
+
]
|
|
118
|
+
}
|
|
119
|
+
]);
|
|
120
|
+
const metadata = {
|
|
121
|
+
entityFqdn: "wix.quickpages.v1.page",
|
|
122
|
+
method: "PATCH",
|
|
123
|
+
methodFqn: "wix.quickpages.pages.v1.Pages.UpdatePage",
|
|
124
|
+
packageName: PACKAGE_NAME,
|
|
125
|
+
url: resolveWixQuickpagesPagesV1PagesUrl({
|
|
126
|
+
protoPath: "/v1/pages/{page.id}",
|
|
127
|
+
data: serializedData,
|
|
128
|
+
host
|
|
129
|
+
}),
|
|
130
|
+
data: serializedData,
|
|
131
|
+
transformResponse: (payload2) => transformPaths(payload2, [
|
|
132
|
+
{
|
|
133
|
+
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
134
|
+
paths: [
|
|
135
|
+
{ path: "page.createdDate" },
|
|
136
|
+
{ path: "page.updatedDate" },
|
|
137
|
+
{ path: "page.publishedDate" },
|
|
138
|
+
{ path: "page.unpublishedDate" }
|
|
139
|
+
]
|
|
140
|
+
}
|
|
141
|
+
])
|
|
142
|
+
};
|
|
143
|
+
return metadata;
|
|
144
|
+
}
|
|
145
|
+
return __updatePage;
|
|
146
|
+
}
|
|
147
|
+
function setPageRoute(payload) {
|
|
148
|
+
function __setPageRoute({ host }) {
|
|
149
|
+
const metadata = {
|
|
150
|
+
entityFqdn: "wix.quickpages.v1.page",
|
|
151
|
+
method: "PATCH",
|
|
152
|
+
methodFqn: "wix.quickpages.pages.v1.Pages.SetPageRoute",
|
|
153
|
+
packageName: PACKAGE_NAME,
|
|
154
|
+
url: resolveWixQuickpagesPagesV1PagesUrl({
|
|
155
|
+
protoPath: "/v1/pages/{pageId}/routes",
|
|
156
|
+
data: payload,
|
|
157
|
+
host
|
|
158
|
+
}),
|
|
159
|
+
data: payload
|
|
160
|
+
};
|
|
161
|
+
return metadata;
|
|
162
|
+
}
|
|
163
|
+
return __setPageRoute;
|
|
164
|
+
}
|
|
165
|
+
function removePageRoute(payload) {
|
|
166
|
+
function __removePageRoute({ host }) {
|
|
167
|
+
const metadata = {
|
|
168
|
+
entityFqdn: "wix.quickpages.v1.page",
|
|
169
|
+
method: "DELETE",
|
|
170
|
+
methodFqn: "wix.quickpages.pages.v1.Pages.RemovePageRoute",
|
|
171
|
+
packageName: PACKAGE_NAME,
|
|
172
|
+
url: resolveWixQuickpagesPagesV1PagesUrl({
|
|
173
|
+
protoPath: "/v1/pages/{pageId}/routes",
|
|
174
|
+
data: payload,
|
|
175
|
+
host
|
|
176
|
+
}),
|
|
177
|
+
params: toURLSearchParams(payload)
|
|
178
|
+
};
|
|
179
|
+
return metadata;
|
|
180
|
+
}
|
|
181
|
+
return __removePageRoute;
|
|
182
|
+
}
|
|
183
|
+
function publishPage(payload) {
|
|
184
|
+
function __publishPage({ host }) {
|
|
185
|
+
const serializedData = transformPaths(payload, [
|
|
186
|
+
{
|
|
187
|
+
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
188
|
+
paths: [{ path: "unpublishedDate" }]
|
|
189
|
+
}
|
|
190
|
+
]);
|
|
191
|
+
const metadata = {
|
|
192
|
+
entityFqdn: "wix.quickpages.v1.page",
|
|
193
|
+
method: "POST",
|
|
194
|
+
methodFqn: "wix.quickpages.pages.v1.Pages.PublishPage",
|
|
195
|
+
packageName: PACKAGE_NAME,
|
|
196
|
+
url: resolveWixQuickpagesPagesV1PagesUrl({
|
|
197
|
+
protoPath: "/v1/pages/{pageId}/publish",
|
|
198
|
+
data: serializedData,
|
|
199
|
+
host
|
|
200
|
+
}),
|
|
201
|
+
data: serializedData,
|
|
202
|
+
transformResponse: (payload2) => transformPaths(payload2, [
|
|
203
|
+
{
|
|
204
|
+
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
205
|
+
paths: [
|
|
206
|
+
{ path: "page.createdDate" },
|
|
207
|
+
{ path: "page.updatedDate" },
|
|
208
|
+
{ path: "page.publishedDate" },
|
|
209
|
+
{ path: "page.unpublishedDate" }
|
|
210
|
+
]
|
|
211
|
+
}
|
|
212
|
+
])
|
|
213
|
+
};
|
|
214
|
+
return metadata;
|
|
215
|
+
}
|
|
216
|
+
return __publishPage;
|
|
217
|
+
}
|
|
218
|
+
function unpublishPage(payload) {
|
|
219
|
+
function __unpublishPage({ host }) {
|
|
220
|
+
const metadata = {
|
|
221
|
+
entityFqdn: "wix.quickpages.v1.page",
|
|
222
|
+
method: "POST",
|
|
223
|
+
methodFqn: "wix.quickpages.pages.v1.Pages.UnpublishPage",
|
|
224
|
+
packageName: PACKAGE_NAME,
|
|
225
|
+
url: resolveWixQuickpagesPagesV1PagesUrl({
|
|
226
|
+
protoPath: "/v1/pages/{pageId}/unpublish",
|
|
227
|
+
data: payload,
|
|
228
|
+
host
|
|
229
|
+
}),
|
|
230
|
+
data: payload,
|
|
231
|
+
transformResponse: (payload2) => transformPaths(payload2, [
|
|
232
|
+
{
|
|
233
|
+
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
234
|
+
paths: [
|
|
235
|
+
{ path: "page.createdDate" },
|
|
236
|
+
{ path: "page.updatedDate" },
|
|
237
|
+
{ path: "page.publishedDate" },
|
|
238
|
+
{ path: "page.unpublishedDate" }
|
|
239
|
+
]
|
|
240
|
+
}
|
|
241
|
+
])
|
|
242
|
+
};
|
|
243
|
+
return metadata;
|
|
244
|
+
}
|
|
245
|
+
return __unpublishPage;
|
|
246
|
+
}
|
|
247
|
+
function archivePage(payload) {
|
|
248
|
+
function __archivePage({ host }) {
|
|
249
|
+
const metadata = {
|
|
250
|
+
entityFqdn: "wix.quickpages.v1.page",
|
|
251
|
+
method: "POST",
|
|
252
|
+
methodFqn: "wix.quickpages.pages.v1.Pages.ArchivePage",
|
|
253
|
+
packageName: PACKAGE_NAME,
|
|
254
|
+
url: resolveWixQuickpagesPagesV1PagesUrl({
|
|
255
|
+
protoPath: "/v1/pages/{pageId}/archive",
|
|
256
|
+
data: payload,
|
|
257
|
+
host
|
|
258
|
+
}),
|
|
259
|
+
data: payload,
|
|
260
|
+
transformResponse: (payload2) => transformPaths(payload2, [
|
|
261
|
+
{
|
|
262
|
+
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
263
|
+
paths: [
|
|
264
|
+
{ path: "page.createdDate" },
|
|
265
|
+
{ path: "page.updatedDate" },
|
|
266
|
+
{ path: "page.publishedDate" },
|
|
267
|
+
{ path: "page.unpublishedDate" }
|
|
268
|
+
]
|
|
269
|
+
}
|
|
270
|
+
])
|
|
271
|
+
};
|
|
272
|
+
return metadata;
|
|
273
|
+
}
|
|
274
|
+
return __archivePage;
|
|
275
|
+
}
|
|
276
|
+
function unarchivePage(payload) {
|
|
277
|
+
function __unarchivePage({ host }) {
|
|
278
|
+
const metadata = {
|
|
279
|
+
entityFqdn: "wix.quickpages.v1.page",
|
|
280
|
+
method: "POST",
|
|
281
|
+
methodFqn: "wix.quickpages.pages.v1.Pages.UnarchivePage",
|
|
282
|
+
packageName: PACKAGE_NAME,
|
|
283
|
+
url: resolveWixQuickpagesPagesV1PagesUrl({
|
|
284
|
+
protoPath: "/v1/pages/{pageId}/unarchive",
|
|
285
|
+
data: payload,
|
|
286
|
+
host
|
|
287
|
+
}),
|
|
288
|
+
data: payload,
|
|
289
|
+
transformResponse: (payload2) => transformPaths(payload2, [
|
|
290
|
+
{
|
|
291
|
+
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
292
|
+
paths: [
|
|
293
|
+
{ path: "page.createdDate" },
|
|
294
|
+
{ path: "page.updatedDate" },
|
|
295
|
+
{ path: "page.publishedDate" },
|
|
296
|
+
{ path: "page.unpublishedDate" }
|
|
297
|
+
]
|
|
298
|
+
}
|
|
299
|
+
])
|
|
300
|
+
};
|
|
301
|
+
return metadata;
|
|
302
|
+
}
|
|
303
|
+
return __unarchivePage;
|
|
304
|
+
}
|
|
305
|
+
function schedulePage(payload) {
|
|
306
|
+
function __schedulePage({ host }) {
|
|
307
|
+
const serializedData = transformPaths(payload, [
|
|
308
|
+
{
|
|
309
|
+
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
310
|
+
paths: [{ path: "publishedDate" }, { path: "unpublishedDate" }]
|
|
311
|
+
}
|
|
312
|
+
]);
|
|
313
|
+
const metadata = {
|
|
314
|
+
entityFqdn: "wix.quickpages.v1.page",
|
|
315
|
+
method: "POST",
|
|
316
|
+
methodFqn: "wix.quickpages.pages.v1.Pages.SchedulePage",
|
|
317
|
+
packageName: PACKAGE_NAME,
|
|
318
|
+
url: resolveWixQuickpagesPagesV1PagesUrl({
|
|
319
|
+
protoPath: "/v1/pages/{pageId}/schedule",
|
|
320
|
+
data: serializedData,
|
|
321
|
+
host
|
|
322
|
+
}),
|
|
323
|
+
data: serializedData,
|
|
324
|
+
transformResponse: (payload2) => transformPaths(payload2, [
|
|
325
|
+
{
|
|
326
|
+
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
327
|
+
paths: [
|
|
328
|
+
{ path: "page.createdDate" },
|
|
329
|
+
{ path: "page.updatedDate" },
|
|
330
|
+
{ path: "page.publishedDate" },
|
|
331
|
+
{ path: "page.unpublishedDate" }
|
|
332
|
+
]
|
|
333
|
+
}
|
|
334
|
+
])
|
|
335
|
+
};
|
|
336
|
+
return metadata;
|
|
337
|
+
}
|
|
338
|
+
return __schedulePage;
|
|
339
|
+
}
|
|
340
|
+
function deletePage(payload) {
|
|
341
|
+
function __deletePage({ host }) {
|
|
342
|
+
const metadata = {
|
|
343
|
+
entityFqdn: "wix.quickpages.v1.page",
|
|
344
|
+
method: "DELETE",
|
|
345
|
+
methodFqn: "wix.quickpages.pages.v1.Pages.DeletePage",
|
|
346
|
+
packageName: PACKAGE_NAME,
|
|
347
|
+
url: resolveWixQuickpagesPagesV1PagesUrl({
|
|
348
|
+
protoPath: "/v1/pages/{pageId}",
|
|
349
|
+
data: payload,
|
|
350
|
+
host
|
|
351
|
+
}),
|
|
352
|
+
params: toURLSearchParams(payload)
|
|
353
|
+
};
|
|
354
|
+
return metadata;
|
|
355
|
+
}
|
|
356
|
+
return __deletePage;
|
|
357
|
+
}
|
|
358
|
+
function queryPages(payload) {
|
|
359
|
+
function __queryPages({ host }) {
|
|
360
|
+
const metadata = {
|
|
361
|
+
entityFqdn: "wix.quickpages.v1.page",
|
|
362
|
+
method: "POST",
|
|
363
|
+
methodFqn: "wix.quickpages.pages.v1.Pages.QueryPages",
|
|
364
|
+
packageName: PACKAGE_NAME,
|
|
365
|
+
url: resolveWixQuickpagesPagesV1PagesUrl({
|
|
366
|
+
protoPath: "/v1/pages/query",
|
|
367
|
+
data: payload,
|
|
368
|
+
host
|
|
369
|
+
}),
|
|
370
|
+
data: payload,
|
|
371
|
+
transformResponse: (payload2) => transformPaths(payload2, [
|
|
372
|
+
{
|
|
373
|
+
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
374
|
+
paths: [
|
|
375
|
+
{ path: "pages.createdDate" },
|
|
376
|
+
{ path: "pages.updatedDate" },
|
|
377
|
+
{ path: "pages.publishedDate" },
|
|
378
|
+
{ path: "pages.unpublishedDate" }
|
|
379
|
+
]
|
|
380
|
+
}
|
|
381
|
+
]),
|
|
382
|
+
fallback: [
|
|
383
|
+
{
|
|
384
|
+
method: "POST",
|
|
385
|
+
url: resolveWixQuickpagesPagesV1PagesUrl({
|
|
386
|
+
protoPath: "/v1/pages/query",
|
|
387
|
+
data: payload,
|
|
388
|
+
host
|
|
389
|
+
}),
|
|
390
|
+
data: payload
|
|
391
|
+
}
|
|
392
|
+
]
|
|
393
|
+
};
|
|
394
|
+
return metadata;
|
|
395
|
+
}
|
|
396
|
+
return __queryPages;
|
|
397
|
+
}
|
|
398
|
+
function bulkUpdatePageTags(payload) {
|
|
399
|
+
function __bulkUpdatePageTags({ host }) {
|
|
400
|
+
const metadata = {
|
|
401
|
+
entityFqdn: "wix.quickpages.v1.page",
|
|
402
|
+
method: "POST",
|
|
403
|
+
methodFqn: "wix.quickpages.pages.v1.Pages.BulkUpdatePageTags",
|
|
404
|
+
packageName: PACKAGE_NAME,
|
|
405
|
+
url: resolveWixQuickpagesPagesV1PagesUrl({
|
|
406
|
+
protoPath: "/v1/bulk/pages/update-tags",
|
|
407
|
+
data: payload,
|
|
408
|
+
host
|
|
409
|
+
}),
|
|
410
|
+
data: payload
|
|
411
|
+
};
|
|
412
|
+
return metadata;
|
|
413
|
+
}
|
|
414
|
+
return __bulkUpdatePageTags;
|
|
415
|
+
}
|
|
416
|
+
function bulkUpdatePageTagsByFilter(payload) {
|
|
417
|
+
function __bulkUpdatePageTagsByFilter({ host }) {
|
|
418
|
+
const metadata = {
|
|
419
|
+
entityFqdn: "wix.quickpages.v1.page",
|
|
420
|
+
method: "POST",
|
|
421
|
+
methodFqn: "wix.quickpages.pages.v1.Pages.BulkUpdatePageTagsByFilter",
|
|
422
|
+
packageName: PACKAGE_NAME,
|
|
423
|
+
url: resolveWixQuickpagesPagesV1PagesUrl({
|
|
424
|
+
protoPath: "/v1/bulk/pages/update-tags-by-filter",
|
|
425
|
+
data: payload,
|
|
426
|
+
host
|
|
427
|
+
}),
|
|
428
|
+
data: payload
|
|
429
|
+
};
|
|
430
|
+
return metadata;
|
|
431
|
+
}
|
|
432
|
+
return __bulkUpdatePageTagsByFilter;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
// src/quickpages-v1-page-pages.meta.ts
|
|
436
|
+
function createPage2() {
|
|
437
|
+
const payload = {};
|
|
438
|
+
const getRequestOptions = createPage(payload);
|
|
439
|
+
const getUrl = (context) => {
|
|
440
|
+
const { url } = getRequestOptions(context);
|
|
441
|
+
return url;
|
|
442
|
+
};
|
|
443
|
+
return {
|
|
444
|
+
getUrl,
|
|
445
|
+
httpMethod: "POST",
|
|
446
|
+
path: "/v1/pages",
|
|
447
|
+
pathParams: {},
|
|
448
|
+
__requestType: null,
|
|
449
|
+
__originalRequestType: null,
|
|
450
|
+
__responseType: null,
|
|
451
|
+
__originalResponseType: null
|
|
452
|
+
};
|
|
453
|
+
}
|
|
454
|
+
function getPage2() {
|
|
455
|
+
const payload = { pageId: ":pageId" };
|
|
456
|
+
const getRequestOptions = getPage(payload);
|
|
457
|
+
const getUrl = (context) => {
|
|
458
|
+
const { url } = getRequestOptions(context);
|
|
459
|
+
return url;
|
|
460
|
+
};
|
|
461
|
+
return {
|
|
462
|
+
getUrl,
|
|
463
|
+
httpMethod: "GET",
|
|
464
|
+
path: "/v1/pages/{pageId}",
|
|
465
|
+
pathParams: { pageId: "pageId" },
|
|
466
|
+
__requestType: null,
|
|
467
|
+
__originalRequestType: null,
|
|
468
|
+
__responseType: null,
|
|
469
|
+
__originalResponseType: null
|
|
470
|
+
};
|
|
471
|
+
}
|
|
472
|
+
function updatePage2() {
|
|
473
|
+
const payload = { page: { id: ":pageId" } };
|
|
474
|
+
const getRequestOptions = updatePage(payload);
|
|
475
|
+
const getUrl = (context) => {
|
|
476
|
+
const { url } = getRequestOptions(context);
|
|
477
|
+
return url;
|
|
478
|
+
};
|
|
479
|
+
return {
|
|
480
|
+
getUrl,
|
|
481
|
+
httpMethod: "PATCH",
|
|
482
|
+
path: "/v1/pages/{page.id}",
|
|
483
|
+
pathParams: { pageId: "pageId" },
|
|
484
|
+
__requestType: null,
|
|
485
|
+
__originalRequestType: null,
|
|
486
|
+
__responseType: null,
|
|
487
|
+
__originalResponseType: null
|
|
488
|
+
};
|
|
489
|
+
}
|
|
490
|
+
function setPageRoute2() {
|
|
491
|
+
const payload = { pageId: ":pageId" };
|
|
492
|
+
const getRequestOptions = setPageRoute(payload);
|
|
493
|
+
const getUrl = (context) => {
|
|
494
|
+
const { url } = getRequestOptions(context);
|
|
495
|
+
return url;
|
|
496
|
+
};
|
|
497
|
+
return {
|
|
498
|
+
getUrl,
|
|
499
|
+
httpMethod: "PATCH",
|
|
500
|
+
path: "/v1/pages/{pageId}/routes",
|
|
501
|
+
pathParams: { pageId: "pageId" },
|
|
502
|
+
__requestType: null,
|
|
503
|
+
__originalRequestType: null,
|
|
504
|
+
__responseType: null,
|
|
505
|
+
__originalResponseType: null
|
|
506
|
+
};
|
|
507
|
+
}
|
|
508
|
+
function removePageRoute2() {
|
|
509
|
+
const payload = { pageId: ":pageId" };
|
|
510
|
+
const getRequestOptions = removePageRoute(payload);
|
|
511
|
+
const getUrl = (context) => {
|
|
512
|
+
const { url } = getRequestOptions(context);
|
|
513
|
+
return url;
|
|
514
|
+
};
|
|
515
|
+
return {
|
|
516
|
+
getUrl,
|
|
517
|
+
httpMethod: "DELETE",
|
|
518
|
+
path: "/v1/pages/{pageId}/routes",
|
|
519
|
+
pathParams: { pageId: "pageId" },
|
|
520
|
+
__requestType: null,
|
|
521
|
+
__originalRequestType: null,
|
|
522
|
+
__responseType: null,
|
|
523
|
+
__originalResponseType: null
|
|
524
|
+
};
|
|
525
|
+
}
|
|
526
|
+
function publishPage2() {
|
|
527
|
+
const payload = { pageId: ":pageId" };
|
|
528
|
+
const getRequestOptions = publishPage(payload);
|
|
529
|
+
const getUrl = (context) => {
|
|
530
|
+
const { url } = getRequestOptions(context);
|
|
531
|
+
return url;
|
|
532
|
+
};
|
|
533
|
+
return {
|
|
534
|
+
getUrl,
|
|
535
|
+
httpMethod: "POST",
|
|
536
|
+
path: "/v1/pages/{pageId}/publish",
|
|
537
|
+
pathParams: { pageId: "pageId" },
|
|
538
|
+
__requestType: null,
|
|
539
|
+
__originalRequestType: null,
|
|
540
|
+
__responseType: null,
|
|
541
|
+
__originalResponseType: null
|
|
542
|
+
};
|
|
543
|
+
}
|
|
544
|
+
function unpublishPage2() {
|
|
545
|
+
const payload = { pageId: ":pageId" };
|
|
546
|
+
const getRequestOptions = unpublishPage(payload);
|
|
547
|
+
const getUrl = (context) => {
|
|
548
|
+
const { url } = getRequestOptions(context);
|
|
549
|
+
return url;
|
|
550
|
+
};
|
|
551
|
+
return {
|
|
552
|
+
getUrl,
|
|
553
|
+
httpMethod: "POST",
|
|
554
|
+
path: "/v1/pages/{pageId}/unpublish",
|
|
555
|
+
pathParams: { pageId: "pageId" },
|
|
556
|
+
__requestType: null,
|
|
557
|
+
__originalRequestType: null,
|
|
558
|
+
__responseType: null,
|
|
559
|
+
__originalResponseType: null
|
|
560
|
+
};
|
|
561
|
+
}
|
|
562
|
+
function archivePage2() {
|
|
563
|
+
const payload = { pageId: ":pageId" };
|
|
564
|
+
const getRequestOptions = archivePage(payload);
|
|
565
|
+
const getUrl = (context) => {
|
|
566
|
+
const { url } = getRequestOptions(context);
|
|
567
|
+
return url;
|
|
568
|
+
};
|
|
569
|
+
return {
|
|
570
|
+
getUrl,
|
|
571
|
+
httpMethod: "POST",
|
|
572
|
+
path: "/v1/pages/{pageId}/archive",
|
|
573
|
+
pathParams: { pageId: "pageId" },
|
|
574
|
+
__requestType: null,
|
|
575
|
+
__originalRequestType: null,
|
|
576
|
+
__responseType: null,
|
|
577
|
+
__originalResponseType: null
|
|
578
|
+
};
|
|
579
|
+
}
|
|
580
|
+
function unarchivePage2() {
|
|
581
|
+
const payload = { pageId: ":pageId" };
|
|
582
|
+
const getRequestOptions = unarchivePage(payload);
|
|
583
|
+
const getUrl = (context) => {
|
|
584
|
+
const { url } = getRequestOptions(context);
|
|
585
|
+
return url;
|
|
586
|
+
};
|
|
587
|
+
return {
|
|
588
|
+
getUrl,
|
|
589
|
+
httpMethod: "POST",
|
|
590
|
+
path: "/v1/pages/{pageId}/unarchive",
|
|
591
|
+
pathParams: { pageId: "pageId" },
|
|
592
|
+
__requestType: null,
|
|
593
|
+
__originalRequestType: null,
|
|
594
|
+
__responseType: null,
|
|
595
|
+
__originalResponseType: null
|
|
596
|
+
};
|
|
597
|
+
}
|
|
598
|
+
function schedulePage2() {
|
|
599
|
+
const payload = { pageId: ":pageId" };
|
|
600
|
+
const getRequestOptions = schedulePage(payload);
|
|
601
|
+
const getUrl = (context) => {
|
|
602
|
+
const { url } = getRequestOptions(context);
|
|
603
|
+
return url;
|
|
604
|
+
};
|
|
605
|
+
return {
|
|
606
|
+
getUrl,
|
|
607
|
+
httpMethod: "POST",
|
|
608
|
+
path: "/v1/pages/{pageId}/schedule",
|
|
609
|
+
pathParams: { pageId: "pageId" },
|
|
610
|
+
__requestType: null,
|
|
611
|
+
__originalRequestType: null,
|
|
612
|
+
__responseType: null,
|
|
613
|
+
__originalResponseType: null
|
|
614
|
+
};
|
|
615
|
+
}
|
|
616
|
+
function deletePage2() {
|
|
617
|
+
const payload = { pageId: ":pageId" };
|
|
618
|
+
const getRequestOptions = deletePage(payload);
|
|
619
|
+
const getUrl = (context) => {
|
|
620
|
+
const { url } = getRequestOptions(context);
|
|
621
|
+
return url;
|
|
622
|
+
};
|
|
623
|
+
return {
|
|
624
|
+
getUrl,
|
|
625
|
+
httpMethod: "DELETE",
|
|
626
|
+
path: "/v1/pages/{pageId}",
|
|
627
|
+
pathParams: { pageId: "pageId" },
|
|
628
|
+
__requestType: null,
|
|
629
|
+
__originalRequestType: null,
|
|
630
|
+
__responseType: null,
|
|
631
|
+
__originalResponseType: null
|
|
632
|
+
};
|
|
633
|
+
}
|
|
634
|
+
function queryPages2() {
|
|
635
|
+
const payload = {};
|
|
636
|
+
const getRequestOptions = queryPages(payload);
|
|
637
|
+
const getUrl = (context) => {
|
|
638
|
+
const { url } = getRequestOptions(context);
|
|
639
|
+
return url;
|
|
640
|
+
};
|
|
641
|
+
return {
|
|
642
|
+
getUrl,
|
|
643
|
+
httpMethod: "GET",
|
|
644
|
+
path: "/v1/pages/query",
|
|
645
|
+
pathParams: {},
|
|
646
|
+
__requestType: null,
|
|
647
|
+
__originalRequestType: null,
|
|
648
|
+
__responseType: null,
|
|
649
|
+
__originalResponseType: null
|
|
650
|
+
};
|
|
651
|
+
}
|
|
652
|
+
function bulkUpdatePageTags2() {
|
|
653
|
+
const payload = {};
|
|
654
|
+
const getRequestOptions = bulkUpdatePageTags(payload);
|
|
655
|
+
const getUrl = (context) => {
|
|
656
|
+
const { url } = getRequestOptions(context);
|
|
657
|
+
return url;
|
|
658
|
+
};
|
|
659
|
+
return {
|
|
660
|
+
getUrl,
|
|
661
|
+
httpMethod: "POST",
|
|
662
|
+
path: "/v1/bulk/pages/update-tags",
|
|
663
|
+
pathParams: {},
|
|
664
|
+
__requestType: null,
|
|
665
|
+
__originalRequestType: null,
|
|
666
|
+
__responseType: null,
|
|
667
|
+
__originalResponseType: null
|
|
668
|
+
};
|
|
669
|
+
}
|
|
670
|
+
function bulkUpdatePageTagsByFilter2() {
|
|
671
|
+
const payload = {};
|
|
672
|
+
const getRequestOptions = bulkUpdatePageTagsByFilter(payload);
|
|
673
|
+
const getUrl = (context) => {
|
|
674
|
+
const { url } = getRequestOptions(context);
|
|
675
|
+
return url;
|
|
676
|
+
};
|
|
677
|
+
return {
|
|
678
|
+
getUrl,
|
|
679
|
+
httpMethod: "POST",
|
|
680
|
+
path: "/v1/bulk/pages/update-tags-by-filter",
|
|
681
|
+
pathParams: {},
|
|
682
|
+
__requestType: null,
|
|
683
|
+
__originalRequestType: null,
|
|
684
|
+
__responseType: null,
|
|
685
|
+
__originalResponseType: null
|
|
686
|
+
};
|
|
687
|
+
}
|
|
688
|
+
export {
|
|
689
|
+
archivePage2 as archivePage,
|
|
690
|
+
bulkUpdatePageTags2 as bulkUpdatePageTags,
|
|
691
|
+
bulkUpdatePageTagsByFilter2 as bulkUpdatePageTagsByFilter,
|
|
692
|
+
createPage2 as createPage,
|
|
693
|
+
deletePage2 as deletePage,
|
|
694
|
+
getPage2 as getPage,
|
|
695
|
+
publishPage2 as publishPage,
|
|
696
|
+
queryPages2 as queryPages,
|
|
697
|
+
removePageRoute2 as removePageRoute,
|
|
698
|
+
schedulePage2 as schedulePage,
|
|
699
|
+
setPageRoute2 as setPageRoute,
|
|
700
|
+
unarchivePage2 as unarchivePage,
|
|
701
|
+
unpublishPage2 as unpublishPage,
|
|
702
|
+
updatePage2 as updatePage
|
|
703
|
+
};
|
|
704
|
+
//# sourceMappingURL=meta.mjs.map
|