@wix/auto_sdk_dynamic-page-router_pages 1.0.1 → 1.0.2

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.
@@ -45,7 +45,7 @@ module.exports = __toCommonJS(schemas_exports);
45
45
 
46
46
  // src/dynamic-page-router-v1-page-pages.schemas.ts
47
47
  var z = __toESM(require("zod"));
48
- var GetRouterSitemapCountRequest = z.object({
48
+ var GetRouterSitemapCountRequest = /* @__PURE__ */ z.object({
49
49
  options: z.object({
50
50
  routerPrefix: z.string().describe(
51
51
  "Router prefix that identifies the page type or origin. For TPA (Third-Party Application) pages, this contains the TPA page ID."
@@ -123,7 +123,7 @@ var GetRouterSitemapCountRequest = z.object({
123
123
  ).optional().nullable()
124
124
  }).optional()
125
125
  });
126
- var GetRouterSitemapCountResponse = z.object({
126
+ var GetRouterSitemapCountResponse = /* @__PURE__ */ z.object({
127
127
  result: z.array(
128
128
  z.object({
129
129
  pageName: z.string().describe("Name of the dynamic page template.").max(200).optional(),
@@ -133,7 +133,7 @@ var GetRouterSitemapCountResponse = z.object({
133
133
  })
134
134
  ).optional()
135
135
  });
136
- var GetRouterSitemapRequest = z.object({
136
+ var GetRouterSitemapRequest = /* @__PURE__ */ z.object({
137
137
  options: z.object({
138
138
  fullUrl: z.string().describe("Full URL to the inner route").max(2048).optional(),
139
139
  routerPrefix: z.string().describe("Router prefix (TPA page ID for TPA pages)").max(2048).optional(),
@@ -210,7 +210,7 @@ var GetRouterSitemapRequest = z.object({
210
210
  ).optional().nullable()
211
211
  }).optional()
212
212
  });
213
- var GetRouterSitemapResponse = z.object({
213
+ var GetRouterSitemapResponse = /* @__PURE__ */ z.object({
214
214
  result: z.array(
215
215
  z.object({
216
216
  url: z.string().describe("URL to inner route relative to current domain").max(500).optional(),
@@ -226,7 +226,7 @@ var GetRouterSitemapResponse = z.object({
226
226
  })
227
227
  ).optional()
228
228
  });
229
- var GetRouterPagesRequest = z.object({
229
+ var GetRouterPagesRequest = /* @__PURE__ */ z.object({
230
230
  options: z.object({
231
231
  fullUrl: z.string().describe(
232
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.)"
@@ -312,7 +312,7 @@ var GetRouterPagesRequest = z.object({
312
312
  ).optional().nullable()
313
313
  }).optional()
314
314
  });
315
- var GetRouterPagesResponse = z.object({
315
+ var GetRouterPagesResponse = /* @__PURE__ */ z.object({
316
316
  result: z.object({
317
317
  status: z.number().int().describe("HTTP status code of the page (200, 302, 404)").optional(),
318
318
  page: z.string().describe(
@@ -340,7 +340,7 @@ var GetRouterPagesResponse = z.object({
340
340
  redirectUrl: z.string().describe("Target URL for redirects when status is 302.").max(2048).optional()
341
341
  }).describe("Page resolution result containing status, data, and metadata.").optional()
342
342
  });
343
- var GetRouterPagesCachedRequest = z.object({
343
+ var GetRouterPagesCachedRequest = /* @__PURE__ */ z.object({
344
344
  options: z.object({
345
345
  urlParams: z.object({
346
346
  gridAppId: z.string().describe("Unique for Wix code app").regex(
@@ -441,7 +441,7 @@ var GetRouterPagesCachedRequest = z.object({
441
441
  }).describe("Request body from the viewer's envelope.").optional()
442
442
  }).optional()
443
443
  });
444
- var GetRouterPagesCachedResponse = z.object({
444
+ var GetRouterPagesCachedResponse = /* @__PURE__ */ z.object({
445
445
  result: z.object({
446
446
  status: z.number().int().describe("HTTP status code of the page (200, 302, 404)").optional(),
447
447
  page: z.string().describe(
@@ -469,12 +469,12 @@ var GetRouterPagesCachedResponse = z.object({
469
469
  redirectUrl: z.string().describe("Target URL for redirects when status is 302.").max(2048).optional()
470
470
  }).describe("Page resolution result containing status, data, and metadata.").optional()
471
471
  });
472
- var GetDraftPreviewTokenRequest = z.object({
472
+ var GetDraftPreviewTokenRequest = /* @__PURE__ */ z.object({
473
473
  options: z.object({
474
474
  collectionId: z.string().describe("Wix Data collection ID to get a draft preview key for.").max(256).optional()
475
475
  }).optional()
476
476
  });
477
- var GetDraftPreviewTokenResponse = z.object({
477
+ var GetDraftPreviewTokenResponse = /* @__PURE__ */ z.object({
478
478
  token: z.string().describe("Draft preview token.").max(1e4).optional()
479
479
  });
480
480
  // Annotate the CommonJS export names for ESM import in node:
@@ -1 +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,EACC,SAAS,EACT,SAAS;AAAA,YACZ,YACG,SAAO,EACP;AAAA,cACC;AAAA,YACF,E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AI,GAAG,EACP,SAAS;AAAA,EACd,CAAC,EACA,SAAS;AACd,CAAC;AACM,IAAM,+BAAiC,SAAO;AAAA,EACnD,OAAS,SAAO,EAAE,SAAS,sBAAsB,EAAE,IAAI,GAAK,EAAE,SAAS;AACzE,CAAC;","names":[]}
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 = /*#__PURE__*/ 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 = /*#__PURE__*/ 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 = /*#__PURE__*/ 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 = /*#__PURE__*/ 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 = /*#__PURE__*/ 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 = /*#__PURE__*/ 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 = /*#__PURE__*/ 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 = /*#__PURE__*/ 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 = /*#__PURE__*/ 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 = /*#__PURE__*/ 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,+BAA6C,gBAAE,SAAO;AAAA,EACjE,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,Y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AAS,8CAA8C,EACvD,IAAI,IAAI,EACR,SAAS;AAAA,EACd,CAAC,EACA,SAAS,+DAA+D,EACxE,SAAS;AACd,CAAC;AACM,IAAM,8BAA4C,gBAAE,SAAO;AAAA,EAChE,SACG,SAAO;AAAA,IACN,cACG,SAAO,EACP,SAAS,wDAAwD,EACjE,IAAI,GAAG,EACP,SAAS;AAAA,EACd,CAAC,EACA,SAAS;AACd,CAAC;AACM,IAAM,+BAA6C,gBAAE,SAAO;AAAA,EACjE,OAAS,SAAO,EAAE,SAAS,sBAAsB,EAAE,IAAI,GAAK,EAAE,SAAS;AACzE,CAAC;","names":[]}
@@ -1,6 +1,6 @@
1
1
  // src/dynamic-page-router-v1-page-pages.schemas.ts
2
2
  import * as z from "zod";
3
- var GetRouterSitemapCountRequest = z.object({
3
+ var GetRouterSitemapCountRequest = /* @__PURE__ */ z.object({
4
4
  options: z.object({
5
5
  routerPrefix: z.string().describe(
6
6
  "Router prefix that identifies the page type or origin. For TPA (Third-Party Application) pages, this contains the TPA page ID."
@@ -78,7 +78,7 @@ var GetRouterSitemapCountRequest = z.object({
78
78
  ).optional().nullable()
79
79
  }).optional()
80
80
  });
81
- var GetRouterSitemapCountResponse = z.object({
81
+ var GetRouterSitemapCountResponse = /* @__PURE__ */ z.object({
82
82
  result: z.array(
83
83
  z.object({
84
84
  pageName: z.string().describe("Name of the dynamic page template.").max(200).optional(),
@@ -88,7 +88,7 @@ var GetRouterSitemapCountResponse = z.object({
88
88
  })
89
89
  ).optional()
90
90
  });
91
- var GetRouterSitemapRequest = z.object({
91
+ var GetRouterSitemapRequest = /* @__PURE__ */ z.object({
92
92
  options: z.object({
93
93
  fullUrl: z.string().describe("Full URL to the inner route").max(2048).optional(),
94
94
  routerPrefix: z.string().describe("Router prefix (TPA page ID for TPA pages)").max(2048).optional(),
@@ -165,7 +165,7 @@ var GetRouterSitemapRequest = z.object({
165
165
  ).optional().nullable()
166
166
  }).optional()
167
167
  });
168
- var GetRouterSitemapResponse = z.object({
168
+ var GetRouterSitemapResponse = /* @__PURE__ */ z.object({
169
169
  result: z.array(
170
170
  z.object({
171
171
  url: z.string().describe("URL to inner route relative to current domain").max(500).optional(),
@@ -181,7 +181,7 @@ var GetRouterSitemapResponse = z.object({
181
181
  })
182
182
  ).optional()
183
183
  });
184
- var GetRouterPagesRequest = z.object({
184
+ var GetRouterPagesRequest = /* @__PURE__ */ z.object({
185
185
  options: z.object({
186
186
  fullUrl: z.string().describe(
187
187
  "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.)"
@@ -267,7 +267,7 @@ var GetRouterPagesRequest = z.object({
267
267
  ).optional().nullable()
268
268
  }).optional()
269
269
  });
270
- var GetRouterPagesResponse = z.object({
270
+ var GetRouterPagesResponse = /* @__PURE__ */ z.object({
271
271
  result: z.object({
272
272
  status: z.number().int().describe("HTTP status code of the page (200, 302, 404)").optional(),
273
273
  page: z.string().describe(
@@ -295,7 +295,7 @@ var GetRouterPagesResponse = z.object({
295
295
  redirectUrl: z.string().describe("Target URL for redirects when status is 302.").max(2048).optional()
296
296
  }).describe("Page resolution result containing status, data, and metadata.").optional()
297
297
  });
298
- var GetRouterPagesCachedRequest = z.object({
298
+ var GetRouterPagesCachedRequest = /* @__PURE__ */ z.object({
299
299
  options: z.object({
300
300
  urlParams: z.object({
301
301
  gridAppId: z.string().describe("Unique for Wix code app").regex(
@@ -396,7 +396,7 @@ var GetRouterPagesCachedRequest = z.object({
396
396
  }).describe("Request body from the viewer's envelope.").optional()
397
397
  }).optional()
398
398
  });
399
- var GetRouterPagesCachedResponse = z.object({
399
+ var GetRouterPagesCachedResponse = /* @__PURE__ */ z.object({
400
400
  result: z.object({
401
401
  status: z.number().int().describe("HTTP status code of the page (200, 302, 404)").optional(),
402
402
  page: z.string().describe(
@@ -424,12 +424,12 @@ var GetRouterPagesCachedResponse = z.object({
424
424
  redirectUrl: z.string().describe("Target URL for redirects when status is 302.").max(2048).optional()
425
425
  }).describe("Page resolution result containing status, data, and metadata.").optional()
426
426
  });
427
- var GetDraftPreviewTokenRequest = z.object({
427
+ var GetDraftPreviewTokenRequest = /* @__PURE__ */ z.object({
428
428
  options: z.object({
429
429
  collectionId: z.string().describe("Wix Data collection ID to get a draft preview key for.").max(256).optional()
430
430
  }).optional()
431
431
  });
432
- var GetDraftPreviewTokenResponse = z.object({
432
+ var GetDraftPreviewTokenResponse = /* @__PURE__ */ z.object({
433
433
  token: z.string().describe("Draft preview token.").max(1e4).optional()
434
434
  });
435
435
  export {