@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.
Files changed (78) hide show
  1. package/README.md +5 -4
  2. package/dist/api-response.d.ts +11 -0
  3. package/dist/business-facts.d.ts +23 -0
  4. package/dist/cms-page-directory.d.ts +281 -0
  5. package/dist/cms-site-id.d.ts +4 -0
  6. package/dist/colorway-distinctness.js +1 -1
  7. package/dist/connect-dynamic-collection.d.ts +7 -3
  8. package/dist/connect-form.d.ts +7 -5
  9. package/dist/conversion-hints.d.ts +37 -0
  10. package/dist/crawler-task-service.d.ts +594 -0
  11. package/dist/custom-domain.d.ts +120 -206
  12. package/dist/customer-materials.d.ts +196 -0
  13. package/dist/deployment-lifecycle.d.ts +45 -0
  14. package/dist/deployment-progress.d.ts +51 -0
  15. package/dist/design-tokens.d.ts +1 -0
  16. package/dist/design-tokens.js +1 -1
  17. package/dist/designer-component-library.d.ts +9 -7
  18. package/dist/designer-page-library.d.ts +36 -40
  19. package/dist/e2b-preview-proxy.d.ts +5 -0
  20. package/dist/external-site-edit.d.ts +267 -0
  21. package/dist/firecrawl-internal.d.ts +122 -0
  22. package/dist/font-catalog.d.ts +5 -2
  23. package/dist/form-design.d.ts +109 -69
  24. package/dist/google-search-console.d.ts +317 -0
  25. package/dist/index.d.ts +7110 -1965
  26. package/dist/index.js +1 -1
  27. package/dist/industry-classification.d.ts +43 -0
  28. package/dist/input-context-bundle.d.ts +16 -6
  29. package/dist/internal-entity-id.d.ts +3 -0
  30. package/dist/knowledge-category.d.ts +20 -0
  31. package/dist/knowledge-source-readiness.d.ts +94 -0
  32. package/dist/launcher-prompt-templates.d.ts +742 -0
  33. package/dist/media-library.d.ts +164 -0
  34. package/dist/migration-products.d.ts +45 -0
  35. package/dist/page-slug.d.ts +2 -0
  36. package/dist/page-template.d.ts +95 -0
  37. package/dist/product-search.d.ts +227 -0
  38. package/dist/site-build.d.ts +563 -0
  39. package/dist/site-design-presets.d.ts +20 -0
  40. package/dist/site-edit-capability.d.ts +13 -1
  41. package/dist/site-edit-class-name-source.d.ts +40 -8
  42. package/dist/site-edit-command-result.d.ts +15 -4
  43. package/dist/site-edit-composition.d.ts +13 -0
  44. package/dist/site-edit-event.d.ts +76 -14
  45. package/dist/site-edit-history-status.d.ts +193 -0
  46. package/dist/site-edit-operation.d.ts +205 -62
  47. package/dist/site-edit-page-composition.d.ts +101 -22
  48. package/dist/site-edit-patch-plan.d.ts +49 -3
  49. package/dist/site-edit-render-document.d.ts +67 -17
  50. package/dist/site-edit-session.d.ts +5 -2
  51. package/dist/site-edit-source.d.ts +60 -11
  52. package/dist/site-edit-version.d.ts +1 -1
  53. package/dist/site-extra-requirement.d.ts +31 -0
  54. package/dist/site-locale.d.ts +20 -0
  55. package/dist/site-localization-fields.d.ts +196 -0
  56. package/dist/site-localization-scope.d.ts +95 -0
  57. package/dist/site-preview.d.ts +65 -0
  58. package/dist/site-publish-domain.d.ts +680 -0
  59. package/dist/site-publish-workflow.d.ts +612 -0
  60. package/dist/site-workflow-completions.d.ts +163 -0
  61. package/dist/site-workflow.d.ts +1026 -0
  62. package/dist/sitemap-navigation.d.ts +12 -0
  63. package/dist/step2-page-selection.d.ts +88 -0
  64. package/dist/step2-site-initialization.d.ts +500 -0
  65. package/dist/step3-digital-employee-analysis.d.ts +661 -0
  66. package/dist/step4-diagnosis.d.ts +272 -0
  67. package/dist/step5-strategy.d.ts +8076 -0
  68. package/dist/step6-design.d.ts +986 -0
  69. package/dist/subsite-localization-input.d.ts +121 -0
  70. package/dist/subsite-mount-path.d.ts +23 -0
  71. package/dist/subsite-visible-text-export.d.ts +22 -0
  72. package/dist/template-upgrade-observability.d.ts +2 -2
  73. package/dist/theme-presets.d.ts +56 -1
  74. package/dist/user-facing-copy.d.ts +1 -0
  75. package/dist/workspace-design-apply.d.ts +5 -0
  76. package/dist/workspace-resource-operation.d.ts +75 -33
  77. package/package.json +2 -1
  78. package/dist/publish-plan.d.ts +0 -54
@@ -1,263 +1,177 @@
1
1
  import { z } from "zod";
2
- export declare const CUSTOM_DOMAIN_STATUSES: readonly ["pending_dns", "active"];
3
- export declare const CUSTOM_DOMAIN_ENTITLEMENT_REQUIRED_ERROR_CODE: "CUSTOM_DOMAIN_ENTITLEMENT_REQUIRED";
4
- export declare const CustomDomainStatusSchema: z.ZodEnum<{
2
+ /** The lifecycle observed by Cloud for one configured hostname. */
3
+ export declare const DOMAIN_OBSERVED_STATUSES: readonly ["pending_dns", "active", "failed", "removing"];
4
+ export declare const DomainObservedStatusSchema: z.ZodEnum<{
5
+ failed: "failed";
5
6
  pending_dns: "pending_dns";
6
7
  active: "active";
8
+ removing: "removing";
7
9
  }>;
8
- export type CustomDomainStatus = z.infer<typeof CustomDomainStatusSchema>;
9
- export declare const CustomDomainDnsRecordPurposeSchema: z.ZodEnum<{
10
- unknown: "unknown";
11
- ownershipVerification: "ownershipVerification";
12
- certificateValidation: "certificateValidation";
10
+ export type DomainObservedStatus = z.infer<typeof DomainObservedStatusSchema>;
11
+ /** How Cloud routes traffic for a configured hostname. */
12
+ export declare const DOMAIN_ROUTING_MODES: readonly ["serve_site", "redirect_301"];
13
+ export declare const DomainRoutingModeSchema: z.ZodEnum<{
14
+ serve_site: "serve_site";
15
+ redirect_301: "redirect_301";
16
+ }>;
17
+ export type DomainRoutingMode = z.infer<typeof DomainRoutingModeSchema>;
18
+ /** The reason a DNS record is required by Cloud. */
19
+ export declare const DOMAIN_DNS_PURPOSES: readonly ["traffic", "ownership", "certificate_delegation"];
20
+ export declare const DomainDnsPurposeSchema: z.ZodEnum<{
13
21
  traffic: "traffic";
22
+ ownership: "ownership";
23
+ certificate_delegation: "certificate_delegation";
14
24
  }>;
15
- export type CustomDomainDnsRecordPurpose = z.infer<typeof CustomDomainDnsRecordPurposeSchema>;
16
- export declare const CustomDomainDnsRecordStatusSchema: z.ZodEnum<{
25
+ export type DomainDnsPurpose = z.infer<typeof DomainDnsPurposeSchema>;
26
+ export declare const DOMAIN_DNS_VERIFICATION_STATUSES: readonly ["pending", "verified"];
27
+ export declare const DomainDnsVerificationStatusSchema: z.ZodEnum<{
17
28
  pending: "pending";
18
- matched: "matched";
29
+ verified: "verified";
19
30
  }>;
20
- export type CustomDomainDnsRecordStatus = z.infer<typeof CustomDomainDnsRecordStatusSchema>;
21
- export declare const CustomDomainDnsRecordSchema: z.ZodObject<{
22
- id: z.ZodString;
23
- type: z.ZodString;
24
- name: z.ZodString;
25
- value: z.ZodString;
31
+ export type DomainDnsVerificationStatus = z.infer<typeof DomainDnsVerificationStatusSchema>;
32
+ export declare const DomainOperationTypeSchema: z.ZodEnum<{
33
+ prepare_configuration: "prepare_configuration";
34
+ apply_configuration: "apply_configuration";
35
+ verify_dns: "verify_dns";
36
+ }>;
37
+ export type DomainOperationType = z.infer<typeof DomainOperationTypeSchema>;
38
+ export declare const DomainOperationStatusSchema: z.ZodEnum<{
39
+ failed: "failed";
40
+ succeeded: "succeeded";
41
+ accepted: "accepted";
42
+ running: "running";
43
+ }>;
44
+ export type DomainOperationStatus = z.infer<typeof DomainOperationStatusSchema>;
45
+ export declare const DomainOperationErrorSchema: z.ZodObject<{
46
+ code: z.ZodString;
47
+ message: z.ZodString;
48
+ }, z.core.$strict>;
49
+ export type DomainOperationError = z.infer<typeof DomainOperationErrorSchema>;
50
+ export declare const DomainDnsRecordSchema: z.ZodObject<{
26
51
  purpose: z.ZodEnum<{
27
- unknown: "unknown";
28
- ownershipVerification: "ownershipVerification";
29
- certificateValidation: "certificateValidation";
30
52
  traffic: "traffic";
53
+ ownership: "ownership";
54
+ certificate_delegation: "certificate_delegation";
31
55
  }>;
32
- required: z.ZodBoolean;
33
- status: z.ZodOptional<z.ZodEnum<{
56
+ type: z.ZodString;
57
+ name: z.ZodString;
58
+ value: z.ZodString;
59
+ verificationStatus: z.ZodEnum<{
34
60
  pending: "pending";
35
- matched: "matched";
36
- }>>;
61
+ verified: "verified";
62
+ }>;
37
63
  }, z.core.$strict>;
38
- export type CustomDomainDnsRecord = z.infer<typeof CustomDomainDnsRecordSchema>;
39
- export declare const SiteCustomDomainSchema: z.ZodObject<{
64
+ export type DomainDnsRecord = z.infer<typeof DomainDnsRecordSchema>;
65
+ export declare const DomainRecordSchema: z.ZodObject<{
40
66
  id: z.ZodString;
41
- domainId: z.ZodOptional<z.ZodString>;
42
67
  hostname: z.ZodString;
43
- displayHostname: z.ZodString;
44
- asciiHostname: z.ZodString;
45
- status: z.ZodEnum<{
68
+ isPrimary: z.ZodBoolean;
69
+ routingMode: z.ZodEnum<{
70
+ serve_site: "serve_site";
71
+ redirect_301: "redirect_301";
72
+ }>;
73
+ observedStatus: z.ZodEnum<{
74
+ failed: "failed";
46
75
  pending_dns: "pending_dns";
47
76
  active: "active";
77
+ removing: "removing";
48
78
  }>;
49
- isPrimary: z.ZodBoolean;
50
- deletable: z.ZodBoolean;
79
+ lastVerifiedAt: z.ZodNullable<z.ZodString>;
51
80
  dnsRecords: z.ZodArray<z.ZodObject<{
52
- id: z.ZodString;
53
- type: z.ZodString;
54
- name: z.ZodString;
55
- value: z.ZodString;
56
81
  purpose: z.ZodEnum<{
57
- unknown: "unknown";
58
- ownershipVerification: "ownershipVerification";
59
- certificateValidation: "certificateValidation";
60
82
  traffic: "traffic";
83
+ ownership: "ownership";
84
+ certificate_delegation: "certificate_delegation";
61
85
  }>;
62
- required: z.ZodBoolean;
63
- status: z.ZodOptional<z.ZodEnum<{
86
+ type: z.ZodString;
87
+ name: z.ZodString;
88
+ value: z.ZodString;
89
+ verificationStatus: z.ZodEnum<{
64
90
  pending: "pending";
65
- matched: "matched";
66
- }>>;
91
+ verified: "verified";
92
+ }>;
67
93
  }, z.core.$strict>>;
68
- createdAt: z.ZodNullable<z.ZodString>;
69
- checkedAt: z.ZodNullable<z.ZodString>;
70
- }, z.core.$strict>;
71
- export type SiteCustomDomain = z.infer<typeof SiteCustomDomainSchema>;
72
- export declare const DefaultPublishDomainSchema: z.ZodObject<{
73
- hostname: z.ZodString;
74
- url: z.ZodString;
75
- status: z.ZodLiteral<"ready">;
76
94
  }, z.core.$strict>;
77
- export type DefaultPublishDomain = z.infer<typeof DefaultPublishDomainSchema>;
78
- export declare const ListSiteDomainsDataSchema: z.ZodObject<{
79
- defaultDomain: z.ZodObject<{
80
- hostname: z.ZodString;
81
- url: z.ZodString;
82
- status: z.ZodLiteral<"ready">;
83
- }, z.core.$strict>;
84
- currentDomain: z.ZodNullable<z.ZodObject<{
95
+ export type DomainRecord = z.infer<typeof DomainRecordSchema>;
96
+ export declare const DomainConfigurationSchema: z.ZodObject<{
97
+ primaryDomain: z.ZodNullable<z.ZodObject<{
85
98
  id: z.ZodString;
86
- domainId: z.ZodOptional<z.ZodString>;
87
99
  hostname: z.ZodString;
88
- displayHostname: z.ZodString;
89
- asciiHostname: z.ZodString;
90
- status: z.ZodEnum<{
100
+ isPrimary: z.ZodBoolean;
101
+ routingMode: z.ZodEnum<{
102
+ serve_site: "serve_site";
103
+ redirect_301: "redirect_301";
104
+ }>;
105
+ observedStatus: z.ZodEnum<{
106
+ failed: "failed";
91
107
  pending_dns: "pending_dns";
92
108
  active: "active";
109
+ removing: "removing";
93
110
  }>;
94
- isPrimary: z.ZodBoolean;
95
- deletable: z.ZodBoolean;
111
+ lastVerifiedAt: z.ZodNullable<z.ZodString>;
96
112
  dnsRecords: z.ZodArray<z.ZodObject<{
97
- id: z.ZodString;
98
- type: z.ZodString;
99
- name: z.ZodString;
100
- value: z.ZodString;
101
113
  purpose: z.ZodEnum<{
102
- unknown: "unknown";
103
- ownershipVerification: "ownershipVerification";
104
- certificateValidation: "certificateValidation";
105
114
  traffic: "traffic";
115
+ ownership: "ownership";
116
+ certificate_delegation: "certificate_delegation";
106
117
  }>;
107
- required: z.ZodBoolean;
108
- status: z.ZodOptional<z.ZodEnum<{
109
- pending: "pending";
110
- matched: "matched";
111
- }>>;
112
- }, z.core.$strict>>;
113
- createdAt: z.ZodNullable<z.ZodString>;
114
- checkedAt: z.ZodNullable<z.ZodString>;
115
- }, z.core.$strict>>;
116
- customDomains: z.ZodArray<z.ZodObject<{
117
- id: z.ZodString;
118
- domainId: z.ZodOptional<z.ZodString>;
119
- hostname: z.ZodString;
120
- displayHostname: z.ZodString;
121
- asciiHostname: z.ZodString;
122
- status: z.ZodEnum<{
123
- pending_dns: "pending_dns";
124
- active: "active";
125
- }>;
126
- isPrimary: z.ZodBoolean;
127
- deletable: z.ZodBoolean;
128
- dnsRecords: z.ZodArray<z.ZodObject<{
129
- id: z.ZodString;
130
118
  type: z.ZodString;
131
119
  name: z.ZodString;
132
120
  value: z.ZodString;
133
- purpose: z.ZodEnum<{
134
- unknown: "unknown";
135
- ownershipVerification: "ownershipVerification";
136
- certificateValidation: "certificateValidation";
137
- traffic: "traffic";
138
- }>;
139
- required: z.ZodBoolean;
140
- status: z.ZodOptional<z.ZodEnum<{
121
+ verificationStatus: z.ZodEnum<{
141
122
  pending: "pending";
142
- matched: "matched";
143
- }>>;
123
+ verified: "verified";
124
+ }>;
144
125
  }, z.core.$strict>>;
145
- createdAt: z.ZodNullable<z.ZodString>;
146
- checkedAt: z.ZodNullable<z.ZodString>;
147
126
  }, z.core.$strict>>;
148
- }, z.core.$strict>;
149
- export type ListSiteDomainsData = z.infer<typeof ListSiteDomainsDataSchema>;
150
- export declare const BindSiteDomainRequestSchema: z.ZodObject<{
151
- hostname: z.ZodString;
152
- isPrimary: z.ZodOptional<z.ZodBoolean>;
153
- }, z.core.$strict>;
154
- export type BindSiteDomainRequest = z.infer<typeof BindSiteDomainRequestSchema>;
155
- export declare const BindSiteDomainDataSchema: z.ZodObject<{
156
- domain: z.ZodObject<{
127
+ redirectDomains: z.ZodArray<z.ZodObject<{
157
128
  id: z.ZodString;
158
- domainId: z.ZodOptional<z.ZodString>;
159
129
  hostname: z.ZodString;
160
- displayHostname: z.ZodString;
161
- asciiHostname: z.ZodString;
162
- status: z.ZodEnum<{
163
- pending_dns: "pending_dns";
164
- active: "active";
165
- }>;
166
130
  isPrimary: z.ZodBoolean;
167
- deletable: z.ZodBoolean;
168
- dnsRecords: z.ZodArray<z.ZodObject<{
169
- id: z.ZodString;
170
- type: z.ZodString;
171
- name: z.ZodString;
172
- value: z.ZodString;
173
- purpose: z.ZodEnum<{
174
- unknown: "unknown";
175
- ownershipVerification: "ownershipVerification";
176
- certificateValidation: "certificateValidation";
177
- traffic: "traffic";
178
- }>;
179
- required: z.ZodBoolean;
180
- status: z.ZodOptional<z.ZodEnum<{
181
- pending: "pending";
182
- matched: "matched";
183
- }>>;
184
- }, z.core.$strict>>;
185
- createdAt: z.ZodNullable<z.ZodString>;
186
- checkedAt: z.ZodNullable<z.ZodString>;
187
- }, z.core.$strict>;
188
- }, z.core.$strict>;
189
- export type BindSiteDomainData = z.infer<typeof BindSiteDomainDataSchema>;
190
- export declare const VerifySiteDomainDataSchema: z.ZodObject<{
191
- domain: z.ZodObject<{
192
- id: z.ZodString;
193
- domainId: z.ZodOptional<z.ZodString>;
194
- hostname: z.ZodString;
195
- displayHostname: z.ZodString;
196
- asciiHostname: z.ZodString;
197
- status: z.ZodEnum<{
131
+ routingMode: z.ZodEnum<{
132
+ serve_site: "serve_site";
133
+ redirect_301: "redirect_301";
134
+ }>;
135
+ observedStatus: z.ZodEnum<{
136
+ failed: "failed";
198
137
  pending_dns: "pending_dns";
199
138
  active: "active";
139
+ removing: "removing";
200
140
  }>;
201
- isPrimary: z.ZodBoolean;
202
- deletable: z.ZodBoolean;
141
+ lastVerifiedAt: z.ZodNullable<z.ZodString>;
203
142
  dnsRecords: z.ZodArray<z.ZodObject<{
204
- id: z.ZodString;
205
- type: z.ZodString;
206
- name: z.ZodString;
207
- value: z.ZodString;
208
143
  purpose: z.ZodEnum<{
209
- unknown: "unknown";
210
- ownershipVerification: "ownershipVerification";
211
- certificateValidation: "certificateValidation";
212
144
  traffic: "traffic";
145
+ ownership: "ownership";
146
+ certificate_delegation: "certificate_delegation";
213
147
  }>;
214
- required: z.ZodBoolean;
215
- status: z.ZodOptional<z.ZodEnum<{
216
- pending: "pending";
217
- matched: "matched";
218
- }>>;
219
- }, z.core.$strict>>;
220
- createdAt: z.ZodNullable<z.ZodString>;
221
- checkedAt: z.ZodNullable<z.ZodString>;
222
- }, z.core.$strict>;
223
- }, z.core.$strict>;
224
- export type VerifySiteDomainData = z.infer<typeof VerifySiteDomainDataSchema>;
225
- export declare const GetSiteDomainDetailDataSchema: z.ZodObject<{
226
- domain: z.ZodObject<{
227
- id: z.ZodString;
228
- domainId: z.ZodOptional<z.ZodString>;
229
- hostname: z.ZodString;
230
- displayHostname: z.ZodString;
231
- asciiHostname: z.ZodString;
232
- status: z.ZodEnum<{
233
- pending_dns: "pending_dns";
234
- active: "active";
235
- }>;
236
- isPrimary: z.ZodBoolean;
237
- deletable: z.ZodBoolean;
238
- dnsRecords: z.ZodArray<z.ZodObject<{
239
- id: z.ZodString;
240
148
  type: z.ZodString;
241
149
  name: z.ZodString;
242
150
  value: z.ZodString;
243
- purpose: z.ZodEnum<{
244
- unknown: "unknown";
245
- ownershipVerification: "ownershipVerification";
246
- certificateValidation: "certificateValidation";
247
- traffic: "traffic";
248
- }>;
249
- required: z.ZodBoolean;
250
- status: z.ZodOptional<z.ZodEnum<{
151
+ verificationStatus: z.ZodEnum<{
251
152
  pending: "pending";
252
- matched: "matched";
253
- }>>;
153
+ verified: "verified";
154
+ }>;
254
155
  }, z.core.$strict>>;
255
- createdAt: z.ZodNullable<z.ZodString>;
256
- checkedAt: z.ZodNullable<z.ZodString>;
257
- }, z.core.$strict>;
156
+ }, z.core.$strict>>;
258
157
  }, z.core.$strict>;
259
- export type GetSiteDomainDetailData = z.infer<typeof GetSiteDomainDetailDataSchema>;
260
- export declare const DeleteSiteDomainDataSchema: z.ZodObject<{
261
- deleted: z.ZodBoolean;
158
+ export type DomainConfiguration = z.infer<typeof DomainConfigurationSchema>;
159
+ export declare const DomainOperationSchema: z.ZodObject<{
160
+ id: z.ZodString;
161
+ type: z.ZodEnum<{
162
+ prepare_configuration: "prepare_configuration";
163
+ apply_configuration: "apply_configuration";
164
+ verify_dns: "verify_dns";
165
+ }>;
166
+ status: z.ZodEnum<{
167
+ failed: "failed";
168
+ succeeded: "succeeded";
169
+ accepted: "accepted";
170
+ running: "running";
171
+ }>;
172
+ error: z.ZodNullable<z.ZodObject<{
173
+ code: z.ZodString;
174
+ message: z.ZodString;
175
+ }, z.core.$strict>>;
262
176
  }, z.core.$strict>;
263
- export type DeleteSiteDomainData = z.infer<typeof DeleteSiteDomainDataSchema>;
177
+ export type DomainOperation = z.infer<typeof DomainOperationSchema>;
@@ -0,0 +1,196 @@
1
+ import { z } from "zod";
2
+ /** The structured facts collected by the no-website Launcher step. */
3
+ export declare const CustomerMaterialsDraftSchema: z.ZodObject<{
4
+ company_name: z.ZodString;
5
+ brand_name: z.ZodString;
6
+ primary_products: z.ZodString;
7
+ industry: z.ZodString;
8
+ applications: z.ZodString;
9
+ business_summary: z.ZodString;
10
+ registered_capital: z.ZodDefault<z.ZodString>;
11
+ legal_representative: z.ZodDefault<z.ZodString>;
12
+ target_markets: z.ZodArray<z.ZodString>;
13
+ customer_industries: z.ZodString;
14
+ customer_roles: z.ZodString;
15
+ buying_scenarios: z.ZodString;
16
+ differentiators: z.ZodString;
17
+ competitors: z.ZodString;
18
+ trust_proof: z.ZodString;
19
+ customer_cases: z.ZodString;
20
+ channels: z.ZodArray<z.ZodString>;
21
+ expected_domain: z.ZodString;
22
+ brand_tone: z.ZodString;
23
+ contact_name: z.ZodString;
24
+ contact_info: z.ZodString;
25
+ timezone: z.ZodString;
26
+ launch_timing: z.ZodString;
27
+ input_source_ids: z.ZodArray<z.ZodString>;
28
+ }, z.core.$strict>;
29
+ export type CustomerMaterialsDraft = z.infer<typeof CustomerMaterialsDraftSchema>;
30
+ export declare const CustomerMaterialsStatusSchema: z.ZodEnum<{
31
+ draft: "draft";
32
+ submitted: "submitted";
33
+ }>;
34
+ export type CustomerMaterialsStatus = z.infer<typeof CustomerMaterialsStatusSchema>;
35
+ export declare const CustomerMaterialsRecordSchema: z.ZodObject<{
36
+ company_name: z.ZodString;
37
+ brand_name: z.ZodString;
38
+ primary_products: z.ZodString;
39
+ industry: z.ZodString;
40
+ applications: z.ZodString;
41
+ business_summary: z.ZodString;
42
+ registered_capital: z.ZodDefault<z.ZodString>;
43
+ legal_representative: z.ZodDefault<z.ZodString>;
44
+ target_markets: z.ZodArray<z.ZodString>;
45
+ customer_industries: z.ZodString;
46
+ customer_roles: z.ZodString;
47
+ buying_scenarios: z.ZodString;
48
+ differentiators: z.ZodString;
49
+ competitors: z.ZodString;
50
+ trust_proof: z.ZodString;
51
+ customer_cases: z.ZodString;
52
+ channels: z.ZodArray<z.ZodString>;
53
+ expected_domain: z.ZodString;
54
+ brand_tone: z.ZodString;
55
+ contact_name: z.ZodString;
56
+ contact_info: z.ZodString;
57
+ timezone: z.ZodString;
58
+ launch_timing: z.ZodString;
59
+ input_source_ids: z.ZodArray<z.ZodString>;
60
+ id: z.ZodUUID;
61
+ tenant_id: z.ZodString;
62
+ site_id: z.ZodUUID;
63
+ workflow_id: z.ZodUUID;
64
+ status: z.ZodEnum<{
65
+ draft: "draft";
66
+ submitted: "submitted";
67
+ }>;
68
+ submitted_at: z.ZodNullable<z.ZodString>;
69
+ created_at: z.ZodString;
70
+ updated_at: z.ZodString;
71
+ }, z.core.$strict>;
72
+ export type CustomerMaterialsRecord = z.infer<typeof CustomerMaterialsRecordSchema>;
73
+ export declare const CustomerMaterialsResponseSchema: z.ZodObject<{
74
+ code: z.ZodNumber;
75
+ data: z.ZodObject<{
76
+ company_name: z.ZodString;
77
+ brand_name: z.ZodString;
78
+ primary_products: z.ZodString;
79
+ industry: z.ZodString;
80
+ applications: z.ZodString;
81
+ business_summary: z.ZodString;
82
+ registered_capital: z.ZodDefault<z.ZodString>;
83
+ legal_representative: z.ZodDefault<z.ZodString>;
84
+ target_markets: z.ZodArray<z.ZodString>;
85
+ customer_industries: z.ZodString;
86
+ customer_roles: z.ZodString;
87
+ buying_scenarios: z.ZodString;
88
+ differentiators: z.ZodString;
89
+ competitors: z.ZodString;
90
+ trust_proof: z.ZodString;
91
+ customer_cases: z.ZodString;
92
+ channels: z.ZodArray<z.ZodString>;
93
+ expected_domain: z.ZodString;
94
+ brand_tone: z.ZodString;
95
+ contact_name: z.ZodString;
96
+ contact_info: z.ZodString;
97
+ timezone: z.ZodString;
98
+ launch_timing: z.ZodString;
99
+ input_source_ids: z.ZodArray<z.ZodString>;
100
+ id: z.ZodUUID;
101
+ tenant_id: z.ZodString;
102
+ site_id: z.ZodUUID;
103
+ workflow_id: z.ZodUUID;
104
+ status: z.ZodEnum<{
105
+ draft: "draft";
106
+ submitted: "submitted";
107
+ }>;
108
+ submitted_at: z.ZodNullable<z.ZodString>;
109
+ created_at: z.ZodString;
110
+ updated_at: z.ZodString;
111
+ }, z.core.$strict>;
112
+ message: z.ZodString;
113
+ }, z.core.$strip>;
114
+ export type CustomerMaterialsResponse = z.infer<typeof CustomerMaterialsResponseSchema>;
115
+ export declare const CustomerMaterialsDraftResponseSchema: z.ZodObject<{
116
+ code: z.ZodNumber;
117
+ data: z.ZodObject<{
118
+ company_name: z.ZodString;
119
+ brand_name: z.ZodString;
120
+ primary_products: z.ZodString;
121
+ industry: z.ZodString;
122
+ applications: z.ZodString;
123
+ business_summary: z.ZodString;
124
+ registered_capital: z.ZodDefault<z.ZodString>;
125
+ legal_representative: z.ZodDefault<z.ZodString>;
126
+ target_markets: z.ZodArray<z.ZodString>;
127
+ customer_industries: z.ZodString;
128
+ customer_roles: z.ZodString;
129
+ buying_scenarios: z.ZodString;
130
+ differentiators: z.ZodString;
131
+ competitors: z.ZodString;
132
+ trust_proof: z.ZodString;
133
+ customer_cases: z.ZodString;
134
+ channels: z.ZodArray<z.ZodString>;
135
+ expected_domain: z.ZodString;
136
+ brand_tone: z.ZodString;
137
+ contact_name: z.ZodString;
138
+ contact_info: z.ZodString;
139
+ timezone: z.ZodString;
140
+ launch_timing: z.ZodString;
141
+ input_source_ids: z.ZodArray<z.ZodString>;
142
+ id: z.ZodUUID;
143
+ tenant_id: z.ZodString;
144
+ site_id: z.ZodUUID;
145
+ workflow_id: z.ZodUUID;
146
+ status: z.ZodEnum<{
147
+ draft: "draft";
148
+ submitted: "submitted";
149
+ }>;
150
+ submitted_at: z.ZodNullable<z.ZodString>;
151
+ created_at: z.ZodString;
152
+ updated_at: z.ZodString;
153
+ }, z.core.$strict>;
154
+ message: z.ZodString;
155
+ }, z.core.$strip>;
156
+ export declare const CustomerMaterialsNullableResponseSchema: z.ZodObject<{
157
+ code: z.ZodNumber;
158
+ data: z.ZodNullable<z.ZodObject<{
159
+ company_name: z.ZodString;
160
+ brand_name: z.ZodString;
161
+ primary_products: z.ZodString;
162
+ industry: z.ZodString;
163
+ applications: z.ZodString;
164
+ business_summary: z.ZodString;
165
+ registered_capital: z.ZodDefault<z.ZodString>;
166
+ legal_representative: z.ZodDefault<z.ZodString>;
167
+ target_markets: z.ZodArray<z.ZodString>;
168
+ customer_industries: z.ZodString;
169
+ customer_roles: z.ZodString;
170
+ buying_scenarios: z.ZodString;
171
+ differentiators: z.ZodString;
172
+ competitors: z.ZodString;
173
+ trust_proof: z.ZodString;
174
+ customer_cases: z.ZodString;
175
+ channels: z.ZodArray<z.ZodString>;
176
+ expected_domain: z.ZodString;
177
+ brand_tone: z.ZodString;
178
+ contact_name: z.ZodString;
179
+ contact_info: z.ZodString;
180
+ timezone: z.ZodString;
181
+ launch_timing: z.ZodString;
182
+ input_source_ids: z.ZodArray<z.ZodString>;
183
+ id: z.ZodUUID;
184
+ tenant_id: z.ZodString;
185
+ site_id: z.ZodUUID;
186
+ workflow_id: z.ZodUUID;
187
+ status: z.ZodEnum<{
188
+ draft: "draft";
189
+ submitted: "submitted";
190
+ }>;
191
+ submitted_at: z.ZodNullable<z.ZodString>;
192
+ created_at: z.ZodString;
193
+ updated_at: z.ZodString;
194
+ }, z.core.$strict>>;
195
+ message: z.ZodString;
196
+ }, z.core.$strip>;
@@ -0,0 +1,45 @@
1
+ import { DEPLOYMENT_STATUSES } from "./deployment-runtime.js";
2
+ export type DeploymentLifecycleStatus = (typeof DEPLOYMENT_STATUSES)[number];
3
+ /**
4
+ * The single production contract for durable deployment status transitions.
5
+ *
6
+ * `deploy_failed` is the generic terminal failure used by the executor's
7
+ * unexpected-error path and by the expired-lease sweeper, so every active
8
+ * phase may enter it. Phase-specific failures remain restricted to the phase
9
+ * that owns them. `cleanup_failed` is retained as a legacy terminal database
10
+ * value; current cleanup failures are warnings and never rewrite `released`.
11
+ */
12
+ export declare const DEPLOYMENT_LIFECYCLE_TRANSITIONS: {
13
+ readonly queued: readonly ["preparing_source", "lock_failed", "deploy_failed"];
14
+ readonly preparing_source: readonly ["building", "source_prepare_failed", "deploy_failed"];
15
+ readonly building: readonly ["artifact_ready", "build_failed", "artifact_fetch_failed", "artifact_validation_failed", "deploy_failed"];
16
+ readonly artifact_ready: readonly ["deploying", "deploy_failed"];
17
+ readonly deploying: readonly ["released", "deploy_failed"];
18
+ readonly released: readonly [];
19
+ readonly lock_failed: readonly [];
20
+ readonly source_prepare_failed: readonly [];
21
+ readonly build_failed: readonly [];
22
+ readonly artifact_fetch_failed: readonly [];
23
+ readonly artifact_validation_failed: readonly [];
24
+ readonly deploy_failed: readonly [];
25
+ readonly cleanup_failed: readonly [];
26
+ };
27
+ export declare const DEPLOYMENT_ACTIVE_STATUSES: readonly DeploymentLifecycleStatus[];
28
+ export declare const DEPLOYMENT_TERMINAL_STATUSES: readonly DeploymentLifecycleStatus[];
29
+ export declare const DEPLOYMENT_TRANSITION_ERROR_CODE: "DEPLOYMENT_TRANSITION_INVALID";
30
+ export declare class DeploymentTransitionError extends Error {
31
+ readonly currentStatus: DeploymentLifecycleStatus;
32
+ readonly nextStatus: DeploymentLifecycleStatus;
33
+ readonly code: "DEPLOYMENT_TRANSITION_INVALID";
34
+ constructor(currentStatus: DeploymentLifecycleStatus, nextStatus: DeploymentLifecycleStatus);
35
+ }
36
+ export declare function getDeploymentTransitionTargets(currentStatus: DeploymentLifecycleStatus): readonly DeploymentLifecycleStatus[];
37
+ export declare function getDeploymentTransitionPredecessors(nextStatus: DeploymentLifecycleStatus): readonly DeploymentLifecycleStatus[];
38
+ export declare function isDeploymentActiveStatus(status: DeploymentLifecycleStatus): boolean;
39
+ export declare function isDeploymentTerminalStatus(status: DeploymentLifecycleStatus): boolean;
40
+ export declare function assertDeploymentTransition(currentStatus: DeploymentLifecycleStatus, nextStatus: DeploymentLifecycleStatus): DeploymentLifecycleStatus;
41
+ /**
42
+ * Returns the official transitions after `queued` for deterministic workers.
43
+ * Consumers must still persist each transition through the shared validator.
44
+ */
45
+ export declare function getDeploymentHappyPathTransitions(): readonly DeploymentLifecycleStatus[];
@@ -0,0 +1,51 @@
1
+ import { z } from "zod";
2
+ export declare const DEPLOYMENT_PROGRESS_STEP_CODES: readonly ["deployment_queued", "prepare_source", "build_artifact", "publish_site", "site_released", "cleanup_release"];
3
+ export declare const DeploymentProgressStepCodeSchema: z.ZodEnum<{
4
+ deployment_queued: "deployment_queued";
5
+ prepare_source: "prepare_source";
6
+ build_artifact: "build_artifact";
7
+ publish_site: "publish_site";
8
+ site_released: "site_released";
9
+ cleanup_release: "cleanup_release";
10
+ }>;
11
+ export type DeploymentProgressStepCode = z.infer<typeof DeploymentProgressStepCodeSchema>;
12
+ export declare const DeploymentProgressStepStatusSchema: z.ZodEnum<{
13
+ failed: "failed";
14
+ succeeded: "succeeded";
15
+ running: "running";
16
+ }>;
17
+ export type DeploymentProgressStepStatus = z.infer<typeof DeploymentProgressStepStatusSchema>;
18
+ export declare const DeploymentProgressStepSchema: z.ZodObject<{
19
+ code: z.ZodEnum<{
20
+ deployment_queued: "deployment_queued";
21
+ prepare_source: "prepare_source";
22
+ build_artifact: "build_artifact";
23
+ publish_site: "publish_site";
24
+ site_released: "site_released";
25
+ cleanup_release: "cleanup_release";
26
+ }>;
27
+ status: z.ZodEnum<{
28
+ failed: "failed";
29
+ succeeded: "succeeded";
30
+ running: "running";
31
+ }>;
32
+ message: z.ZodString;
33
+ }, z.core.$strict>;
34
+ export type DeploymentProgressStep = z.infer<typeof DeploymentProgressStepSchema>;
35
+ export declare const DeploymentProgressStepsSchema: z.ZodArray<z.ZodObject<{
36
+ code: z.ZodEnum<{
37
+ deployment_queued: "deployment_queued";
38
+ prepare_source: "prepare_source";
39
+ build_artifact: "build_artifact";
40
+ publish_site: "publish_site";
41
+ site_released: "site_released";
42
+ cleanup_release: "cleanup_release";
43
+ }>;
44
+ status: z.ZodEnum<{
45
+ failed: "failed";
46
+ succeeded: "succeeded";
47
+ running: "running";
48
+ }>;
49
+ message: z.ZodString;
50
+ }, z.core.$strict>>;
51
+ export type DeploymentProgressSteps = z.infer<typeof DeploymentProgressStepsSchema>;