@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
package/build/es/schemas.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// src/blog-v3-draft-draft-posts.schemas.ts
|
|
2
2
|
import * as z from "zod";
|
|
3
|
-
var CreateDraftPostRequest = z.object({
|
|
3
|
+
var CreateDraftPostRequest = /* @__PURE__ */ z.object({
|
|
4
4
|
draftPost: z.object({
|
|
5
5
|
_id: z.string().describe("Draft post ID.").max(38).optional(),
|
|
6
6
|
title: z.string().describe("Draft post title.").max(200),
|
|
@@ -71,7 +71,7 @@ var CreateDraftPostRequest = z.object({
|
|
|
71
71
|
tags: z.array(
|
|
72
72
|
z.object({
|
|
73
73
|
type: z.string().describe(
|
|
74
|
-
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link
|
|
74
|
+
"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."
|
|
75
75
|
).optional(),
|
|
76
76
|
props: z.record(z.string(), z.any()).describe(
|
|
77
77
|
'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"}`.'
|
|
@@ -83,7 +83,7 @@ var CreateDraftPostRequest = z.object({
|
|
|
83
83
|
"SEO tag inner content. For example, `<title> inner content </title>`."
|
|
84
84
|
).optional(),
|
|
85
85
|
custom: z.boolean().describe(
|
|
86
|
-
"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."
|
|
86
|
+
"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."
|
|
87
87
|
).optional(),
|
|
88
88
|
disabled: z.boolean().describe(
|
|
89
89
|
"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
|
|
@@ -168,7 +168,7 @@ var CreateDraftPostRequest = z.object({
|
|
|
168
168
|
).max(10).optional()
|
|
169
169
|
}).describe("Options for creating a draft post.").optional()
|
|
170
170
|
});
|
|
171
|
-
var CreateDraftPostResponse = z.object({
|
|
171
|
+
var CreateDraftPostResponse = /* @__PURE__ */ z.object({
|
|
172
172
|
draftPost: z.object({
|
|
173
173
|
_id: z.string().describe("Draft post ID.").max(38).optional(),
|
|
174
174
|
title: z.string().describe("Draft post title.").max(200).optional(),
|
|
@@ -241,7 +241,7 @@ var CreateDraftPostResponse = z.object({
|
|
|
241
241
|
tags: z.array(
|
|
242
242
|
z.object({
|
|
243
243
|
type: z.string().describe(
|
|
244
|
-
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link
|
|
244
|
+
"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."
|
|
245
245
|
).optional(),
|
|
246
246
|
props: z.record(z.string(), z.any()).describe(
|
|
247
247
|
'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"}`.'
|
|
@@ -253,7 +253,7 @@ var CreateDraftPostResponse = z.object({
|
|
|
253
253
|
"SEO tag inner content. For example, `<title> inner content </title>`."
|
|
254
254
|
).optional(),
|
|
255
255
|
custom: z.boolean().describe(
|
|
256
|
-
"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."
|
|
256
|
+
"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."
|
|
257
257
|
).optional(),
|
|
258
258
|
disabled: z.boolean().describe(
|
|
259
259
|
"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
|
|
@@ -324,7 +324,7 @@ var CreateDraftPostResponse = z.object({
|
|
|
324
324
|
).min(0).optional().nullable()
|
|
325
325
|
}).describe("Created draft post info.").optional()
|
|
326
326
|
});
|
|
327
|
-
var BulkCreateDraftPostsRequest = z.object({
|
|
327
|
+
var BulkCreateDraftPostsRequest = /* @__PURE__ */ z.object({
|
|
328
328
|
draftPosts: z.array(
|
|
329
329
|
z.object({
|
|
330
330
|
_id: z.string().describe("Draft post ID.").max(38).optional(),
|
|
@@ -396,7 +396,7 @@ var BulkCreateDraftPostsRequest = z.object({
|
|
|
396
396
|
tags: z.array(
|
|
397
397
|
z.object({
|
|
398
398
|
type: z.string().describe(
|
|
399
|
-
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link
|
|
399
|
+
"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."
|
|
400
400
|
).optional(),
|
|
401
401
|
props: z.record(z.string(), z.any()).describe(
|
|
402
402
|
'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"}`.'
|
|
@@ -408,7 +408,7 @@ var BulkCreateDraftPostsRequest = z.object({
|
|
|
408
408
|
"SEO tag inner content. For example, `<title> inner content </title>`."
|
|
409
409
|
).optional(),
|
|
410
410
|
custom: z.boolean().describe(
|
|
411
|
-
"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."
|
|
411
|
+
"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."
|
|
412
412
|
).optional(),
|
|
413
413
|
disabled: z.boolean().describe(
|
|
414
414
|
"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
|
|
@@ -495,7 +495,7 @@ var BulkCreateDraftPostsRequest = z.object({
|
|
|
495
495
|
).max(10).optional()
|
|
496
496
|
}).describe("Options for creating multiple draft posts.").optional()
|
|
497
497
|
});
|
|
498
|
-
var BulkCreateDraftPostsResponse = z.object({
|
|
498
|
+
var BulkCreateDraftPostsResponse = /* @__PURE__ */ z.object({
|
|
499
499
|
results: z.array(
|
|
500
500
|
z.object({
|
|
501
501
|
itemMetadata: z.object({
|
|
@@ -586,7 +586,7 @@ var BulkCreateDraftPostsResponse = z.object({
|
|
|
586
586
|
tags: z.array(
|
|
587
587
|
z.object({
|
|
588
588
|
type: z.string().describe(
|
|
589
|
-
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link
|
|
589
|
+
"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."
|
|
590
590
|
).optional(),
|
|
591
591
|
props: z.record(z.string(), z.any()).describe(
|
|
592
592
|
'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"}`.'
|
|
@@ -598,7 +598,7 @@ var BulkCreateDraftPostsResponse = z.object({
|
|
|
598
598
|
"SEO tag inner content. For example, `<title> inner content </title>`."
|
|
599
599
|
).optional(),
|
|
600
600
|
custom: z.boolean().describe(
|
|
601
|
-
"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."
|
|
601
|
+
"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."
|
|
602
602
|
).optional(),
|
|
603
603
|
disabled: z.boolean().describe(
|
|
604
604
|
"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
|
|
@@ -678,7 +678,7 @@ var BulkCreateDraftPostsResponse = z.object({
|
|
|
678
678
|
).optional()
|
|
679
679
|
}).describe("Bulk action metadata.").optional()
|
|
680
680
|
});
|
|
681
|
-
var BulkUpdateDraftPostsRequest = z.object({
|
|
681
|
+
var BulkUpdateDraftPostsRequest = /* @__PURE__ */ z.object({
|
|
682
682
|
options: z.object({
|
|
683
683
|
draftPosts: z.array(
|
|
684
684
|
z.object({
|
|
@@ -752,7 +752,7 @@ var BulkUpdateDraftPostsRequest = z.object({
|
|
|
752
752
|
tags: z.array(
|
|
753
753
|
z.object({
|
|
754
754
|
type: z.string().describe(
|
|
755
|
-
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link
|
|
755
|
+
"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."
|
|
756
756
|
).optional(),
|
|
757
757
|
props: z.record(z.string(), z.any()).describe(
|
|
758
758
|
'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"}`.'
|
|
@@ -764,7 +764,7 @@ var BulkUpdateDraftPostsRequest = z.object({
|
|
|
764
764
|
"SEO tag inner content. For example, `<title> inner content </title>`."
|
|
765
765
|
).optional(),
|
|
766
766
|
custom: z.boolean().describe(
|
|
767
|
-
"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."
|
|
767
|
+
"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."
|
|
768
768
|
).optional(),
|
|
769
769
|
disabled: z.boolean().describe(
|
|
770
770
|
"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
|
|
@@ -863,7 +863,7 @@ var BulkUpdateDraftPostsRequest = z.object({
|
|
|
863
863
|
).max(10).optional()
|
|
864
864
|
}).describe("Options for updating multiple draft posts.").optional()
|
|
865
865
|
});
|
|
866
|
-
var BulkUpdateDraftPostsResponse = z.object({
|
|
866
|
+
var BulkUpdateDraftPostsResponse = /* @__PURE__ */ z.object({
|
|
867
867
|
results: z.array(
|
|
868
868
|
z.object({
|
|
869
869
|
itemMetadata: z.object({
|
|
@@ -954,7 +954,7 @@ var BulkUpdateDraftPostsResponse = z.object({
|
|
|
954
954
|
tags: z.array(
|
|
955
955
|
z.object({
|
|
956
956
|
type: z.string().describe(
|
|
957
|
-
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link
|
|
957
|
+
"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."
|
|
958
958
|
).optional(),
|
|
959
959
|
props: z.record(z.string(), z.any()).describe(
|
|
960
960
|
'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"}`.'
|
|
@@ -966,7 +966,7 @@ var BulkUpdateDraftPostsResponse = z.object({
|
|
|
966
966
|
"SEO tag inner content. For example, `<title> inner content </title>`."
|
|
967
967
|
).optional(),
|
|
968
968
|
custom: z.boolean().describe(
|
|
969
|
-
"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."
|
|
969
|
+
"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."
|
|
970
970
|
).optional(),
|
|
971
971
|
disabled: z.boolean().describe(
|
|
972
972
|
"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
|
|
@@ -1046,7 +1046,7 @@ var BulkUpdateDraftPostsResponse = z.object({
|
|
|
1046
1046
|
).optional()
|
|
1047
1047
|
}).describe("Bulk action metadata.").optional()
|
|
1048
1048
|
});
|
|
1049
|
-
var ListDeletedDraftPostsRequest = z.object({
|
|
1049
|
+
var ListDeletedDraftPostsRequest = /* @__PURE__ */ z.object({
|
|
1050
1050
|
options: z.object({
|
|
1051
1051
|
language: z.string().describe(
|
|
1052
1052
|
"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."
|
|
@@ -1073,7 +1073,7 @@ var ListDeletedDraftPostsRequest = z.object({
|
|
|
1073
1073
|
draftPostIds: z.array(z.string()).max(100).optional()
|
|
1074
1074
|
}).describe("Options for listing deleted draft posts.").optional()
|
|
1075
1075
|
});
|
|
1076
|
-
var ListDeletedDraftPostsResponse = z.object({
|
|
1076
|
+
var ListDeletedDraftPostsResponse = /* @__PURE__ */ z.object({
|
|
1077
1077
|
draftPosts: z.array(
|
|
1078
1078
|
z.object({
|
|
1079
1079
|
_id: z.string().describe("Draft post ID.").max(38).optional(),
|
|
@@ -1147,7 +1147,7 @@ var ListDeletedDraftPostsResponse = z.object({
|
|
|
1147
1147
|
tags: z.array(
|
|
1148
1148
|
z.object({
|
|
1149
1149
|
type: z.string().describe(
|
|
1150
|
-
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link
|
|
1150
|
+
"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."
|
|
1151
1151
|
).optional(),
|
|
1152
1152
|
props: z.record(z.string(), z.any()).describe(
|
|
1153
1153
|
'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"}`.'
|
|
@@ -1159,7 +1159,7 @@ var ListDeletedDraftPostsResponse = z.object({
|
|
|
1159
1159
|
"SEO tag inner content. For example, `<title> inner content </title>`."
|
|
1160
1160
|
).optional(),
|
|
1161
1161
|
custom: z.boolean().describe(
|
|
1162
|
-
"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."
|
|
1162
|
+
"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."
|
|
1163
1163
|
).optional(),
|
|
1164
1164
|
disabled: z.boolean().describe(
|
|
1165
1165
|
"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
|
|
@@ -1249,7 +1249,7 @@ var ListDeletedDraftPostsResponse = z.object({
|
|
|
1249
1249
|
).optional()
|
|
1250
1250
|
}).describe("Details on the paged set of results returned.").optional()
|
|
1251
1251
|
});
|
|
1252
|
-
var GetDraftPostRequest = z.object({
|
|
1252
|
+
var GetDraftPostRequest = /* @__PURE__ */ z.object({
|
|
1253
1253
|
draftPostId: z.string().describe("Draft post ID.").max(38),
|
|
1254
1254
|
options: z.object({
|
|
1255
1255
|
fieldsets: z.array(
|
|
@@ -1263,7 +1263,7 @@ var GetDraftPostRequest = z.object({
|
|
|
1263
1263
|
).max(10).optional()
|
|
1264
1264
|
}).describe("Options for getting a draft post.").optional()
|
|
1265
1265
|
});
|
|
1266
|
-
var GetDraftPostResponse = z.object({
|
|
1266
|
+
var GetDraftPostResponse = /* @__PURE__ */ z.object({
|
|
1267
1267
|
draftPost: z.object({
|
|
1268
1268
|
_id: z.string().describe("Draft post ID.").max(38).optional(),
|
|
1269
1269
|
title: z.string().describe("Draft post title.").max(200).optional(),
|
|
@@ -1336,7 +1336,7 @@ var GetDraftPostResponse = z.object({
|
|
|
1336
1336
|
tags: z.array(
|
|
1337
1337
|
z.object({
|
|
1338
1338
|
type: z.string().describe(
|
|
1339
|
-
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link
|
|
1339
|
+
"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."
|
|
1340
1340
|
).optional(),
|
|
1341
1341
|
props: z.record(z.string(), z.any()).describe(
|
|
1342
1342
|
'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"}`.'
|
|
@@ -1348,7 +1348,7 @@ var GetDraftPostResponse = z.object({
|
|
|
1348
1348
|
"SEO tag inner content. For example, `<title> inner content </title>`."
|
|
1349
1349
|
).optional(),
|
|
1350
1350
|
custom: z.boolean().describe(
|
|
1351
|
-
"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."
|
|
1351
|
+
"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."
|
|
1352
1352
|
).optional(),
|
|
1353
1353
|
disabled: z.boolean().describe(
|
|
1354
1354
|
"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
|
|
@@ -1419,7 +1419,7 @@ var GetDraftPostResponse = z.object({
|
|
|
1419
1419
|
).min(0).optional().nullable()
|
|
1420
1420
|
}).describe("Draft post info.").optional()
|
|
1421
1421
|
});
|
|
1422
|
-
var UpdateDraftPostRequest = z.object({
|
|
1422
|
+
var UpdateDraftPostRequest = /* @__PURE__ */ z.object({
|
|
1423
1423
|
_id: z.string().describe("Draft post ID.").max(38),
|
|
1424
1424
|
draftPost: z.object({
|
|
1425
1425
|
_id: z.string().describe("Draft post ID.").max(38).optional(),
|
|
@@ -1491,7 +1491,7 @@ var UpdateDraftPostRequest = z.object({
|
|
|
1491
1491
|
tags: z.array(
|
|
1492
1492
|
z.object({
|
|
1493
1493
|
type: z.string().describe(
|
|
1494
|
-
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link
|
|
1494
|
+
"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."
|
|
1495
1495
|
).optional(),
|
|
1496
1496
|
props: z.record(z.string(), z.any()).describe(
|
|
1497
1497
|
'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"}`.'
|
|
@@ -1503,7 +1503,7 @@ var UpdateDraftPostRequest = z.object({
|
|
|
1503
1503
|
"SEO tag inner content. For example, `<title> inner content </title>`."
|
|
1504
1504
|
).optional(),
|
|
1505
1505
|
custom: z.boolean().describe(
|
|
1506
|
-
"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."
|
|
1506
|
+
"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."
|
|
1507
1507
|
).optional(),
|
|
1508
1508
|
disabled: z.boolean().describe(
|
|
1509
1509
|
"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
|
|
@@ -1597,7 +1597,7 @@ var UpdateDraftPostRequest = z.object({
|
|
|
1597
1597
|
).max(10).optional()
|
|
1598
1598
|
}).describe("Options for updating a draft post.").optional()
|
|
1599
1599
|
});
|
|
1600
|
-
var UpdateDraftPostResponse = z.object({
|
|
1600
|
+
var UpdateDraftPostResponse = /* @__PURE__ */ z.object({
|
|
1601
1601
|
draftPost: z.object({
|
|
1602
1602
|
_id: z.string().describe("Draft post ID.").max(38).optional(),
|
|
1603
1603
|
title: z.string().describe("Draft post title.").max(200).optional(),
|
|
@@ -1670,7 +1670,7 @@ var UpdateDraftPostResponse = z.object({
|
|
|
1670
1670
|
tags: z.array(
|
|
1671
1671
|
z.object({
|
|
1672
1672
|
type: z.string().describe(
|
|
1673
|
-
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link
|
|
1673
|
+
"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."
|
|
1674
1674
|
).optional(),
|
|
1675
1675
|
props: z.record(z.string(), z.any()).describe(
|
|
1676
1676
|
'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"}`.'
|
|
@@ -1682,7 +1682,7 @@ var UpdateDraftPostResponse = z.object({
|
|
|
1682
1682
|
"SEO tag inner content. For example, `<title> inner content </title>`."
|
|
1683
1683
|
).optional(),
|
|
1684
1684
|
custom: z.boolean().describe(
|
|
1685
|
-
"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."
|
|
1685
|
+
"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."
|
|
1686
1686
|
).optional(),
|
|
1687
1687
|
disabled: z.boolean().describe(
|
|
1688
1688
|
"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
|
|
@@ -1753,7 +1753,7 @@ var UpdateDraftPostResponse = z.object({
|
|
|
1753
1753
|
).min(0).optional().nullable()
|
|
1754
1754
|
}).describe("Updated draft post info.").optional()
|
|
1755
1755
|
});
|
|
1756
|
-
var DeleteDraftPostRequest = z.object({
|
|
1756
|
+
var DeleteDraftPostRequest = /* @__PURE__ */ z.object({
|
|
1757
1757
|
draftPostId: z.string().describe("Draft post ID.").max(38),
|
|
1758
1758
|
options: z.object({
|
|
1759
1759
|
permanent: z.boolean().describe(
|
|
@@ -1761,18 +1761,18 @@ var DeleteDraftPostRequest = z.object({
|
|
|
1761
1761
|
).optional()
|
|
1762
1762
|
}).describe("Options for deleting a draft post.").optional()
|
|
1763
1763
|
});
|
|
1764
|
-
var DeleteDraftPostResponse = z.object({});
|
|
1765
|
-
var RemoveFromTrashBinRequest = z.object({
|
|
1764
|
+
var DeleteDraftPostResponse = /* @__PURE__ */ z.object({});
|
|
1765
|
+
var RemoveFromTrashBinRequest = /* @__PURE__ */ z.object({
|
|
1766
1766
|
draftPostId: z.string().describe("Draft post ID.").max(38)
|
|
1767
1767
|
});
|
|
1768
|
-
var RemoveFromTrashBinResponse = z.object({});
|
|
1769
|
-
var BulkDeleteDraftPostsRequest = z.object({
|
|
1768
|
+
var RemoveFromTrashBinResponse = /* @__PURE__ */ z.object({});
|
|
1769
|
+
var BulkDeleteDraftPostsRequest = /* @__PURE__ */ z.object({
|
|
1770
1770
|
postIds: z.array(z.string()).min(1).max(100),
|
|
1771
1771
|
options: z.object({
|
|
1772
1772
|
permanent: z.boolean().describe("Should delete bypassing the trash-bin.").optional()
|
|
1773
1773
|
}).describe("Options for deleting multiple draft posts.").optional()
|
|
1774
1774
|
});
|
|
1775
|
-
var BulkDeleteDraftPostsResponse = z.object({
|
|
1775
|
+
var BulkDeleteDraftPostsResponse = /* @__PURE__ */ z.object({
|
|
1776
1776
|
results: z.array(
|
|
1777
1777
|
z.object({
|
|
1778
1778
|
itemMetadata: z.object({
|
|
@@ -1863,7 +1863,7 @@ var BulkDeleteDraftPostsResponse = z.object({
|
|
|
1863
1863
|
tags: z.array(
|
|
1864
1864
|
z.object({
|
|
1865
1865
|
type: z.string().describe(
|
|
1866
|
-
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link
|
|
1866
|
+
"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."
|
|
1867
1867
|
).optional(),
|
|
1868
1868
|
props: z.record(z.string(), z.any()).describe(
|
|
1869
1869
|
'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"}`.'
|
|
@@ -1875,7 +1875,7 @@ var BulkDeleteDraftPostsResponse = z.object({
|
|
|
1875
1875
|
"SEO tag inner content. For example, `<title> inner content </title>`."
|
|
1876
1876
|
).optional(),
|
|
1877
1877
|
custom: z.boolean().describe(
|
|
1878
|
-
"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."
|
|
1878
|
+
"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."
|
|
1879
1879
|
).optional(),
|
|
1880
1880
|
disabled: z.boolean().describe(
|
|
1881
1881
|
"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
|
|
@@ -1955,7 +1955,7 @@ var BulkDeleteDraftPostsResponse = z.object({
|
|
|
1955
1955
|
).optional()
|
|
1956
1956
|
}).describe("Bulk action metadata.").optional()
|
|
1957
1957
|
});
|
|
1958
|
-
var ListDraftPostsRequest = z.object({
|
|
1958
|
+
var ListDraftPostsRequest = /* @__PURE__ */ z.object({
|
|
1959
1959
|
options: z.object({
|
|
1960
1960
|
status: z.enum([
|
|
1961
1961
|
"UNKNOWN",
|
|
@@ -1989,7 +1989,7 @@ var ListDraftPostsRequest = z.object({
|
|
|
1989
1989
|
).max(10).optional()
|
|
1990
1990
|
}).describe("Options for listing multiple draft posts.").optional()
|
|
1991
1991
|
});
|
|
1992
|
-
var ListDraftPostsResponse = z.object({
|
|
1992
|
+
var ListDraftPostsResponse = /* @__PURE__ */ z.object({
|
|
1993
1993
|
draftPosts: z.array(
|
|
1994
1994
|
z.object({
|
|
1995
1995
|
_id: z.string().describe("Draft post ID.").max(38).optional(),
|
|
@@ -2063,7 +2063,7 @@ var ListDraftPostsResponse = z.object({
|
|
|
2063
2063
|
tags: z.array(
|
|
2064
2064
|
z.object({
|
|
2065
2065
|
type: z.string().describe(
|
|
2066
|
-
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link
|
|
2066
|
+
"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."
|
|
2067
2067
|
).optional(),
|
|
2068
2068
|
props: z.record(z.string(), z.any()).describe(
|
|
2069
2069
|
'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"}`.'
|
|
@@ -2075,7 +2075,7 @@ var ListDraftPostsResponse = z.object({
|
|
|
2075
2075
|
"SEO tag inner content. For example, `<title> inner content </title>`."
|
|
2076
2076
|
).optional(),
|
|
2077
2077
|
custom: z.boolean().describe(
|
|
2078
|
-
"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."
|
|
2078
|
+
"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."
|
|
2079
2079
|
).optional(),
|
|
2080
2080
|
disabled: z.boolean().describe(
|
|
2081
2081
|
"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
|
|
@@ -2155,10 +2155,10 @@ var ListDraftPostsResponse = z.object({
|
|
|
2155
2155
|
).max(2e3).optional().nullable()
|
|
2156
2156
|
}).describe("Details on the paged set of results returned.").optional()
|
|
2157
2157
|
});
|
|
2158
|
-
var GetDeletedDraftPostRequest = z.object({
|
|
2158
|
+
var GetDeletedDraftPostRequest = /* @__PURE__ */ z.object({
|
|
2159
2159
|
draftPostId: z.string().describe("Draft post ID.").max(38)
|
|
2160
2160
|
});
|
|
2161
|
-
var GetDeletedDraftPostResponse = z.object({
|
|
2161
|
+
var GetDeletedDraftPostResponse = /* @__PURE__ */ z.object({
|
|
2162
2162
|
draftPost: z.object({
|
|
2163
2163
|
_id: z.string().describe("Draft post ID.").max(38).optional(),
|
|
2164
2164
|
title: z.string().describe("Draft post title.").max(200).optional(),
|
|
@@ -2231,7 +2231,7 @@ var GetDeletedDraftPostResponse = z.object({
|
|
|
2231
2231
|
tags: z.array(
|
|
2232
2232
|
z.object({
|
|
2233
2233
|
type: z.string().describe(
|
|
2234
|
-
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link
|
|
2234
|
+
"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."
|
|
2235
2235
|
).optional(),
|
|
2236
2236
|
props: z.record(z.string(), z.any()).describe(
|
|
2237
2237
|
'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"}`.'
|
|
@@ -2243,7 +2243,7 @@ var GetDeletedDraftPostResponse = z.object({
|
|
|
2243
2243
|
"SEO tag inner content. For example, `<title> inner content </title>`."
|
|
2244
2244
|
).optional(),
|
|
2245
2245
|
custom: z.boolean().describe(
|
|
2246
|
-
"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."
|
|
2246
|
+
"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."
|
|
2247
2247
|
).optional(),
|
|
2248
2248
|
disabled: z.boolean().describe(
|
|
2249
2249
|
"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
|
|
@@ -2314,10 +2314,10 @@ var GetDeletedDraftPostResponse = z.object({
|
|
|
2314
2314
|
).min(0).optional().nullable()
|
|
2315
2315
|
}).describe("Draft post info.").optional()
|
|
2316
2316
|
});
|
|
2317
|
-
var RestoreFromTrashBinRequest = z.object({
|
|
2317
|
+
var RestoreFromTrashBinRequest = /* @__PURE__ */ z.object({
|
|
2318
2318
|
draftPostId: z.string().describe("Draft post ID.").max(38)
|
|
2319
2319
|
});
|
|
2320
|
-
var RestoreFromTrashBinResponse = z.object({
|
|
2320
|
+
var RestoreFromTrashBinResponse = /* @__PURE__ */ z.object({
|
|
2321
2321
|
draftPost: z.object({
|
|
2322
2322
|
_id: z.string().describe("Draft post ID.").max(38).optional(),
|
|
2323
2323
|
title: z.string().describe("Draft post title.").max(200).optional(),
|
|
@@ -2390,7 +2390,7 @@ var RestoreFromTrashBinResponse = z.object({
|
|
|
2390
2390
|
tags: z.array(
|
|
2391
2391
|
z.object({
|
|
2392
2392
|
type: z.string().describe(
|
|
2393
|
-
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link
|
|
2393
|
+
"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."
|
|
2394
2394
|
).optional(),
|
|
2395
2395
|
props: z.record(z.string(), z.any()).describe(
|
|
2396
2396
|
'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"}`.'
|
|
@@ -2402,7 +2402,7 @@ var RestoreFromTrashBinResponse = z.object({
|
|
|
2402
2402
|
"SEO tag inner content. For example, `<title> inner content </title>`."
|
|
2403
2403
|
).optional(),
|
|
2404
2404
|
custom: z.boolean().describe(
|
|
2405
|
-
"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."
|
|
2405
|
+
"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."
|
|
2406
2406
|
).optional(),
|
|
2407
2407
|
disabled: z.boolean().describe(
|
|
2408
2408
|
"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
|
|
@@ -2473,7 +2473,7 @@ var RestoreFromTrashBinResponse = z.object({
|
|
|
2473
2473
|
).min(0).optional().nullable()
|
|
2474
2474
|
}).describe("Restored draft post info.").optional()
|
|
2475
2475
|
});
|
|
2476
|
-
var QueryDraftPostsRequest = z.object({
|
|
2476
|
+
var QueryDraftPostsRequest = /* @__PURE__ */ z.object({
|
|
2477
2477
|
query: z.object({
|
|
2478
2478
|
filter: z.object({
|
|
2479
2479
|
_id: z.object({
|
|
@@ -2604,7 +2604,7 @@ var QueryDraftPostsRequest = z.object({
|
|
|
2604
2604
|
).max(10).optional()
|
|
2605
2605
|
}).describe("Options for querying draft posts.").optional()
|
|
2606
2606
|
});
|
|
2607
|
-
var QueryDraftPostsResponse = z.object({
|
|
2607
|
+
var QueryDraftPostsResponse = /* @__PURE__ */ z.object({
|
|
2608
2608
|
draftPosts: z.array(
|
|
2609
2609
|
z.object({
|
|
2610
2610
|
_id: z.string().describe("Draft post ID.").max(38).optional(),
|
|
@@ -2678,7 +2678,7 @@ var QueryDraftPostsResponse = z.object({
|
|
|
2678
2678
|
tags: z.array(
|
|
2679
2679
|
z.object({
|
|
2680
2680
|
type: z.string().describe(
|
|
2681
|
-
"SEO tag type.\n\n\nSupported values: `title`, `meta`, `script`, `link
|
|
2681
|
+
"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."
|
|
2682
2682
|
).optional(),
|
|
2683
2683
|
props: z.record(z.string(), z.any()).describe(
|
|
2684
2684
|
'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"}`.'
|
|
@@ -2690,7 +2690,7 @@ var QueryDraftPostsResponse = z.object({
|
|
|
2690
2690
|
"SEO tag inner content. For example, `<title> inner content </title>`."
|
|
2691
2691
|
).optional(),
|
|
2692
2692
|
custom: z.boolean().describe(
|
|
2693
|
-
"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."
|
|
2693
|
+
"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."
|
|
2694
2694
|
).optional(),
|
|
2695
2695
|
disabled: z.boolean().describe(
|
|
2696
2696
|
"Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines."
|
|
@@ -2780,10 +2780,10 @@ var QueryDraftPostsResponse = z.object({
|
|
|
2780
2780
|
).optional()
|
|
2781
2781
|
}).describe("Details on the paged set of results returned.").optional()
|
|
2782
2782
|
});
|
|
2783
|
-
var PublishDraftPostRequest = z.object({
|
|
2783
|
+
var PublishDraftPostRequest = /* @__PURE__ */ z.object({
|
|
2784
2784
|
draftPostId: z.string().describe("Draft post ID.").max(38)
|
|
2785
2785
|
});
|
|
2786
|
-
var PublishDraftPostResponse = z.object({
|
|
2786
|
+
var PublishDraftPostResponse = /* @__PURE__ */ z.object({
|
|
2787
2787
|
postId: z.string().describe("Published post ID.").regex(
|
|
2788
2788
|
/^[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}$/,
|
|
2789
2789
|
"Must be a valid GUID"
|