@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,493 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
|
|
30
|
+
// schemas.ts
|
|
31
|
+
var schemas_exports = {};
|
|
32
|
+
__export(schemas_exports, {
|
|
33
|
+
GetDraftPreviewTokenRequest: () => GetDraftPreviewTokenRequest,
|
|
34
|
+
GetDraftPreviewTokenResponse: () => GetDraftPreviewTokenResponse,
|
|
35
|
+
GetRouterPagesCachedRequest: () => GetRouterPagesCachedRequest,
|
|
36
|
+
GetRouterPagesCachedResponse: () => GetRouterPagesCachedResponse,
|
|
37
|
+
GetRouterPagesRequest: () => GetRouterPagesRequest,
|
|
38
|
+
GetRouterPagesResponse: () => GetRouterPagesResponse,
|
|
39
|
+
GetRouterSitemapCountRequest: () => GetRouterSitemapCountRequest,
|
|
40
|
+
GetRouterSitemapCountResponse: () => GetRouterSitemapCountResponse,
|
|
41
|
+
GetRouterSitemapRequest: () => GetRouterSitemapRequest,
|
|
42
|
+
GetRouterSitemapResponse: () => GetRouterSitemapResponse
|
|
43
|
+
});
|
|
44
|
+
module.exports = __toCommonJS(schemas_exports);
|
|
45
|
+
|
|
46
|
+
// src/dynamic-page-router-v1-page-pages.schemas.ts
|
|
47
|
+
var z = __toESM(require("zod"));
|
|
48
|
+
var GetRouterSitemapCountRequest = z.object({
|
|
49
|
+
options: z.object({
|
|
50
|
+
routerPrefix: z.string().describe(
|
|
51
|
+
"Router prefix that identifies the page type or origin. For TPA (Third-Party Application) pages, this contains the TPA page ID."
|
|
52
|
+
).max(2048).optional(),
|
|
53
|
+
config: z.object({
|
|
54
|
+
patterns: z.record(
|
|
55
|
+
z.string(),
|
|
56
|
+
z.object({
|
|
57
|
+
pageRole: z.string().describe(
|
|
58
|
+
"Page role identifier that links this pattern to a specific page template."
|
|
59
|
+
).max(200).optional(),
|
|
60
|
+
title: z.string().describe(
|
|
61
|
+
'Title pattern with field interpolation (e.g., "{title}, {author} - {category}").\nIncreased to 50000 to support complex title templates with many interpolated fields and long text content.'
|
|
62
|
+
).max(5e4).optional(),
|
|
63
|
+
config: z.object({
|
|
64
|
+
collection: z.string().describe(
|
|
65
|
+
"Name of the Wix Data collection to query for dynamic content."
|
|
66
|
+
).max(200).optional(),
|
|
67
|
+
filter: z.record(z.string(), z.any()).describe(
|
|
68
|
+
"Filter criteria to apply when querying the collection. Uses MongoDB-style query syntax to limit which items generate routes."
|
|
69
|
+
).optional().nullable(),
|
|
70
|
+
lowercase: z.boolean().describe(
|
|
71
|
+
"Indicates if URLs in sitemap should be turned to lowercase. Defaults to true if not set."
|
|
72
|
+
).optional().nullable(),
|
|
73
|
+
pageLinkId: z.string().describe(
|
|
74
|
+
"The field id that gets added to DataCollection and DataItems.\nIndicates that page links is a slug based and items should be retrieved by slug fields present in the pattern."
|
|
75
|
+
).max(1e3).optional().nullable(),
|
|
76
|
+
sort: z.array(z.record(z.string(), z.any())).max(32).optional(),
|
|
77
|
+
pageSize: z.number().int().describe("Page size for pagination.").optional().nullable(),
|
|
78
|
+
seoV2: z.boolean().describe("SEO v2 flag.").optional().nullable(),
|
|
79
|
+
cursor: z.boolean().describe("Cursor-based pagination flag.").optional().nullable(),
|
|
80
|
+
includes: z.array(z.string()).max(100).optional()
|
|
81
|
+
}).describe(
|
|
82
|
+
"Configuration specifying which collection to query and any filters to apply."
|
|
83
|
+
).optional(),
|
|
84
|
+
seoMetaTags: z.record(z.string(), z.string()).describe(
|
|
85
|
+
"SEO meta tags to be included in the page head. Keys are meta tag names, values are the content."
|
|
86
|
+
).optional()
|
|
87
|
+
})
|
|
88
|
+
).describe(
|
|
89
|
+
"Map of URL patterns to their configurations. The key is the URL pattern (e.g., `/{title}`) and the value contains the pattern configuration."
|
|
90
|
+
).optional(),
|
|
91
|
+
rules: z.record(
|
|
92
|
+
z.string(),
|
|
93
|
+
z.object({
|
|
94
|
+
pageRole: z.string().describe(
|
|
95
|
+
"Variant page role ID to return when this rule matches."
|
|
96
|
+
).max(200).optional(),
|
|
97
|
+
filter: z.record(z.string(), z.any()).describe(
|
|
98
|
+
"Wix Data filter evaluated against the fetched item."
|
|
99
|
+
).optional().nullable(),
|
|
100
|
+
name: z.string().describe("Human-readable rule name (for debugging/logging).").max(200).optional().nullable()
|
|
101
|
+
})
|
|
102
|
+
).describe("Maps rule ID \u2192 PageRule (filter + variant page role).").optional(),
|
|
103
|
+
roleVariations: z.record(z.string(), z.array(z.any())).describe(
|
|
104
|
+
"Maps original page role ID \u2192 ordered rule IDs. First matching rule wins."
|
|
105
|
+
).optional()
|
|
106
|
+
}).describe("Config containing request patterns, e.g. '/{title}'").optional(),
|
|
107
|
+
pageRoles: z.record(
|
|
108
|
+
z.string(),
|
|
109
|
+
z.object({
|
|
110
|
+
_id: z.string().describe(
|
|
111
|
+
"Page role ID that uniquely identifies the page template."
|
|
112
|
+
).max(200).optional(),
|
|
113
|
+
title: z.string().describe("Human-readable title for the page role.").max(200).optional()
|
|
114
|
+
})
|
|
115
|
+
).describe("Map of page roles containing page ID and title of each role").optional(),
|
|
116
|
+
pageName: z.string().describe(
|
|
117
|
+
"Optional page name to filter patterns by matching page role title"
|
|
118
|
+
).max(200).optional(),
|
|
119
|
+
viewMode: z.string().describe("Query param mapped to body, editor/site").max(200).optional(),
|
|
120
|
+
gridAppId: z.string().describe("Query param mapped to body, unique for Wix code app").regex(
|
|
121
|
+
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
122
|
+
"Must be a valid GUID"
|
|
123
|
+
).optional().nullable()
|
|
124
|
+
}).optional()
|
|
125
|
+
});
|
|
126
|
+
var GetRouterSitemapCountResponse = z.object({
|
|
127
|
+
result: z.array(
|
|
128
|
+
z.object({
|
|
129
|
+
pageName: z.string().describe("Name of the dynamic page template.").max(200).optional(),
|
|
130
|
+
count: z.number().int().describe(
|
|
131
|
+
"Number of inner routes for the given page. Capped at 1,000 for performance."
|
|
132
|
+
).optional()
|
|
133
|
+
})
|
|
134
|
+
).optional()
|
|
135
|
+
});
|
|
136
|
+
var GetRouterSitemapRequest = z.object({
|
|
137
|
+
options: z.object({
|
|
138
|
+
fullUrl: z.string().describe("Full URL to the inner route").max(2048).optional(),
|
|
139
|
+
routerPrefix: z.string().describe("Router prefix (TPA page ID for TPA pages)").max(2048).optional(),
|
|
140
|
+
pageName: z.string().describe(
|
|
141
|
+
"Optional page name to filter patterns by matching page role title"
|
|
142
|
+
).max(2048).optional(),
|
|
143
|
+
config: z.object({
|
|
144
|
+
patterns: z.record(
|
|
145
|
+
z.string(),
|
|
146
|
+
z.object({
|
|
147
|
+
pageRole: z.string().describe(
|
|
148
|
+
"Page role identifier that links this pattern to a specific page template."
|
|
149
|
+
).max(200).optional(),
|
|
150
|
+
title: z.string().describe(
|
|
151
|
+
'Title pattern with field interpolation (e.g., "{title}, {author} - {category}").\nIncreased to 50000 to support complex title templates with many interpolated fields and long text content.'
|
|
152
|
+
).max(5e4).optional(),
|
|
153
|
+
config: z.object({
|
|
154
|
+
collection: z.string().describe(
|
|
155
|
+
"Name of the Wix Data collection to query for dynamic content."
|
|
156
|
+
).max(200).optional(),
|
|
157
|
+
filter: z.record(z.string(), z.any()).describe(
|
|
158
|
+
"Filter criteria to apply when querying the collection. Uses MongoDB-style query syntax to limit which items generate routes."
|
|
159
|
+
).optional().nullable(),
|
|
160
|
+
lowercase: z.boolean().describe(
|
|
161
|
+
"Indicates if URLs in sitemap should be turned to lowercase. Defaults to true if not set."
|
|
162
|
+
).optional().nullable(),
|
|
163
|
+
pageLinkId: z.string().describe(
|
|
164
|
+
"The field id that gets added to DataCollection and DataItems.\nIndicates that page links is a slug based and items should be retrieved by slug fields present in the pattern."
|
|
165
|
+
).max(1e3).optional().nullable(),
|
|
166
|
+
sort: z.array(z.record(z.string(), z.any())).max(32).optional(),
|
|
167
|
+
pageSize: z.number().int().describe("Page size for pagination.").optional().nullable(),
|
|
168
|
+
seoV2: z.boolean().describe("SEO v2 flag.").optional().nullable(),
|
|
169
|
+
cursor: z.boolean().describe("Cursor-based pagination flag.").optional().nullable(),
|
|
170
|
+
includes: z.array(z.string()).max(100).optional()
|
|
171
|
+
}).describe(
|
|
172
|
+
"Configuration specifying which collection to query and any filters to apply."
|
|
173
|
+
).optional(),
|
|
174
|
+
seoMetaTags: z.record(z.string(), z.string()).describe(
|
|
175
|
+
"SEO meta tags to be included in the page head. Keys are meta tag names, values are the content."
|
|
176
|
+
).optional()
|
|
177
|
+
})
|
|
178
|
+
).describe(
|
|
179
|
+
"Map of URL patterns to their configurations. The key is the URL pattern (e.g., `/{title}`) and the value contains the pattern configuration."
|
|
180
|
+
).optional(),
|
|
181
|
+
rules: z.record(
|
|
182
|
+
z.string(),
|
|
183
|
+
z.object({
|
|
184
|
+
pageRole: z.string().describe(
|
|
185
|
+
"Variant page role ID to return when this rule matches."
|
|
186
|
+
).max(200).optional(),
|
|
187
|
+
filter: z.record(z.string(), z.any()).describe(
|
|
188
|
+
"Wix Data filter evaluated against the fetched item."
|
|
189
|
+
).optional().nullable(),
|
|
190
|
+
name: z.string().describe("Human-readable rule name (for debugging/logging).").max(200).optional().nullable()
|
|
191
|
+
})
|
|
192
|
+
).describe("Maps rule ID \u2192 PageRule (filter + variant page role).").optional(),
|
|
193
|
+
roleVariations: z.record(z.string(), z.array(z.any())).describe(
|
|
194
|
+
"Maps original page role ID \u2192 ordered rule IDs. First matching rule wins."
|
|
195
|
+
).optional()
|
|
196
|
+
}).describe("Config containing request patterns, e.g. '/{title}'").optional(),
|
|
197
|
+
pageRoles: z.record(
|
|
198
|
+
z.string(),
|
|
199
|
+
z.object({
|
|
200
|
+
_id: z.string().describe(
|
|
201
|
+
"Page role ID that uniquely identifies the page template."
|
|
202
|
+
).max(200).optional(),
|
|
203
|
+
title: z.string().describe("Human-readable title for the page role.").max(200).optional()
|
|
204
|
+
})
|
|
205
|
+
).describe("Map of page roles containing page ID and title of each role").optional(),
|
|
206
|
+
viewMode: z.string().describe("Query param mapped to body, editor/site").max(200).optional(),
|
|
207
|
+
gridAppId: z.string().describe("Query param mapped to body, unique for Wix code app").regex(
|
|
208
|
+
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
209
|
+
"Must be a valid GUID"
|
|
210
|
+
).optional().nullable()
|
|
211
|
+
}).optional()
|
|
212
|
+
});
|
|
213
|
+
var GetRouterSitemapResponse = z.object({
|
|
214
|
+
result: z.array(
|
|
215
|
+
z.object({
|
|
216
|
+
url: z.string().describe("URL to inner route relative to current domain").max(500).optional(),
|
|
217
|
+
pageName: z.string().describe("Dynamic page name").max(200).optional(),
|
|
218
|
+
title: z.string().describe(
|
|
219
|
+
"Title of the specific route, typically derived from collection data."
|
|
220
|
+
).max(200).optional(),
|
|
221
|
+
changeFrequency: z.string().describe(
|
|
222
|
+
"Change frequency for sitemap SEO purposes (e.g., `daily`, `weekly`, `monthly`)."
|
|
223
|
+
).max(100).optional(),
|
|
224
|
+
lastModified: z.string().describe("Last modified timestamp in ISO 8601 format.").max(100).optional().nullable(),
|
|
225
|
+
priority: z.number().describe("Priority for sitemap SEO purposes (0.0 to 1.0).").optional()
|
|
226
|
+
})
|
|
227
|
+
).optional()
|
|
228
|
+
});
|
|
229
|
+
var GetRouterPagesRequest = z.object({
|
|
230
|
+
options: z.object({
|
|
231
|
+
fullUrl: z.string().describe(
|
|
232
|
+
"Complete URL to the inner route. Used for context-aware processing and as a base for relative URL resolution.\nIncreased to 8192 to accommodate URLs with extensive query parameters (tracking, analytics, UTM params, etc.)"
|
|
233
|
+
).max(8192).optional(),
|
|
234
|
+
routerPrefix: z.string().describe("Router prefix (TPA page ID for TPA pages)").max(2048).optional(),
|
|
235
|
+
routerSuffix: z.string().describe(
|
|
236
|
+
"Inner route suffix containing the dynamic part of the URL pattern. For example, `/{title}` or `/category/{category}/post/{slug}`.\nIncreased to 8192 to match full_url capacity for complex dynamic routes"
|
|
237
|
+
).max(8192).optional(),
|
|
238
|
+
requestInfo: z.object({
|
|
239
|
+
formFactor: z.string().describe(
|
|
240
|
+
"Device form factor, typically `desktop` or `mobile`. Used to serve device-appropriate page layouts."
|
|
241
|
+
).max(200).optional()
|
|
242
|
+
}).describe(
|
|
243
|
+
"Additional request information including form factor (desktop/mobile) for device-appropriate routing."
|
|
244
|
+
).optional(),
|
|
245
|
+
config: z.object({
|
|
246
|
+
patterns: z.record(
|
|
247
|
+
z.string(),
|
|
248
|
+
z.object({
|
|
249
|
+
pageRole: z.string().describe(
|
|
250
|
+
"Page role identifier that links this pattern to a specific page template."
|
|
251
|
+
).max(200).optional(),
|
|
252
|
+
title: z.string().describe(
|
|
253
|
+
'Title pattern with field interpolation (e.g., "{title}, {author} - {category}").\nIncreased to 50000 to support complex title templates with many interpolated fields and long text content.'
|
|
254
|
+
).max(5e4).optional(),
|
|
255
|
+
config: z.object({
|
|
256
|
+
collection: z.string().describe(
|
|
257
|
+
"Name of the Wix Data collection to query for dynamic content."
|
|
258
|
+
).max(200).optional(),
|
|
259
|
+
filter: z.record(z.string(), z.any()).describe(
|
|
260
|
+
"Filter criteria to apply when querying the collection. Uses MongoDB-style query syntax to limit which items generate routes."
|
|
261
|
+
).optional().nullable(),
|
|
262
|
+
lowercase: z.boolean().describe(
|
|
263
|
+
"Indicates if URLs in sitemap should be turned to lowercase. Defaults to true if not set."
|
|
264
|
+
).optional().nullable(),
|
|
265
|
+
pageLinkId: z.string().describe(
|
|
266
|
+
"The field id that gets added to DataCollection and DataItems.\nIndicates that page links is a slug based and items should be retrieved by slug fields present in the pattern."
|
|
267
|
+
).max(1e3).optional().nullable(),
|
|
268
|
+
sort: z.array(z.record(z.string(), z.any())).max(32).optional(),
|
|
269
|
+
pageSize: z.number().int().describe("Page size for pagination.").optional().nullable(),
|
|
270
|
+
seoV2: z.boolean().describe("SEO v2 flag.").optional().nullable(),
|
|
271
|
+
cursor: z.boolean().describe("Cursor-based pagination flag.").optional().nullable(),
|
|
272
|
+
includes: z.array(z.string()).max(100).optional()
|
|
273
|
+
}).describe(
|
|
274
|
+
"Configuration specifying which collection to query and any filters to apply."
|
|
275
|
+
).optional(),
|
|
276
|
+
seoMetaTags: z.record(z.string(), z.string()).describe(
|
|
277
|
+
"SEO meta tags to be included in the page head. Keys are meta tag names, values are the content."
|
|
278
|
+
).optional()
|
|
279
|
+
})
|
|
280
|
+
).describe(
|
|
281
|
+
"Map of URL patterns to their configurations. The key is the URL pattern (e.g., `/{title}`) and the value contains the pattern configuration."
|
|
282
|
+
).optional(),
|
|
283
|
+
rules: z.record(
|
|
284
|
+
z.string(),
|
|
285
|
+
z.object({
|
|
286
|
+
pageRole: z.string().describe(
|
|
287
|
+
"Variant page role ID to return when this rule matches."
|
|
288
|
+
).max(200).optional(),
|
|
289
|
+
filter: z.record(z.string(), z.any()).describe(
|
|
290
|
+
"Wix Data filter evaluated against the fetched item."
|
|
291
|
+
).optional().nullable(),
|
|
292
|
+
name: z.string().describe("Human-readable rule name (for debugging/logging).").max(200).optional().nullable()
|
|
293
|
+
})
|
|
294
|
+
).describe("Maps rule ID \u2192 PageRule (filter + variant page role).").optional(),
|
|
295
|
+
roleVariations: z.record(z.string(), z.array(z.any())).describe(
|
|
296
|
+
"Maps original page role ID \u2192 ordered rule IDs. First matching rule wins."
|
|
297
|
+
).optional()
|
|
298
|
+
}).describe("Config containing request patterns, e.g. '/{title}'").optional(),
|
|
299
|
+
pageRoles: z.record(
|
|
300
|
+
z.string(),
|
|
301
|
+
z.object({
|
|
302
|
+
_id: z.string().describe(
|
|
303
|
+
"Page role ID that uniquely identifies the page template."
|
|
304
|
+
).max(200).optional(),
|
|
305
|
+
title: z.string().describe("Human-readable title for the page role.").max(200).optional()
|
|
306
|
+
})
|
|
307
|
+
).describe("Map of page roles containing page ID and title of each role").optional(),
|
|
308
|
+
viewMode: z.string().describe("Query param mapped to body, editor/site").max(200).optional(),
|
|
309
|
+
gridAppId: z.string().describe("Query param mapped to body, unique for Wix code app").regex(
|
|
310
|
+
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
311
|
+
"Must be a valid GUID"
|
|
312
|
+
).optional().nullable()
|
|
313
|
+
}).optional()
|
|
314
|
+
});
|
|
315
|
+
var GetRouterPagesResponse = z.object({
|
|
316
|
+
result: z.object({
|
|
317
|
+
status: z.number().int().describe("HTTP status code of the page (200, 302, 404)").optional(),
|
|
318
|
+
page: z.string().describe(
|
|
319
|
+
"Name of the dynamic page template that should be used for rendering."
|
|
320
|
+
).max(200).optional(),
|
|
321
|
+
data: z.record(z.string(), z.any()).describe(
|
|
322
|
+
"Application router data available only to internal Wix apps. Contains system-level and administrative information."
|
|
323
|
+
).optional().nullable(),
|
|
324
|
+
head: z.object({
|
|
325
|
+
title: z.string().describe("Page title for SEO and browser display.").max(200).optional(),
|
|
326
|
+
metaTags: z.record(z.string(), z.string()).describe(
|
|
327
|
+
"Meta tags for SEO optimization. Keys are meta tag names, values are the content."
|
|
328
|
+
).optional(),
|
|
329
|
+
description: z.string().describe(
|
|
330
|
+
"Page description for SEO. Extracted from seoMetaTags if present."
|
|
331
|
+
).max(5e3).optional(),
|
|
332
|
+
keywords: z.string().describe(
|
|
333
|
+
"Keywords for SEO. Extracted from seoMetaTags if present."
|
|
334
|
+
).max(5e3).optional(),
|
|
335
|
+
noIndex: z.string().describe(
|
|
336
|
+
"NoIndex directive for search engines. Extracted from seoMetaTags if present."
|
|
337
|
+
).max(500).optional()
|
|
338
|
+
}).describe("SEO and metadata information for the page head section.").optional(),
|
|
339
|
+
message: z.string().describe("Error message when status indicates an error condition.").max(500).optional(),
|
|
340
|
+
redirectUrl: z.string().describe("Target URL for redirects when status is 302.").max(2048).optional()
|
|
341
|
+
}).describe("Page resolution result containing status, data, and metadata.").optional()
|
|
342
|
+
});
|
|
343
|
+
var GetRouterPagesCachedRequest = z.object({
|
|
344
|
+
options: z.object({
|
|
345
|
+
urlParams: z.object({
|
|
346
|
+
gridAppId: z.string().describe("Unique for Wix code app").regex(
|
|
347
|
+
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
348
|
+
"Must be a valid GUID"
|
|
349
|
+
).optional().nullable(),
|
|
350
|
+
viewMode: z.string().describe("Editor/site").max(200).optional()
|
|
351
|
+
}).describe("URL parameters from the viewer's query string.").optional(),
|
|
352
|
+
body: z.object({
|
|
353
|
+
fullUrl: z.string().describe(
|
|
354
|
+
"Complete URL to the inner route. Used for context-aware processing and as a base for relative URL resolution.\nIncreased to 8192 to accommodate URLs with extensive query parameters (tracking, analytics, UTM params, etc.)"
|
|
355
|
+
).max(8192).optional(),
|
|
356
|
+
routerPrefix: z.string().describe("Router prefix (TPA page ID for TPA pages)").max(2048).optional(),
|
|
357
|
+
routerSuffix: z.string().describe(
|
|
358
|
+
"Inner route suffix containing the dynamic part of the URL pattern. For example, `/{title}` or `/category/{category}/post/{slug}`.\nIncreased to 8192 to match full_url capacity for complex dynamic routes"
|
|
359
|
+
).max(8192).optional(),
|
|
360
|
+
requestInfo: z.object({
|
|
361
|
+
formFactor: z.string().describe(
|
|
362
|
+
"Device form factor, typically `desktop` or `mobile`. Used to serve device-appropriate page layouts."
|
|
363
|
+
).max(200).optional()
|
|
364
|
+
}).describe(
|
|
365
|
+
"Additional request information including form factor (desktop/mobile) for device-appropriate routing."
|
|
366
|
+
).optional(),
|
|
367
|
+
config: z.object({
|
|
368
|
+
patterns: z.record(
|
|
369
|
+
z.string(),
|
|
370
|
+
z.object({
|
|
371
|
+
pageRole: z.string().describe(
|
|
372
|
+
"Page role identifier that links this pattern to a specific page template."
|
|
373
|
+
).max(200).optional(),
|
|
374
|
+
title: z.string().describe(
|
|
375
|
+
'Title pattern with field interpolation (e.g., "{title}, {author} - {category}").\nIncreased to 50000 to support complex title templates with many interpolated fields and long text content.'
|
|
376
|
+
).max(5e4).optional(),
|
|
377
|
+
config: z.object({
|
|
378
|
+
collection: z.string().describe(
|
|
379
|
+
"Name of the Wix Data collection to query for dynamic content."
|
|
380
|
+
).max(200).optional(),
|
|
381
|
+
filter: z.record(z.string(), z.any()).describe(
|
|
382
|
+
"Filter criteria to apply when querying the collection. Uses MongoDB-style query syntax to limit which items generate routes."
|
|
383
|
+
).optional().nullable(),
|
|
384
|
+
lowercase: z.boolean().describe(
|
|
385
|
+
"Indicates if URLs in sitemap should be turned to lowercase. Defaults to true if not set."
|
|
386
|
+
).optional().nullable(),
|
|
387
|
+
pageLinkId: z.string().describe(
|
|
388
|
+
"The field id that gets added to DataCollection and DataItems.\nIndicates that page links is a slug based and items should be retrieved by slug fields present in the pattern."
|
|
389
|
+
).max(1e3).optional().nullable(),
|
|
390
|
+
sort: z.array(z.record(z.string(), z.any())).max(32).optional(),
|
|
391
|
+
pageSize: z.number().int().describe("Page size for pagination.").optional().nullable(),
|
|
392
|
+
seoV2: z.boolean().describe("SEO v2 flag.").optional().nullable(),
|
|
393
|
+
cursor: z.boolean().describe("Cursor-based pagination flag.").optional().nullable(),
|
|
394
|
+
includes: z.array(z.string()).max(100).optional()
|
|
395
|
+
}).describe(
|
|
396
|
+
"Configuration specifying which collection to query and any filters to apply."
|
|
397
|
+
).optional(),
|
|
398
|
+
seoMetaTags: z.record(z.string(), z.string()).describe(
|
|
399
|
+
"SEO meta tags to be included in the page head. Keys are meta tag names, values are the content."
|
|
400
|
+
).optional()
|
|
401
|
+
})
|
|
402
|
+
).describe(
|
|
403
|
+
"Map of URL patterns to their configurations. The key is the URL pattern (e.g., `/{title}`) and the value contains the pattern configuration."
|
|
404
|
+
).optional(),
|
|
405
|
+
rules: z.record(
|
|
406
|
+
z.string(),
|
|
407
|
+
z.object({
|
|
408
|
+
pageRole: z.string().describe(
|
|
409
|
+
"Variant page role ID to return when this rule matches."
|
|
410
|
+
).max(200).optional(),
|
|
411
|
+
filter: z.record(z.string(), z.any()).describe(
|
|
412
|
+
"Wix Data filter evaluated against the fetched item."
|
|
413
|
+
).optional().nullable(),
|
|
414
|
+
name: z.string().describe(
|
|
415
|
+
"Human-readable rule name (for debugging/logging)."
|
|
416
|
+
).max(200).optional().nullable()
|
|
417
|
+
})
|
|
418
|
+
).describe(
|
|
419
|
+
"Maps rule ID \u2192 PageRule (filter + variant page role)."
|
|
420
|
+
).optional(),
|
|
421
|
+
roleVariations: z.record(z.string(), z.array(z.any())).describe(
|
|
422
|
+
"Maps original page role ID \u2192 ordered rule IDs. First matching rule wins."
|
|
423
|
+
).optional()
|
|
424
|
+
}).describe("Config containing request patterns, e.g. '/{title}'").optional(),
|
|
425
|
+
pageRoles: z.record(
|
|
426
|
+
z.string(),
|
|
427
|
+
z.object({
|
|
428
|
+
_id: z.string().describe(
|
|
429
|
+
"Page role ID that uniquely identifies the page template."
|
|
430
|
+
).max(200).optional(),
|
|
431
|
+
title: z.string().describe("Human-readable title for the page role.").max(200).optional()
|
|
432
|
+
})
|
|
433
|
+
).describe(
|
|
434
|
+
"Map of page roles containing page ID and title of each role"
|
|
435
|
+
).optional(),
|
|
436
|
+
viewMode: z.string().describe("Query param mapped to body, editor/site").max(200).optional(),
|
|
437
|
+
gridAppId: z.string().describe("Query param mapped to body, unique for Wix code app").regex(
|
|
438
|
+
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
439
|
+
"Must be a valid GUID"
|
|
440
|
+
).optional().nullable()
|
|
441
|
+
}).describe("Request body from the viewer's envelope.").optional()
|
|
442
|
+
}).optional()
|
|
443
|
+
});
|
|
444
|
+
var GetRouterPagesCachedResponse = z.object({
|
|
445
|
+
result: z.object({
|
|
446
|
+
status: z.number().int().describe("HTTP status code of the page (200, 302, 404)").optional(),
|
|
447
|
+
page: z.string().describe(
|
|
448
|
+
"Name of the dynamic page template that should be used for rendering."
|
|
449
|
+
).max(200).optional(),
|
|
450
|
+
data: z.record(z.string(), z.any()).describe(
|
|
451
|
+
"Application router data available only to internal Wix apps. Contains system-level and administrative information."
|
|
452
|
+
).optional().nullable(),
|
|
453
|
+
head: z.object({
|
|
454
|
+
title: z.string().describe("Page title for SEO and browser display.").max(200).optional(),
|
|
455
|
+
metaTags: z.record(z.string(), z.string()).describe(
|
|
456
|
+
"Meta tags for SEO optimization. Keys are meta tag names, values are the content."
|
|
457
|
+
).optional(),
|
|
458
|
+
description: z.string().describe(
|
|
459
|
+
"Page description for SEO. Extracted from seoMetaTags if present."
|
|
460
|
+
).max(5e3).optional(),
|
|
461
|
+
keywords: z.string().describe(
|
|
462
|
+
"Keywords for SEO. Extracted from seoMetaTags if present."
|
|
463
|
+
).max(5e3).optional(),
|
|
464
|
+
noIndex: z.string().describe(
|
|
465
|
+
"NoIndex directive for search engines. Extracted from seoMetaTags if present."
|
|
466
|
+
).max(500).optional()
|
|
467
|
+
}).describe("SEO and metadata information for the page head section.").optional(),
|
|
468
|
+
message: z.string().describe("Error message when status indicates an error condition.").max(500).optional(),
|
|
469
|
+
redirectUrl: z.string().describe("Target URL for redirects when status is 302.").max(2048).optional()
|
|
470
|
+
}).describe("Page resolution result containing status, data, and metadata.").optional()
|
|
471
|
+
});
|
|
472
|
+
var GetDraftPreviewTokenRequest = z.object({
|
|
473
|
+
options: z.object({
|
|
474
|
+
collectionId: z.string().describe("Wix Data collection ID to get a draft preview key for.").max(256).optional()
|
|
475
|
+
}).optional()
|
|
476
|
+
});
|
|
477
|
+
var GetDraftPreviewTokenResponse = z.object({
|
|
478
|
+
token: z.string().describe("Draft preview token.").max(1e4).optional()
|
|
479
|
+
});
|
|
480
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
481
|
+
0 && (module.exports = {
|
|
482
|
+
GetDraftPreviewTokenRequest,
|
|
483
|
+
GetDraftPreviewTokenResponse,
|
|
484
|
+
GetRouterPagesCachedRequest,
|
|
485
|
+
GetRouterPagesCachedResponse,
|
|
486
|
+
GetRouterPagesRequest,
|
|
487
|
+
GetRouterPagesResponse,
|
|
488
|
+
GetRouterSitemapCountRequest,
|
|
489
|
+
GetRouterSitemapCountResponse,
|
|
490
|
+
GetRouterSitemapRequest,
|
|
491
|
+
GetRouterSitemapResponse
|
|
492
|
+
});
|
|
493
|
+
//# sourceMappingURL=schemas.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../schemas.ts","../../src/dynamic-page-router-v1-page-pages.schemas.ts"],"sourcesContent":["export * from './src/dynamic-page-router-v1-page-pages.schemas.js';\n","import * as z from 'zod';\n\nexport const GetRouterSitemapCountRequest = z.object({\n options: z\n .object({\n routerPrefix: z\n .string()\n .describe(\n 'Router prefix that identifies the page type or origin. For TPA (Third-Party Application) pages, this contains the TPA page ID.'\n )\n .max(2048)\n .optional(),\n config: z\n .object({\n patterns: z\n .record(\n z.string(),\n z.object({\n pageRole: z\n .string()\n .describe(\n 'Page role identifier that links this pattern to a specific page template.'\n )\n .max(200)\n .optional(),\n title: z\n .string()\n .describe(\n 'Title pattern with field interpolation (e.g., \"{title}, {author} - {category}\").\\nIncreased to 50000 to support complex title templates with many interpolated fields and long text content.'\n )\n .max(50000)\n .optional(),\n config: z\n .object({\n collection: z\n .string()\n .describe(\n 'Name of the Wix Data collection to query for dynamic content.'\n )\n .max(200)\n .optional(),\n filter: z\n .record(z.string(), z.any())\n .describe(\n 'Filter criteria to apply when querying the collection. Uses MongoDB-style query syntax to limit which items generate routes.'\n )\n .optional()\n .nullable(),\n lowercase: z\n .boolean()\n .describe(\n 'Indicates if URLs in sitemap should be turned to lowercase. Defaults to true if not set.'\n )\n .optional()\n .nullable(),\n pageLinkId: z\n .string()\n .describe(\n 'The field id that gets added to DataCollection and DataItems.\\nIndicates that page links is a slug based and items should be retrieved by slug fields present in the pattern.'\n )\n .max(1000)\n .optional()\n .nullable(),\n sort: z\n .array(z.record(z.string(), z.any()))\n .max(32)\n .optional(),\n pageSize: z\n .number()\n .int()\n .describe('Page size for pagination.')\n .optional()\n .nullable(),\n seoV2: z\n .boolean()\n .describe('SEO v2 flag.')\n .optional()\n .nullable(),\n cursor: z\n .boolean()\n .describe('Cursor-based pagination flag.')\n .optional()\n .nullable(),\n includes: z.array(z.string()).max(100).optional(),\n })\n .describe(\n 'Configuration specifying which collection to query and any filters to apply.'\n )\n .optional(),\n seoMetaTags: z\n .record(z.string(), z.string())\n .describe(\n 'SEO meta tags to be included in the page head. Keys are meta tag names, values are the content.'\n )\n .optional(),\n })\n )\n .describe(\n 'Map of URL patterns to their configurations. The key is the URL pattern (e.g., `/{title}`) and the value contains the pattern configuration.'\n )\n .optional(),\n rules: z\n .record(\n z.string(),\n z.object({\n pageRole: z\n .string()\n .describe(\n 'Variant page role ID to return when this rule matches.'\n )\n .max(200)\n .optional(),\n filter: z\n .record(z.string(), z.any())\n .describe(\n 'Wix Data filter evaluated against the fetched item.'\n )\n .optional()\n .nullable(),\n name: z\n .string()\n .describe('Human-readable rule name (for debugging/logging).')\n .max(200)\n .optional()\n .nullable(),\n })\n )\n .describe('Maps rule ID → PageRule (filter + variant page role).')\n .optional(),\n roleVariations: z\n .record(z.string(), z.array(z.any()))\n .describe(\n 'Maps original page role ID → ordered rule IDs. First matching rule wins.'\n )\n .optional(),\n })\n .describe(\"Config containing request patterns, e.g. '/{title}'\")\n .optional(),\n pageRoles: z\n .record(\n z.string(),\n z.object({\n _id: z\n .string()\n .describe(\n 'Page role ID that uniquely identifies the page template.'\n )\n .max(200)\n .optional(),\n title: z\n .string()\n .describe('Human-readable title for the page role.')\n .max(200)\n .optional(),\n })\n )\n .describe('Map of page roles containing page ID and title of each role')\n .optional(),\n pageName: z\n .string()\n .describe(\n 'Optional page name to filter patterns by matching page role title'\n )\n .max(200)\n .optional(),\n viewMode: z\n .string()\n .describe('Query param mapped to body, editor/site')\n .max(200)\n .optional(),\n gridAppId: z\n .string()\n .describe('Query param mapped to body, unique for Wix code app')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n })\n .optional(),\n});\nexport const GetRouterSitemapCountResponse = z.object({\n result: z\n .array(\n z.object({\n pageName: z\n .string()\n .describe('Name of the dynamic page template.')\n .max(200)\n .optional(),\n count: z\n .number()\n .int()\n .describe(\n 'Number of inner routes for the given page. Capped at 1,000 for performance.'\n )\n .optional(),\n })\n )\n .optional(),\n});\nexport const GetRouterSitemapRequest = z.object({\n options: z\n .object({\n fullUrl: z\n .string()\n .describe('Full URL to the inner route')\n .max(2048)\n .optional(),\n routerPrefix: z\n .string()\n .describe('Router prefix (TPA page ID for TPA pages)')\n .max(2048)\n .optional(),\n pageName: z\n .string()\n .describe(\n 'Optional page name to filter patterns by matching page role title'\n )\n .max(2048)\n .optional(),\n config: z\n .object({\n patterns: z\n .record(\n z.string(),\n z.object({\n pageRole: z\n .string()\n .describe(\n 'Page role identifier that links this pattern to a specific page template.'\n )\n .max(200)\n .optional(),\n title: z\n .string()\n .describe(\n 'Title pattern with field interpolation (e.g., \"{title}, {author} - {category}\").\\nIncreased to 50000 to support complex title templates with many interpolated fields and long text content.'\n )\n .max(50000)\n .optional(),\n config: z\n .object({\n collection: z\n .string()\n .describe(\n 'Name of the Wix Data collection to query for dynamic content.'\n )\n .max(200)\n .optional(),\n filter: z\n .record(z.string(), z.any())\n .describe(\n 'Filter criteria to apply when querying the collection. Uses MongoDB-style query syntax to limit which items generate routes.'\n )\n .optional()\n .nullable(),\n lowercase: z\n .boolean()\n .describe(\n 'Indicates if URLs in sitemap should be turned to lowercase. Defaults to true if not set.'\n )\n .optional()\n .nullable(),\n pageLinkId: z\n .string()\n .describe(\n 'The field id that gets added to DataCollection and DataItems.\\nIndicates that page links is a slug based and items should be retrieved by slug fields present in the pattern.'\n )\n .max(1000)\n .optional()\n .nullable(),\n sort: z\n .array(z.record(z.string(), z.any()))\n .max(32)\n .optional(),\n pageSize: z\n .number()\n .int()\n .describe('Page size for pagination.')\n .optional()\n .nullable(),\n seoV2: z\n .boolean()\n .describe('SEO v2 flag.')\n .optional()\n .nullable(),\n cursor: z\n .boolean()\n .describe('Cursor-based pagination flag.')\n .optional()\n .nullable(),\n includes: z.array(z.string()).max(100).optional(),\n })\n .describe(\n 'Configuration specifying which collection to query and any filters to apply.'\n )\n .optional(),\n seoMetaTags: z\n .record(z.string(), z.string())\n .describe(\n 'SEO meta tags to be included in the page head. Keys are meta tag names, values are the content.'\n )\n .optional(),\n })\n )\n .describe(\n 'Map of URL patterns to their configurations. The key is the URL pattern (e.g., `/{title}`) and the value contains the pattern configuration.'\n )\n .optional(),\n rules: z\n .record(\n z.string(),\n z.object({\n pageRole: z\n .string()\n .describe(\n 'Variant page role ID to return when this rule matches.'\n )\n .max(200)\n .optional(),\n filter: z\n .record(z.string(), z.any())\n .describe(\n 'Wix Data filter evaluated against the fetched item.'\n )\n .optional()\n .nullable(),\n name: z\n .string()\n .describe('Human-readable rule name (for debugging/logging).')\n .max(200)\n .optional()\n .nullable(),\n })\n )\n .describe('Maps rule ID → PageRule (filter + variant page role).')\n .optional(),\n roleVariations: z\n .record(z.string(), z.array(z.any()))\n .describe(\n 'Maps original page role ID → ordered rule IDs. First matching rule wins.'\n )\n .optional(),\n })\n .describe(\"Config containing request patterns, e.g. '/{title}'\")\n .optional(),\n pageRoles: z\n .record(\n z.string(),\n z.object({\n _id: z\n .string()\n .describe(\n 'Page role ID that uniquely identifies the page template.'\n )\n .max(200)\n .optional(),\n title: z\n .string()\n .describe('Human-readable title for the page role.')\n .max(200)\n .optional(),\n })\n )\n .describe('Map of page roles containing page ID and title of each role')\n .optional(),\n viewMode: z\n .string()\n .describe('Query param mapped to body, editor/site')\n .max(200)\n .optional(),\n gridAppId: z\n .string()\n .describe('Query param mapped to body, unique for Wix code app')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n })\n .optional(),\n});\nexport const GetRouterSitemapResponse = z.object({\n result: z\n .array(\n z.object({\n url: z\n .string()\n .describe('URL to inner route relative to current domain')\n .max(500)\n .optional(),\n pageName: z.string().describe('Dynamic page name').max(200).optional(),\n title: z\n .string()\n .describe(\n 'Title of the specific route, typically derived from collection data.'\n )\n .max(200)\n .optional(),\n changeFrequency: z\n .string()\n .describe(\n 'Change frequency for sitemap SEO purposes (e.g., `daily`, `weekly`, `monthly`).'\n )\n .max(100)\n .optional(),\n lastModified: z\n .string()\n .describe('Last modified timestamp in ISO 8601 format.')\n .max(100)\n .optional()\n .nullable(),\n priority: z\n .number()\n .describe('Priority for sitemap SEO purposes (0.0 to 1.0).')\n .optional(),\n })\n )\n .optional(),\n});\nexport const GetRouterPagesRequest = z.object({\n options: z\n .object({\n fullUrl: z\n .string()\n .describe(\n 'Complete URL to the inner route. Used for context-aware processing and as a base for relative URL resolution.\\nIncreased to 8192 to accommodate URLs with extensive query parameters (tracking, analytics, UTM params, etc.)'\n )\n .max(8192)\n .optional(),\n routerPrefix: z\n .string()\n .describe('Router prefix (TPA page ID for TPA pages)')\n .max(2048)\n .optional(),\n routerSuffix: z\n .string()\n .describe(\n 'Inner route suffix containing the dynamic part of the URL pattern. For example, `/{title}` or `/category/{category}/post/{slug}`.\\nIncreased to 8192 to match full_url capacity for complex dynamic routes'\n )\n .max(8192)\n .optional(),\n requestInfo: z\n .object({\n formFactor: z\n .string()\n .describe(\n 'Device form factor, typically `desktop` or `mobile`. Used to serve device-appropriate page layouts.'\n )\n .max(200)\n .optional(),\n })\n .describe(\n 'Additional request information including form factor (desktop/mobile) for device-appropriate routing.'\n )\n .optional(),\n config: z\n .object({\n patterns: z\n .record(\n z.string(),\n z.object({\n pageRole: z\n .string()\n .describe(\n 'Page role identifier that links this pattern to a specific page template.'\n )\n .max(200)\n .optional(),\n title: z\n .string()\n .describe(\n 'Title pattern with field interpolation (e.g., \"{title}, {author} - {category}\").\\nIncreased to 50000 to support complex title templates with many interpolated fields and long text content.'\n )\n .max(50000)\n .optional(),\n config: z\n .object({\n collection: z\n .string()\n .describe(\n 'Name of the Wix Data collection to query for dynamic content.'\n )\n .max(200)\n .optional(),\n filter: z\n .record(z.string(), z.any())\n .describe(\n 'Filter criteria to apply when querying the collection. Uses MongoDB-style query syntax to limit which items generate routes.'\n )\n .optional()\n .nullable(),\n lowercase: z\n .boolean()\n .describe(\n 'Indicates if URLs in sitemap should be turned to lowercase. Defaults to true if not set.'\n )\n .optional()\n .nullable(),\n pageLinkId: z\n .string()\n .describe(\n 'The field id that gets added to DataCollection and DataItems.\\nIndicates that page links is a slug based and items should be retrieved by slug fields present in the pattern.'\n )\n .max(1000)\n .optional()\n .nullable(),\n sort: z\n .array(z.record(z.string(), z.any()))\n .max(32)\n .optional(),\n pageSize: z\n .number()\n .int()\n .describe('Page size for pagination.')\n .optional()\n .nullable(),\n seoV2: z\n .boolean()\n .describe('SEO v2 flag.')\n .optional()\n .nullable(),\n cursor: z\n .boolean()\n .describe('Cursor-based pagination flag.')\n .optional()\n .nullable(),\n includes: z.array(z.string()).max(100).optional(),\n })\n .describe(\n 'Configuration specifying which collection to query and any filters to apply.'\n )\n .optional(),\n seoMetaTags: z\n .record(z.string(), z.string())\n .describe(\n 'SEO meta tags to be included in the page head. Keys are meta tag names, values are the content.'\n )\n .optional(),\n })\n )\n .describe(\n 'Map of URL patterns to their configurations. The key is the URL pattern (e.g., `/{title}`) and the value contains the pattern configuration.'\n )\n .optional(),\n rules: z\n .record(\n z.string(),\n z.object({\n pageRole: z\n .string()\n .describe(\n 'Variant page role ID to return when this rule matches.'\n )\n .max(200)\n .optional(),\n filter: z\n .record(z.string(), z.any())\n .describe(\n 'Wix Data filter evaluated against the fetched item.'\n )\n .optional()\n .nullable(),\n name: z\n .string()\n .describe('Human-readable rule name (for debugging/logging).')\n .max(200)\n .optional()\n .nullable(),\n })\n )\n .describe('Maps rule ID → PageRule (filter + variant page role).')\n .optional(),\n roleVariations: z\n .record(z.string(), z.array(z.any()))\n .describe(\n 'Maps original page role ID → ordered rule IDs. First matching rule wins.'\n )\n .optional(),\n })\n .describe(\"Config containing request patterns, e.g. '/{title}'\")\n .optional(),\n pageRoles: z\n .record(\n z.string(),\n z.object({\n _id: z\n .string()\n .describe(\n 'Page role ID that uniquely identifies the page template.'\n )\n .max(200)\n .optional(),\n title: z\n .string()\n .describe('Human-readable title for the page role.')\n .max(200)\n .optional(),\n })\n )\n .describe('Map of page roles containing page ID and title of each role')\n .optional(),\n viewMode: z\n .string()\n .describe('Query param mapped to body, editor/site')\n .max(200)\n .optional(),\n gridAppId: z\n .string()\n .describe('Query param mapped to body, unique for Wix code app')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n })\n .optional(),\n});\nexport const GetRouterPagesResponse = z.object({\n result: z\n .object({\n status: z\n .number()\n .int()\n .describe('HTTP status code of the page (200, 302, 404)')\n .optional(),\n page: z\n .string()\n .describe(\n 'Name of the dynamic page template that should be used for rendering.'\n )\n .max(200)\n .optional(),\n data: z\n .record(z.string(), z.any())\n .describe(\n 'Application router data available only to internal Wix apps. Contains system-level and administrative information.'\n )\n .optional()\n .nullable(),\n head: z\n .object({\n title: z\n .string()\n .describe('Page title for SEO and browser display.')\n .max(200)\n .optional(),\n metaTags: z\n .record(z.string(), z.string())\n .describe(\n 'Meta tags for SEO optimization. Keys are meta tag names, values are the content.'\n )\n .optional(),\n description: z\n .string()\n .describe(\n 'Page description for SEO. Extracted from seoMetaTags if present.'\n )\n .max(5000)\n .optional(),\n keywords: z\n .string()\n .describe(\n 'Keywords for SEO. Extracted from seoMetaTags if present.'\n )\n .max(5000)\n .optional(),\n noIndex: z\n .string()\n .describe(\n 'NoIndex directive for search engines. Extracted from seoMetaTags if present.'\n )\n .max(500)\n .optional(),\n })\n .describe('SEO and metadata information for the page head section.')\n .optional(),\n message: z\n .string()\n .describe('Error message when status indicates an error condition.')\n .max(500)\n .optional(),\n redirectUrl: z\n .string()\n .describe('Target URL for redirects when status is 302.')\n .max(2048)\n .optional(),\n })\n .describe('Page resolution result containing status, data, and metadata.')\n .optional(),\n});\nexport const GetRouterPagesCachedRequest = z.object({\n options: z\n .object({\n urlParams: z\n .object({\n gridAppId: z\n .string()\n .describe('Unique for Wix code app')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n viewMode: z.string().describe('Editor/site').max(200).optional(),\n })\n .describe(\"URL parameters from the viewer's query string.\")\n .optional(),\n body: z\n .object({\n fullUrl: z\n .string()\n .describe(\n 'Complete URL to the inner route. Used for context-aware processing and as a base for relative URL resolution.\\nIncreased to 8192 to accommodate URLs with extensive query parameters (tracking, analytics, UTM params, etc.)'\n )\n .max(8192)\n .optional(),\n routerPrefix: z\n .string()\n .describe('Router prefix (TPA page ID for TPA pages)')\n .max(2048)\n .optional(),\n routerSuffix: z\n .string()\n .describe(\n 'Inner route suffix containing the dynamic part of the URL pattern. For example, `/{title}` or `/category/{category}/post/{slug}`.\\nIncreased to 8192 to match full_url capacity for complex dynamic routes'\n )\n .max(8192)\n .optional(),\n requestInfo: z\n .object({\n formFactor: z\n .string()\n .describe(\n 'Device form factor, typically `desktop` or `mobile`. Used to serve device-appropriate page layouts.'\n )\n .max(200)\n .optional(),\n })\n .describe(\n 'Additional request information including form factor (desktop/mobile) for device-appropriate routing.'\n )\n .optional(),\n config: z\n .object({\n patterns: z\n .record(\n z.string(),\n z.object({\n pageRole: z\n .string()\n .describe(\n 'Page role identifier that links this pattern to a specific page template.'\n )\n .max(200)\n .optional(),\n title: z\n .string()\n .describe(\n 'Title pattern with field interpolation (e.g., \"{title}, {author} - {category}\").\\nIncreased to 50000 to support complex title templates with many interpolated fields and long text content.'\n )\n .max(50000)\n .optional(),\n config: z\n .object({\n collection: z\n .string()\n .describe(\n 'Name of the Wix Data collection to query for dynamic content.'\n )\n .max(200)\n .optional(),\n filter: z\n .record(z.string(), z.any())\n .describe(\n 'Filter criteria to apply when querying the collection. Uses MongoDB-style query syntax to limit which items generate routes.'\n )\n .optional()\n .nullable(),\n lowercase: z\n .boolean()\n .describe(\n 'Indicates if URLs in sitemap should be turned to lowercase. Defaults to true if not set.'\n )\n .optional()\n .nullable(),\n pageLinkId: z\n .string()\n .describe(\n 'The field id that gets added to DataCollection and DataItems.\\nIndicates that page links is a slug based and items should be retrieved by slug fields present in the pattern.'\n )\n .max(1000)\n .optional()\n .nullable(),\n sort: z\n .array(z.record(z.string(), z.any()))\n .max(32)\n .optional(),\n pageSize: z\n .number()\n .int()\n .describe('Page size for pagination.')\n .optional()\n .nullable(),\n seoV2: z\n .boolean()\n .describe('SEO v2 flag.')\n .optional()\n .nullable(),\n cursor: z\n .boolean()\n .describe('Cursor-based pagination flag.')\n .optional()\n .nullable(),\n includes: z.array(z.string()).max(100).optional(),\n })\n .describe(\n 'Configuration specifying which collection to query and any filters to apply.'\n )\n .optional(),\n seoMetaTags: z\n .record(z.string(), z.string())\n .describe(\n 'SEO meta tags to be included in the page head. Keys are meta tag names, values are the content.'\n )\n .optional(),\n })\n )\n .describe(\n 'Map of URL patterns to their configurations. The key is the URL pattern (e.g., `/{title}`) and the value contains the pattern configuration.'\n )\n .optional(),\n rules: z\n .record(\n z.string(),\n z.object({\n pageRole: z\n .string()\n .describe(\n 'Variant page role ID to return when this rule matches.'\n )\n .max(200)\n .optional(),\n filter: z\n .record(z.string(), z.any())\n .describe(\n 'Wix Data filter evaluated against the fetched item.'\n )\n .optional()\n .nullable(),\n name: z\n .string()\n .describe(\n 'Human-readable rule name (for debugging/logging).'\n )\n .max(200)\n .optional()\n .nullable(),\n })\n )\n .describe(\n 'Maps rule ID → PageRule (filter + variant page role).'\n )\n .optional(),\n roleVariations: z\n .record(z.string(), z.array(z.any()))\n .describe(\n 'Maps original page role ID → ordered rule IDs. First matching rule wins.'\n )\n .optional(),\n })\n .describe(\"Config containing request patterns, e.g. '/{title}'\")\n .optional(),\n pageRoles: z\n .record(\n z.string(),\n z.object({\n _id: z\n .string()\n .describe(\n 'Page role ID that uniquely identifies the page template.'\n )\n .max(200)\n .optional(),\n title: z\n .string()\n .describe('Human-readable title for the page role.')\n .max(200)\n .optional(),\n })\n )\n .describe(\n 'Map of page roles containing page ID and title of each role'\n )\n .optional(),\n viewMode: z\n .string()\n .describe('Query param mapped to body, editor/site')\n .max(200)\n .optional(),\n gridAppId: z\n .string()\n .describe('Query param mapped to body, unique for Wix code app')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n })\n .describe(\"Request body from the viewer's envelope.\")\n .optional(),\n })\n .optional(),\n});\nexport const GetRouterPagesCachedResponse = z.object({\n result: z\n .object({\n status: z\n .number()\n .int()\n .describe('HTTP status code of the page (200, 302, 404)')\n .optional(),\n page: z\n .string()\n .describe(\n 'Name of the dynamic page template that should be used for rendering.'\n )\n .max(200)\n .optional(),\n data: z\n .record(z.string(), z.any())\n .describe(\n 'Application router data available only to internal Wix apps. Contains system-level and administrative information.'\n )\n .optional()\n .nullable(),\n head: z\n .object({\n title: z\n .string()\n .describe('Page title for SEO and browser display.')\n .max(200)\n .optional(),\n metaTags: z\n .record(z.string(), z.string())\n .describe(\n 'Meta tags for SEO optimization. Keys are meta tag names, values are the content.'\n )\n .optional(),\n description: z\n .string()\n .describe(\n 'Page description for SEO. Extracted from seoMetaTags if present.'\n )\n .max(5000)\n .optional(),\n keywords: z\n .string()\n .describe(\n 'Keywords for SEO. Extracted from seoMetaTags if present.'\n )\n .max(5000)\n .optional(),\n noIndex: z\n .string()\n .describe(\n 'NoIndex directive for search engines. Extracted from seoMetaTags if present.'\n )\n .max(500)\n .optional(),\n })\n .describe('SEO and metadata information for the page head section.')\n .optional(),\n message: z\n .string()\n .describe('Error message when status indicates an error condition.')\n .max(500)\n .optional(),\n redirectUrl: z\n .string()\n .describe('Target URL for redirects when status is 302.')\n .max(2048)\n .optional(),\n })\n .describe('Page resolution result containing status, data, and metadata.')\n .optional(),\n});\nexport const GetDraftPreviewTokenRequest = z.object({\n options: z\n .object({\n collectionId: z\n .string()\n .describe('Wix Data collection ID to get a draft preview key for.')\n .max(256)\n .optional(),\n })\n .optional(),\n});\nexport const GetDraftPreviewTokenResponse = z.object({\n token: z.string().describe('Draft preview token.').max(10000).optional(),\n});\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,QAAmB;AAEZ,IAAM,+BAAiC,SAAO;AAAA,EACnD,SACG,SAAO;AAAA,IACN,cACG,SAAO,EACP;AAAA,MACC;AAAA,IACF,EACC,IAAI,IAAI,EACR,SAAS;AAAA,IACZ,QACG,SAAO;AAAA,MACN,UACG;AAAA,QACG,SAAO;AAAA,QACP,SAAO;AAAA,UACP,UACG,SAAO,EACP;AAAA,YACC;AAAA,UACF,EACC,IAAI,GAAG,EACP,SAAS;AAAA,UACZ,OACG,SAAO,EACP;AAAA,YACC;AAAA,UACF,EACC,IAAI,GAAK,EACT,SAAS;AAAA,UACZ,QACG,SAAO;AAAA,YACN,YACG,SAAO,EACP;AAAA,cACC;AAAA,YACF,EACC,IAAI,GAAG,EACP,SAAS;AAAA,YACZ,QACG,SAAS,SAAO,GAAK,MAAI,CAAC,EAC1B;AAAA,cACC;AAAA,YACF,EACC,SAAS,EACT,SAAS;AAAA,YACZ,WACG,UAAQ,EACR;AAAA,cACC;AAAA,YACF,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