@vcp-dev/contracts 0.6.10 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -4
- package/dist/api-response.d.ts +11 -0
- package/dist/business-facts.d.ts +23 -0
- package/dist/cms-page-directory.d.ts +281 -0
- package/dist/cms-site-id.d.ts +4 -0
- package/dist/colorway-distinctness.js +1 -1
- package/dist/connect-dynamic-collection.d.ts +7 -3
- package/dist/connect-form.d.ts +7 -5
- package/dist/conversion-hints.d.ts +37 -0
- package/dist/crawler-task-service.d.ts +594 -0
- package/dist/custom-domain.d.ts +120 -206
- package/dist/customer-materials.d.ts +196 -0
- package/dist/deployment-lifecycle.d.ts +45 -0
- package/dist/deployment-progress.d.ts +51 -0
- package/dist/design-tokens.d.ts +1 -0
- package/dist/design-tokens.js +1 -1
- package/dist/designer-component-library.d.ts +9 -7
- package/dist/designer-page-library.d.ts +36 -40
- package/dist/e2b-preview-proxy.d.ts +5 -0
- package/dist/external-site-edit.d.ts +267 -0
- package/dist/firecrawl-internal.d.ts +122 -0
- package/dist/font-catalog.d.ts +5 -2
- package/dist/form-design.d.ts +109 -69
- package/dist/google-search-console.d.ts +317 -0
- package/dist/index.d.ts +7110 -1965
- package/dist/index.js +1 -1
- package/dist/industry-classification.d.ts +43 -0
- package/dist/input-context-bundle.d.ts +16 -6
- package/dist/internal-entity-id.d.ts +3 -0
- package/dist/knowledge-category.d.ts +20 -0
- package/dist/knowledge-source-readiness.d.ts +94 -0
- package/dist/launcher-prompt-templates.d.ts +742 -0
- package/dist/media-library.d.ts +164 -0
- package/dist/migration-products.d.ts +45 -0
- package/dist/page-slug.d.ts +2 -0
- package/dist/page-template.d.ts +95 -0
- package/dist/product-search.d.ts +227 -0
- package/dist/site-build.d.ts +563 -0
- package/dist/site-design-presets.d.ts +20 -0
- package/dist/site-edit-capability.d.ts +13 -1
- package/dist/site-edit-class-name-source.d.ts +40 -8
- package/dist/site-edit-command-result.d.ts +15 -4
- package/dist/site-edit-composition.d.ts +13 -0
- package/dist/site-edit-event.d.ts +76 -14
- package/dist/site-edit-history-status.d.ts +193 -0
- package/dist/site-edit-operation.d.ts +205 -62
- package/dist/site-edit-page-composition.d.ts +101 -22
- package/dist/site-edit-patch-plan.d.ts +49 -3
- package/dist/site-edit-render-document.d.ts +67 -17
- package/dist/site-edit-session.d.ts +5 -2
- package/dist/site-edit-source.d.ts +60 -11
- package/dist/site-edit-version.d.ts +1 -1
- package/dist/site-extra-requirement.d.ts +31 -0
- package/dist/site-locale.d.ts +20 -0
- package/dist/site-localization-fields.d.ts +196 -0
- package/dist/site-localization-scope.d.ts +95 -0
- package/dist/site-preview.d.ts +65 -0
- package/dist/site-publish-domain.d.ts +680 -0
- package/dist/site-publish-workflow.d.ts +612 -0
- package/dist/site-workflow-completions.d.ts +163 -0
- package/dist/site-workflow.d.ts +1026 -0
- package/dist/sitemap-navigation.d.ts +12 -0
- package/dist/step2-page-selection.d.ts +88 -0
- package/dist/step2-site-initialization.d.ts +500 -0
- package/dist/step3-digital-employee-analysis.d.ts +661 -0
- package/dist/step4-diagnosis.d.ts +272 -0
- package/dist/step5-strategy.d.ts +8076 -0
- package/dist/step6-design.d.ts +986 -0
- package/dist/subsite-localization-input.d.ts +121 -0
- package/dist/subsite-mount-path.d.ts +23 -0
- package/dist/subsite-visible-text-export.d.ts +22 -0
- package/dist/template-upgrade-observability.d.ts +2 -2
- package/dist/theme-presets.d.ts +56 -1
- package/dist/user-facing-copy.d.ts +1 -0
- package/dist/workspace-design-apply.d.ts +5 -0
- package/dist/workspace-resource-operation.d.ts +75 -33
- package/package.json +2 -1
- package/dist/publish-plan.d.ts +0 -54
|
@@ -0,0 +1,594 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const HomeUrlCrawlerTaskCreateRequestSchema: z.ZodObject<{
|
|
3
|
+
task_type: z.ZodLiteral<"home_url">;
|
|
4
|
+
task_url: z.ZodPipe<z.ZodString, z.ZodString>;
|
|
5
|
+
planned_num: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
}, z.core.$strict>;
|
|
7
|
+
export declare const UrlListCrawlerTaskCreateRequestSchema: z.ZodObject<{
|
|
8
|
+
task_type: z.ZodLiteral<"url_list">;
|
|
9
|
+
urls: z.ZodArray<z.ZodString>;
|
|
10
|
+
}, z.core.$strict>;
|
|
11
|
+
export declare const CrawlerTaskCreateRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
12
|
+
task_type: z.ZodLiteral<"home_url">;
|
|
13
|
+
task_url: z.ZodPipe<z.ZodString, z.ZodString>;
|
|
14
|
+
planned_num: z.ZodOptional<z.ZodNumber>;
|
|
15
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
16
|
+
task_type: z.ZodLiteral<"url_list">;
|
|
17
|
+
urls: z.ZodArray<z.ZodString>;
|
|
18
|
+
}, z.core.$strict>], "task_type">;
|
|
19
|
+
export declare const CrawlerTaskPagesQuerySchema: z.ZodObject<{
|
|
20
|
+
page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
21
|
+
page_size: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
22
|
+
}, z.core.$strict>;
|
|
23
|
+
export declare const SitemapTaskCreateRequestSchema: z.ZodObject<{
|
|
24
|
+
home_url: z.ZodPipe<z.ZodString, z.ZodString>;
|
|
25
|
+
}, z.core.$strict>;
|
|
26
|
+
export declare const CrawlerTaskUuidSchema: z.ZodString;
|
|
27
|
+
export declare const CrawlerTaskCodeSchema: z.ZodString;
|
|
28
|
+
export declare const CrawlerTaskCreateResponseSchema: z.ZodObject<{
|
|
29
|
+
task_uuid: z.ZodString;
|
|
30
|
+
}, z.core.$strict>;
|
|
31
|
+
export declare const CrawlerTaskFailureStageSchema: z.ZodEnum<{
|
|
32
|
+
URL_DISCOVERY: "URL_DISCOVERY";
|
|
33
|
+
PAGE_CRAWL: "PAGE_CRAWL";
|
|
34
|
+
TASK_SCHEDULING: "TASK_SCHEDULING";
|
|
35
|
+
RESULT_PERSISTENCE: "RESULT_PERSISTENCE";
|
|
36
|
+
}>;
|
|
37
|
+
export declare const PageDiscoveryCoverageReasonSchema: z.ZodEnum<{
|
|
38
|
+
no_suitable_page_candidate: "no_suitable_page_candidate";
|
|
39
|
+
page_discovery_unavailable: "page_discovery_unavailable";
|
|
40
|
+
page_selection_unavailable: "page_selection_unavailable";
|
|
41
|
+
page_selection_invalid: "page_selection_invalid";
|
|
42
|
+
page_content_unavailable: "page_content_unavailable";
|
|
43
|
+
}>;
|
|
44
|
+
export declare const PageDiscoveryCoverageEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
45
|
+
role: z.ZodEnum<{
|
|
46
|
+
company: "company";
|
|
47
|
+
product_service: "product_service";
|
|
48
|
+
case_qualification: "case_qualification";
|
|
49
|
+
market: "market";
|
|
50
|
+
contact_inquiry: "contact_inquiry";
|
|
51
|
+
privacy_compliance: "privacy_compliance";
|
|
52
|
+
news_freshness: "news_freshness";
|
|
53
|
+
}>;
|
|
54
|
+
status: z.ZodLiteral<"selected">;
|
|
55
|
+
reason_code: z.ZodNull;
|
|
56
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
57
|
+
role: z.ZodEnum<{
|
|
58
|
+
company: "company";
|
|
59
|
+
product_service: "product_service";
|
|
60
|
+
case_qualification: "case_qualification";
|
|
61
|
+
market: "market";
|
|
62
|
+
contact_inquiry: "contact_inquiry";
|
|
63
|
+
privacy_compliance: "privacy_compliance";
|
|
64
|
+
news_freshness: "news_freshness";
|
|
65
|
+
}>;
|
|
66
|
+
status: z.ZodLiteral<"not_found">;
|
|
67
|
+
reason_code: z.ZodLiteral<"no_suitable_page_candidate">;
|
|
68
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
69
|
+
role: z.ZodEnum<{
|
|
70
|
+
company: "company";
|
|
71
|
+
product_service: "product_service";
|
|
72
|
+
case_qualification: "case_qualification";
|
|
73
|
+
market: "market";
|
|
74
|
+
contact_inquiry: "contact_inquiry";
|
|
75
|
+
privacy_compliance: "privacy_compliance";
|
|
76
|
+
news_freshness: "news_freshness";
|
|
77
|
+
}>;
|
|
78
|
+
status: z.ZodLiteral<"unknown">;
|
|
79
|
+
reason_code: z.ZodEnum<{
|
|
80
|
+
page_discovery_unavailable: "page_discovery_unavailable";
|
|
81
|
+
page_selection_unavailable: "page_selection_unavailable";
|
|
82
|
+
page_selection_invalid: "page_selection_invalid";
|
|
83
|
+
page_content_unavailable: "page_content_unavailable";
|
|
84
|
+
}>;
|
|
85
|
+
}, z.core.$strict>], "status">;
|
|
86
|
+
export declare const PageDiscoveryCoverageSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
87
|
+
role: z.ZodEnum<{
|
|
88
|
+
company: "company";
|
|
89
|
+
product_service: "product_service";
|
|
90
|
+
case_qualification: "case_qualification";
|
|
91
|
+
market: "market";
|
|
92
|
+
contact_inquiry: "contact_inquiry";
|
|
93
|
+
privacy_compliance: "privacy_compliance";
|
|
94
|
+
news_freshness: "news_freshness";
|
|
95
|
+
}>;
|
|
96
|
+
status: z.ZodLiteral<"selected">;
|
|
97
|
+
reason_code: z.ZodNull;
|
|
98
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
99
|
+
role: z.ZodEnum<{
|
|
100
|
+
company: "company";
|
|
101
|
+
product_service: "product_service";
|
|
102
|
+
case_qualification: "case_qualification";
|
|
103
|
+
market: "market";
|
|
104
|
+
contact_inquiry: "contact_inquiry";
|
|
105
|
+
privacy_compliance: "privacy_compliance";
|
|
106
|
+
news_freshness: "news_freshness";
|
|
107
|
+
}>;
|
|
108
|
+
status: z.ZodLiteral<"not_found">;
|
|
109
|
+
reason_code: z.ZodLiteral<"no_suitable_page_candidate">;
|
|
110
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
111
|
+
role: z.ZodEnum<{
|
|
112
|
+
company: "company";
|
|
113
|
+
product_service: "product_service";
|
|
114
|
+
case_qualification: "case_qualification";
|
|
115
|
+
market: "market";
|
|
116
|
+
contact_inquiry: "contact_inquiry";
|
|
117
|
+
privacy_compliance: "privacy_compliance";
|
|
118
|
+
news_freshness: "news_freshness";
|
|
119
|
+
}>;
|
|
120
|
+
status: z.ZodLiteral<"unknown">;
|
|
121
|
+
reason_code: z.ZodEnum<{
|
|
122
|
+
page_discovery_unavailable: "page_discovery_unavailable";
|
|
123
|
+
page_selection_unavailable: "page_selection_unavailable";
|
|
124
|
+
page_selection_invalid: "page_selection_invalid";
|
|
125
|
+
page_content_unavailable: "page_content_unavailable";
|
|
126
|
+
}>;
|
|
127
|
+
}, z.core.$strict>], "status">>;
|
|
128
|
+
export declare const CrawlerTaskFailureErrorCodeSchema: z.ZodEnum<{
|
|
129
|
+
TASK_FAILED: "TASK_FAILED";
|
|
130
|
+
PROVIDER_CAPABILITY_LIMIT: "PROVIDER_CAPABILITY_LIMIT";
|
|
131
|
+
}>;
|
|
132
|
+
export declare const CrawlerTaskStatusResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
133
|
+
task_uuid: z.ZodString;
|
|
134
|
+
status: z.ZodLiteral<"NOT_STARTED">;
|
|
135
|
+
total: z.ZodLiteral<0>;
|
|
136
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
137
|
+
task_uuid: z.ZodString;
|
|
138
|
+
status: z.ZodLiteral<"PROCESSING">;
|
|
139
|
+
total: z.ZodLiteral<0>;
|
|
140
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
141
|
+
task_uuid: z.ZodString;
|
|
142
|
+
status: z.ZodLiteral<"SUCCEEDED">;
|
|
143
|
+
total: z.ZodNumber;
|
|
144
|
+
discovery_coverage: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
145
|
+
role: z.ZodEnum<{
|
|
146
|
+
company: "company";
|
|
147
|
+
product_service: "product_service";
|
|
148
|
+
case_qualification: "case_qualification";
|
|
149
|
+
market: "market";
|
|
150
|
+
contact_inquiry: "contact_inquiry";
|
|
151
|
+
privacy_compliance: "privacy_compliance";
|
|
152
|
+
news_freshness: "news_freshness";
|
|
153
|
+
}>;
|
|
154
|
+
status: z.ZodLiteral<"selected">;
|
|
155
|
+
reason_code: z.ZodNull;
|
|
156
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
157
|
+
role: z.ZodEnum<{
|
|
158
|
+
company: "company";
|
|
159
|
+
product_service: "product_service";
|
|
160
|
+
case_qualification: "case_qualification";
|
|
161
|
+
market: "market";
|
|
162
|
+
contact_inquiry: "contact_inquiry";
|
|
163
|
+
privacy_compliance: "privacy_compliance";
|
|
164
|
+
news_freshness: "news_freshness";
|
|
165
|
+
}>;
|
|
166
|
+
status: z.ZodLiteral<"not_found">;
|
|
167
|
+
reason_code: z.ZodLiteral<"no_suitable_page_candidate">;
|
|
168
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
169
|
+
role: z.ZodEnum<{
|
|
170
|
+
company: "company";
|
|
171
|
+
product_service: "product_service";
|
|
172
|
+
case_qualification: "case_qualification";
|
|
173
|
+
market: "market";
|
|
174
|
+
contact_inquiry: "contact_inquiry";
|
|
175
|
+
privacy_compliance: "privacy_compliance";
|
|
176
|
+
news_freshness: "news_freshness";
|
|
177
|
+
}>;
|
|
178
|
+
status: z.ZodLiteral<"unknown">;
|
|
179
|
+
reason_code: z.ZodEnum<{
|
|
180
|
+
page_discovery_unavailable: "page_discovery_unavailable";
|
|
181
|
+
page_selection_unavailable: "page_selection_unavailable";
|
|
182
|
+
page_selection_invalid: "page_selection_invalid";
|
|
183
|
+
page_content_unavailable: "page_content_unavailable";
|
|
184
|
+
}>;
|
|
185
|
+
}, z.core.$strict>], "status">>>;
|
|
186
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
187
|
+
task_uuid: z.ZodString;
|
|
188
|
+
status: z.ZodLiteral<"FAILED">;
|
|
189
|
+
total: z.ZodLiteral<0>;
|
|
190
|
+
error_code: z.ZodEnum<{
|
|
191
|
+
TASK_FAILED: "TASK_FAILED";
|
|
192
|
+
PROVIDER_CAPABILITY_LIMIT: "PROVIDER_CAPABILITY_LIMIT";
|
|
193
|
+
}>;
|
|
194
|
+
error_message: z.ZodString;
|
|
195
|
+
failure_stage: z.ZodEnum<{
|
|
196
|
+
URL_DISCOVERY: "URL_DISCOVERY";
|
|
197
|
+
PAGE_CRAWL: "PAGE_CRAWL";
|
|
198
|
+
TASK_SCHEDULING: "TASK_SCHEDULING";
|
|
199
|
+
RESULT_PERSISTENCE: "RESULT_PERSISTENCE";
|
|
200
|
+
}>;
|
|
201
|
+
}, z.core.$strict>], "status">;
|
|
202
|
+
export declare const CrawlerTaskPageSchema: z.ZodObject<{
|
|
203
|
+
url: z.ZodString;
|
|
204
|
+
raw_html: z.ZodString;
|
|
205
|
+
}, z.core.$strict>;
|
|
206
|
+
export declare const CrawlerTaskPagesResponseSchema: z.ZodObject<{
|
|
207
|
+
task_uuid: z.ZodString;
|
|
208
|
+
status: z.ZodLiteral<"SUCCEEDED">;
|
|
209
|
+
page: z.ZodNumber;
|
|
210
|
+
page_size: z.ZodNumber;
|
|
211
|
+
total: z.ZodNumber;
|
|
212
|
+
total_pages: z.ZodNumber;
|
|
213
|
+
pages: z.ZodArray<z.ZodObject<{
|
|
214
|
+
url: z.ZodString;
|
|
215
|
+
raw_html: z.ZodString;
|
|
216
|
+
}, z.core.$strict>>;
|
|
217
|
+
discovery_coverage: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
218
|
+
role: z.ZodEnum<{
|
|
219
|
+
company: "company";
|
|
220
|
+
product_service: "product_service";
|
|
221
|
+
case_qualification: "case_qualification";
|
|
222
|
+
market: "market";
|
|
223
|
+
contact_inquiry: "contact_inquiry";
|
|
224
|
+
privacy_compliance: "privacy_compliance";
|
|
225
|
+
news_freshness: "news_freshness";
|
|
226
|
+
}>;
|
|
227
|
+
status: z.ZodLiteral<"selected">;
|
|
228
|
+
reason_code: z.ZodNull;
|
|
229
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
230
|
+
role: z.ZodEnum<{
|
|
231
|
+
company: "company";
|
|
232
|
+
product_service: "product_service";
|
|
233
|
+
case_qualification: "case_qualification";
|
|
234
|
+
market: "market";
|
|
235
|
+
contact_inquiry: "contact_inquiry";
|
|
236
|
+
privacy_compliance: "privacy_compliance";
|
|
237
|
+
news_freshness: "news_freshness";
|
|
238
|
+
}>;
|
|
239
|
+
status: z.ZodLiteral<"not_found">;
|
|
240
|
+
reason_code: z.ZodLiteral<"no_suitable_page_candidate">;
|
|
241
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
242
|
+
role: z.ZodEnum<{
|
|
243
|
+
company: "company";
|
|
244
|
+
product_service: "product_service";
|
|
245
|
+
case_qualification: "case_qualification";
|
|
246
|
+
market: "market";
|
|
247
|
+
contact_inquiry: "contact_inquiry";
|
|
248
|
+
privacy_compliance: "privacy_compliance";
|
|
249
|
+
news_freshness: "news_freshness";
|
|
250
|
+
}>;
|
|
251
|
+
status: z.ZodLiteral<"unknown">;
|
|
252
|
+
reason_code: z.ZodEnum<{
|
|
253
|
+
page_discovery_unavailable: "page_discovery_unavailable";
|
|
254
|
+
page_selection_unavailable: "page_selection_unavailable";
|
|
255
|
+
page_selection_invalid: "page_selection_invalid";
|
|
256
|
+
page_content_unavailable: "page_content_unavailable";
|
|
257
|
+
}>;
|
|
258
|
+
}, z.core.$strict>], "status">>>;
|
|
259
|
+
}, z.core.$strict>;
|
|
260
|
+
export declare const SitemapTaskCreateResponseSchema: z.ZodObject<{
|
|
261
|
+
task_code: z.ZodString;
|
|
262
|
+
}, z.core.$strict>;
|
|
263
|
+
export declare const SitemapTaskFailureErrorCodeSchema: z.ZodLiteral<"SITEMAP_DISCOVERY_FAILED">;
|
|
264
|
+
export declare const SitemapTaskResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
265
|
+
task_code: z.ZodString;
|
|
266
|
+
status: z.ZodLiteral<"NOT_STARTED">;
|
|
267
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
268
|
+
task_code: z.ZodString;
|
|
269
|
+
status: z.ZodLiteral<"PROCESSING">;
|
|
270
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
271
|
+
task_code: z.ZodString;
|
|
272
|
+
status: z.ZodLiteral<"SUCCEEDED">;
|
|
273
|
+
urls: z.ZodArray<z.ZodString>;
|
|
274
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
275
|
+
task_code: z.ZodString;
|
|
276
|
+
status: z.ZodLiteral<"FAILED">;
|
|
277
|
+
error_code: z.ZodLiteral<"SITEMAP_DISCOVERY_FAILED">;
|
|
278
|
+
error_message: z.ZodString;
|
|
279
|
+
}, z.core.$strict>], "status">;
|
|
280
|
+
export declare const CompanyInfoTaskCreateRequestSchema: z.ZodObject<{
|
|
281
|
+
company_name: z.ZodString;
|
|
282
|
+
}, z.core.$strict>;
|
|
283
|
+
export declare const CompanyInfoSchema: z.ZodObject<{
|
|
284
|
+
company_name: z.ZodString;
|
|
285
|
+
brand_name: z.ZodString;
|
|
286
|
+
main_products: z.ZodArray<z.ZodString>;
|
|
287
|
+
industry: z.ZodArray<z.ZodString>;
|
|
288
|
+
subfields: z.ZodArray<z.ZodString>;
|
|
289
|
+
business_intro: z.ZodString;
|
|
290
|
+
registered_capital: z.ZodString;
|
|
291
|
+
legal_representative: z.ZodString;
|
|
292
|
+
target_markets: z.ZodArray<z.ZodString>;
|
|
293
|
+
target_customer_industries: z.ZodArray<z.ZodString>;
|
|
294
|
+
target_customer_roles: z.ZodArray<z.ZodString>;
|
|
295
|
+
purchase_scenarios: z.ZodString;
|
|
296
|
+
differentiators: z.ZodArray<z.ZodString>;
|
|
297
|
+
competitors: z.ZodArray<z.ZodObject<{
|
|
298
|
+
name: z.ZodString;
|
|
299
|
+
official_url: z.ZodString;
|
|
300
|
+
}, z.core.$strict>>;
|
|
301
|
+
qualifications: z.ZodArray<z.ZodString>;
|
|
302
|
+
representative_cases: z.ZodArray<z.ZodString>;
|
|
303
|
+
acquisition_channels: z.ZodArray<z.ZodString>;
|
|
304
|
+
desired_domain: z.ZodString;
|
|
305
|
+
brand_tone: z.ZodString;
|
|
306
|
+
timezone: z.ZodString;
|
|
307
|
+
}, z.core.$strict>;
|
|
308
|
+
export declare const CompanyInfoTaskCreateResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
309
|
+
company_uuid: z.ZodString;
|
|
310
|
+
company_info: z.ZodObject<{
|
|
311
|
+
company_name: z.ZodString;
|
|
312
|
+
brand_name: z.ZodString;
|
|
313
|
+
main_products: z.ZodArray<z.ZodString>;
|
|
314
|
+
industry: z.ZodArray<z.ZodString>;
|
|
315
|
+
subfields: z.ZodArray<z.ZodString>;
|
|
316
|
+
business_intro: z.ZodString;
|
|
317
|
+
registered_capital: z.ZodString;
|
|
318
|
+
legal_representative: z.ZodString;
|
|
319
|
+
target_markets: z.ZodArray<z.ZodString>;
|
|
320
|
+
target_customer_industries: z.ZodArray<z.ZodString>;
|
|
321
|
+
target_customer_roles: z.ZodArray<z.ZodString>;
|
|
322
|
+
purchase_scenarios: z.ZodString;
|
|
323
|
+
differentiators: z.ZodArray<z.ZodString>;
|
|
324
|
+
competitors: z.ZodArray<z.ZodObject<{
|
|
325
|
+
name: z.ZodString;
|
|
326
|
+
official_url: z.ZodString;
|
|
327
|
+
}, z.core.$strict>>;
|
|
328
|
+
qualifications: z.ZodArray<z.ZodString>;
|
|
329
|
+
representative_cases: z.ZodArray<z.ZodString>;
|
|
330
|
+
acquisition_channels: z.ZodArray<z.ZodString>;
|
|
331
|
+
desired_domain: z.ZodString;
|
|
332
|
+
brand_tone: z.ZodString;
|
|
333
|
+
timezone: z.ZodString;
|
|
334
|
+
}, z.core.$strict>;
|
|
335
|
+
created_at: z.ZodString;
|
|
336
|
+
updated_at: z.ZodString;
|
|
337
|
+
status: z.ZodLiteral<"SUCCEEDED">;
|
|
338
|
+
last_error_code: z.ZodNull;
|
|
339
|
+
last_error_message: z.ZodNull;
|
|
340
|
+
started_at: z.ZodString;
|
|
341
|
+
completed_at: z.ZodString;
|
|
342
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
343
|
+
company_uuid: z.ZodString;
|
|
344
|
+
company_info: z.ZodObject<{
|
|
345
|
+
company_name: z.ZodString;
|
|
346
|
+
brand_name: z.ZodString;
|
|
347
|
+
main_products: z.ZodArray<z.ZodString>;
|
|
348
|
+
industry: z.ZodArray<z.ZodString>;
|
|
349
|
+
subfields: z.ZodArray<z.ZodString>;
|
|
350
|
+
business_intro: z.ZodString;
|
|
351
|
+
registered_capital: z.ZodString;
|
|
352
|
+
legal_representative: z.ZodString;
|
|
353
|
+
target_markets: z.ZodArray<z.ZodString>;
|
|
354
|
+
target_customer_industries: z.ZodArray<z.ZodString>;
|
|
355
|
+
target_customer_roles: z.ZodArray<z.ZodString>;
|
|
356
|
+
purchase_scenarios: z.ZodString;
|
|
357
|
+
differentiators: z.ZodArray<z.ZodString>;
|
|
358
|
+
competitors: z.ZodArray<z.ZodObject<{
|
|
359
|
+
name: z.ZodString;
|
|
360
|
+
official_url: z.ZodString;
|
|
361
|
+
}, z.core.$strict>>;
|
|
362
|
+
qualifications: z.ZodArray<z.ZodString>;
|
|
363
|
+
representative_cases: z.ZodArray<z.ZodString>;
|
|
364
|
+
acquisition_channels: z.ZodArray<z.ZodString>;
|
|
365
|
+
desired_domain: z.ZodString;
|
|
366
|
+
brand_tone: z.ZodString;
|
|
367
|
+
timezone: z.ZodString;
|
|
368
|
+
}, z.core.$strict>;
|
|
369
|
+
created_at: z.ZodString;
|
|
370
|
+
updated_at: z.ZodString;
|
|
371
|
+
status: z.ZodLiteral<"FAILED">;
|
|
372
|
+
last_error_code: z.ZodString;
|
|
373
|
+
last_error_message: z.ZodString;
|
|
374
|
+
started_at: z.ZodString;
|
|
375
|
+
completed_at: z.ZodString;
|
|
376
|
+
}, z.core.$strict>], "status">;
|
|
377
|
+
export declare const CompanyInfoTaskResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
378
|
+
company_uuid: z.ZodString;
|
|
379
|
+
company_info: z.ZodObject<{
|
|
380
|
+
company_name: z.ZodString;
|
|
381
|
+
brand_name: z.ZodString;
|
|
382
|
+
main_products: z.ZodArray<z.ZodString>;
|
|
383
|
+
industry: z.ZodArray<z.ZodString>;
|
|
384
|
+
subfields: z.ZodArray<z.ZodString>;
|
|
385
|
+
business_intro: z.ZodString;
|
|
386
|
+
registered_capital: z.ZodString;
|
|
387
|
+
legal_representative: z.ZodString;
|
|
388
|
+
target_markets: z.ZodArray<z.ZodString>;
|
|
389
|
+
target_customer_industries: z.ZodArray<z.ZodString>;
|
|
390
|
+
target_customer_roles: z.ZodArray<z.ZodString>;
|
|
391
|
+
purchase_scenarios: z.ZodString;
|
|
392
|
+
differentiators: z.ZodArray<z.ZodString>;
|
|
393
|
+
competitors: z.ZodArray<z.ZodObject<{
|
|
394
|
+
name: z.ZodString;
|
|
395
|
+
official_url: z.ZodString;
|
|
396
|
+
}, z.core.$strict>>;
|
|
397
|
+
qualifications: z.ZodArray<z.ZodString>;
|
|
398
|
+
representative_cases: z.ZodArray<z.ZodString>;
|
|
399
|
+
acquisition_channels: z.ZodArray<z.ZodString>;
|
|
400
|
+
desired_domain: z.ZodString;
|
|
401
|
+
brand_tone: z.ZodString;
|
|
402
|
+
timezone: z.ZodString;
|
|
403
|
+
}, z.core.$strict>;
|
|
404
|
+
created_at: z.ZodString;
|
|
405
|
+
updated_at: z.ZodString;
|
|
406
|
+
status: z.ZodLiteral<"NOT_STARTED">;
|
|
407
|
+
last_error_code: z.ZodNull;
|
|
408
|
+
last_error_message: z.ZodNull;
|
|
409
|
+
started_at: z.ZodNull;
|
|
410
|
+
completed_at: z.ZodNull;
|
|
411
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
412
|
+
company_uuid: z.ZodString;
|
|
413
|
+
company_info: z.ZodObject<{
|
|
414
|
+
company_name: z.ZodString;
|
|
415
|
+
brand_name: z.ZodString;
|
|
416
|
+
main_products: z.ZodArray<z.ZodString>;
|
|
417
|
+
industry: z.ZodArray<z.ZodString>;
|
|
418
|
+
subfields: z.ZodArray<z.ZodString>;
|
|
419
|
+
business_intro: z.ZodString;
|
|
420
|
+
registered_capital: z.ZodString;
|
|
421
|
+
legal_representative: z.ZodString;
|
|
422
|
+
target_markets: z.ZodArray<z.ZodString>;
|
|
423
|
+
target_customer_industries: z.ZodArray<z.ZodString>;
|
|
424
|
+
target_customer_roles: z.ZodArray<z.ZodString>;
|
|
425
|
+
purchase_scenarios: z.ZodString;
|
|
426
|
+
differentiators: z.ZodArray<z.ZodString>;
|
|
427
|
+
competitors: z.ZodArray<z.ZodObject<{
|
|
428
|
+
name: z.ZodString;
|
|
429
|
+
official_url: z.ZodString;
|
|
430
|
+
}, z.core.$strict>>;
|
|
431
|
+
qualifications: z.ZodArray<z.ZodString>;
|
|
432
|
+
representative_cases: z.ZodArray<z.ZodString>;
|
|
433
|
+
acquisition_channels: z.ZodArray<z.ZodString>;
|
|
434
|
+
desired_domain: z.ZodString;
|
|
435
|
+
brand_tone: z.ZodString;
|
|
436
|
+
timezone: z.ZodString;
|
|
437
|
+
}, z.core.$strict>;
|
|
438
|
+
created_at: z.ZodString;
|
|
439
|
+
updated_at: z.ZodString;
|
|
440
|
+
status: z.ZodLiteral<"PROCESSING">;
|
|
441
|
+
last_error_code: z.ZodNull;
|
|
442
|
+
last_error_message: z.ZodNull;
|
|
443
|
+
started_at: z.ZodString;
|
|
444
|
+
completed_at: z.ZodNull;
|
|
445
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
446
|
+
company_uuid: z.ZodString;
|
|
447
|
+
company_info: z.ZodObject<{
|
|
448
|
+
company_name: z.ZodString;
|
|
449
|
+
brand_name: z.ZodString;
|
|
450
|
+
main_products: z.ZodArray<z.ZodString>;
|
|
451
|
+
industry: z.ZodArray<z.ZodString>;
|
|
452
|
+
subfields: z.ZodArray<z.ZodString>;
|
|
453
|
+
business_intro: z.ZodString;
|
|
454
|
+
registered_capital: z.ZodString;
|
|
455
|
+
legal_representative: z.ZodString;
|
|
456
|
+
target_markets: z.ZodArray<z.ZodString>;
|
|
457
|
+
target_customer_industries: z.ZodArray<z.ZodString>;
|
|
458
|
+
target_customer_roles: z.ZodArray<z.ZodString>;
|
|
459
|
+
purchase_scenarios: z.ZodString;
|
|
460
|
+
differentiators: z.ZodArray<z.ZodString>;
|
|
461
|
+
competitors: z.ZodArray<z.ZodObject<{
|
|
462
|
+
name: z.ZodString;
|
|
463
|
+
official_url: z.ZodString;
|
|
464
|
+
}, z.core.$strict>>;
|
|
465
|
+
qualifications: z.ZodArray<z.ZodString>;
|
|
466
|
+
representative_cases: z.ZodArray<z.ZodString>;
|
|
467
|
+
acquisition_channels: z.ZodArray<z.ZodString>;
|
|
468
|
+
desired_domain: z.ZodString;
|
|
469
|
+
brand_tone: z.ZodString;
|
|
470
|
+
timezone: z.ZodString;
|
|
471
|
+
}, z.core.$strict>;
|
|
472
|
+
created_at: z.ZodString;
|
|
473
|
+
updated_at: z.ZodString;
|
|
474
|
+
status: z.ZodLiteral<"SUCCEEDED">;
|
|
475
|
+
last_error_code: z.ZodNull;
|
|
476
|
+
last_error_message: z.ZodNull;
|
|
477
|
+
started_at: z.ZodString;
|
|
478
|
+
completed_at: z.ZodString;
|
|
479
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
480
|
+
company_uuid: z.ZodString;
|
|
481
|
+
company_info: z.ZodObject<{
|
|
482
|
+
company_name: z.ZodString;
|
|
483
|
+
brand_name: z.ZodString;
|
|
484
|
+
main_products: z.ZodArray<z.ZodString>;
|
|
485
|
+
industry: z.ZodArray<z.ZodString>;
|
|
486
|
+
subfields: z.ZodArray<z.ZodString>;
|
|
487
|
+
business_intro: z.ZodString;
|
|
488
|
+
registered_capital: z.ZodString;
|
|
489
|
+
legal_representative: z.ZodString;
|
|
490
|
+
target_markets: z.ZodArray<z.ZodString>;
|
|
491
|
+
target_customer_industries: z.ZodArray<z.ZodString>;
|
|
492
|
+
target_customer_roles: z.ZodArray<z.ZodString>;
|
|
493
|
+
purchase_scenarios: z.ZodString;
|
|
494
|
+
differentiators: z.ZodArray<z.ZodString>;
|
|
495
|
+
competitors: z.ZodArray<z.ZodObject<{
|
|
496
|
+
name: z.ZodString;
|
|
497
|
+
official_url: z.ZodString;
|
|
498
|
+
}, z.core.$strict>>;
|
|
499
|
+
qualifications: z.ZodArray<z.ZodString>;
|
|
500
|
+
representative_cases: z.ZodArray<z.ZodString>;
|
|
501
|
+
acquisition_channels: z.ZodArray<z.ZodString>;
|
|
502
|
+
desired_domain: z.ZodString;
|
|
503
|
+
brand_tone: z.ZodString;
|
|
504
|
+
timezone: z.ZodString;
|
|
505
|
+
}, z.core.$strict>;
|
|
506
|
+
created_at: z.ZodString;
|
|
507
|
+
updated_at: z.ZodString;
|
|
508
|
+
status: z.ZodLiteral<"FAILED">;
|
|
509
|
+
last_error_code: z.ZodString;
|
|
510
|
+
last_error_message: z.ZodString;
|
|
511
|
+
started_at: z.ZodString;
|
|
512
|
+
completed_at: z.ZodString;
|
|
513
|
+
}, z.core.$strict>], "status">;
|
|
514
|
+
export declare const CRAWLER_INTERNAL_ERROR_CODES: readonly ["BAD_REQUEST", "NOT_FOUND", "PAYLOAD_TOO_LARGE", "INTERNAL_SERVER_ERROR", "UNAUTHORIZED", "FORBIDDEN", "INVALID_TASK_TYPE", "TASK_URL_REQUIRED", "INVALID_PLANNED_NUM", "URL_LIST_REQUIRED", "URL_LIST_LIMIT_EXCEEDED", "INVALID_URL_LIST", "INVALID_PAGINATION", "INVALID_TASK_CODE", "INVALID_HOME_URL", "TASK_CODE_HOME_URL_CONFLICT", "SITEMAP_TASK_NOT_FOUND", "SITEMAP_DISCOVERY_FAILED", "TASK_NOT_FOUND", "PROVIDER_CAPABILITY_LIMIT", "TASK_FAILED", "WEBSITE_UNREACHABLE"];
|
|
515
|
+
export declare const CrawlerInternalErrorCodeSchema: z.ZodEnum<{
|
|
516
|
+
TASK_FAILED: "TASK_FAILED";
|
|
517
|
+
PROVIDER_CAPABILITY_LIMIT: "PROVIDER_CAPABILITY_LIMIT";
|
|
518
|
+
SITEMAP_DISCOVERY_FAILED: "SITEMAP_DISCOVERY_FAILED";
|
|
519
|
+
BAD_REQUEST: "BAD_REQUEST";
|
|
520
|
+
NOT_FOUND: "NOT_FOUND";
|
|
521
|
+
PAYLOAD_TOO_LARGE: "PAYLOAD_TOO_LARGE";
|
|
522
|
+
INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR";
|
|
523
|
+
UNAUTHORIZED: "UNAUTHORIZED";
|
|
524
|
+
FORBIDDEN: "FORBIDDEN";
|
|
525
|
+
INVALID_TASK_TYPE: "INVALID_TASK_TYPE";
|
|
526
|
+
TASK_URL_REQUIRED: "TASK_URL_REQUIRED";
|
|
527
|
+
INVALID_PLANNED_NUM: "INVALID_PLANNED_NUM";
|
|
528
|
+
URL_LIST_REQUIRED: "URL_LIST_REQUIRED";
|
|
529
|
+
URL_LIST_LIMIT_EXCEEDED: "URL_LIST_LIMIT_EXCEEDED";
|
|
530
|
+
INVALID_URL_LIST: "INVALID_URL_LIST";
|
|
531
|
+
INVALID_PAGINATION: "INVALID_PAGINATION";
|
|
532
|
+
INVALID_TASK_CODE: "INVALID_TASK_CODE";
|
|
533
|
+
INVALID_HOME_URL: "INVALID_HOME_URL";
|
|
534
|
+
TASK_CODE_HOME_URL_CONFLICT: "TASK_CODE_HOME_URL_CONFLICT";
|
|
535
|
+
SITEMAP_TASK_NOT_FOUND: "SITEMAP_TASK_NOT_FOUND";
|
|
536
|
+
TASK_NOT_FOUND: "TASK_NOT_FOUND";
|
|
537
|
+
WEBSITE_UNREACHABLE: "WEBSITE_UNREACHABLE";
|
|
538
|
+
}>;
|
|
539
|
+
export declare const CrawlerInternalErrorSchema: z.ZodObject<{
|
|
540
|
+
error_code: z.ZodEnum<{
|
|
541
|
+
TASK_FAILED: "TASK_FAILED";
|
|
542
|
+
PROVIDER_CAPABILITY_LIMIT: "PROVIDER_CAPABILITY_LIMIT";
|
|
543
|
+
SITEMAP_DISCOVERY_FAILED: "SITEMAP_DISCOVERY_FAILED";
|
|
544
|
+
BAD_REQUEST: "BAD_REQUEST";
|
|
545
|
+
NOT_FOUND: "NOT_FOUND";
|
|
546
|
+
PAYLOAD_TOO_LARGE: "PAYLOAD_TOO_LARGE";
|
|
547
|
+
INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR";
|
|
548
|
+
UNAUTHORIZED: "UNAUTHORIZED";
|
|
549
|
+
FORBIDDEN: "FORBIDDEN";
|
|
550
|
+
INVALID_TASK_TYPE: "INVALID_TASK_TYPE";
|
|
551
|
+
TASK_URL_REQUIRED: "TASK_URL_REQUIRED";
|
|
552
|
+
INVALID_PLANNED_NUM: "INVALID_PLANNED_NUM";
|
|
553
|
+
URL_LIST_REQUIRED: "URL_LIST_REQUIRED";
|
|
554
|
+
URL_LIST_LIMIT_EXCEEDED: "URL_LIST_LIMIT_EXCEEDED";
|
|
555
|
+
INVALID_URL_LIST: "INVALID_URL_LIST";
|
|
556
|
+
INVALID_PAGINATION: "INVALID_PAGINATION";
|
|
557
|
+
INVALID_TASK_CODE: "INVALID_TASK_CODE";
|
|
558
|
+
INVALID_HOME_URL: "INVALID_HOME_URL";
|
|
559
|
+
TASK_CODE_HOME_URL_CONFLICT: "TASK_CODE_HOME_URL_CONFLICT";
|
|
560
|
+
SITEMAP_TASK_NOT_FOUND: "SITEMAP_TASK_NOT_FOUND";
|
|
561
|
+
TASK_NOT_FOUND: "TASK_NOT_FOUND";
|
|
562
|
+
WEBSITE_UNREACHABLE: "WEBSITE_UNREACHABLE";
|
|
563
|
+
}>;
|
|
564
|
+
error_message: z.ZodString;
|
|
565
|
+
failure_stage: z.ZodOptional<z.ZodEnum<{
|
|
566
|
+
URL_DISCOVERY: "URL_DISCOVERY";
|
|
567
|
+
PAGE_CRAWL: "PAGE_CRAWL";
|
|
568
|
+
TASK_SCHEDULING: "TASK_SCHEDULING";
|
|
569
|
+
RESULT_PERSISTENCE: "RESULT_PERSISTENCE";
|
|
570
|
+
}>>;
|
|
571
|
+
task_uuid: z.ZodOptional<z.ZodString>;
|
|
572
|
+
task_code: z.ZodOptional<z.ZodString>;
|
|
573
|
+
}, z.core.$strict>;
|
|
574
|
+
export type HomeUrlCrawlerTaskCreateRequest = z.infer<typeof HomeUrlCrawlerTaskCreateRequestSchema>;
|
|
575
|
+
export type UrlListCrawlerTaskCreateRequest = z.infer<typeof UrlListCrawlerTaskCreateRequestSchema>;
|
|
576
|
+
export type CrawlerTaskCreateRequest = z.infer<typeof CrawlerTaskCreateRequestSchema>;
|
|
577
|
+
export type CrawlerTaskPagesQuery = z.infer<typeof CrawlerTaskPagesQuerySchema>;
|
|
578
|
+
export type SitemapTaskCreateRequest = z.infer<typeof SitemapTaskCreateRequestSchema>;
|
|
579
|
+
export type CrawlerTaskUuid = z.infer<typeof CrawlerTaskUuidSchema>;
|
|
580
|
+
export type CrawlerTaskCode = z.infer<typeof CrawlerTaskCodeSchema>;
|
|
581
|
+
export type CreateCrawlerTaskResponse = z.infer<typeof CrawlerTaskCreateResponseSchema>;
|
|
582
|
+
export type CrawlerTaskFailureStage = z.infer<typeof CrawlerTaskFailureStageSchema>;
|
|
583
|
+
export type CrawlerTaskStatusResponse = z.infer<typeof CrawlerTaskStatusResponseSchema>;
|
|
584
|
+
export type CrawlerTaskPage = z.infer<typeof CrawlerTaskPageSchema>;
|
|
585
|
+
export type CrawlerTaskPagesResponse = z.infer<typeof CrawlerTaskPagesResponseSchema>;
|
|
586
|
+
export type PageDiscoveryCoverage = z.infer<typeof PageDiscoveryCoverageSchema>;
|
|
587
|
+
export type CreateSitemapTaskResponse = z.infer<typeof SitemapTaskCreateResponseSchema>;
|
|
588
|
+
export type SitemapTaskResponse = z.infer<typeof SitemapTaskResponseSchema>;
|
|
589
|
+
export type CompanyInfoTaskCreateRequest = z.infer<typeof CompanyInfoTaskCreateRequestSchema>;
|
|
590
|
+
export type CompanyInfo = z.infer<typeof CompanyInfoSchema>;
|
|
591
|
+
export type CompanyInfoTaskCreateResponse = z.infer<typeof CompanyInfoTaskCreateResponseSchema>;
|
|
592
|
+
export type CompanyInfoTaskResponse = z.infer<typeof CompanyInfoTaskResponseSchema>;
|
|
593
|
+
export type CrawlerInternalErrorCode = z.infer<typeof CrawlerInternalErrorCodeSchema>;
|
|
594
|
+
export type InternalErrorResponse = z.infer<typeof CrawlerInternalErrorSchema>;
|