@vcp-dev/contracts 0.8.1 → 0.8.3
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/dist/cms-page-directory.d.ts +135 -0
- package/dist/connect-form.d.ts +15 -2
- package/dist/custom-domain.d.ts +40 -0
- package/dist/designer-page-library.d.ts +10 -0
- package/dist/index.d.ts +85 -30
- package/dist/index.js +1 -1
- package/dist/launcher-prompt-templates.d.ts +2 -2
- package/dist/site-edit-render-document.d.ts +5 -0
- package/dist/site-edit-version.d.ts +1 -1
- package/dist/site-locale.d.ts +4 -5
- package/dist/site-publish-domain.d.ts +334 -106
- package/dist/site-publish-workflow.d.ts +237 -186
- package/dist/step5-strategy.d.ts +2170 -87
- package/package.json +1 -1
|
@@ -32,6 +32,31 @@ export interface CmsPageDirectoryNode {
|
|
|
32
32
|
readonly vcp_managed: boolean;
|
|
33
33
|
readonly children: readonly CmsPageDirectoryNode[];
|
|
34
34
|
}
|
|
35
|
+
/**
|
|
36
|
+
* A CMS row is selectable in Designer only when every part of its route
|
|
37
|
+
* identity is safe for VCP-managed source and page-directory operations.
|
|
38
|
+
* Keep this predicate at the shared contract boundary so the UI projection,
|
|
39
|
+
* API guard, Agent guard, and reconcile logic cannot silently disagree.
|
|
40
|
+
*/
|
|
41
|
+
export declare function isCmsPageSelectable(page: Pick<CmsPageDirectoryNode, "url_path" | "url" | "page_type" | "vcp_managed">): page is Pick<CmsPageDirectoryNode, "url_path" | "url" | "page_type" | "vcp_managed"> & {
|
|
42
|
+
url: string;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* CMS detail templates keep the collection's placeholder form in `url_path`
|
|
46
|
+
* (`/products/{id}`). Requesting it literally percent-encodes the braces and the
|
|
47
|
+
* generated `[slug]` route resolves no record, so the visitor gets a 404.
|
|
48
|
+
*/
|
|
49
|
+
export declare function isCmsTemplateUrlPath(urlPath: string): boolean;
|
|
50
|
+
/**
|
|
51
|
+
* The route a preview must open for one CMS page row, or null when the row has
|
|
52
|
+
* none. Static pages are their own route; detail templates resolve through
|
|
53
|
+
* `url`, which cms-center fills with the first bound record's address (and
|
|
54
|
+
* leaves null while the collection has no published record).
|
|
55
|
+
*
|
|
56
|
+
* Keep this next to `isCmsPageSelectable`: page identity (`url_path`) and the
|
|
57
|
+
* navigable route are different values, and callers must not re-derive either.
|
|
58
|
+
*/
|
|
59
|
+
export declare function cmsPagePreviewUrlPath(page: Pick<CmsPageDirectoryNode, "url_path" | "url">): string | null;
|
|
35
60
|
export declare const CmsPageDirectoryNodeSchema: z.ZodType<CmsPageDirectoryNode>;
|
|
36
61
|
export declare const CmsPageDirectoryGroupSchema: z.ZodObject<{
|
|
37
62
|
group_id: z.ZodString;
|
|
@@ -71,7 +96,17 @@ export interface DesignerPageNode {
|
|
|
71
96
|
/** Null for VCP sitemap pages when the site has no CMS binding. */
|
|
72
97
|
readonly cms_page_id: number | null;
|
|
73
98
|
readonly title: string;
|
|
99
|
+
/**
|
|
100
|
+
* Page identity. Detail templates carry the CMS placeholder form
|
|
101
|
+
* (`/products/{id}`), which is NOT a reachable route — never navigate to it.
|
|
102
|
+
*/
|
|
74
103
|
readonly url_path: string;
|
|
104
|
+
/**
|
|
105
|
+
* Route the preview should open for this page, or null when none exists.
|
|
106
|
+
* Static pages repeat `url_path`; detail templates resolve to the CMS record
|
|
107
|
+
* address behind `url`, because `{id}` 404s when requested literally.
|
|
108
|
+
*/
|
|
109
|
+
readonly preview_url_path: string | null;
|
|
75
110
|
readonly url: string | null;
|
|
76
111
|
readonly page_type: CmsPageType;
|
|
77
112
|
readonly vcp_managed: boolean;
|
|
@@ -196,6 +231,66 @@ export declare const DeleteDesignerPageResponseSchema: z.ZodObject<{
|
|
|
196
231
|
}, z.core.$strict>;
|
|
197
232
|
}, z.core.$strict>;
|
|
198
233
|
export type DeleteDesignerPageResponse = z.infer<typeof DeleteDesignerPageResponseSchema>;
|
|
234
|
+
export declare const RecoverDesignerPageProjectionRequestSchema: z.ZodObject<{
|
|
235
|
+
snapshot_id: z.ZodUUID;
|
|
236
|
+
}, z.core.$strict>;
|
|
237
|
+
export type RecoverDesignerPageProjectionRequest = z.infer<typeof RecoverDesignerPageProjectionRequestSchema>;
|
|
238
|
+
export declare const RecoverDesignerPageProjectionResultSchema: z.ZodObject<{
|
|
239
|
+
snapshot_id: z.ZodUUID;
|
|
240
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
241
|
+
cms_reconcile_result: z.ZodObject<{
|
|
242
|
+
status: z.ZodEnum<{
|
|
243
|
+
failed: "failed";
|
|
244
|
+
succeeded: "succeeded";
|
|
245
|
+
}>;
|
|
246
|
+
checked_count: z.ZodNumber;
|
|
247
|
+
ensured_count: z.ZodNumber;
|
|
248
|
+
deleted_count: z.ZodNumber;
|
|
249
|
+
already_absent_count: z.ZodNumber;
|
|
250
|
+
failed_pages: z.ZodArray<z.ZodObject<{
|
|
251
|
+
url_path: z.ZodString;
|
|
252
|
+
phase: z.ZodEnum<{
|
|
253
|
+
ensure: "ensure";
|
|
254
|
+
binding: "binding";
|
|
255
|
+
delete: "delete";
|
|
256
|
+
}>;
|
|
257
|
+
code: z.ZodString;
|
|
258
|
+
message: z.ZodString;
|
|
259
|
+
}, z.core.$strict>>;
|
|
260
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
261
|
+
}, z.core.$strict>;
|
|
262
|
+
}, z.core.$strict>;
|
|
263
|
+
export type RecoverDesignerPageProjectionResult = z.infer<typeof RecoverDesignerPageProjectionResultSchema>;
|
|
264
|
+
export declare const RecoverDesignerPageProjectionResponseSchema: z.ZodObject<{
|
|
265
|
+
code: z.ZodLiteral<0>;
|
|
266
|
+
message: z.ZodString;
|
|
267
|
+
data: z.ZodObject<{
|
|
268
|
+
snapshot_id: z.ZodUUID;
|
|
269
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
270
|
+
cms_reconcile_result: z.ZodObject<{
|
|
271
|
+
status: z.ZodEnum<{
|
|
272
|
+
failed: "failed";
|
|
273
|
+
succeeded: "succeeded";
|
|
274
|
+
}>;
|
|
275
|
+
checked_count: z.ZodNumber;
|
|
276
|
+
ensured_count: z.ZodNumber;
|
|
277
|
+
deleted_count: z.ZodNumber;
|
|
278
|
+
already_absent_count: z.ZodNumber;
|
|
279
|
+
failed_pages: z.ZodArray<z.ZodObject<{
|
|
280
|
+
url_path: z.ZodString;
|
|
281
|
+
phase: z.ZodEnum<{
|
|
282
|
+
ensure: "ensure";
|
|
283
|
+
binding: "binding";
|
|
284
|
+
delete: "delete";
|
|
285
|
+
}>;
|
|
286
|
+
code: z.ZodString;
|
|
287
|
+
message: z.ZodString;
|
|
288
|
+
}, z.core.$strict>>;
|
|
289
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
290
|
+
}, z.core.$strict>;
|
|
291
|
+
}, z.core.$strict>;
|
|
292
|
+
}, z.core.$strict>;
|
|
293
|
+
export type RecoverDesignerPageProjectionResponse = z.infer<typeof RecoverDesignerPageProjectionResponseSchema>;
|
|
199
294
|
export declare const DeleteDesignerPageErrorDetailsSchema: z.ZodObject<{
|
|
200
295
|
source_committed: z.ZodBoolean;
|
|
201
296
|
result_snapshot_id: z.ZodOptional<z.ZodUUID>;
|
|
@@ -227,6 +322,22 @@ export declare const PageTargetKindSchema: z.ZodEnum<{
|
|
|
227
322
|
general_page: "general_page";
|
|
228
323
|
detail_page: "detail_page";
|
|
229
324
|
}>;
|
|
325
|
+
/**
|
|
326
|
+
* 静态页首建时随 provision-page 一并提交的 PAGE_SEO 投影(形状与
|
|
327
|
+
* cms-center ProvisionPageRequest 的 `seo` 子对象逐键对齐)。字段全部可选:
|
|
328
|
+
* 提取不到就不带,缺失绝不阻塞建页——CMS 端按出厂默认兜底。
|
|
329
|
+
* 注意:本字段有意不参与 pageTargetProjectionHash 的 canonical 投影
|
|
330
|
+
* (hash 只守结构对账;SEO 的持续收敛由 seo-sync 无条件负责)。
|
|
331
|
+
*/
|
|
332
|
+
export declare const PageTargetSeoSchema: z.ZodObject<{
|
|
333
|
+
title: z.ZodOptional<z.ZodString>;
|
|
334
|
+
description: z.ZodOptional<z.ZodString>;
|
|
335
|
+
keywords: z.ZodOptional<z.ZodString>;
|
|
336
|
+
meta_tags_json: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
337
|
+
schema_json: z.ZodOptional<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown>]>>;
|
|
338
|
+
breadcrumbs_json: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
339
|
+
}, z.core.$strict>;
|
|
340
|
+
export type PageTargetSeo = z.infer<typeof PageTargetSeoSchema>;
|
|
230
341
|
export declare const PageTargetSchema: z.ZodObject<{
|
|
231
342
|
url_path: z.ZodString;
|
|
232
343
|
title: z.ZodString;
|
|
@@ -237,6 +348,14 @@ export declare const PageTargetSchema: z.ZodObject<{
|
|
|
237
348
|
}>;
|
|
238
349
|
route_file: z.ZodString;
|
|
239
350
|
collection_id: z.ZodOptional<z.ZodString>;
|
|
351
|
+
seo: z.ZodOptional<z.ZodObject<{
|
|
352
|
+
title: z.ZodOptional<z.ZodString>;
|
|
353
|
+
description: z.ZodOptional<z.ZodString>;
|
|
354
|
+
keywords: z.ZodOptional<z.ZodString>;
|
|
355
|
+
meta_tags_json: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
356
|
+
schema_json: z.ZodOptional<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown>]>>;
|
|
357
|
+
breadcrumbs_json: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
358
|
+
}, z.core.$strict>>;
|
|
240
359
|
}, z.core.$strict>;
|
|
241
360
|
export type PageTarget = z.infer<typeof PageTargetSchema>;
|
|
242
361
|
export declare const PageTargetSetSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -251,6 +370,14 @@ export declare const PageTargetSetSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
251
370
|
}>;
|
|
252
371
|
route_file: z.ZodString;
|
|
253
372
|
collection_id: z.ZodOptional<z.ZodString>;
|
|
373
|
+
seo: z.ZodOptional<z.ZodObject<{
|
|
374
|
+
title: z.ZodOptional<z.ZodString>;
|
|
375
|
+
description: z.ZodOptional<z.ZodString>;
|
|
376
|
+
keywords: z.ZodOptional<z.ZodString>;
|
|
377
|
+
meta_tags_json: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
378
|
+
schema_json: z.ZodOptional<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown>]>>;
|
|
379
|
+
breadcrumbs_json: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
380
|
+
}, z.core.$strict>>;
|
|
254
381
|
}, z.core.$strict>>;
|
|
255
382
|
}, z.core.$strict>, z.ZodObject<{
|
|
256
383
|
complete: z.ZodLiteral<false>;
|
|
@@ -264,6 +391,14 @@ export declare const PageTargetSetSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
264
391
|
}>;
|
|
265
392
|
route_file: z.ZodString;
|
|
266
393
|
collection_id: z.ZodOptional<z.ZodString>;
|
|
394
|
+
seo: z.ZodOptional<z.ZodObject<{
|
|
395
|
+
title: z.ZodOptional<z.ZodString>;
|
|
396
|
+
description: z.ZodOptional<z.ZodString>;
|
|
397
|
+
keywords: z.ZodOptional<z.ZodString>;
|
|
398
|
+
meta_tags_json: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
399
|
+
schema_json: z.ZodOptional<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown>]>>;
|
|
400
|
+
breadcrumbs_json: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
401
|
+
}, z.core.$strict>>;
|
|
267
402
|
}, z.core.$strict>>;
|
|
268
403
|
errors: z.ZodArray<z.ZodString>;
|
|
269
404
|
}, z.core.$strict>], "complete">;
|
package/dist/connect-form.d.ts
CHANGED
|
@@ -6,13 +6,27 @@ import { z } from "zod";
|
|
|
6
6
|
*/
|
|
7
7
|
export declare const FORM_FIELD_TYPES: readonly ["text", "textarea", "email", "phone", "select", "radio", "multiselect", "boolean", "date", "number", "file"];
|
|
8
8
|
export type FormFieldType = (typeof FORM_FIELD_TYPES)[number];
|
|
9
|
+
/**
|
|
10
|
+
* 生成侧(模型)可声明的字段类型:`FORM_FIELD_TYPES` 去掉 `file`。
|
|
11
|
+
*
|
|
12
|
+
* 附件上传本版不由生成侧产出。multipart 前置只在 `connect_form` 工具里完整实现
|
|
13
|
+
* (`prepareMultipartClient` 升级生成站的 `lib/cms/client.ts`,并对受保护路径传
|
|
14
|
+
* `systemOwnedPaths`);标准表单预建走的是另一条落盘路径,两者都没有。缺了它,
|
|
15
|
+
* 表单会正常渲染、访客也能选文件,提交时 `FormData` 被 `JSON.stringify` 成
|
|
16
|
+
* `"{}"`,文件静默丢失且前后端都不报错。
|
|
17
|
+
*
|
|
18
|
+
* 表单设计器不受此限制:`file` 仍在 `FORM_FIELD_TYPES` 里,`FormSpecV1`、CMS 字段
|
|
19
|
+
* 映射与生成站 runtime 的文件渲染全部保留,站主在设计器里手工添加的附件字段走的是
|
|
20
|
+
* 带 multipart 前置的保存链路。将来生成侧补齐前置后,把 `file` 加回本表即可。
|
|
21
|
+
*/
|
|
22
|
+
export declare const MODEL_DECLARABLE_FORM_FIELD_TYPES: readonly ["text", "textarea", "email", "phone", "select", "radio", "multiselect", "boolean", "date", "number"];
|
|
23
|
+
export type ModelDeclarableFormFieldType = (typeof MODEL_DECLARABLE_FORM_FIELD_TYPES)[number];
|
|
9
24
|
export declare const FormFieldDeclSchema: z.ZodObject<{
|
|
10
25
|
name: z.ZodString;
|
|
11
26
|
type: z.ZodEnum<{
|
|
12
27
|
number: "number";
|
|
13
28
|
boolean: "boolean";
|
|
14
29
|
date: "date";
|
|
15
|
-
file: "file";
|
|
16
30
|
text: "text";
|
|
17
31
|
email: "email";
|
|
18
32
|
select: "select";
|
|
@@ -41,7 +55,6 @@ export declare const ConnectFormInputSchema: z.ZodObject<{
|
|
|
41
55
|
number: "number";
|
|
42
56
|
boolean: "boolean";
|
|
43
57
|
date: "date";
|
|
44
|
-
file: "file";
|
|
45
58
|
text: "text";
|
|
46
59
|
email: "email";
|
|
47
60
|
select: "select";
|
package/dist/custom-domain.d.ts
CHANGED
|
@@ -47,6 +47,32 @@ export declare const DomainOperationErrorSchema: z.ZodObject<{
|
|
|
47
47
|
message: z.ZodString;
|
|
48
48
|
}, z.core.$strict>;
|
|
49
49
|
export type DomainOperationError = z.infer<typeof DomainOperationErrorSchema>;
|
|
50
|
+
export declare const DomainDnsVerificationObservationSchema: z.ZodObject<{
|
|
51
|
+
purpose: z.ZodEnum<{
|
|
52
|
+
traffic: "traffic";
|
|
53
|
+
ownership: "ownership";
|
|
54
|
+
certificate_delegation: "certificate_delegation";
|
|
55
|
+
}>;
|
|
56
|
+
verified: z.ZodBoolean;
|
|
57
|
+
observedValues: z.ZodArray<z.ZodString>;
|
|
58
|
+
}, z.core.$strict>;
|
|
59
|
+
export type DomainDnsVerificationObservation = z.infer<typeof DomainDnsVerificationObservationSchema>;
|
|
60
|
+
/** Browser-safe diagnostics from one completed Cloud verify_dns operation. */
|
|
61
|
+
export declare const DomainDnsVerificationResultSchema: z.ZodObject<{
|
|
62
|
+
ready: z.ZodBoolean;
|
|
63
|
+
providerReady: z.ZodBoolean;
|
|
64
|
+
dnsVerified: z.ZodBoolean;
|
|
65
|
+
records: z.ZodArray<z.ZodObject<{
|
|
66
|
+
purpose: z.ZodEnum<{
|
|
67
|
+
traffic: "traffic";
|
|
68
|
+
ownership: "ownership";
|
|
69
|
+
certificate_delegation: "certificate_delegation";
|
|
70
|
+
}>;
|
|
71
|
+
verified: z.ZodBoolean;
|
|
72
|
+
observedValues: z.ZodArray<z.ZodString>;
|
|
73
|
+
}, z.core.$strict>>;
|
|
74
|
+
}, z.core.$strict>;
|
|
75
|
+
export type DomainDnsVerificationResult = z.infer<typeof DomainDnsVerificationResultSchema>;
|
|
50
76
|
export declare const DomainDnsRecordSchema: z.ZodObject<{
|
|
51
77
|
purpose: z.ZodEnum<{
|
|
52
78
|
traffic: "traffic";
|
|
@@ -173,5 +199,19 @@ export declare const DomainOperationSchema: z.ZodObject<{
|
|
|
173
199
|
code: z.ZodString;
|
|
174
200
|
message: z.ZodString;
|
|
175
201
|
}, z.core.$strict>>;
|
|
202
|
+
result: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
203
|
+
ready: z.ZodBoolean;
|
|
204
|
+
providerReady: z.ZodBoolean;
|
|
205
|
+
dnsVerified: z.ZodBoolean;
|
|
206
|
+
records: z.ZodArray<z.ZodObject<{
|
|
207
|
+
purpose: z.ZodEnum<{
|
|
208
|
+
traffic: "traffic";
|
|
209
|
+
ownership: "ownership";
|
|
210
|
+
certificate_delegation: "certificate_delegation";
|
|
211
|
+
}>;
|
|
212
|
+
verified: z.ZodBoolean;
|
|
213
|
+
observedValues: z.ZodArray<z.ZodString>;
|
|
214
|
+
}, z.core.$strict>>;
|
|
215
|
+
}, z.core.$strict>>>;
|
|
176
216
|
}, z.core.$strict>;
|
|
177
217
|
export type DomainOperation = z.infer<typeof DomainOperationSchema>;
|
|
@@ -42,6 +42,11 @@ export declare const DesignerPageCatalogItemSchema: z.ZodObject<{
|
|
|
42
42
|
name: z.ZodString;
|
|
43
43
|
description: z.ZodNullable<z.ZodString>;
|
|
44
44
|
thumbnail_url: z.ZodNullable<z.ZodString>;
|
|
45
|
+
preview_images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
46
|
+
url: z.ZodString;
|
|
47
|
+
page_id: z.ZodNullable<z.ZodString>;
|
|
48
|
+
is_primary: z.ZodBoolean;
|
|
49
|
+
}, z.core.$strict>>>;
|
|
45
50
|
resolved_version: z.ZodNumber;
|
|
46
51
|
category_id: z.ZodNullable<z.ZodString>;
|
|
47
52
|
}, z.core.$strict>;
|
|
@@ -56,6 +61,11 @@ export declare const DesignerPagesDataSchema: z.ZodObject<{
|
|
|
56
61
|
name: z.ZodString;
|
|
57
62
|
description: z.ZodNullable<z.ZodString>;
|
|
58
63
|
thumbnail_url: z.ZodNullable<z.ZodString>;
|
|
64
|
+
preview_images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
65
|
+
url: z.ZodString;
|
|
66
|
+
page_id: z.ZodNullable<z.ZodString>;
|
|
67
|
+
is_primary: z.ZodBoolean;
|
|
68
|
+
}, z.core.$strict>>>;
|
|
59
69
|
resolved_version: z.ZodNumber;
|
|
60
70
|
category_id: z.ZodNullable<z.ZodString>;
|
|
61
71
|
}, z.core.$strict>>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1065,6 +1065,11 @@ export declare const ListDesignerPagesResponseSchema: z.ZodObject<{
|
|
|
1065
1065
|
name: z.ZodString;
|
|
1066
1066
|
description: z.ZodNullable<z.ZodString>;
|
|
1067
1067
|
thumbnail_url: z.ZodNullable<z.ZodString>;
|
|
1068
|
+
preview_images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1069
|
+
url: z.ZodString;
|
|
1070
|
+
page_id: z.ZodNullable<z.ZodString>;
|
|
1071
|
+
is_primary: z.ZodBoolean;
|
|
1072
|
+
}, z.core.$strict>>>;
|
|
1068
1073
|
resolved_version: z.ZodNumber;
|
|
1069
1074
|
category_id: z.ZodNullable<z.ZodString>;
|
|
1070
1075
|
}, z.core.$strict>>;
|
|
@@ -5239,9 +5244,9 @@ export declare const SitemapSchema: z.ZodObject<{
|
|
|
5239
5244
|
normalized_keyword: z.ZodString;
|
|
5240
5245
|
intc: z.ZodEnum<{
|
|
5241
5246
|
C: "C";
|
|
5247
|
+
T: "T";
|
|
5242
5248
|
I: "I";
|
|
5243
5249
|
N: "N";
|
|
5244
|
-
T: "T";
|
|
5245
5250
|
}>;
|
|
5246
5251
|
keyword_type: z.ZodString;
|
|
5247
5252
|
intent_strength: z.ZodEnum<{
|
|
@@ -5397,9 +5402,9 @@ export declare const SitemapDraftSchema: z.ZodObject<{
|
|
|
5397
5402
|
normalized_keyword: z.ZodString;
|
|
5398
5403
|
intc: z.ZodEnum<{
|
|
5399
5404
|
C: "C";
|
|
5405
|
+
T: "T";
|
|
5400
5406
|
I: "I";
|
|
5401
5407
|
N: "N";
|
|
5402
|
-
T: "T";
|
|
5403
5408
|
}>;
|
|
5404
5409
|
keyword_type: z.ZodString;
|
|
5405
5410
|
intent_strength: z.ZodEnum<{
|
|
@@ -5602,9 +5607,9 @@ export declare const SitemapResolverRequestSchema: z.ZodObject<{
|
|
|
5602
5607
|
normalized_keyword: z.ZodString;
|
|
5603
5608
|
intc: z.ZodEnum<{
|
|
5604
5609
|
C: "C";
|
|
5610
|
+
T: "T";
|
|
5605
5611
|
I: "I";
|
|
5606
5612
|
N: "N";
|
|
5607
|
-
T: "T";
|
|
5608
5613
|
}>;
|
|
5609
5614
|
keyword_type: z.ZodString;
|
|
5610
5615
|
intent_strength: z.ZodEnum<{
|
|
@@ -5847,9 +5852,9 @@ export declare const SitemapResolverResponseSchema: z.ZodObject<{
|
|
|
5847
5852
|
normalized_keyword: z.ZodString;
|
|
5848
5853
|
intc: z.ZodEnum<{
|
|
5849
5854
|
C: "C";
|
|
5855
|
+
T: "T";
|
|
5850
5856
|
I: "I";
|
|
5851
5857
|
N: "N";
|
|
5852
|
-
T: "T";
|
|
5853
5858
|
}>;
|
|
5854
5859
|
keyword_type: z.ZodString;
|
|
5855
5860
|
intent_strength: z.ZodEnum<{
|
|
@@ -6261,6 +6266,17 @@ export declare const Step5SitemapDecisionSchema: z.ZodObject<{
|
|
|
6261
6266
|
selected_description: z.ZodString;
|
|
6262
6267
|
impact: z.ZodOptional<z.ZodString>;
|
|
6263
6268
|
customer_note: z.ZodOptional<z.ZodString>;
|
|
6269
|
+
market_type: z.ZodOptional<z.ZodEnum<{
|
|
6270
|
+
single_country: "single_country";
|
|
6271
|
+
regional_combination: "regional_combination";
|
|
6272
|
+
multi_market: "multi_market";
|
|
6273
|
+
}>>;
|
|
6274
|
+
markets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6275
|
+
code: z.ZodString;
|
|
6276
|
+
name_zh: z.ZodString;
|
|
6277
|
+
name_en: z.ZodString;
|
|
6278
|
+
region: z.ZodString;
|
|
6279
|
+
}, z.core.$strict>>>;
|
|
6264
6280
|
}, z.core.$strict>;
|
|
6265
6281
|
export type Step5SitemapDecision = z.infer<typeof Step5SitemapDecisionSchema>;
|
|
6266
6282
|
/** Trusted VCP API → Sitemap Agent source;浏览器不能提交这些身份与策略字段。 */
|
|
@@ -6295,6 +6311,17 @@ export declare const Step5SitemapSourceSchema: z.ZodObject<{
|
|
|
6295
6311
|
selected_description: z.ZodString;
|
|
6296
6312
|
impact: z.ZodOptional<z.ZodString>;
|
|
6297
6313
|
customer_note: z.ZodOptional<z.ZodString>;
|
|
6314
|
+
market_type: z.ZodOptional<z.ZodEnum<{
|
|
6315
|
+
single_country: "single_country";
|
|
6316
|
+
regional_combination: "regional_combination";
|
|
6317
|
+
multi_market: "multi_market";
|
|
6318
|
+
}>>;
|
|
6319
|
+
markets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6320
|
+
code: z.ZodString;
|
|
6321
|
+
name_zh: z.ZodString;
|
|
6322
|
+
name_en: z.ZodString;
|
|
6323
|
+
region: z.ZodString;
|
|
6324
|
+
}, z.core.$strict>>>;
|
|
6298
6325
|
}, z.core.$strict>>;
|
|
6299
6326
|
seo_keywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6300
6327
|
id: z.ZodString;
|
|
@@ -6302,9 +6329,9 @@ export declare const Step5SitemapSourceSchema: z.ZodObject<{
|
|
|
6302
6329
|
normalized_keyword: z.ZodString;
|
|
6303
6330
|
intc: z.ZodEnum<{
|
|
6304
6331
|
C: "C";
|
|
6332
|
+
T: "T";
|
|
6305
6333
|
I: "I";
|
|
6306
6334
|
N: "N";
|
|
6307
|
-
T: "T";
|
|
6308
6335
|
}>;
|
|
6309
6336
|
keyword_type: z.ZodString;
|
|
6310
6337
|
intent_strength: z.ZodEnum<{
|
|
@@ -6949,6 +6976,17 @@ export declare const Step5SitemapRunInputSchema: z.ZodObject<{
|
|
|
6949
6976
|
selected_description: z.ZodString;
|
|
6950
6977
|
impact: z.ZodOptional<z.ZodString>;
|
|
6951
6978
|
customer_note: z.ZodOptional<z.ZodString>;
|
|
6979
|
+
market_type: z.ZodOptional<z.ZodEnum<{
|
|
6980
|
+
single_country: "single_country";
|
|
6981
|
+
regional_combination: "regional_combination";
|
|
6982
|
+
multi_market: "multi_market";
|
|
6983
|
+
}>>;
|
|
6984
|
+
markets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6985
|
+
code: z.ZodString;
|
|
6986
|
+
name_zh: z.ZodString;
|
|
6987
|
+
name_en: z.ZodString;
|
|
6988
|
+
region: z.ZodString;
|
|
6989
|
+
}, z.core.$strict>>>;
|
|
6952
6990
|
}, z.core.$strict>>;
|
|
6953
6991
|
seo_keywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6954
6992
|
id: z.ZodString;
|
|
@@ -6956,9 +6994,9 @@ export declare const Step5SitemapRunInputSchema: z.ZodObject<{
|
|
|
6956
6994
|
normalized_keyword: z.ZodString;
|
|
6957
6995
|
intc: z.ZodEnum<{
|
|
6958
6996
|
C: "C";
|
|
6997
|
+
T: "T";
|
|
6959
6998
|
I: "I";
|
|
6960
6999
|
N: "N";
|
|
6961
|
-
T: "T";
|
|
6962
7000
|
}>;
|
|
6963
7001
|
keyword_type: z.ZodString;
|
|
6964
7002
|
intent_strength: z.ZodEnum<{
|
|
@@ -7599,6 +7637,17 @@ export declare const SitemapGenerationInputSchema: z.ZodUnion<readonly [z.ZodObj
|
|
|
7599
7637
|
selected_description: z.ZodString;
|
|
7600
7638
|
impact: z.ZodOptional<z.ZodString>;
|
|
7601
7639
|
customer_note: z.ZodOptional<z.ZodString>;
|
|
7640
|
+
market_type: z.ZodOptional<z.ZodEnum<{
|
|
7641
|
+
single_country: "single_country";
|
|
7642
|
+
regional_combination: "regional_combination";
|
|
7643
|
+
multi_market: "multi_market";
|
|
7644
|
+
}>>;
|
|
7645
|
+
markets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7646
|
+
code: z.ZodString;
|
|
7647
|
+
name_zh: z.ZodString;
|
|
7648
|
+
name_en: z.ZodString;
|
|
7649
|
+
region: z.ZodString;
|
|
7650
|
+
}, z.core.$strict>>>;
|
|
7602
7651
|
}, z.core.$strict>>;
|
|
7603
7652
|
seo_keywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7604
7653
|
id: z.ZodString;
|
|
@@ -7606,9 +7655,9 @@ export declare const SitemapGenerationInputSchema: z.ZodUnion<readonly [z.ZodObj
|
|
|
7606
7655
|
normalized_keyword: z.ZodString;
|
|
7607
7656
|
intc: z.ZodEnum<{
|
|
7608
7657
|
C: "C";
|
|
7658
|
+
T: "T";
|
|
7609
7659
|
I: "I";
|
|
7610
7660
|
N: "N";
|
|
7611
|
-
T: "T";
|
|
7612
7661
|
}>;
|
|
7613
7662
|
keyword_type: z.ZodString;
|
|
7614
7663
|
intent_strength: z.ZodEnum<{
|
|
@@ -7841,9 +7890,9 @@ export declare const SitemapStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
7841
7890
|
normalized_keyword: z.ZodString;
|
|
7842
7891
|
intc: z.ZodEnum<{
|
|
7843
7892
|
C: "C";
|
|
7893
|
+
T: "T";
|
|
7844
7894
|
I: "I";
|
|
7845
7895
|
N: "N";
|
|
7846
|
-
T: "T";
|
|
7847
7896
|
}>;
|
|
7848
7897
|
keyword_type: z.ZodString;
|
|
7849
7898
|
intent_strength: z.ZodEnum<{
|
|
@@ -8076,9 +8125,9 @@ export declare const SitemapRecordSchema: z.ZodObject<{
|
|
|
8076
8125
|
normalized_keyword: z.ZodString;
|
|
8077
8126
|
intc: z.ZodEnum<{
|
|
8078
8127
|
C: "C";
|
|
8128
|
+
T: "T";
|
|
8079
8129
|
I: "I";
|
|
8080
8130
|
N: "N";
|
|
8081
|
-
T: "T";
|
|
8082
8131
|
}>;
|
|
8083
8132
|
keyword_type: z.ZodString;
|
|
8084
8133
|
intent_strength: z.ZodEnum<{
|
|
@@ -8243,9 +8292,9 @@ export declare const SitemapDraftRecordSchema: z.ZodObject<{
|
|
|
8243
8292
|
normalized_keyword: z.ZodString;
|
|
8244
8293
|
intc: z.ZodEnum<{
|
|
8245
8294
|
C: "C";
|
|
8295
|
+
T: "T";
|
|
8246
8296
|
I: "I";
|
|
8247
8297
|
N: "N";
|
|
8248
|
-
T: "T";
|
|
8249
8298
|
}>;
|
|
8250
8299
|
keyword_type: z.ZodString;
|
|
8251
8300
|
intent_strength: z.ZodEnum<{
|
|
@@ -8461,9 +8510,9 @@ export declare const PersistSiteSitemapRequestSchema: z.ZodObject<{
|
|
|
8461
8510
|
normalized_keyword: z.ZodString;
|
|
8462
8511
|
intc: z.ZodEnum<{
|
|
8463
8512
|
C: "C";
|
|
8513
|
+
T: "T";
|
|
8464
8514
|
I: "I";
|
|
8465
8515
|
N: "N";
|
|
8466
|
-
T: "T";
|
|
8467
8516
|
}>;
|
|
8468
8517
|
keyword_type: z.ZodString;
|
|
8469
8518
|
intent_strength: z.ZodEnum<{
|
|
@@ -8624,9 +8673,9 @@ export declare const ConfirmSiteStructureRequestSchema: z.ZodObject<{
|
|
|
8624
8673
|
normalized_keyword: z.ZodString;
|
|
8625
8674
|
intc: z.ZodEnum<{
|
|
8626
8675
|
C: "C";
|
|
8676
|
+
T: "T";
|
|
8627
8677
|
I: "I";
|
|
8628
8678
|
N: "N";
|
|
8629
|
-
T: "T";
|
|
8630
8679
|
}>;
|
|
8631
8680
|
keyword_type: z.ZodString;
|
|
8632
8681
|
intent_strength: z.ZodEnum<{
|
|
@@ -8845,9 +8894,9 @@ export declare const PersistGeneratedSitemapDraftRequestSchema: z.ZodObject<{
|
|
|
8845
8894
|
normalized_keyword: z.ZodString;
|
|
8846
8895
|
intc: z.ZodEnum<{
|
|
8847
8896
|
C: "C";
|
|
8897
|
+
T: "T";
|
|
8848
8898
|
I: "I";
|
|
8849
8899
|
N: "N";
|
|
8850
|
-
T: "T";
|
|
8851
8900
|
}>;
|
|
8852
8901
|
keyword_type: z.ZodString;
|
|
8853
8902
|
intent_strength: z.ZodEnum<{
|
|
@@ -9260,9 +9309,9 @@ export declare const PersistSiteSitemapResponseSchema: z.ZodObject<{
|
|
|
9260
9309
|
normalized_keyword: z.ZodString;
|
|
9261
9310
|
intc: z.ZodEnum<{
|
|
9262
9311
|
C: "C";
|
|
9312
|
+
T: "T";
|
|
9263
9313
|
I: "I";
|
|
9264
9314
|
N: "N";
|
|
9265
|
-
T: "T";
|
|
9266
9315
|
}>;
|
|
9267
9316
|
keyword_type: z.ZodString;
|
|
9268
9317
|
intent_strength: z.ZodEnum<{
|
|
@@ -9648,9 +9697,9 @@ export declare const PersistSiteSitemapDraftResponseSchema: z.ZodObject<{
|
|
|
9648
9697
|
normalized_keyword: z.ZodString;
|
|
9649
9698
|
intc: z.ZodEnum<{
|
|
9650
9699
|
C: "C";
|
|
9700
|
+
T: "T";
|
|
9651
9701
|
I: "I";
|
|
9652
9702
|
N: "N";
|
|
9653
|
-
T: "T";
|
|
9654
9703
|
}>;
|
|
9655
9704
|
keyword_type: z.ZodString;
|
|
9656
9705
|
intent_strength: z.ZodEnum<{
|
|
@@ -10092,9 +10141,9 @@ export declare const PersistGeneratedSitemapDraftResponseSchema: z.ZodObject<{
|
|
|
10092
10141
|
normalized_keyword: z.ZodString;
|
|
10093
10142
|
intc: z.ZodEnum<{
|
|
10094
10143
|
C: "C";
|
|
10144
|
+
T: "T";
|
|
10095
10145
|
I: "I";
|
|
10096
10146
|
N: "N";
|
|
10097
|
-
T: "T";
|
|
10098
10147
|
}>;
|
|
10099
10148
|
keyword_type: z.ZodString;
|
|
10100
10149
|
intent_strength: z.ZodEnum<{
|
|
@@ -12183,9 +12232,9 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
12183
12232
|
normalized_keyword: z.ZodString;
|
|
12184
12233
|
intc: z.ZodEnum<{
|
|
12185
12234
|
C: "C";
|
|
12235
|
+
T: "T";
|
|
12186
12236
|
I: "I";
|
|
12187
12237
|
N: "N";
|
|
12188
|
-
T: "T";
|
|
12189
12238
|
}>;
|
|
12190
12239
|
keyword_type: z.ZodString;
|
|
12191
12240
|
intent_strength: z.ZodEnum<{
|
|
@@ -13048,9 +13097,9 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
|
|
|
13048
13097
|
normalized_keyword: z.ZodString;
|
|
13049
13098
|
intc: z.ZodEnum<{
|
|
13050
13099
|
C: "C";
|
|
13100
|
+
T: "T";
|
|
13051
13101
|
I: "I";
|
|
13052
13102
|
N: "N";
|
|
13053
|
-
T: "T";
|
|
13054
13103
|
}>;
|
|
13055
13104
|
keyword_type: z.ZodString;
|
|
13056
13105
|
intent_strength: z.ZodEnum<{
|
|
@@ -13910,9 +13959,9 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
|
|
|
13910
13959
|
normalized_keyword: z.ZodString;
|
|
13911
13960
|
intc: z.ZodEnum<{
|
|
13912
13961
|
C: "C";
|
|
13962
|
+
T: "T";
|
|
13913
13963
|
I: "I";
|
|
13914
13964
|
N: "N";
|
|
13915
|
-
T: "T";
|
|
13916
13965
|
}>;
|
|
13917
13966
|
keyword_type: z.ZodString;
|
|
13918
13967
|
intent_strength: z.ZodEnum<{
|
|
@@ -14811,9 +14860,9 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
14811
14860
|
normalized_keyword: z.ZodString;
|
|
14812
14861
|
intc: z.ZodEnum<{
|
|
14813
14862
|
C: "C";
|
|
14863
|
+
T: "T";
|
|
14814
14864
|
I: "I";
|
|
14815
14865
|
N: "N";
|
|
14816
|
-
T: "T";
|
|
14817
14866
|
}>;
|
|
14818
14867
|
keyword_type: z.ZodString;
|
|
14819
14868
|
intent_strength: z.ZodEnum<{
|
|
@@ -15713,9 +15762,9 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
15713
15762
|
normalized_keyword: z.ZodString;
|
|
15714
15763
|
intc: z.ZodEnum<{
|
|
15715
15764
|
C: "C";
|
|
15765
|
+
T: "T";
|
|
15716
15766
|
I: "I";
|
|
15717
15767
|
N: "N";
|
|
15718
|
-
T: "T";
|
|
15719
15768
|
}>;
|
|
15720
15769
|
keyword_type: z.ZodString;
|
|
15721
15770
|
intent_strength: z.ZodEnum<{
|
|
@@ -16583,9 +16632,9 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
|
|
|
16583
16632
|
normalized_keyword: z.ZodString;
|
|
16584
16633
|
intc: z.ZodEnum<{
|
|
16585
16634
|
C: "C";
|
|
16635
|
+
T: "T";
|
|
16586
16636
|
I: "I";
|
|
16587
16637
|
N: "N";
|
|
16588
|
-
T: "T";
|
|
16589
16638
|
}>;
|
|
16590
16639
|
keyword_type: z.ZodString;
|
|
16591
16640
|
intent_strength: z.ZodEnum<{
|
|
@@ -17965,9 +18014,16 @@ export declare const REST_API_ENDPOINTS: readonly [{
|
|
|
17965
18014
|
readonly method: "GET";
|
|
17966
18015
|
readonly path: "/sites/:site_id/publish-workflows/:workflow_id/domain/operation";
|
|
17967
18016
|
readonly tag: "publish-workflow";
|
|
17968
|
-
readonly summary: "
|
|
18017
|
+
readonly summary: "Read the current publish workflow domain operation.";
|
|
17969
18018
|
readonly status: "implemented";
|
|
17970
18019
|
readonly response_schema: "GetSitePublishDomainOperationResponseSchema";
|
|
18020
|
+
}, {
|
|
18021
|
+
readonly method: "POST";
|
|
18022
|
+
readonly path: "/sites/:site_id/publish-workflows/:workflow_id/domain/operation/reconcile";
|
|
18023
|
+
readonly tag: "publish-workflow";
|
|
18024
|
+
readonly summary: "Recover or reconcile the current publish workflow domain operation.";
|
|
18025
|
+
readonly status: "implemented";
|
|
18026
|
+
readonly response_schema: "ReconcileSitePublishDomainOperationResponseSchema";
|
|
17971
18027
|
}, {
|
|
17972
18028
|
readonly method: "POST";
|
|
17973
18029
|
readonly path: "/sites/:site_id/integrations/gsc/auth/start";
|
|
@@ -18012,20 +18068,19 @@ export declare const REST_API_ENDPOINTS: readonly [{
|
|
|
18012
18068
|
readonly response_schema: "SitePublishWorkflowMutationResponseSchema";
|
|
18013
18069
|
}, {
|
|
18014
18070
|
readonly method: "POST";
|
|
18015
|
-
readonly path: "/sites/:site_id/publish-workflow/:workflow_id/
|
|
18071
|
+
readonly path: "/sites/:site_id/publish-workflow/:workflow_id/quality-task";
|
|
18016
18072
|
readonly tag: "publish-workflow";
|
|
18017
|
-
readonly summary: "
|
|
18073
|
+
readonly summary: "Create a new quality task for a failed publish workflow.";
|
|
18018
18074
|
readonly status: "implemented";
|
|
18019
18075
|
readonly request_body_schema: "SitePublishWorkflowRevisionRequestSchema";
|
|
18020
18076
|
readonly response_schema: "SitePublishWorkflowMutationResponseSchema";
|
|
18021
18077
|
}, {
|
|
18022
|
-
readonly method: "
|
|
18023
|
-
readonly path: "/sites/:site_id/publish-workflow/:workflow_id
|
|
18078
|
+
readonly method: "GET";
|
|
18079
|
+
readonly path: "/sites/:site_id/publish-workflow/:workflow_id";
|
|
18024
18080
|
readonly tag: "publish-workflow";
|
|
18025
|
-
readonly summary: "
|
|
18081
|
+
readonly summary: "Read and reconcile a site publish workflow quality task.";
|
|
18026
18082
|
readonly status: "implemented";
|
|
18027
|
-
readonly
|
|
18028
|
-
readonly response_schema: "SitePublishWorkflowSseDataSchema";
|
|
18083
|
+
readonly response_schema: "SitePublishWorkflowQualityResponseSchema";
|
|
18029
18084
|
}, {
|
|
18030
18085
|
readonly method: "PATCH";
|
|
18031
18086
|
readonly path: "/sites/:site_id/publish-workflow/:workflow_id/step";
|