@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,163 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/**
|
|
3
|
+
* Browser-facing completion commands for Launcher nodes whose result lives in
|
|
4
|
+
* an external system. The browser only names the node it believes it is on and
|
|
5
|
+
* the server-verifiable inputs it already owns; provider output identity,
|
|
6
|
+
* checksums and idempotency keys are derived server-side and must never be
|
|
7
|
+
* accepted from the browser. Every schema is `.strict()` so a forged
|
|
8
|
+
* `final_result_id` / `strategy_version_id` / `idempotency_key` is a 400 rather
|
|
9
|
+
* than a silently ignored field.
|
|
10
|
+
*/
|
|
11
|
+
export declare const CompleteWebsiteScanRequestSchema: z.ZodObject<{
|
|
12
|
+
company_task_id: z.ZodString;
|
|
13
|
+
scan_task_id: z.ZodString;
|
|
14
|
+
expected_current_node: z.ZodLiteral<"website_scan">;
|
|
15
|
+
type: z.ZodLiteral<"existing_site">;
|
|
16
|
+
result: z.ZodObject<{
|
|
17
|
+
company_name: z.ZodString;
|
|
18
|
+
primary_product: z.ZodString;
|
|
19
|
+
current_market: z.ZodString;
|
|
20
|
+
qualifications: z.ZodString;
|
|
21
|
+
scan_result: z.ZodOptional<z.ZodObject<{
|
|
22
|
+
site_url: z.ZodString;
|
|
23
|
+
scanned_at: z.ZodString;
|
|
24
|
+
reach: z.ZodArray<z.ZodObject<{
|
|
25
|
+
key: z.ZodString;
|
|
26
|
+
label: z.ZodString;
|
|
27
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
|
|
28
|
+
tone: z.ZodEnum<{
|
|
29
|
+
unknown: "unknown";
|
|
30
|
+
good: "good";
|
|
31
|
+
warn: "warn";
|
|
32
|
+
bad: "bad";
|
|
33
|
+
}>;
|
|
34
|
+
status: z.ZodEnum<{
|
|
35
|
+
unknown: "unknown";
|
|
36
|
+
ok: "ok";
|
|
37
|
+
}>;
|
|
38
|
+
evidence: z.ZodOptional<z.ZodString>;
|
|
39
|
+
}, z.core.$strict>>;
|
|
40
|
+
trust: z.ZodArray<z.ZodObject<{
|
|
41
|
+
key: z.ZodString;
|
|
42
|
+
label: z.ZodString;
|
|
43
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
|
|
44
|
+
tone: z.ZodEnum<{
|
|
45
|
+
unknown: "unknown";
|
|
46
|
+
good: "good";
|
|
47
|
+
warn: "warn";
|
|
48
|
+
bad: "bad";
|
|
49
|
+
}>;
|
|
50
|
+
status: z.ZodEnum<{
|
|
51
|
+
unknown: "unknown";
|
|
52
|
+
ok: "ok";
|
|
53
|
+
}>;
|
|
54
|
+
evidence: z.ZodOptional<z.ZodString>;
|
|
55
|
+
}, z.core.$strict>>;
|
|
56
|
+
convert: z.ZodArray<z.ZodObject<{
|
|
57
|
+
key: z.ZodString;
|
|
58
|
+
label: z.ZodString;
|
|
59
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
|
|
60
|
+
tone: z.ZodEnum<{
|
|
61
|
+
unknown: "unknown";
|
|
62
|
+
good: "good";
|
|
63
|
+
warn: "warn";
|
|
64
|
+
bad: "bad";
|
|
65
|
+
}>;
|
|
66
|
+
status: z.ZodEnum<{
|
|
67
|
+
unknown: "unknown";
|
|
68
|
+
ok: "ok";
|
|
69
|
+
}>;
|
|
70
|
+
evidence: z.ZodOptional<z.ZodString>;
|
|
71
|
+
}, z.core.$strict>>;
|
|
72
|
+
safe: z.ZodArray<z.ZodObject<{
|
|
73
|
+
key: z.ZodString;
|
|
74
|
+
label: z.ZodString;
|
|
75
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
|
|
76
|
+
tone: z.ZodEnum<{
|
|
77
|
+
unknown: "unknown";
|
|
78
|
+
good: "good";
|
|
79
|
+
warn: "warn";
|
|
80
|
+
bad: "bad";
|
|
81
|
+
}>;
|
|
82
|
+
status: z.ZodEnum<{
|
|
83
|
+
unknown: "unknown";
|
|
84
|
+
ok: "ok";
|
|
85
|
+
}>;
|
|
86
|
+
evidence: z.ZodOptional<z.ZodString>;
|
|
87
|
+
}, z.core.$strict>>;
|
|
88
|
+
pages: z.ZodArray<z.ZodObject<{
|
|
89
|
+
url: z.ZodString;
|
|
90
|
+
title: z.ZodString;
|
|
91
|
+
words: z.ZodNumber;
|
|
92
|
+
}, z.core.$strict>>;
|
|
93
|
+
}, z.core.$strict>>;
|
|
94
|
+
website: z.ZodString;
|
|
95
|
+
scan_cards: z.ZodRecord<z.ZodEnum<{
|
|
96
|
+
privacy_compliance: "privacy_compliance";
|
|
97
|
+
google_indexing: "google_indexing";
|
|
98
|
+
ai_recommendation: "ai_recommendation";
|
|
99
|
+
qualification_verifiability: "qualification_verifiability";
|
|
100
|
+
content_freshness: "content_freshness";
|
|
101
|
+
inquiry_form: "inquiry_form";
|
|
102
|
+
inquiry_response: "inquiry_response";
|
|
103
|
+
prohibited_content: "prohibited_content";
|
|
104
|
+
}> & z.core.$partial, z.ZodObject<{
|
|
105
|
+
label: z.ZodString;
|
|
106
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
|
|
107
|
+
summary: z.ZodString;
|
|
108
|
+
tone: z.ZodEnum<{
|
|
109
|
+
unknown: "unknown";
|
|
110
|
+
good: "good";
|
|
111
|
+
warn: "warn";
|
|
112
|
+
bad: "bad";
|
|
113
|
+
}>;
|
|
114
|
+
status: z.ZodEnum<{
|
|
115
|
+
unknown: "unknown";
|
|
116
|
+
ok: "ok";
|
|
117
|
+
}>;
|
|
118
|
+
}, z.core.$strip>>;
|
|
119
|
+
}, z.core.$strict>;
|
|
120
|
+
}, z.core.$strict>;
|
|
121
|
+
export type CompleteWebsiteScanRequest = z.infer<typeof CompleteWebsiteScanRequestSchema>;
|
|
122
|
+
export declare const CompleteCustomerMaterialsRequestSchema: z.ZodObject<{
|
|
123
|
+
expected_current_node: z.ZodLiteral<"customer_materials">;
|
|
124
|
+
materials: z.ZodObject<{
|
|
125
|
+
company_name: z.ZodString;
|
|
126
|
+
brand_name: z.ZodString;
|
|
127
|
+
primary_products: z.ZodString;
|
|
128
|
+
industry: z.ZodString;
|
|
129
|
+
applications: z.ZodString;
|
|
130
|
+
business_summary: z.ZodString;
|
|
131
|
+
registered_capital: z.ZodDefault<z.ZodString>;
|
|
132
|
+
legal_representative: z.ZodDefault<z.ZodString>;
|
|
133
|
+
target_markets: z.ZodArray<z.ZodString>;
|
|
134
|
+
customer_industries: z.ZodString;
|
|
135
|
+
customer_roles: z.ZodString;
|
|
136
|
+
buying_scenarios: z.ZodString;
|
|
137
|
+
differentiators: z.ZodString;
|
|
138
|
+
competitors: z.ZodString;
|
|
139
|
+
trust_proof: z.ZodString;
|
|
140
|
+
customer_cases: z.ZodString;
|
|
141
|
+
channels: z.ZodArray<z.ZodString>;
|
|
142
|
+
expected_domain: z.ZodString;
|
|
143
|
+
brand_tone: z.ZodString;
|
|
144
|
+
contact_name: z.ZodString;
|
|
145
|
+
contact_info: z.ZodString;
|
|
146
|
+
timezone: z.ZodString;
|
|
147
|
+
launch_timing: z.ZodString;
|
|
148
|
+
input_source_ids: z.ZodArray<z.ZodString>;
|
|
149
|
+
}, z.core.$strict>;
|
|
150
|
+
}, z.core.$strict>;
|
|
151
|
+
export type CompleteCustomerMaterialsRequest = z.infer<typeof CompleteCustomerMaterialsRequestSchema>;
|
|
152
|
+
export declare const CompleteDiagnosisRequestSchema: z.ZodObject<{
|
|
153
|
+
expected_current_node: z.ZodLiteral<"diagnosis">;
|
|
154
|
+
}, z.core.$strict>;
|
|
155
|
+
export type CompleteDiagnosisRequest = z.infer<typeof CompleteDiagnosisRequestSchema>;
|
|
156
|
+
/**
|
|
157
|
+
* Strategy carries no payload: the committed version already lives in Crew and
|
|
158
|
+
* the server resolves it from the workflow scope.
|
|
159
|
+
*/
|
|
160
|
+
export declare const CompleteStrategyRequestSchema: z.ZodObject<{
|
|
161
|
+
expected_current_node: z.ZodLiteral<"strategy">;
|
|
162
|
+
}, z.core.$strict>;
|
|
163
|
+
export type CompleteStrategyRequest = z.infer<typeof CompleteStrategyRequestSchema>;
|