@wix/auto_sdk_restaurants_menus 1.0.78 → 1.0.80
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.js +8 -10
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +37 -8
- package/build/cjs/index.typings.js +1 -3
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +36 -3
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.js +46 -46
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.mjs +8 -10
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +37 -8
- package/build/es/index.typings.mjs +1 -3
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +36 -3
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.mjs +46 -46
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.js +8 -10
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +37 -8
- package/build/internal/cjs/index.typings.js +1 -3
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +36 -3
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.js +46 -46
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.mjs +8 -10
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +37 -8
- package/build/internal/es/index.typings.mjs +1 -3
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +36 -3
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.mjs +46 -46
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +3 -3
package/build/es/schemas.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// src/restaurants-menus-v1-menu-menus.schemas.ts
|
|
2
2
|
import * as z from "zod";
|
|
3
|
-
var CreateMenuRequest = z.object({
|
|
3
|
+
var CreateMenuRequest = /* @__PURE__ */ z.object({
|
|
4
4
|
menu: z.object({
|
|
5
5
|
_id: z.string().describe("Menu ID.").regex(
|
|
6
6
|
/^[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}$/,
|
|
@@ -27,7 +27,7 @@ var CreateMenuRequest = z.object({
|
|
|
27
27
|
tags: z.array(
|
|
28
28
|
z.object({
|
|
29
29
|
type: z.string().describe(
|
|
30
|
-
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link`."
|
|
30
|
+
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link`.\n\nWhich of these an API actually accepts depends on where the tag is being set: this\nlist is not a blanket guarantee across every API that reuses this message. Site SEO\nTags in particular accepts only `meta` (see `SiteSeoTags.tags`) and rejects\n`title`/`script`/`link` with a validation error even though they appear here \u2014\ncheck the field description of the specific `tags`-typed field you're writing to\nfor the types it actually supports and the error it returns.\n\nLimitation: `title` and `script` (e.g. a `script` tag with `props.type`\n`\"application/ld+json\"` carrying structured data) are supported only when\n`custom` is unset or `false`. Setting `custom: true` on a `title` or `script`\ntag is rejected with `TAG_TYPE_NOT_ALLOWED`, because `custom: true` routes the\nwrite through the site's Advanced/Custom Tags list. To write structured data,\nomit `custom` (or set it to `false`)."
|
|
31
31
|
).optional(),
|
|
32
32
|
props: z.record(z.string(), z.any()).describe(
|
|
33
33
|
'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"}`.'
|
|
@@ -39,7 +39,7 @@ var CreateMenuRequest = z.object({
|
|
|
39
39
|
"SEO tag inner content. For example, `<title> inner content </title>`."
|
|
40
40
|
).optional(),
|
|
41
41
|
custom: z.boolean().describe(
|
|
42
|
-
|
|
42
|
+
"Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) \u2014\ni.e. an entry from the site's Advanced/Custom Tags list.\n\nSetting this to `true` on a write restricts which `type` values are accepted\n\u2014 the same restriction the Advanced/Custom Tags UI enforces. `title` and\n`script` tags (including JSON-LD structured data) must be sent with `custom`\nomitted or `false`; sending them with `custom: true` is rejected with\n`TAG_TYPE_NOT_ALLOWED`.\n\nNote this is a separate restriction from Site SEO Tags' own type restriction on\n`SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags rejects `script` (e.g.\nfor site-wide structured data) unconditionally. There is currently no way to set\nsite-wide, every-page structured data through any of these APIs \u2014 write a per-page\n`script` tag through the Item SEO Tags API instead.\n\nThis flag is scoped to that feature only. It is NOT an indicator of whether a standard tag\n(`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed\ndefault/pattern \u2014 standard tags always resolve with `custom: false`, even when their content comes\nfrom a page's manually saved SEO title/description override. Don't use this field to verify whether\na live page reflects a manual per-page SEO edit.\n\nLimitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read\nonly from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor\nor Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the\nresponse entirely \u2014 there, `false` means this API could not tell, not that no custom tag exists.\nPass `seoData` explicitly to resolve against a known set of tags."
|
|
43
43
|
).optional(),
|
|
44
44
|
disabled: z.boolean().describe(
|
|
45
45
|
"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
|
|
@@ -71,7 +71,7 @@ var CreateMenuRequest = z.object({
|
|
|
71
71
|
).optional().nullable()
|
|
72
72
|
}).describe("Menu details.")
|
|
73
73
|
});
|
|
74
|
-
var CreateMenuResponse = z.object({
|
|
74
|
+
var CreateMenuResponse = /* @__PURE__ */ z.object({
|
|
75
75
|
_id: z.string().describe("Menu ID.").regex(
|
|
76
76
|
/^[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}$/,
|
|
77
77
|
"Must be a valid GUID"
|
|
@@ -97,7 +97,7 @@ var CreateMenuResponse = z.object({
|
|
|
97
97
|
tags: z.array(
|
|
98
98
|
z.object({
|
|
99
99
|
type: z.string().describe(
|
|
100
|
-
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link`."
|
|
100
|
+
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link`.\n\nWhich of these an API actually accepts depends on where the tag is being set: this\nlist is not a blanket guarantee across every API that reuses this message. Site SEO\nTags in particular accepts only `meta` (see `SiteSeoTags.tags`) and rejects\n`title`/`script`/`link` with a validation error even though they appear here \u2014\ncheck the field description of the specific `tags`-typed field you're writing to\nfor the types it actually supports and the error it returns.\n\nLimitation: `title` and `script` (e.g. a `script` tag with `props.type`\n`\"application/ld+json\"` carrying structured data) are supported only when\n`custom` is unset or `false`. Setting `custom: true` on a `title` or `script`\ntag is rejected with `TAG_TYPE_NOT_ALLOWED`, because `custom: true` routes the\nwrite through the site's Advanced/Custom Tags list. To write structured data,\nomit `custom` (or set it to `false`)."
|
|
101
101
|
).optional(),
|
|
102
102
|
props: z.record(z.string(), z.any()).describe(
|
|
103
103
|
'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"}`.'
|
|
@@ -109,7 +109,7 @@ var CreateMenuResponse = z.object({
|
|
|
109
109
|
"SEO tag inner content. For example, `<title> inner content </title>`."
|
|
110
110
|
).optional(),
|
|
111
111
|
custom: z.boolean().describe(
|
|
112
|
-
|
|
112
|
+
"Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) \u2014\ni.e. an entry from the site's Advanced/Custom Tags list.\n\nSetting this to `true` on a write restricts which `type` values are accepted\n\u2014 the same restriction the Advanced/Custom Tags UI enforces. `title` and\n`script` tags (including JSON-LD structured data) must be sent with `custom`\nomitted or `false`; sending them with `custom: true` is rejected with\n`TAG_TYPE_NOT_ALLOWED`.\n\nNote this is a separate restriction from Site SEO Tags' own type restriction on\n`SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags rejects `script` (e.g.\nfor site-wide structured data) unconditionally. There is currently no way to set\nsite-wide, every-page structured data through any of these APIs \u2014 write a per-page\n`script` tag through the Item SEO Tags API instead.\n\nThis flag is scoped to that feature only. It is NOT an indicator of whether a standard tag\n(`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed\ndefault/pattern \u2014 standard tags always resolve with `custom: false`, even when their content comes\nfrom a page's manually saved SEO title/description override. Don't use this field to verify whether\na live page reflects a manual per-page SEO edit.\n\nLimitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read\nonly from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor\nor Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the\nresponse entirely \u2014 there, `false` means this API could not tell, not that no custom tag exists.\nPass `seoData` explicitly to resolve against a known set of tags."
|
|
113
113
|
).optional(),
|
|
114
114
|
disabled: z.boolean().describe(
|
|
115
115
|
"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
|
|
@@ -138,7 +138,7 @@ var CreateMenuResponse = z.object({
|
|
|
138
138
|
"Must be a valid GUID"
|
|
139
139
|
).optional().nullable()
|
|
140
140
|
});
|
|
141
|
-
var BulkCreateMenusRequest = z.object({
|
|
141
|
+
var BulkCreateMenusRequest = /* @__PURE__ */ z.object({
|
|
142
142
|
menus: z.array(
|
|
143
143
|
z.object({
|
|
144
144
|
_id: z.string().describe("Menu ID.").regex(
|
|
@@ -166,7 +166,7 @@ var BulkCreateMenusRequest = z.object({
|
|
|
166
166
|
tags: z.array(
|
|
167
167
|
z.object({
|
|
168
168
|
type: z.string().describe(
|
|
169
|
-
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link`."
|
|
169
|
+
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link`.\n\nWhich of these an API actually accepts depends on where the tag is being set: this\nlist is not a blanket guarantee across every API that reuses this message. Site SEO\nTags in particular accepts only `meta` (see `SiteSeoTags.tags`) and rejects\n`title`/`script`/`link` with a validation error even though they appear here \u2014\ncheck the field description of the specific `tags`-typed field you're writing to\nfor the types it actually supports and the error it returns.\n\nLimitation: `title` and `script` (e.g. a `script` tag with `props.type`\n`\"application/ld+json\"` carrying structured data) are supported only when\n`custom` is unset or `false`. Setting `custom: true` on a `title` or `script`\ntag is rejected with `TAG_TYPE_NOT_ALLOWED`, because `custom: true` routes the\nwrite through the site's Advanced/Custom Tags list. To write structured data,\nomit `custom` (or set it to `false`)."
|
|
170
170
|
).optional(),
|
|
171
171
|
props: z.record(z.string(), z.any()).describe(
|
|
172
172
|
'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"}`.'
|
|
@@ -178,7 +178,7 @@ var BulkCreateMenusRequest = z.object({
|
|
|
178
178
|
"SEO tag inner content. For example, `<title> inner content </title>`."
|
|
179
179
|
).optional(),
|
|
180
180
|
custom: z.boolean().describe(
|
|
181
|
-
|
|
181
|
+
"Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) \u2014\ni.e. an entry from the site's Advanced/Custom Tags list.\n\nSetting this to `true` on a write restricts which `type` values are accepted\n\u2014 the same restriction the Advanced/Custom Tags UI enforces. `title` and\n`script` tags (including JSON-LD structured data) must be sent with `custom`\nomitted or `false`; sending them with `custom: true` is rejected with\n`TAG_TYPE_NOT_ALLOWED`.\n\nNote this is a separate restriction from Site SEO Tags' own type restriction on\n`SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags rejects `script` (e.g.\nfor site-wide structured data) unconditionally. There is currently no way to set\nsite-wide, every-page structured data through any of these APIs \u2014 write a per-page\n`script` tag through the Item SEO Tags API instead.\n\nThis flag is scoped to that feature only. It is NOT an indicator of whether a standard tag\n(`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed\ndefault/pattern \u2014 standard tags always resolve with `custom: false`, even when their content comes\nfrom a page's manually saved SEO title/description override. Don't use this field to verify whether\na live page reflects a manual per-page SEO edit.\n\nLimitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read\nonly from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor\nor Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the\nresponse entirely \u2014 there, `false` means this API could not tell, not that no custom tag exists.\nPass `seoData` explicitly to resolve against a known set of tags."
|
|
182
182
|
).optional(),
|
|
183
183
|
disabled: z.boolean().describe(
|
|
184
184
|
"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
|
|
@@ -214,7 +214,7 @@ var BulkCreateMenusRequest = z.object({
|
|
|
214
214
|
returnEntity: z.boolean().describe("Whether to receive the created menus in the response.").optional()
|
|
215
215
|
}).optional()
|
|
216
216
|
});
|
|
217
|
-
var BulkCreateMenusResponse = z.object({
|
|
217
|
+
var BulkCreateMenusResponse = /* @__PURE__ */ z.object({
|
|
218
218
|
results: z.array(
|
|
219
219
|
z.object({
|
|
220
220
|
menuMetadata: z.object({
|
|
@@ -259,7 +259,7 @@ var BulkCreateMenusResponse = z.object({
|
|
|
259
259
|
tags: z.array(
|
|
260
260
|
z.object({
|
|
261
261
|
type: z.string().describe(
|
|
262
|
-
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link`."
|
|
262
|
+
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link`.\n\nWhich of these an API actually accepts depends on where the tag is being set: this\nlist is not a blanket guarantee across every API that reuses this message. Site SEO\nTags in particular accepts only `meta` (see `SiteSeoTags.tags`) and rejects\n`title`/`script`/`link` with a validation error even though they appear here \u2014\ncheck the field description of the specific `tags`-typed field you're writing to\nfor the types it actually supports and the error it returns.\n\nLimitation: `title` and `script` (e.g. a `script` tag with `props.type`\n`\"application/ld+json\"` carrying structured data) are supported only when\n`custom` is unset or `false`. Setting `custom: true` on a `title` or `script`\ntag is rejected with `TAG_TYPE_NOT_ALLOWED`, because `custom: true` routes the\nwrite through the site's Advanced/Custom Tags list. To write structured data,\nomit `custom` (or set it to `false`)."
|
|
263
263
|
).optional(),
|
|
264
264
|
props: z.record(z.string(), z.any()).describe(
|
|
265
265
|
'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"}`.'
|
|
@@ -271,7 +271,7 @@ var BulkCreateMenusResponse = z.object({
|
|
|
271
271
|
"SEO tag inner content. For example, `<title> inner content </title>`."
|
|
272
272
|
).optional(),
|
|
273
273
|
custom: z.boolean().describe(
|
|
274
|
-
|
|
274
|
+
"Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) \u2014\ni.e. an entry from the site's Advanced/Custom Tags list.\n\nSetting this to `true` on a write restricts which `type` values are accepted\n\u2014 the same restriction the Advanced/Custom Tags UI enforces. `title` and\n`script` tags (including JSON-LD structured data) must be sent with `custom`\nomitted or `false`; sending them with `custom: true` is rejected with\n`TAG_TYPE_NOT_ALLOWED`.\n\nNote this is a separate restriction from Site SEO Tags' own type restriction on\n`SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags rejects `script` (e.g.\nfor site-wide structured data) unconditionally. There is currently no way to set\nsite-wide, every-page structured data through any of these APIs \u2014 write a per-page\n`script` tag through the Item SEO Tags API instead.\n\nThis flag is scoped to that feature only. It is NOT an indicator of whether a standard tag\n(`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed\ndefault/pattern \u2014 standard tags always resolve with `custom: false`, even when their content comes\nfrom a page's manually saved SEO title/description override. Don't use this field to verify whether\na live page reflects a manual per-page SEO edit.\n\nLimitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read\nonly from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor\nor Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the\nresponse entirely \u2014 there, `false` means this API could not tell, not that no custom tag exists.\nPass `seoData` explicitly to resolve against a known set of tags."
|
|
275
275
|
).optional(),
|
|
276
276
|
disabled: z.boolean().describe(
|
|
277
277
|
"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
|
|
@@ -312,13 +312,13 @@ var BulkCreateMenusResponse = z.object({
|
|
|
312
312
|
).optional()
|
|
313
313
|
}).describe("Metadata for the API call.").optional()
|
|
314
314
|
});
|
|
315
|
-
var GetMenuRequest = z.object({
|
|
315
|
+
var GetMenuRequest = /* @__PURE__ */ z.object({
|
|
316
316
|
menuId: z.string().describe("Menu ID.").regex(
|
|
317
317
|
/^[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}$/,
|
|
318
318
|
"Must be a valid GUID"
|
|
319
319
|
)
|
|
320
320
|
});
|
|
321
|
-
var GetMenuResponse = z.object({
|
|
321
|
+
var GetMenuResponse = /* @__PURE__ */ z.object({
|
|
322
322
|
_id: z.string().describe("Menu ID.").regex(
|
|
323
323
|
/^[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}$/,
|
|
324
324
|
"Must be a valid GUID"
|
|
@@ -344,7 +344,7 @@ var GetMenuResponse = z.object({
|
|
|
344
344
|
tags: z.array(
|
|
345
345
|
z.object({
|
|
346
346
|
type: z.string().describe(
|
|
347
|
-
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link`."
|
|
347
|
+
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link`.\n\nWhich of these an API actually accepts depends on where the tag is being set: this\nlist is not a blanket guarantee across every API that reuses this message. Site SEO\nTags in particular accepts only `meta` (see `SiteSeoTags.tags`) and rejects\n`title`/`script`/`link` with a validation error even though they appear here \u2014\ncheck the field description of the specific `tags`-typed field you're writing to\nfor the types it actually supports and the error it returns.\n\nLimitation: `title` and `script` (e.g. a `script` tag with `props.type`\n`\"application/ld+json\"` carrying structured data) are supported only when\n`custom` is unset or `false`. Setting `custom: true` on a `title` or `script`\ntag is rejected with `TAG_TYPE_NOT_ALLOWED`, because `custom: true` routes the\nwrite through the site's Advanced/Custom Tags list. To write structured data,\nomit `custom` (or set it to `false`)."
|
|
348
348
|
).optional(),
|
|
349
349
|
props: z.record(z.string(), z.any()).describe(
|
|
350
350
|
'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"}`.'
|
|
@@ -356,7 +356,7 @@ var GetMenuResponse = z.object({
|
|
|
356
356
|
"SEO tag inner content. For example, `<title> inner content </title>`."
|
|
357
357
|
).optional(),
|
|
358
358
|
custom: z.boolean().describe(
|
|
359
|
-
|
|
359
|
+
"Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) \u2014\ni.e. an entry from the site's Advanced/Custom Tags list.\n\nSetting this to `true` on a write restricts which `type` values are accepted\n\u2014 the same restriction the Advanced/Custom Tags UI enforces. `title` and\n`script` tags (including JSON-LD structured data) must be sent with `custom`\nomitted or `false`; sending them with `custom: true` is rejected with\n`TAG_TYPE_NOT_ALLOWED`.\n\nNote this is a separate restriction from Site SEO Tags' own type restriction on\n`SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags rejects `script` (e.g.\nfor site-wide structured data) unconditionally. There is currently no way to set\nsite-wide, every-page structured data through any of these APIs \u2014 write a per-page\n`script` tag through the Item SEO Tags API instead.\n\nThis flag is scoped to that feature only. It is NOT an indicator of whether a standard tag\n(`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed\ndefault/pattern \u2014 standard tags always resolve with `custom: false`, even when their content comes\nfrom a page's manually saved SEO title/description override. Don't use this field to verify whether\na live page reflects a manual per-page SEO edit.\n\nLimitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read\nonly from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor\nor Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the\nresponse entirely \u2014 there, `false` means this API could not tell, not that no custom tag exists.\nPass `seoData` explicitly to resolve against a known set of tags."
|
|
360
360
|
).optional(),
|
|
361
361
|
disabled: z.boolean().describe(
|
|
362
362
|
"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
|
|
@@ -385,7 +385,7 @@ var GetMenuResponse = z.object({
|
|
|
385
385
|
"Must be a valid GUID"
|
|
386
386
|
).optional().nullable()
|
|
387
387
|
});
|
|
388
|
-
var ListMenusRequest = z.object({
|
|
388
|
+
var ListMenusRequest = /* @__PURE__ */ z.object({
|
|
389
389
|
options: z.object({
|
|
390
390
|
menuIds: z.array(z.string()).max(500).optional(),
|
|
391
391
|
paging: z.object({
|
|
@@ -399,7 +399,7 @@ var ListMenusRequest = z.object({
|
|
|
399
399
|
).optional().nullable()
|
|
400
400
|
}).optional()
|
|
401
401
|
});
|
|
402
|
-
var ListMenusResponse = z.object({
|
|
402
|
+
var ListMenusResponse = /* @__PURE__ */ z.object({
|
|
403
403
|
menus: z.array(
|
|
404
404
|
z.object({
|
|
405
405
|
_id: z.string().describe("Menu ID.").regex(
|
|
@@ -427,7 +427,7 @@ var ListMenusResponse = z.object({
|
|
|
427
427
|
tags: z.array(
|
|
428
428
|
z.object({
|
|
429
429
|
type: z.string().describe(
|
|
430
|
-
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link`."
|
|
430
|
+
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link`.\n\nWhich of these an API actually accepts depends on where the tag is being set: this\nlist is not a blanket guarantee across every API that reuses this message. Site SEO\nTags in particular accepts only `meta` (see `SiteSeoTags.tags`) and rejects\n`title`/`script`/`link` with a validation error even though they appear here \u2014\ncheck the field description of the specific `tags`-typed field you're writing to\nfor the types it actually supports and the error it returns.\n\nLimitation: `title` and `script` (e.g. a `script` tag with `props.type`\n`\"application/ld+json\"` carrying structured data) are supported only when\n`custom` is unset or `false`. Setting `custom: true` on a `title` or `script`\ntag is rejected with `TAG_TYPE_NOT_ALLOWED`, because `custom: true` routes the\nwrite through the site's Advanced/Custom Tags list. To write structured data,\nomit `custom` (or set it to `false`)."
|
|
431
431
|
).optional(),
|
|
432
432
|
props: z.record(z.string(), z.any()).describe(
|
|
433
433
|
'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"}`.'
|
|
@@ -439,7 +439,7 @@ var ListMenusResponse = z.object({
|
|
|
439
439
|
"SEO tag inner content. For example, `<title> inner content </title>`."
|
|
440
440
|
).optional(),
|
|
441
441
|
custom: z.boolean().describe(
|
|
442
|
-
|
|
442
|
+
"Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) \u2014\ni.e. an entry from the site's Advanced/Custom Tags list.\n\nSetting this to `true` on a write restricts which `type` values are accepted\n\u2014 the same restriction the Advanced/Custom Tags UI enforces. `title` and\n`script` tags (including JSON-LD structured data) must be sent with `custom`\nomitted or `false`; sending them with `custom: true` is rejected with\n`TAG_TYPE_NOT_ALLOWED`.\n\nNote this is a separate restriction from Site SEO Tags' own type restriction on\n`SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags rejects `script` (e.g.\nfor site-wide structured data) unconditionally. There is currently no way to set\nsite-wide, every-page structured data through any of these APIs \u2014 write a per-page\n`script` tag through the Item SEO Tags API instead.\n\nThis flag is scoped to that feature only. It is NOT an indicator of whether a standard tag\n(`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed\ndefault/pattern \u2014 standard tags always resolve with `custom: false`, even when their content comes\nfrom a page's manually saved SEO title/description override. Don't use this field to verify whether\na live page reflects a manual per-page SEO edit.\n\nLimitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read\nonly from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor\nor Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the\nresponse entirely \u2014 there, `false` means this API could not tell, not that no custom tag exists.\nPass `seoData` explicitly to resolve against a known set of tags."
|
|
443
443
|
).optional(),
|
|
444
444
|
disabled: z.boolean().describe(
|
|
445
445
|
"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
|
|
@@ -484,7 +484,7 @@ var ListMenusResponse = z.object({
|
|
|
484
484
|
).optional().nullable()
|
|
485
485
|
}).describe("The metadata of the paginated results.").optional()
|
|
486
486
|
});
|
|
487
|
-
var QueryMenusRequest = z.object({
|
|
487
|
+
var QueryMenusRequest = /* @__PURE__ */ z.object({
|
|
488
488
|
query: z.object({
|
|
489
489
|
filter: z.object({
|
|
490
490
|
_id: z.object({
|
|
@@ -550,7 +550,7 @@ var QueryMenusRequest = z.object({
|
|
|
550
550
|
).optional()
|
|
551
551
|
}).catchall(z.any()).describe("Query options.")
|
|
552
552
|
});
|
|
553
|
-
var QueryMenusResponse = z.object({
|
|
553
|
+
var QueryMenusResponse = /* @__PURE__ */ z.object({
|
|
554
554
|
menus: z.array(
|
|
555
555
|
z.object({
|
|
556
556
|
_id: z.string().describe("Menu ID.").regex(
|
|
@@ -578,7 +578,7 @@ var QueryMenusResponse = z.object({
|
|
|
578
578
|
tags: z.array(
|
|
579
579
|
z.object({
|
|
580
580
|
type: z.string().describe(
|
|
581
|
-
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link`."
|
|
581
|
+
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link`.\n\nWhich of these an API actually accepts depends on where the tag is being set: this\nlist is not a blanket guarantee across every API that reuses this message. Site SEO\nTags in particular accepts only `meta` (see `SiteSeoTags.tags`) and rejects\n`title`/`script`/`link` with a validation error even though they appear here \u2014\ncheck the field description of the specific `tags`-typed field you're writing to\nfor the types it actually supports and the error it returns.\n\nLimitation: `title` and `script` (e.g. a `script` tag with `props.type`\n`\"application/ld+json\"` carrying structured data) are supported only when\n`custom` is unset or `false`. Setting `custom: true` on a `title` or `script`\ntag is rejected with `TAG_TYPE_NOT_ALLOWED`, because `custom: true` routes the\nwrite through the site's Advanced/Custom Tags list. To write structured data,\nomit `custom` (or set it to `false`)."
|
|
582
582
|
).optional(),
|
|
583
583
|
props: z.record(z.string(), z.any()).describe(
|
|
584
584
|
'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"}`.'
|
|
@@ -590,7 +590,7 @@ var QueryMenusResponse = z.object({
|
|
|
590
590
|
"SEO tag inner content. For example, `<title> inner content </title>`."
|
|
591
591
|
).optional(),
|
|
592
592
|
custom: z.boolean().describe(
|
|
593
|
-
|
|
593
|
+
"Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) \u2014\ni.e. an entry from the site's Advanced/Custom Tags list.\n\nSetting this to `true` on a write restricts which `type` values are accepted\n\u2014 the same restriction the Advanced/Custom Tags UI enforces. `title` and\n`script` tags (including JSON-LD structured data) must be sent with `custom`\nomitted or `false`; sending them with `custom: true` is rejected with\n`TAG_TYPE_NOT_ALLOWED`.\n\nNote this is a separate restriction from Site SEO Tags' own type restriction on\n`SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags rejects `script` (e.g.\nfor site-wide structured data) unconditionally. There is currently no way to set\nsite-wide, every-page structured data through any of these APIs \u2014 write a per-page\n`script` tag through the Item SEO Tags API instead.\n\nThis flag is scoped to that feature only. It is NOT an indicator of whether a standard tag\n(`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed\ndefault/pattern \u2014 standard tags always resolve with `custom: false`, even when their content comes\nfrom a page's manually saved SEO title/description override. Don't use this field to verify whether\na live page reflects a manual per-page SEO edit.\n\nLimitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read\nonly from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor\nor Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the\nresponse entirely \u2014 there, `false` means this API could not tell, not that no custom tag exists.\nPass `seoData` explicitly to resolve against a known set of tags."
|
|
594
594
|
).optional(),
|
|
595
595
|
disabled: z.boolean().describe(
|
|
596
596
|
"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
|
|
@@ -635,7 +635,7 @@ var QueryMenusResponse = z.object({
|
|
|
635
635
|
).optional().nullable()
|
|
636
636
|
}).describe("The metadata of the paginated results.").optional()
|
|
637
637
|
});
|
|
638
|
-
var UpdateMenuRequest = z.object({
|
|
638
|
+
var UpdateMenuRequest = /* @__PURE__ */ z.object({
|
|
639
639
|
_id: z.string().describe("Menu ID.").regex(
|
|
640
640
|
/^[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}$/,
|
|
641
641
|
"Must be a valid GUID"
|
|
@@ -666,7 +666,7 @@ var UpdateMenuRequest = z.object({
|
|
|
666
666
|
tags: z.array(
|
|
667
667
|
z.object({
|
|
668
668
|
type: z.string().describe(
|
|
669
|
-
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link`."
|
|
669
|
+
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link`.\n\nWhich of these an API actually accepts depends on where the tag is being set: this\nlist is not a blanket guarantee across every API that reuses this message. Site SEO\nTags in particular accepts only `meta` (see `SiteSeoTags.tags`) and rejects\n`title`/`script`/`link` with a validation error even though they appear here \u2014\ncheck the field description of the specific `tags`-typed field you're writing to\nfor the types it actually supports and the error it returns.\n\nLimitation: `title` and `script` (e.g. a `script` tag with `props.type`\n`\"application/ld+json\"` carrying structured data) are supported only when\n`custom` is unset or `false`. Setting `custom: true` on a `title` or `script`\ntag is rejected with `TAG_TYPE_NOT_ALLOWED`, because `custom: true` routes the\nwrite through the site's Advanced/Custom Tags list. To write structured data,\nomit `custom` (or set it to `false`)."
|
|
670
670
|
).optional(),
|
|
671
671
|
props: z.record(z.string(), z.any()).describe(
|
|
672
672
|
'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"}`.'
|
|
@@ -678,7 +678,7 @@ var UpdateMenuRequest = z.object({
|
|
|
678
678
|
"SEO tag inner content. For example, `<title> inner content </title>`."
|
|
679
679
|
).optional(),
|
|
680
680
|
custom: z.boolean().describe(
|
|
681
|
-
|
|
681
|
+
"Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) \u2014\ni.e. an entry from the site's Advanced/Custom Tags list.\n\nSetting this to `true` on a write restricts which `type` values are accepted\n\u2014 the same restriction the Advanced/Custom Tags UI enforces. `title` and\n`script` tags (including JSON-LD structured data) must be sent with `custom`\nomitted or `false`; sending them with `custom: true` is rejected with\n`TAG_TYPE_NOT_ALLOWED`.\n\nNote this is a separate restriction from Site SEO Tags' own type restriction on\n`SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags rejects `script` (e.g.\nfor site-wide structured data) unconditionally. There is currently no way to set\nsite-wide, every-page structured data through any of these APIs \u2014 write a per-page\n`script` tag through the Item SEO Tags API instead.\n\nThis flag is scoped to that feature only. It is NOT an indicator of whether a standard tag\n(`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed\ndefault/pattern \u2014 standard tags always resolve with `custom: false`, even when their content comes\nfrom a page's manually saved SEO title/description override. Don't use this field to verify whether\na live page reflects a manual per-page SEO edit.\n\nLimitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read\nonly from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor\nor Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the\nresponse entirely \u2014 there, `false` means this API could not tell, not that no custom tag exists.\nPass `seoData` explicitly to resolve against a known set of tags."
|
|
682
682
|
).optional(),
|
|
683
683
|
disabled: z.boolean().describe(
|
|
684
684
|
"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
|
|
@@ -710,7 +710,7 @@ var UpdateMenuRequest = z.object({
|
|
|
710
710
|
).optional().nullable()
|
|
711
711
|
}).describe("Menu to update.")
|
|
712
712
|
});
|
|
713
|
-
var UpdateMenuResponse = z.object({
|
|
713
|
+
var UpdateMenuResponse = /* @__PURE__ */ z.object({
|
|
714
714
|
_id: z.string().describe("Menu ID.").regex(
|
|
715
715
|
/^[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}$/,
|
|
716
716
|
"Must be a valid GUID"
|
|
@@ -736,7 +736,7 @@ var UpdateMenuResponse = z.object({
|
|
|
736
736
|
tags: z.array(
|
|
737
737
|
z.object({
|
|
738
738
|
type: z.string().describe(
|
|
739
|
-
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link`."
|
|
739
|
+
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link`.\n\nWhich of these an API actually accepts depends on where the tag is being set: this\nlist is not a blanket guarantee across every API that reuses this message. Site SEO\nTags in particular accepts only `meta` (see `SiteSeoTags.tags`) and rejects\n`title`/`script`/`link` with a validation error even though they appear here \u2014\ncheck the field description of the specific `tags`-typed field you're writing to\nfor the types it actually supports and the error it returns.\n\nLimitation: `title` and `script` (e.g. a `script` tag with `props.type`\n`\"application/ld+json\"` carrying structured data) are supported only when\n`custom` is unset or `false`. Setting `custom: true` on a `title` or `script`\ntag is rejected with `TAG_TYPE_NOT_ALLOWED`, because `custom: true` routes the\nwrite through the site's Advanced/Custom Tags list. To write structured data,\nomit `custom` (or set it to `false`)."
|
|
740
740
|
).optional(),
|
|
741
741
|
props: z.record(z.string(), z.any()).describe(
|
|
742
742
|
'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"}`.'
|
|
@@ -748,7 +748,7 @@ var UpdateMenuResponse = z.object({
|
|
|
748
748
|
"SEO tag inner content. For example, `<title> inner content </title>`."
|
|
749
749
|
).optional(),
|
|
750
750
|
custom: z.boolean().describe(
|
|
751
|
-
|
|
751
|
+
"Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) \u2014\ni.e. an entry from the site's Advanced/Custom Tags list.\n\nSetting this to `true` on a write restricts which `type` values are accepted\n\u2014 the same restriction the Advanced/Custom Tags UI enforces. `title` and\n`script` tags (including JSON-LD structured data) must be sent with `custom`\nomitted or `false`; sending them with `custom: true` is rejected with\n`TAG_TYPE_NOT_ALLOWED`.\n\nNote this is a separate restriction from Site SEO Tags' own type restriction on\n`SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags rejects `script` (e.g.\nfor site-wide structured data) unconditionally. There is currently no way to set\nsite-wide, every-page structured data through any of these APIs \u2014 write a per-page\n`script` tag through the Item SEO Tags API instead.\n\nThis flag is scoped to that feature only. It is NOT an indicator of whether a standard tag\n(`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed\ndefault/pattern \u2014 standard tags always resolve with `custom: false`, even when their content comes\nfrom a page's manually saved SEO title/description override. Don't use this field to verify whether\na live page reflects a manual per-page SEO edit.\n\nLimitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read\nonly from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor\nor Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the\nresponse entirely \u2014 there, `false` means this API could not tell, not that no custom tag exists.\nPass `seoData` explicitly to resolve against a known set of tags."
|
|
752
752
|
).optional(),
|
|
753
753
|
disabled: z.boolean().describe(
|
|
754
754
|
"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
|
|
@@ -777,7 +777,7 @@ var UpdateMenuResponse = z.object({
|
|
|
777
777
|
"Must be a valid GUID"
|
|
778
778
|
).optional().nullable()
|
|
779
779
|
});
|
|
780
|
-
var BulkUpdateMenuRequest = z.object({
|
|
780
|
+
var BulkUpdateMenuRequest = /* @__PURE__ */ z.object({
|
|
781
781
|
menus: z.array(
|
|
782
782
|
z.object({
|
|
783
783
|
menu: z.object({
|
|
@@ -806,7 +806,7 @@ var BulkUpdateMenuRequest = z.object({
|
|
|
806
806
|
tags: z.array(
|
|
807
807
|
z.object({
|
|
808
808
|
type: z.string().describe(
|
|
809
|
-
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link`."
|
|
809
|
+
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link`.\n\nWhich of these an API actually accepts depends on where the tag is being set: this\nlist is not a blanket guarantee across every API that reuses this message. Site SEO\nTags in particular accepts only `meta` (see `SiteSeoTags.tags`) and rejects\n`title`/`script`/`link` with a validation error even though they appear here \u2014\ncheck the field description of the specific `tags`-typed field you're writing to\nfor the types it actually supports and the error it returns.\n\nLimitation: `title` and `script` (e.g. a `script` tag with `props.type`\n`\"application/ld+json\"` carrying structured data) are supported only when\n`custom` is unset or `false`. Setting `custom: true` on a `title` or `script`\ntag is rejected with `TAG_TYPE_NOT_ALLOWED`, because `custom: true` routes the\nwrite through the site's Advanced/Custom Tags list. To write structured data,\nomit `custom` (or set it to `false`)."
|
|
810
810
|
).optional(),
|
|
811
811
|
props: z.record(z.string(), z.any()).describe(
|
|
812
812
|
'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"}`.'
|
|
@@ -818,7 +818,7 @@ var BulkUpdateMenuRequest = z.object({
|
|
|
818
818
|
"SEO tag inner content. For example, `<title> inner content </title>`."
|
|
819
819
|
).optional(),
|
|
820
820
|
custom: z.boolean().describe(
|
|
821
|
-
|
|
821
|
+
"Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) \u2014\ni.e. an entry from the site's Advanced/Custom Tags list.\n\nSetting this to `true` on a write restricts which `type` values are accepted\n\u2014 the same restriction the Advanced/Custom Tags UI enforces. `title` and\n`script` tags (including JSON-LD structured data) must be sent with `custom`\nomitted or `false`; sending them with `custom: true` is rejected with\n`TAG_TYPE_NOT_ALLOWED`.\n\nNote this is a separate restriction from Site SEO Tags' own type restriction on\n`SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags rejects `script` (e.g.\nfor site-wide structured data) unconditionally. There is currently no way to set\nsite-wide, every-page structured data through any of these APIs \u2014 write a per-page\n`script` tag through the Item SEO Tags API instead.\n\nThis flag is scoped to that feature only. It is NOT an indicator of whether a standard tag\n(`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed\ndefault/pattern \u2014 standard tags always resolve with `custom: false`, even when their content comes\nfrom a page's manually saved SEO title/description override. Don't use this field to verify whether\na live page reflects a manual per-page SEO edit.\n\nLimitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read\nonly from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor\nor Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the\nresponse entirely \u2014 there, `false` means this API could not tell, not that no custom tag exists.\nPass `seoData` explicitly to resolve against a known set of tags."
|
|
822
822
|
).optional(),
|
|
823
823
|
disabled: z.boolean().describe(
|
|
824
824
|
"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
|
|
@@ -856,7 +856,7 @@ var BulkUpdateMenuRequest = z.object({
|
|
|
856
856
|
returnEntity: z.boolean().describe("Whether to receive the entity in the response.").optional()
|
|
857
857
|
}).optional()
|
|
858
858
|
});
|
|
859
|
-
var BulkUpdateMenuResponse = z.object({
|
|
859
|
+
var BulkUpdateMenuResponse = /* @__PURE__ */ z.object({
|
|
860
860
|
results: z.array(
|
|
861
861
|
z.object({
|
|
862
862
|
menuMetadata: z.object({
|
|
@@ -901,7 +901,7 @@ var BulkUpdateMenuResponse = z.object({
|
|
|
901
901
|
tags: z.array(
|
|
902
902
|
z.object({
|
|
903
903
|
type: z.string().describe(
|
|
904
|
-
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link`."
|
|
904
|
+
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link`.\n\nWhich of these an API actually accepts depends on where the tag is being set: this\nlist is not a blanket guarantee across every API that reuses this message. Site SEO\nTags in particular accepts only `meta` (see `SiteSeoTags.tags`) and rejects\n`title`/`script`/`link` with a validation error even though they appear here \u2014\ncheck the field description of the specific `tags`-typed field you're writing to\nfor the types it actually supports and the error it returns.\n\nLimitation: `title` and `script` (e.g. a `script` tag with `props.type`\n`\"application/ld+json\"` carrying structured data) are supported only when\n`custom` is unset or `false`. Setting `custom: true` on a `title` or `script`\ntag is rejected with `TAG_TYPE_NOT_ALLOWED`, because `custom: true` routes the\nwrite through the site's Advanced/Custom Tags list. To write structured data,\nomit `custom` (or set it to `false`)."
|
|
905
905
|
).optional(),
|
|
906
906
|
props: z.record(z.string(), z.any()).describe(
|
|
907
907
|
'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"}`.'
|
|
@@ -913,7 +913,7 @@ var BulkUpdateMenuResponse = z.object({
|
|
|
913
913
|
"SEO tag inner content. For example, `<title> inner content </title>`."
|
|
914
914
|
).optional(),
|
|
915
915
|
custom: z.boolean().describe(
|
|
916
|
-
|
|
916
|
+
"Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) \u2014\ni.e. an entry from the site's Advanced/Custom Tags list.\n\nSetting this to `true` on a write restricts which `type` values are accepted\n\u2014 the same restriction the Advanced/Custom Tags UI enforces. `title` and\n`script` tags (including JSON-LD structured data) must be sent with `custom`\nomitted or `false`; sending them with `custom: true` is rejected with\n`TAG_TYPE_NOT_ALLOWED`.\n\nNote this is a separate restriction from Site SEO Tags' own type restriction on\n`SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags rejects `script` (e.g.\nfor site-wide structured data) unconditionally. There is currently no way to set\nsite-wide, every-page structured data through any of these APIs \u2014 write a per-page\n`script` tag through the Item SEO Tags API instead.\n\nThis flag is scoped to that feature only. It is NOT an indicator of whether a standard tag\n(`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed\ndefault/pattern \u2014 standard tags always resolve with `custom: false`, even when their content comes\nfrom a page's manually saved SEO title/description override. Don't use this field to verify whether\na live page reflects a manual per-page SEO edit.\n\nLimitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read\nonly from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor\nor Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the\nresponse entirely \u2014 there, `false` means this API could not tell, not that no custom tag exists.\nPass `seoData` explicitly to resolve against a known set of tags."
|
|
917
917
|
).optional(),
|
|
918
918
|
disabled: z.boolean().describe(
|
|
919
919
|
"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
|
|
@@ -956,7 +956,7 @@ var BulkUpdateMenuResponse = z.object({
|
|
|
956
956
|
).optional()
|
|
957
957
|
}).describe("Metadata for the API call.").optional()
|
|
958
958
|
});
|
|
959
|
-
var UpdateExtendedFieldsRequest = z.object({
|
|
959
|
+
var UpdateExtendedFieldsRequest = /* @__PURE__ */ z.object({
|
|
960
960
|
_id: z.string().describe("ID of the entity to update."),
|
|
961
961
|
namespace: z.string().describe(
|
|
962
962
|
"Identifier for the app whose extended fields are being updated."
|
|
@@ -967,18 +967,18 @@ var UpdateExtendedFieldsRequest = z.object({
|
|
|
967
967
|
)
|
|
968
968
|
})
|
|
969
969
|
});
|
|
970
|
-
var UpdateExtendedFieldsResponse = z.object({
|
|
970
|
+
var UpdateExtendedFieldsResponse = /* @__PURE__ */ z.object({
|
|
971
971
|
namespace: z.string().describe("Namespace of the app.").optional(),
|
|
972
972
|
namespaceData: z.record(z.string(), z.any()).describe("Updated extended fields data.").optional().nullable()
|
|
973
973
|
});
|
|
974
|
-
var DeleteMenuRequest = z.object({
|
|
974
|
+
var DeleteMenuRequest = /* @__PURE__ */ z.object({
|
|
975
975
|
menuId: z.string().describe("Menu ID.").regex(
|
|
976
976
|
/^[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}$/,
|
|
977
977
|
"Must be a valid GUID"
|
|
978
978
|
)
|
|
979
979
|
});
|
|
980
|
-
var DeleteMenuResponse = z.object({});
|
|
981
|
-
var DuplicateMenuRequest = z.object({
|
|
980
|
+
var DeleteMenuResponse = /* @__PURE__ */ z.object({});
|
|
981
|
+
var DuplicateMenuRequest = /* @__PURE__ */ z.object({
|
|
982
982
|
_id: z.string().describe("Menu id to be duplicated.").regex(
|
|
983
983
|
/^[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}$/,
|
|
984
984
|
"Must be a valid GUID"
|
|
@@ -991,21 +991,21 @@ var DuplicateMenuRequest = z.object({
|
|
|
991
991
|
menuName: z.string().describe("The new name of the duplicated menu.").max(500).optional().nullable()
|
|
992
992
|
}).optional()
|
|
993
993
|
});
|
|
994
|
-
var DuplicateMenuResponse = z.object({
|
|
994
|
+
var DuplicateMenuResponse = /* @__PURE__ */ z.object({
|
|
995
995
|
menuIds: z.array(z.string()).optional()
|
|
996
996
|
});
|
|
997
|
-
var GetMenuSiteUrlRequest = z.object({
|
|
997
|
+
var GetMenuSiteUrlRequest = /* @__PURE__ */ z.object({
|
|
998
998
|
_id: z.string().describe("Menu ID.").regex(
|
|
999
999
|
/^[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}$/,
|
|
1000
1000
|
"Must be a valid GUID"
|
|
1001
1001
|
)
|
|
1002
1002
|
});
|
|
1003
|
-
var GetMenuSiteUrlResponse = z.object({
|
|
1003
|
+
var GetMenuSiteUrlResponse = /* @__PURE__ */ z.object({
|
|
1004
1004
|
menuSiteUrl: z.object({
|
|
1005
1005
|
path: z.string().describe("Path URL.").min(1).max(1e3).optional()
|
|
1006
1006
|
}).describe("Retrieved menuInfo with path url.").optional()
|
|
1007
1007
|
});
|
|
1008
|
-
var QueryMenusSiteUrlRequest = z.object({
|
|
1008
|
+
var QueryMenusSiteUrlRequest = /* @__PURE__ */ z.object({
|
|
1009
1009
|
options: z.object({
|
|
1010
1010
|
query: z.intersection(
|
|
1011
1011
|
z.object({
|
|
@@ -1041,7 +1041,7 @@ var QueryMenusSiteUrlRequest = z.object({
|
|
|
1041
1041
|
).describe("Query options").optional()
|
|
1042
1042
|
}).optional()
|
|
1043
1043
|
});
|
|
1044
|
-
var QueryMenusSiteUrlResponse = z.object({
|
|
1044
|
+
var QueryMenusSiteUrlResponse = /* @__PURE__ */ z.object({
|
|
1045
1045
|
menuSiteUrls: z.array(
|
|
1046
1046
|
z.object({
|
|
1047
1047
|
path: z.string().describe("Path URL.").min(1).max(1e3).optional()
|