@vcp-dev/contracts 0.6.11 → 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 (70) hide show
  1. package/README.md +5 -4
  2. package/dist/business-facts.d.ts +23 -0
  3. package/dist/cms-page-directory.d.ts +40 -4
  4. package/dist/colorway-distinctness.js +1 -1
  5. package/dist/connect-dynamic-collection.d.ts +6 -6
  6. package/dist/connect-form.d.ts +6 -6
  7. package/dist/conversion-hints.d.ts +37 -0
  8. package/dist/crawler-task-service.d.ts +244 -2
  9. package/dist/custom-domain.d.ts +119 -239
  10. package/dist/customer-materials.d.ts +5 -5
  11. package/dist/deployment-lifecycle.d.ts +45 -0
  12. package/dist/design-tokens.d.ts +1 -0
  13. package/dist/design-tokens.js +1 -1
  14. package/dist/e2b-preview-proxy.d.ts +5 -0
  15. package/dist/external-site-edit.d.ts +9 -0
  16. package/dist/firecrawl-internal.d.ts +19 -0
  17. package/dist/font-catalog.d.ts +5 -2
  18. package/dist/form-design.d.ts +54 -12
  19. package/dist/google-search-console.d.ts +1 -0
  20. package/dist/index.d.ts +3095 -818
  21. package/dist/index.js +1 -1
  22. package/dist/industry-classification.d.ts +43 -0
  23. package/dist/input-context-bundle.d.ts +10 -0
  24. package/dist/internal-entity-id.d.ts +1 -0
  25. package/dist/knowledge-category.d.ts +20 -0
  26. package/dist/knowledge-source-readiness.d.ts +94 -0
  27. package/dist/launcher-prompt-templates.d.ts +117 -14
  28. package/dist/migration-products.d.ts +45 -0
  29. package/dist/page-slug.d.ts +2 -0
  30. package/dist/page-template.d.ts +95 -0
  31. package/dist/site-build.d.ts +563 -0
  32. package/dist/site-design-presets.d.ts +20 -0
  33. package/dist/site-edit-capability.d.ts +13 -1
  34. package/dist/site-edit-class-name-source.d.ts +40 -8
  35. package/dist/site-edit-command-result.d.ts +15 -4
  36. package/dist/site-edit-composition.d.ts +13 -0
  37. package/dist/site-edit-event.d.ts +68 -14
  38. package/dist/site-edit-history-status.d.ts +193 -0
  39. package/dist/site-edit-operation.d.ts +152 -51
  40. package/dist/site-edit-page-composition.d.ts +101 -22
  41. package/dist/site-edit-patch-plan.d.ts +49 -3
  42. package/dist/site-edit-render-document.d.ts +54 -8
  43. package/dist/site-edit-session.d.ts +5 -2
  44. package/dist/site-edit-source.d.ts +60 -11
  45. package/dist/site-edit-version.d.ts +1 -1
  46. package/dist/site-extra-requirement.d.ts +31 -0
  47. package/dist/site-locale.d.ts +20 -0
  48. package/dist/site-localization-fields.d.ts +196 -0
  49. package/dist/site-localization-scope.d.ts +95 -0
  50. package/dist/site-preview.d.ts +15 -0
  51. package/dist/site-publish-domain.d.ts +680 -0
  52. package/dist/site-publish-workflow.d.ts +612 -0
  53. package/dist/site-workflow-completions.d.ts +163 -0
  54. package/dist/site-workflow.d.ts +231 -211
  55. package/dist/sitemap-navigation.d.ts +4 -1
  56. package/dist/step2-page-selection.d.ts +88 -0
  57. package/dist/step2-site-initialization.d.ts +321 -30
  58. package/dist/step3-digital-employee-analysis.d.ts +177 -211
  59. package/dist/step4-diagnosis.d.ts +72 -4
  60. package/dist/step5-strategy.d.ts +5549 -170
  61. package/dist/step6-design.d.ts +778 -464
  62. package/dist/subsite-localization-input.d.ts +121 -0
  63. package/dist/subsite-mount-path.d.ts +23 -0
  64. package/dist/subsite-visible-text-export.d.ts +22 -0
  65. package/dist/template-upgrade-observability.d.ts +2 -2
  66. package/dist/theme-presets.d.ts +56 -1
  67. package/dist/workspace-design-apply.d.ts +5 -0
  68. package/dist/workspace-resource-operation.d.ts +58 -24
  69. package/package.json +1 -1
  70. package/dist/publish-quality.d.ts +0 -92
@@ -1,243 +1,168 @@
1
1
  import { z } from "zod";
2
- export declare const STEP6_THEME_IDS: readonly ["forest", "navy", "steel", "webblue", "webgreen", "webviolet"];
3
- export declare const STEP6_AI_THEME_IDS: readonly ["forest", "navy", "steel"];
4
- export declare const STEP6_STANDARD_THEME_IDS: readonly ["webblue", "webgreen", "webviolet"];
5
- export declare const Step6ThemeIdSchema: z.ZodEnum<{
6
- navy: "navy";
7
- forest: "forest";
8
- steel: "steel";
9
- webblue: "webblue";
10
- webgreen: "webgreen";
11
- webviolet: "webviolet";
12
- }>;
13
- export type Step6ThemeId = z.infer<typeof Step6ThemeIdSchema>;
14
- export declare const Step6AiThemeIdSchema: z.ZodEnum<{
15
- navy: "navy";
16
- forest: "forest";
17
- steel: "steel";
18
- }>;
19
- export type Step6AiThemeId = z.infer<typeof Step6AiThemeIdSchema>;
20
- export declare const Step6StandardThemeIdSchema: z.ZodEnum<{
21
- webblue: "webblue";
22
- webgreen: "webgreen";
23
- webviolet: "webviolet";
24
- }>;
25
- export type Step6StandardThemeId = z.infer<typeof Step6StandardThemeIdSchema>;
26
- export declare const Step6ThemeColorsSchema: z.ZodObject<{
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<{
27
9
  primary: z.ZodString;
28
10
  accent: z.ZodString;
29
- ink: z.ZodString;
11
+ foreground: z.ZodString;
30
12
  }, z.core.$strict>;
31
- export type Step6ThemeColors = z.infer<typeof Step6ThemeColorsSchema>;
32
- export type Step6ThemeCatalogEntry = {
33
- id: Step6ThemeId;
34
- name: string;
35
- description: string;
36
- colors: Step6ThemeColors;
37
- };
38
- export declare const STEP6_THEME_CATALOG: readonly Step6ThemeCatalogEntry[];
39
- export declare function getStep6Theme(themeId: Step6ThemeId): Step6ThemeCatalogEntry;
40
- export declare const STEP6_FONT_IDS: readonly ["system", "inter", "grotesk", "serif", "plex", "glow"];
41
- export declare const Step6FontIdSchema: z.ZodEnum<{
42
- serif: "serif";
43
- system: "system";
44
- inter: "inter";
45
- grotesk: "grotesk";
46
- plex: "plex";
47
- glow: "glow";
48
- }>;
49
- export type Step6FontId = z.infer<typeof Step6FontIdSchema>;
50
- export declare const STEP6_ANIMATION_IDS: readonly ["pro", "fade", "para", "slide", "none"];
51
- export declare const Step6AnimationIdSchema: z.ZodEnum<{
52
- none: "none";
53
- pro: "pro";
54
- fade: "fade";
55
- para: "para";
56
- slide: "slide";
57
- }>;
58
- export type Step6AnimationId = z.infer<typeof Step6AnimationIdSchema>;
59
- export declare const STEP6_DENSITY_IDS: readonly ["std", "compact", "airy", "magazine"];
60
- export declare const Step6DensityIdSchema: z.ZodEnum<{
61
- std: "std";
62
- compact: "compact";
63
- airy: "airy";
64
- magazine: "magazine";
65
- }>;
66
- export type Step6DensityId = z.infer<typeof Step6DensityIdSchema>;
67
- export declare const Step6ThemeCandidateSchema: z.ZodObject<{
68
- id: z.ZodEnum<{
69
- navy: "navy";
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";
70
21
  forest: "forest";
71
- steel: "steel";
72
- webblue: "webblue";
73
- webgreen: "webgreen";
74
- webviolet: "webviolet";
75
- }>;
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]>;
76
31
  rank: z.ZodNumber;
77
32
  name: z.ZodString;
78
33
  description: z.ZodString;
79
- colors: z.ZodObject<{
34
+ color_seeds: z.ZodObject<{
80
35
  primary: z.ZodString;
81
36
  accent: z.ZodString;
82
- ink: z.ZodString;
37
+ foreground: z.ZodString;
83
38
  }, z.core.$strict>;
84
- reason: z.ZodOptional<z.ZodString>;
85
- }, z.core.$strict>;
86
- export type Step6ThemeCandidate = z.infer<typeof Step6ThemeCandidateSchema>;
87
- export declare const Step6ThemeRecommendationSchema: z.ZodObject<{
88
- primary_id: z.ZodEnum<{
89
- navy: "navy";
90
- forest: "forest";
91
- steel: "steel";
39
+ surface_mode: z.ZodEnum<{
40
+ light: "light";
41
+ dark: "dark";
92
42
  }>;
93
- ai_candidate_ids: z.ZodTuple<[z.ZodEnum<{
94
- navy: "navy";
95
- forest: "forest";
96
- steel: "steel";
97
- }>, z.ZodEnum<{
98
- navy: "navy";
99
- forest: "forest";
100
- steel: "steel";
101
- }>, z.ZodEnum<{
102
- navy: "navy";
103
- forest: "forest";
104
- steel: "steel";
105
- }>], null>;
106
- standard_candidate_ids: z.ZodTuple<[z.ZodLiteral<"webblue">, z.ZodLiteral<"webgreen">, z.ZodLiteral<"webviolet">], null>;
107
- candidates: z.ZodArray<z.ZodObject<{
108
- id: z.ZodEnum<{
109
- navy: "navy";
110
- forest: "forest";
111
- steel: "steel";
112
- webblue: "webblue";
113
- webgreen: "webgreen";
114
- webviolet: "webviolet";
115
- }>;
116
- rank: z.ZodNumber;
117
- name: z.ZodString;
118
- description: z.ZodString;
119
- colors: z.ZodObject<{
120
- primary: z.ZodString;
121
- accent: z.ZodString;
122
- ink: z.ZodString;
123
- }, z.core.$strict>;
124
- reason: z.ZodOptional<z.ZodString>;
125
- }, z.core.$strict>>;
126
- font: z.ZodObject<{
127
- recommended_id: z.ZodEnum<{
128
- serif: "serif";
129
- system: "system";
130
- inter: "inter";
131
- grotesk: "grotesk";
132
- plex: "plex";
133
- glow: "glow";
134
- }>;
135
- reason: z.ZodString;
136
- }, z.core.$strict>;
137
- }, z.core.$strict>;
138
- export type Step6ThemeRecommendation = z.infer<typeof Step6ThemeRecommendationSchema>;
139
- export declare const Step6AnimationOptionSchema: z.ZodObject<{
140
- id: z.ZodEnum<{
43
+ radius: z.ZodEnum<{
141
44
  none: "none";
142
- pro: "pro";
143
- fade: "fade";
144
- para: "para";
145
- slide: "slide";
45
+ sm: "sm";
46
+ md: "md";
47
+ lg: "lg";
48
+ xl: "xl";
146
49
  }>;
147
- name: z.ZodString;
148
- description: z.ZodString;
149
- }, z.core.$strict>;
150
- export declare const Step6DensityOptionSchema: z.ZodObject<{
151
- id: z.ZodEnum<{
152
- std: "std";
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<{
153
64
  compact: "compact";
65
+ comfortable: "comfortable";
154
66
  airy: "airy";
155
- magazine: "magazine";
156
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<{
157
77
  name: z.ZodString;
158
78
  description: z.ZodString;
159
- }, z.core.$strict>;
160
- export declare const Step6AnimationRecommendationSchema: z.ZodObject<{
161
- recommended_id: z.ZodEnum<{
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<{
162
90
  none: "none";
163
- pro: "pro";
164
- fade: "fade";
165
- para: "para";
166
- slide: "slide";
91
+ sm: "sm";
92
+ md: "md";
93
+ lg: "lg";
94
+ xl: "xl";
167
95
  }>;
168
- options: z.ZodArray<z.ZodObject<{
169
- id: z.ZodEnum<{
170
- none: "none";
171
- pro: "pro";
172
- fade: "fade";
173
- para: "para";
174
- slide: "slide";
175
- }>;
176
- name: z.ZodString;
177
- description: z.ZodString;
178
- }, z.core.$strict>>;
179
- reason: z.ZodString;
180
- }, z.core.$strict>;
181
- export type Step6AnimationRecommendation = z.infer<typeof Step6AnimationRecommendationSchema>;
182
- export declare const Step6DensityRecommendationSchema: z.ZodObject<{
183
- recommended_id: z.ZodEnum<{
184
- std: "std";
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<{
185
110
  compact: "compact";
111
+ comfortable: "comfortable";
186
112
  airy: "airy";
187
- magazine: "magazine";
188
113
  }>;
189
- options: z.ZodArray<z.ZodObject<{
190
- id: z.ZodEnum<{
191
- std: "std";
192
- compact: "compact";
193
- airy: "airy";
194
- magazine: "magazine";
195
- }>;
196
- name: z.ZodString;
197
- description: z.ZodString;
198
- }, z.core.$strict>>;
199
- reason: z.ZodString;
200
114
  }, z.core.$strict>;
201
- export type Step6DensityRecommendation = z.infer<typeof Step6DensityRecommendationSchema>;
115
+ export type Step6GeneratedThemeCard = z.infer<typeof Step6GeneratedThemeCardSchema>;
202
116
  export declare const Step6DesignSelectionSchema: z.ZodObject<{
203
117
  version: z.ZodNumber;
204
118
  recommendation_id: z.ZodString;
205
- theme_id: z.ZodEnum<{
206
- navy: "navy";
119
+ theme_preset_id: z.ZodUnion<readonly [z.ZodEnum<{
120
+ ocean: "ocean";
207
121
  forest: "forest";
208
- steel: "steel";
209
- webblue: "webblue";
210
- webgreen: "webgreen";
211
- webviolet: "webviolet";
212
- }>;
213
- colors: z.ZodObject<{
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<{
214
132
  primary: z.ZodString;
215
133
  accent: z.ZodString;
216
- ink: z.ZodString;
134
+ foreground: z.ZodString;
217
135
  }, z.core.$strict>;
218
- colors_custom: z.ZodBoolean;
219
- font_id: z.ZodEnum<{
220
- serif: "serif";
221
- system: "system";
222
- inter: "inter";
223
- grotesk: "grotesk";
224
- plex: "plex";
225
- glow: "glow";
136
+ surface_mode: z.ZodEnum<{
137
+ light: "light";
138
+ dark: "dark";
226
139
  }>;
227
- font_changed: z.ZodBoolean;
228
- animation_id: z.ZodEnum<{
229
- none: "none";
230
- pro: "pro";
231
- fade: "fade";
232
- para: "para";
233
- slide: "slide";
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";
234
152
  }>;
235
- density_id: z.ZodEnum<{
236
- std: "std";
153
+ density: z.ZodEnum<{
237
154
  compact: "compact";
155
+ comfortable: "comfortable";
238
156
  airy: "airy";
239
- magazine: "magazine";
240
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>;
241
166
  updated_at: z.ZodString;
242
167
  }, z.core.$strict>;
243
168
  export type Step6DesignSelection = z.infer<typeof Step6DesignSelectionSchema>;
@@ -255,100 +180,218 @@ export declare const Step6DesignRecommendationSchema: z.ZodObject<{
255
180
  inputs: z.ZodObject<{
256
181
  industry: z.ZodOptional<z.ZodString>;
257
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
+ }>>;
258
275
  strategy_version: z.ZodNumber;
259
276
  input_digest: z.ZodString;
260
277
  }, z.core.$strict>;
261
278
  theme: z.ZodObject<{
262
- primary_id: z.ZodEnum<{
263
- navy: "navy";
264
- forest: "forest";
265
- steel: "steel";
266
- }>;
267
- ai_candidate_ids: z.ZodTuple<[z.ZodEnum<{
268
- navy: "navy";
279
+ recommended_id: z.ZodUnion<readonly [z.ZodEnum<{
280
+ ocean: "ocean";
269
281
  forest: "forest";
270
- steel: "steel";
282
+ crimson: "crimson";
283
+ violet: "violet";
284
+ clay: "clay";
285
+ graphite: "graphite";
271
286
  }>, z.ZodEnum<{
272
- navy: "navy";
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";
273
293
  forest: "forest";
274
- steel: "steel";
294
+ crimson: "crimson";
295
+ violet: "violet";
296
+ clay: "clay";
297
+ graphite: "graphite";
275
298
  }>, z.ZodEnum<{
276
- navy: "navy";
277
- forest: "forest";
278
- steel: "steel";
279
- }>], null>;
280
- standard_candidate_ids: z.ZodTuple<[z.ZodLiteral<"webblue">, z.ZodLiteral<"webgreen">, z.ZodLiteral<"webviolet">], null>;
299
+ "ai-forest": "ai-forest";
300
+ "ai-navy": "ai-navy";
301
+ "ai-steel": "ai-steel";
302
+ }>, z.ZodString]>>;
281
303
  candidates: z.ZodArray<z.ZodObject<{
282
- id: z.ZodEnum<{
283
- navy: "navy";
304
+ id: z.ZodUnion<readonly [z.ZodEnum<{
305
+ ocean: "ocean";
284
306
  forest: "forest";
285
- steel: "steel";
286
- webblue: "webblue";
287
- webgreen: "webgreen";
288
- webviolet: "webviolet";
289
- }>;
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]>;
290
316
  rank: z.ZodNumber;
291
317
  name: z.ZodString;
292
318
  description: z.ZodString;
293
- colors: z.ZodObject<{
319
+ color_seeds: z.ZodObject<{
294
320
  primary: z.ZodString;
295
321
  accent: z.ZodString;
296
- ink: z.ZodString;
322
+ foreground: z.ZodString;
297
323
  }, z.core.$strict>;
298
- reason: z.ZodOptional<z.ZodString>;
299
- }, z.core.$strict>>;
300
- font: z.ZodObject<{
301
- recommended_id: z.ZodEnum<{
302
- serif: "serif";
303
- system: "system";
304
- inter: "inter";
305
- grotesk: "grotesk";
306
- plex: "plex";
307
- glow: "glow";
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";
308
352
  }>;
309
353
  reason: z.ZodString;
310
- }, z.core.$strict>;
354
+ }, z.core.$strict>>;
311
355
  }, z.core.$strict>;
312
- animation: z.ZodObject<{
356
+ font: z.ZodObject<{
313
357
  recommended_id: z.ZodEnum<{
314
- none: "none";
315
- pro: "pro";
316
- fade: "fade";
317
- para: "para";
318
- slide: "slide";
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";
319
372
  }>;
320
- options: z.ZodArray<z.ZodObject<{
321
- id: z.ZodEnum<{
322
- none: "none";
323
- pro: "pro";
324
- fade: "fade";
325
- para: "para";
326
- slide: "slide";
327
- }>;
328
- name: z.ZodString;
329
- description: z.ZodString;
330
- }, z.core.$strict>>;
331
373
  reason: z.ZodString;
332
374
  }, z.core.$strict>;
333
375
  density: z.ZodObject<{
334
376
  recommended_id: z.ZodEnum<{
335
- std: "std";
336
377
  compact: "compact";
378
+ comfortable: "comfortable";
337
379
  airy: "airy";
338
- magazine: "magazine";
339
380
  }>;
340
- options: z.ZodArray<z.ZodObject<{
341
- id: z.ZodEnum<{
342
- std: "std";
343
- compact: "compact";
344
- airy: "airy";
345
- magazine: "magazine";
346
- }>;
347
- name: z.ZodString;
348
- description: z.ZodString;
349
- }, z.core.$strict>>;
350
381
  reason: z.ZodString;
351
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>>;
352
395
  generated_at: z.ZodString;
353
396
  }, z.core.$strict>;
354
397
  export type Step6DesignRecommendation = z.infer<typeof Step6DesignRecommendationSchema>;
@@ -374,141 +417,270 @@ export declare const Step6DesignRecommendationsResponseSchema: z.ZodObject<{
374
417
  inputs: z.ZodObject<{
375
418
  industry: z.ZodOptional<z.ZodString>;
376
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
+ }>>;
377
512
  strategy_version: z.ZodNumber;
378
513
  input_digest: z.ZodString;
379
514
  }, z.core.$strict>;
380
515
  theme: z.ZodObject<{
381
- primary_id: z.ZodEnum<{
382
- navy: "navy";
516
+ recommended_id: z.ZodUnion<readonly [z.ZodEnum<{
517
+ ocean: "ocean";
383
518
  forest: "forest";
384
- steel: "steel";
385
- }>;
386
- ai_candidate_ids: z.ZodTuple<[z.ZodEnum<{
387
- navy: "navy";
388
- forest: "forest";
389
- steel: "steel";
519
+ crimson: "crimson";
520
+ violet: "violet";
521
+ clay: "clay";
522
+ graphite: "graphite";
390
523
  }>, z.ZodEnum<{
391
- navy: "navy";
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";
392
530
  forest: "forest";
393
- steel: "steel";
531
+ crimson: "crimson";
532
+ violet: "violet";
533
+ clay: "clay";
534
+ graphite: "graphite";
394
535
  }>, z.ZodEnum<{
395
- navy: "navy";
396
- forest: "forest";
397
- steel: "steel";
398
- }>], null>;
399
- standard_candidate_ids: z.ZodTuple<[z.ZodLiteral<"webblue">, z.ZodLiteral<"webgreen">, z.ZodLiteral<"webviolet">], null>;
536
+ "ai-forest": "ai-forest";
537
+ "ai-navy": "ai-navy";
538
+ "ai-steel": "ai-steel";
539
+ }>, z.ZodString]>>;
400
540
  candidates: z.ZodArray<z.ZodObject<{
401
- id: z.ZodEnum<{
402
- navy: "navy";
541
+ id: z.ZodUnion<readonly [z.ZodEnum<{
542
+ ocean: "ocean";
403
543
  forest: "forest";
404
- steel: "steel";
405
- webblue: "webblue";
406
- webgreen: "webgreen";
407
- webviolet: "webviolet";
408
- }>;
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]>;
409
553
  rank: z.ZodNumber;
410
554
  name: z.ZodString;
411
555
  description: z.ZodString;
412
- colors: z.ZodObject<{
556
+ color_seeds: z.ZodObject<{
413
557
  primary: z.ZodString;
414
558
  accent: z.ZodString;
415
- ink: z.ZodString;
559
+ foreground: z.ZodString;
416
560
  }, z.core.$strict>;
417
- reason: z.ZodOptional<z.ZodString>;
418
- }, z.core.$strict>>;
419
- font: z.ZodObject<{
420
- recommended_id: z.ZodEnum<{
421
- serif: "serif";
422
- system: "system";
423
- inter: "inter";
424
- grotesk: "grotesk";
425
- plex: "plex";
426
- glow: "glow";
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";
427
589
  }>;
428
590
  reason: z.ZodString;
429
- }, z.core.$strict>;
591
+ }, z.core.$strict>>;
430
592
  }, z.core.$strict>;
431
- animation: z.ZodObject<{
593
+ font: z.ZodObject<{
432
594
  recommended_id: z.ZodEnum<{
433
- none: "none";
434
- pro: "pro";
435
- fade: "fade";
436
- para: "para";
437
- slide: "slide";
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";
438
609
  }>;
439
- options: z.ZodArray<z.ZodObject<{
440
- id: z.ZodEnum<{
441
- none: "none";
442
- pro: "pro";
443
- fade: "fade";
444
- para: "para";
445
- slide: "slide";
446
- }>;
447
- name: z.ZodString;
448
- description: z.ZodString;
449
- }, z.core.$strict>>;
450
610
  reason: z.ZodString;
451
611
  }, z.core.$strict>;
452
612
  density: z.ZodObject<{
453
613
  recommended_id: z.ZodEnum<{
454
- std: "std";
455
614
  compact: "compact";
615
+ comfortable: "comfortable";
456
616
  airy: "airy";
457
- magazine: "magazine";
458
617
  }>;
459
- options: z.ZodArray<z.ZodObject<{
460
- id: z.ZodEnum<{
461
- std: "std";
462
- compact: "compact";
463
- airy: "airy";
464
- magazine: "magazine";
465
- }>;
466
- name: z.ZodString;
467
- description: z.ZodString;
468
- }, z.core.$strict>>;
469
618
  reason: z.ZodString;
470
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>>;
471
632
  generated_at: z.ZodString;
472
633
  }, z.core.$strict>;
473
634
  selection: z.ZodObject<{
474
635
  version: z.ZodNumber;
475
636
  recommendation_id: z.ZodString;
476
- theme_id: z.ZodEnum<{
477
- navy: "navy";
637
+ theme_preset_id: z.ZodUnion<readonly [z.ZodEnum<{
638
+ ocean: "ocean";
478
639
  forest: "forest";
479
- steel: "steel";
480
- webblue: "webblue";
481
- webgreen: "webgreen";
482
- webviolet: "webviolet";
483
- }>;
484
- colors: z.ZodObject<{
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<{
485
650
  primary: z.ZodString;
486
651
  accent: z.ZodString;
487
- ink: z.ZodString;
652
+ foreground: z.ZodString;
488
653
  }, z.core.$strict>;
489
- colors_custom: z.ZodBoolean;
490
- font_id: z.ZodEnum<{
491
- serif: "serif";
492
- system: "system";
493
- inter: "inter";
494
- grotesk: "grotesk";
495
- plex: "plex";
496
- glow: "glow";
654
+ surface_mode: z.ZodEnum<{
655
+ light: "light";
656
+ dark: "dark";
497
657
  }>;
498
- font_changed: z.ZodBoolean;
499
- animation_id: z.ZodEnum<{
500
- none: "none";
501
- pro: "pro";
502
- fade: "fade";
503
- para: "para";
504
- slide: "slide";
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";
505
670
  }>;
506
- density_id: z.ZodEnum<{
507
- std: "std";
671
+ density: z.ZodEnum<{
508
672
  compact: "compact";
673
+ comfortable: "comfortable";
509
674
  airy: "airy";
510
- magazine: "magazine";
511
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>;
512
684
  updated_at: z.ZodString;
513
685
  }, z.core.$strict>;
514
686
  }, z.core.$strict>;
@@ -516,82 +688,106 @@ export type Step6DesignRecommendationsResponse = z.infer<typeof Step6DesignRecom
516
688
  export declare const UpdateStep6DesignSelectionRequestSchema: z.ZodObject<{
517
689
  recommendation_id: z.ZodString;
518
690
  expected_version: z.ZodNumber;
519
- theme_id: z.ZodEnum<{
520
- navy: "navy";
691
+ theme_preset_id: z.ZodUnion<readonly [z.ZodEnum<{
692
+ ocean: "ocean";
521
693
  forest: "forest";
522
- steel: "steel";
523
- webblue: "webblue";
524
- webgreen: "webgreen";
525
- webviolet: "webviolet";
526
- }>;
527
- colors: z.ZodObject<{
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<{
528
704
  primary: z.ZodString;
529
705
  accent: z.ZodString;
530
- ink: z.ZodString;
706
+ foreground: z.ZodString;
531
707
  }, z.core.$strict>;
532
- font_id: z.ZodEnum<{
533
- serif: "serif";
534
- system: "system";
535
- inter: "inter";
536
- grotesk: "grotesk";
537
- plex: "plex";
538
- glow: "glow";
708
+ surface_mode: z.ZodEnum<{
709
+ light: "light";
710
+ dark: "dark";
539
711
  }>;
540
- animation_id: z.ZodEnum<{
541
- none: "none";
542
- pro: "pro";
543
- fade: "fade";
544
- para: "para";
545
- slide: "slide";
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";
546
719
  }>;
547
- density_id: z.ZodEnum<{
548
- std: "std";
720
+ motion_preset_id: z.ZodEnum<{
721
+ subtle: "subtle";
722
+ moderate: "moderate";
723
+ expressive: "expressive";
724
+ }>;
725
+ density: z.ZodEnum<{
549
726
  compact: "compact";
727
+ comfortable: "comfortable";
550
728
  airy: "airy";
551
- magazine: "magazine";
552
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>;
553
738
  }, z.core.$strict>;
554
739
  export type UpdateStep6DesignSelectionRequest = z.infer<typeof UpdateStep6DesignSelectionRequestSchema>;
555
740
  export declare const UpdateStep6DesignSelectionResponseSchema: z.ZodObject<{
556
741
  selection: z.ZodObject<{
557
742
  version: z.ZodNumber;
558
743
  recommendation_id: z.ZodString;
559
- theme_id: z.ZodEnum<{
560
- navy: "navy";
744
+ theme_preset_id: z.ZodUnion<readonly [z.ZodEnum<{
745
+ ocean: "ocean";
561
746
  forest: "forest";
562
- steel: "steel";
563
- webblue: "webblue";
564
- webgreen: "webgreen";
565
- webviolet: "webviolet";
566
- }>;
567
- colors: z.ZodObject<{
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<{
568
757
  primary: z.ZodString;
569
758
  accent: z.ZodString;
570
- ink: z.ZodString;
759
+ foreground: z.ZodString;
571
760
  }, z.core.$strict>;
572
- colors_custom: z.ZodBoolean;
573
- font_id: z.ZodEnum<{
574
- serif: "serif";
575
- system: "system";
576
- inter: "inter";
577
- grotesk: "grotesk";
578
- plex: "plex";
579
- glow: "glow";
761
+ surface_mode: z.ZodEnum<{
762
+ light: "light";
763
+ dark: "dark";
580
764
  }>;
581
- font_changed: z.ZodBoolean;
582
- animation_id: z.ZodEnum<{
583
- none: "none";
584
- pro: "pro";
585
- fade: "fade";
586
- para: "para";
587
- slide: "slide";
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";
588
772
  }>;
589
- density_id: z.ZodEnum<{
590
- std: "std";
773
+ motion_preset_id: z.ZodEnum<{
774
+ subtle: "subtle";
775
+ moderate: "moderate";
776
+ expressive: "expressive";
777
+ }>;
778
+ density: z.ZodEnum<{
591
779
  compact: "compact";
780
+ comfortable: "comfortable";
592
781
  airy: "airy";
593
- magazine: "magazine";
594
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>;
595
791
  updated_at: z.ZodString;
596
792
  }, z.core.$strict>;
597
793
  }, z.core.$strict>;
@@ -601,72 +797,190 @@ export declare const Step6DesignRecommendationGenerationInputSchema: z.ZodObject
601
797
  tenant_id: z.ZodString;
602
798
  site_id: z.ZodUUID;
603
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
+ }>;
604
892
  industry: z.ZodOptional<z.ZodString>;
605
893
  strategy_version_id: z.ZodString;
606
894
  strategy_version: z.ZodNumber;
607
895
  strategy_checksum: z.ZodString;
608
896
  strategy_summary: z.ZodArray<z.ZodString>;
897
+ reference_image_source_id: z.ZodOptional<z.ZodUUID>;
609
898
  }, z.core.$strict>;
610
899
  export type Step6DesignRecommendationGenerationInput = z.infer<typeof Step6DesignRecommendationGenerationInputSchema>;
611
- /** Model output uses IDs/reasons only; catalog names and color values stay server-owned. */
900
+ /**
901
+ * 模型输出:3 张现场生成的主题卡(顺序即排名,第一张为推荐)+ 可选转化目标。
902
+ * 目录(颜色值、卡 id)由服务端持有/派生,模型不产。
903
+ */
612
904
  export declare const Step6DesignRecommendationModelOutputSchema: z.ZodObject<{
613
- theme_candidate_ids: z.ZodTuple<[z.ZodEnum<{
614
- navy: "navy";
615
- forest: "forest";
616
- steel: "steel";
617
- }>, z.ZodEnum<{
618
- navy: "navy";
619
- forest: "forest";
620
- steel: "steel";
621
- }>, z.ZodEnum<{
622
- navy: "navy";
623
- forest: "forest";
624
- steel: "steel";
625
- }>], null>;
626
- theme_reasons: z.ZodObject<{
627
- forest: z.ZodOptional<z.ZodString>;
628
- navy: z.ZodOptional<z.ZodString>;
629
- steel: z.ZodOptional<z.ZodString>;
630
- }, z.core.$strict>;
631
- font_id: z.ZodEnum<{
632
- serif: "serif";
633
- system: "system";
634
- inter: "inter";
635
- grotesk: "grotesk";
636
- plex: "plex";
637
- glow: "glow";
638
- }>;
639
- font_reason: z.ZodString;
640
- animation_id: z.ZodEnum<{
641
- none: "none";
642
- pro: "pro";
643
- fade: "fade";
644
- para: "para";
645
- slide: "slide";
646
- }>;
647
- animation_reason: z.ZodString;
648
- density_id: z.ZodEnum<{
649
- std: "std";
650
- compact: "compact";
651
- airy: "airy";
652
- magazine: "magazine";
653
- }>;
654
- density_reason: z.ZodString;
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>>;
655
956
  }, z.core.$strict>;
656
957
  export type Step6DesignRecommendationModelOutput = z.infer<typeof Step6DesignRecommendationModelOutputSchema>;
657
- export type Step6GenerationVisualHints = {
658
- colorSeeds: {
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: {
659
972
  primary: string;
660
973
  accent: string;
661
- neutral: string;
974
+ foreground: string;
662
975
  };
663
- fonts: {
664
- heading: string;
665
- body: string;
976
+ readonly surfaceMode: "light" | "dark";
977
+ readonly fonts: {
978
+ readonly heading: string;
979
+ readonly body: string;
666
980
  };
667
- density: "compact" | "comfortable" | "airy" | "editorial";
668
- motionLevel: "none" | "subtle" | "moderate" | "expressive";
669
- motionPreset: Step6AnimationId;
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";
670
985
  };
671
- /** Deterministic handoff used by the API when it materializes a persisted selection for Workspace. */
672
- export declare function toStep6GenerationVisualHints(selection: Pick<Step6DesignSelection, "colors" | "font_id" | "animation_id" | "density_id">): Step6GenerationVisualHints;
986
+ export declare function defaultStep6Selection(recommendation: Step6DesignRecommendation, now: Date): Step6DesignSelection;