@vcp-dev/contracts 0.8.2 → 0.8.4

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.
@@ -41,10 +41,27 @@ export interface CmsPageDirectoryNode {
41
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
42
  url: string;
43
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;
44
60
  export declare const CmsPageDirectoryNodeSchema: z.ZodType<CmsPageDirectoryNode>;
45
61
  export declare const CmsPageDirectoryGroupSchema: z.ZodObject<{
46
62
  group_id: z.ZodString;
47
63
  title: z.ZodString;
64
+ collection_slug: z.ZodString;
48
65
  pages: z.ZodArray<z.ZodType<CmsPageDirectoryNode, unknown, z.core.$ZodTypeInternals<CmsPageDirectoryNode, unknown>>>;
49
66
  }, z.core.$strict>;
50
67
  export type CmsPageDirectoryGroup = z.infer<typeof CmsPageDirectoryGroupSchema>;
@@ -52,6 +69,7 @@ export declare const CmsPageDirectorySchema: z.ZodObject<{
52
69
  groups: z.ZodArray<z.ZodObject<{
53
70
  group_id: z.ZodString;
54
71
  title: z.ZodString;
72
+ collection_slug: z.ZodString;
55
73
  pages: z.ZodArray<z.ZodType<CmsPageDirectoryNode, unknown, z.core.$ZodTypeInternals<CmsPageDirectoryNode, unknown>>>;
56
74
  }, z.core.$strict>>;
57
75
  }, z.core.$strict>;
@@ -80,7 +98,17 @@ export interface DesignerPageNode {
80
98
  /** Null for VCP sitemap pages when the site has no CMS binding. */
81
99
  readonly cms_page_id: number | null;
82
100
  readonly title: string;
101
+ /**
102
+ * Page identity. Detail templates carry the CMS placeholder form
103
+ * (`/products/{id}`), which is NOT a reachable route — never navigate to it.
104
+ */
83
105
  readonly url_path: string;
106
+ /**
107
+ * Route the preview should open for this page, or null when none exists.
108
+ * Static pages repeat `url_path`; detail templates resolve to the CMS record
109
+ * address behind `url`, because `{id}` 404s when requested literally.
110
+ */
111
+ readonly preview_url_path: string | null;
84
112
  readonly url: string | null;
85
113
  readonly page_type: CmsPageType;
86
114
  readonly vcp_managed: boolean;
@@ -205,6 +233,66 @@ export declare const DeleteDesignerPageResponseSchema: z.ZodObject<{
205
233
  }, z.core.$strict>;
206
234
  }, z.core.$strict>;
207
235
  export type DeleteDesignerPageResponse = z.infer<typeof DeleteDesignerPageResponseSchema>;
236
+ export declare const RecoverDesignerPageProjectionRequestSchema: z.ZodObject<{
237
+ snapshot_id: z.ZodUUID;
238
+ }, z.core.$strict>;
239
+ export type RecoverDesignerPageProjectionRequest = z.infer<typeof RecoverDesignerPageProjectionRequestSchema>;
240
+ export declare const RecoverDesignerPageProjectionResultSchema: z.ZodObject<{
241
+ snapshot_id: z.ZodUUID;
242
+ warnings: z.ZodArray<z.ZodString>;
243
+ cms_reconcile_result: z.ZodObject<{
244
+ status: z.ZodEnum<{
245
+ failed: "failed";
246
+ succeeded: "succeeded";
247
+ }>;
248
+ checked_count: z.ZodNumber;
249
+ ensured_count: z.ZodNumber;
250
+ deleted_count: z.ZodNumber;
251
+ already_absent_count: z.ZodNumber;
252
+ failed_pages: z.ZodArray<z.ZodObject<{
253
+ url_path: z.ZodString;
254
+ phase: z.ZodEnum<{
255
+ ensure: "ensure";
256
+ binding: "binding";
257
+ delete: "delete";
258
+ }>;
259
+ code: z.ZodString;
260
+ message: z.ZodString;
261
+ }, z.core.$strict>>;
262
+ warnings: z.ZodArray<z.ZodString>;
263
+ }, z.core.$strict>;
264
+ }, z.core.$strict>;
265
+ export type RecoverDesignerPageProjectionResult = z.infer<typeof RecoverDesignerPageProjectionResultSchema>;
266
+ export declare const RecoverDesignerPageProjectionResponseSchema: z.ZodObject<{
267
+ code: z.ZodLiteral<0>;
268
+ message: z.ZodString;
269
+ data: z.ZodObject<{
270
+ snapshot_id: z.ZodUUID;
271
+ warnings: z.ZodArray<z.ZodString>;
272
+ cms_reconcile_result: z.ZodObject<{
273
+ status: z.ZodEnum<{
274
+ failed: "failed";
275
+ succeeded: "succeeded";
276
+ }>;
277
+ checked_count: z.ZodNumber;
278
+ ensured_count: z.ZodNumber;
279
+ deleted_count: z.ZodNumber;
280
+ already_absent_count: z.ZodNumber;
281
+ failed_pages: z.ZodArray<z.ZodObject<{
282
+ url_path: z.ZodString;
283
+ phase: z.ZodEnum<{
284
+ ensure: "ensure";
285
+ binding: "binding";
286
+ delete: "delete";
287
+ }>;
288
+ code: z.ZodString;
289
+ message: z.ZodString;
290
+ }, z.core.$strict>>;
291
+ warnings: z.ZodArray<z.ZodString>;
292
+ }, z.core.$strict>;
293
+ }, z.core.$strict>;
294
+ }, z.core.$strict>;
295
+ export type RecoverDesignerPageProjectionResponse = z.infer<typeof RecoverDesignerPageProjectionResponseSchema>;
208
296
  export declare const DeleteDesignerPageErrorDetailsSchema: z.ZodObject<{
209
297
  source_committed: z.ZodBoolean;
210
298
  result_snapshot_id: z.ZodOptional<z.ZodUUID>;
@@ -236,6 +324,22 @@ export declare const PageTargetKindSchema: z.ZodEnum<{
236
324
  general_page: "general_page";
237
325
  detail_page: "detail_page";
238
326
  }>;
327
+ /**
328
+ * 静态页首建时随 provision-page 一并提交的 PAGE_SEO 投影(形状与
329
+ * cms-center ProvisionPageRequest 的 `seo` 子对象逐键对齐)。字段全部可选:
330
+ * 提取不到就不带,缺失绝不阻塞建页——CMS 端按出厂默认兜底。
331
+ * 注意:本字段有意不参与 pageTargetProjectionHash 的 canonical 投影
332
+ * (hash 只守结构对账;SEO 的持续收敛由 seo-sync 无条件负责)。
333
+ */
334
+ export declare const PageTargetSeoSchema: z.ZodObject<{
335
+ title: z.ZodOptional<z.ZodString>;
336
+ description: z.ZodOptional<z.ZodString>;
337
+ keywords: z.ZodOptional<z.ZodString>;
338
+ meta_tags_json: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
339
+ schema_json: z.ZodOptional<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown>]>>;
340
+ breadcrumbs_json: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
341
+ }, z.core.$strict>;
342
+ export type PageTargetSeo = z.infer<typeof PageTargetSeoSchema>;
239
343
  export declare const PageTargetSchema: z.ZodObject<{
240
344
  url_path: z.ZodString;
241
345
  title: z.ZodString;
@@ -246,6 +350,14 @@ export declare const PageTargetSchema: z.ZodObject<{
246
350
  }>;
247
351
  route_file: z.ZodString;
248
352
  collection_id: z.ZodOptional<z.ZodString>;
353
+ seo: z.ZodOptional<z.ZodObject<{
354
+ title: z.ZodOptional<z.ZodString>;
355
+ description: z.ZodOptional<z.ZodString>;
356
+ keywords: z.ZodOptional<z.ZodString>;
357
+ meta_tags_json: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
358
+ schema_json: z.ZodOptional<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown>]>>;
359
+ breadcrumbs_json: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
360
+ }, z.core.$strict>>;
249
361
  }, z.core.$strict>;
250
362
  export type PageTarget = z.infer<typeof PageTargetSchema>;
251
363
  export declare const PageTargetSetSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -260,6 +372,14 @@ export declare const PageTargetSetSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
260
372
  }>;
261
373
  route_file: z.ZodString;
262
374
  collection_id: z.ZodOptional<z.ZodString>;
375
+ seo: z.ZodOptional<z.ZodObject<{
376
+ title: z.ZodOptional<z.ZodString>;
377
+ description: z.ZodOptional<z.ZodString>;
378
+ keywords: z.ZodOptional<z.ZodString>;
379
+ meta_tags_json: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
380
+ schema_json: z.ZodOptional<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown>]>>;
381
+ breadcrumbs_json: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
382
+ }, z.core.$strict>>;
263
383
  }, z.core.$strict>>;
264
384
  }, z.core.$strict>, z.ZodObject<{
265
385
  complete: z.ZodLiteral<false>;
@@ -273,6 +393,14 @@ export declare const PageTargetSetSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
273
393
  }>;
274
394
  route_file: z.ZodString;
275
395
  collection_id: z.ZodOptional<z.ZodString>;
396
+ seo: z.ZodOptional<z.ZodObject<{
397
+ title: z.ZodOptional<z.ZodString>;
398
+ description: z.ZodOptional<z.ZodString>;
399
+ keywords: z.ZodOptional<z.ZodString>;
400
+ meta_tags_json: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
401
+ schema_json: z.ZodOptional<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown>]>>;
402
+ breadcrumbs_json: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
403
+ }, z.core.$strict>>;
276
404
  }, z.core.$strict>>;
277
405
  errors: z.ZodArray<z.ZodString>;
278
406
  }, z.core.$strict>], "complete">;
@@ -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,8 +6266,37 @@ 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>;
6282
+ export declare const Step5StructurePlanPageSchema: z.ZodObject<{
6283
+ order: z.ZodNumber;
6284
+ menu_label: z.ZodString;
6285
+ decision_stage: z.ZodString;
6286
+ visitor_task: z.ZodString;
6287
+ primary_cta: z.ZodString;
6288
+ }, z.core.$strict>;
6289
+ export type Step5StructurePlanPage = z.infer<typeof Step5StructurePlanPageSchema>;
6290
+ export declare const Step5StructurePlanSchema: z.ZodObject<{
6291
+ pages: z.ZodArray<z.ZodObject<{
6292
+ order: z.ZodNumber;
6293
+ menu_label: z.ZodString;
6294
+ decision_stage: z.ZodString;
6295
+ visitor_task: z.ZodString;
6296
+ primary_cta: z.ZodString;
6297
+ }, z.core.$strict>>;
6298
+ }, z.core.$strict>;
6299
+ export type Step5StructurePlan = z.infer<typeof Step5StructurePlanSchema>;
6266
6300
  /** Trusted VCP API → Sitemap Agent source;浏览器不能提交这些身份与策略字段。 */
6267
6301
  export declare const Step5SitemapSourceSchema: z.ZodObject<{
6268
6302
  kind: z.ZodLiteral<"step5_strategy">;
@@ -6295,6 +6329,26 @@ export declare const Step5SitemapSourceSchema: z.ZodObject<{
6295
6329
  selected_description: z.ZodString;
6296
6330
  impact: z.ZodOptional<z.ZodString>;
6297
6331
  customer_note: z.ZodOptional<z.ZodString>;
6332
+ market_type: z.ZodOptional<z.ZodEnum<{
6333
+ single_country: "single_country";
6334
+ regional_combination: "regional_combination";
6335
+ multi_market: "multi_market";
6336
+ }>>;
6337
+ markets: z.ZodOptional<z.ZodArray<z.ZodObject<{
6338
+ code: z.ZodString;
6339
+ name_zh: z.ZodString;
6340
+ name_en: z.ZodString;
6341
+ region: z.ZodString;
6342
+ }, z.core.$strict>>>;
6343
+ }, z.core.$strict>>;
6344
+ structure_plan: z.ZodOptional<z.ZodObject<{
6345
+ pages: z.ZodArray<z.ZodObject<{
6346
+ order: z.ZodNumber;
6347
+ menu_label: z.ZodString;
6348
+ decision_stage: z.ZodString;
6349
+ visitor_task: z.ZodString;
6350
+ primary_cta: z.ZodString;
6351
+ }, z.core.$strict>>;
6298
6352
  }, z.core.$strict>>;
6299
6353
  seo_keywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
6300
6354
  id: z.ZodString;
@@ -6302,9 +6356,9 @@ export declare const Step5SitemapSourceSchema: z.ZodObject<{
6302
6356
  normalized_keyword: z.ZodString;
6303
6357
  intc: z.ZodEnum<{
6304
6358
  C: "C";
6359
+ T: "T";
6305
6360
  I: "I";
6306
6361
  N: "N";
6307
- T: "T";
6308
6362
  }>;
6309
6363
  keyword_type: z.ZodString;
6310
6364
  intent_strength: z.ZodEnum<{
@@ -6949,6 +7003,26 @@ export declare const Step5SitemapRunInputSchema: z.ZodObject<{
6949
7003
  selected_description: z.ZodString;
6950
7004
  impact: z.ZodOptional<z.ZodString>;
6951
7005
  customer_note: z.ZodOptional<z.ZodString>;
7006
+ market_type: z.ZodOptional<z.ZodEnum<{
7007
+ single_country: "single_country";
7008
+ regional_combination: "regional_combination";
7009
+ multi_market: "multi_market";
7010
+ }>>;
7011
+ markets: z.ZodOptional<z.ZodArray<z.ZodObject<{
7012
+ code: z.ZodString;
7013
+ name_zh: z.ZodString;
7014
+ name_en: z.ZodString;
7015
+ region: z.ZodString;
7016
+ }, z.core.$strict>>>;
7017
+ }, z.core.$strict>>;
7018
+ structure_plan: z.ZodOptional<z.ZodObject<{
7019
+ pages: z.ZodArray<z.ZodObject<{
7020
+ order: z.ZodNumber;
7021
+ menu_label: z.ZodString;
7022
+ decision_stage: z.ZodString;
7023
+ visitor_task: z.ZodString;
7024
+ primary_cta: z.ZodString;
7025
+ }, z.core.$strict>>;
6952
7026
  }, z.core.$strict>>;
6953
7027
  seo_keywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
6954
7028
  id: z.ZodString;
@@ -6956,9 +7030,9 @@ export declare const Step5SitemapRunInputSchema: z.ZodObject<{
6956
7030
  normalized_keyword: z.ZodString;
6957
7031
  intc: z.ZodEnum<{
6958
7032
  C: "C";
7033
+ T: "T";
6959
7034
  I: "I";
6960
7035
  N: "N";
6961
- T: "T";
6962
7036
  }>;
6963
7037
  keyword_type: z.ZodString;
6964
7038
  intent_strength: z.ZodEnum<{
@@ -7599,6 +7673,26 @@ export declare const SitemapGenerationInputSchema: z.ZodUnion<readonly [z.ZodObj
7599
7673
  selected_description: z.ZodString;
7600
7674
  impact: z.ZodOptional<z.ZodString>;
7601
7675
  customer_note: z.ZodOptional<z.ZodString>;
7676
+ market_type: z.ZodOptional<z.ZodEnum<{
7677
+ single_country: "single_country";
7678
+ regional_combination: "regional_combination";
7679
+ multi_market: "multi_market";
7680
+ }>>;
7681
+ markets: z.ZodOptional<z.ZodArray<z.ZodObject<{
7682
+ code: z.ZodString;
7683
+ name_zh: z.ZodString;
7684
+ name_en: z.ZodString;
7685
+ region: z.ZodString;
7686
+ }, z.core.$strict>>>;
7687
+ }, z.core.$strict>>;
7688
+ structure_plan: z.ZodOptional<z.ZodObject<{
7689
+ pages: z.ZodArray<z.ZodObject<{
7690
+ order: z.ZodNumber;
7691
+ menu_label: z.ZodString;
7692
+ decision_stage: z.ZodString;
7693
+ visitor_task: z.ZodString;
7694
+ primary_cta: z.ZodString;
7695
+ }, z.core.$strict>>;
7602
7696
  }, z.core.$strict>>;
7603
7697
  seo_keywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
7604
7698
  id: z.ZodString;
@@ -7606,9 +7700,9 @@ export declare const SitemapGenerationInputSchema: z.ZodUnion<readonly [z.ZodObj
7606
7700
  normalized_keyword: z.ZodString;
7607
7701
  intc: z.ZodEnum<{
7608
7702
  C: "C";
7703
+ T: "T";
7609
7704
  I: "I";
7610
7705
  N: "N";
7611
- T: "T";
7612
7706
  }>;
7613
7707
  keyword_type: z.ZodString;
7614
7708
  intent_strength: z.ZodEnum<{
@@ -7841,9 +7935,9 @@ export declare const SitemapStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObj
7841
7935
  normalized_keyword: z.ZodString;
7842
7936
  intc: z.ZodEnum<{
7843
7937
  C: "C";
7938
+ T: "T";
7844
7939
  I: "I";
7845
7940
  N: "N";
7846
- T: "T";
7847
7941
  }>;
7848
7942
  keyword_type: z.ZodString;
7849
7943
  intent_strength: z.ZodEnum<{
@@ -8076,9 +8170,9 @@ export declare const SitemapRecordSchema: z.ZodObject<{
8076
8170
  normalized_keyword: z.ZodString;
8077
8171
  intc: z.ZodEnum<{
8078
8172
  C: "C";
8173
+ T: "T";
8079
8174
  I: "I";
8080
8175
  N: "N";
8081
- T: "T";
8082
8176
  }>;
8083
8177
  keyword_type: z.ZodString;
8084
8178
  intent_strength: z.ZodEnum<{
@@ -8243,9 +8337,9 @@ export declare const SitemapDraftRecordSchema: z.ZodObject<{
8243
8337
  normalized_keyword: z.ZodString;
8244
8338
  intc: z.ZodEnum<{
8245
8339
  C: "C";
8340
+ T: "T";
8246
8341
  I: "I";
8247
8342
  N: "N";
8248
- T: "T";
8249
8343
  }>;
8250
8344
  keyword_type: z.ZodString;
8251
8345
  intent_strength: z.ZodEnum<{
@@ -8461,9 +8555,9 @@ export declare const PersistSiteSitemapRequestSchema: z.ZodObject<{
8461
8555
  normalized_keyword: z.ZodString;
8462
8556
  intc: z.ZodEnum<{
8463
8557
  C: "C";
8558
+ T: "T";
8464
8559
  I: "I";
8465
8560
  N: "N";
8466
- T: "T";
8467
8561
  }>;
8468
8562
  keyword_type: z.ZodString;
8469
8563
  intent_strength: z.ZodEnum<{
@@ -8624,9 +8718,9 @@ export declare const ConfirmSiteStructureRequestSchema: z.ZodObject<{
8624
8718
  normalized_keyword: z.ZodString;
8625
8719
  intc: z.ZodEnum<{
8626
8720
  C: "C";
8721
+ T: "T";
8627
8722
  I: "I";
8628
8723
  N: "N";
8629
- T: "T";
8630
8724
  }>;
8631
8725
  keyword_type: z.ZodString;
8632
8726
  intent_strength: z.ZodEnum<{
@@ -8845,9 +8939,9 @@ export declare const PersistGeneratedSitemapDraftRequestSchema: z.ZodObject<{
8845
8939
  normalized_keyword: z.ZodString;
8846
8940
  intc: z.ZodEnum<{
8847
8941
  C: "C";
8942
+ T: "T";
8848
8943
  I: "I";
8849
8944
  N: "N";
8850
- T: "T";
8851
8945
  }>;
8852
8946
  keyword_type: z.ZodString;
8853
8947
  intent_strength: z.ZodEnum<{
@@ -9260,9 +9354,9 @@ export declare const PersistSiteSitemapResponseSchema: z.ZodObject<{
9260
9354
  normalized_keyword: z.ZodString;
9261
9355
  intc: z.ZodEnum<{
9262
9356
  C: "C";
9357
+ T: "T";
9263
9358
  I: "I";
9264
9359
  N: "N";
9265
- T: "T";
9266
9360
  }>;
9267
9361
  keyword_type: z.ZodString;
9268
9362
  intent_strength: z.ZodEnum<{
@@ -9648,9 +9742,9 @@ export declare const PersistSiteSitemapDraftResponseSchema: z.ZodObject<{
9648
9742
  normalized_keyword: z.ZodString;
9649
9743
  intc: z.ZodEnum<{
9650
9744
  C: "C";
9745
+ T: "T";
9651
9746
  I: "I";
9652
9747
  N: "N";
9653
- T: "T";
9654
9748
  }>;
9655
9749
  keyword_type: z.ZodString;
9656
9750
  intent_strength: z.ZodEnum<{
@@ -10092,9 +10186,9 @@ export declare const PersistGeneratedSitemapDraftResponseSchema: z.ZodObject<{
10092
10186
  normalized_keyword: z.ZodString;
10093
10187
  intc: z.ZodEnum<{
10094
10188
  C: "C";
10189
+ T: "T";
10095
10190
  I: "I";
10096
10191
  N: "N";
10097
- T: "T";
10098
10192
  }>;
10099
10193
  keyword_type: z.ZodString;
10100
10194
  intent_strength: z.ZodEnum<{
@@ -12183,9 +12277,9 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
12183
12277
  normalized_keyword: z.ZodString;
12184
12278
  intc: z.ZodEnum<{
12185
12279
  C: "C";
12280
+ T: "T";
12186
12281
  I: "I";
12187
12282
  N: "N";
12188
- T: "T";
12189
12283
  }>;
12190
12284
  keyword_type: z.ZodString;
12191
12285
  intent_strength: z.ZodEnum<{
@@ -13048,9 +13142,9 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
13048
13142
  normalized_keyword: z.ZodString;
13049
13143
  intc: z.ZodEnum<{
13050
13144
  C: "C";
13145
+ T: "T";
13051
13146
  I: "I";
13052
13147
  N: "N";
13053
- T: "T";
13054
13148
  }>;
13055
13149
  keyword_type: z.ZodString;
13056
13150
  intent_strength: z.ZodEnum<{
@@ -13910,9 +14004,9 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
13910
14004
  normalized_keyword: z.ZodString;
13911
14005
  intc: z.ZodEnum<{
13912
14006
  C: "C";
14007
+ T: "T";
13913
14008
  I: "I";
13914
14009
  N: "N";
13915
- T: "T";
13916
14010
  }>;
13917
14011
  keyword_type: z.ZodString;
13918
14012
  intent_strength: z.ZodEnum<{
@@ -14811,9 +14905,9 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
14811
14905
  normalized_keyword: z.ZodString;
14812
14906
  intc: z.ZodEnum<{
14813
14907
  C: "C";
14908
+ T: "T";
14814
14909
  I: "I";
14815
14910
  N: "N";
14816
- T: "T";
14817
14911
  }>;
14818
14912
  keyword_type: z.ZodString;
14819
14913
  intent_strength: z.ZodEnum<{
@@ -15713,9 +15807,9 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
15713
15807
  normalized_keyword: z.ZodString;
15714
15808
  intc: z.ZodEnum<{
15715
15809
  C: "C";
15810
+ T: "T";
15716
15811
  I: "I";
15717
15812
  N: "N";
15718
- T: "T";
15719
15813
  }>;
15720
15814
  keyword_type: z.ZodString;
15721
15815
  intent_strength: z.ZodEnum<{
@@ -16583,9 +16677,9 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
16583
16677
  normalized_keyword: z.ZodString;
16584
16678
  intc: z.ZodEnum<{
16585
16679
  C: "C";
16680
+ T: "T";
16586
16681
  I: "I";
16587
16682
  N: "N";
16588
- T: "T";
16589
16683
  }>;
16590
16684
  keyword_type: z.ZodString;
16591
16685
  intent_strength: z.ZodEnum<{
@@ -17953,6 +18047,13 @@ export declare const REST_API_ENDPOINTS: readonly [{
17953
18047
  readonly summary: "Read the authoritative site domain configuration.";
17954
18048
  readonly status: "implemented";
17955
18049
  readonly response_schema: "GetSiteDomainConfigurationResponseSchema";
18050
+ }, {
18051
+ readonly method: "GET";
18052
+ readonly path: "/internal/sites/:site_id/active-domain";
18053
+ readonly tag: "internal/active-domain";
18054
+ readonly summary: "Read whether an internal site has an active primary domain.";
18055
+ readonly status: "implemented";
18056
+ readonly response_schema: "GetActiveSiteDomainResponseSchema";
17956
18057
  }, {
17957
18058
  readonly method: "POST";
17958
18059
  readonly path: "/sites/:site_id/publish-workflows/:workflow_id/domain/check";
@@ -18019,20 +18120,19 @@ export declare const REST_API_ENDPOINTS: readonly [{
18019
18120
  readonly response_schema: "SitePublishWorkflowMutationResponseSchema";
18020
18121
  }, {
18021
18122
  readonly method: "POST";
18022
- readonly path: "/sites/:site_id/publish-workflow/:workflow_id/retry";
18123
+ readonly path: "/sites/:site_id/publish-workflow/:workflow_id/quality-task";
18023
18124
  readonly tag: "publish-workflow";
18024
- readonly summary: "Retry failed external publish quality tasks.";
18125
+ readonly summary: "Create a new quality task for a failed publish workflow.";
18025
18126
  readonly status: "implemented";
18026
18127
  readonly request_body_schema: "SitePublishWorkflowRevisionRequestSchema";
18027
18128
  readonly response_schema: "SitePublishWorkflowMutationResponseSchema";
18028
18129
  }, {
18029
- readonly method: "POST";
18030
- readonly path: "/sites/:site_id/publish-workflow/:workflow_id/stream";
18130
+ readonly method: "GET";
18131
+ readonly path: "/sites/:site_id/publish-workflow/:workflow_id";
18031
18132
  readonly tag: "publish-workflow";
18032
- readonly summary: "Stream updates for an existing site publish workflow.";
18133
+ readonly summary: "Read and reconcile a site publish workflow quality task.";
18033
18134
  readonly status: "implemented";
18034
- readonly request_body_schema: "StreamSitePublishWorkflowRequestSchema";
18035
- readonly response_schema: "SitePublishWorkflowSseDataSchema";
18135
+ readonly response_schema: "SitePublishWorkflowQualityResponseSchema";
18036
18136
  }, {
18037
18137
  readonly method: "PATCH";
18038
18138
  readonly path: "/sites/:site_id/publish-workflow/:workflow_id/step";
@@ -21499,7 +21599,7 @@ export { DEFAULT_FONTS, FONT_PAIRINGS, fontStack, NEXT_FONT_DISPLAY_NAMES, NEXT_
21499
21599
  export type { FontPairing, NextFontEntry } from "./font-catalog.js";
21500
21600
  export { THEME_PRESETS } from "./theme-presets.js";
21501
21601
  export type { ThemePreset } from "./theme-presets.js";
21502
- export { MEDIA_LIBRARY_AUDIO_EXTENSIONS, MEDIA_LIBRARY_DOCUMENT_EXTENSIONS, MEDIA_LIBRARY_EXTENSIONS, MEDIA_LIBRARY_FILE_EXTENSIONS, MEDIA_LIBRARY_IMAGE_EXTENSIONS, MEDIA_LIBRARY_IMAGE_MAX_BYTES, MEDIA_LIBRARY_IMAGE_MIME_TYPES, MEDIA_LIBRARY_MAX_BYTES, MEDIA_LIBRARY_VIDEO_MIME_TYPES, MEDIA_LIBRARY_VIDEO_EXTENSIONS, MEDIA_LIBRARY_AUDIO_MIME_TYPES, MEDIA_LIBRARY_MIME_TYPES, MediaLibraryFileTypeSchema, MediaLibrarySourceSchema, MediaLibraryAssetSchema, ListMediaLibraryAssetsQuerySchema, ListMediaLibraryAssetsResponseSchema, UploadMediaLibraryAssetResponseSchema, UnsplashMediaAssetSchema, SearchUnsplashMediaQuerySchema, SearchUnsplashMediaResponseSchema, UnsplashDownloadLocationSchema, UseUnsplashMediaRequestSchema, UseUnsplashMediaResponseSchema, } from "./media-library.js";
21503
- export type { MediaLibraryFileType, MediaLibrarySource, MediaLibraryAsset, ListMediaLibraryAssetsQuery, ListMediaLibraryAssetsResponse, UploadMediaLibraryAssetResponse, UnsplashMediaAsset, SearchUnsplashMediaQuery, SearchUnsplashMediaResponse, UseUnsplashMediaRequest, UseUnsplashMediaResponse, } from "./media-library.js";
21602
+ export { MEDIA_LIBRARY_AUDIO_EXTENSIONS, MEDIA_LIBRARY_DOCUMENT_EXTENSIONS, MEDIA_LIBRARY_EXTENSIONS, MEDIA_LIBRARY_FILE_EXTENSIONS, MEDIA_LIBRARY_IMAGE_EXTENSIONS, MEDIA_LIBRARY_IMAGE_MAX_BYTES, MEDIA_LIBRARY_IMAGE_MIME_TYPES, MEDIA_LIBRARY_MAX_BYTES, MEDIA_LIBRARY_VIDEO_MIME_TYPES, MEDIA_LIBRARY_VIDEO_EXTENSIONS, MEDIA_LIBRARY_AUDIO_MIME_TYPES, MEDIA_LIBRARY_MIME_TYPES, MediaLibraryFileTypeSchema, MediaLibrarySourceSchema, MediaLibraryAssetSchema, ListMediaLibraryAssetsQuerySchema, ListMediaLibraryAssetsResponseSchema, UploadMediaLibraryAssetResponseSchema, UnsplashMediaAssetSchema, SearchUnsplashMediaQuerySchema, SearchUnsplashMediaResponseSchema, UnsplashDownloadLocationSchema, UseUnsplashMediaRequestSchema, UseUnsplashMediaResponseSchema, RegisterMediaResourceReferenceRequestSchema, RegisterMediaResourceReferenceResponseSchema, } from "./media-library.js";
21603
+ export type { MediaLibraryFileType, MediaLibrarySource, MediaLibraryAsset, ListMediaLibraryAssetsQuery, ListMediaLibraryAssetsResponse, UploadMediaLibraryAssetResponse, UnsplashMediaAsset, SearchUnsplashMediaQuery, SearchUnsplashMediaResponse, UseUnsplashMediaRequest, UseUnsplashMediaResponse, RegisterMediaResourceReferenceRequest, RegisterMediaResourceReferenceResponse, } from "./media-library.js";
21504
21604
  export { WorkspaceDesignApplyRequestSchema, WorkspaceDesignApplyResponseSchema, } from "./workspace-design-apply.js";
21505
21605
  export type { WorkspaceDesignApplyRequest, WorkspaceDesignApplyResponse, } from "./workspace-design-apply.js";