@wix/auto_sdk_blog_draft-posts 1.0.95 → 1.0.97
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.d.ts +1 -1
- package/build/cjs/index.js +45 -10
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +112 -6
- package/build/cjs/index.typings.js +38 -3
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +111 -1
- package/build/cjs/meta.js +37 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.js +58 -58
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +43 -10
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +112 -6
- package/build/es/index.typings.mjs +36 -3
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +111 -1
- package/build/es/meta.mjs +35 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.mjs +58 -58
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +45 -10
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +112 -6
- package/build/internal/cjs/index.typings.js +38 -3
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +111 -1
- package/build/internal/cjs/meta.js +37 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.js +58 -58
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +43 -10
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +112 -6
- package/build/internal/es/index.typings.mjs +36 -3
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +111 -1
- package/build/internal/es/meta.mjs +35 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.mjs +58 -58
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +3 -3
|
@@ -63,7 +63,7 @@ module.exports = __toCommonJS(schemas_exports);
|
|
|
63
63
|
|
|
64
64
|
// src/blog-v3-draft-draft-posts.schemas.ts
|
|
65
65
|
var z = __toESM(require("zod"));
|
|
66
|
-
var CreateDraftPostRequest = z.object({
|
|
66
|
+
var CreateDraftPostRequest = /* @__PURE__ */ z.object({
|
|
67
67
|
draftPost: z.object({
|
|
68
68
|
_id: z.string().describe("Draft post ID.").max(38).optional(),
|
|
69
69
|
title: z.string().describe("Draft post title.").max(200),
|
|
@@ -134,7 +134,7 @@ var CreateDraftPostRequest = z.object({
|
|
|
134
134
|
tags: z.array(
|
|
135
135
|
z.object({
|
|
136
136
|
type: z.string().describe(
|
|
137
|
-
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link
|
|
137
|
+
"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."
|
|
138
138
|
).optional(),
|
|
139
139
|
props: z.record(z.string(), z.any()).describe(
|
|
140
140
|
'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"}`.'
|
|
@@ -146,7 +146,7 @@ var CreateDraftPostRequest = z.object({
|
|
|
146
146
|
"SEO tag inner content. For example, `<title> inner content </title>`."
|
|
147
147
|
).optional(),
|
|
148
148
|
custom: z.boolean().describe(
|
|
149
|
-
"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\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."
|
|
149
|
+
"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\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."
|
|
150
150
|
).optional(),
|
|
151
151
|
disabled: z.boolean().describe(
|
|
152
152
|
"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
|
|
@@ -231,7 +231,7 @@ var CreateDraftPostRequest = z.object({
|
|
|
231
231
|
).max(10).optional()
|
|
232
232
|
}).describe("Options for creating a draft post.").optional()
|
|
233
233
|
});
|
|
234
|
-
var CreateDraftPostResponse = z.object({
|
|
234
|
+
var CreateDraftPostResponse = /* @__PURE__ */ z.object({
|
|
235
235
|
draftPost: z.object({
|
|
236
236
|
_id: z.string().describe("Draft post ID.").max(38).optional(),
|
|
237
237
|
title: z.string().describe("Draft post title.").max(200).optional(),
|
|
@@ -304,7 +304,7 @@ var CreateDraftPostResponse = z.object({
|
|
|
304
304
|
tags: z.array(
|
|
305
305
|
z.object({
|
|
306
306
|
type: z.string().describe(
|
|
307
|
-
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link
|
|
307
|
+
"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."
|
|
308
308
|
).optional(),
|
|
309
309
|
props: z.record(z.string(), z.any()).describe(
|
|
310
310
|
'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"}`.'
|
|
@@ -316,7 +316,7 @@ var CreateDraftPostResponse = z.object({
|
|
|
316
316
|
"SEO tag inner content. For example, `<title> inner content </title>`."
|
|
317
317
|
).optional(),
|
|
318
318
|
custom: z.boolean().describe(
|
|
319
|
-
"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\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."
|
|
319
|
+
"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\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."
|
|
320
320
|
).optional(),
|
|
321
321
|
disabled: z.boolean().describe(
|
|
322
322
|
"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
|
|
@@ -387,7 +387,7 @@ var CreateDraftPostResponse = z.object({
|
|
|
387
387
|
).min(0).optional().nullable()
|
|
388
388
|
}).describe("Created draft post info.").optional()
|
|
389
389
|
});
|
|
390
|
-
var BulkCreateDraftPostsRequest = z.object({
|
|
390
|
+
var BulkCreateDraftPostsRequest = /* @__PURE__ */ z.object({
|
|
391
391
|
draftPosts: z.array(
|
|
392
392
|
z.object({
|
|
393
393
|
_id: z.string().describe("Draft post ID.").max(38).optional(),
|
|
@@ -459,7 +459,7 @@ var BulkCreateDraftPostsRequest = z.object({
|
|
|
459
459
|
tags: z.array(
|
|
460
460
|
z.object({
|
|
461
461
|
type: z.string().describe(
|
|
462
|
-
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link
|
|
462
|
+
"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."
|
|
463
463
|
).optional(),
|
|
464
464
|
props: z.record(z.string(), z.any()).describe(
|
|
465
465
|
'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"}`.'
|
|
@@ -471,7 +471,7 @@ var BulkCreateDraftPostsRequest = z.object({
|
|
|
471
471
|
"SEO tag inner content. For example, `<title> inner content </title>`."
|
|
472
472
|
).optional(),
|
|
473
473
|
custom: z.boolean().describe(
|
|
474
|
-
"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\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."
|
|
474
|
+
"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\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."
|
|
475
475
|
).optional(),
|
|
476
476
|
disabled: z.boolean().describe(
|
|
477
477
|
"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
|
|
@@ -558,7 +558,7 @@ var BulkCreateDraftPostsRequest = z.object({
|
|
|
558
558
|
).max(10).optional()
|
|
559
559
|
}).describe("Options for creating multiple draft posts.").optional()
|
|
560
560
|
});
|
|
561
|
-
var BulkCreateDraftPostsResponse = z.object({
|
|
561
|
+
var BulkCreateDraftPostsResponse = /* @__PURE__ */ z.object({
|
|
562
562
|
results: z.array(
|
|
563
563
|
z.object({
|
|
564
564
|
itemMetadata: z.object({
|
|
@@ -649,7 +649,7 @@ var BulkCreateDraftPostsResponse = z.object({
|
|
|
649
649
|
tags: z.array(
|
|
650
650
|
z.object({
|
|
651
651
|
type: z.string().describe(
|
|
652
|
-
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link
|
|
652
|
+
"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."
|
|
653
653
|
).optional(),
|
|
654
654
|
props: z.record(z.string(), z.any()).describe(
|
|
655
655
|
'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"}`.'
|
|
@@ -661,7 +661,7 @@ var BulkCreateDraftPostsResponse = z.object({
|
|
|
661
661
|
"SEO tag inner content. For example, `<title> inner content </title>`."
|
|
662
662
|
).optional(),
|
|
663
663
|
custom: z.boolean().describe(
|
|
664
|
-
"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\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."
|
|
664
|
+
"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\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."
|
|
665
665
|
).optional(),
|
|
666
666
|
disabled: z.boolean().describe(
|
|
667
667
|
"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
|
|
@@ -741,7 +741,7 @@ var BulkCreateDraftPostsResponse = z.object({
|
|
|
741
741
|
).optional()
|
|
742
742
|
}).describe("Bulk action metadata.").optional()
|
|
743
743
|
});
|
|
744
|
-
var BulkUpdateDraftPostsRequest = z.object({
|
|
744
|
+
var BulkUpdateDraftPostsRequest = /* @__PURE__ */ z.object({
|
|
745
745
|
options: z.object({
|
|
746
746
|
draftPosts: z.array(
|
|
747
747
|
z.object({
|
|
@@ -815,7 +815,7 @@ var BulkUpdateDraftPostsRequest = z.object({
|
|
|
815
815
|
tags: z.array(
|
|
816
816
|
z.object({
|
|
817
817
|
type: z.string().describe(
|
|
818
|
-
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link
|
|
818
|
+
"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."
|
|
819
819
|
).optional(),
|
|
820
820
|
props: z.record(z.string(), z.any()).describe(
|
|
821
821
|
'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"}`.'
|
|
@@ -827,7 +827,7 @@ var BulkUpdateDraftPostsRequest = z.object({
|
|
|
827
827
|
"SEO tag inner content. For example, `<title> inner content </title>`."
|
|
828
828
|
).optional(),
|
|
829
829
|
custom: z.boolean().describe(
|
|
830
|
-
"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\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."
|
|
830
|
+
"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\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."
|
|
831
831
|
).optional(),
|
|
832
832
|
disabled: z.boolean().describe(
|
|
833
833
|
"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
|
|
@@ -926,7 +926,7 @@ var BulkUpdateDraftPostsRequest = z.object({
|
|
|
926
926
|
).max(10).optional()
|
|
927
927
|
}).describe("Options for updating multiple draft posts.").optional()
|
|
928
928
|
});
|
|
929
|
-
var BulkUpdateDraftPostsResponse = z.object({
|
|
929
|
+
var BulkUpdateDraftPostsResponse = /* @__PURE__ */ z.object({
|
|
930
930
|
results: z.array(
|
|
931
931
|
z.object({
|
|
932
932
|
itemMetadata: z.object({
|
|
@@ -1017,7 +1017,7 @@ var BulkUpdateDraftPostsResponse = z.object({
|
|
|
1017
1017
|
tags: z.array(
|
|
1018
1018
|
z.object({
|
|
1019
1019
|
type: z.string().describe(
|
|
1020
|
-
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link
|
|
1020
|
+
"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."
|
|
1021
1021
|
).optional(),
|
|
1022
1022
|
props: z.record(z.string(), z.any()).describe(
|
|
1023
1023
|
'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"}`.'
|
|
@@ -1029,7 +1029,7 @@ var BulkUpdateDraftPostsResponse = z.object({
|
|
|
1029
1029
|
"SEO tag inner content. For example, `<title> inner content </title>`."
|
|
1030
1030
|
).optional(),
|
|
1031
1031
|
custom: z.boolean().describe(
|
|
1032
|
-
"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\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."
|
|
1032
|
+
"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\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."
|
|
1033
1033
|
).optional(),
|
|
1034
1034
|
disabled: z.boolean().describe(
|
|
1035
1035
|
"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
|
|
@@ -1109,7 +1109,7 @@ var BulkUpdateDraftPostsResponse = z.object({
|
|
|
1109
1109
|
).optional()
|
|
1110
1110
|
}).describe("Bulk action metadata.").optional()
|
|
1111
1111
|
});
|
|
1112
|
-
var ListDeletedDraftPostsRequest = z.object({
|
|
1112
|
+
var ListDeletedDraftPostsRequest = /* @__PURE__ */ z.object({
|
|
1113
1113
|
options: z.object({
|
|
1114
1114
|
language: z.string().describe(
|
|
1115
1115
|
"Language filter.\n\n2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.\nIf omitted, deleted draft posts in all languages are returned."
|
|
@@ -1136,7 +1136,7 @@ var ListDeletedDraftPostsRequest = z.object({
|
|
|
1136
1136
|
draftPostIds: z.array(z.string()).max(100).optional()
|
|
1137
1137
|
}).describe("Options for listing deleted draft posts.").optional()
|
|
1138
1138
|
});
|
|
1139
|
-
var ListDeletedDraftPostsResponse = z.object({
|
|
1139
|
+
var ListDeletedDraftPostsResponse = /* @__PURE__ */ z.object({
|
|
1140
1140
|
draftPosts: z.array(
|
|
1141
1141
|
z.object({
|
|
1142
1142
|
_id: z.string().describe("Draft post ID.").max(38).optional(),
|
|
@@ -1210,7 +1210,7 @@ var ListDeletedDraftPostsResponse = z.object({
|
|
|
1210
1210
|
tags: z.array(
|
|
1211
1211
|
z.object({
|
|
1212
1212
|
type: z.string().describe(
|
|
1213
|
-
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link
|
|
1213
|
+
"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."
|
|
1214
1214
|
).optional(),
|
|
1215
1215
|
props: z.record(z.string(), z.any()).describe(
|
|
1216
1216
|
'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"}`.'
|
|
@@ -1222,7 +1222,7 @@ var ListDeletedDraftPostsResponse = z.object({
|
|
|
1222
1222
|
"SEO tag inner content. For example, `<title> inner content </title>`."
|
|
1223
1223
|
).optional(),
|
|
1224
1224
|
custom: z.boolean().describe(
|
|
1225
|
-
"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\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."
|
|
1225
|
+
"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\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."
|
|
1226
1226
|
).optional(),
|
|
1227
1227
|
disabled: z.boolean().describe(
|
|
1228
1228
|
"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
|
|
@@ -1312,7 +1312,7 @@ var ListDeletedDraftPostsResponse = z.object({
|
|
|
1312
1312
|
).optional()
|
|
1313
1313
|
}).describe("Details on the paged set of results returned.").optional()
|
|
1314
1314
|
});
|
|
1315
|
-
var GetDraftPostRequest = z.object({
|
|
1315
|
+
var GetDraftPostRequest = /* @__PURE__ */ z.object({
|
|
1316
1316
|
draftPostId: z.string().describe("Draft post ID.").max(38),
|
|
1317
1317
|
options: z.object({
|
|
1318
1318
|
fieldsets: z.array(
|
|
@@ -1326,7 +1326,7 @@ var GetDraftPostRequest = z.object({
|
|
|
1326
1326
|
).max(10).optional()
|
|
1327
1327
|
}).describe("Options for getting a draft post.").optional()
|
|
1328
1328
|
});
|
|
1329
|
-
var GetDraftPostResponse = z.object({
|
|
1329
|
+
var GetDraftPostResponse = /* @__PURE__ */ z.object({
|
|
1330
1330
|
draftPost: z.object({
|
|
1331
1331
|
_id: z.string().describe("Draft post ID.").max(38).optional(),
|
|
1332
1332
|
title: z.string().describe("Draft post title.").max(200).optional(),
|
|
@@ -1399,7 +1399,7 @@ var GetDraftPostResponse = z.object({
|
|
|
1399
1399
|
tags: z.array(
|
|
1400
1400
|
z.object({
|
|
1401
1401
|
type: z.string().describe(
|
|
1402
|
-
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link
|
|
1402
|
+
"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."
|
|
1403
1403
|
).optional(),
|
|
1404
1404
|
props: z.record(z.string(), z.any()).describe(
|
|
1405
1405
|
'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"}`.'
|
|
@@ -1411,7 +1411,7 @@ var GetDraftPostResponse = z.object({
|
|
|
1411
1411
|
"SEO tag inner content. For example, `<title> inner content </title>`."
|
|
1412
1412
|
).optional(),
|
|
1413
1413
|
custom: z.boolean().describe(
|
|
1414
|
-
"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\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."
|
|
1414
|
+
"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\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."
|
|
1415
1415
|
).optional(),
|
|
1416
1416
|
disabled: z.boolean().describe(
|
|
1417
1417
|
"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
|
|
@@ -1482,7 +1482,7 @@ var GetDraftPostResponse = z.object({
|
|
|
1482
1482
|
).min(0).optional().nullable()
|
|
1483
1483
|
}).describe("Draft post info.").optional()
|
|
1484
1484
|
});
|
|
1485
|
-
var UpdateDraftPostRequest = z.object({
|
|
1485
|
+
var UpdateDraftPostRequest = /* @__PURE__ */ z.object({
|
|
1486
1486
|
_id: z.string().describe("Draft post ID.").max(38),
|
|
1487
1487
|
draftPost: z.object({
|
|
1488
1488
|
_id: z.string().describe("Draft post ID.").max(38).optional(),
|
|
@@ -1554,7 +1554,7 @@ var UpdateDraftPostRequest = z.object({
|
|
|
1554
1554
|
tags: z.array(
|
|
1555
1555
|
z.object({
|
|
1556
1556
|
type: z.string().describe(
|
|
1557
|
-
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link
|
|
1557
|
+
"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."
|
|
1558
1558
|
).optional(),
|
|
1559
1559
|
props: z.record(z.string(), z.any()).describe(
|
|
1560
1560
|
'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"}`.'
|
|
@@ -1566,7 +1566,7 @@ var UpdateDraftPostRequest = z.object({
|
|
|
1566
1566
|
"SEO tag inner content. For example, `<title> inner content </title>`."
|
|
1567
1567
|
).optional(),
|
|
1568
1568
|
custom: z.boolean().describe(
|
|
1569
|
-
"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\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."
|
|
1569
|
+
"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\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."
|
|
1570
1570
|
).optional(),
|
|
1571
1571
|
disabled: z.boolean().describe(
|
|
1572
1572
|
"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
|
|
@@ -1660,7 +1660,7 @@ var UpdateDraftPostRequest = z.object({
|
|
|
1660
1660
|
).max(10).optional()
|
|
1661
1661
|
}).describe("Options for updating a draft post.").optional()
|
|
1662
1662
|
});
|
|
1663
|
-
var UpdateDraftPostResponse = z.object({
|
|
1663
|
+
var UpdateDraftPostResponse = /* @__PURE__ */ z.object({
|
|
1664
1664
|
draftPost: z.object({
|
|
1665
1665
|
_id: z.string().describe("Draft post ID.").max(38).optional(),
|
|
1666
1666
|
title: z.string().describe("Draft post title.").max(200).optional(),
|
|
@@ -1733,7 +1733,7 @@ var UpdateDraftPostResponse = z.object({
|
|
|
1733
1733
|
tags: z.array(
|
|
1734
1734
|
z.object({
|
|
1735
1735
|
type: z.string().describe(
|
|
1736
|
-
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link
|
|
1736
|
+
"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."
|
|
1737
1737
|
).optional(),
|
|
1738
1738
|
props: z.record(z.string(), z.any()).describe(
|
|
1739
1739
|
'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"}`.'
|
|
@@ -1745,7 +1745,7 @@ var UpdateDraftPostResponse = z.object({
|
|
|
1745
1745
|
"SEO tag inner content. For example, `<title> inner content </title>`."
|
|
1746
1746
|
).optional(),
|
|
1747
1747
|
custom: z.boolean().describe(
|
|
1748
|
-
"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\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."
|
|
1748
|
+
"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\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."
|
|
1749
1749
|
).optional(),
|
|
1750
1750
|
disabled: z.boolean().describe(
|
|
1751
1751
|
"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
|
|
@@ -1816,7 +1816,7 @@ var UpdateDraftPostResponse = z.object({
|
|
|
1816
1816
|
).min(0).optional().nullable()
|
|
1817
1817
|
}).describe("Updated draft post info.").optional()
|
|
1818
1818
|
});
|
|
1819
|
-
var DeleteDraftPostRequest = z.object({
|
|
1819
|
+
var DeleteDraftPostRequest = /* @__PURE__ */ z.object({
|
|
1820
1820
|
draftPostId: z.string().describe("Draft post ID.").max(38),
|
|
1821
1821
|
options: z.object({
|
|
1822
1822
|
permanent: z.boolean().describe(
|
|
@@ -1824,18 +1824,18 @@ var DeleteDraftPostRequest = z.object({
|
|
|
1824
1824
|
).optional()
|
|
1825
1825
|
}).describe("Options for deleting a draft post.").optional()
|
|
1826
1826
|
});
|
|
1827
|
-
var DeleteDraftPostResponse = z.object({});
|
|
1828
|
-
var RemoveFromTrashBinRequest = z.object({
|
|
1827
|
+
var DeleteDraftPostResponse = /* @__PURE__ */ z.object({});
|
|
1828
|
+
var RemoveFromTrashBinRequest = /* @__PURE__ */ z.object({
|
|
1829
1829
|
draftPostId: z.string().describe("Draft post ID.").max(38)
|
|
1830
1830
|
});
|
|
1831
|
-
var RemoveFromTrashBinResponse = z.object({});
|
|
1832
|
-
var BulkDeleteDraftPostsRequest = z.object({
|
|
1831
|
+
var RemoveFromTrashBinResponse = /* @__PURE__ */ z.object({});
|
|
1832
|
+
var BulkDeleteDraftPostsRequest = /* @__PURE__ */ z.object({
|
|
1833
1833
|
postIds: z.array(z.string()).min(1).max(100),
|
|
1834
1834
|
options: z.object({
|
|
1835
1835
|
permanent: z.boolean().describe("Should delete bypassing the trash-bin.").optional()
|
|
1836
1836
|
}).describe("Options for deleting multiple draft posts.").optional()
|
|
1837
1837
|
});
|
|
1838
|
-
var BulkDeleteDraftPostsResponse = z.object({
|
|
1838
|
+
var BulkDeleteDraftPostsResponse = /* @__PURE__ */ z.object({
|
|
1839
1839
|
results: z.array(
|
|
1840
1840
|
z.object({
|
|
1841
1841
|
itemMetadata: z.object({
|
|
@@ -1926,7 +1926,7 @@ var BulkDeleteDraftPostsResponse = z.object({
|
|
|
1926
1926
|
tags: z.array(
|
|
1927
1927
|
z.object({
|
|
1928
1928
|
type: z.string().describe(
|
|
1929
|
-
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link
|
|
1929
|
+
"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."
|
|
1930
1930
|
).optional(),
|
|
1931
1931
|
props: z.record(z.string(), z.any()).describe(
|
|
1932
1932
|
'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"}`.'
|
|
@@ -1938,7 +1938,7 @@ var BulkDeleteDraftPostsResponse = z.object({
|
|
|
1938
1938
|
"SEO tag inner content. For example, `<title> inner content </title>`."
|
|
1939
1939
|
).optional(),
|
|
1940
1940
|
custom: z.boolean().describe(
|
|
1941
|
-
"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\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."
|
|
1941
|
+
"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\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."
|
|
1942
1942
|
).optional(),
|
|
1943
1943
|
disabled: z.boolean().describe(
|
|
1944
1944
|
"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
|
|
@@ -2018,7 +2018,7 @@ var BulkDeleteDraftPostsResponse = z.object({
|
|
|
2018
2018
|
).optional()
|
|
2019
2019
|
}).describe("Bulk action metadata.").optional()
|
|
2020
2020
|
});
|
|
2021
|
-
var ListDraftPostsRequest = z.object({
|
|
2021
|
+
var ListDraftPostsRequest = /* @__PURE__ */ z.object({
|
|
2022
2022
|
options: z.object({
|
|
2023
2023
|
status: z.enum([
|
|
2024
2024
|
"UNKNOWN",
|
|
@@ -2052,7 +2052,7 @@ var ListDraftPostsRequest = z.object({
|
|
|
2052
2052
|
).max(10).optional()
|
|
2053
2053
|
}).describe("Options for listing multiple draft posts.").optional()
|
|
2054
2054
|
});
|
|
2055
|
-
var ListDraftPostsResponse = z.object({
|
|
2055
|
+
var ListDraftPostsResponse = /* @__PURE__ */ z.object({
|
|
2056
2056
|
draftPosts: z.array(
|
|
2057
2057
|
z.object({
|
|
2058
2058
|
_id: z.string().describe("Draft post ID.").max(38).optional(),
|
|
@@ -2126,7 +2126,7 @@ var ListDraftPostsResponse = z.object({
|
|
|
2126
2126
|
tags: z.array(
|
|
2127
2127
|
z.object({
|
|
2128
2128
|
type: z.string().describe(
|
|
2129
|
-
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link
|
|
2129
|
+
"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."
|
|
2130
2130
|
).optional(),
|
|
2131
2131
|
props: z.record(z.string(), z.any()).describe(
|
|
2132
2132
|
'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"}`.'
|
|
@@ -2138,7 +2138,7 @@ var ListDraftPostsResponse = z.object({
|
|
|
2138
2138
|
"SEO tag inner content. For example, `<title> inner content </title>`."
|
|
2139
2139
|
).optional(),
|
|
2140
2140
|
custom: z.boolean().describe(
|
|
2141
|
-
"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\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."
|
|
2141
|
+
"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\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."
|
|
2142
2142
|
).optional(),
|
|
2143
2143
|
disabled: z.boolean().describe(
|
|
2144
2144
|
"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
|
|
@@ -2218,10 +2218,10 @@ var ListDraftPostsResponse = z.object({
|
|
|
2218
2218
|
).max(2e3).optional().nullable()
|
|
2219
2219
|
}).describe("Details on the paged set of results returned.").optional()
|
|
2220
2220
|
});
|
|
2221
|
-
var GetDeletedDraftPostRequest = z.object({
|
|
2221
|
+
var GetDeletedDraftPostRequest = /* @__PURE__ */ z.object({
|
|
2222
2222
|
draftPostId: z.string().describe("Draft post ID.").max(38)
|
|
2223
2223
|
});
|
|
2224
|
-
var GetDeletedDraftPostResponse = z.object({
|
|
2224
|
+
var GetDeletedDraftPostResponse = /* @__PURE__ */ z.object({
|
|
2225
2225
|
draftPost: z.object({
|
|
2226
2226
|
_id: z.string().describe("Draft post ID.").max(38).optional(),
|
|
2227
2227
|
title: z.string().describe("Draft post title.").max(200).optional(),
|
|
@@ -2294,7 +2294,7 @@ var GetDeletedDraftPostResponse = z.object({
|
|
|
2294
2294
|
tags: z.array(
|
|
2295
2295
|
z.object({
|
|
2296
2296
|
type: z.string().describe(
|
|
2297
|
-
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link
|
|
2297
|
+
"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."
|
|
2298
2298
|
).optional(),
|
|
2299
2299
|
props: z.record(z.string(), z.any()).describe(
|
|
2300
2300
|
'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"}`.'
|
|
@@ -2306,7 +2306,7 @@ var GetDeletedDraftPostResponse = z.object({
|
|
|
2306
2306
|
"SEO tag inner content. For example, `<title> inner content </title>`."
|
|
2307
2307
|
).optional(),
|
|
2308
2308
|
custom: z.boolean().describe(
|
|
2309
|
-
"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\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."
|
|
2309
|
+
"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\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."
|
|
2310
2310
|
).optional(),
|
|
2311
2311
|
disabled: z.boolean().describe(
|
|
2312
2312
|
"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
|
|
@@ -2377,10 +2377,10 @@ var GetDeletedDraftPostResponse = z.object({
|
|
|
2377
2377
|
).min(0).optional().nullable()
|
|
2378
2378
|
}).describe("Draft post info.").optional()
|
|
2379
2379
|
});
|
|
2380
|
-
var RestoreFromTrashBinRequest = z.object({
|
|
2380
|
+
var RestoreFromTrashBinRequest = /* @__PURE__ */ z.object({
|
|
2381
2381
|
draftPostId: z.string().describe("Draft post ID.").max(38)
|
|
2382
2382
|
});
|
|
2383
|
-
var RestoreFromTrashBinResponse = z.object({
|
|
2383
|
+
var RestoreFromTrashBinResponse = /* @__PURE__ */ z.object({
|
|
2384
2384
|
draftPost: z.object({
|
|
2385
2385
|
_id: z.string().describe("Draft post ID.").max(38).optional(),
|
|
2386
2386
|
title: z.string().describe("Draft post title.").max(200).optional(),
|
|
@@ -2453,7 +2453,7 @@ var RestoreFromTrashBinResponse = z.object({
|
|
|
2453
2453
|
tags: z.array(
|
|
2454
2454
|
z.object({
|
|
2455
2455
|
type: z.string().describe(
|
|
2456
|
-
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link
|
|
2456
|
+
"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."
|
|
2457
2457
|
).optional(),
|
|
2458
2458
|
props: z.record(z.string(), z.any()).describe(
|
|
2459
2459
|
'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"}`.'
|
|
@@ -2465,7 +2465,7 @@ var RestoreFromTrashBinResponse = z.object({
|
|
|
2465
2465
|
"SEO tag inner content. For example, `<title> inner content </title>`."
|
|
2466
2466
|
).optional(),
|
|
2467
2467
|
custom: z.boolean().describe(
|
|
2468
|
-
"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\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."
|
|
2468
|
+
"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\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."
|
|
2469
2469
|
).optional(),
|
|
2470
2470
|
disabled: z.boolean().describe(
|
|
2471
2471
|
"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
|
|
@@ -2536,7 +2536,7 @@ var RestoreFromTrashBinResponse = z.object({
|
|
|
2536
2536
|
).min(0).optional().nullable()
|
|
2537
2537
|
}).describe("Restored draft post info.").optional()
|
|
2538
2538
|
});
|
|
2539
|
-
var QueryDraftPostsRequest = z.object({
|
|
2539
|
+
var QueryDraftPostsRequest = /* @__PURE__ */ z.object({
|
|
2540
2540
|
query: z.object({
|
|
2541
2541
|
filter: z.object({
|
|
2542
2542
|
_id: z.object({
|
|
@@ -2667,7 +2667,7 @@ var QueryDraftPostsRequest = z.object({
|
|
|
2667
2667
|
).max(10).optional()
|
|
2668
2668
|
}).describe("Options for querying draft posts.").optional()
|
|
2669
2669
|
});
|
|
2670
|
-
var QueryDraftPostsResponse = z.object({
|
|
2670
|
+
var QueryDraftPostsResponse = /* @__PURE__ */ z.object({
|
|
2671
2671
|
draftPosts: z.array(
|
|
2672
2672
|
z.object({
|
|
2673
2673
|
_id: z.string().describe("Draft post ID.").max(38).optional(),
|
|
@@ -2741,7 +2741,7 @@ var QueryDraftPostsResponse = z.object({
|
|
|
2741
2741
|
tags: z.array(
|
|
2742
2742
|
z.object({
|
|
2743
2743
|
type: z.string().describe(
|
|
2744
|
-
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link
|
|
2744
|
+
"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."
|
|
2745
2745
|
).optional(),
|
|
2746
2746
|
props: z.record(z.string(), z.any()).describe(
|
|
2747
2747
|
'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"}`.'
|
|
@@ -2753,7 +2753,7 @@ var QueryDraftPostsResponse = z.object({
|
|
|
2753
2753
|
"SEO tag inner content. For example, `<title> inner content </title>`."
|
|
2754
2754
|
).optional(),
|
|
2755
2755
|
custom: z.boolean().describe(
|
|
2756
|
-
"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\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."
|
|
2756
|
+
"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\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."
|
|
2757
2757
|
).optional(),
|
|
2758
2758
|
disabled: z.boolean().describe(
|
|
2759
2759
|
"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
|
|
@@ -2843,10 +2843,10 @@ var QueryDraftPostsResponse = z.object({
|
|
|
2843
2843
|
).optional()
|
|
2844
2844
|
}).describe("Details on the paged set of results returned.").optional()
|
|
2845
2845
|
});
|
|
2846
|
-
var PublishDraftPostRequest = z.object({
|
|
2846
|
+
var PublishDraftPostRequest = /* @__PURE__ */ z.object({
|
|
2847
2847
|
draftPostId: z.string().describe("Draft post ID.").max(38)
|
|
2848
2848
|
});
|
|
2849
|
-
var PublishDraftPostResponse = z.object({
|
|
2849
|
+
var PublishDraftPostResponse = /* @__PURE__ */ z.object({
|
|
2850
2850
|
postId: z.string().describe("Published post ID.").regex(
|
|
2851
2851
|
/^[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}$/,
|
|
2852
2852
|
"Must be a valid GUID"
|