@vcp-dev/contracts 0.6.9 → 0.6.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api-response.d.ts +11 -0
- package/dist/cms-collection-binding.d.ts +2 -2
- package/dist/cms-page-directory.d.ts +245 -0
- package/dist/cms-site-id.d.ts +4 -0
- package/dist/connect-dynamic-collection.d.ts +13 -9
- package/dist/connect-form.d.ts +5 -3
- package/dist/crawler-task-service.d.ts +352 -0
- package/dist/custom-domain.d.ts +36 -2
- package/dist/customer-materials.d.ts +196 -0
- package/dist/deployment-progress.d.ts +51 -0
- package/dist/designer-component-library.d.ts +9 -7
- package/dist/designer-page-library.d.ts +36 -40
- package/dist/external-site-edit.d.ts +258 -0
- package/dist/firecrawl-internal.d.ts +103 -0
- package/dist/form-design.d.ts +106 -108
- package/dist/google-search-console.d.ts +316 -0
- package/dist/index.d.ts +5493 -1916
- package/dist/index.js +1 -1
- package/dist/input-context-bundle.d.ts +15 -15
- package/dist/internal-entity-id.d.ts +37 -0
- package/dist/launcher-prompt-templates.d.ts +639 -0
- package/dist/media-library.d.ts +164 -0
- package/dist/product-search.d.ts +227 -0
- package/dist/publish-quality.d.ts +92 -0
- package/dist/site-edit-capability.d.ts +6 -6
- package/dist/site-edit-event.d.ts +15 -7
- package/dist/site-edit-operation.d.ts +57 -15
- package/dist/site-edit-patch-plan.d.ts +2 -2
- package/dist/site-edit-render-document.d.ts +27 -23
- package/dist/site-edit-version.d.ts +1 -1
- package/dist/site-preview.d.ts +50 -0
- package/dist/site-workflow.d.ts +1006 -0
- package/dist/sitemap-navigation.d.ts +9 -0
- package/dist/step2-site-initialization.d.ts +209 -0
- package/dist/step3-digital-employee-analysis.d.ts +695 -0
- package/dist/step4-diagnosis.d.ts +204 -0
- package/dist/step5-strategy.d.ts +2697 -0
- package/dist/step6-design.d.ts +672 -0
- package/dist/template-upgrade-observability.d.ts +4 -4
- package/dist/user-facing-copy.d.ts +1 -0
- package/dist/workspace-design-apply.d.ts +1 -1
- package/dist/workspace-resource-operation.d.ts +722 -0
- package/package.json +2 -1
- package/dist/publish-plan.d.ts +0 -54
|
@@ -0,0 +1,639 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const LauncherPromptTemplateKindSchema: z.ZodEnum<{
|
|
3
|
+
page: "page";
|
|
4
|
+
block: "block";
|
|
5
|
+
}>;
|
|
6
|
+
export declare const LauncherPromptTemplateTypeSchema: z.ZodEnum<{
|
|
7
|
+
pages: "pages";
|
|
8
|
+
page: "page";
|
|
9
|
+
component: "component";
|
|
10
|
+
}>;
|
|
11
|
+
export declare const LauncherPromptTemplateLocaleSchema: z.ZodEnum<{
|
|
12
|
+
"zh-CN": "zh-CN";
|
|
13
|
+
"zh-TW": "zh-TW";
|
|
14
|
+
"en-US": "en-US";
|
|
15
|
+
"ja-JP": "ja-JP";
|
|
16
|
+
"ko-KR": "ko-KR";
|
|
17
|
+
"es-ES": "es-ES";
|
|
18
|
+
"fr-FR": "fr-FR";
|
|
19
|
+
"de-DE": "de-DE";
|
|
20
|
+
}>;
|
|
21
|
+
export declare const LauncherPromptTemplateCatalogQuerySchema: z.ZodObject<{
|
|
22
|
+
kind: z.ZodEnum<{
|
|
23
|
+
page: "page";
|
|
24
|
+
block: "block";
|
|
25
|
+
}>;
|
|
26
|
+
category_id: z.ZodOptional<z.ZodString>;
|
|
27
|
+
tag_id: z.ZodOptional<z.ZodString>;
|
|
28
|
+
search: z.ZodOptional<z.ZodString>;
|
|
29
|
+
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
30
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
31
|
+
}, z.core.$strict>;
|
|
32
|
+
export declare const LauncherPromptTemplateCatalogItemSchema: z.ZodObject<{
|
|
33
|
+
stable_key: z.ZodString;
|
|
34
|
+
type: z.ZodEnum<{
|
|
35
|
+
pages: "pages";
|
|
36
|
+
page: "page";
|
|
37
|
+
component: "component";
|
|
38
|
+
}>;
|
|
39
|
+
title: z.ZodString;
|
|
40
|
+
description: z.ZodString;
|
|
41
|
+
thumbnail_url: z.ZodNullable<z.ZodString>;
|
|
42
|
+
resolved_version: z.ZodNumber;
|
|
43
|
+
content_schema_version: z.ZodLiteral<3>;
|
|
44
|
+
category: z.ZodNullable<z.ZodObject<{
|
|
45
|
+
id: z.ZodString;
|
|
46
|
+
key: z.ZodString;
|
|
47
|
+
name: z.ZodString;
|
|
48
|
+
}, z.core.$strict>>;
|
|
49
|
+
tags: z.ZodArray<z.ZodObject<{
|
|
50
|
+
id: z.ZodString;
|
|
51
|
+
key: z.ZodString;
|
|
52
|
+
name: z.ZodString;
|
|
53
|
+
color: z.ZodNullable<z.ZodString>;
|
|
54
|
+
}, z.core.$strict>>;
|
|
55
|
+
page_count: z.ZodNumber;
|
|
56
|
+
component_count: z.ZodNumber;
|
|
57
|
+
locale: z.ZodObject<{
|
|
58
|
+
requested_locale: z.ZodEnum<{
|
|
59
|
+
"zh-CN": "zh-CN";
|
|
60
|
+
"zh-TW": "zh-TW";
|
|
61
|
+
"en-US": "en-US";
|
|
62
|
+
"ja-JP": "ja-JP";
|
|
63
|
+
"ko-KR": "ko-KR";
|
|
64
|
+
"es-ES": "es-ES";
|
|
65
|
+
"fr-FR": "fr-FR";
|
|
66
|
+
"de-DE": "de-DE";
|
|
67
|
+
}>;
|
|
68
|
+
resolved_locale: z.ZodEnum<{
|
|
69
|
+
"zh-CN": "zh-CN";
|
|
70
|
+
"zh-TW": "zh-TW";
|
|
71
|
+
"en-US": "en-US";
|
|
72
|
+
"ja-JP": "ja-JP";
|
|
73
|
+
"ko-KR": "ko-KR";
|
|
74
|
+
"es-ES": "es-ES";
|
|
75
|
+
"fr-FR": "fr-FR";
|
|
76
|
+
"de-DE": "de-DE";
|
|
77
|
+
}>;
|
|
78
|
+
fallback_used: z.ZodBoolean;
|
|
79
|
+
}, z.core.$strict>;
|
|
80
|
+
}, z.core.$strict>;
|
|
81
|
+
export declare const LauncherPromptTemplateCatalogSchema: z.ZodObject<{
|
|
82
|
+
items: z.ZodArray<z.ZodObject<{
|
|
83
|
+
stable_key: z.ZodString;
|
|
84
|
+
type: z.ZodEnum<{
|
|
85
|
+
pages: "pages";
|
|
86
|
+
page: "page";
|
|
87
|
+
component: "component";
|
|
88
|
+
}>;
|
|
89
|
+
title: z.ZodString;
|
|
90
|
+
description: z.ZodString;
|
|
91
|
+
thumbnail_url: z.ZodNullable<z.ZodString>;
|
|
92
|
+
resolved_version: z.ZodNumber;
|
|
93
|
+
content_schema_version: z.ZodLiteral<3>;
|
|
94
|
+
category: z.ZodNullable<z.ZodObject<{
|
|
95
|
+
id: z.ZodString;
|
|
96
|
+
key: z.ZodString;
|
|
97
|
+
name: z.ZodString;
|
|
98
|
+
}, z.core.$strict>>;
|
|
99
|
+
tags: z.ZodArray<z.ZodObject<{
|
|
100
|
+
id: z.ZodString;
|
|
101
|
+
key: z.ZodString;
|
|
102
|
+
name: z.ZodString;
|
|
103
|
+
color: z.ZodNullable<z.ZodString>;
|
|
104
|
+
}, z.core.$strict>>;
|
|
105
|
+
page_count: z.ZodNumber;
|
|
106
|
+
component_count: z.ZodNumber;
|
|
107
|
+
locale: z.ZodObject<{
|
|
108
|
+
requested_locale: z.ZodEnum<{
|
|
109
|
+
"zh-CN": "zh-CN";
|
|
110
|
+
"zh-TW": "zh-TW";
|
|
111
|
+
"en-US": "en-US";
|
|
112
|
+
"ja-JP": "ja-JP";
|
|
113
|
+
"ko-KR": "ko-KR";
|
|
114
|
+
"es-ES": "es-ES";
|
|
115
|
+
"fr-FR": "fr-FR";
|
|
116
|
+
"de-DE": "de-DE";
|
|
117
|
+
}>;
|
|
118
|
+
resolved_locale: z.ZodEnum<{
|
|
119
|
+
"zh-CN": "zh-CN";
|
|
120
|
+
"zh-TW": "zh-TW";
|
|
121
|
+
"en-US": "en-US";
|
|
122
|
+
"ja-JP": "ja-JP";
|
|
123
|
+
"ko-KR": "ko-KR";
|
|
124
|
+
"es-ES": "es-ES";
|
|
125
|
+
"fr-FR": "fr-FR";
|
|
126
|
+
"de-DE": "de-DE";
|
|
127
|
+
}>;
|
|
128
|
+
fallback_used: z.ZodBoolean;
|
|
129
|
+
}, z.core.$strict>;
|
|
130
|
+
}, z.core.$strict>>;
|
|
131
|
+
facets: z.ZodObject<{
|
|
132
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
133
|
+
id: z.ZodString;
|
|
134
|
+
key: z.ZodString;
|
|
135
|
+
name: z.ZodString;
|
|
136
|
+
}, z.core.$strict>>;
|
|
137
|
+
tags: z.ZodArray<z.ZodObject<{
|
|
138
|
+
id: z.ZodString;
|
|
139
|
+
key: z.ZodString;
|
|
140
|
+
name: z.ZodString;
|
|
141
|
+
color: z.ZodNullable<z.ZodString>;
|
|
142
|
+
}, z.core.$strict>>;
|
|
143
|
+
}, z.core.$strict>;
|
|
144
|
+
next_cursor: z.ZodNullable<z.ZodString>;
|
|
145
|
+
}, z.core.$strict>;
|
|
146
|
+
export declare const LauncherPromptTemplateApplyRequestSchema: z.ZodObject<{
|
|
147
|
+
resolved_version: z.ZodNumber;
|
|
148
|
+
base_sitemap_id: z.ZodString;
|
|
149
|
+
base_sitemap_version: z.ZodNumber;
|
|
150
|
+
sitemap: z.ZodLazy<z.ZodObject<{
|
|
151
|
+
site_name: z.ZodOptional<z.ZodString>;
|
|
152
|
+
version: z.ZodNumber;
|
|
153
|
+
navigation: z.ZodObject<{
|
|
154
|
+
primaryLinks: z.ZodArray<z.ZodObject<{
|
|
155
|
+
label: z.ZodString;
|
|
156
|
+
href: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
157
|
+
}, z.core.$loose>>;
|
|
158
|
+
footerLinks: z.ZodArray<z.ZodObject<{
|
|
159
|
+
label: z.ZodString;
|
|
160
|
+
href: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
161
|
+
}, z.core.$loose>>;
|
|
162
|
+
}, z.core.$strip>;
|
|
163
|
+
integrations: z.ZodOptional<z.ZodObject<{
|
|
164
|
+
cms: z.ZodOptional<z.ZodUnknown>;
|
|
165
|
+
analytics: z.ZodOptional<z.ZodUnknown>;
|
|
166
|
+
}, z.core.$strip>>;
|
|
167
|
+
meta: z.ZodObject<{
|
|
168
|
+
generatedAt: z.ZodString;
|
|
169
|
+
generatedBy: z.ZodLiteral<"sitemap-agent">;
|
|
170
|
+
source_brief_id: z.ZodOptional<z.ZodString>;
|
|
171
|
+
source_answer_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
172
|
+
}, z.core.$strip>;
|
|
173
|
+
skillSelection: z.ZodObject<{
|
|
174
|
+
id: z.ZodString;
|
|
175
|
+
name: z.ZodString;
|
|
176
|
+
category: z.ZodLiteral<"page-generation">;
|
|
177
|
+
version: z.ZodOptional<z.ZodString>;
|
|
178
|
+
reason: z.ZodString;
|
|
179
|
+
source: z.ZodDefault<z.ZodEnum<{
|
|
180
|
+
system_recommended: "system_recommended";
|
|
181
|
+
user_picked: "user_picked";
|
|
182
|
+
user_picked_extended: "user_picked_extended";
|
|
183
|
+
deterministic_fallback: "deterministic_fallback";
|
|
184
|
+
}>>;
|
|
185
|
+
}, z.core.$strip>;
|
|
186
|
+
visualTheme: z.ZodOptional<z.ZodObject<{
|
|
187
|
+
theme_id: z.ZodString;
|
|
188
|
+
paletteIntent: z.ZodString;
|
|
189
|
+
tone: z.ZodString;
|
|
190
|
+
mediaMood: z.ZodString;
|
|
191
|
+
motionLevel: z.ZodOptional<z.ZodEnum<{
|
|
192
|
+
none: "none";
|
|
193
|
+
subtle: "subtle";
|
|
194
|
+
moderate: "moderate";
|
|
195
|
+
expressive: "expressive";
|
|
196
|
+
}>>;
|
|
197
|
+
userVisualHints: z.ZodOptional<z.ZodObject<{
|
|
198
|
+
heading: z.ZodOptional<z.ZodString>;
|
|
199
|
+
body: z.ZodOptional<z.ZodString>;
|
|
200
|
+
paletteIntent: z.ZodOptional<z.ZodString>;
|
|
201
|
+
surfaceMode: z.ZodOptional<z.ZodEnum<{
|
|
202
|
+
light: "light";
|
|
203
|
+
dark: "dark";
|
|
204
|
+
}>>;
|
|
205
|
+
radius: z.ZodOptional<z.ZodEnum<{
|
|
206
|
+
none: "none";
|
|
207
|
+
sm: "sm";
|
|
208
|
+
md: "md";
|
|
209
|
+
lg: "lg";
|
|
210
|
+
xl: "xl";
|
|
211
|
+
}>>;
|
|
212
|
+
density: z.ZodOptional<z.ZodEnum<{
|
|
213
|
+
compact: "compact";
|
|
214
|
+
airy: "airy";
|
|
215
|
+
comfortable: "comfortable";
|
|
216
|
+
editorial: "editorial";
|
|
217
|
+
}>>;
|
|
218
|
+
motionPreset: z.ZodOptional<z.ZodEnum<{
|
|
219
|
+
none: "none";
|
|
220
|
+
pro: "pro";
|
|
221
|
+
fade: "fade";
|
|
222
|
+
para: "para";
|
|
223
|
+
slide: "slide";
|
|
224
|
+
}>>;
|
|
225
|
+
colorSeeds: z.ZodOptional<z.ZodObject<{
|
|
226
|
+
primary: z.ZodString;
|
|
227
|
+
accent: z.ZodString;
|
|
228
|
+
neutral: z.ZodOptional<z.ZodString>;
|
|
229
|
+
supporting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
230
|
+
}, z.core.$strip>>;
|
|
231
|
+
imagePalette: z.ZodOptional<z.ZodObject<{
|
|
232
|
+
background: z.ZodOptional<z.ZodString>;
|
|
233
|
+
foreground: z.ZodOptional<z.ZodString>;
|
|
234
|
+
card: z.ZodOptional<z.ZodString>;
|
|
235
|
+
muted: z.ZodOptional<z.ZodString>;
|
|
236
|
+
border: z.ZodOptional<z.ZodString>;
|
|
237
|
+
}, z.core.$strip>>;
|
|
238
|
+
}, z.core.$strip>>;
|
|
239
|
+
}, z.core.$strip>>;
|
|
240
|
+
userChoices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
241
|
+
question: z.ZodString;
|
|
242
|
+
answer: z.ZodString;
|
|
243
|
+
}, z.core.$strip>>>;
|
|
244
|
+
confirmedChoices: z.ZodOptional<z.ZodObject<{
|
|
245
|
+
conversion: z.ZodOptional<z.ZodObject<{
|
|
246
|
+
protocol: z.ZodEnum<{
|
|
247
|
+
external: "external";
|
|
248
|
+
phone: "phone";
|
|
249
|
+
route: "route";
|
|
250
|
+
form: "form";
|
|
251
|
+
download: "download";
|
|
252
|
+
}>;
|
|
253
|
+
ctaLabel: z.ZodString;
|
|
254
|
+
ctaTarget: z.ZodOptional<z.ZodString>;
|
|
255
|
+
requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
|
|
256
|
+
}, z.core.$strip>>;
|
|
257
|
+
}, z.core.$strip>>;
|
|
258
|
+
pages: z.ZodArray<z.ZodObject<{
|
|
259
|
+
id: z.ZodString;
|
|
260
|
+
title: z.ZodString;
|
|
261
|
+
slug: z.ZodNullable<z.ZodString>;
|
|
262
|
+
navigation: z.ZodObject<{
|
|
263
|
+
order: z.ZodNumber;
|
|
264
|
+
showInHeader: z.ZodNullable<z.ZodBoolean>;
|
|
265
|
+
showInFooter: z.ZodNullable<z.ZodBoolean>;
|
|
266
|
+
}, z.core.$strict>;
|
|
267
|
+
blocks: z.ZodArray<z.ZodObject<{
|
|
268
|
+
id: z.ZodString;
|
|
269
|
+
label: z.ZodString;
|
|
270
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
271
|
+
order: z.ZodNumber;
|
|
272
|
+
props: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
273
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
274
|
+
aiGenerated: z.ZodBoolean;
|
|
275
|
+
userEdited: z.ZodBoolean;
|
|
276
|
+
lastEditedAt: z.ZodString;
|
|
277
|
+
lastEditedBy: z.ZodEnum<{
|
|
278
|
+
ai: "ai";
|
|
279
|
+
user: "user";
|
|
280
|
+
}>;
|
|
281
|
+
userInstruction: z.ZodOptional<z.ZodString>;
|
|
282
|
+
}, z.core.$strip>>;
|
|
283
|
+
type: z.ZodNullable<z.ZodString>;
|
|
284
|
+
}, z.core.$strict>>;
|
|
285
|
+
}, z.core.$strict>>;
|
|
286
|
+
}, z.core.$strict>>;
|
|
287
|
+
target_page_id: z.ZodOptional<z.ZodString>;
|
|
288
|
+
}, z.core.$strict>;
|
|
289
|
+
export declare const LauncherPromptTemplateApplyResponseSchema: z.ZodObject<{
|
|
290
|
+
next_sitemap: z.ZodLazy<z.ZodObject<{
|
|
291
|
+
site_name: z.ZodOptional<z.ZodString>;
|
|
292
|
+
version: z.ZodNumber;
|
|
293
|
+
navigation: z.ZodObject<{
|
|
294
|
+
primaryLinks: z.ZodArray<z.ZodObject<{
|
|
295
|
+
label: z.ZodString;
|
|
296
|
+
href: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
297
|
+
}, z.core.$loose>>;
|
|
298
|
+
footerLinks: z.ZodArray<z.ZodObject<{
|
|
299
|
+
label: z.ZodString;
|
|
300
|
+
href: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
301
|
+
}, z.core.$loose>>;
|
|
302
|
+
}, z.core.$strip>;
|
|
303
|
+
integrations: z.ZodOptional<z.ZodObject<{
|
|
304
|
+
cms: z.ZodOptional<z.ZodUnknown>;
|
|
305
|
+
analytics: z.ZodOptional<z.ZodUnknown>;
|
|
306
|
+
}, z.core.$strip>>;
|
|
307
|
+
meta: z.ZodObject<{
|
|
308
|
+
generatedAt: z.ZodString;
|
|
309
|
+
generatedBy: z.ZodLiteral<"sitemap-agent">;
|
|
310
|
+
source_brief_id: z.ZodOptional<z.ZodString>;
|
|
311
|
+
source_answer_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
312
|
+
}, z.core.$strip>;
|
|
313
|
+
skillSelection: z.ZodObject<{
|
|
314
|
+
id: z.ZodString;
|
|
315
|
+
name: z.ZodString;
|
|
316
|
+
category: z.ZodLiteral<"page-generation">;
|
|
317
|
+
version: z.ZodOptional<z.ZodString>;
|
|
318
|
+
reason: z.ZodString;
|
|
319
|
+
source: z.ZodDefault<z.ZodEnum<{
|
|
320
|
+
system_recommended: "system_recommended";
|
|
321
|
+
user_picked: "user_picked";
|
|
322
|
+
user_picked_extended: "user_picked_extended";
|
|
323
|
+
deterministic_fallback: "deterministic_fallback";
|
|
324
|
+
}>>;
|
|
325
|
+
}, z.core.$strip>;
|
|
326
|
+
visualTheme: z.ZodOptional<z.ZodObject<{
|
|
327
|
+
theme_id: z.ZodString;
|
|
328
|
+
paletteIntent: z.ZodString;
|
|
329
|
+
tone: z.ZodString;
|
|
330
|
+
mediaMood: z.ZodString;
|
|
331
|
+
motionLevel: z.ZodOptional<z.ZodEnum<{
|
|
332
|
+
none: "none";
|
|
333
|
+
subtle: "subtle";
|
|
334
|
+
moderate: "moderate";
|
|
335
|
+
expressive: "expressive";
|
|
336
|
+
}>>;
|
|
337
|
+
userVisualHints: z.ZodOptional<z.ZodObject<{
|
|
338
|
+
heading: z.ZodOptional<z.ZodString>;
|
|
339
|
+
body: z.ZodOptional<z.ZodString>;
|
|
340
|
+
paletteIntent: z.ZodOptional<z.ZodString>;
|
|
341
|
+
surfaceMode: z.ZodOptional<z.ZodEnum<{
|
|
342
|
+
light: "light";
|
|
343
|
+
dark: "dark";
|
|
344
|
+
}>>;
|
|
345
|
+
radius: z.ZodOptional<z.ZodEnum<{
|
|
346
|
+
none: "none";
|
|
347
|
+
sm: "sm";
|
|
348
|
+
md: "md";
|
|
349
|
+
lg: "lg";
|
|
350
|
+
xl: "xl";
|
|
351
|
+
}>>;
|
|
352
|
+
density: z.ZodOptional<z.ZodEnum<{
|
|
353
|
+
compact: "compact";
|
|
354
|
+
airy: "airy";
|
|
355
|
+
comfortable: "comfortable";
|
|
356
|
+
editorial: "editorial";
|
|
357
|
+
}>>;
|
|
358
|
+
motionPreset: z.ZodOptional<z.ZodEnum<{
|
|
359
|
+
none: "none";
|
|
360
|
+
pro: "pro";
|
|
361
|
+
fade: "fade";
|
|
362
|
+
para: "para";
|
|
363
|
+
slide: "slide";
|
|
364
|
+
}>>;
|
|
365
|
+
colorSeeds: z.ZodOptional<z.ZodObject<{
|
|
366
|
+
primary: z.ZodString;
|
|
367
|
+
accent: z.ZodString;
|
|
368
|
+
neutral: z.ZodOptional<z.ZodString>;
|
|
369
|
+
supporting: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
370
|
+
}, z.core.$strip>>;
|
|
371
|
+
imagePalette: z.ZodOptional<z.ZodObject<{
|
|
372
|
+
background: z.ZodOptional<z.ZodString>;
|
|
373
|
+
foreground: z.ZodOptional<z.ZodString>;
|
|
374
|
+
card: z.ZodOptional<z.ZodString>;
|
|
375
|
+
muted: z.ZodOptional<z.ZodString>;
|
|
376
|
+
border: z.ZodOptional<z.ZodString>;
|
|
377
|
+
}, z.core.$strip>>;
|
|
378
|
+
}, z.core.$strip>>;
|
|
379
|
+
}, z.core.$strip>>;
|
|
380
|
+
userChoices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
381
|
+
question: z.ZodString;
|
|
382
|
+
answer: z.ZodString;
|
|
383
|
+
}, z.core.$strip>>>;
|
|
384
|
+
confirmedChoices: z.ZodOptional<z.ZodObject<{
|
|
385
|
+
conversion: z.ZodOptional<z.ZodObject<{
|
|
386
|
+
protocol: z.ZodEnum<{
|
|
387
|
+
external: "external";
|
|
388
|
+
phone: "phone";
|
|
389
|
+
route: "route";
|
|
390
|
+
form: "form";
|
|
391
|
+
download: "download";
|
|
392
|
+
}>;
|
|
393
|
+
ctaLabel: z.ZodString;
|
|
394
|
+
ctaTarget: z.ZodOptional<z.ZodString>;
|
|
395
|
+
requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
|
|
396
|
+
}, z.core.$strip>>;
|
|
397
|
+
}, z.core.$strip>>;
|
|
398
|
+
pages: z.ZodArray<z.ZodObject<{
|
|
399
|
+
id: z.ZodString;
|
|
400
|
+
title: z.ZodString;
|
|
401
|
+
slug: z.ZodNullable<z.ZodString>;
|
|
402
|
+
navigation: z.ZodObject<{
|
|
403
|
+
order: z.ZodNumber;
|
|
404
|
+
showInHeader: z.ZodNullable<z.ZodBoolean>;
|
|
405
|
+
showInFooter: z.ZodNullable<z.ZodBoolean>;
|
|
406
|
+
}, z.core.$strict>;
|
|
407
|
+
blocks: z.ZodArray<z.ZodObject<{
|
|
408
|
+
id: z.ZodString;
|
|
409
|
+
label: z.ZodString;
|
|
410
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
411
|
+
order: z.ZodNumber;
|
|
412
|
+
props: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
413
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
414
|
+
aiGenerated: z.ZodBoolean;
|
|
415
|
+
userEdited: z.ZodBoolean;
|
|
416
|
+
lastEditedAt: z.ZodString;
|
|
417
|
+
lastEditedBy: z.ZodEnum<{
|
|
418
|
+
ai: "ai";
|
|
419
|
+
user: "user";
|
|
420
|
+
}>;
|
|
421
|
+
userInstruction: z.ZodOptional<z.ZodString>;
|
|
422
|
+
}, z.core.$strip>>;
|
|
423
|
+
type: z.ZodNullable<z.ZodString>;
|
|
424
|
+
}, z.core.$strict>>;
|
|
425
|
+
}, z.core.$strict>>;
|
|
426
|
+
}, z.core.$strict>>;
|
|
427
|
+
applied: z.ZodObject<{
|
|
428
|
+
stable_key: z.ZodString;
|
|
429
|
+
resolved_version: z.ZodNumber;
|
|
430
|
+
template_type: z.ZodEnum<{
|
|
431
|
+
pages: "pages";
|
|
432
|
+
page: "page";
|
|
433
|
+
component: "component";
|
|
434
|
+
}>;
|
|
435
|
+
page_ids: z.ZodArray<z.ZodString>;
|
|
436
|
+
block_ids: z.ZodArray<z.ZodString>;
|
|
437
|
+
}, z.core.$strict>;
|
|
438
|
+
locale: z.ZodObject<{
|
|
439
|
+
requested_locale: z.ZodEnum<{
|
|
440
|
+
"zh-CN": "zh-CN";
|
|
441
|
+
"zh-TW": "zh-TW";
|
|
442
|
+
"en-US": "en-US";
|
|
443
|
+
"ja-JP": "ja-JP";
|
|
444
|
+
"ko-KR": "ko-KR";
|
|
445
|
+
"es-ES": "es-ES";
|
|
446
|
+
"fr-FR": "fr-FR";
|
|
447
|
+
"de-DE": "de-DE";
|
|
448
|
+
}>;
|
|
449
|
+
resolved_locale: z.ZodEnum<{
|
|
450
|
+
"zh-CN": "zh-CN";
|
|
451
|
+
"zh-TW": "zh-TW";
|
|
452
|
+
"en-US": "en-US";
|
|
453
|
+
"ja-JP": "ja-JP";
|
|
454
|
+
"ko-KR": "ko-KR";
|
|
455
|
+
"es-ES": "es-ES";
|
|
456
|
+
"fr-FR": "fr-FR";
|
|
457
|
+
"de-DE": "de-DE";
|
|
458
|
+
}>;
|
|
459
|
+
fallback_used: z.ZodBoolean;
|
|
460
|
+
}, z.core.$strict>;
|
|
461
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
462
|
+
}, z.core.$strict>;
|
|
463
|
+
export declare const UpstreamPromptTemplateConsumeDataSchema: z.ZodObject<{
|
|
464
|
+
templateId: z.ZodString;
|
|
465
|
+
stableKey: z.ZodString;
|
|
466
|
+
type: z.ZodEnum<{
|
|
467
|
+
pages: "pages";
|
|
468
|
+
page: "page";
|
|
469
|
+
component: "component";
|
|
470
|
+
}>;
|
|
471
|
+
resolvedVersion: z.ZodNumber;
|
|
472
|
+
contentSchemaVersion: z.ZodLiteral<3>;
|
|
473
|
+
structure: z.ZodUnion<readonly [z.ZodObject<{
|
|
474
|
+
nodeId: z.ZodString;
|
|
475
|
+
type: z.ZodString;
|
|
476
|
+
label: z.ZodString;
|
|
477
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
478
|
+
order: z.ZodNumber;
|
|
479
|
+
props: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
480
|
+
thumbnail: z.ZodOptional<z.ZodString>;
|
|
481
|
+
source: z.ZodOptional<z.ZodUnknown>;
|
|
482
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
483
|
+
nodeId: z.ZodOptional<z.ZodString>;
|
|
484
|
+
slug: z.ZodString;
|
|
485
|
+
navigation: z.ZodObject<{
|
|
486
|
+
showInHeader: z.ZodBoolean;
|
|
487
|
+
showInFooter: z.ZodBoolean;
|
|
488
|
+
order: z.ZodNumber;
|
|
489
|
+
}, z.core.$strict>;
|
|
490
|
+
components: z.ZodArray<z.ZodObject<{
|
|
491
|
+
nodeId: z.ZodString;
|
|
492
|
+
type: z.ZodString;
|
|
493
|
+
label: z.ZodString;
|
|
494
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
495
|
+
order: z.ZodNumber;
|
|
496
|
+
props: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
497
|
+
thumbnail: z.ZodOptional<z.ZodString>;
|
|
498
|
+
source: z.ZodOptional<z.ZodUnknown>;
|
|
499
|
+
}, z.core.$strict>>;
|
|
500
|
+
thumbnail: z.ZodOptional<z.ZodString>;
|
|
501
|
+
source: z.ZodOptional<z.ZodUnknown>;
|
|
502
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
503
|
+
pages: z.ZodArray<z.ZodObject<{
|
|
504
|
+
nodeId: z.ZodOptional<z.ZodString>;
|
|
505
|
+
slug: z.ZodString;
|
|
506
|
+
navigation: z.ZodObject<{
|
|
507
|
+
showInHeader: z.ZodBoolean;
|
|
508
|
+
showInFooter: z.ZodBoolean;
|
|
509
|
+
order: z.ZodNumber;
|
|
510
|
+
}, z.core.$strict>;
|
|
511
|
+
components: z.ZodArray<z.ZodObject<{
|
|
512
|
+
nodeId: z.ZodString;
|
|
513
|
+
type: z.ZodString;
|
|
514
|
+
label: z.ZodString;
|
|
515
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
516
|
+
order: z.ZodNumber;
|
|
517
|
+
props: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
518
|
+
thumbnail: z.ZodOptional<z.ZodString>;
|
|
519
|
+
source: z.ZodOptional<z.ZodUnknown>;
|
|
520
|
+
}, z.core.$strict>>;
|
|
521
|
+
thumbnail: z.ZodOptional<z.ZodString>;
|
|
522
|
+
source: z.ZodOptional<z.ZodUnknown>;
|
|
523
|
+
}, z.core.$strict>>;
|
|
524
|
+
thumbnail: z.ZodOptional<z.ZodString>;
|
|
525
|
+
source: z.ZodOptional<z.ZodUnknown>;
|
|
526
|
+
}, z.core.$strict>]>;
|
|
527
|
+
requestedLocale: z.ZodEnum<{
|
|
528
|
+
"zh-CN": "zh-CN";
|
|
529
|
+
"zh-TW": "zh-TW";
|
|
530
|
+
"en-US": "en-US";
|
|
531
|
+
"ja-JP": "ja-JP";
|
|
532
|
+
"ko-KR": "ko-KR";
|
|
533
|
+
"es-ES": "es-ES";
|
|
534
|
+
"fr-FR": "fr-FR";
|
|
535
|
+
"de-DE": "de-DE";
|
|
536
|
+
}>;
|
|
537
|
+
resolvedLocale: z.ZodEnum<{
|
|
538
|
+
"zh-CN": "zh-CN";
|
|
539
|
+
"zh-TW": "zh-TW";
|
|
540
|
+
"en-US": "en-US";
|
|
541
|
+
"ja-JP": "ja-JP";
|
|
542
|
+
"ko-KR": "ko-KR";
|
|
543
|
+
"es-ES": "es-ES";
|
|
544
|
+
"fr-FR": "fr-FR";
|
|
545
|
+
"de-DE": "de-DE";
|
|
546
|
+
}>;
|
|
547
|
+
fallbackUsed: z.ZodBoolean;
|
|
548
|
+
contents: z.ZodArray<z.ZodObject<{
|
|
549
|
+
locale: z.ZodEnum<{
|
|
550
|
+
"zh-CN": "zh-CN";
|
|
551
|
+
"zh-TW": "zh-TW";
|
|
552
|
+
"en-US": "en-US";
|
|
553
|
+
"ja-JP": "ja-JP";
|
|
554
|
+
"ko-KR": "ko-KR";
|
|
555
|
+
"es-ES": "es-ES";
|
|
556
|
+
"fr-FR": "fr-FR";
|
|
557
|
+
"de-DE": "de-DE";
|
|
558
|
+
}>;
|
|
559
|
+
title: z.ZodString;
|
|
560
|
+
content: z.ZodObject<{
|
|
561
|
+
description: z.ZodString;
|
|
562
|
+
prompt: z.ZodString;
|
|
563
|
+
nodes: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
564
|
+
title: z.ZodString;
|
|
565
|
+
description: z.ZodString;
|
|
566
|
+
prompt: z.ZodString;
|
|
567
|
+
}, z.core.$strict>>;
|
|
568
|
+
}, z.core.$strict>;
|
|
569
|
+
}, z.core.$strict>>;
|
|
570
|
+
}, z.core.$strict>;
|
|
571
|
+
export declare const UpstreamPromptTemplateCatalogDataSchema: z.ZodObject<{
|
|
572
|
+
items: z.ZodArray<z.ZodObject<{
|
|
573
|
+
stableKey: z.ZodString;
|
|
574
|
+
type: z.ZodEnum<{
|
|
575
|
+
pages: "pages";
|
|
576
|
+
page: "page";
|
|
577
|
+
component: "component";
|
|
578
|
+
}>;
|
|
579
|
+
title: z.ZodString;
|
|
580
|
+
description: z.ZodString;
|
|
581
|
+
thumbnailUrl: z.ZodNullable<z.ZodString>;
|
|
582
|
+
resolvedVersion: z.ZodNumber;
|
|
583
|
+
contentSchemaVersion: z.ZodLiteral<3>;
|
|
584
|
+
category: z.ZodNullable<z.ZodObject<{
|
|
585
|
+
id: z.ZodString;
|
|
586
|
+
key: z.ZodString;
|
|
587
|
+
name: z.ZodString;
|
|
588
|
+
}, z.core.$strict>>;
|
|
589
|
+
tags: z.ZodArray<z.ZodObject<{
|
|
590
|
+
id: z.ZodString;
|
|
591
|
+
key: z.ZodString;
|
|
592
|
+
name: z.ZodString;
|
|
593
|
+
color: z.ZodNullable<z.ZodString>;
|
|
594
|
+
}, z.core.$strict>>;
|
|
595
|
+
pageCount: z.ZodNumber;
|
|
596
|
+
componentCount: z.ZodNumber;
|
|
597
|
+
requestedLocale: z.ZodEnum<{
|
|
598
|
+
"zh-CN": "zh-CN";
|
|
599
|
+
"zh-TW": "zh-TW";
|
|
600
|
+
"en-US": "en-US";
|
|
601
|
+
"ja-JP": "ja-JP";
|
|
602
|
+
"ko-KR": "ko-KR";
|
|
603
|
+
"es-ES": "es-ES";
|
|
604
|
+
"fr-FR": "fr-FR";
|
|
605
|
+
"de-DE": "de-DE";
|
|
606
|
+
}>;
|
|
607
|
+
resolvedLocale: z.ZodEnum<{
|
|
608
|
+
"zh-CN": "zh-CN";
|
|
609
|
+
"zh-TW": "zh-TW";
|
|
610
|
+
"en-US": "en-US";
|
|
611
|
+
"ja-JP": "ja-JP";
|
|
612
|
+
"ko-KR": "ko-KR";
|
|
613
|
+
"es-ES": "es-ES";
|
|
614
|
+
"fr-FR": "fr-FR";
|
|
615
|
+
"de-DE": "de-DE";
|
|
616
|
+
}>;
|
|
617
|
+
fallbackUsed: z.ZodBoolean;
|
|
618
|
+
}, z.core.$strict>>;
|
|
619
|
+
facets: z.ZodObject<{
|
|
620
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
621
|
+
id: z.ZodString;
|
|
622
|
+
key: z.ZodString;
|
|
623
|
+
name: z.ZodString;
|
|
624
|
+
}, z.core.$strict>>;
|
|
625
|
+
tags: z.ZodArray<z.ZodObject<{
|
|
626
|
+
id: z.ZodString;
|
|
627
|
+
key: z.ZodString;
|
|
628
|
+
name: z.ZodString;
|
|
629
|
+
color: z.ZodNullable<z.ZodString>;
|
|
630
|
+
}, z.core.$strict>>;
|
|
631
|
+
}, z.core.$strict>;
|
|
632
|
+
nextCursor: z.ZodNullable<z.ZodString>;
|
|
633
|
+
}, z.core.$strict>;
|
|
634
|
+
export type LauncherPromptTemplateCatalogQuery = z.input<typeof LauncherPromptTemplateCatalogQuerySchema>;
|
|
635
|
+
export type LauncherPromptTemplateCatalog = z.infer<typeof LauncherPromptTemplateCatalogSchema>;
|
|
636
|
+
export type LauncherPromptTemplateApplyRequest = z.infer<typeof LauncherPromptTemplateApplyRequestSchema>;
|
|
637
|
+
export type LauncherPromptTemplateApplyResponse = z.infer<typeof LauncherPromptTemplateApplyResponseSchema>;
|
|
638
|
+
export type UpstreamPromptTemplateConsumeData = z.infer<typeof UpstreamPromptTemplateConsumeDataSchema>;
|
|
639
|
+
export type UpstreamPromptTemplateCatalogData = z.infer<typeof UpstreamPromptTemplateCatalogDataSchema>;
|