@wix/auto_sdk_dynamic-page-router_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 +57 -0
- package/build/cjs/index.js +517 -0
- package/build/cjs/index.js.map +1 -0
- package/build/cjs/index.typings.d.ts +487 -0
- package/build/cjs/index.typings.js +472 -0
- package/build/cjs/index.typings.js.map +1 -0
- package/build/cjs/meta.d.ts +345 -0
- package/build/cjs/meta.js +387 -0
- package/build/cjs/meta.js.map +1 -0
- package/build/cjs/schemas.d.ts +219 -0
- package/build/cjs/schemas.js +493 -0
- package/build/cjs/schemas.js.map +1 -0
- package/build/es/index.d.mts +57 -0
- package/build/es/index.mjs +489 -0
- package/build/es/index.mjs.map +1 -0
- package/build/es/index.typings.d.mts +487 -0
- package/build/es/index.typings.mjs +444 -0
- package/build/es/index.typings.mjs.map +1 -0
- package/build/es/meta.d.mts +345 -0
- package/build/es/meta.mjs +356 -0
- package/build/es/meta.mjs.map +1 -0
- package/build/es/package.json +3 -0
- package/build/es/schemas.d.mts +219 -0
- package/build/es/schemas.mjs +447 -0
- package/build/es/schemas.mjs.map +1 -0
- package/build/internal/cjs/index.d.ts +57 -0
- package/build/internal/cjs/index.js +517 -0
- package/build/internal/cjs/index.js.map +1 -0
- package/build/internal/cjs/index.typings.d.ts +487 -0
- package/build/internal/cjs/index.typings.js +472 -0
- package/build/internal/cjs/index.typings.js.map +1 -0
- package/build/internal/cjs/meta.d.ts +345 -0
- package/build/internal/cjs/meta.js +387 -0
- package/build/internal/cjs/meta.js.map +1 -0
- package/build/internal/cjs/schemas.d.ts +219 -0
- package/build/internal/cjs/schemas.js +493 -0
- package/build/internal/cjs/schemas.js.map +1 -0
- package/build/internal/es/index.d.mts +57 -0
- package/build/internal/es/index.mjs +489 -0
- package/build/internal/es/index.mjs.map +1 -0
- package/build/internal/es/index.typings.d.mts +487 -0
- package/build/internal/es/index.typings.mjs +444 -0
- package/build/internal/es/index.typings.mjs.map +1 -0
- package/build/internal/es/meta.d.mts +345 -0
- package/build/internal/es/meta.mjs +356 -0
- package/build/internal/es/meta.mjs.map +1 -0
- package/build/internal/es/schemas.d.mts +219 -0
- package/build/internal/es/schemas.mjs +447 -0
- package/build/internal/es/schemas.mjs.map +1 -0
- package/meta/package.json +3 -0
- package/package.json +61 -0
- package/schemas/package.json +3 -0
|
@@ -0,0 +1,387 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// meta.ts
|
|
21
|
+
var meta_exports = {};
|
|
22
|
+
__export(meta_exports, {
|
|
23
|
+
getDraftPreviewToken: () => getDraftPreviewToken2,
|
|
24
|
+
getRouterPages: () => getRouterPages2,
|
|
25
|
+
getRouterPagesCached: () => getRouterPagesCached2,
|
|
26
|
+
getRouterSitemap: () => getRouterSitemap2,
|
|
27
|
+
getRouterSitemapCount: () => getRouterSitemapCount2
|
|
28
|
+
});
|
|
29
|
+
module.exports = __toCommonJS(meta_exports);
|
|
30
|
+
|
|
31
|
+
// src/dynamic-page-router-v1-page-pages.http.ts
|
|
32
|
+
var import_rest_modules = require("@wix/sdk-runtime/rest-modules");
|
|
33
|
+
var import_float = require("@wix/sdk-runtime/transformations/float");
|
|
34
|
+
var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
35
|
+
var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
|
|
36
|
+
function resolveWixDynamicPageRouterV1DynamicPageRouterUrl(opts) {
|
|
37
|
+
const domainToMappings = {
|
|
38
|
+
"editor._base_domain_": [
|
|
39
|
+
{
|
|
40
|
+
srcPath: "/_api/dynamic-pages-router",
|
|
41
|
+
destPath: ""
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
srcPath: "/_api/dynamic-page-router",
|
|
45
|
+
destPath: ""
|
|
46
|
+
}
|
|
47
|
+
],
|
|
48
|
+
"blocks._base_domain_": [
|
|
49
|
+
{
|
|
50
|
+
srcPath: "/_api/dynamic-pages-router",
|
|
51
|
+
destPath: ""
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
srcPath: "/_api/dynamic-page-router",
|
|
55
|
+
destPath: ""
|
|
56
|
+
}
|
|
57
|
+
],
|
|
58
|
+
"create.editorx": [
|
|
59
|
+
{
|
|
60
|
+
srcPath: "/_api/dynamic-pages-router",
|
|
61
|
+
destPath: ""
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
srcPath: "/_api/dynamic-page-router",
|
|
65
|
+
destPath: ""
|
|
66
|
+
}
|
|
67
|
+
],
|
|
68
|
+
_: [
|
|
69
|
+
{
|
|
70
|
+
srcPath: "/_api/dynamic-pages-router",
|
|
71
|
+
destPath: ""
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
srcPath: "/_api/dynamic-page-router",
|
|
75
|
+
destPath: ""
|
|
76
|
+
}
|
|
77
|
+
],
|
|
78
|
+
"dev._base_domain_": [
|
|
79
|
+
{
|
|
80
|
+
srcPath: "/_api/dynamic-pages-router",
|
|
81
|
+
destPath: ""
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
srcPath: "/_api/dynamic-page-router",
|
|
85
|
+
destPath: ""
|
|
86
|
+
}
|
|
87
|
+
],
|
|
88
|
+
"api._api_base_domain_": [
|
|
89
|
+
{
|
|
90
|
+
srcPath: "/dynamic-pages-router",
|
|
91
|
+
destPath: ""
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
srcPath: "/dynamic-page-router",
|
|
95
|
+
destPath: ""
|
|
96
|
+
}
|
|
97
|
+
],
|
|
98
|
+
"www._base_domain_": [
|
|
99
|
+
{
|
|
100
|
+
srcPath: "/_api/dynamic-pages-router",
|
|
101
|
+
destPath: ""
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
srcPath: "/_api/dynamic-page-router",
|
|
105
|
+
destPath: ""
|
|
106
|
+
}
|
|
107
|
+
],
|
|
108
|
+
"bo._base_domain_": [
|
|
109
|
+
{
|
|
110
|
+
srcPath: "/_api/dynamic-pages-router",
|
|
111
|
+
destPath: ""
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
srcPath: "/_api/dynamic-page-router",
|
|
115
|
+
destPath: ""
|
|
116
|
+
}
|
|
117
|
+
],
|
|
118
|
+
"wixbo.ai": [
|
|
119
|
+
{
|
|
120
|
+
srcPath: "/_api/dynamic-pages-router",
|
|
121
|
+
destPath: ""
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
srcPath: "/_api/dynamic-page-router",
|
|
125
|
+
destPath: ""
|
|
126
|
+
}
|
|
127
|
+
],
|
|
128
|
+
"wix-bo.com": [
|
|
129
|
+
{
|
|
130
|
+
srcPath: "/_api/dynamic-pages-router",
|
|
131
|
+
destPath: ""
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
srcPath: "/_api/dynamic-page-router",
|
|
135
|
+
destPath: ""
|
|
136
|
+
}
|
|
137
|
+
],
|
|
138
|
+
"manage._base_domain_": [
|
|
139
|
+
{
|
|
140
|
+
srcPath: "/_api/dynamic-page-router",
|
|
141
|
+
destPath: ""
|
|
142
|
+
}
|
|
143
|
+
],
|
|
144
|
+
"www.wixapis.com": [
|
|
145
|
+
{
|
|
146
|
+
srcPath: "/dynamic-page-router/v1/pages",
|
|
147
|
+
destPath: "/v1/pages"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
srcPath: "/dynamic-page-router/v1/sitemap",
|
|
151
|
+
destPath: "/v1/sitemap"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
srcPath: "/dynamic-page-router/v1/draft-preview-token",
|
|
155
|
+
destPath: "/v1/draft-preview-token"
|
|
156
|
+
}
|
|
157
|
+
],
|
|
158
|
+
"*.dev.wix-code.com": [
|
|
159
|
+
{
|
|
160
|
+
srcPath: "/dynamic-page-router/v1/pages",
|
|
161
|
+
destPath: "/v1/pages"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
srcPath: "/dynamic-page-router/v1/sitemap",
|
|
165
|
+
destPath: "/v1/sitemap"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
srcPath: "/dynamic-page-router/v1/draft-preview-token",
|
|
169
|
+
destPath: "/v1/draft-preview-token"
|
|
170
|
+
}
|
|
171
|
+
]
|
|
172
|
+
};
|
|
173
|
+
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
174
|
+
}
|
|
175
|
+
var PACKAGE_NAME = "@wix/auto_sdk_dynamic-page-router_pages";
|
|
176
|
+
function getRouterSitemapCount(payload) {
|
|
177
|
+
function __getRouterSitemapCount({ host }) {
|
|
178
|
+
const metadata = {
|
|
179
|
+
entityFqdn: "wix.dynamic_page_router.v1.page",
|
|
180
|
+
method: "POST",
|
|
181
|
+
methodFqn: "wix.dynamic_page_router.v1.DynamicPageRouter.GetRouterSitemapCount",
|
|
182
|
+
packageName: PACKAGE_NAME,
|
|
183
|
+
migrationOptions: {
|
|
184
|
+
optInTransformResponse: true
|
|
185
|
+
},
|
|
186
|
+
url: resolveWixDynamicPageRouterV1DynamicPageRouterUrl({
|
|
187
|
+
protoPath: "/v1/sitemapCount",
|
|
188
|
+
data: payload,
|
|
189
|
+
host
|
|
190
|
+
}),
|
|
191
|
+
data: payload
|
|
192
|
+
};
|
|
193
|
+
return metadata;
|
|
194
|
+
}
|
|
195
|
+
return __getRouterSitemapCount;
|
|
196
|
+
}
|
|
197
|
+
function getRouterSitemap(payload) {
|
|
198
|
+
function __getRouterSitemap({ host }) {
|
|
199
|
+
const metadata = {
|
|
200
|
+
entityFqdn: "wix.dynamic_page_router.v1.page",
|
|
201
|
+
method: "POST",
|
|
202
|
+
methodFqn: "wix.dynamic_page_router.v1.DynamicPageRouter.GetRouterSitemap",
|
|
203
|
+
packageName: PACKAGE_NAME,
|
|
204
|
+
migrationOptions: {
|
|
205
|
+
optInTransformResponse: true
|
|
206
|
+
},
|
|
207
|
+
url: resolveWixDynamicPageRouterV1DynamicPageRouterUrl({
|
|
208
|
+
protoPath: "/v1/sitemap",
|
|
209
|
+
data: payload,
|
|
210
|
+
host
|
|
211
|
+
}),
|
|
212
|
+
data: payload,
|
|
213
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
214
|
+
{
|
|
215
|
+
transformFn: import_float.transformRESTFloatToSDKFloat,
|
|
216
|
+
paths: [{ path: "result.priority" }]
|
|
217
|
+
}
|
|
218
|
+
])
|
|
219
|
+
};
|
|
220
|
+
return metadata;
|
|
221
|
+
}
|
|
222
|
+
return __getRouterSitemap;
|
|
223
|
+
}
|
|
224
|
+
function getRouterPages(payload) {
|
|
225
|
+
function __getRouterPages({ host }) {
|
|
226
|
+
const metadata = {
|
|
227
|
+
entityFqdn: "wix.dynamic_page_router.v1.page",
|
|
228
|
+
method: "POST",
|
|
229
|
+
methodFqn: "wix.dynamic_page_router.v1.DynamicPageRouter.GetRouterPages",
|
|
230
|
+
packageName: PACKAGE_NAME,
|
|
231
|
+
migrationOptions: {
|
|
232
|
+
optInTransformResponse: true
|
|
233
|
+
},
|
|
234
|
+
url: resolveWixDynamicPageRouterV1DynamicPageRouterUrl({
|
|
235
|
+
protoPath: "/v1/pages",
|
|
236
|
+
data: payload,
|
|
237
|
+
host
|
|
238
|
+
}),
|
|
239
|
+
data: payload
|
|
240
|
+
};
|
|
241
|
+
return metadata;
|
|
242
|
+
}
|
|
243
|
+
return __getRouterPages;
|
|
244
|
+
}
|
|
245
|
+
function getRouterPagesCached(payload) {
|
|
246
|
+
function __getRouterPagesCached({ host }) {
|
|
247
|
+
const metadata = {
|
|
248
|
+
entityFqdn: "wix.dynamic_page_router.v1.page",
|
|
249
|
+
method: "GET",
|
|
250
|
+
methodFqn: "wix.dynamic_page_router.v1.DynamicPageRouter.GetRouterPagesCached",
|
|
251
|
+
packageName: PACKAGE_NAME,
|
|
252
|
+
migrationOptions: {
|
|
253
|
+
optInTransformResponse: true
|
|
254
|
+
},
|
|
255
|
+
url: resolveWixDynamicPageRouterV1DynamicPageRouterUrl({
|
|
256
|
+
protoPath: "/v1/pages",
|
|
257
|
+
data: payload,
|
|
258
|
+
host
|
|
259
|
+
}),
|
|
260
|
+
params: (0, import_rest_modules.toURLSearchParams)(payload, true)
|
|
261
|
+
};
|
|
262
|
+
return metadata;
|
|
263
|
+
}
|
|
264
|
+
return __getRouterPagesCached;
|
|
265
|
+
}
|
|
266
|
+
function getDraftPreviewToken(payload) {
|
|
267
|
+
function __getDraftPreviewToken({ host }) {
|
|
268
|
+
const metadata = {
|
|
269
|
+
entityFqdn: "wix.dynamic_page_router.v1.page",
|
|
270
|
+
method: "POST",
|
|
271
|
+
methodFqn: "wix.dynamic_page_router.v1.DynamicPageRouter.GetDraftPreviewToken",
|
|
272
|
+
packageName: PACKAGE_NAME,
|
|
273
|
+
migrationOptions: {
|
|
274
|
+
optInTransformResponse: true
|
|
275
|
+
},
|
|
276
|
+
url: resolveWixDynamicPageRouterV1DynamicPageRouterUrl({
|
|
277
|
+
protoPath: "/v1/draft-preview-token",
|
|
278
|
+
data: payload,
|
|
279
|
+
host
|
|
280
|
+
}),
|
|
281
|
+
data: payload
|
|
282
|
+
};
|
|
283
|
+
return metadata;
|
|
284
|
+
}
|
|
285
|
+
return __getDraftPreviewToken;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
// src/dynamic-page-router-v1-page-pages.meta.ts
|
|
289
|
+
function getRouterSitemapCount2() {
|
|
290
|
+
const payload = {};
|
|
291
|
+
const getRequestOptions = getRouterSitemapCount(payload);
|
|
292
|
+
const getUrl = (context) => {
|
|
293
|
+
const { url } = getRequestOptions(context);
|
|
294
|
+
return url;
|
|
295
|
+
};
|
|
296
|
+
return {
|
|
297
|
+
getUrl,
|
|
298
|
+
httpMethod: "POST",
|
|
299
|
+
path: "/v1/sitemapCount",
|
|
300
|
+
pathParams: {},
|
|
301
|
+
__requestType: null,
|
|
302
|
+
__originalRequestType: null,
|
|
303
|
+
__responseType: null,
|
|
304
|
+
__originalResponseType: null
|
|
305
|
+
};
|
|
306
|
+
}
|
|
307
|
+
function getRouterSitemap2() {
|
|
308
|
+
const payload = {};
|
|
309
|
+
const getRequestOptions = getRouterSitemap(payload);
|
|
310
|
+
const getUrl = (context) => {
|
|
311
|
+
const { url } = getRequestOptions(context);
|
|
312
|
+
return url;
|
|
313
|
+
};
|
|
314
|
+
return {
|
|
315
|
+
getUrl,
|
|
316
|
+
httpMethod: "POST",
|
|
317
|
+
path: "/v1/sitemap",
|
|
318
|
+
pathParams: {},
|
|
319
|
+
__requestType: null,
|
|
320
|
+
__originalRequestType: null,
|
|
321
|
+
__responseType: null,
|
|
322
|
+
__originalResponseType: null
|
|
323
|
+
};
|
|
324
|
+
}
|
|
325
|
+
function getRouterPages2() {
|
|
326
|
+
const payload = {};
|
|
327
|
+
const getRequestOptions = getRouterPages(payload);
|
|
328
|
+
const getUrl = (context) => {
|
|
329
|
+
const { url } = getRequestOptions(context);
|
|
330
|
+
return url;
|
|
331
|
+
};
|
|
332
|
+
return {
|
|
333
|
+
getUrl,
|
|
334
|
+
httpMethod: "POST",
|
|
335
|
+
path: "/v1/pages",
|
|
336
|
+
pathParams: {},
|
|
337
|
+
__requestType: null,
|
|
338
|
+
__originalRequestType: null,
|
|
339
|
+
__responseType: null,
|
|
340
|
+
__originalResponseType: null
|
|
341
|
+
};
|
|
342
|
+
}
|
|
343
|
+
function getRouterPagesCached2() {
|
|
344
|
+
const payload = {};
|
|
345
|
+
const getRequestOptions = getRouterPagesCached(payload);
|
|
346
|
+
const getUrl = (context) => {
|
|
347
|
+
const { url } = getRequestOptions(context);
|
|
348
|
+
return url;
|
|
349
|
+
};
|
|
350
|
+
return {
|
|
351
|
+
getUrl,
|
|
352
|
+
httpMethod: "GET",
|
|
353
|
+
path: "/v1/pages",
|
|
354
|
+
pathParams: {},
|
|
355
|
+
__requestType: null,
|
|
356
|
+
__originalRequestType: null,
|
|
357
|
+
__responseType: null,
|
|
358
|
+
__originalResponseType: null
|
|
359
|
+
};
|
|
360
|
+
}
|
|
361
|
+
function getDraftPreviewToken2() {
|
|
362
|
+
const payload = {};
|
|
363
|
+
const getRequestOptions = getDraftPreviewToken(payload);
|
|
364
|
+
const getUrl = (context) => {
|
|
365
|
+
const { url } = getRequestOptions(context);
|
|
366
|
+
return url;
|
|
367
|
+
};
|
|
368
|
+
return {
|
|
369
|
+
getUrl,
|
|
370
|
+
httpMethod: "POST",
|
|
371
|
+
path: "/v1/draft-preview-token",
|
|
372
|
+
pathParams: {},
|
|
373
|
+
__requestType: null,
|
|
374
|
+
__originalRequestType: null,
|
|
375
|
+
__responseType: null,
|
|
376
|
+
__originalResponseType: null
|
|
377
|
+
};
|
|
378
|
+
}
|
|
379
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
380
|
+
0 && (module.exports = {
|
|
381
|
+
getDraftPreviewToken,
|
|
382
|
+
getRouterPages,
|
|
383
|
+
getRouterPagesCached,
|
|
384
|
+
getRouterSitemap,
|
|
385
|
+
getRouterSitemapCount
|
|
386
|
+
});
|
|
387
|
+
//# sourceMappingURL=meta.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../meta.ts","../../../src/dynamic-page-router-v1-page-pages.http.ts","../../../src/dynamic-page-router-v1-page-pages.meta.ts"],"sourcesContent":["export * from './src/dynamic-page-router-v1-page-pages.meta.js';\n","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveWixDynamicPageRouterV1DynamicPageRouterUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'editor._base_domain_': [\n {\n srcPath: '/_api/dynamic-pages-router',\n destPath: '',\n },\n {\n srcPath: '/_api/dynamic-page-router',\n destPath: '',\n },\n ],\n 'blocks._base_domain_': [\n {\n srcPath: '/_api/dynamic-pages-router',\n destPath: '',\n },\n {\n srcPath: '/_api/dynamic-page-router',\n destPath: '',\n },\n ],\n 'create.editorx': [\n {\n srcPath: '/_api/dynamic-pages-router',\n destPath: '',\n },\n {\n srcPath: '/_api/dynamic-page-router',\n destPath: '',\n },\n ],\n _: [\n {\n srcPath: '/_api/dynamic-pages-router',\n destPath: '',\n },\n {\n srcPath: '/_api/dynamic-page-router',\n destPath: '',\n },\n ],\n 'dev._base_domain_': [\n {\n srcPath: '/_api/dynamic-pages-router',\n destPath: '',\n },\n {\n srcPath: '/_api/dynamic-page-router',\n destPath: '',\n },\n ],\n 'api._api_base_domain_': [\n {\n srcPath: '/dynamic-pages-router',\n destPath: '',\n },\n {\n srcPath: '/dynamic-page-router',\n destPath: '',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/_api/dynamic-pages-router',\n destPath: '',\n },\n {\n srcPath: '/_api/dynamic-page-router',\n destPath: '',\n },\n ],\n 'bo._base_domain_': [\n {\n srcPath: '/_api/dynamic-pages-router',\n destPath: '',\n },\n {\n srcPath: '/_api/dynamic-page-router',\n destPath: '',\n },\n ],\n 'wixbo.ai': [\n {\n srcPath: '/_api/dynamic-pages-router',\n destPath: '',\n },\n {\n srcPath: '/_api/dynamic-page-router',\n destPath: '',\n },\n ],\n 'wix-bo.com': [\n {\n srcPath: '/_api/dynamic-pages-router',\n destPath: '',\n },\n {\n srcPath: '/_api/dynamic-page-router',\n destPath: '',\n },\n ],\n 'manage._base_domain_': [\n {\n srcPath: '/_api/dynamic-page-router',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/dynamic-page-router/v1/pages',\n destPath: '/v1/pages',\n },\n {\n srcPath: '/dynamic-page-router/v1/sitemap',\n destPath: '/v1/sitemap',\n },\n {\n srcPath: '/dynamic-page-router/v1/draft-preview-token',\n destPath: '/v1/draft-preview-token',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/dynamic-page-router/v1/pages',\n destPath: '/v1/pages',\n },\n {\n srcPath: '/dynamic-page-router/v1/sitemap',\n destPath: '/v1/sitemap',\n },\n {\n srcPath: '/dynamic-page-router/v1/draft-preview-token',\n destPath: '/v1/draft-preview-token',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_dynamic-page-router_pages';\n\n/**\n * Returns the count of sitemap entries grouped by page name.\n *\n * Use this endpoint for analytics dashboards, capacity planning, and understanding\n * the scale of dynamic content without retrieving actual URLs. Results are capped\n * at 1,000 items per pattern for performance.\n */\nexport function getRouterSitemapCount(\n payload: object\n): RequestOptionsFactory<any> {\n function __getRouterSitemapCount({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.dynamic_page_router.v1.page',\n method: 'POST' as any,\n methodFqn:\n 'wix.dynamic_page_router.v1.DynamicPageRouter.GetRouterSitemapCount',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixDynamicPageRouterV1DynamicPageRouterUrl({\n protoPath: '/v1/sitemapCount',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __getRouterSitemapCount;\n}\n\n/**\n * Returns sitemap entries containing URLs, page names, and page titles.\n *\n * Use this endpoint to generate XML sitemaps for search engines, build navigation\n * menus, or provide URL listings to external systems. The `fullUrl` parameter\n * provides context for scoping sitemap generation to specific domains or URL hierarchies.\n */\nexport function getRouterSitemap(payload: object): RequestOptionsFactory<any> {\n function __getRouterSitemap({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.dynamic_page_router.v1.page',\n method: 'POST' as any,\n methodFqn:\n 'wix.dynamic_page_router.v1.DynamicPageRouter.GetRouterSitemap',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixDynamicPageRouterV1DynamicPageRouterUrl({\n protoPath: '/v1/sitemap',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [{ path: 'result.priority' }],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getRouterSitemap;\n}\n\n/**\n * Returns comprehensive page information for a specific route.\n * Called by the editor via POST with flat body + query params.\n */\nexport function getRouterPages(payload: object): RequestOptionsFactory<any> {\n function __getRouterPages({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.dynamic_page_router.v1.page',\n method: 'POST' as any,\n methodFqn: 'wix.dynamic_page_router.v1.DynamicPageRouter.GetRouterPages',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixDynamicPageRouterV1DynamicPageRouterUrl({\n protoPath: '/v1/pages',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __getRouterPages;\n}\n\n/**\n * Returns comprehensive page information for a specific route (cacheable).\n * Called by the viewer via GET with .r parameter containing {urlParams, body} envelope.\n */\nexport function getRouterPagesCached(\n payload: object\n): RequestOptionsFactory<any> {\n function __getRouterPagesCached({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.dynamic_page_router.v1.page',\n method: 'GET' as any,\n methodFqn:\n 'wix.dynamic_page_router.v1.DynamicPageRouter.GetRouterPagesCached',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixDynamicPageRouterV1DynamicPageRouterUrl({\n protoPath: '/v1/pages',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload, true),\n };\n\n return metadata;\n }\n\n return __getRouterPagesCached;\n}\n\n/** Returns the preview token used for draft collection previews. */\nexport function getDraftPreviewToken(\n payload: object\n): RequestOptionsFactory<any> {\n function __getDraftPreviewToken({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.dynamic_page_router.v1.page',\n method: 'POST' as any,\n methodFqn:\n 'wix.dynamic_page_router.v1.DynamicPageRouter.GetDraftPreviewToken',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixDynamicPageRouterV1DynamicPageRouterUrl({\n protoPath: '/v1/draft-preview-token',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __getDraftPreviewToken;\n}\n","import * as ambassadorWixDynamicPageRouterV1Page from './dynamic-page-router-v1-page-pages.http.js';\nimport * as ambassadorWixDynamicPageRouterV1PageTypes from './dynamic-page-router-v1-page-pages.types.js';\nimport * as ambassadorWixDynamicPageRouterV1PageUniversalTypes from './dynamic-page-router-v1-page-pages.universal.js';\n\nexport type __PublicMethodMetaInfo<\n K = string,\n M = unknown,\n T = unknown,\n S = unknown,\n Q = unknown,\n R = unknown\n> = {\n getUrl: (context: any) => string;\n httpMethod: K;\n path: string;\n pathParams: M;\n __requestType: T;\n __originalRequestType: S;\n __responseType: Q;\n __originalResponseType: R;\n};\n\nexport function getRouterSitemapCount(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixDynamicPageRouterV1PageUniversalTypes.GetRouterSitemapCountRequest,\n ambassadorWixDynamicPageRouterV1PageTypes.GetRouterSitemapCountRequest,\n ambassadorWixDynamicPageRouterV1PageUniversalTypes.GetRouterSitemapCountResponse,\n ambassadorWixDynamicPageRouterV1PageTypes.GetRouterSitemapCountResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixDynamicPageRouterV1Page.getRouterSitemapCount(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/sitemapCount',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function getRouterSitemap(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixDynamicPageRouterV1PageUniversalTypes.GetRouterSitemapRequest,\n ambassadorWixDynamicPageRouterV1PageTypes.GetRouterSitemapRequest,\n ambassadorWixDynamicPageRouterV1PageUniversalTypes.GetRouterSitemapResponse,\n ambassadorWixDynamicPageRouterV1PageTypes.GetRouterSitemapResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixDynamicPageRouterV1Page.getRouterSitemap(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/sitemap',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function getRouterPages(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixDynamicPageRouterV1PageUniversalTypes.GetRouterPagesRequest,\n ambassadorWixDynamicPageRouterV1PageTypes.GetRouterPagesRequest,\n ambassadorWixDynamicPageRouterV1PageUniversalTypes.GetRouterPagesResponse,\n ambassadorWixDynamicPageRouterV1PageTypes.GetRouterPagesResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixDynamicPageRouterV1Page.getRouterPages(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/pages',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function getRouterPagesCached(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixDynamicPageRouterV1PageUniversalTypes.GetRouterPagesCachedRequest,\n ambassadorWixDynamicPageRouterV1PageTypes.GetRouterPagesCachedRequest,\n ambassadorWixDynamicPageRouterV1PageUniversalTypes.GetRouterPagesResponse,\n ambassadorWixDynamicPageRouterV1PageTypes.GetRouterPagesResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixDynamicPageRouterV1Page.getRouterPagesCached(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v1/pages',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function getDraftPreviewToken(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixDynamicPageRouterV1PageUniversalTypes.GetDraftPreviewTokenRequest,\n ambassadorWixDynamicPageRouterV1PageTypes.GetDraftPreviewTokenRequest,\n ambassadorWixDynamicPageRouterV1PageUniversalTypes.GetDraftPreviewTokenResponse,\n ambassadorWixDynamicPageRouterV1PageTypes.GetDraftPreviewTokenResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixDynamicPageRouterV1Page.getDraftPreviewToken(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/draft-preview-token',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport {\n Page as PageOriginal,\n GetRouterSitemapCountRequest as GetRouterSitemapCountRequestOriginal,\n Config as ConfigOriginal,\n Pattern as PatternOriginal,\n PatternConfig as PatternConfigOriginal,\n PageRule as PageRuleOriginal,\n PageRole as PageRoleOriginal,\n GetRouterSitemapCountResponse as GetRouterSitemapCountResponseOriginal,\n RouterCountItem as RouterCountItemOriginal,\n GetRouterSitemapRequest as GetRouterSitemapRequestOriginal,\n GetRouterSitemapResponse as GetRouterSitemapResponseOriginal,\n RouterRouteItem as RouterRouteItemOriginal,\n GetRouterPagesRequest as GetRouterPagesRequestOriginal,\n RequestInfo as RequestInfoOriginal,\n GetRouterPagesResponse as GetRouterPagesResponseOriginal,\n RouterPagesResult as RouterPagesResultOriginal,\n RouterPageHead as RouterPageHeadOriginal,\n GetRouterPagesCachedRequest as GetRouterPagesCachedRequestOriginal,\n GetRouterPagesCachedUrlParams as GetRouterPagesCachedUrlParamsOriginal,\n GetDraftPreviewTokenRequest as GetDraftPreviewTokenRequestOriginal,\n GetDraftPreviewTokenResponse as GetDraftPreviewTokenResponseOriginal,\n} from './dynamic-page-router-v1-page-pages.types.js';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA,8BAAAA;AAAA,EAAA,sBAAAC;AAAA,EAAA,4BAAAC;AAAA,EAAA,wBAAAC;AAAA,EAAA,6BAAAC;AAAA;AAAA;;;ACAA,0BAAkC;AAClC,mBAA6C;AAC7C,6BAA+B;AAC/B,IAAAC,uBAA2B;AAI3B,SAAS,kDACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,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iC,qBAAqB,OAAO;AAEnE,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,wBAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBACiC,qBAAqB,OAAO;AAEnE,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["getDraftPreviewToken","getRouterPages","getRouterPagesCached","getRouterSitemap","getRouterSitemapCount","import_rest_modules","payload","getRouterSitemapCount","getRouterSitemap","getRouterPages","getRouterPagesCached","getDraftPreviewToken"]}
|
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
import * as z from 'zod';
|
|
2
|
+
|
|
3
|
+
declare const GetRouterSitemapCountRequest: z.ZodObject<{
|
|
4
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
5
|
+
routerPrefix: z.ZodOptional<z.ZodString>;
|
|
6
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
7
|
+
patterns: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
8
|
+
pageRole: z.ZodOptional<z.ZodString>;
|
|
9
|
+
title: z.ZodOptional<z.ZodString>;
|
|
10
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
11
|
+
collection: z.ZodOptional<z.ZodString>;
|
|
12
|
+
filter: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
13
|
+
lowercase: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
14
|
+
pageLinkId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
15
|
+
sort: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
16
|
+
pageSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
17
|
+
seoV2: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
18
|
+
cursor: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
19
|
+
includes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
20
|
+
}, z.core.$strip>>;
|
|
21
|
+
seoMetaTags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
22
|
+
}, z.core.$strip>>>;
|
|
23
|
+
rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
24
|
+
pageRole: z.ZodOptional<z.ZodString>;
|
|
25
|
+
filter: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
26
|
+
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
27
|
+
}, z.core.$strip>>>;
|
|
28
|
+
roleVariations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodAny>>>;
|
|
29
|
+
}, z.core.$strip>>;
|
|
30
|
+
pageRoles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
31
|
+
_id: z.ZodOptional<z.ZodString>;
|
|
32
|
+
title: z.ZodOptional<z.ZodString>;
|
|
33
|
+
}, z.core.$strip>>>;
|
|
34
|
+
pageName: z.ZodOptional<z.ZodString>;
|
|
35
|
+
viewMode: z.ZodOptional<z.ZodString>;
|
|
36
|
+
gridAppId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
37
|
+
}, z.core.$strip>>;
|
|
38
|
+
}, z.core.$strip>;
|
|
39
|
+
declare const GetRouterSitemapCountResponse: z.ZodObject<{
|
|
40
|
+
result: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
41
|
+
pageName: z.ZodOptional<z.ZodString>;
|
|
42
|
+
count: z.ZodOptional<z.ZodNumber>;
|
|
43
|
+
}, z.core.$strip>>>;
|
|
44
|
+
}, z.core.$strip>;
|
|
45
|
+
declare const GetRouterSitemapRequest: z.ZodObject<{
|
|
46
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
47
|
+
fullUrl: z.ZodOptional<z.ZodString>;
|
|
48
|
+
routerPrefix: z.ZodOptional<z.ZodString>;
|
|
49
|
+
pageName: z.ZodOptional<z.ZodString>;
|
|
50
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
51
|
+
patterns: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
52
|
+
pageRole: z.ZodOptional<z.ZodString>;
|
|
53
|
+
title: z.ZodOptional<z.ZodString>;
|
|
54
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
55
|
+
collection: z.ZodOptional<z.ZodString>;
|
|
56
|
+
filter: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
57
|
+
lowercase: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
58
|
+
pageLinkId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
59
|
+
sort: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
60
|
+
pageSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
61
|
+
seoV2: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
62
|
+
cursor: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
63
|
+
includes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
64
|
+
}, z.core.$strip>>;
|
|
65
|
+
seoMetaTags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
66
|
+
}, z.core.$strip>>>;
|
|
67
|
+
rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
68
|
+
pageRole: z.ZodOptional<z.ZodString>;
|
|
69
|
+
filter: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
70
|
+
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
71
|
+
}, z.core.$strip>>>;
|
|
72
|
+
roleVariations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodAny>>>;
|
|
73
|
+
}, z.core.$strip>>;
|
|
74
|
+
pageRoles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
75
|
+
_id: z.ZodOptional<z.ZodString>;
|
|
76
|
+
title: z.ZodOptional<z.ZodString>;
|
|
77
|
+
}, z.core.$strip>>>;
|
|
78
|
+
viewMode: z.ZodOptional<z.ZodString>;
|
|
79
|
+
gridAppId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
80
|
+
}, z.core.$strip>>;
|
|
81
|
+
}, z.core.$strip>;
|
|
82
|
+
declare const GetRouterSitemapResponse: z.ZodObject<{
|
|
83
|
+
result: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
84
|
+
url: z.ZodOptional<z.ZodString>;
|
|
85
|
+
pageName: z.ZodOptional<z.ZodString>;
|
|
86
|
+
title: z.ZodOptional<z.ZodString>;
|
|
87
|
+
changeFrequency: z.ZodOptional<z.ZodString>;
|
|
88
|
+
lastModified: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
89
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
90
|
+
}, z.core.$strip>>>;
|
|
91
|
+
}, z.core.$strip>;
|
|
92
|
+
declare const GetRouterPagesRequest: z.ZodObject<{
|
|
93
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
94
|
+
fullUrl: z.ZodOptional<z.ZodString>;
|
|
95
|
+
routerPrefix: z.ZodOptional<z.ZodString>;
|
|
96
|
+
routerSuffix: z.ZodOptional<z.ZodString>;
|
|
97
|
+
requestInfo: z.ZodOptional<z.ZodObject<{
|
|
98
|
+
formFactor: z.ZodOptional<z.ZodString>;
|
|
99
|
+
}, z.core.$strip>>;
|
|
100
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
101
|
+
patterns: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
102
|
+
pageRole: z.ZodOptional<z.ZodString>;
|
|
103
|
+
title: z.ZodOptional<z.ZodString>;
|
|
104
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
105
|
+
collection: z.ZodOptional<z.ZodString>;
|
|
106
|
+
filter: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
107
|
+
lowercase: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
108
|
+
pageLinkId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
109
|
+
sort: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
110
|
+
pageSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
111
|
+
seoV2: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
112
|
+
cursor: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
113
|
+
includes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
114
|
+
}, z.core.$strip>>;
|
|
115
|
+
seoMetaTags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
116
|
+
}, z.core.$strip>>>;
|
|
117
|
+
rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
118
|
+
pageRole: z.ZodOptional<z.ZodString>;
|
|
119
|
+
filter: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
120
|
+
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
121
|
+
}, z.core.$strip>>>;
|
|
122
|
+
roleVariations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodAny>>>;
|
|
123
|
+
}, z.core.$strip>>;
|
|
124
|
+
pageRoles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
125
|
+
_id: z.ZodOptional<z.ZodString>;
|
|
126
|
+
title: z.ZodOptional<z.ZodString>;
|
|
127
|
+
}, z.core.$strip>>>;
|
|
128
|
+
viewMode: z.ZodOptional<z.ZodString>;
|
|
129
|
+
gridAppId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
130
|
+
}, z.core.$strip>>;
|
|
131
|
+
}, z.core.$strip>;
|
|
132
|
+
declare const GetRouterPagesResponse: z.ZodObject<{
|
|
133
|
+
result: z.ZodOptional<z.ZodObject<{
|
|
134
|
+
status: z.ZodOptional<z.ZodNumber>;
|
|
135
|
+
page: z.ZodOptional<z.ZodString>;
|
|
136
|
+
data: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
137
|
+
head: z.ZodOptional<z.ZodObject<{
|
|
138
|
+
title: z.ZodOptional<z.ZodString>;
|
|
139
|
+
metaTags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
140
|
+
description: z.ZodOptional<z.ZodString>;
|
|
141
|
+
keywords: z.ZodOptional<z.ZodString>;
|
|
142
|
+
noIndex: z.ZodOptional<z.ZodString>;
|
|
143
|
+
}, z.core.$strip>>;
|
|
144
|
+
message: z.ZodOptional<z.ZodString>;
|
|
145
|
+
redirectUrl: z.ZodOptional<z.ZodString>;
|
|
146
|
+
}, z.core.$strip>>;
|
|
147
|
+
}, z.core.$strip>;
|
|
148
|
+
declare const GetRouterPagesCachedRequest: z.ZodObject<{
|
|
149
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
150
|
+
urlParams: z.ZodOptional<z.ZodObject<{
|
|
151
|
+
gridAppId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
152
|
+
viewMode: z.ZodOptional<z.ZodString>;
|
|
153
|
+
}, z.core.$strip>>;
|
|
154
|
+
body: z.ZodOptional<z.ZodObject<{
|
|
155
|
+
fullUrl: z.ZodOptional<z.ZodString>;
|
|
156
|
+
routerPrefix: z.ZodOptional<z.ZodString>;
|
|
157
|
+
routerSuffix: z.ZodOptional<z.ZodString>;
|
|
158
|
+
requestInfo: z.ZodOptional<z.ZodObject<{
|
|
159
|
+
formFactor: z.ZodOptional<z.ZodString>;
|
|
160
|
+
}, z.core.$strip>>;
|
|
161
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
162
|
+
patterns: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
163
|
+
pageRole: z.ZodOptional<z.ZodString>;
|
|
164
|
+
title: z.ZodOptional<z.ZodString>;
|
|
165
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
166
|
+
collection: z.ZodOptional<z.ZodString>;
|
|
167
|
+
filter: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
168
|
+
lowercase: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
169
|
+
pageLinkId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
170
|
+
sort: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
171
|
+
pageSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
172
|
+
seoV2: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
173
|
+
cursor: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
174
|
+
includes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
175
|
+
}, z.core.$strip>>;
|
|
176
|
+
seoMetaTags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
177
|
+
}, z.core.$strip>>>;
|
|
178
|
+
rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
179
|
+
pageRole: z.ZodOptional<z.ZodString>;
|
|
180
|
+
filter: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
181
|
+
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
182
|
+
}, z.core.$strip>>>;
|
|
183
|
+
roleVariations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodAny>>>;
|
|
184
|
+
}, z.core.$strip>>;
|
|
185
|
+
pageRoles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
186
|
+
_id: z.ZodOptional<z.ZodString>;
|
|
187
|
+
title: z.ZodOptional<z.ZodString>;
|
|
188
|
+
}, z.core.$strip>>>;
|
|
189
|
+
viewMode: z.ZodOptional<z.ZodString>;
|
|
190
|
+
gridAppId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
191
|
+
}, z.core.$strip>>;
|
|
192
|
+
}, z.core.$strip>>;
|
|
193
|
+
}, z.core.$strip>;
|
|
194
|
+
declare const GetRouterPagesCachedResponse: z.ZodObject<{
|
|
195
|
+
result: z.ZodOptional<z.ZodObject<{
|
|
196
|
+
status: z.ZodOptional<z.ZodNumber>;
|
|
197
|
+
page: z.ZodOptional<z.ZodString>;
|
|
198
|
+
data: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
199
|
+
head: z.ZodOptional<z.ZodObject<{
|
|
200
|
+
title: z.ZodOptional<z.ZodString>;
|
|
201
|
+
metaTags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
202
|
+
description: z.ZodOptional<z.ZodString>;
|
|
203
|
+
keywords: z.ZodOptional<z.ZodString>;
|
|
204
|
+
noIndex: z.ZodOptional<z.ZodString>;
|
|
205
|
+
}, z.core.$strip>>;
|
|
206
|
+
message: z.ZodOptional<z.ZodString>;
|
|
207
|
+
redirectUrl: z.ZodOptional<z.ZodString>;
|
|
208
|
+
}, z.core.$strip>>;
|
|
209
|
+
}, z.core.$strip>;
|
|
210
|
+
declare const GetDraftPreviewTokenRequest: z.ZodObject<{
|
|
211
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
212
|
+
collectionId: z.ZodOptional<z.ZodString>;
|
|
213
|
+
}, z.core.$strip>>;
|
|
214
|
+
}, z.core.$strip>;
|
|
215
|
+
declare const GetDraftPreviewTokenResponse: z.ZodObject<{
|
|
216
|
+
token: z.ZodOptional<z.ZodString>;
|
|
217
|
+
}, z.core.$strip>;
|
|
218
|
+
|
|
219
|
+
export { GetDraftPreviewTokenRequest, GetDraftPreviewTokenResponse, GetRouterPagesCachedRequest, GetRouterPagesCachedResponse, GetRouterPagesRequest, GetRouterPagesResponse, GetRouterSitemapCountRequest, GetRouterSitemapCountResponse, GetRouterSitemapRequest, GetRouterSitemapResponse };
|