@wix/auto_sdk_seo_seo-patterns 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.
Files changed (52) hide show
  1. package/build/cjs/index.d.ts +141 -0
  2. package/build/cjs/index.js +455 -0
  3. package/build/cjs/index.js.map +1 -0
  4. package/build/cjs/index.typings.d.ts +777 -0
  5. package/build/cjs/index.typings.js +398 -0
  6. package/build/cjs/index.typings.js.map +1 -0
  7. package/build/cjs/meta.d.ts +592 -0
  8. package/build/cjs/meta.js +335 -0
  9. package/build/cjs/meta.js.map +1 -0
  10. package/build/cjs/schemas.d.ts +312 -0
  11. package/build/cjs/schemas.js +717 -0
  12. package/build/cjs/schemas.js.map +1 -0
  13. package/build/es/index.d.mts +141 -0
  14. package/build/es/index.mjs +423 -0
  15. package/build/es/index.mjs.map +1 -0
  16. package/build/es/index.typings.d.mts +777 -0
  17. package/build/es/index.typings.mjs +366 -0
  18. package/build/es/index.typings.mjs.map +1 -0
  19. package/build/es/meta.d.mts +592 -0
  20. package/build/es/meta.mjs +300 -0
  21. package/build/es/meta.mjs.map +1 -0
  22. package/build/es/package.json +3 -0
  23. package/build/es/schemas.d.mts +312 -0
  24. package/build/es/schemas.mjs +669 -0
  25. package/build/es/schemas.mjs.map +1 -0
  26. package/build/internal/cjs/index.d.ts +141 -0
  27. package/build/internal/cjs/index.js +455 -0
  28. package/build/internal/cjs/index.js.map +1 -0
  29. package/build/internal/cjs/index.typings.d.ts +777 -0
  30. package/build/internal/cjs/index.typings.js +398 -0
  31. package/build/internal/cjs/index.typings.js.map +1 -0
  32. package/build/internal/cjs/meta.d.ts +634 -0
  33. package/build/internal/cjs/meta.js +335 -0
  34. package/build/internal/cjs/meta.js.map +1 -0
  35. package/build/internal/cjs/schemas.d.ts +312 -0
  36. package/build/internal/cjs/schemas.js +717 -0
  37. package/build/internal/cjs/schemas.js.map +1 -0
  38. package/build/internal/es/index.d.mts +141 -0
  39. package/build/internal/es/index.mjs +423 -0
  40. package/build/internal/es/index.mjs.map +1 -0
  41. package/build/internal/es/index.typings.d.mts +777 -0
  42. package/build/internal/es/index.typings.mjs +366 -0
  43. package/build/internal/es/index.typings.mjs.map +1 -0
  44. package/build/internal/es/meta.d.mts +634 -0
  45. package/build/internal/es/meta.mjs +300 -0
  46. package/build/internal/es/meta.mjs.map +1 -0
  47. package/build/internal/es/schemas.d.mts +312 -0
  48. package/build/internal/es/schemas.mjs +669 -0
  49. package/build/internal/es/schemas.mjs.map +1 -0
  50. package/meta/package.json +3 -0
  51. package/package.json +61 -0
  52. package/schemas/package.json +3 -0
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../schemas.ts","../../../src/promote-seo-v1-seo-pattern-seo-patterns.schemas.ts"],"sourcesContent":["export * from './src/promote-seo-v1-seo-pattern-seo-patterns.schemas.js';\n","import * as z from 'zod';\n\nexport const GetSeoPatternRequest = z.object({\n pageType: z\n .string()\n .describe(\n 'Page type whose pattern to retrieve. For example, `STATIC_PAGE`, `BLOG_POST`, or\\n`STORES_PRODUCT`.'\n )\n .max(100),\n options: z\n .object({\n pageId: z\n .string()\n .describe(\n 'ID of a single page built from a Wix Data collection, to retrieve the pattern of that\\npage alone.\\n\\nSupported only for the `WIX_DATA_PAGE_ITEM` page type. Every other page type has one\\npattern for the type, and passing a page ID for one of those fails with\\n`PAGE_ID_NOT_SUPPORTED`.'\n )\n .max(200)\n .optional()\n .nullable(),\n collectionName: z\n .string()\n .describe(\n 'Not supported yet. Passing a value fails with `COLLECTION_NAME_NOT_SUPPORTED`.\\n\\nTo address a single page built from a Wix Data collection, pass its `pageId`.'\n )\n .max(200)\n .optional()\n .nullable(),\n })\n .optional(),\n});\nexport const GetSeoPatternResponse = z.object({\n seoPattern: z\n .object({\n _id: z\n .string()\n .describe(\n 'SEO pattern ID, in the format `{pageType}`.\\n\\nFor a pattern that applies to a single page built from a Wix Data collection, the\\nformat is `{pageType}:{pageId}`.'\n )\n .max(400)\n .optional()\n .nullable(),\n pageType: z\n .string()\n .describe(\n \"Page type the pattern applies to. For example, `STATIC_PAGE`, `BLOG_POST`, or\\n`STORES_PRODUCT`.\\n\\nCalling with a page type Wix doesn't recognize fails with `UNSUPPORTED_PAGE_TYPE`,\\nand the error lists the page types that are supported. For a page type provided by a\\nWix app, such as `BLOG_POST`, the app must be installed on the site.\\n\\nPage types aren't the same set as the item types of the Item SEO Tags API: a page\\ntype can support a pattern without supporting tags set per item, and the other way\\nround.\"\n )\n .max(100)\n .optional(),\n pageId: z\n .string()\n .describe(\n 'ID of a single page built from a Wix Data collection, when the pattern applies to\\nthat page alone rather than to the whole page type.\\n\\nSupported only for the `WIX_DATA_PAGE_ITEM` page type. Every other page type has one\\npattern for the type, and passing a page ID for one of those fails with\\n`PAGE_ID_NOT_SUPPORTED`.'\n )\n .max(200)\n .optional()\n .nullable(),\n pattern: z\n .object({\n tags: z\n .array(\n z.object({\n type: z\n .string()\n .describe(\n 'SEO tag type.\\n\\n\\nSupported values: `title`, `meta`, `script`, `link`.'\n )\n .optional(),\n props: z\n .record(z.string(), z.any())\n .describe(\n 'A `{\"key\": \"value\"}` pair object where each SEO tag property (`\"name\"`, `\"content\"`, `\"rel\"`, `\"href\"`) contains a value.\\nFor example: `{\"name\": \"description\", \"content\": \"the description itself\"}`.'\n )\n .optional()\n .nullable(),\n meta: z\n .record(z.string(), z.any())\n .describe(\n 'SEO tag metadata. For example, `{\"height\": 300, \"width\": 240}`.'\n )\n .optional()\n .nullable(),\n children: z\n .string()\n .describe(\n 'SEO tag inner content. For example, `<title> inner content </title>`.'\n )\n .optional(),\n custom: z\n .boolean()\n .describe(\n 'Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages).'\n )\n .optional(),\n disabled: z\n .boolean()\n .describe(\n \"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines.\"\n )\n .optional(),\n })\n )\n .max(100)\n .optional(),\n })\n .describe(\n \"The site's own pattern for the page type, which takes precedence over the Wix\\ndefault.\\n\\nEmpty when the site has no pattern of its own, in which case `defaultPattern`\\napplies. Setting this field replaces the pattern in full, so send the complete set of\\ntag templates you want the page type to have.\"\n )\n .optional(),\n defaultPattern: z\n .object({\n tags: z\n .array(\n z.object({\n type: z\n .string()\n .describe(\n 'SEO tag type.\\n\\n\\nSupported values: `title`, `meta`, `script`, `link`.'\n )\n .optional(),\n props: z\n .record(z.string(), z.any())\n .describe(\n 'A `{\"key\": \"value\"}` pair object where each SEO tag property (`\"name\"`, `\"content\"`, `\"rel\"`, `\"href\"`) contains a value.\\nFor example: `{\"name\": \"description\", \"content\": \"the description itself\"}`.'\n )\n .optional()\n .nullable(),\n meta: z\n .record(z.string(), z.any())\n .describe(\n 'SEO tag metadata. For example, `{\"height\": 300, \"width\": 240}`.'\n )\n .optional()\n .nullable(),\n children: z\n .string()\n .describe(\n 'SEO tag inner content. For example, `<title> inner content </title>`.'\n )\n .optional(),\n custom: z\n .boolean()\n .describe(\n 'Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages).'\n )\n .optional(),\n disabled: z\n .boolean()\n .describe(\n \"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines.\"\n )\n .optional(),\n })\n )\n .max(100)\n .optional(),\n })\n .describe(\n 'The pattern Wix provides for the page type, which applies whenever the site has no\\npattern of its own.\\n\\nAlways returned, so you can compare a customized pattern with the one it started\\nfrom, and see what a reset would restore.'\n )\n .optional(),\n source: z\n .enum([\n 'PATTERN_SOURCE_UNSPECIFIED',\n 'PATTERN_SOURCE_USER',\n 'PATTERN_SOURCE_DEFAULT',\n ])\n .describe(\n \"Which pattern is in effect for the page type: the site's own, or the Wix default.\"\n )\n .optional(),\n language: z\n .string()\n .describe(\n \"Language the pattern applies to, as an IETF BCP 47 language tag. For example,\\n`en-US` for U.S. English.\\n\\nA page type has a single pattern, so this reports the site's primary language.\"\n )\n .max(100)\n .optional()\n .nullable(),\n origin: z\n .enum([\n 'ORIGIN_UNSPECIFIED',\n 'ORIGIN_USER',\n 'ORIGIN_MIGRATION',\n 'ORIGIN_AI',\n ])\n .describe(\n \"What made the most recent change to the pattern, for example a user or the site\\nmigration flow. Derived from the caller, not from the request.\\n\\n`ORIGIN_UNSPECIFIED` when the caller isn't one Wix identifies as a specific origin.\\nOrigin isn't stored with the pattern either, so Get SEO Pattern and List SEO Patterns\\nalways return `ORIGIN_UNSPECIFIED`.\"\n )\n .optional(),\n })\n .describe(\n \"The page type's pattern: the site's own pattern, the Wix default, and which of the\\ntwo is in effect.\"\n )\n .optional(),\n});\nexport const ListSeoPatternsRequest = z.object({});\nexport const ListSeoPatternsResponse = z.object({\n seoPatterns: z\n .array(\n z.object({\n _id: z\n .string()\n .describe(\n 'SEO pattern ID, in the format `{pageType}`.\\n\\nFor a pattern that applies to a single page built from a Wix Data collection, the\\nformat is `{pageType}:{pageId}`.'\n )\n .max(400)\n .optional()\n .nullable(),\n pageType: z\n .string()\n .describe(\n \"Page type the pattern applies to. For example, `STATIC_PAGE`, `BLOG_POST`, or\\n`STORES_PRODUCT`.\\n\\nCalling with a page type Wix doesn't recognize fails with `UNSUPPORTED_PAGE_TYPE`,\\nand the error lists the page types that are supported. For a page type provided by a\\nWix app, such as `BLOG_POST`, the app must be installed on the site.\\n\\nPage types aren't the same set as the item types of the Item SEO Tags API: a page\\ntype can support a pattern without supporting tags set per item, and the other way\\nround.\"\n )\n .max(100)\n .optional(),\n pageId: z\n .string()\n .describe(\n 'ID of a single page built from a Wix Data collection, when the pattern applies to\\nthat page alone rather than to the whole page type.\\n\\nSupported only for the `WIX_DATA_PAGE_ITEM` page type. Every other page type has one\\npattern for the type, and passing a page ID for one of those fails with\\n`PAGE_ID_NOT_SUPPORTED`.'\n )\n .max(200)\n .optional()\n .nullable(),\n pattern: z\n .object({\n tags: z\n .array(\n z.object({\n type: z\n .string()\n .describe(\n 'SEO tag type.\\n\\n\\nSupported values: `title`, `meta`, `script`, `link`.'\n )\n .optional(),\n props: z\n .record(z.string(), z.any())\n .describe(\n 'A `{\"key\": \"value\"}` pair object where each SEO tag property (`\"name\"`, `\"content\"`, `\"rel\"`, `\"href\"`) contains a value.\\nFor example: `{\"name\": \"description\", \"content\": \"the description itself\"}`.'\n )\n .optional()\n .nullable(),\n meta: z\n .record(z.string(), z.any())\n .describe(\n 'SEO tag metadata. For example, `{\"height\": 300, \"width\": 240}`.'\n )\n .optional()\n .nullable(),\n children: z\n .string()\n .describe(\n 'SEO tag inner content. For example, `<title> inner content </title>`.'\n )\n .optional(),\n custom: z\n .boolean()\n .describe(\n 'Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages).'\n )\n .optional(),\n disabled: z\n .boolean()\n .describe(\n \"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines.\"\n )\n .optional(),\n })\n )\n .max(100)\n .optional(),\n })\n .describe(\n \"The site's own pattern for the page type, which takes precedence over the Wix\\ndefault.\\n\\nEmpty when the site has no pattern of its own, in which case `defaultPattern`\\napplies. Setting this field replaces the pattern in full, so send the complete set of\\ntag templates you want the page type to have.\"\n )\n .optional(),\n defaultPattern: z\n .object({\n tags: z\n .array(\n z.object({\n type: z\n .string()\n .describe(\n 'SEO tag type.\\n\\n\\nSupported values: `title`, `meta`, `script`, `link`.'\n )\n .optional(),\n props: z\n .record(z.string(), z.any())\n .describe(\n 'A `{\"key\": \"value\"}` pair object where each SEO tag property (`\"name\"`, `\"content\"`, `\"rel\"`, `\"href\"`) contains a value.\\nFor example: `{\"name\": \"description\", \"content\": \"the description itself\"}`.'\n )\n .optional()\n .nullable(),\n meta: z\n .record(z.string(), z.any())\n .describe(\n 'SEO tag metadata. For example, `{\"height\": 300, \"width\": 240}`.'\n )\n .optional()\n .nullable(),\n children: z\n .string()\n .describe(\n 'SEO tag inner content. For example, `<title> inner content </title>`.'\n )\n .optional(),\n custom: z\n .boolean()\n .describe(\n 'Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages).'\n )\n .optional(),\n disabled: z\n .boolean()\n .describe(\n \"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines.\"\n )\n .optional(),\n })\n )\n .max(100)\n .optional(),\n })\n .describe(\n 'The pattern Wix provides for the page type, which applies whenever the site has no\\npattern of its own.\\n\\nAlways returned, so you can compare a customized pattern with the one it started\\nfrom, and see what a reset would restore.'\n )\n .optional(),\n source: z\n .enum([\n 'PATTERN_SOURCE_UNSPECIFIED',\n 'PATTERN_SOURCE_USER',\n 'PATTERN_SOURCE_DEFAULT',\n ])\n .describe(\n \"Which pattern is in effect for the page type: the site's own, or the Wix default.\"\n )\n .optional(),\n language: z\n .string()\n .describe(\n \"Language the pattern applies to, as an IETF BCP 47 language tag. For example,\\n`en-US` for U.S. English.\\n\\nA page type has a single pattern, so this reports the site's primary language.\"\n )\n .max(100)\n .optional()\n .nullable(),\n origin: z\n .enum([\n 'ORIGIN_UNSPECIFIED',\n 'ORIGIN_USER',\n 'ORIGIN_MIGRATION',\n 'ORIGIN_AI',\n ])\n .describe(\n \"What made the most recent change to the pattern, for example a user or the site\\nmigration flow. Derived from the caller, not from the request.\\n\\n`ORIGIN_UNSPECIFIED` when the caller isn't one Wix identifies as a specific origin.\\nOrigin isn't stored with the pattern either, so Get SEO Pattern and List SEO Patterns\\nalways return `ORIGIN_UNSPECIFIED`.\"\n )\n .optional(),\n })\n )\n .max(200)\n .optional(),\n});\nexport const ListSeoPatternVariablesRequest = z.object({\n pageType: z\n .string()\n .describe(\n 'Page type whose variables to retrieve. For example, `STATIC_PAGE`, `BLOG_POST`, or\\n`STORES_PRODUCT`.'\n )\n .max(100),\n});\nexport const ListSeoPatternVariablesResponse = z.object({\n variables: z\n .array(\n z.object({\n key: z\n .string()\n .describe(\n 'Name of the variable, without the surrounding braces. For example, `product.name`,\\nwhich a pattern references as `{{product.name}}`.'\n )\n .max(200)\n .optional(),\n userVisible: z\n .boolean()\n .describe(\n \"Whether Wix offers this variable to site owners editing the pattern in the dashboard.\\n\\n`false` doesn't prevent a pattern from using the variable. It marks a variable Wix\\nkeeps out of the dashboard's list, typically because it's only meaningful in specific\\ncases.\"\n )\n .optional(),\n })\n )\n .max(500)\n .optional(),\n structuredDataVariables: z\n .array(\n z.object({\n key: z\n .string()\n .describe(\n 'Name of the variable, without the surrounding braces. For example, `product.name`,\\nwhich a pattern references as `{{product.name}}`.'\n )\n .max(200)\n .optional(),\n userVisible: z\n .boolean()\n .describe(\n \"Whether Wix offers this variable to site owners editing the pattern in the dashboard.\\n\\n`false` doesn't prevent a pattern from using the variable. It marks a variable Wix\\nkeeps out of the dashboard's list, typically because it's only meaningful in specific\\ncases.\"\n )\n .optional(),\n })\n )\n .max(500)\n .optional(),\n});\nexport const CreateSeoPatternRequest = z.object({\n pageType: z\n .string()\n .describe(\n 'Page type whose pattern to create a pattern for. For example, `STATIC_PAGE`, `BLOG_POST`, or\\n`STORES_PRODUCT`.'\n )\n .max(100),\n seoPattern: z\n .object({\n _id: z\n .string()\n .describe(\n 'SEO pattern ID, in the format `{pageType}`.\\n\\nFor a pattern that applies to a single page built from a Wix Data collection, the\\nformat is `{pageType}:{pageId}`.'\n )\n .max(400)\n .optional()\n .nullable(),\n pageType: z\n .string()\n .describe(\n \"Page type the pattern applies to. For example, `STATIC_PAGE`, `BLOG_POST`, or\\n`STORES_PRODUCT`.\\n\\nCalling with a page type Wix doesn't recognize fails with `UNSUPPORTED_PAGE_TYPE`,\\nand the error lists the page types that are supported. For a page type provided by a\\nWix app, such as `BLOG_POST`, the app must be installed on the site.\\n\\nPage types aren't the same set as the item types of the Item SEO Tags API: a page\\ntype can support a pattern without supporting tags set per item, and the other way\\nround.\"\n )\n .max(100)\n .optional(),\n pageId: z\n .string()\n .describe(\n 'ID of a single page built from a Wix Data collection, when the pattern applies to\\nthat page alone rather than to the whole page type.\\n\\nSupported only for the `WIX_DATA_PAGE_ITEM` page type. Every other page type has one\\npattern for the type, and passing a page ID for one of those fails with\\n`PAGE_ID_NOT_SUPPORTED`.'\n )\n .max(200)\n .optional()\n .nullable(),\n pattern: z\n .object({\n tags: z\n .array(\n z.object({\n type: z\n .string()\n .describe(\n 'SEO tag type.\\n\\n\\nSupported values: `title`, `meta`, `script`, `link`.'\n )\n .optional(),\n props: z\n .record(z.string(), z.any())\n .describe(\n 'A `{\"key\": \"value\"}` pair object where each SEO tag property (`\"name\"`, `\"content\"`, `\"rel\"`, `\"href\"`) contains a value.\\nFor example: `{\"name\": \"description\", \"content\": \"the description itself\"}`.'\n )\n .optional()\n .nullable(),\n meta: z\n .record(z.string(), z.any())\n .describe(\n 'SEO tag metadata. For example, `{\"height\": 300, \"width\": 240}`.'\n )\n .optional()\n .nullable(),\n children: z\n .string()\n .describe(\n 'SEO tag inner content. For example, `<title> inner content </title>`.'\n )\n .optional(),\n custom: z\n .boolean()\n .describe(\n 'Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages).'\n )\n .optional(),\n disabled: z\n .boolean()\n .describe(\n \"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines.\"\n )\n .optional(),\n })\n )\n .max(100)\n .optional(),\n })\n .describe(\n \"The site's own pattern for the page type, which takes precedence over the Wix\\ndefault.\\n\\nEmpty when the site has no pattern of its own, in which case `defaultPattern`\\napplies. Setting this field replaces the pattern in full, so send the complete set of\\ntag templates you want the page type to have.\"\n )\n .optional(),\n defaultPattern: z\n .object({\n tags: z\n .array(\n z.object({\n type: z\n .string()\n .describe(\n 'SEO tag type.\\n\\n\\nSupported values: `title`, `meta`, `script`, `link`.'\n )\n .optional(),\n props: z\n .record(z.string(), z.any())\n .describe(\n 'A `{\"key\": \"value\"}` pair object where each SEO tag property (`\"name\"`, `\"content\"`, `\"rel\"`, `\"href\"`) contains a value.\\nFor example: `{\"name\": \"description\", \"content\": \"the description itself\"}`.'\n )\n .optional()\n .nullable(),\n meta: z\n .record(z.string(), z.any())\n .describe(\n 'SEO tag metadata. For example, `{\"height\": 300, \"width\": 240}`.'\n )\n .optional()\n .nullable(),\n children: z\n .string()\n .describe(\n 'SEO tag inner content. For example, `<title> inner content </title>`.'\n )\n .optional(),\n custom: z\n .boolean()\n .describe(\n 'Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages).'\n )\n .optional(),\n disabled: z\n .boolean()\n .describe(\n \"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines.\"\n )\n .optional(),\n })\n )\n .max(100)\n .optional(),\n })\n .describe(\n 'The pattern Wix provides for the page type, which applies whenever the site has no\\npattern of its own.\\n\\nAlways returned, so you can compare a customized pattern with the one it started\\nfrom, and see what a reset would restore.'\n )\n .optional(),\n source: z\n .enum([\n 'PATTERN_SOURCE_UNSPECIFIED',\n 'PATTERN_SOURCE_USER',\n 'PATTERN_SOURCE_DEFAULT',\n ])\n .optional(),\n language: z\n .string()\n .describe(\n \"Language the pattern applies to, as an IETF BCP 47 language tag. For example,\\n`en-US` for U.S. English.\\n\\nA page type has a single pattern, so this reports the site's primary language.\"\n )\n .max(100)\n .optional()\n .nullable(),\n origin: z\n .enum([\n 'ORIGIN_UNSPECIFIED',\n 'ORIGIN_USER',\n 'ORIGIN_MIGRATION',\n 'ORIGIN_AI',\n ])\n .optional(),\n })\n .describe(\n 'Pattern to create for the page type.\\n\\n`pattern` is the only field to send. The page type comes from the request path, and\\nevery other field is read-only. To create a pattern for a single page built from a\\nWix Data collection, set `pageId`.'\n ),\n});\nexport const CreateSeoPatternResponse = z.object({\n _id: z\n .string()\n .describe(\n 'SEO pattern ID, in the format `{pageType}`.\\n\\nFor a pattern that applies to a single page built from a Wix Data collection, the\\nformat is `{pageType}:{pageId}`.'\n )\n .max(400)\n .optional()\n .nullable(),\n pageType: z\n .string()\n .describe(\n \"Page type the pattern applies to. For example, `STATIC_PAGE`, `BLOG_POST`, or\\n`STORES_PRODUCT`.\\n\\nCalling with a page type Wix doesn't recognize fails with `UNSUPPORTED_PAGE_TYPE`,\\nand the error lists the page types that are supported. For a page type provided by a\\nWix app, such as `BLOG_POST`, the app must be installed on the site.\\n\\nPage types aren't the same set as the item types of the Item SEO Tags API: a page\\ntype can support a pattern without supporting tags set per item, and the other way\\nround.\"\n )\n .max(100)\n .optional(),\n pageId: z\n .string()\n .describe(\n 'ID of a single page built from a Wix Data collection, when the pattern applies to\\nthat page alone rather than to the whole page type.\\n\\nSupported only for the `WIX_DATA_PAGE_ITEM` page type. Every other page type has one\\npattern for the type, and passing a page ID for one of those fails with\\n`PAGE_ID_NOT_SUPPORTED`.'\n )\n .max(200)\n .optional()\n .nullable(),\n pattern: z\n .object({\n tags: z\n .array(\n z.object({\n type: z\n .string()\n .describe(\n 'SEO tag type.\\n\\n\\nSupported values: `title`, `meta`, `script`, `link`.'\n )\n .optional(),\n props: z\n .record(z.string(), z.any())\n .describe(\n 'A `{\"key\": \"value\"}` pair object where each SEO tag property (`\"name\"`, `\"content\"`, `\"rel\"`, `\"href\"`) contains a value.\\nFor example: `{\"name\": \"description\", \"content\": \"the description itself\"}`.'\n )\n .optional()\n .nullable(),\n meta: z\n .record(z.string(), z.any())\n .describe(\n 'SEO tag metadata. For example, `{\"height\": 300, \"width\": 240}`.'\n )\n .optional()\n .nullable(),\n children: z\n .string()\n .describe(\n 'SEO tag inner content. For example, `<title> inner content </title>`.'\n )\n .optional(),\n custom: z\n .boolean()\n .describe(\n 'Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages).'\n )\n .optional(),\n disabled: z\n .boolean()\n .describe(\n \"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines.\"\n )\n .optional(),\n })\n )\n .max(100)\n .optional(),\n })\n .describe(\n \"The site's own pattern for the page type, which takes precedence over the Wix\\ndefault.\\n\\nEmpty when the site has no pattern of its own, in which case `defaultPattern`\\napplies. Setting this field replaces the pattern in full, so send the complete set of\\ntag templates you want the page type to have.\"\n )\n .optional(),\n defaultPattern: z\n .object({\n tags: z\n .array(\n z.object({\n type: z\n .string()\n .describe(\n 'SEO tag type.\\n\\n\\nSupported values: `title`, `meta`, `script`, `link`.'\n )\n .optional(),\n props: z\n .record(z.string(), z.any())\n .describe(\n 'A `{\"key\": \"value\"}` pair object where each SEO tag property (`\"name\"`, `\"content\"`, `\"rel\"`, `\"href\"`) contains a value.\\nFor example: `{\"name\": \"description\", \"content\": \"the description itself\"}`.'\n )\n .optional()\n .nullable(),\n meta: z\n .record(z.string(), z.any())\n .describe(\n 'SEO tag metadata. For example, `{\"height\": 300, \"width\": 240}`.'\n )\n .optional()\n .nullable(),\n children: z\n .string()\n .describe(\n 'SEO tag inner content. For example, `<title> inner content </title>`.'\n )\n .optional(),\n custom: z\n .boolean()\n .describe(\n 'Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages).'\n )\n .optional(),\n disabled: z\n .boolean()\n .describe(\n \"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines.\"\n )\n .optional(),\n })\n )\n .max(100)\n .optional(),\n })\n .describe(\n 'The pattern Wix provides for the page type, which applies whenever the site has no\\npattern of its own.\\n\\nAlways returned, so you can compare a customized pattern with the one it started\\nfrom, and see what a reset would restore.'\n )\n .optional(),\n source: z\n .enum([\n 'PATTERN_SOURCE_UNSPECIFIED',\n 'PATTERN_SOURCE_USER',\n 'PATTERN_SOURCE_DEFAULT',\n ])\n .describe(\n \"Which pattern is in effect for the page type: the site's own, or the Wix default.\"\n )\n .optional(),\n language: z\n .string()\n .describe(\n \"Language the pattern applies to, as an IETF BCP 47 language tag. For example,\\n`en-US` for U.S. English.\\n\\nA page type has a single pattern, so this reports the site's primary language.\"\n )\n .max(100)\n .optional()\n .nullable(),\n origin: z\n .enum([\n 'ORIGIN_UNSPECIFIED',\n 'ORIGIN_USER',\n 'ORIGIN_MIGRATION',\n 'ORIGIN_AI',\n ])\n .describe(\n \"What made the most recent change to the pattern, for example a user or the site\\nmigration flow. Derived from the caller, not from the request.\\n\\n`ORIGIN_UNSPECIFIED` when the caller isn't one Wix identifies as a specific origin.\\nOrigin isn't stored with the pattern either, so Get SEO Pattern and List SEO Patterns\\nalways return `ORIGIN_UNSPECIFIED`.\"\n )\n .optional(),\n});\nexport const SetSeoPatternRequest = z.object({\n pageType: z\n .string()\n .describe(\n 'Page type whose pattern to change. For example, `STATIC_PAGE`, `BLOG_POST`, or\\n`STORES_PRODUCT`.'\n )\n .max(100),\n seoPattern: z\n .object({\n _id: z\n .string()\n .describe(\n 'SEO pattern ID, in the format `{pageType}`.\\n\\nFor a pattern that applies to a single page built from a Wix Data collection, the\\nformat is `{pageType}:{pageId}`.'\n )\n .max(400)\n .optional()\n .nullable(),\n pageType: z\n .string()\n .describe(\n \"Page type the pattern applies to. For example, `STATIC_PAGE`, `BLOG_POST`, or\\n`STORES_PRODUCT`.\\n\\nCalling with a page type Wix doesn't recognize fails with `UNSUPPORTED_PAGE_TYPE`,\\nand the error lists the page types that are supported. For a page type provided by a\\nWix app, such as `BLOG_POST`, the app must be installed on the site.\\n\\nPage types aren't the same set as the item types of the Item SEO Tags API: a page\\ntype can support a pattern without supporting tags set per item, and the other way\\nround.\"\n )\n .max(100)\n .optional(),\n pageId: z\n .string()\n .describe(\n 'ID of a single page built from a Wix Data collection, when the pattern applies to\\nthat page alone rather than to the whole page type.\\n\\nSupported only for the `WIX_DATA_PAGE_ITEM` page type. Every other page type has one\\npattern for the type, and passing a page ID for one of those fails with\\n`PAGE_ID_NOT_SUPPORTED`.'\n )\n .max(200)\n .optional()\n .nullable(),\n pattern: z\n .object({\n tags: z\n .array(\n z.object({\n type: z\n .string()\n .describe(\n 'SEO tag type.\\n\\n\\nSupported values: `title`, `meta`, `script`, `link`.'\n )\n .optional(),\n props: z\n .record(z.string(), z.any())\n .describe(\n 'A `{\"key\": \"value\"}` pair object where each SEO tag property (`\"name\"`, `\"content\"`, `\"rel\"`, `\"href\"`) contains a value.\\nFor example: `{\"name\": \"description\", \"content\": \"the description itself\"}`.'\n )\n .optional()\n .nullable(),\n meta: z\n .record(z.string(), z.any())\n .describe(\n 'SEO tag metadata. For example, `{\"height\": 300, \"width\": 240}`.'\n )\n .optional()\n .nullable(),\n children: z\n .string()\n .describe(\n 'SEO tag inner content. For example, `<title> inner content </title>`.'\n )\n .optional(),\n custom: z\n .boolean()\n .describe(\n 'Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages).'\n )\n .optional(),\n disabled: z\n .boolean()\n .describe(\n \"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines.\"\n )\n .optional(),\n })\n )\n .max(100)\n .optional(),\n })\n .describe(\n \"The site's own pattern for the page type, which takes precedence over the Wix\\ndefault.\\n\\nEmpty when the site has no pattern of its own, in which case `defaultPattern`\\napplies. Setting this field replaces the pattern in full, so send the complete set of\\ntag templates you want the page type to have.\"\n )\n .optional(),\n defaultPattern: z\n .object({\n tags: z\n .array(\n z.object({\n type: z\n .string()\n .describe(\n 'SEO tag type.\\n\\n\\nSupported values: `title`, `meta`, `script`, `link`.'\n )\n .optional(),\n props: z\n .record(z.string(), z.any())\n .describe(\n 'A `{\"key\": \"value\"}` pair object where each SEO tag property (`\"name\"`, `\"content\"`, `\"rel\"`, `\"href\"`) contains a value.\\nFor example: `{\"name\": \"description\", \"content\": \"the description itself\"}`.'\n )\n .optional()\n .nullable(),\n meta: z\n .record(z.string(), z.any())\n .describe(\n 'SEO tag metadata. For example, `{\"height\": 300, \"width\": 240}`.'\n )\n .optional()\n .nullable(),\n children: z\n .string()\n .describe(\n 'SEO tag inner content. For example, `<title> inner content </title>`.'\n )\n .optional(),\n custom: z\n .boolean()\n .describe(\n 'Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages).'\n )\n .optional(),\n disabled: z\n .boolean()\n .describe(\n \"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines.\"\n )\n .optional(),\n })\n )\n .max(100)\n .optional(),\n })\n .describe(\n 'The pattern Wix provides for the page type, which applies whenever the site has no\\npattern of its own.\\n\\nAlways returned, so you can compare a customized pattern with the one it started\\nfrom, and see what a reset would restore.'\n )\n .optional(),\n source: z\n .enum([\n 'PATTERN_SOURCE_UNSPECIFIED',\n 'PATTERN_SOURCE_USER',\n 'PATTERN_SOURCE_DEFAULT',\n ])\n .optional(),\n language: z\n .string()\n .describe(\n \"Language the pattern applies to, as an IETF BCP 47 language tag. For example,\\n`en-US` for U.S. English.\\n\\nA page type has a single pattern, so this reports the site's primary language.\"\n )\n .max(100)\n .optional()\n .nullable(),\n origin: z\n .enum([\n 'ORIGIN_UNSPECIFIED',\n 'ORIGIN_USER',\n 'ORIGIN_MIGRATION',\n 'ORIGIN_AI',\n ])\n .optional(),\n })\n .describe(\n \"Pattern to set for the page type.\\n\\n`pattern` is the only writable field, and setting it replaces the page type's tag\\ntemplates in full. Sending an empty pattern clears it, which returns the page type to\\nits Wix default.\"\n ),\n options: z.object({\n fieldMask: z\n .object({ paths: z.array(z.string()) })\n .describe(\n 'Fields to update.\\n\\nRequired, and must name only writable fields. An empty field mask, an unknown field,\\nor a read-only field fails with `INVALID_FIELD_MASK`.'\n ),\n collectionName: z\n .string()\n .describe(\n 'Not supported yet. Passing a value fails with `COLLECTION_NAME_NOT_SUPPORTED`.\\n\\nTo address a single page built from a Wix Data collection, pass its `pageId`.'\n )\n .max(200)\n .optional()\n .nullable(),\n pageId: z\n .string()\n .describe(\n 'ID of a single page built from a Wix Data collection, to change the pattern of that\\npage alone.\\n\\nSupported only for the `WIX_DATA_PAGE_ITEM` page type. Every other page type has one\\npattern for the type, and passing a page ID for one of those fails with\\n`PAGE_ID_NOT_SUPPORTED`.'\n )\n .max(200)\n .optional()\n .nullable(),\n }),\n});\nexport const SetSeoPatternResponse = z.object({\n seoPattern: z\n .object({\n _id: z\n .string()\n .describe(\n 'SEO pattern ID, in the format `{pageType}`.\\n\\nFor a pattern that applies to a single page built from a Wix Data collection, the\\nformat is `{pageType}:{pageId}`.'\n )\n .max(400)\n .optional()\n .nullable(),\n pageType: z\n .string()\n .describe(\n \"Page type the pattern applies to. For example, `STATIC_PAGE`, `BLOG_POST`, or\\n`STORES_PRODUCT`.\\n\\nCalling with a page type Wix doesn't recognize fails with `UNSUPPORTED_PAGE_TYPE`,\\nand the error lists the page types that are supported. For a page type provided by a\\nWix app, such as `BLOG_POST`, the app must be installed on the site.\\n\\nPage types aren't the same set as the item types of the Item SEO Tags API: a page\\ntype can support a pattern without supporting tags set per item, and the other way\\nround.\"\n )\n .max(100)\n .optional(),\n pageId: z\n .string()\n .describe(\n 'ID of a single page built from a Wix Data collection, when the pattern applies to\\nthat page alone rather than to the whole page type.\\n\\nSupported only for the `WIX_DATA_PAGE_ITEM` page type. Every other page type has one\\npattern for the type, and passing a page ID for one of those fails with\\n`PAGE_ID_NOT_SUPPORTED`.'\n )\n .max(200)\n .optional()\n .nullable(),\n pattern: z\n .object({\n tags: z\n .array(\n z.object({\n type: z\n .string()\n .describe(\n 'SEO tag type.\\n\\n\\nSupported values: `title`, `meta`, `script`, `link`.'\n )\n .optional(),\n props: z\n .record(z.string(), z.any())\n .describe(\n 'A `{\"key\": \"value\"}` pair object where each SEO tag property (`\"name\"`, `\"content\"`, `\"rel\"`, `\"href\"`) contains a value.\\nFor example: `{\"name\": \"description\", \"content\": \"the description itself\"}`.'\n )\n .optional()\n .nullable(),\n meta: z\n .record(z.string(), z.any())\n .describe(\n 'SEO tag metadata. For example, `{\"height\": 300, \"width\": 240}`.'\n )\n .optional()\n .nullable(),\n children: z\n .string()\n .describe(\n 'SEO tag inner content. For example, `<title> inner content </title>`.'\n )\n .optional(),\n custom: z\n .boolean()\n .describe(\n 'Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages).'\n )\n .optional(),\n disabled: z\n .boolean()\n .describe(\n \"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines.\"\n )\n .optional(),\n })\n )\n .max(100)\n .optional(),\n })\n .describe(\n \"The site's own pattern for the page type, which takes precedence over the Wix\\ndefault.\\n\\nEmpty when the site has no pattern of its own, in which case `defaultPattern`\\napplies. Setting this field replaces the pattern in full, so send the complete set of\\ntag templates you want the page type to have.\"\n )\n .optional(),\n defaultPattern: z\n .object({\n tags: z\n .array(\n z.object({\n type: z\n .string()\n .describe(\n 'SEO tag type.\\n\\n\\nSupported values: `title`, `meta`, `script`, `link`.'\n )\n .optional(),\n props: z\n .record(z.string(), z.any())\n .describe(\n 'A `{\"key\": \"value\"}` pair object where each SEO tag property (`\"name\"`, `\"content\"`, `\"rel\"`, `\"href\"`) contains a value.\\nFor example: `{\"name\": \"description\", \"content\": \"the description itself\"}`.'\n )\n .optional()\n .nullable(),\n meta: z\n .record(z.string(), z.any())\n .describe(\n 'SEO tag metadata. For example, `{\"height\": 300, \"width\": 240}`.'\n )\n .optional()\n .nullable(),\n children: z\n .string()\n .describe(\n 'SEO tag inner content. For example, `<title> inner content </title>`.'\n )\n .optional(),\n custom: z\n .boolean()\n .describe(\n 'Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages).'\n )\n .optional(),\n disabled: z\n .boolean()\n .describe(\n \"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines.\"\n )\n .optional(),\n })\n )\n .max(100)\n .optional(),\n })\n .describe(\n 'The pattern Wix provides for the page type, which applies whenever the site has no\\npattern of its own.\\n\\nAlways returned, so you can compare a customized pattern with the one it started\\nfrom, and see what a reset would restore.'\n )\n .optional(),\n source: z\n .enum([\n 'PATTERN_SOURCE_UNSPECIFIED',\n 'PATTERN_SOURCE_USER',\n 'PATTERN_SOURCE_DEFAULT',\n ])\n .describe(\n \"Which pattern is in effect for the page type: the site's own, or the Wix default.\"\n )\n .optional(),\n language: z\n .string()\n .describe(\n \"Language the pattern applies to, as an IETF BCP 47 language tag. For example,\\n`en-US` for U.S. English.\\n\\nA page type has a single pattern, so this reports the site's primary language.\"\n )\n .max(100)\n .optional()\n .nullable(),\n origin: z\n .enum([\n 'ORIGIN_UNSPECIFIED',\n 'ORIGIN_USER',\n 'ORIGIN_MIGRATION',\n 'ORIGIN_AI',\n ])\n .describe(\n \"What made the most recent change to the pattern, for example a user or the site\\nmigration flow. Derived from the caller, not from the request.\\n\\n`ORIGIN_UNSPECIFIED` when the caller isn't one Wix identifies as a specific origin.\\nOrigin isn't stored with the pattern either, so Get SEO Pattern and List SEO Patterns\\nalways return `ORIGIN_UNSPECIFIED`.\"\n )\n .optional(),\n })\n .describe('The updated pattern.')\n .optional(),\n});\nexport const ResetSeoPatternToDefaultRequest = z.object({\n pageType: z\n .string()\n .describe(\n 'Page type whose pattern to reset. For example, `STATIC_PAGE`, `BLOG_POST`, or\\n`STORES_PRODUCT`.'\n )\n .max(100),\n options: z\n .object({\n collectionName: z\n .string()\n .describe(\n 'Not supported yet. Passing a value fails with `COLLECTION_NAME_NOT_SUPPORTED`.\\n\\nTo address a single page built from a Wix Data collection, pass its `pageId`.'\n )\n .max(200)\n .optional()\n .nullable(),\n pageId: z\n .string()\n .describe(\n 'ID of a single page built from a Wix Data collection, to reset the pattern of that\\npage alone.\\n\\nSupported only for the `WIX_DATA_PAGE_ITEM` page type. Every other page type has one\\npattern for the type, and passing a page ID for one of those fails with\\n`PAGE_ID_NOT_SUPPORTED`.'\n )\n .max(200)\n .optional()\n .nullable(),\n })\n .optional(),\n});\nexport const ResetSeoPatternToDefaultResponse = z.object({\n seoPattern: z\n .object({\n _id: z\n .string()\n .describe(\n 'SEO pattern ID, in the format `{pageType}`.\\n\\nFor a pattern that applies to a single page built from a Wix Data collection, the\\nformat is `{pageType}:{pageId}`.'\n )\n .max(400)\n .optional()\n .nullable(),\n pageType: z\n .string()\n .describe(\n \"Page type the pattern applies to. For example, `STATIC_PAGE`, `BLOG_POST`, or\\n`STORES_PRODUCT`.\\n\\nCalling with a page type Wix doesn't recognize fails with `UNSUPPORTED_PAGE_TYPE`,\\nand the error lists the page types that are supported. For a page type provided by a\\nWix app, such as `BLOG_POST`, the app must be installed on the site.\\n\\nPage types aren't the same set as the item types of the Item SEO Tags API: a page\\ntype can support a pattern without supporting tags set per item, and the other way\\nround.\"\n )\n .max(100)\n .optional(),\n pageId: z\n .string()\n .describe(\n 'ID of a single page built from a Wix Data collection, when the pattern applies to\\nthat page alone rather than to the whole page type.\\n\\nSupported only for the `WIX_DATA_PAGE_ITEM` page type. Every other page type has one\\npattern for the type, and passing a page ID for one of those fails with\\n`PAGE_ID_NOT_SUPPORTED`.'\n )\n .max(200)\n .optional()\n .nullable(),\n pattern: z\n .object({\n tags: z\n .array(\n z.object({\n type: z\n .string()\n .describe(\n 'SEO tag type.\\n\\n\\nSupported values: `title`, `meta`, `script`, `link`.'\n )\n .optional(),\n props: z\n .record(z.string(), z.any())\n .describe(\n 'A `{\"key\": \"value\"}` pair object where each SEO tag property (`\"name\"`, `\"content\"`, `\"rel\"`, `\"href\"`) contains a value.\\nFor example: `{\"name\": \"description\", \"content\": \"the description itself\"}`.'\n )\n .optional()\n .nullable(),\n meta: z\n .record(z.string(), z.any())\n .describe(\n 'SEO tag metadata. For example, `{\"height\": 300, \"width\": 240}`.'\n )\n .optional()\n .nullable(),\n children: z\n .string()\n .describe(\n 'SEO tag inner content. For example, `<title> inner content </title>`.'\n )\n .optional(),\n custom: z\n .boolean()\n .describe(\n 'Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages).'\n )\n .optional(),\n disabled: z\n .boolean()\n .describe(\n \"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines.\"\n )\n .optional(),\n })\n )\n .max(100)\n .optional(),\n })\n .describe(\n \"The site's own pattern for the page type, which takes precedence over the Wix\\ndefault.\\n\\nEmpty when the site has no pattern of its own, in which case `defaultPattern`\\napplies. Setting this field replaces the pattern in full, so send the complete set of\\ntag templates you want the page type to have.\"\n )\n .optional(),\n defaultPattern: z\n .object({\n tags: z\n .array(\n z.object({\n type: z\n .string()\n .describe(\n 'SEO tag type.\\n\\n\\nSupported values: `title`, `meta`, `script`, `link`.'\n )\n .optional(),\n props: z\n .record(z.string(), z.any())\n .describe(\n 'A `{\"key\": \"value\"}` pair object where each SEO tag property (`\"name\"`, `\"content\"`, `\"rel\"`, `\"href\"`) contains a value.\\nFor example: `{\"name\": \"description\", \"content\": \"the description itself\"}`.'\n )\n .optional()\n .nullable(),\n meta: z\n .record(z.string(), z.any())\n .describe(\n 'SEO tag metadata. For example, `{\"height\": 300, \"width\": 240}`.'\n )\n .optional()\n .nullable(),\n children: z\n .string()\n .describe(\n 'SEO tag inner content. For example, `<title> inner content </title>`.'\n )\n .optional(),\n custom: z\n .boolean()\n .describe(\n 'Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages).'\n )\n .optional(),\n disabled: z\n .boolean()\n .describe(\n \"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines.\"\n )\n .optional(),\n })\n )\n .max(100)\n .optional(),\n })\n .describe(\n 'The pattern Wix provides for the page type, which applies whenever the site has no\\npattern of its own.\\n\\nAlways returned, so you can compare a customized pattern with the one it started\\nfrom, and see what a reset would restore.'\n )\n .optional(),\n source: z\n .enum([\n 'PATTERN_SOURCE_UNSPECIFIED',\n 'PATTERN_SOURCE_USER',\n 'PATTERN_SOURCE_DEFAULT',\n ])\n .describe(\n \"Which pattern is in effect for the page type: the site's own, or the Wix default.\"\n )\n .optional(),\n language: z\n .string()\n .describe(\n \"Language the pattern applies to, as an IETF BCP 47 language tag. For example,\\n`en-US` for U.S. English.\\n\\nA page type has a single pattern, so this reports the site's primary language.\"\n )\n .max(100)\n .optional()\n .nullable(),\n origin: z\n .enum([\n 'ORIGIN_UNSPECIFIED',\n 'ORIGIN_USER',\n 'ORIGIN_MIGRATION',\n 'ORIGIN_AI',\n ])\n .describe(\n \"What made the most recent change to the pattern, for example a user or the site\\nmigration flow. Derived from the caller, not from the request.\\n\\n`ORIGIN_UNSPECIFIED` when the caller isn't one Wix identifies as a specific origin.\\nOrigin isn't stored with the pattern either, so Get SEO Pattern and List SEO Patterns\\nalways return `ORIGIN_UNSPECIFIED`.\"\n )\n .optional(),\n })\n .describe(\n 'The page type after the reset: an empty `pattern`, and `source` of\\n`PATTERN_SOURCE_DEFAULT`.'\n )\n .optional(),\n});\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,QAAmB;AAEZ,IAAM,uBAAyB,SAAO;AAAA,EAC3C,UACG,SAAO,EACP;AAAA,IACC;AAAA,EACF,EACC,IAAI,GAAG;AAAA,EACV,SACG,SAAO;AAAA,IACN,QACG,SAAO,EACP;AAAA,MACC;AAAA,IACF,EACC,IAAI,GAAG,EACP,SAAS,EACT,SAAS;AAAA,IACZ,gBACG,SAAO,EACP;AAAA,MACC;AAAA,IACF,EACC,IAAI,GAAG,EACP,SAAS,EACT,SAAS;AAAA,EACd,CAAC,EACA,SAAS;AACd,CAAC;AACM,IAAM,wBAA0B,SAAO;AAAA,EAC5C,YACG,SAAO;AAAA,IACN,KACG,SAAO,EACP;AAAA,MACC;AAAA,IACF,EACC,IAAI,GAAG,EACP,SAAS,EACT,SAAS;AAAA,IACZ,UACG,SAAO,EACP;AAAA,MACC;AAAA,IACF,EACC,IAAI,GAAG,EACP,SAAS;AAAA,IACZ,QACG,SAAO,EACP;AAAA,MACC;AAAA,IACF,EACC,IAAI,GAAG,EACP,SAAS,EACT,SAAS;AAAA,IACZ,SACG,SAAO;AAAA,MACN,MACG;AAAA,QACG,SAAO;AAAA,UACP,MACG,SAAO,EACP;AAAA,YACC;AAAA,UACF,EACC,SAAS;AAAA,UACZ,OACG,SAAS,SAAO,GAAK,MAAI,CAAC,EAC1B;AAAA,YACC;AAAA,UACF,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SAAS;AAAA,IACZ,QACG,OAAK;AAAA,MACJ;AAAA,MACA;AAAA,MACA;AAAA,IACF,CAAC,EACA;AAAA,MACC;AAAA,IACF,EACC,SAAS;AAAA,IACZ,UACG,SAAO,EACP;AAAA,MACC;AAAA,IACF,EACC,IAAI,GAAG,EACP,SAAS,EACT,SAAS;AAAA,IACZ,QACG,OAAK;AAAA,MACJ;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IACF,CAAC,EACA;AAAA,MACC;AAAA,IACF,EACC,SAAS;AAAA,EACd,CAAC,EACA;AAAA,IACC;AAAA,EACF,EACC,SAAS;AACd,CAAC;","names":[]}
@@ -0,0 +1,141 @@
1
+ import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
2
+ import { GetSeoPatternOptions, GetSeoPatternResponse, GetSeoPatternApplicationErrors, ListSeoPatternsResponse, ListSeoPatternVariablesResponse, ListSeoPatternVariablesApplicationErrors, SeoPattern, CreateSeoPatternApplicationErrors, SetSeoPatternOptions, SetSeoPatternResponse, SetSeoPatternApplicationErrors, ResetSeoPatternToDefaultOptions, ResetSeoPatternToDefaultResponse, ResetSeoPatternToDefaultApplicationErrors } from './index.typings.mjs';
3
+ export { AccountInfo, ActionEvent, CreateSeoPatternRequest, CreateSeoPatternResponse, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, GetSeoPatternRequest, IdentificationData, IdentificationDataIdOneOf, ListSeoPatternVariablesRequest, ListSeoPatternsRequest, MessageEnvelope, Origin, OriginWithLiterals, PatternSource, PatternSourceWithLiterals, ResetSeoPatternToDefaultRequest, RestoreInfo, SeoPatternBlob, SeoPatternVariable, SetSeoPatternRequest, Tag, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.mjs';
4
+
5
+ declare function getSeoPattern$1(httpClient: HttpClient): GetSeoPatternSignature;
6
+ interface GetSeoPatternSignature {
7
+ /**
8
+ * Retrieves the SEO pattern in effect for a page type.
9
+ *
10
+ * The response contains both the site's own pattern, which is empty when the site has
11
+ * none, and the Wix default, with `source` reporting which of the two is in effect. A
12
+ * page type with no pattern of its own isn't an error.
13
+ *
14
+ * Fails with `PAGE_TYPE_NOT_ON_SITE` if the page type comes from a Wix app that isn't
15
+ * installed on the site.
16
+ * @param - Page type whose pattern to retrieve. For example, `STATIC_PAGE`, `BLOG_POST`, or
17
+ * `STORES_PRODUCT`.
18
+ */
19
+ (pageType: string, options?: GetSeoPatternOptions): Promise<NonNullablePaths<GetSeoPatternResponse, `seoPattern.pageType` | `seoPattern.pattern.tags` | `seoPattern.pattern.tags.${number}.type` | `seoPattern.pattern.tags.${number}.children` | `seoPattern.pattern.tags.${number}.custom` | `seoPattern.pattern.tags.${number}.disabled` | `seoPattern.source` | `seoPattern.origin`, 6> & {
20
+ __applicationErrorsType?: GetSeoPatternApplicationErrors;
21
+ }>;
22
+ }
23
+ declare function listSeoPatterns$1(httpClient: HttpClient): ListSeoPatternsSignature;
24
+ interface ListSeoPatternsSignature {
25
+ /**
26
+ * Retrieves the patterns stored for a site, one per page type.
27
+ *
28
+ * Only page types that have had a pattern stored are returned, so this isn't an
29
+ * inventory of a site's page types: a page type still on its Wix default is absent.
30
+ * A page type that was reset to its default remains in the list, with an empty
31
+ * `pattern` and `source` of `PATTERN_SOURCE_DEFAULT`.
32
+ *
33
+ * The response isn't paged. A site has a bounded number of page types, and all of them
34
+ * are returned in one call.
35
+ */
36
+ (): Promise<NonNullablePaths<ListSeoPatternsResponse, `seoPatterns` | `seoPatterns.${number}.pageType` | `seoPatterns.${number}.source` | `seoPatterns.${number}.origin`, 4>>;
37
+ }
38
+ declare function listSeoPatternVariables$1(httpClient: HttpClient): ListSeoPatternVariablesSignature;
39
+ interface ListSeoPatternVariablesSignature {
40
+ /**
41
+ * Retrieves the variables a pattern for a page type may reference.
42
+ *
43
+ * A pattern may reference only the variables its page type offers, so call this method
44
+ * before writing a pattern. A pattern referencing any other variable is rejected with
45
+ * `INVALID_PATTERN`.
46
+ *
47
+ * Variables for the page's own tags and variables for its structured data are returned
48
+ * in separate fields, and a pattern may use either.
49
+ *
50
+ * Fails with `PAGE_TYPE_NOT_ON_SITE` if the page type comes from a Wix app that isn't
51
+ * installed on the site.
52
+ * @param - Page type whose variables to retrieve. For example, `STATIC_PAGE`, `BLOG_POST`, or
53
+ * `STORES_PRODUCT`.
54
+ */
55
+ (pageType: string): Promise<NonNullablePaths<ListSeoPatternVariablesResponse, `variables` | `variables.${number}.key` | `variables.${number}.userVisible` | `structuredDataVariables` | `structuredDataVariables.${number}.key` | `structuredDataVariables.${number}.userVisible`, 4> & {
56
+ __applicationErrorsType?: ListSeoPatternVariablesApplicationErrors;
57
+ }>;
58
+ }
59
+ declare function createSeoPattern$1(httpClient: HttpClient): CreateSeoPatternSignature;
60
+ interface CreateSeoPatternSignature {
61
+ /**
62
+ * Creates a pattern for a page type that's still on its Wix default.
63
+ *
64
+ * The pattern must contain at least one tag. An empty pattern is stored and read back
65
+ * as no pattern at all, so it's rejected rather than saved as a pattern that does
66
+ * nothing. To leave a page type on its Wix default, create nothing for it.
67
+ *
68
+ * To change a pattern that already exists, call Set SEO Pattern. Creating a second
69
+ * pattern for the same page type fails with `PATTERN_ALREADY_EXISTS`.
70
+ *
71
+ * Fails with `PAGE_TYPE_NOT_ON_SITE` if the page type comes from a Wix app that isn't
72
+ * installed on the site.
73
+ * @param - Page type whose pattern to create a pattern for. For example, `STATIC_PAGE`, `BLOG_POST`, or
74
+ * `STORES_PRODUCT`.
75
+ * @param - Pattern to create for the page type.
76
+ *
77
+ * `pattern` is the only field to send. The page type comes from the request path, and
78
+ * every other field is read-only. To create a pattern for a single page built from a
79
+ * Wix Data collection, set `pageId`.
80
+ * @returns The created pattern, with `source` reporting that the site's own pattern is now in
81
+ * effect.
82
+ */
83
+ (pageType: string, seoPattern: SeoPattern): Promise<NonNullablePaths<SeoPattern, `pageType` | `pattern.tags` | `pattern.tags.${number}.type` | `pattern.tags.${number}.children` | `pattern.tags.${number}.custom` | `pattern.tags.${number}.disabled` | `source` | `origin`, 5> & {
84
+ __applicationErrorsType?: CreateSeoPatternApplicationErrors;
85
+ }>;
86
+ }
87
+ declare function setSeoPattern$1(httpClient: HttpClient): SetSeoPatternSignature;
88
+ interface SetSeoPatternSignature {
89
+ /**
90
+ * Changes the pattern a site has for a page type.
91
+ *
92
+ * Setting `pattern` replaces the page type's tag templates in full, so retrieve the
93
+ * pattern first and send back the complete set you want it to have. Sending an empty
94
+ * pattern clears it, which returns the page type to its Wix default.
95
+ *
96
+ * This method changes a pattern that already exists rather than creating one, so a page
97
+ * type still on its Wix default fails with `PATTERN_NOT_FOUND`. Call Create SEO Pattern
98
+ * for it instead.
99
+ *
100
+ * A pattern has no revision, and the site's SEO settings in the dashboard write to the
101
+ * same pattern. The last write wins, so retrieve the pattern immediately before writing
102
+ * it.
103
+ * @param - Page type whose pattern to change. For example, `STATIC_PAGE`, `BLOG_POST`, or
104
+ * `STORES_PRODUCT`.
105
+ * @param - Pattern to set for the page type.
106
+ *
107
+ * `pattern` is the only writable field, and setting it replaces the page type's tag
108
+ * templates in full. Sending an empty pattern clears it, which returns the page type to
109
+ * its Wix default.
110
+ */
111
+ (pageType: string, seoPattern: SeoPattern, options?: NonNullablePaths<SetSeoPatternOptions, `fieldMask`, 2>): Promise<NonNullablePaths<SetSeoPatternResponse, `seoPattern.pageType` | `seoPattern.pattern.tags` | `seoPattern.pattern.tags.${number}.type` | `seoPattern.pattern.tags.${number}.children` | `seoPattern.pattern.tags.${number}.custom` | `seoPattern.pattern.tags.${number}.disabled` | `seoPattern.source` | `seoPattern.origin`, 6> & {
112
+ __applicationErrorsType?: SetSeoPatternApplicationErrors;
113
+ }>;
114
+ }
115
+ declare function resetSeoPatternToDefault$1(httpClient: HttpClient): ResetSeoPatternToDefaultSignature;
116
+ interface ResetSeoPatternToDefaultSignature {
117
+ /**
118
+ * Removes the pattern a site has for a page type, so the Wix default applies again.
119
+ *
120
+ * The response reports the page type after the reset, with an empty `pattern` and
121
+ * `source` of `PATTERN_SOURCE_DEFAULT`. The page type remains in the response of List
122
+ * SEO Patterns, with the same empty pattern.
123
+ *
124
+ * Fails with `PATTERN_NOT_FOUND` if the page type is already on its Wix default, so
125
+ * there's nothing to reset.
126
+ * @param - Page type whose pattern to reset. For example, `STATIC_PAGE`, `BLOG_POST`, or
127
+ * `STORES_PRODUCT`.
128
+ */
129
+ (pageType: string, options?: ResetSeoPatternToDefaultOptions): Promise<NonNullablePaths<ResetSeoPatternToDefaultResponse, `seoPattern.pageType` | `seoPattern.pattern.tags` | `seoPattern.pattern.tags.${number}.type` | `seoPattern.pattern.tags.${number}.children` | `seoPattern.pattern.tags.${number}.custom` | `seoPattern.pattern.tags.${number}.disabled` | `seoPattern.source` | `seoPattern.origin`, 6> & {
130
+ __applicationErrorsType?: ResetSeoPatternToDefaultApplicationErrors;
131
+ }>;
132
+ }
133
+
134
+ declare const getSeoPattern: MaybeContext<BuildRESTFunction<typeof getSeoPattern$1> & typeof getSeoPattern$1>;
135
+ declare const listSeoPatterns: MaybeContext<BuildRESTFunction<typeof listSeoPatterns$1> & typeof listSeoPatterns$1>;
136
+ declare const listSeoPatternVariables: MaybeContext<BuildRESTFunction<typeof listSeoPatternVariables$1> & typeof listSeoPatternVariables$1>;
137
+ declare const createSeoPattern: MaybeContext<BuildRESTFunction<typeof createSeoPattern$1> & typeof createSeoPattern$1>;
138
+ declare const setSeoPattern: MaybeContext<BuildRESTFunction<typeof setSeoPattern$1> & typeof setSeoPattern$1>;
139
+ declare const resetSeoPatternToDefault: MaybeContext<BuildRESTFunction<typeof resetSeoPatternToDefault$1> & typeof resetSeoPatternToDefault$1>;
140
+
141
+ export { CreateSeoPatternApplicationErrors, GetSeoPatternApplicationErrors, GetSeoPatternOptions, GetSeoPatternResponse, ListSeoPatternVariablesApplicationErrors, ListSeoPatternVariablesResponse, ListSeoPatternsResponse, ResetSeoPatternToDefaultApplicationErrors, ResetSeoPatternToDefaultOptions, ResetSeoPatternToDefaultResponse, SeoPattern, SetSeoPatternApplicationErrors, SetSeoPatternOptions, SetSeoPatternResponse, createSeoPattern, getSeoPattern, listSeoPatternVariables, listSeoPatterns, resetSeoPatternToDefault, setSeoPattern };