@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,9 @@
|
|
|
1
|
+
import type { Page, Sitemap } from "./index.js";
|
|
2
|
+
type SitemapNavigation = Sitemap["navigation"];
|
|
3
|
+
/**
|
|
4
|
+
* Reconciles page-derived navigation without treating the whole navigation
|
|
5
|
+
* model as disposable. Non-page links and their order are retained; only links
|
|
6
|
+
* whose internal page identity was removed or changed are touched.
|
|
7
|
+
*/
|
|
8
|
+
export declare function reconcileSitemapNavigation(pages: readonly Page[], navigation: SitemapNavigation, previousPages?: readonly Page[]): SitemapNavigation;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const Step2SiteInitializationStatusSchema: z.ZodEnum<{
|
|
3
|
+
failed: "failed";
|
|
4
|
+
succeeded: "succeeded";
|
|
5
|
+
pending: "pending";
|
|
6
|
+
running: "running";
|
|
7
|
+
}>;
|
|
8
|
+
export type Step2SiteInitializationStatus = z.infer<typeof Step2SiteInitializationStatusSchema>;
|
|
9
|
+
export declare const Step2SiteInitializationTaskSchema: z.ZodObject<{
|
|
10
|
+
task_id: z.ZodString;
|
|
11
|
+
site_url: z.ZodString;
|
|
12
|
+
crawler_task_uuid: z.ZodNullable<z.ZodString>;
|
|
13
|
+
crawler_status: z.ZodNullable<z.ZodEnum<{
|
|
14
|
+
NOT_STARTED: "NOT_STARTED";
|
|
15
|
+
PROCESSING: "PROCESSING";
|
|
16
|
+
SUCCEEDED: "SUCCEEDED";
|
|
17
|
+
FAILED: "FAILED";
|
|
18
|
+
}>>;
|
|
19
|
+
crawler_total: z.ZodNumber;
|
|
20
|
+
crawler_error_code: z.ZodNullable<z.ZodString>;
|
|
21
|
+
crawler_failure_stage: z.ZodNullable<z.ZodEnum<{
|
|
22
|
+
URL_DISCOVERY: "URL_DISCOVERY";
|
|
23
|
+
PAGE_CRAWL: "PAGE_CRAWL";
|
|
24
|
+
TASK_SCHEDULING: "TASK_SCHEDULING";
|
|
25
|
+
RESULT_PERSISTENCE: "RESULT_PERSISTENCE";
|
|
26
|
+
}>>;
|
|
27
|
+
page_count: z.ZodNumber;
|
|
28
|
+
status: z.ZodEnum<{
|
|
29
|
+
failed: "failed";
|
|
30
|
+
succeeded: "succeeded";
|
|
31
|
+
pending: "pending";
|
|
32
|
+
running: "running";
|
|
33
|
+
}>;
|
|
34
|
+
error: z.ZodNullable<z.ZodString>;
|
|
35
|
+
created_at: z.ZodString;
|
|
36
|
+
updated_at: z.ZodString;
|
|
37
|
+
}, z.core.$strip>;
|
|
38
|
+
export type Step2SiteInitializationTask = z.infer<typeof Step2SiteInitializationTaskSchema>;
|
|
39
|
+
export declare const Step2SiteInitializationTaskResponseSchema: z.ZodObject<{
|
|
40
|
+
code: z.ZodNumber;
|
|
41
|
+
data: z.ZodObject<{
|
|
42
|
+
task_id: z.ZodString;
|
|
43
|
+
site_url: z.ZodString;
|
|
44
|
+
crawler_task_uuid: z.ZodNullable<z.ZodString>;
|
|
45
|
+
crawler_status: z.ZodNullable<z.ZodEnum<{
|
|
46
|
+
NOT_STARTED: "NOT_STARTED";
|
|
47
|
+
PROCESSING: "PROCESSING";
|
|
48
|
+
SUCCEEDED: "SUCCEEDED";
|
|
49
|
+
FAILED: "FAILED";
|
|
50
|
+
}>>;
|
|
51
|
+
crawler_total: z.ZodNumber;
|
|
52
|
+
crawler_error_code: z.ZodNullable<z.ZodString>;
|
|
53
|
+
crawler_failure_stage: z.ZodNullable<z.ZodEnum<{
|
|
54
|
+
URL_DISCOVERY: "URL_DISCOVERY";
|
|
55
|
+
PAGE_CRAWL: "PAGE_CRAWL";
|
|
56
|
+
TASK_SCHEDULING: "TASK_SCHEDULING";
|
|
57
|
+
RESULT_PERSISTENCE: "RESULT_PERSISTENCE";
|
|
58
|
+
}>>;
|
|
59
|
+
page_count: z.ZodNumber;
|
|
60
|
+
status: z.ZodEnum<{
|
|
61
|
+
failed: "failed";
|
|
62
|
+
succeeded: "succeeded";
|
|
63
|
+
pending: "pending";
|
|
64
|
+
running: "running";
|
|
65
|
+
}>;
|
|
66
|
+
error: z.ZodNullable<z.ZodString>;
|
|
67
|
+
created_at: z.ZodString;
|
|
68
|
+
updated_at: z.ZodString;
|
|
69
|
+
}, z.core.$strip>;
|
|
70
|
+
message: z.ZodString;
|
|
71
|
+
}, z.core.$strip>;
|
|
72
|
+
export type Step2SiteInitializationTaskResponse = z.infer<typeof Step2SiteInitializationTaskResponseSchema>;
|
|
73
|
+
export declare const Step2FinalResultTypeSchema: z.ZodEnum<{
|
|
74
|
+
existing_site: "existing_site";
|
|
75
|
+
new_site: "new_site";
|
|
76
|
+
}>;
|
|
77
|
+
export declare const Step2FinalResultRequestSchema: z.ZodObject<{
|
|
78
|
+
company_task_id: z.ZodString;
|
|
79
|
+
scan_task_id: z.ZodString;
|
|
80
|
+
type: z.ZodEnum<{
|
|
81
|
+
existing_site: "existing_site";
|
|
82
|
+
new_site: "new_site";
|
|
83
|
+
}>;
|
|
84
|
+
result: z.ZodObject<{
|
|
85
|
+
company_name: z.ZodString;
|
|
86
|
+
website: z.ZodOptional<z.ZodString>;
|
|
87
|
+
primary_product: z.ZodString;
|
|
88
|
+
current_market: z.ZodString;
|
|
89
|
+
qualifications: z.ZodString;
|
|
90
|
+
scan_cards: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
91
|
+
label: z.ZodString;
|
|
92
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
|
|
93
|
+
summary: z.ZodString;
|
|
94
|
+
tone: z.ZodEnum<{
|
|
95
|
+
unknown: "unknown";
|
|
96
|
+
good: "good";
|
|
97
|
+
warn: "warn";
|
|
98
|
+
bad: "bad";
|
|
99
|
+
}>;
|
|
100
|
+
status: z.ZodEnum<{
|
|
101
|
+
unknown: "unknown";
|
|
102
|
+
ok: "ok";
|
|
103
|
+
}>;
|
|
104
|
+
}, z.core.$strip>>;
|
|
105
|
+
}, z.core.$strip>;
|
|
106
|
+
}, z.core.$strip>;
|
|
107
|
+
export type Step2FinalResultRequest = z.infer<typeof Step2FinalResultRequestSchema>;
|
|
108
|
+
export declare const Step2FinalResultSaveResultSchema: z.ZodObject<{
|
|
109
|
+
saved: z.ZodLiteral<true>;
|
|
110
|
+
company_task_id: z.ZodString;
|
|
111
|
+
scan_task_id: z.ZodString;
|
|
112
|
+
}, z.core.$strip>;
|
|
113
|
+
export type Step2FinalResultSaveResult = z.infer<typeof Step2FinalResultSaveResultSchema>;
|
|
114
|
+
export declare const Step2FinalResultSaveResponseSchema: z.ZodObject<{
|
|
115
|
+
code: z.ZodNumber;
|
|
116
|
+
data: z.ZodObject<{
|
|
117
|
+
saved: z.ZodLiteral<true>;
|
|
118
|
+
company_task_id: z.ZodString;
|
|
119
|
+
scan_task_id: z.ZodString;
|
|
120
|
+
}, z.core.$strip>;
|
|
121
|
+
message: z.ZodString;
|
|
122
|
+
}, z.core.$strip>;
|
|
123
|
+
export declare const Step2FinalResultDataSourceSchema: z.ZodEnum<{
|
|
124
|
+
task: "task";
|
|
125
|
+
snapshot: "snapshot";
|
|
126
|
+
}>;
|
|
127
|
+
export declare const Step2FinalResultViewSchema: z.ZodObject<{
|
|
128
|
+
site_id: z.ZodString;
|
|
129
|
+
company_task_id: z.ZodString;
|
|
130
|
+
scan_task_id: z.ZodString;
|
|
131
|
+
type: z.ZodEnum<{
|
|
132
|
+
existing_site: "existing_site";
|
|
133
|
+
new_site: "new_site";
|
|
134
|
+
}>;
|
|
135
|
+
data_source: z.ZodEnum<{
|
|
136
|
+
task: "task";
|
|
137
|
+
snapshot: "snapshot";
|
|
138
|
+
}>;
|
|
139
|
+
result: z.ZodObject<{
|
|
140
|
+
website: z.ZodOptional<z.ZodString>;
|
|
141
|
+
scan_cards: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
142
|
+
label: z.ZodString;
|
|
143
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
|
|
144
|
+
summary: z.ZodString;
|
|
145
|
+
tone: z.ZodEnum<{
|
|
146
|
+
unknown: "unknown";
|
|
147
|
+
good: "good";
|
|
148
|
+
warn: "warn";
|
|
149
|
+
bad: "bad";
|
|
150
|
+
}>;
|
|
151
|
+
status: z.ZodEnum<{
|
|
152
|
+
unknown: "unknown";
|
|
153
|
+
ok: "ok";
|
|
154
|
+
}>;
|
|
155
|
+
}, z.core.$strip>>;
|
|
156
|
+
type: z.ZodEnum<{
|
|
157
|
+
existing_site: "existing_site";
|
|
158
|
+
new_site: "new_site";
|
|
159
|
+
}>;
|
|
160
|
+
company_name: z.ZodString;
|
|
161
|
+
primary_product: z.ZodString;
|
|
162
|
+
current_market: z.ZodString;
|
|
163
|
+
qualifications: z.ZodString;
|
|
164
|
+
}, z.core.$strip>;
|
|
165
|
+
}, z.core.$strip>;
|
|
166
|
+
export type Step2FinalResultView = z.infer<typeof Step2FinalResultViewSchema>;
|
|
167
|
+
export declare const Step2FinalResultResponseSchema: z.ZodObject<{
|
|
168
|
+
code: z.ZodNumber;
|
|
169
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
170
|
+
site_id: z.ZodString;
|
|
171
|
+
company_task_id: z.ZodString;
|
|
172
|
+
scan_task_id: z.ZodString;
|
|
173
|
+
type: z.ZodEnum<{
|
|
174
|
+
existing_site: "existing_site";
|
|
175
|
+
new_site: "new_site";
|
|
176
|
+
}>;
|
|
177
|
+
data_source: z.ZodEnum<{
|
|
178
|
+
task: "task";
|
|
179
|
+
snapshot: "snapshot";
|
|
180
|
+
}>;
|
|
181
|
+
result: z.ZodObject<{
|
|
182
|
+
website: z.ZodOptional<z.ZodString>;
|
|
183
|
+
scan_cards: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
184
|
+
label: z.ZodString;
|
|
185
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
|
|
186
|
+
summary: z.ZodString;
|
|
187
|
+
tone: z.ZodEnum<{
|
|
188
|
+
unknown: "unknown";
|
|
189
|
+
good: "good";
|
|
190
|
+
warn: "warn";
|
|
191
|
+
bad: "bad";
|
|
192
|
+
}>;
|
|
193
|
+
status: z.ZodEnum<{
|
|
194
|
+
unknown: "unknown";
|
|
195
|
+
ok: "ok";
|
|
196
|
+
}>;
|
|
197
|
+
}, z.core.$strip>>;
|
|
198
|
+
type: z.ZodEnum<{
|
|
199
|
+
existing_site: "existing_site";
|
|
200
|
+
new_site: "new_site";
|
|
201
|
+
}>;
|
|
202
|
+
company_name: z.ZodString;
|
|
203
|
+
primary_product: z.ZodString;
|
|
204
|
+
current_market: z.ZodString;
|
|
205
|
+
qualifications: z.ZodString;
|
|
206
|
+
}, z.core.$strip>;
|
|
207
|
+
}, z.core.$strip>>;
|
|
208
|
+
message: z.ZodString;
|
|
209
|
+
}, z.core.$strip>;
|