@vcp-dev/contracts 0.9.5 → 0.10.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 (42) hide show
  1. package/dist/application-template.d.ts +754 -0
  2. package/dist/cms-application-provisioning.d.ts +92 -0
  3. package/dist/cms-collection-binding.d.ts +1 -1
  4. package/dist/cms-page-directory.d.ts +7 -7
  5. package/dist/connect-dynamic-collection.d.ts +6 -6
  6. package/dist/connect-form.d.ts +2 -2
  7. package/dist/conversion-hints.d.ts +1 -1
  8. package/dist/custom-domain.d.ts +2 -2
  9. package/dist/deployment-progress.d.ts +3 -3
  10. package/dist/designer-page-library.d.ts +14 -14
  11. package/dist/external-site-edit.d.ts +9 -9
  12. package/dist/form-design.d.ts +40 -40
  13. package/dist/google-search-console.d.ts +15 -15
  14. package/dist/index.d.ts +160 -147
  15. package/dist/index.js +1 -1
  16. package/dist/input-context-bundle.d.ts +8 -8
  17. package/dist/knowledge-source-readiness.d.ts +5 -5
  18. package/dist/launcher-prompt-templates.d.ts +8 -8
  19. package/dist/product-search.d.ts +2 -2
  20. package/dist/site-build.d.ts +2 -2
  21. package/dist/site-edit-event.d.ts +1 -1
  22. package/dist/site-edit-operation-value.d.ts +5 -0
  23. package/dist/site-edit-operation.d.ts +49 -40
  24. package/dist/site-edit-property-change.d.ts +27 -0
  25. package/dist/site-edit-property-policy.d.ts +12 -0
  26. package/dist/site-edit-property-read.d.ts +225 -0
  27. package/dist/site-edit-render-document.d.ts +221 -59
  28. package/dist/site-edit-style-draft-property.d.ts +11 -0
  29. package/dist/site-edit-version.d.ts +1 -1
  30. package/dist/site-localization-fields.d.ts +6 -6
  31. package/dist/site-publish-domain.d.ts +42 -42
  32. package/dist/site-publish-workflow.d.ts +35 -35
  33. package/dist/site-workflow.d.ts +6 -6
  34. package/dist/step2-site-initialization.d.ts +6 -6
  35. package/dist/step3-digital-employee-analysis.d.ts +12 -12
  36. package/dist/step5-strategy.d.ts +76 -76
  37. package/dist/step6-design.d.ts +3 -3
  38. package/dist/step6-gpt-design.d.ts +3 -3
  39. package/dist/template-upgrade-observability.d.ts +4 -4
  40. package/dist/workspace-resource-operation.d.ts +33 -25
  41. package/package.json +1 -1
  42. package/dist/site-edit-element-property.d.ts +0 -10
@@ -382,11 +382,11 @@ export declare const Step6DesignRecommendationSchema: z.ZodObject<{
382
382
  }, z.core.$strict>;
383
383
  conversion: z.ZodOptional<z.ZodObject<{
384
384
  protocol: z.ZodEnum<{
385
+ route: "route";
385
386
  external: "external";
386
387
  phone: "phone";
387
388
  form: "form";
388
389
  download: "download";
389
- route: "route";
390
390
  }>;
391
391
  ctaLabel: z.ZodString;
392
392
  ctaTarget: z.ZodOptional<z.ZodString>;
@@ -619,11 +619,11 @@ export declare const Step6DesignRecommendationsResponseSchema: z.ZodObject<{
619
619
  }, z.core.$strict>;
620
620
  conversion: z.ZodOptional<z.ZodObject<{
621
621
  protocol: z.ZodEnum<{
622
+ route: "route";
622
623
  external: "external";
623
624
  phone: "phone";
624
625
  form: "form";
625
626
  download: "download";
626
- route: "route";
627
627
  }>;
628
628
  ctaLabel: z.ZodString;
629
629
  ctaTarget: z.ZodOptional<z.ZodString>;
@@ -944,11 +944,11 @@ export declare const Step6DesignRecommendationModelOutputSchema: z.ZodObject<{
944
944
  }, z.core.$strict>>;
945
945
  conversion: z.ZodOptional<z.ZodObject<{
946
946
  protocol: z.ZodEnum<{
947
+ route: "route";
947
948
  external: "external";
948
949
  phone: "phone";
949
950
  form: "form";
950
951
  download: "download";
951
- route: "route";
952
952
  }>;
953
953
  ctaLabel: z.ZodString;
954
954
  ctaTarget: z.ZodOptional<z.ZodString>;
@@ -45,11 +45,11 @@ export declare const Step6GptDesignRecommendationModelOutputSchema: z.ZodObject<
45
45
  }, z.core.$strict>>;
46
46
  conversion: z.ZodOptional<z.ZodObject<{
47
47
  protocol: z.ZodEnum<{
48
+ route: "route";
48
49
  external: "external";
49
50
  phone: "phone";
50
51
  form: "form";
51
52
  download: "download";
52
- route: "route";
53
53
  }>;
54
54
  ctaLabel: z.ZodString;
55
55
  ctaTarget: z.ZodOptional<z.ZodString>;
@@ -103,11 +103,11 @@ export declare const Step6DesignAgentRecommendationsResponseSchema: z.ZodUnion<r
103
103
  }, z.core.$strict>>;
104
104
  conversion: z.ZodOptional<z.ZodObject<{
105
105
  protocol: z.ZodEnum<{
106
+ route: "route";
106
107
  external: "external";
107
108
  phone: "phone";
108
109
  form: "form";
109
110
  download: "download";
110
- route: "route";
111
111
  }>;
112
112
  ctaLabel: z.ZodString;
113
113
  ctaTarget: z.ZodOptional<z.ZodString>;
@@ -155,11 +155,11 @@ export declare const Step6DesignAgentRecommendationsResponseSchema: z.ZodUnion<r
155
155
  }, z.core.$strict>>;
156
156
  conversion: z.ZodOptional<z.ZodObject<{
157
157
  protocol: z.ZodEnum<{
158
+ route: "route";
158
159
  external: "external";
159
160
  phone: "phone";
160
161
  form: "form";
161
162
  download: "download";
162
- route: "route";
163
163
  }>;
164
164
  ctaLabel: z.ZodString;
165
165
  ctaTarget: z.ZodOptional<z.ZodString>;
@@ -1,12 +1,12 @@
1
1
  import { z } from "zod";
2
2
  export declare const TemplateUpgradeOutcomeSchema: z.ZodEnum<{
3
+ skipped: "skipped";
3
4
  blocked: "blocked";
4
5
  paused: "paused";
5
6
  validation_failed: "validation_failed";
6
7
  eligible: "eligible";
7
8
  fast_path: "fast_path";
8
9
  upgraded: "upgraded";
9
- skipped: "skipped";
10
10
  lock_skipped: "lock_skipped";
11
11
  cas_aborted: "cas_aborted";
12
12
  }>;
@@ -19,8 +19,8 @@ export declare const TemplateUpgradeValidationStageSchema: z.ZodEnum<{
19
19
  }>;
20
20
  export type TemplateUpgradeValidationStage = z.infer<typeof TemplateUpgradeValidationStageSchema>;
21
21
  export declare const TemplateUpgradeCasOutcomeSchema: z.ZodEnum<{
22
- promoted: "promoted";
23
22
  not_attempted: "not_attempted";
23
+ promoted: "promoted";
24
24
  aborted: "aborted";
25
25
  }>;
26
26
  export type TemplateUpgradeCasOutcome = z.infer<typeof TemplateUpgradeCasOutcomeSchema>;
@@ -29,13 +29,13 @@ export declare const RecordTemplateUpgradeEventRequestSchema: z.ZodObject<{
29
29
  from_version: z.ZodNullable<z.ZodString>;
30
30
  to_version: z.ZodString;
31
31
  outcome: z.ZodEnum<{
32
+ skipped: "skipped";
32
33
  blocked: "blocked";
33
34
  paused: "paused";
34
35
  validation_failed: "validation_failed";
35
36
  eligible: "eligible";
36
37
  fast_path: "fast_path";
37
38
  upgraded: "upgraded";
38
- skipped: "skipped";
39
39
  lock_skipped: "lock_skipped";
40
40
  cas_aborted: "cas_aborted";
41
41
  }>;
@@ -50,8 +50,8 @@ export declare const RecordTemplateUpgradeEventRequestSchema: z.ZodObject<{
50
50
  validation: "validation";
51
51
  }>>;
52
52
  cas_outcome: z.ZodNullable<z.ZodEnum<{
53
- promoted: "promoted";
54
53
  not_attempted: "not_attempted";
54
+ promoted: "promoted";
55
55
  aborted: "aborted";
56
56
  }>>;
57
57
  }, z.core.$strict>;
@@ -1,14 +1,14 @@
1
1
  import { z } from "zod";
2
2
  export declare const WorkspaceResourceKindSchema: z.ZodEnum<{
3
- pages: "pages";
4
3
  page: "page";
4
+ pages: "pages";
5
5
  component: "component";
6
6
  }>;
7
7
  export type WorkspaceResourceKind = z.infer<typeof WorkspaceResourceKindSchema>;
8
8
  export declare const WorkspaceResourceOperationSummarySchema: z.ZodObject<{
9
9
  resource_kind: z.ZodEnum<{
10
- pages: "pages";
11
10
  page: "page";
11
+ pages: "pages";
12
12
  component: "component";
13
13
  }>;
14
14
  resource_name: z.ZodString;
@@ -40,13 +40,13 @@ export declare const WorkspaceResourceOperationTransientInputSchema: z.ZodObject
40
40
  templateId: z.ZodOptional<z.ZodString>;
41
41
  }, z.core.$strict>;
42
42
  kind: z.ZodEnum<{
43
+ "set-props": "set-props";
43
44
  "insert-child": "insert-child";
44
45
  "update-text": "update-text";
45
46
  "update-array-item": "update-array-item";
46
47
  "remove-node": "remove-node";
47
48
  "move-node": "move-node";
48
49
  "set-class-name-source": "set-class-name-source";
49
- "set-props": "set-props";
50
50
  "apply-style-draft": "apply-style-draft";
51
51
  "source-edit": "source-edit";
52
52
  "insert-page-resource": "insert-page-resource";
@@ -235,15 +235,19 @@ export declare const WorkspaceResourceOperationTransientInputSchema: z.ZodObject
235
235
  }, z.core.$strip>;
236
236
  }, z.core.$strip>, z.ZodObject<{
237
237
  kind: z.ZodLiteral<"set-props">;
238
- props: z.ZodRecord<z.ZodEnum<{
239
- src: "src";
240
- alt: "alt";
241
- poster: "poster";
242
- href: "href";
243
- width: "width";
244
- height: "height";
245
- }> & z.core.$partial, z.ZodString>;
246
- }, z.core.$strip>, z.ZodObject<{
238
+ scope: z.ZodEnum<{
239
+ template: "template";
240
+ selection: "selection";
241
+ }>;
242
+ changes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
243
+ operation: z.ZodLiteral<"set">;
244
+ name: z.ZodString;
245
+ value: z.ZodType<import("./site-edit-operation-value.js").SiteEditOperationValue, unknown, z.core.$ZodTypeInternals<import("./site-edit-operation-value.js").SiteEditOperationValue, unknown>>;
246
+ }, z.core.$strict>, z.ZodObject<{
247
+ operation: z.ZodLiteral<"remove">;
248
+ name: z.ZodString;
249
+ }, z.core.$strict>], "operation">>;
250
+ }, z.core.$strict>, z.ZodObject<{
247
251
  kind: z.ZodLiteral<"apply-style-draft">;
248
252
  className: z.ZodOptional<z.ZodObject<{
249
253
  filePath: z.ZodString;
@@ -307,8 +311,8 @@ export declare const WorkspaceResourceOperationTransientInputSchema: z.ZodObject
307
311
  artifact: z.ZodObject<{
308
312
  resource_id: z.ZodString;
309
313
  resource_type: z.ZodEnum<{
310
- pages: "pages";
311
314
  page: "page";
315
+ pages: "pages";
312
316
  }>;
313
317
  resolved_version: z.ZodNumber;
314
318
  revision_id: z.ZodOptional<z.ZodString>;
@@ -391,8 +395,8 @@ export declare const WorkspaceResourceOperationClientMessageSchema: z.ZodObject<
391
395
  client_message_id: z.ZodString;
392
396
  display: z.ZodObject<{
393
397
  resource_kind: z.ZodEnum<{
394
- pages: "pages";
395
398
  page: "page";
399
+ pages: "pages";
396
400
  component: "component";
397
401
  }>;
398
402
  resource_name: z.ZodString;
@@ -413,13 +417,13 @@ export declare const WorkspaceResourceOperationClientMessageSchema: z.ZodObject<
413
417
  templateId: z.ZodOptional<z.ZodString>;
414
418
  }, z.core.$strict>;
415
419
  kind: z.ZodEnum<{
420
+ "set-props": "set-props";
416
421
  "insert-child": "insert-child";
417
422
  "update-text": "update-text";
418
423
  "update-array-item": "update-array-item";
419
424
  "remove-node": "remove-node";
420
425
  "move-node": "move-node";
421
426
  "set-class-name-source": "set-class-name-source";
422
- "set-props": "set-props";
423
427
  "apply-style-draft": "apply-style-draft";
424
428
  "source-edit": "source-edit";
425
429
  "insert-page-resource": "insert-page-resource";
@@ -608,15 +612,19 @@ export declare const WorkspaceResourceOperationClientMessageSchema: z.ZodObject<
608
612
  }, z.core.$strip>;
609
613
  }, z.core.$strip>, z.ZodObject<{
610
614
  kind: z.ZodLiteral<"set-props">;
611
- props: z.ZodRecord<z.ZodEnum<{
612
- src: "src";
613
- alt: "alt";
614
- poster: "poster";
615
- href: "href";
616
- width: "width";
617
- height: "height";
618
- }> & z.core.$partial, z.ZodString>;
619
- }, z.core.$strip>, z.ZodObject<{
615
+ scope: z.ZodEnum<{
616
+ template: "template";
617
+ selection: "selection";
618
+ }>;
619
+ changes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
620
+ operation: z.ZodLiteral<"set">;
621
+ name: z.ZodString;
622
+ value: z.ZodType<import("./site-edit-operation-value.js").SiteEditOperationValue, unknown, z.core.$ZodTypeInternals<import("./site-edit-operation-value.js").SiteEditOperationValue, unknown>>;
623
+ }, z.core.$strict>, z.ZodObject<{
624
+ operation: z.ZodLiteral<"remove">;
625
+ name: z.ZodString;
626
+ }, z.core.$strict>], "operation">>;
627
+ }, z.core.$strict>, z.ZodObject<{
620
628
  kind: z.ZodLiteral<"apply-style-draft">;
621
629
  className: z.ZodOptional<z.ZodObject<{
622
630
  filePath: z.ZodString;
@@ -680,8 +688,8 @@ export declare const WorkspaceResourceOperationClientMessageSchema: z.ZodObject<
680
688
  artifact: z.ZodObject<{
681
689
  resource_id: z.ZodString;
682
690
  resource_type: z.ZodEnum<{
683
- pages: "pages";
684
691
  page: "page";
692
+ pages: "pages";
685
693
  }>;
686
694
  resolved_version: z.ZodNumber;
687
695
  revision_id: z.ZodOptional<z.ZodString>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vcp-dev/contracts",
3
- "version": "0.9.5",
3
+ "version": "0.10.0",
4
4
  "type": "module",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {
@@ -1,10 +0,0 @@
1
- import { z } from "zod";
2
- export declare const SiteEditElementPropertySchema: z.ZodEnum<{
3
- src: "src";
4
- alt: "alt";
5
- poster: "poster";
6
- href: "href";
7
- width: "width";
8
- height: "height";
9
- }>;
10
- export type SiteEditElementProperty = z.infer<typeof SiteEditElementPropertySchema>;