@vcp-dev/contracts 0.6.10 → 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.
Files changed (38) hide show
  1. package/dist/api-response.d.ts +11 -0
  2. package/dist/cms-page-directory.d.ts +245 -0
  3. package/dist/cms-site-id.d.ts +4 -0
  4. package/dist/connect-dynamic-collection.d.ts +13 -9
  5. package/dist/connect-form.d.ts +5 -3
  6. package/dist/crawler-task-service.d.ts +352 -0
  7. package/dist/custom-domain.d.ts +36 -2
  8. package/dist/customer-materials.d.ts +196 -0
  9. package/dist/deployment-progress.d.ts +51 -0
  10. package/dist/designer-component-library.d.ts +9 -7
  11. package/dist/designer-page-library.d.ts +36 -40
  12. package/dist/external-site-edit.d.ts +258 -0
  13. package/dist/firecrawl-internal.d.ts +103 -0
  14. package/dist/form-design.d.ts +79 -81
  15. package/dist/google-search-console.d.ts +316 -0
  16. package/dist/index.d.ts +4004 -1136
  17. package/dist/index.js +1 -1
  18. package/dist/input-context-bundle.d.ts +6 -6
  19. package/dist/internal-entity-id.d.ts +2 -0
  20. package/dist/launcher-prompt-templates.d.ts +639 -0
  21. package/dist/media-library.d.ts +164 -0
  22. package/dist/product-search.d.ts +227 -0
  23. package/dist/publish-quality.d.ts +92 -0
  24. package/dist/site-edit-event.d.ts +8 -0
  25. package/dist/site-edit-operation.d.ts +53 -11
  26. package/dist/site-edit-render-document.d.ts +13 -9
  27. package/dist/site-preview.d.ts +50 -0
  28. package/dist/site-workflow.d.ts +1006 -0
  29. package/dist/sitemap-navigation.d.ts +9 -0
  30. package/dist/step2-site-initialization.d.ts +209 -0
  31. package/dist/step3-digital-employee-analysis.d.ts +695 -0
  32. package/dist/step4-diagnosis.d.ts +204 -0
  33. package/dist/step5-strategy.d.ts +2697 -0
  34. package/dist/step6-design.d.ts +672 -0
  35. package/dist/user-facing-copy.d.ts +1 -0
  36. package/dist/workspace-resource-operation.d.ts +17 -9
  37. package/package.json +2 -1
  38. package/dist/publish-plan.d.ts +0 -54
@@ -0,0 +1,316 @@
1
+ import { z } from "zod";
2
+ export declare const GSC_AUTH_STATUSES: readonly ["started", "success", "failed", "canceled"];
3
+ export declare const GscAuthStatusSchema: z.ZodEnum<{
4
+ failed: "failed";
5
+ success: "success";
6
+ started: "started";
7
+ canceled: "canceled";
8
+ }>;
9
+ export type GscAuthStatus = z.infer<typeof GscAuthStatusSchema>;
10
+ export declare const GSC_BINDING_STATUSES: readonly ["inactive", "pending_binding", "active"];
11
+ export declare const GscBindingStatusSchema: z.ZodEnum<{
12
+ active: "active";
13
+ inactive: "inactive";
14
+ pending_binding: "pending_binding";
15
+ }>;
16
+ export type GscBindingStatus = z.infer<typeof GscBindingStatusSchema>;
17
+ export declare const GSC_PROPERTY_TYPES: readonly ["domain", "url_prefix"];
18
+ export declare const GscPropertyTypeSchema: z.ZodEnum<{
19
+ domain: "domain";
20
+ url_prefix: "url_prefix";
21
+ }>;
22
+ export type GscPropertyType = z.infer<typeof GscPropertyTypeSchema>;
23
+ export declare const VCP_GSC_STATES: readonly ["not_connected", "authorizing", "matching_property", "ready", "failed", "canceled", "domain_mismatch"];
24
+ export declare const VcpGscStateSchema: z.ZodEnum<{
25
+ ready: "ready";
26
+ failed: "failed";
27
+ canceled: "canceled";
28
+ not_connected: "not_connected";
29
+ authorizing: "authorizing";
30
+ matching_property: "matching_property";
31
+ domain_mismatch: "domain_mismatch";
32
+ }>;
33
+ export type VcpGscState = z.infer<typeof VcpGscStateSchema>;
34
+ export declare const StartGscAuthRequestSchema: z.ZodObject<{}, z.core.$strict>;
35
+ export type StartGscAuthRequest = z.infer<typeof StartGscAuthRequestSchema>;
36
+ export declare const StartGscAuthDataSchema: z.ZodObject<{
37
+ authorize_url: z.ZodString;
38
+ custom_domain: z.ZodNullable<z.ZodString>;
39
+ }, z.core.$strict>;
40
+ export type StartGscAuthData = z.infer<typeof StartGscAuthDataSchema>;
41
+ export declare const StartGscAuthResponseSchema: z.ZodObject<{
42
+ code: z.ZodNumber;
43
+ data: z.ZodObject<{
44
+ authorize_url: z.ZodString;
45
+ custom_domain: z.ZodNullable<z.ZodString>;
46
+ }, z.core.$strict>;
47
+ message: z.ZodString;
48
+ }, z.core.$strip>;
49
+ export type StartGscAuthResponse = z.infer<typeof StartGscAuthResponseSchema>;
50
+ export declare const GscStateInputSchema: z.ZodObject<{
51
+ auth_status: z.ZodEnum<{
52
+ failed: "failed";
53
+ success: "success";
54
+ started: "started";
55
+ canceled: "canceled";
56
+ }>;
57
+ binding_status: z.ZodEnum<{
58
+ active: "active";
59
+ inactive: "inactive";
60
+ pending_binding: "pending_binding";
61
+ }>;
62
+ credential_connected: z.ZodBoolean;
63
+ custom_domain: z.ZodNullable<z.ZodString>;
64
+ gsc_site_url: z.ZodNullable<z.ZodString>;
65
+ property_type: z.ZodNullable<z.ZodEnum<{
66
+ domain: "domain";
67
+ url_prefix: "url_prefix";
68
+ }>>;
69
+ auth_error_code: z.ZodNullable<z.ZodString>;
70
+ auth_error_message: z.ZodNullable<z.ZodString>;
71
+ }, z.core.$strict>;
72
+ export type GscStateInput = z.infer<typeof GscStateInputSchema>;
73
+ export declare const GscStatusDataSchema: z.ZodObject<{
74
+ auth_status: z.ZodEnum<{
75
+ failed: "failed";
76
+ success: "success";
77
+ started: "started";
78
+ canceled: "canceled";
79
+ }>;
80
+ binding_status: z.ZodEnum<{
81
+ active: "active";
82
+ inactive: "inactive";
83
+ pending_binding: "pending_binding";
84
+ }>;
85
+ credential_connected: z.ZodBoolean;
86
+ custom_domain: z.ZodNullable<z.ZodString>;
87
+ gsc_site_url: z.ZodNullable<z.ZodString>;
88
+ property_type: z.ZodNullable<z.ZodEnum<{
89
+ domain: "domain";
90
+ url_prefix: "url_prefix";
91
+ }>>;
92
+ auth_error_code: z.ZodNullable<z.ZodString>;
93
+ auth_error_message: z.ZodNullable<z.ZodString>;
94
+ current_domain: z.ZodNullable<z.ZodString>;
95
+ state: z.ZodEnum<{
96
+ ready: "ready";
97
+ failed: "failed";
98
+ canceled: "canceled";
99
+ not_connected: "not_connected";
100
+ authorizing: "authorizing";
101
+ matching_property: "matching_property";
102
+ domain_mismatch: "domain_mismatch";
103
+ }>;
104
+ ready: z.ZodBoolean;
105
+ }, z.core.$strict>;
106
+ export type GscStatusData = z.infer<typeof GscStatusDataSchema>;
107
+ export declare const GscStatusResponseSchema: z.ZodObject<{
108
+ code: z.ZodNumber;
109
+ data: z.ZodObject<{
110
+ auth_status: z.ZodEnum<{
111
+ failed: "failed";
112
+ success: "success";
113
+ started: "started";
114
+ canceled: "canceled";
115
+ }>;
116
+ binding_status: z.ZodEnum<{
117
+ active: "active";
118
+ inactive: "inactive";
119
+ pending_binding: "pending_binding";
120
+ }>;
121
+ credential_connected: z.ZodBoolean;
122
+ custom_domain: z.ZodNullable<z.ZodString>;
123
+ gsc_site_url: z.ZodNullable<z.ZodString>;
124
+ property_type: z.ZodNullable<z.ZodEnum<{
125
+ domain: "domain";
126
+ url_prefix: "url_prefix";
127
+ }>>;
128
+ auth_error_code: z.ZodNullable<z.ZodString>;
129
+ auth_error_message: z.ZodNullable<z.ZodString>;
130
+ current_domain: z.ZodNullable<z.ZodString>;
131
+ state: z.ZodEnum<{
132
+ ready: "ready";
133
+ failed: "failed";
134
+ canceled: "canceled";
135
+ not_connected: "not_connected";
136
+ authorizing: "authorizing";
137
+ matching_property: "matching_property";
138
+ domain_mismatch: "domain_mismatch";
139
+ }>;
140
+ ready: z.ZodBoolean;
141
+ }, z.core.$strict>;
142
+ message: z.ZodString;
143
+ }, z.core.$strip>;
144
+ export type GscStatusResponse = z.infer<typeof GscStatusResponseSchema>;
145
+ export declare function normalizeGscDomain(value: string | null | undefined): string;
146
+ type LegacyGscStateInput = GscStateInput & {
147
+ readonly current_domain: string | null;
148
+ };
149
+ export declare function deriveVcpGscState(input: GscStateInput, currentDomain: string | null | undefined): VcpGscState;
150
+ export declare function deriveVcpGscState(input: LegacyGscStateInput): VcpGscState;
151
+ export declare const GscAuthStartRequestSchema: z.ZodObject<{}, z.core.$strict>;
152
+ export type GscAuthStartRequest = StartGscAuthRequest;
153
+ export declare const GscAuthStartDataSchema: z.ZodObject<{
154
+ authorize_url: z.ZodString;
155
+ custom_domain: z.ZodNullable<z.ZodString>;
156
+ }, z.core.$strict>;
157
+ export type GscAuthStartData = StartGscAuthData;
158
+ export declare const GscAuthStartResponseSchema: z.ZodObject<{
159
+ code: z.ZodNumber;
160
+ data: z.ZodObject<{
161
+ authorize_url: z.ZodString;
162
+ custom_domain: z.ZodNullable<z.ZodString>;
163
+ }, z.core.$strict>;
164
+ message: z.ZodString;
165
+ }, z.core.$strip>;
166
+ export type GscAuthStartResponse = StartGscAuthResponse;
167
+ export declare const GscStateSchema: z.ZodEnum<{
168
+ ready: "ready";
169
+ failed: "failed";
170
+ canceled: "canceled";
171
+ not_connected: "not_connected";
172
+ authorizing: "authorizing";
173
+ matching_property: "matching_property";
174
+ domain_mismatch: "domain_mismatch";
175
+ }>;
176
+ export type GscState = VcpGscState;
177
+ export declare const GoogleSearchConsoleAuthStatusSchema: z.ZodEnum<{
178
+ failed: "failed";
179
+ success: "success";
180
+ started: "started";
181
+ canceled: "canceled";
182
+ }>;
183
+ export type GoogleSearchConsoleAuthStatus = GscAuthStatus;
184
+ export declare const GoogleSearchConsoleBindingStatusSchema: z.ZodEnum<{
185
+ active: "active";
186
+ inactive: "inactive";
187
+ pending_binding: "pending_binding";
188
+ }>;
189
+ export type GoogleSearchConsoleBindingStatus = GscBindingStatus;
190
+ export declare const GoogleSearchConsolePropertyTypeSchema: z.ZodEnum<{
191
+ domain: "domain";
192
+ url_prefix: "url_prefix";
193
+ }>;
194
+ export type GoogleSearchConsolePropertyType = GscPropertyType;
195
+ export declare const GoogleSearchConsoleStateSchema: z.ZodEnum<{
196
+ ready: "ready";
197
+ failed: "failed";
198
+ canceled: "canceled";
199
+ not_connected: "not_connected";
200
+ authorizing: "authorizing";
201
+ matching_property: "matching_property";
202
+ domain_mismatch: "domain_mismatch";
203
+ }>;
204
+ export type GoogleSearchConsoleState = VcpGscState;
205
+ export declare const GoogleSearchConsoleAuthStartRequestSchema: z.ZodObject<{}, z.core.$strict>;
206
+ export type GoogleSearchConsoleAuthStartRequest = StartGscAuthRequest;
207
+ export declare const GoogleSearchConsoleAuthStartDataSchema: z.ZodObject<{
208
+ authorize_url: z.ZodString;
209
+ custom_domain: z.ZodNullable<z.ZodString>;
210
+ }, z.core.$strict>;
211
+ export type GoogleSearchConsoleAuthStartData = StartGscAuthData;
212
+ export declare const GoogleSearchConsoleAuthStartResponseSchema: z.ZodObject<{
213
+ code: z.ZodNumber;
214
+ data: z.ZodObject<{
215
+ authorize_url: z.ZodString;
216
+ custom_domain: z.ZodNullable<z.ZodString>;
217
+ }, z.core.$strict>;
218
+ message: z.ZodString;
219
+ }, z.core.$strip>;
220
+ export type GoogleSearchConsoleAuthStartResponse = StartGscAuthResponse;
221
+ export declare const GoogleSearchConsoleStatusInputSchema: z.ZodObject<{
222
+ auth_status: z.ZodEnum<{
223
+ failed: "failed";
224
+ success: "success";
225
+ started: "started";
226
+ canceled: "canceled";
227
+ }>;
228
+ binding_status: z.ZodEnum<{
229
+ active: "active";
230
+ inactive: "inactive";
231
+ pending_binding: "pending_binding";
232
+ }>;
233
+ credential_connected: z.ZodBoolean;
234
+ custom_domain: z.ZodNullable<z.ZodString>;
235
+ gsc_site_url: z.ZodNullable<z.ZodString>;
236
+ property_type: z.ZodNullable<z.ZodEnum<{
237
+ domain: "domain";
238
+ url_prefix: "url_prefix";
239
+ }>>;
240
+ auth_error_code: z.ZodNullable<z.ZodString>;
241
+ auth_error_message: z.ZodNullable<z.ZodString>;
242
+ }, z.core.$strict>;
243
+ export type GoogleSearchConsoleStatusInput = GscStateInput;
244
+ export declare const GoogleSearchConsoleStatusDataSchema: z.ZodObject<{
245
+ auth_status: z.ZodEnum<{
246
+ failed: "failed";
247
+ success: "success";
248
+ started: "started";
249
+ canceled: "canceled";
250
+ }>;
251
+ binding_status: z.ZodEnum<{
252
+ active: "active";
253
+ inactive: "inactive";
254
+ pending_binding: "pending_binding";
255
+ }>;
256
+ credential_connected: z.ZodBoolean;
257
+ custom_domain: z.ZodNullable<z.ZodString>;
258
+ gsc_site_url: z.ZodNullable<z.ZodString>;
259
+ property_type: z.ZodNullable<z.ZodEnum<{
260
+ domain: "domain";
261
+ url_prefix: "url_prefix";
262
+ }>>;
263
+ auth_error_code: z.ZodNullable<z.ZodString>;
264
+ auth_error_message: z.ZodNullable<z.ZodString>;
265
+ current_domain: z.ZodNullable<z.ZodString>;
266
+ state: z.ZodEnum<{
267
+ ready: "ready";
268
+ failed: "failed";
269
+ canceled: "canceled";
270
+ not_connected: "not_connected";
271
+ authorizing: "authorizing";
272
+ matching_property: "matching_property";
273
+ domain_mismatch: "domain_mismatch";
274
+ }>;
275
+ ready: z.ZodBoolean;
276
+ }, z.core.$strict>;
277
+ export type GoogleSearchConsoleStatusData = GscStatusData;
278
+ export declare const GoogleSearchConsoleStatusResponseSchema: z.ZodObject<{
279
+ code: z.ZodNumber;
280
+ data: z.ZodObject<{
281
+ auth_status: z.ZodEnum<{
282
+ failed: "failed";
283
+ success: "success";
284
+ started: "started";
285
+ canceled: "canceled";
286
+ }>;
287
+ binding_status: z.ZodEnum<{
288
+ active: "active";
289
+ inactive: "inactive";
290
+ pending_binding: "pending_binding";
291
+ }>;
292
+ credential_connected: z.ZodBoolean;
293
+ custom_domain: z.ZodNullable<z.ZodString>;
294
+ gsc_site_url: z.ZodNullable<z.ZodString>;
295
+ property_type: z.ZodNullable<z.ZodEnum<{
296
+ domain: "domain";
297
+ url_prefix: "url_prefix";
298
+ }>>;
299
+ auth_error_code: z.ZodNullable<z.ZodString>;
300
+ auth_error_message: z.ZodNullable<z.ZodString>;
301
+ current_domain: z.ZodNullable<z.ZodString>;
302
+ state: z.ZodEnum<{
303
+ ready: "ready";
304
+ failed: "failed";
305
+ canceled: "canceled";
306
+ not_connected: "not_connected";
307
+ authorizing: "authorizing";
308
+ matching_property: "matching_property";
309
+ domain_mismatch: "domain_mismatch";
310
+ }>;
311
+ ready: z.ZodBoolean;
312
+ }, z.core.$strict>;
313
+ message: z.ZodString;
314
+ }, z.core.$strip>;
315
+ export type GoogleSearchConsoleStatusResponse = GscStatusResponse;
316
+ export {};