@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.
Files changed (44) hide show
  1. package/dist/api-response.d.ts +11 -0
  2. package/dist/cms-collection-binding.d.ts +2 -2
  3. package/dist/cms-page-directory.d.ts +245 -0
  4. package/dist/cms-site-id.d.ts +4 -0
  5. package/dist/connect-dynamic-collection.d.ts +13 -9
  6. package/dist/connect-form.d.ts +5 -3
  7. package/dist/crawler-task-service.d.ts +352 -0
  8. package/dist/custom-domain.d.ts +36 -2
  9. package/dist/customer-materials.d.ts +196 -0
  10. package/dist/deployment-progress.d.ts +51 -0
  11. package/dist/designer-component-library.d.ts +9 -7
  12. package/dist/designer-page-library.d.ts +36 -40
  13. package/dist/external-site-edit.d.ts +258 -0
  14. package/dist/firecrawl-internal.d.ts +103 -0
  15. package/dist/form-design.d.ts +106 -108
  16. package/dist/google-search-console.d.ts +316 -0
  17. package/dist/index.d.ts +5493 -1916
  18. package/dist/index.js +1 -1
  19. package/dist/input-context-bundle.d.ts +15 -15
  20. package/dist/internal-entity-id.d.ts +37 -0
  21. package/dist/launcher-prompt-templates.d.ts +639 -0
  22. package/dist/media-library.d.ts +164 -0
  23. package/dist/product-search.d.ts +227 -0
  24. package/dist/publish-quality.d.ts +92 -0
  25. package/dist/site-edit-capability.d.ts +6 -6
  26. package/dist/site-edit-event.d.ts +15 -7
  27. package/dist/site-edit-operation.d.ts +57 -15
  28. package/dist/site-edit-patch-plan.d.ts +2 -2
  29. package/dist/site-edit-render-document.d.ts +27 -23
  30. package/dist/site-edit-version.d.ts +1 -1
  31. package/dist/site-preview.d.ts +50 -0
  32. package/dist/site-workflow.d.ts +1006 -0
  33. package/dist/sitemap-navigation.d.ts +9 -0
  34. package/dist/step2-site-initialization.d.ts +209 -0
  35. package/dist/step3-digital-employee-analysis.d.ts +695 -0
  36. package/dist/step4-diagnosis.d.ts +204 -0
  37. package/dist/step5-strategy.d.ts +2697 -0
  38. package/dist/step6-design.d.ts +672 -0
  39. package/dist/template-upgrade-observability.d.ts +4 -4
  40. package/dist/user-facing-copy.d.ts +1 -0
  41. package/dist/workspace-design-apply.d.ts +1 -1
  42. package/dist/workspace-resource-operation.d.ts +722 -0
  43. package/package.json +2 -1
  44. package/dist/publish-plan.d.ts +0 -54
@@ -1,7 +1,7 @@
1
1
  import { z } from "zod";
2
2
  export declare const InputSourceTypeSchema: z.ZodEnum<{
3
- text: "text";
4
3
  url: "url";
4
+ text: "text";
5
5
  document: "document";
6
6
  image: "image";
7
7
  }>;
@@ -19,8 +19,8 @@ export declare const InputBundleStatusSchema: z.ZodEnum<{
19
19
  }>;
20
20
  export type InputBundleStatus = z.infer<typeof InputBundleStatusSchema>;
21
21
  export declare const ExtractedFactKindSchema: z.ZodEnum<{
22
- copy: "copy";
23
22
  product: "product";
23
+ copy: "copy";
24
24
  price: "price";
25
25
  contact: "contact";
26
26
  audience: "audience";
@@ -29,14 +29,14 @@ export declare const ExtractedFactKindSchema: z.ZodEnum<{
29
29
  export declare const ExtractedFactSchema: z.ZodObject<{
30
30
  fact: z.ZodString;
31
31
  kind: z.ZodEnum<{
32
- copy: "copy";
33
32
  product: "product";
33
+ copy: "copy";
34
34
  price: "price";
35
35
  contact: "contact";
36
36
  audience: "audience";
37
37
  other: "other";
38
38
  }>;
39
- source_id: z.ZodString;
39
+ source_id: z.ZodUUID;
40
40
  quote: z.ZodString;
41
41
  trust: z.ZodDefault<z.ZodEnum<{
42
42
  verbatim: "verbatim";
@@ -50,7 +50,7 @@ export declare const ReferencePagePatternSchema: z.ZodObject<{
50
50
  }, z.core.$strip>;
51
51
  export type ReferencePagePattern = z.infer<typeof ReferencePagePatternSchema>;
52
52
  export declare const ReferenceSignalsSchema: z.ZodObject<{
53
- source_id: z.ZodString;
53
+ source_id: z.ZodUUID;
54
54
  nav_structure: z.ZodArray<z.ZodString>;
55
55
  page_patterns: z.ZodArray<z.ZodObject<{
56
56
  page_type: z.ZodString;
@@ -61,10 +61,10 @@ export declare const ReferenceSignalsSchema: z.ZodObject<{
61
61
  }, z.core.$strip>;
62
62
  export type ReferenceSignals = z.infer<typeof ReferenceSignalsSchema>;
63
63
  export declare const InputSourceSchema: z.ZodObject<{
64
- source_id: z.ZodString;
64
+ source_id: z.ZodUUID;
65
65
  type: z.ZodEnum<{
66
- text: "text";
67
66
  url: "url";
67
+ text: "text";
68
68
  document: "document";
69
69
  image: "image";
70
70
  }>;
@@ -84,7 +84,7 @@ export declare const InputConflictSchema: z.ZodObject<{
84
84
  topic: z.ZodString;
85
85
  variants: z.ZodArray<z.ZodObject<{
86
86
  value: z.ZodString;
87
- source_id: z.ZodString;
87
+ source_id: z.ZodUUID;
88
88
  }, z.core.$strip>>;
89
89
  }, z.core.$strip>;
90
90
  export type InputConflict = z.infer<typeof InputConflictSchema>;
@@ -187,7 +187,7 @@ export type CreateTextInputSourceRequest = z.infer<typeof CreateTextInputSourceR
187
187
  export type CreateUrlInputSourceRequest = z.infer<typeof CreateUrlInputSourceRequestSchema>;
188
188
  export declare const InputContextBundleSchema: z.ZodObject<{
189
189
  version: z.ZodLiteral<1>;
190
- site_id: z.ZodString;
190
+ site_id: z.ZodUUID;
191
191
  tenant_id: z.ZodString;
192
192
  user_prompt: z.ZodString;
193
193
  status: z.ZodEnum<{
@@ -196,10 +196,10 @@ export declare const InputContextBundleSchema: z.ZodObject<{
196
196
  pending: "pending";
197
197
  }>;
198
198
  sources: z.ZodArray<z.ZodObject<{
199
- source_id: z.ZodString;
199
+ source_id: z.ZodUUID;
200
200
  type: z.ZodEnum<{
201
- text: "text";
202
201
  url: "url";
202
+ text: "text";
203
203
  document: "document";
204
204
  image: "image";
205
205
  }>;
@@ -217,14 +217,14 @@ export declare const InputContextBundleSchema: z.ZodObject<{
217
217
  facts: z.ZodArray<z.ZodObject<{
218
218
  fact: z.ZodString;
219
219
  kind: z.ZodEnum<{
220
- copy: "copy";
221
220
  product: "product";
221
+ copy: "copy";
222
222
  price: "price";
223
223
  contact: "contact";
224
224
  audience: "audience";
225
225
  other: "other";
226
226
  }>;
227
- source_id: z.ZodString;
227
+ source_id: z.ZodUUID;
228
228
  quote: z.ZodString;
229
229
  trust: z.ZodDefault<z.ZodEnum<{
230
230
  verbatim: "verbatim";
@@ -232,7 +232,7 @@ export declare const InputContextBundleSchema: z.ZodObject<{
232
232
  }>>;
233
233
  }, z.core.$strip>>;
234
234
  reference: z.ZodOptional<z.ZodObject<{
235
- source_id: z.ZodString;
235
+ source_id: z.ZodUUID;
236
236
  nav_structure: z.ZodArray<z.ZodString>;
237
237
  page_patterns: z.ZodArray<z.ZodObject<{
238
238
  page_type: z.ZodString;
@@ -245,7 +245,7 @@ export declare const InputContextBundleSchema: z.ZodObject<{
245
245
  topic: z.ZodString;
246
246
  variants: z.ZodArray<z.ZodObject<{
247
247
  value: z.ZodString;
248
- source_id: z.ZodString;
248
+ source_id: z.ZodUUID;
249
249
  }, z.core.$strip>>;
250
250
  }, z.core.$strip>>;
251
251
  }, z.core.$strip>;
@@ -0,0 +1,37 @@
1
+ import { z } from "zod";
2
+ /**
3
+ * IDs for persisted entities whose lifecycle is owned by VCP.
4
+ * Tenant IDs, provider IDs, business keys, content IDs and polymorphic IDs do
5
+ * not use this schema.
6
+ */
7
+ export declare const InternalEntityIdSchema: z.ZodUUID;
8
+ export type InternalEntityId = z.infer<typeof InternalEntityIdSchema>;
9
+ export declare const UserIdSchema: z.ZodUUID;
10
+ export declare const AuthIdentityIdSchema: z.ZodUUID;
11
+ export declare const AuthSessionIdSchema: z.ZodUUID;
12
+ export declare const AuthTokenIdSchema: z.ZodUUID;
13
+ export declare const AuthOidcStateIdSchema: z.ZodUUID;
14
+ export declare const AuthLoginCodeIdSchema: z.ZodUUID;
15
+ export declare const AuthWsTicketIdSchema: z.ZodUUID;
16
+ export declare const SiteIdSchema: z.ZodUUID;
17
+ export declare const BriefIdSchema: z.ZodUUID;
18
+ export declare const ClarifySessionIdSchema: z.ZodUUID;
19
+ export declare const SitemapIdSchema: z.ZodUUID;
20
+ export declare const DesignPlanIdSchema: z.ZodUUID;
21
+ export declare const SnapshotIdSchema: z.ZodUUID;
22
+ export declare const SiteVersionIdSchema: z.ZodUUID;
23
+ export declare const AgentRunIdSchema: z.ZodUUID;
24
+ export declare const AgentEventIdSchema: z.ZodUUID;
25
+ export declare const SandboxSessionIdSchema: z.ZodUUID;
26
+ export declare const DeploymentIdSchema: z.ZodUUID;
27
+ export declare const DeploymentJobIdSchema: z.ZodUUID;
28
+ export declare const SiteOperationLockIdSchema: z.ZodUUID;
29
+ export declare const SiteWorkflowIdSchema: z.ZodUUID;
30
+ export declare const SiteWorkflowTaskRefIdSchema: z.ZodUUID;
31
+ export declare const FormDesignOperationRecordIdSchema: z.ZodUUID;
32
+ export declare const SiteTemplateUpgradeStateIdSchema: z.ZodUUID;
33
+ export declare const UsageRecordIdSchema: z.ZodUUID;
34
+ export declare const InputContextSourceIdSchema: z.ZodUUID;
35
+ export declare const MediaResolutionCacheIdSchema: z.ZodUUID;
36
+ export declare const AuditLogIdSchema: z.ZodUUID;
37
+ export declare const CmsCollectionBindingIdSchema: z.ZodUUID;