@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/cjs/schemas.js
CHANGED
|
@@ -59,7 +59,7 @@ module.exports = __toCommonJS(schemas_exports);
|
|
|
59
59
|
|
|
60
60
|
// src/restaurants-menus-v1-menu-menus.schemas.ts
|
|
61
61
|
var z = __toESM(require("zod"));
|
|
62
|
-
var CreateMenuRequest = z.object({
|
|
62
|
+
var CreateMenuRequest = /* @__PURE__ */ z.object({
|
|
63
63
|
menu: z.object({
|
|
64
64
|
_id: z.string().describe("Menu ID.").regex(
|
|
65
65
|
/^[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}$/,
|
|
@@ -86,7 +86,7 @@ var CreateMenuRequest = z.object({
|
|
|
86
86
|
tags: z.array(
|
|
87
87
|
z.object({
|
|
88
88
|
type: z.string().describe(
|
|
89
|
-
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link`."
|
|
89
|
+
"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`)."
|
|
90
90
|
).optional(),
|
|
91
91
|
props: z.record(z.string(), z.any()).describe(
|
|
92
92
|
'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"}`.'
|
|
@@ -98,7 +98,7 @@ var CreateMenuRequest = z.object({
|
|
|
98
98
|
"SEO tag inner content. For example, `<title> inner content </title>`."
|
|
99
99
|
).optional(),
|
|
100
100
|
custom: z.boolean().describe(
|
|
101
|
-
|
|
101
|
+
"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."
|
|
102
102
|
).optional(),
|
|
103
103
|
disabled: z.boolean().describe(
|
|
104
104
|
"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
|
|
@@ -130,7 +130,7 @@ var CreateMenuRequest = z.object({
|
|
|
130
130
|
).optional().nullable()
|
|
131
131
|
}).describe("Menu details.")
|
|
132
132
|
});
|
|
133
|
-
var CreateMenuResponse = z.object({
|
|
133
|
+
var CreateMenuResponse = /* @__PURE__ */ z.object({
|
|
134
134
|
_id: z.string().describe("Menu ID.").regex(
|
|
135
135
|
/^[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}$/,
|
|
136
136
|
"Must be a valid GUID"
|
|
@@ -156,7 +156,7 @@ var CreateMenuResponse = z.object({
|
|
|
156
156
|
tags: z.array(
|
|
157
157
|
z.object({
|
|
158
158
|
type: z.string().describe(
|
|
159
|
-
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link`."
|
|
159
|
+
"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`)."
|
|
160
160
|
).optional(),
|
|
161
161
|
props: z.record(z.string(), z.any()).describe(
|
|
162
162
|
'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"}`.'
|
|
@@ -168,7 +168,7 @@ var CreateMenuResponse = z.object({
|
|
|
168
168
|
"SEO tag inner content. For example, `<title> inner content </title>`."
|
|
169
169
|
).optional(),
|
|
170
170
|
custom: z.boolean().describe(
|
|
171
|
-
|
|
171
|
+
"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."
|
|
172
172
|
).optional(),
|
|
173
173
|
disabled: z.boolean().describe(
|
|
174
174
|
"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
|
|
@@ -197,7 +197,7 @@ var CreateMenuResponse = z.object({
|
|
|
197
197
|
"Must be a valid GUID"
|
|
198
198
|
).optional().nullable()
|
|
199
199
|
});
|
|
200
|
-
var BulkCreateMenusRequest = z.object({
|
|
200
|
+
var BulkCreateMenusRequest = /* @__PURE__ */ z.object({
|
|
201
201
|
menus: z.array(
|
|
202
202
|
z.object({
|
|
203
203
|
_id: z.string().describe("Menu ID.").regex(
|
|
@@ -225,7 +225,7 @@ var BulkCreateMenusRequest = z.object({
|
|
|
225
225
|
tags: z.array(
|
|
226
226
|
z.object({
|
|
227
227
|
type: z.string().describe(
|
|
228
|
-
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link`."
|
|
228
|
+
"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`)."
|
|
229
229
|
).optional(),
|
|
230
230
|
props: z.record(z.string(), z.any()).describe(
|
|
231
231
|
'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"}`.'
|
|
@@ -237,7 +237,7 @@ var BulkCreateMenusRequest = z.object({
|
|
|
237
237
|
"SEO tag inner content. For example, `<title> inner content </title>`."
|
|
238
238
|
).optional(),
|
|
239
239
|
custom: z.boolean().describe(
|
|
240
|
-
|
|
240
|
+
"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."
|
|
241
241
|
).optional(),
|
|
242
242
|
disabled: z.boolean().describe(
|
|
243
243
|
"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
|
|
@@ -273,7 +273,7 @@ var BulkCreateMenusRequest = z.object({
|
|
|
273
273
|
returnEntity: z.boolean().describe("Whether to receive the created menus in the response.").optional()
|
|
274
274
|
}).optional()
|
|
275
275
|
});
|
|
276
|
-
var BulkCreateMenusResponse = z.object({
|
|
276
|
+
var BulkCreateMenusResponse = /* @__PURE__ */ z.object({
|
|
277
277
|
results: z.array(
|
|
278
278
|
z.object({
|
|
279
279
|
menuMetadata: z.object({
|
|
@@ -318,7 +318,7 @@ var BulkCreateMenusResponse = z.object({
|
|
|
318
318
|
tags: z.array(
|
|
319
319
|
z.object({
|
|
320
320
|
type: z.string().describe(
|
|
321
|
-
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link`."
|
|
321
|
+
"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`)."
|
|
322
322
|
).optional(),
|
|
323
323
|
props: z.record(z.string(), z.any()).describe(
|
|
324
324
|
'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"}`.'
|
|
@@ -330,7 +330,7 @@ var BulkCreateMenusResponse = z.object({
|
|
|
330
330
|
"SEO tag inner content. For example, `<title> inner content </title>`."
|
|
331
331
|
).optional(),
|
|
332
332
|
custom: z.boolean().describe(
|
|
333
|
-
|
|
333
|
+
"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."
|
|
334
334
|
).optional(),
|
|
335
335
|
disabled: z.boolean().describe(
|
|
336
336
|
"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
|
|
@@ -371,13 +371,13 @@ var BulkCreateMenusResponse = z.object({
|
|
|
371
371
|
).optional()
|
|
372
372
|
}).describe("Metadata for the API call.").optional()
|
|
373
373
|
});
|
|
374
|
-
var GetMenuRequest = z.object({
|
|
374
|
+
var GetMenuRequest = /* @__PURE__ */ z.object({
|
|
375
375
|
menuId: z.string().describe("Menu ID.").regex(
|
|
376
376
|
/^[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}$/,
|
|
377
377
|
"Must be a valid GUID"
|
|
378
378
|
)
|
|
379
379
|
});
|
|
380
|
-
var GetMenuResponse = z.object({
|
|
380
|
+
var GetMenuResponse = /* @__PURE__ */ z.object({
|
|
381
381
|
_id: z.string().describe("Menu ID.").regex(
|
|
382
382
|
/^[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}$/,
|
|
383
383
|
"Must be a valid GUID"
|
|
@@ -403,7 +403,7 @@ var GetMenuResponse = z.object({
|
|
|
403
403
|
tags: z.array(
|
|
404
404
|
z.object({
|
|
405
405
|
type: z.string().describe(
|
|
406
|
-
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link`."
|
|
406
|
+
"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`)."
|
|
407
407
|
).optional(),
|
|
408
408
|
props: z.record(z.string(), z.any()).describe(
|
|
409
409
|
'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"}`.'
|
|
@@ -415,7 +415,7 @@ var GetMenuResponse = z.object({
|
|
|
415
415
|
"SEO tag inner content. For example, `<title> inner content </title>`."
|
|
416
416
|
).optional(),
|
|
417
417
|
custom: z.boolean().describe(
|
|
418
|
-
|
|
418
|
+
"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."
|
|
419
419
|
).optional(),
|
|
420
420
|
disabled: z.boolean().describe(
|
|
421
421
|
"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
|
|
@@ -444,7 +444,7 @@ var GetMenuResponse = z.object({
|
|
|
444
444
|
"Must be a valid GUID"
|
|
445
445
|
).optional().nullable()
|
|
446
446
|
});
|
|
447
|
-
var ListMenusRequest = z.object({
|
|
447
|
+
var ListMenusRequest = /* @__PURE__ */ z.object({
|
|
448
448
|
options: z.object({
|
|
449
449
|
menuIds: z.array(z.string()).max(500).optional(),
|
|
450
450
|
paging: z.object({
|
|
@@ -458,7 +458,7 @@ var ListMenusRequest = z.object({
|
|
|
458
458
|
).optional().nullable()
|
|
459
459
|
}).optional()
|
|
460
460
|
});
|
|
461
|
-
var ListMenusResponse = z.object({
|
|
461
|
+
var ListMenusResponse = /* @__PURE__ */ z.object({
|
|
462
462
|
menus: z.array(
|
|
463
463
|
z.object({
|
|
464
464
|
_id: z.string().describe("Menu ID.").regex(
|
|
@@ -486,7 +486,7 @@ var ListMenusResponse = z.object({
|
|
|
486
486
|
tags: z.array(
|
|
487
487
|
z.object({
|
|
488
488
|
type: z.string().describe(
|
|
489
|
-
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link`."
|
|
489
|
+
"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`)."
|
|
490
490
|
).optional(),
|
|
491
491
|
props: z.record(z.string(), z.any()).describe(
|
|
492
492
|
'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"}`.'
|
|
@@ -498,7 +498,7 @@ var ListMenusResponse = z.object({
|
|
|
498
498
|
"SEO tag inner content. For example, `<title> inner content </title>`."
|
|
499
499
|
).optional(),
|
|
500
500
|
custom: z.boolean().describe(
|
|
501
|
-
|
|
501
|
+
"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."
|
|
502
502
|
).optional(),
|
|
503
503
|
disabled: z.boolean().describe(
|
|
504
504
|
"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
|
|
@@ -543,7 +543,7 @@ var ListMenusResponse = z.object({
|
|
|
543
543
|
).optional().nullable()
|
|
544
544
|
}).describe("The metadata of the paginated results.").optional()
|
|
545
545
|
});
|
|
546
|
-
var QueryMenusRequest = z.object({
|
|
546
|
+
var QueryMenusRequest = /* @__PURE__ */ z.object({
|
|
547
547
|
query: z.object({
|
|
548
548
|
filter: z.object({
|
|
549
549
|
_id: z.object({
|
|
@@ -609,7 +609,7 @@ var QueryMenusRequest = z.object({
|
|
|
609
609
|
).optional()
|
|
610
610
|
}).catchall(z.any()).describe("Query options.")
|
|
611
611
|
});
|
|
612
|
-
var QueryMenusResponse = z.object({
|
|
612
|
+
var QueryMenusResponse = /* @__PURE__ */ z.object({
|
|
613
613
|
menus: z.array(
|
|
614
614
|
z.object({
|
|
615
615
|
_id: z.string().describe("Menu ID.").regex(
|
|
@@ -637,7 +637,7 @@ var QueryMenusResponse = z.object({
|
|
|
637
637
|
tags: z.array(
|
|
638
638
|
z.object({
|
|
639
639
|
type: z.string().describe(
|
|
640
|
-
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link`."
|
|
640
|
+
"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`)."
|
|
641
641
|
).optional(),
|
|
642
642
|
props: z.record(z.string(), z.any()).describe(
|
|
643
643
|
'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"}`.'
|
|
@@ -649,7 +649,7 @@ var QueryMenusResponse = z.object({
|
|
|
649
649
|
"SEO tag inner content. For example, `<title> inner content </title>`."
|
|
650
650
|
).optional(),
|
|
651
651
|
custom: z.boolean().describe(
|
|
652
|
-
|
|
652
|
+
"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."
|
|
653
653
|
).optional(),
|
|
654
654
|
disabled: z.boolean().describe(
|
|
655
655
|
"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
|
|
@@ -694,7 +694,7 @@ var QueryMenusResponse = z.object({
|
|
|
694
694
|
).optional().nullable()
|
|
695
695
|
}).describe("The metadata of the paginated results.").optional()
|
|
696
696
|
});
|
|
697
|
-
var UpdateMenuRequest = z.object({
|
|
697
|
+
var UpdateMenuRequest = /* @__PURE__ */ z.object({
|
|
698
698
|
_id: z.string().describe("Menu ID.").regex(
|
|
699
699
|
/^[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}$/,
|
|
700
700
|
"Must be a valid GUID"
|
|
@@ -725,7 +725,7 @@ var UpdateMenuRequest = z.object({
|
|
|
725
725
|
tags: z.array(
|
|
726
726
|
z.object({
|
|
727
727
|
type: z.string().describe(
|
|
728
|
-
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link`."
|
|
728
|
+
"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`)."
|
|
729
729
|
).optional(),
|
|
730
730
|
props: z.record(z.string(), z.any()).describe(
|
|
731
731
|
'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"}`.'
|
|
@@ -737,7 +737,7 @@ var UpdateMenuRequest = z.object({
|
|
|
737
737
|
"SEO tag inner content. For example, `<title> inner content </title>`."
|
|
738
738
|
).optional(),
|
|
739
739
|
custom: z.boolean().describe(
|
|
740
|
-
|
|
740
|
+
"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."
|
|
741
741
|
).optional(),
|
|
742
742
|
disabled: z.boolean().describe(
|
|
743
743
|
"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
|
|
@@ -769,7 +769,7 @@ var UpdateMenuRequest = z.object({
|
|
|
769
769
|
).optional().nullable()
|
|
770
770
|
}).describe("Menu to update.")
|
|
771
771
|
});
|
|
772
|
-
var UpdateMenuResponse = z.object({
|
|
772
|
+
var UpdateMenuResponse = /* @__PURE__ */ z.object({
|
|
773
773
|
_id: z.string().describe("Menu ID.").regex(
|
|
774
774
|
/^[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}$/,
|
|
775
775
|
"Must be a valid GUID"
|
|
@@ -795,7 +795,7 @@ var UpdateMenuResponse = z.object({
|
|
|
795
795
|
tags: z.array(
|
|
796
796
|
z.object({
|
|
797
797
|
type: z.string().describe(
|
|
798
|
-
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link`."
|
|
798
|
+
"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`)."
|
|
799
799
|
).optional(),
|
|
800
800
|
props: z.record(z.string(), z.any()).describe(
|
|
801
801
|
'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"}`.'
|
|
@@ -807,7 +807,7 @@ var UpdateMenuResponse = z.object({
|
|
|
807
807
|
"SEO tag inner content. For example, `<title> inner content </title>`."
|
|
808
808
|
).optional(),
|
|
809
809
|
custom: z.boolean().describe(
|
|
810
|
-
|
|
810
|
+
"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."
|
|
811
811
|
).optional(),
|
|
812
812
|
disabled: z.boolean().describe(
|
|
813
813
|
"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
|
|
@@ -836,7 +836,7 @@ var UpdateMenuResponse = z.object({
|
|
|
836
836
|
"Must be a valid GUID"
|
|
837
837
|
).optional().nullable()
|
|
838
838
|
});
|
|
839
|
-
var BulkUpdateMenuRequest = z.object({
|
|
839
|
+
var BulkUpdateMenuRequest = /* @__PURE__ */ z.object({
|
|
840
840
|
menus: z.array(
|
|
841
841
|
z.object({
|
|
842
842
|
menu: z.object({
|
|
@@ -865,7 +865,7 @@ var BulkUpdateMenuRequest = z.object({
|
|
|
865
865
|
tags: z.array(
|
|
866
866
|
z.object({
|
|
867
867
|
type: z.string().describe(
|
|
868
|
-
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link`."
|
|
868
|
+
"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`)."
|
|
869
869
|
).optional(),
|
|
870
870
|
props: z.record(z.string(), z.any()).describe(
|
|
871
871
|
'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"}`.'
|
|
@@ -877,7 +877,7 @@ var BulkUpdateMenuRequest = z.object({
|
|
|
877
877
|
"SEO tag inner content. For example, `<title> inner content </title>`."
|
|
878
878
|
).optional(),
|
|
879
879
|
custom: z.boolean().describe(
|
|
880
|
-
|
|
880
|
+
"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."
|
|
881
881
|
).optional(),
|
|
882
882
|
disabled: z.boolean().describe(
|
|
883
883
|
"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
|
|
@@ -915,7 +915,7 @@ var BulkUpdateMenuRequest = z.object({
|
|
|
915
915
|
returnEntity: z.boolean().describe("Whether to receive the entity in the response.").optional()
|
|
916
916
|
}).optional()
|
|
917
917
|
});
|
|
918
|
-
var BulkUpdateMenuResponse = z.object({
|
|
918
|
+
var BulkUpdateMenuResponse = /* @__PURE__ */ z.object({
|
|
919
919
|
results: z.array(
|
|
920
920
|
z.object({
|
|
921
921
|
menuMetadata: z.object({
|
|
@@ -960,7 +960,7 @@ var BulkUpdateMenuResponse = z.object({
|
|
|
960
960
|
tags: z.array(
|
|
961
961
|
z.object({
|
|
962
962
|
type: z.string().describe(
|
|
963
|
-
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link`."
|
|
963
|
+
"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`)."
|
|
964
964
|
).optional(),
|
|
965
965
|
props: z.record(z.string(), z.any()).describe(
|
|
966
966
|
'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"}`.'
|
|
@@ -972,7 +972,7 @@ var BulkUpdateMenuResponse = z.object({
|
|
|
972
972
|
"SEO tag inner content. For example, `<title> inner content </title>`."
|
|
973
973
|
).optional(),
|
|
974
974
|
custom: z.boolean().describe(
|
|
975
|
-
|
|
975
|
+
"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."
|
|
976
976
|
).optional(),
|
|
977
977
|
disabled: z.boolean().describe(
|
|
978
978
|
"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
|
|
@@ -1015,7 +1015,7 @@ var BulkUpdateMenuResponse = z.object({
|
|
|
1015
1015
|
).optional()
|
|
1016
1016
|
}).describe("Metadata for the API call.").optional()
|
|
1017
1017
|
});
|
|
1018
|
-
var UpdateExtendedFieldsRequest = z.object({
|
|
1018
|
+
var UpdateExtendedFieldsRequest = /* @__PURE__ */ z.object({
|
|
1019
1019
|
_id: z.string().describe("ID of the entity to update."),
|
|
1020
1020
|
namespace: z.string().describe(
|
|
1021
1021
|
"Identifier for the app whose extended fields are being updated."
|
|
@@ -1026,18 +1026,18 @@ var UpdateExtendedFieldsRequest = z.object({
|
|
|
1026
1026
|
)
|
|
1027
1027
|
})
|
|
1028
1028
|
});
|
|
1029
|
-
var UpdateExtendedFieldsResponse = z.object({
|
|
1029
|
+
var UpdateExtendedFieldsResponse = /* @__PURE__ */ z.object({
|
|
1030
1030
|
namespace: z.string().describe("Namespace of the app.").optional(),
|
|
1031
1031
|
namespaceData: z.record(z.string(), z.any()).describe("Updated extended fields data.").optional().nullable()
|
|
1032
1032
|
});
|
|
1033
|
-
var DeleteMenuRequest = z.object({
|
|
1033
|
+
var DeleteMenuRequest = /* @__PURE__ */ z.object({
|
|
1034
1034
|
menuId: z.string().describe("Menu ID.").regex(
|
|
1035
1035
|
/^[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}$/,
|
|
1036
1036
|
"Must be a valid GUID"
|
|
1037
1037
|
)
|
|
1038
1038
|
});
|
|
1039
|
-
var DeleteMenuResponse = z.object({});
|
|
1040
|
-
var DuplicateMenuRequest = z.object({
|
|
1039
|
+
var DeleteMenuResponse = /* @__PURE__ */ z.object({});
|
|
1040
|
+
var DuplicateMenuRequest = /* @__PURE__ */ z.object({
|
|
1041
1041
|
_id: z.string().describe("Menu id to be duplicated.").regex(
|
|
1042
1042
|
/^[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}$/,
|
|
1043
1043
|
"Must be a valid GUID"
|
|
@@ -1050,21 +1050,21 @@ var DuplicateMenuRequest = z.object({
|
|
|
1050
1050
|
menuName: z.string().describe("The new name of the duplicated menu.").max(500).optional().nullable()
|
|
1051
1051
|
}).optional()
|
|
1052
1052
|
});
|
|
1053
|
-
var DuplicateMenuResponse = z.object({
|
|
1053
|
+
var DuplicateMenuResponse = /* @__PURE__ */ z.object({
|
|
1054
1054
|
menuIds: z.array(z.string()).optional()
|
|
1055
1055
|
});
|
|
1056
|
-
var GetMenuSiteUrlRequest = z.object({
|
|
1056
|
+
var GetMenuSiteUrlRequest = /* @__PURE__ */ z.object({
|
|
1057
1057
|
_id: z.string().describe("Menu ID.").regex(
|
|
1058
1058
|
/^[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}$/,
|
|
1059
1059
|
"Must be a valid GUID"
|
|
1060
1060
|
)
|
|
1061
1061
|
});
|
|
1062
|
-
var GetMenuSiteUrlResponse = z.object({
|
|
1062
|
+
var GetMenuSiteUrlResponse = /* @__PURE__ */ z.object({
|
|
1063
1063
|
menuSiteUrl: z.object({
|
|
1064
1064
|
path: z.string().describe("Path URL.").min(1).max(1e3).optional()
|
|
1065
1065
|
}).describe("Retrieved menuInfo with path url.").optional()
|
|
1066
1066
|
});
|
|
1067
|
-
var QueryMenusSiteUrlRequest = z.object({
|
|
1067
|
+
var QueryMenusSiteUrlRequest = /* @__PURE__ */ z.object({
|
|
1068
1068
|
options: z.object({
|
|
1069
1069
|
query: z.intersection(
|
|
1070
1070
|
z.object({
|
|
@@ -1100,7 +1100,7 @@ var QueryMenusSiteUrlRequest = z.object({
|
|
|
1100
1100
|
).describe("Query options").optional()
|
|
1101
1101
|
}).optional()
|
|
1102
1102
|
});
|
|
1103
|
-
var QueryMenusSiteUrlResponse = z.object({
|
|
1103
|
+
var QueryMenusSiteUrlResponse = /* @__PURE__ */ z.object({
|
|
1104
1104
|
menuSiteUrls: z.array(
|
|
1105
1105
|
z.object({
|
|
1106
1106
|
path: z.string().describe("Path URL.").min(1).max(1e3).optional()
|