@vcp-dev/contracts 0.6.10 → 0.7.0

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.
Files changed (78) hide show
  1. package/README.md +5 -4
  2. package/dist/api-response.d.ts +11 -0
  3. package/dist/business-facts.d.ts +23 -0
  4. package/dist/cms-page-directory.d.ts +281 -0
  5. package/dist/cms-site-id.d.ts +4 -0
  6. package/dist/colorway-distinctness.js +1 -1
  7. package/dist/connect-dynamic-collection.d.ts +7 -3
  8. package/dist/connect-form.d.ts +7 -5
  9. package/dist/conversion-hints.d.ts +37 -0
  10. package/dist/crawler-task-service.d.ts +594 -0
  11. package/dist/custom-domain.d.ts +120 -206
  12. package/dist/customer-materials.d.ts +196 -0
  13. package/dist/deployment-lifecycle.d.ts +45 -0
  14. package/dist/deployment-progress.d.ts +51 -0
  15. package/dist/design-tokens.d.ts +1 -0
  16. package/dist/design-tokens.js +1 -1
  17. package/dist/designer-component-library.d.ts +9 -7
  18. package/dist/designer-page-library.d.ts +36 -40
  19. package/dist/e2b-preview-proxy.d.ts +5 -0
  20. package/dist/external-site-edit.d.ts +267 -0
  21. package/dist/firecrawl-internal.d.ts +122 -0
  22. package/dist/font-catalog.d.ts +5 -2
  23. package/dist/form-design.d.ts +109 -69
  24. package/dist/google-search-console.d.ts +317 -0
  25. package/dist/index.d.ts +7110 -1965
  26. package/dist/index.js +1 -1
  27. package/dist/industry-classification.d.ts +43 -0
  28. package/dist/input-context-bundle.d.ts +16 -6
  29. package/dist/internal-entity-id.d.ts +3 -0
  30. package/dist/knowledge-category.d.ts +20 -0
  31. package/dist/knowledge-source-readiness.d.ts +94 -0
  32. package/dist/launcher-prompt-templates.d.ts +742 -0
  33. package/dist/media-library.d.ts +164 -0
  34. package/dist/migration-products.d.ts +45 -0
  35. package/dist/page-slug.d.ts +2 -0
  36. package/dist/page-template.d.ts +95 -0
  37. package/dist/product-search.d.ts +227 -0
  38. package/dist/site-build.d.ts +563 -0
  39. package/dist/site-design-presets.d.ts +20 -0
  40. package/dist/site-edit-capability.d.ts +13 -1
  41. package/dist/site-edit-class-name-source.d.ts +40 -8
  42. package/dist/site-edit-command-result.d.ts +15 -4
  43. package/dist/site-edit-composition.d.ts +13 -0
  44. package/dist/site-edit-event.d.ts +76 -14
  45. package/dist/site-edit-history-status.d.ts +193 -0
  46. package/dist/site-edit-operation.d.ts +205 -62
  47. package/dist/site-edit-page-composition.d.ts +101 -22
  48. package/dist/site-edit-patch-plan.d.ts +49 -3
  49. package/dist/site-edit-render-document.d.ts +67 -17
  50. package/dist/site-edit-session.d.ts +5 -2
  51. package/dist/site-edit-source.d.ts +60 -11
  52. package/dist/site-edit-version.d.ts +1 -1
  53. package/dist/site-extra-requirement.d.ts +31 -0
  54. package/dist/site-locale.d.ts +20 -0
  55. package/dist/site-localization-fields.d.ts +196 -0
  56. package/dist/site-localization-scope.d.ts +95 -0
  57. package/dist/site-preview.d.ts +65 -0
  58. package/dist/site-publish-domain.d.ts +680 -0
  59. package/dist/site-publish-workflow.d.ts +612 -0
  60. package/dist/site-workflow-completions.d.ts +163 -0
  61. package/dist/site-workflow.d.ts +1026 -0
  62. package/dist/sitemap-navigation.d.ts +12 -0
  63. package/dist/step2-page-selection.d.ts +88 -0
  64. package/dist/step2-site-initialization.d.ts +500 -0
  65. package/dist/step3-digital-employee-analysis.d.ts +661 -0
  66. package/dist/step4-diagnosis.d.ts +272 -0
  67. package/dist/step5-strategy.d.ts +8076 -0
  68. package/dist/step6-design.d.ts +986 -0
  69. package/dist/subsite-localization-input.d.ts +121 -0
  70. package/dist/subsite-mount-path.d.ts +23 -0
  71. package/dist/subsite-visible-text-export.d.ts +22 -0
  72. package/dist/template-upgrade-observability.d.ts +2 -2
  73. package/dist/theme-presets.d.ts +56 -1
  74. package/dist/user-facing-copy.d.ts +1 -0
  75. package/dist/workspace-design-apply.d.ts +5 -0
  76. package/dist/workspace-resource-operation.d.ts +75 -33
  77. package/package.json +2 -1
  78. package/dist/publish-plan.d.ts +0 -54
@@ -0,0 +1,986 @@
1
+ import { z } from "zod";
2
+ import { type SiteDesignRadiusId } from "./site-design-presets.js";
3
+ /**
4
+ * 审美说明上限 300 字。用户自由文本,服务端一律原样透传:不做替换、不截断
5
+ * 关键词、不做正则规整 —— 这类处理在本仓有过把正文改坏的实际教训。
6
+ */
7
+ export declare const AESTHETIC_NOTE_MAX_LENGTH = 300;
8
+ export declare const Step6ColorSeedsSchema: z.ZodObject<{
9
+ primary: z.ZodString;
10
+ accent: z.ZodString;
11
+ foreground: z.ZodString;
12
+ }, z.core.$strict>;
13
+ /**
14
+ * 设计推荐返回的一张主题卡。命名为 `Ai` 是历史沿袭(封闭目录时代),现在的
15
+ * 内容全部由模型按站点生成(或 deterministic fallback 造出):id 由 API 侧
16
+ * 按内容派生,卡片自带完整视觉维度(radius/font/motion/density)。
17
+ */
18
+ export declare const Step6AiThemeCandidateSchema: z.ZodObject<{
19
+ id: z.ZodUnion<readonly [z.ZodEnum<{
20
+ ocean: "ocean";
21
+ forest: "forest";
22
+ crimson: "crimson";
23
+ violet: "violet";
24
+ clay: "clay";
25
+ graphite: "graphite";
26
+ }>, z.ZodEnum<{
27
+ "ai-forest": "ai-forest";
28
+ "ai-navy": "ai-navy";
29
+ "ai-steel": "ai-steel";
30
+ }>, z.ZodString]>;
31
+ rank: z.ZodNumber;
32
+ name: z.ZodString;
33
+ description: z.ZodString;
34
+ color_seeds: z.ZodObject<{
35
+ primary: z.ZodString;
36
+ accent: z.ZodString;
37
+ foreground: z.ZodString;
38
+ }, z.core.$strict>;
39
+ surface_mode: z.ZodEnum<{
40
+ light: "light";
41
+ dark: "dark";
42
+ }>;
43
+ radius: z.ZodEnum<{
44
+ none: "none";
45
+ sm: "sm";
46
+ md: "md";
47
+ lg: "lg";
48
+ xl: "xl";
49
+ }>;
50
+ font_pairing_id: z.ZodEnum<{
51
+ "archivo-inter": "archivo-inter";
52
+ "playfair-source-sans": "playfair-source-sans";
53
+ "space-grotesk-manrope": "space-grotesk-manrope";
54
+ "fraunces-libre-franklin": "fraunces-libre-franklin";
55
+ "noto-serif-sc-noto-sans-sc": "noto-serif-sc-noto-sans-sc";
56
+ "noto-sans-sc": "noto-sans-sc";
57
+ }>;
58
+ motion_preset_id: z.ZodEnum<{
59
+ subtle: "subtle";
60
+ moderate: "moderate";
61
+ expressive: "expressive";
62
+ }>;
63
+ density: z.ZodEnum<{
64
+ compact: "compact";
65
+ comfortable: "comfortable";
66
+ airy: "airy";
67
+ }>;
68
+ reason: z.ZodString;
69
+ }, z.core.$strict>;
70
+ export type Step6AiThemeCandidate = z.infer<typeof Step6AiThemeCandidateSchema>;
71
+ /**
72
+ * 模型面的一张生成主题卡:与 wire 候选相比没有 id/rank(id 由 API 侧按内容
73
+ * 派生,rank 由数组顺序决定)。颜色与文案是模型 authoring 的;字体/圆角/
74
+ * 密度/动效仍是封闭 enum 白名单——与 Clarify 视觉决策同口径。
75
+ */
76
+ export declare const Step6GeneratedThemeCardSchema: z.ZodObject<{
77
+ name: z.ZodString;
78
+ description: z.ZodString;
79
+ reason: z.ZodString;
80
+ color_seeds: z.ZodObject<{
81
+ primary: z.ZodString;
82
+ accent: z.ZodString;
83
+ foreground: z.ZodString;
84
+ }, z.core.$strict>;
85
+ surface_mode: z.ZodEnum<{
86
+ light: "light";
87
+ dark: "dark";
88
+ }>;
89
+ radius: z.ZodEnum<{
90
+ none: "none";
91
+ sm: "sm";
92
+ md: "md";
93
+ lg: "lg";
94
+ xl: "xl";
95
+ }>;
96
+ font_pairing_id: z.ZodEnum<{
97
+ "archivo-inter": "archivo-inter";
98
+ "playfair-source-sans": "playfair-source-sans";
99
+ "space-grotesk-manrope": "space-grotesk-manrope";
100
+ "fraunces-libre-franklin": "fraunces-libre-franklin";
101
+ "noto-serif-sc-noto-sans-sc": "noto-serif-sc-noto-sans-sc";
102
+ "noto-sans-sc": "noto-sans-sc";
103
+ }>;
104
+ motion_preset_id: z.ZodEnum<{
105
+ subtle: "subtle";
106
+ moderate: "moderate";
107
+ expressive: "expressive";
108
+ }>;
109
+ density: z.ZodEnum<{
110
+ compact: "compact";
111
+ comfortable: "comfortable";
112
+ airy: "airy";
113
+ }>;
114
+ }, z.core.$strict>;
115
+ export type Step6GeneratedThemeCard = z.infer<typeof Step6GeneratedThemeCardSchema>;
116
+ export declare const Step6DesignSelectionSchema: z.ZodObject<{
117
+ version: z.ZodNumber;
118
+ recommendation_id: z.ZodString;
119
+ theme_preset_id: z.ZodUnion<readonly [z.ZodEnum<{
120
+ ocean: "ocean";
121
+ forest: "forest";
122
+ crimson: "crimson";
123
+ violet: "violet";
124
+ clay: "clay";
125
+ graphite: "graphite";
126
+ }>, z.ZodEnum<{
127
+ "ai-forest": "ai-forest";
128
+ "ai-navy": "ai-navy";
129
+ "ai-steel": "ai-steel";
130
+ }>, z.ZodString]>;
131
+ color_seeds: z.ZodObject<{
132
+ primary: z.ZodString;
133
+ accent: z.ZodString;
134
+ foreground: z.ZodString;
135
+ }, z.core.$strict>;
136
+ surface_mode: z.ZodEnum<{
137
+ light: "light";
138
+ dark: "dark";
139
+ }>;
140
+ font_pairing_id: z.ZodEnum<{
141
+ "archivo-inter": "archivo-inter";
142
+ "playfair-source-sans": "playfair-source-sans";
143
+ "space-grotesk-manrope": "space-grotesk-manrope";
144
+ "fraunces-libre-franklin": "fraunces-libre-franklin";
145
+ "noto-serif-sc-noto-sans-sc": "noto-serif-sc-noto-sans-sc";
146
+ "noto-sans-sc": "noto-sans-sc";
147
+ }>;
148
+ motion_preset_id: z.ZodEnum<{
149
+ subtle: "subtle";
150
+ moderate: "moderate";
151
+ expressive: "expressive";
152
+ }>;
153
+ density: z.ZodEnum<{
154
+ compact: "compact";
155
+ comfortable: "comfortable";
156
+ airy: "airy";
157
+ }>;
158
+ radius: z.ZodOptional<z.ZodEnum<{
159
+ none: "none";
160
+ sm: "sm";
161
+ md: "md";
162
+ lg: "lg";
163
+ xl: "xl";
164
+ }>>;
165
+ aesthetic_note: z.ZodOptional<z.ZodString>;
166
+ updated_at: z.ZodString;
167
+ }, z.core.$strict>;
168
+ export type Step6DesignSelection = z.infer<typeof Step6DesignSelectionSchema>;
169
+ export declare const Step6DesignRecommendationSchema: z.ZodObject<{
170
+ id: z.ZodString;
171
+ version: z.ZodNumber;
172
+ catalog_version: z.ZodString;
173
+ source: z.ZodObject<{
174
+ mode: z.ZodEnum<{
175
+ ai: "ai";
176
+ fallback: "fallback";
177
+ }>;
178
+ fallback_reason: z.ZodNullable<z.ZodString>;
179
+ }, z.core.$strict>;
180
+ inputs: z.ZodObject<{
181
+ industry: z.ZodOptional<z.ZodString>;
182
+ site_language: z.ZodString;
183
+ owner_locale: z.ZodOptional<z.ZodEnum<{
184
+ id: "id";
185
+ "zh-CN": "zh-CN";
186
+ "zh-HK": "zh-HK";
187
+ "zh-TW": "zh-TW";
188
+ "en-US": "en-US";
189
+ "en-GB": "en-GB";
190
+ "ja-JP": "ja-JP";
191
+ "ko-KR": "ko-KR";
192
+ "es-ES": "es-ES";
193
+ "fr-FR": "fr-FR";
194
+ "de-DE": "de-DE";
195
+ "pt-PT": "pt-PT";
196
+ "ru-RU": "ru-RU";
197
+ "ar-SA": "ar-SA";
198
+ "id-ID": "id-ID";
199
+ "vi-VN": "vi-VN";
200
+ "th-TH": "th-TH";
201
+ "it-IT": "it-IT";
202
+ "nl-NL": "nl-NL";
203
+ "tr-TR": "tr-TR";
204
+ "pl-PL": "pl-PL";
205
+ "uk-UA": "uk-UA";
206
+ "cs-CZ": "cs-CZ";
207
+ "sk-SK": "sk-SK";
208
+ "hu-HU": "hu-HU";
209
+ "ro-RO": "ro-RO";
210
+ "el-GR": "el-GR";
211
+ "sv-SE": "sv-SE";
212
+ "da-DK": "da-DK";
213
+ "fi-FI": "fi-FI";
214
+ "hr-HR": "hr-HR";
215
+ "lt-LT": "lt-LT";
216
+ "lv-LV": "lv-LV";
217
+ "et-EE": "et-EE";
218
+ "ga-IE": "ga-IE";
219
+ "mt-MT": "mt-MT";
220
+ "ka-GE": "ka-GE";
221
+ "fa-IR": "fa-IR";
222
+ "bn-BD": "bn-BD";
223
+ "ta-IN": "ta-IN";
224
+ "si-LK": "si-LK";
225
+ "ms-MY": "ms-MY";
226
+ "fil-PH": "fil-PH";
227
+ "my-MM": "my-MM";
228
+ "km-KH": "km-KH";
229
+ "lo-LA": "lo-LA";
230
+ "mn-MN": "mn-MN";
231
+ "kk-KZ": "kk-KZ";
232
+ en: "en";
233
+ ja: "ja";
234
+ es: "es";
235
+ fr: "fr";
236
+ de: "de";
237
+ ko: "ko";
238
+ pt: "pt";
239
+ "pt-BR": "pt-BR";
240
+ it: "it";
241
+ ru: "ru";
242
+ ar: "ar";
243
+ hi: "hi";
244
+ vi: "vi";
245
+ th: "th";
246
+ tr: "tr";
247
+ nl: "nl";
248
+ pl: "pl";
249
+ uk: "uk";
250
+ sv: "sv";
251
+ da: "da";
252
+ fi: "fi";
253
+ no: "no";
254
+ cs: "cs";
255
+ el: "el";
256
+ hu: "hu";
257
+ ro: "ro";
258
+ he: "he";
259
+ ms: "ms";
260
+ fil: "fil";
261
+ bn: "bn";
262
+ ta: "ta";
263
+ ca: "ca";
264
+ sk: "sk";
265
+ hr: "hr";
266
+ bg: "bg";
267
+ lt: "lt";
268
+ lv: "lv";
269
+ et: "et";
270
+ fa: "fa";
271
+ sw: "sw";
272
+ sr: "sr";
273
+ is: "is";
274
+ }>>;
275
+ strategy_version: z.ZodNumber;
276
+ input_digest: z.ZodString;
277
+ }, z.core.$strict>;
278
+ theme: z.ZodObject<{
279
+ recommended_id: z.ZodUnion<readonly [z.ZodEnum<{
280
+ ocean: "ocean";
281
+ forest: "forest";
282
+ crimson: "crimson";
283
+ violet: "violet";
284
+ clay: "clay";
285
+ graphite: "graphite";
286
+ }>, z.ZodEnum<{
287
+ "ai-forest": "ai-forest";
288
+ "ai-navy": "ai-navy";
289
+ "ai-steel": "ai-steel";
290
+ }>, z.ZodString]>;
291
+ candidate_ids: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
292
+ ocean: "ocean";
293
+ forest: "forest";
294
+ crimson: "crimson";
295
+ violet: "violet";
296
+ clay: "clay";
297
+ graphite: "graphite";
298
+ }>, z.ZodEnum<{
299
+ "ai-forest": "ai-forest";
300
+ "ai-navy": "ai-navy";
301
+ "ai-steel": "ai-steel";
302
+ }>, z.ZodString]>>;
303
+ candidates: z.ZodArray<z.ZodObject<{
304
+ id: z.ZodUnion<readonly [z.ZodEnum<{
305
+ ocean: "ocean";
306
+ forest: "forest";
307
+ crimson: "crimson";
308
+ violet: "violet";
309
+ clay: "clay";
310
+ graphite: "graphite";
311
+ }>, z.ZodEnum<{
312
+ "ai-forest": "ai-forest";
313
+ "ai-navy": "ai-navy";
314
+ "ai-steel": "ai-steel";
315
+ }>, z.ZodString]>;
316
+ rank: z.ZodNumber;
317
+ name: z.ZodString;
318
+ description: z.ZodString;
319
+ color_seeds: z.ZodObject<{
320
+ primary: z.ZodString;
321
+ accent: z.ZodString;
322
+ foreground: z.ZodString;
323
+ }, z.core.$strict>;
324
+ surface_mode: z.ZodEnum<{
325
+ light: "light";
326
+ dark: "dark";
327
+ }>;
328
+ radius: z.ZodEnum<{
329
+ none: "none";
330
+ sm: "sm";
331
+ md: "md";
332
+ lg: "lg";
333
+ xl: "xl";
334
+ }>;
335
+ font_pairing_id: z.ZodEnum<{
336
+ "archivo-inter": "archivo-inter";
337
+ "playfair-source-sans": "playfair-source-sans";
338
+ "space-grotesk-manrope": "space-grotesk-manrope";
339
+ "fraunces-libre-franklin": "fraunces-libre-franklin";
340
+ "noto-serif-sc-noto-sans-sc": "noto-serif-sc-noto-sans-sc";
341
+ "noto-sans-sc": "noto-sans-sc";
342
+ }>;
343
+ motion_preset_id: z.ZodEnum<{
344
+ subtle: "subtle";
345
+ moderate: "moderate";
346
+ expressive: "expressive";
347
+ }>;
348
+ density: z.ZodEnum<{
349
+ compact: "compact";
350
+ comfortable: "comfortable";
351
+ airy: "airy";
352
+ }>;
353
+ reason: z.ZodString;
354
+ }, z.core.$strict>>;
355
+ }, z.core.$strict>;
356
+ font: z.ZodObject<{
357
+ recommended_id: z.ZodEnum<{
358
+ "archivo-inter": "archivo-inter";
359
+ "playfair-source-sans": "playfair-source-sans";
360
+ "space-grotesk-manrope": "space-grotesk-manrope";
361
+ "fraunces-libre-franklin": "fraunces-libre-franklin";
362
+ "noto-serif-sc-noto-sans-sc": "noto-serif-sc-noto-sans-sc";
363
+ "noto-sans-sc": "noto-sans-sc";
364
+ }>;
365
+ reason: z.ZodString;
366
+ }, z.core.$strict>;
367
+ motion: z.ZodObject<{
368
+ recommended_id: z.ZodEnum<{
369
+ subtle: "subtle";
370
+ moderate: "moderate";
371
+ expressive: "expressive";
372
+ }>;
373
+ reason: z.ZodString;
374
+ }, z.core.$strict>;
375
+ density: z.ZodObject<{
376
+ recommended_id: z.ZodEnum<{
377
+ compact: "compact";
378
+ comfortable: "comfortable";
379
+ airy: "airy";
380
+ }>;
381
+ reason: z.ZodString;
382
+ }, z.core.$strict>;
383
+ conversion: z.ZodOptional<z.ZodObject<{
384
+ protocol: z.ZodEnum<{
385
+ external: "external";
386
+ phone: "phone";
387
+ form: "form";
388
+ download: "download";
389
+ route: "route";
390
+ }>;
391
+ ctaLabel: z.ZodString;
392
+ ctaTarget: z.ZodOptional<z.ZodString>;
393
+ requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
394
+ }, z.core.$strip>>;
395
+ generated_at: z.ZodString;
396
+ }, z.core.$strict>;
397
+ export type Step6DesignRecommendation = z.infer<typeof Step6DesignRecommendationSchema>;
398
+ export declare const Step6DesignRecommendationsRequestSchema: z.ZodObject<{
399
+ force_refresh: z.ZodOptional<z.ZodBoolean>;
400
+ }, z.core.$strict>;
401
+ export type Step6DesignRecommendationsRequest = z.infer<typeof Step6DesignRecommendationsRequestSchema>;
402
+ export declare const Step6DesignRecommendationsResponseSchema: z.ZodObject<{
403
+ request_id: z.ZodString;
404
+ site_id: z.ZodUUID;
405
+ cached: z.ZodBoolean;
406
+ recommendation: z.ZodObject<{
407
+ id: z.ZodString;
408
+ version: z.ZodNumber;
409
+ catalog_version: z.ZodString;
410
+ source: z.ZodObject<{
411
+ mode: z.ZodEnum<{
412
+ ai: "ai";
413
+ fallback: "fallback";
414
+ }>;
415
+ fallback_reason: z.ZodNullable<z.ZodString>;
416
+ }, z.core.$strict>;
417
+ inputs: z.ZodObject<{
418
+ industry: z.ZodOptional<z.ZodString>;
419
+ site_language: z.ZodString;
420
+ owner_locale: z.ZodOptional<z.ZodEnum<{
421
+ id: "id";
422
+ "zh-CN": "zh-CN";
423
+ "zh-HK": "zh-HK";
424
+ "zh-TW": "zh-TW";
425
+ "en-US": "en-US";
426
+ "en-GB": "en-GB";
427
+ "ja-JP": "ja-JP";
428
+ "ko-KR": "ko-KR";
429
+ "es-ES": "es-ES";
430
+ "fr-FR": "fr-FR";
431
+ "de-DE": "de-DE";
432
+ "pt-PT": "pt-PT";
433
+ "ru-RU": "ru-RU";
434
+ "ar-SA": "ar-SA";
435
+ "id-ID": "id-ID";
436
+ "vi-VN": "vi-VN";
437
+ "th-TH": "th-TH";
438
+ "it-IT": "it-IT";
439
+ "nl-NL": "nl-NL";
440
+ "tr-TR": "tr-TR";
441
+ "pl-PL": "pl-PL";
442
+ "uk-UA": "uk-UA";
443
+ "cs-CZ": "cs-CZ";
444
+ "sk-SK": "sk-SK";
445
+ "hu-HU": "hu-HU";
446
+ "ro-RO": "ro-RO";
447
+ "el-GR": "el-GR";
448
+ "sv-SE": "sv-SE";
449
+ "da-DK": "da-DK";
450
+ "fi-FI": "fi-FI";
451
+ "hr-HR": "hr-HR";
452
+ "lt-LT": "lt-LT";
453
+ "lv-LV": "lv-LV";
454
+ "et-EE": "et-EE";
455
+ "ga-IE": "ga-IE";
456
+ "mt-MT": "mt-MT";
457
+ "ka-GE": "ka-GE";
458
+ "fa-IR": "fa-IR";
459
+ "bn-BD": "bn-BD";
460
+ "ta-IN": "ta-IN";
461
+ "si-LK": "si-LK";
462
+ "ms-MY": "ms-MY";
463
+ "fil-PH": "fil-PH";
464
+ "my-MM": "my-MM";
465
+ "km-KH": "km-KH";
466
+ "lo-LA": "lo-LA";
467
+ "mn-MN": "mn-MN";
468
+ "kk-KZ": "kk-KZ";
469
+ en: "en";
470
+ ja: "ja";
471
+ es: "es";
472
+ fr: "fr";
473
+ de: "de";
474
+ ko: "ko";
475
+ pt: "pt";
476
+ "pt-BR": "pt-BR";
477
+ it: "it";
478
+ ru: "ru";
479
+ ar: "ar";
480
+ hi: "hi";
481
+ vi: "vi";
482
+ th: "th";
483
+ tr: "tr";
484
+ nl: "nl";
485
+ pl: "pl";
486
+ uk: "uk";
487
+ sv: "sv";
488
+ da: "da";
489
+ fi: "fi";
490
+ no: "no";
491
+ cs: "cs";
492
+ el: "el";
493
+ hu: "hu";
494
+ ro: "ro";
495
+ he: "he";
496
+ ms: "ms";
497
+ fil: "fil";
498
+ bn: "bn";
499
+ ta: "ta";
500
+ ca: "ca";
501
+ sk: "sk";
502
+ hr: "hr";
503
+ bg: "bg";
504
+ lt: "lt";
505
+ lv: "lv";
506
+ et: "et";
507
+ fa: "fa";
508
+ sw: "sw";
509
+ sr: "sr";
510
+ is: "is";
511
+ }>>;
512
+ strategy_version: z.ZodNumber;
513
+ input_digest: z.ZodString;
514
+ }, z.core.$strict>;
515
+ theme: z.ZodObject<{
516
+ recommended_id: z.ZodUnion<readonly [z.ZodEnum<{
517
+ ocean: "ocean";
518
+ forest: "forest";
519
+ crimson: "crimson";
520
+ violet: "violet";
521
+ clay: "clay";
522
+ graphite: "graphite";
523
+ }>, z.ZodEnum<{
524
+ "ai-forest": "ai-forest";
525
+ "ai-navy": "ai-navy";
526
+ "ai-steel": "ai-steel";
527
+ }>, z.ZodString]>;
528
+ candidate_ids: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
529
+ ocean: "ocean";
530
+ forest: "forest";
531
+ crimson: "crimson";
532
+ violet: "violet";
533
+ clay: "clay";
534
+ graphite: "graphite";
535
+ }>, z.ZodEnum<{
536
+ "ai-forest": "ai-forest";
537
+ "ai-navy": "ai-navy";
538
+ "ai-steel": "ai-steel";
539
+ }>, z.ZodString]>>;
540
+ candidates: z.ZodArray<z.ZodObject<{
541
+ id: z.ZodUnion<readonly [z.ZodEnum<{
542
+ ocean: "ocean";
543
+ forest: "forest";
544
+ crimson: "crimson";
545
+ violet: "violet";
546
+ clay: "clay";
547
+ graphite: "graphite";
548
+ }>, z.ZodEnum<{
549
+ "ai-forest": "ai-forest";
550
+ "ai-navy": "ai-navy";
551
+ "ai-steel": "ai-steel";
552
+ }>, z.ZodString]>;
553
+ rank: z.ZodNumber;
554
+ name: z.ZodString;
555
+ description: z.ZodString;
556
+ color_seeds: z.ZodObject<{
557
+ primary: z.ZodString;
558
+ accent: z.ZodString;
559
+ foreground: z.ZodString;
560
+ }, z.core.$strict>;
561
+ surface_mode: z.ZodEnum<{
562
+ light: "light";
563
+ dark: "dark";
564
+ }>;
565
+ radius: z.ZodEnum<{
566
+ none: "none";
567
+ sm: "sm";
568
+ md: "md";
569
+ lg: "lg";
570
+ xl: "xl";
571
+ }>;
572
+ font_pairing_id: z.ZodEnum<{
573
+ "archivo-inter": "archivo-inter";
574
+ "playfair-source-sans": "playfair-source-sans";
575
+ "space-grotesk-manrope": "space-grotesk-manrope";
576
+ "fraunces-libre-franklin": "fraunces-libre-franklin";
577
+ "noto-serif-sc-noto-sans-sc": "noto-serif-sc-noto-sans-sc";
578
+ "noto-sans-sc": "noto-sans-sc";
579
+ }>;
580
+ motion_preset_id: z.ZodEnum<{
581
+ subtle: "subtle";
582
+ moderate: "moderate";
583
+ expressive: "expressive";
584
+ }>;
585
+ density: z.ZodEnum<{
586
+ compact: "compact";
587
+ comfortable: "comfortable";
588
+ airy: "airy";
589
+ }>;
590
+ reason: z.ZodString;
591
+ }, z.core.$strict>>;
592
+ }, z.core.$strict>;
593
+ font: z.ZodObject<{
594
+ recommended_id: z.ZodEnum<{
595
+ "archivo-inter": "archivo-inter";
596
+ "playfair-source-sans": "playfair-source-sans";
597
+ "space-grotesk-manrope": "space-grotesk-manrope";
598
+ "fraunces-libre-franklin": "fraunces-libre-franklin";
599
+ "noto-serif-sc-noto-sans-sc": "noto-serif-sc-noto-sans-sc";
600
+ "noto-sans-sc": "noto-sans-sc";
601
+ }>;
602
+ reason: z.ZodString;
603
+ }, z.core.$strict>;
604
+ motion: z.ZodObject<{
605
+ recommended_id: z.ZodEnum<{
606
+ subtle: "subtle";
607
+ moderate: "moderate";
608
+ expressive: "expressive";
609
+ }>;
610
+ reason: z.ZodString;
611
+ }, z.core.$strict>;
612
+ density: z.ZodObject<{
613
+ recommended_id: z.ZodEnum<{
614
+ compact: "compact";
615
+ comfortable: "comfortable";
616
+ airy: "airy";
617
+ }>;
618
+ reason: z.ZodString;
619
+ }, z.core.$strict>;
620
+ conversion: z.ZodOptional<z.ZodObject<{
621
+ protocol: z.ZodEnum<{
622
+ external: "external";
623
+ phone: "phone";
624
+ form: "form";
625
+ download: "download";
626
+ route: "route";
627
+ }>;
628
+ ctaLabel: z.ZodString;
629
+ ctaTarget: z.ZodOptional<z.ZodString>;
630
+ requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
631
+ }, z.core.$strip>>;
632
+ generated_at: z.ZodString;
633
+ }, z.core.$strict>;
634
+ selection: z.ZodObject<{
635
+ version: z.ZodNumber;
636
+ recommendation_id: z.ZodString;
637
+ theme_preset_id: z.ZodUnion<readonly [z.ZodEnum<{
638
+ ocean: "ocean";
639
+ forest: "forest";
640
+ crimson: "crimson";
641
+ violet: "violet";
642
+ clay: "clay";
643
+ graphite: "graphite";
644
+ }>, z.ZodEnum<{
645
+ "ai-forest": "ai-forest";
646
+ "ai-navy": "ai-navy";
647
+ "ai-steel": "ai-steel";
648
+ }>, z.ZodString]>;
649
+ color_seeds: z.ZodObject<{
650
+ primary: z.ZodString;
651
+ accent: z.ZodString;
652
+ foreground: z.ZodString;
653
+ }, z.core.$strict>;
654
+ surface_mode: z.ZodEnum<{
655
+ light: "light";
656
+ dark: "dark";
657
+ }>;
658
+ font_pairing_id: z.ZodEnum<{
659
+ "archivo-inter": "archivo-inter";
660
+ "playfair-source-sans": "playfair-source-sans";
661
+ "space-grotesk-manrope": "space-grotesk-manrope";
662
+ "fraunces-libre-franklin": "fraunces-libre-franklin";
663
+ "noto-serif-sc-noto-sans-sc": "noto-serif-sc-noto-sans-sc";
664
+ "noto-sans-sc": "noto-sans-sc";
665
+ }>;
666
+ motion_preset_id: z.ZodEnum<{
667
+ subtle: "subtle";
668
+ moderate: "moderate";
669
+ expressive: "expressive";
670
+ }>;
671
+ density: z.ZodEnum<{
672
+ compact: "compact";
673
+ comfortable: "comfortable";
674
+ airy: "airy";
675
+ }>;
676
+ radius: z.ZodOptional<z.ZodEnum<{
677
+ none: "none";
678
+ sm: "sm";
679
+ md: "md";
680
+ lg: "lg";
681
+ xl: "xl";
682
+ }>>;
683
+ aesthetic_note: z.ZodOptional<z.ZodString>;
684
+ updated_at: z.ZodString;
685
+ }, z.core.$strict>;
686
+ }, z.core.$strict>;
687
+ export type Step6DesignRecommendationsResponse = z.infer<typeof Step6DesignRecommendationsResponseSchema>;
688
+ export declare const UpdateStep6DesignSelectionRequestSchema: z.ZodObject<{
689
+ recommendation_id: z.ZodString;
690
+ expected_version: z.ZodNumber;
691
+ theme_preset_id: z.ZodUnion<readonly [z.ZodEnum<{
692
+ ocean: "ocean";
693
+ forest: "forest";
694
+ crimson: "crimson";
695
+ violet: "violet";
696
+ clay: "clay";
697
+ graphite: "graphite";
698
+ }>, z.ZodEnum<{
699
+ "ai-forest": "ai-forest";
700
+ "ai-navy": "ai-navy";
701
+ "ai-steel": "ai-steel";
702
+ }>, z.ZodString]>;
703
+ color_seeds: z.ZodObject<{
704
+ primary: z.ZodString;
705
+ accent: z.ZodString;
706
+ foreground: z.ZodString;
707
+ }, z.core.$strict>;
708
+ surface_mode: z.ZodEnum<{
709
+ light: "light";
710
+ dark: "dark";
711
+ }>;
712
+ font_pairing_id: z.ZodEnum<{
713
+ "archivo-inter": "archivo-inter";
714
+ "playfair-source-sans": "playfair-source-sans";
715
+ "space-grotesk-manrope": "space-grotesk-manrope";
716
+ "fraunces-libre-franklin": "fraunces-libre-franklin";
717
+ "noto-serif-sc-noto-sans-sc": "noto-serif-sc-noto-sans-sc";
718
+ "noto-sans-sc": "noto-sans-sc";
719
+ }>;
720
+ motion_preset_id: z.ZodEnum<{
721
+ subtle: "subtle";
722
+ moderate: "moderate";
723
+ expressive: "expressive";
724
+ }>;
725
+ density: z.ZodEnum<{
726
+ compact: "compact";
727
+ comfortable: "comfortable";
728
+ airy: "airy";
729
+ }>;
730
+ radius: z.ZodOptional<z.ZodEnum<{
731
+ none: "none";
732
+ sm: "sm";
733
+ md: "md";
734
+ lg: "lg";
735
+ xl: "xl";
736
+ }>>;
737
+ aesthetic_note: z.ZodOptional<z.ZodString>;
738
+ }, z.core.$strict>;
739
+ export type UpdateStep6DesignSelectionRequest = z.infer<typeof UpdateStep6DesignSelectionRequestSchema>;
740
+ export declare const UpdateStep6DesignSelectionResponseSchema: z.ZodObject<{
741
+ selection: z.ZodObject<{
742
+ version: z.ZodNumber;
743
+ recommendation_id: z.ZodString;
744
+ theme_preset_id: z.ZodUnion<readonly [z.ZodEnum<{
745
+ ocean: "ocean";
746
+ forest: "forest";
747
+ crimson: "crimson";
748
+ violet: "violet";
749
+ clay: "clay";
750
+ graphite: "graphite";
751
+ }>, z.ZodEnum<{
752
+ "ai-forest": "ai-forest";
753
+ "ai-navy": "ai-navy";
754
+ "ai-steel": "ai-steel";
755
+ }>, z.ZodString]>;
756
+ color_seeds: z.ZodObject<{
757
+ primary: z.ZodString;
758
+ accent: z.ZodString;
759
+ foreground: z.ZodString;
760
+ }, z.core.$strict>;
761
+ surface_mode: z.ZodEnum<{
762
+ light: "light";
763
+ dark: "dark";
764
+ }>;
765
+ font_pairing_id: z.ZodEnum<{
766
+ "archivo-inter": "archivo-inter";
767
+ "playfair-source-sans": "playfair-source-sans";
768
+ "space-grotesk-manrope": "space-grotesk-manrope";
769
+ "fraunces-libre-franklin": "fraunces-libre-franklin";
770
+ "noto-serif-sc-noto-sans-sc": "noto-serif-sc-noto-sans-sc";
771
+ "noto-sans-sc": "noto-sans-sc";
772
+ }>;
773
+ motion_preset_id: z.ZodEnum<{
774
+ subtle: "subtle";
775
+ moderate: "moderate";
776
+ expressive: "expressive";
777
+ }>;
778
+ density: z.ZodEnum<{
779
+ compact: "compact";
780
+ comfortable: "comfortable";
781
+ airy: "airy";
782
+ }>;
783
+ radius: z.ZodOptional<z.ZodEnum<{
784
+ none: "none";
785
+ sm: "sm";
786
+ md: "md";
787
+ lg: "lg";
788
+ xl: "xl";
789
+ }>>;
790
+ aesthetic_note: z.ZodOptional<z.ZodString>;
791
+ updated_at: z.ZodString;
792
+ }, z.core.$strict>;
793
+ }, z.core.$strict>;
794
+ export type UpdateStep6DesignSelectionResponse = z.infer<typeof UpdateStep6DesignSelectionResponseSchema>;
795
+ /** Trusted VCP API → agent input; this is never browser-provided. */
796
+ export declare const Step6DesignRecommendationGenerationInputSchema: z.ZodObject<{
797
+ tenant_id: z.ZodString;
798
+ site_id: z.ZodUUID;
799
+ site_language: z.ZodString;
800
+ owner_locale: z.ZodEnum<{
801
+ id: "id";
802
+ "zh-CN": "zh-CN";
803
+ "zh-HK": "zh-HK";
804
+ "zh-TW": "zh-TW";
805
+ "en-US": "en-US";
806
+ "en-GB": "en-GB";
807
+ "ja-JP": "ja-JP";
808
+ "ko-KR": "ko-KR";
809
+ "es-ES": "es-ES";
810
+ "fr-FR": "fr-FR";
811
+ "de-DE": "de-DE";
812
+ "pt-PT": "pt-PT";
813
+ "ru-RU": "ru-RU";
814
+ "ar-SA": "ar-SA";
815
+ "id-ID": "id-ID";
816
+ "vi-VN": "vi-VN";
817
+ "th-TH": "th-TH";
818
+ "it-IT": "it-IT";
819
+ "nl-NL": "nl-NL";
820
+ "tr-TR": "tr-TR";
821
+ "pl-PL": "pl-PL";
822
+ "uk-UA": "uk-UA";
823
+ "cs-CZ": "cs-CZ";
824
+ "sk-SK": "sk-SK";
825
+ "hu-HU": "hu-HU";
826
+ "ro-RO": "ro-RO";
827
+ "el-GR": "el-GR";
828
+ "sv-SE": "sv-SE";
829
+ "da-DK": "da-DK";
830
+ "fi-FI": "fi-FI";
831
+ "hr-HR": "hr-HR";
832
+ "lt-LT": "lt-LT";
833
+ "lv-LV": "lv-LV";
834
+ "et-EE": "et-EE";
835
+ "ga-IE": "ga-IE";
836
+ "mt-MT": "mt-MT";
837
+ "ka-GE": "ka-GE";
838
+ "fa-IR": "fa-IR";
839
+ "bn-BD": "bn-BD";
840
+ "ta-IN": "ta-IN";
841
+ "si-LK": "si-LK";
842
+ "ms-MY": "ms-MY";
843
+ "fil-PH": "fil-PH";
844
+ "my-MM": "my-MM";
845
+ "km-KH": "km-KH";
846
+ "lo-LA": "lo-LA";
847
+ "mn-MN": "mn-MN";
848
+ "kk-KZ": "kk-KZ";
849
+ en: "en";
850
+ ja: "ja";
851
+ es: "es";
852
+ fr: "fr";
853
+ de: "de";
854
+ ko: "ko";
855
+ pt: "pt";
856
+ "pt-BR": "pt-BR";
857
+ it: "it";
858
+ ru: "ru";
859
+ ar: "ar";
860
+ hi: "hi";
861
+ vi: "vi";
862
+ th: "th";
863
+ tr: "tr";
864
+ nl: "nl";
865
+ pl: "pl";
866
+ uk: "uk";
867
+ sv: "sv";
868
+ da: "da";
869
+ fi: "fi";
870
+ no: "no";
871
+ cs: "cs";
872
+ el: "el";
873
+ hu: "hu";
874
+ ro: "ro";
875
+ he: "he";
876
+ ms: "ms";
877
+ fil: "fil";
878
+ bn: "bn";
879
+ ta: "ta";
880
+ ca: "ca";
881
+ sk: "sk";
882
+ hr: "hr";
883
+ bg: "bg";
884
+ lt: "lt";
885
+ lv: "lv";
886
+ et: "et";
887
+ fa: "fa";
888
+ sw: "sw";
889
+ sr: "sr";
890
+ is: "is";
891
+ }>;
892
+ industry: z.ZodOptional<z.ZodString>;
893
+ strategy_version_id: z.ZodString;
894
+ strategy_version: z.ZodNumber;
895
+ strategy_checksum: z.ZodString;
896
+ strategy_summary: z.ZodArray<z.ZodString>;
897
+ reference_image_source_id: z.ZodOptional<z.ZodUUID>;
898
+ }, z.core.$strict>;
899
+ export type Step6DesignRecommendationGenerationInput = z.infer<typeof Step6DesignRecommendationGenerationInputSchema>;
900
+ /**
901
+ * 模型输出:3 张现场生成的主题卡(顺序即排名,第一张为推荐)+ 可选转化目标。
902
+ * 目录(颜色值、卡 id)由服务端持有/派生,模型不产。
903
+ */
904
+ export declare const Step6DesignRecommendationModelOutputSchema: z.ZodObject<{
905
+ theme_candidates: z.ZodArray<z.ZodObject<{
906
+ name: z.ZodString;
907
+ description: z.ZodString;
908
+ reason: z.ZodString;
909
+ color_seeds: z.ZodObject<{
910
+ primary: z.ZodString;
911
+ accent: z.ZodString;
912
+ foreground: z.ZodString;
913
+ }, z.core.$strict>;
914
+ surface_mode: z.ZodEnum<{
915
+ light: "light";
916
+ dark: "dark";
917
+ }>;
918
+ radius: z.ZodEnum<{
919
+ none: "none";
920
+ sm: "sm";
921
+ md: "md";
922
+ lg: "lg";
923
+ xl: "xl";
924
+ }>;
925
+ font_pairing_id: z.ZodEnum<{
926
+ "archivo-inter": "archivo-inter";
927
+ "playfair-source-sans": "playfair-source-sans";
928
+ "space-grotesk-manrope": "space-grotesk-manrope";
929
+ "fraunces-libre-franklin": "fraunces-libre-franklin";
930
+ "noto-serif-sc-noto-sans-sc": "noto-serif-sc-noto-sans-sc";
931
+ "noto-sans-sc": "noto-sans-sc";
932
+ }>;
933
+ motion_preset_id: z.ZodEnum<{
934
+ subtle: "subtle";
935
+ moderate: "moderate";
936
+ expressive: "expressive";
937
+ }>;
938
+ density: z.ZodEnum<{
939
+ compact: "compact";
940
+ comfortable: "comfortable";
941
+ airy: "airy";
942
+ }>;
943
+ }, z.core.$strict>>;
944
+ conversion: z.ZodOptional<z.ZodObject<{
945
+ protocol: z.ZodEnum<{
946
+ external: "external";
947
+ phone: "phone";
948
+ form: "form";
949
+ download: "download";
950
+ route: "route";
951
+ }>;
952
+ ctaLabel: z.ZodString;
953
+ ctaTarget: z.ZodOptional<z.ZodString>;
954
+ requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
955
+ }, z.core.$strip>>;
956
+ }, z.core.$strict>;
957
+ export type Step6DesignRecommendationModelOutput = z.infer<typeof Step6DesignRecommendationModelOutputSchema>;
958
+ /**
959
+ * deterministic fallback 卡内容:模型生成连续失败时由 API 侧使用,保证
960
+ * 「卡必达」。锚点取自人工调过的 STEP6_AI_THEME_PRESETS,字体/动效/密度取
961
+ * 各白名单的通用默认;id 与 AI 卡同路径按内容派生。
962
+ */
963
+ export declare function buildStep6FallbackThemeCards(): Step6GeneratedThemeCard[];
964
+ /**
965
+ * 用户选择的圆角档位。存量选择没有该字段时按主题带出的默认值回退,
966
+ * 主题也认不出时才落到物化端同款默认,保证老站行为不变。
967
+ */
968
+ export declare function resolveStep6RadiusId(selection: Step6DesignSelection): SiteDesignRadiusId;
969
+ /** Deterministic handoff from persisted selection to Sitemap/DesignPlan. */
970
+ export declare function toStep6GenerationVisualHints(selection: Step6DesignSelection): {
971
+ readonly colorSeeds: {
972
+ primary: string;
973
+ accent: string;
974
+ foreground: string;
975
+ };
976
+ readonly surfaceMode: "light" | "dark";
977
+ readonly fonts: {
978
+ readonly heading: string;
979
+ readonly body: string;
980
+ };
981
+ readonly density: "compact" | "comfortable" | "airy";
982
+ readonly motionLevel: "subtle" | "moderate" | "expressive";
983
+ readonly motionPreset: "subtle" | "moderate" | "expressive";
984
+ readonly radius: "none" | "sm" | "md" | "lg" | "xl";
985
+ };
986
+ export declare function defaultStep6Selection(recommendation: Step6DesignRecommendation, now: Date): Step6DesignSelection;