@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
@@ -0,0 +1,164 @@
1
+ import { z } from "zod";
2
+ export declare const MEDIA_LIBRARY_MAX_BYTES: number;
3
+ export declare const MEDIA_LIBRARY_IMAGE_MAX_BYTES: number;
4
+ export declare const MEDIA_LIBRARY_IMAGE_EXTENSIONS: readonly ["jpg", "jpeg", "png", "gif", "webp", "bmp"];
5
+ export declare const MEDIA_LIBRARY_VIDEO_EXTENSIONS: readonly ["mp4", "avi", "mov", "webm", "mkv"];
6
+ export declare const MEDIA_LIBRARY_AUDIO_EXTENSIONS: readonly ["mp3", "wav", "aac", "flac", "ogg", "wma", "m4a"];
7
+ export declare const MEDIA_LIBRARY_DOCUMENT_EXTENSIONS: readonly ["pdf", "doc", "docx", "xls", "xlsx", "ppt", "pptx", "txt", "md", "csv"];
8
+ export declare const MEDIA_LIBRARY_FILE_EXTENSIONS: readonly ["pdf", "doc", "docx", "xls", "xlsx", "ppt", "pptx", "txt", "md", "csv", "zip", "rar", "json", "xmind", "psd", "ai", "fig", "sketch"];
9
+ export declare const MEDIA_LIBRARY_EXTENSIONS: readonly ["jpg", "jpeg", "png", "gif", "webp", "bmp", "mp4", "avi", "mov", "webm", "mkv", "mp3", "wav", "aac", "flac", "ogg", "wma", "m4a", "pdf", "doc", "docx", "xls", "xlsx", "ppt", "pptx", "txt", "md", "csv", "zip", "rar", "json", "xmind", "psd", "ai", "fig", "sketch"];
10
+ export declare const MEDIA_LIBRARY_IMAGE_MIME_TYPES: readonly ["image/jpeg", "image/png", "image/gif", "image/webp", "image/bmp"];
11
+ export declare const MEDIA_LIBRARY_VIDEO_MIME_TYPES: readonly ["video/mp4", "video/x-msvideo", "video/quicktime", "video/webm", "video/x-matroska"];
12
+ export declare const MEDIA_LIBRARY_AUDIO_MIME_TYPES: readonly ["audio/mpeg", "audio/wav", "audio/x-wav", "audio/vnd.wave", "audio/aac", "audio/flac", "audio/x-flac", "audio/ogg", "audio/x-ms-wma", "audio/mp4", "audio/x-m4a"];
13
+ export declare const MEDIA_LIBRARY_MIME_TYPES: readonly ["image/jpeg", "image/png", "image/gif", "image/webp", "image/bmp", "video/mp4", "video/x-msvideo", "video/quicktime", "video/webm", "video/x-matroska", "audio/mpeg", "audio/wav", "audio/x-wav", "audio/vnd.wave", "audio/aac", "audio/flac", "audio/x-flac", "audio/ogg", "audio/x-ms-wma", "audio/mp4", "audio/x-m4a"];
14
+ export declare const MediaLibraryFileTypeSchema: z.ZodEnum<{
15
+ file: "file";
16
+ image: "image";
17
+ video: "video";
18
+ audio: "audio";
19
+ }>;
20
+ export type MediaLibraryFileType = z.infer<typeof MediaLibraryFileTypeSchema>;
21
+ export declare const MediaLibrarySourceSchema: z.ZodEnum<{
22
+ external: "external";
23
+ ai_generated: "ai_generated";
24
+ unsplash: "unsplash";
25
+ }>;
26
+ export type MediaLibrarySource = z.infer<typeof MediaLibrarySourceSchema>;
27
+ export declare const MediaLibraryAssetSchema: z.ZodObject<{
28
+ resource_id: z.ZodString;
29
+ name: z.ZodString;
30
+ url: z.ZodString;
31
+ thumbnail_url: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"">]>;
32
+ mime_type: z.ZodString;
33
+ size: z.ZodNumber;
34
+ width: z.ZodNullable<z.ZodNumber>;
35
+ height: z.ZodNullable<z.ZodNumber>;
36
+ source: z.ZodEnum<{
37
+ external: "external";
38
+ ai_generated: "ai_generated";
39
+ unsplash: "unsplash";
40
+ }>;
41
+ created_at: z.ZodNullable<z.ZodString>;
42
+ }, z.core.$strip>;
43
+ export type MediaLibraryAsset = z.infer<typeof MediaLibraryAssetSchema>;
44
+ export declare const ListMediaLibraryAssetsQuerySchema: z.ZodObject<{
45
+ page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
46
+ page_size: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
47
+ keyword: z.ZodOptional<z.ZodString>;
48
+ file_type: z.ZodDefault<z.ZodEnum<{
49
+ file: "file";
50
+ image: "image";
51
+ video: "video";
52
+ audio: "audio";
53
+ }>>;
54
+ }, z.core.$strip>;
55
+ export type ListMediaLibraryAssetsQuery = z.infer<typeof ListMediaLibraryAssetsQuerySchema>;
56
+ export declare const ListMediaLibraryAssetsResponseSchema: z.ZodObject<{
57
+ code: z.ZodLiteral<0>;
58
+ message: z.ZodString;
59
+ data: z.ZodObject<{
60
+ items: z.ZodArray<z.ZodObject<{
61
+ resource_id: z.ZodString;
62
+ name: z.ZodString;
63
+ url: z.ZodString;
64
+ thumbnail_url: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"">]>;
65
+ mime_type: z.ZodString;
66
+ size: z.ZodNumber;
67
+ width: z.ZodNullable<z.ZodNumber>;
68
+ height: z.ZodNullable<z.ZodNumber>;
69
+ source: z.ZodEnum<{
70
+ external: "external";
71
+ ai_generated: "ai_generated";
72
+ unsplash: "unsplash";
73
+ }>;
74
+ created_at: z.ZodNullable<z.ZodString>;
75
+ }, z.core.$strip>>;
76
+ page: z.ZodNumber;
77
+ page_size: z.ZodNumber;
78
+ total: z.ZodNumber;
79
+ }, z.core.$strip>;
80
+ }, z.core.$strip>;
81
+ export type ListMediaLibraryAssetsResponse = z.infer<typeof ListMediaLibraryAssetsResponseSchema>;
82
+ export declare const UploadMediaLibraryAssetResponseSchema: z.ZodObject<{
83
+ code: z.ZodLiteral<0>;
84
+ message: z.ZodString;
85
+ data: z.ZodObject<{
86
+ resource_id: z.ZodString;
87
+ name: z.ZodString;
88
+ url: z.ZodString;
89
+ thumbnail_url: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"">]>;
90
+ mime_type: z.ZodString;
91
+ size: z.ZodNumber;
92
+ width: z.ZodNullable<z.ZodNumber>;
93
+ height: z.ZodNullable<z.ZodNumber>;
94
+ source: z.ZodEnum<{
95
+ external: "external";
96
+ ai_generated: "ai_generated";
97
+ unsplash: "unsplash";
98
+ }>;
99
+ created_at: z.ZodNullable<z.ZodString>;
100
+ }, z.core.$strip>;
101
+ }, z.core.$strip>;
102
+ export type UploadMediaLibraryAssetResponse = z.infer<typeof UploadMediaLibraryAssetResponseSchema>;
103
+ export declare const UnsplashMediaAssetSchema: z.ZodObject<{
104
+ provider_id: z.ZodString;
105
+ url: z.ZodString;
106
+ thumbnail_url: z.ZodString;
107
+ width: z.ZodNumber;
108
+ height: z.ZodNumber;
109
+ alt: z.ZodString;
110
+ photographer_name: z.ZodString;
111
+ photographer_url: z.ZodString;
112
+ photo_url: z.ZodString;
113
+ download_location: z.ZodString;
114
+ dominant_color: z.ZodNullable<z.ZodString>;
115
+ }, z.core.$strip>;
116
+ export type UnsplashMediaAsset = z.infer<typeof UnsplashMediaAssetSchema>;
117
+ export declare const SearchUnsplashMediaQuerySchema: z.ZodObject<{
118
+ query: z.ZodString;
119
+ page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
120
+ page_size: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
121
+ orientation: z.ZodOptional<z.ZodEnum<{
122
+ landscape: "landscape";
123
+ portrait: "portrait";
124
+ squarish: "squarish";
125
+ }>>;
126
+ }, z.core.$strip>;
127
+ export type SearchUnsplashMediaQuery = z.infer<typeof SearchUnsplashMediaQuerySchema>;
128
+ export declare const SearchUnsplashMediaResponseSchema: z.ZodObject<{
129
+ code: z.ZodLiteral<0>;
130
+ message: z.ZodString;
131
+ data: z.ZodObject<{
132
+ items: z.ZodArray<z.ZodObject<{
133
+ provider_id: z.ZodString;
134
+ url: z.ZodString;
135
+ thumbnail_url: z.ZodString;
136
+ width: z.ZodNumber;
137
+ height: z.ZodNumber;
138
+ alt: z.ZodString;
139
+ photographer_name: z.ZodString;
140
+ photographer_url: z.ZodString;
141
+ photo_url: z.ZodString;
142
+ download_location: z.ZodString;
143
+ dominant_color: z.ZodNullable<z.ZodString>;
144
+ }, z.core.$strip>>;
145
+ page: z.ZodNumber;
146
+ page_size: z.ZodNumber;
147
+ total: z.ZodNumber;
148
+ total_pages: z.ZodNumber;
149
+ }, z.core.$strip>;
150
+ }, z.core.$strip>;
151
+ export type SearchUnsplashMediaResponse = z.infer<typeof SearchUnsplashMediaResponseSchema>;
152
+ export declare const UnsplashDownloadLocationSchema: z.ZodString;
153
+ export declare const UseUnsplashMediaRequestSchema: z.ZodObject<{
154
+ download_location: z.ZodString;
155
+ }, z.core.$strip>;
156
+ export type UseUnsplashMediaRequest = z.infer<typeof UseUnsplashMediaRequestSchema>;
157
+ export declare const UseUnsplashMediaResponseSchema: z.ZodObject<{
158
+ code: z.ZodLiteral<0>;
159
+ message: z.ZodString;
160
+ data: z.ZodObject<{
161
+ reported: z.ZodBoolean;
162
+ }, z.core.$strip>;
163
+ }, z.core.$strip>;
164
+ export type UseUnsplashMediaResponse = z.infer<typeof UseUnsplashMediaResponseSchema>;
@@ -0,0 +1,227 @@
1
+ import { z } from "zod";
2
+ export declare const ProductSearchAppSlugSchema: z.ZodString;
3
+ export declare const ProductSearchFieldNameSchema: z.ZodString;
4
+ export declare const ProductSearchValueShapeSchema: z.ZodEnum<{
5
+ number: "number";
6
+ boolean: "boolean";
7
+ text: "text";
8
+ select: "select";
9
+ multi_select: "multi_select";
10
+ tags: "tags";
11
+ category_list: "category_list";
12
+ }>;
13
+ export declare const ProductSearchRouteIdSchema: z.ZodString;
14
+ export declare const ProductSearchFilterMetaSchema: z.ZodObject<{
15
+ minimum: z.ZodNumber;
16
+ maximum: z.ZodNumber;
17
+ step: z.ZodNumber;
18
+ }, z.core.$strict>;
19
+ export declare const ProductSearchPopularTermsSchema: z.ZodArray<z.ZodString>;
20
+ export declare const ProductSearchPopularTermsReadSchema: z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<string[], string[]>>;
21
+ export declare const ProductSearchAppConfigDraftSchema: z.ZodObject<{
22
+ filter_enabled: z.ZodBoolean;
23
+ selected_fields: z.ZodArray<z.ZodString>;
24
+ selected_card_fields: z.ZodDefault<z.ZodArray<z.ZodString>>;
25
+ popular_terms_enabled: z.ZodDefault<z.ZodBoolean>;
26
+ popular_terms: z.ZodOptional<z.ZodArray<z.ZodString>>;
27
+ }, z.core.$strict>;
28
+ export declare const ProductSearchDraftConfigSchema: z.ZodObject<{
29
+ app_slug: z.ZodString;
30
+ filter_enabled: z.ZodBoolean;
31
+ selected_fields: z.ZodArray<z.ZodString>;
32
+ selected_card_fields: z.ZodDefault<z.ZodArray<z.ZodString>>;
33
+ popular_terms_enabled: z.ZodDefault<z.ZodBoolean>;
34
+ popular_terms: z.ZodOptional<z.ZodArray<z.ZodString>>;
35
+ }, z.core.$strict>;
36
+ export declare const ProductSearchInteractionRequestSchema: z.ZodObject<{
37
+ kind: z.ZodLiteral<"product_search_confirmation">;
38
+ baseline_snapshot_id: z.ZodUUID;
39
+ target_route_id: z.ZodString;
40
+ applications: z.ZodArray<z.ZodObject<{
41
+ app_slug: z.ZodString;
42
+ label: z.ZodString;
43
+ popular_terms: z.ZodDefault<z.ZodArray<z.ZodString>>;
44
+ current_config: z.ZodDefault<z.ZodNullable<z.ZodObject<{
45
+ filter_enabled: z.ZodBoolean;
46
+ selected_fields: z.ZodArray<z.ZodString>;
47
+ selected_card_fields: z.ZodDefault<z.ZodArray<z.ZodString>>;
48
+ popular_terms_enabled: z.ZodDefault<z.ZodBoolean>;
49
+ popular_terms: z.ZodOptional<z.ZodArray<z.ZodString>>;
50
+ }, z.core.$strict>>>;
51
+ affected_routes: z.ZodDefault<z.ZodArray<z.ZodString>>;
52
+ fields: z.ZodArray<z.ZodObject<{
53
+ field_name: z.ZodString;
54
+ label: z.ZodString;
55
+ value_shape: z.ZodEnum<{
56
+ number: "number";
57
+ boolean: "boolean";
58
+ text: "text";
59
+ select: "select";
60
+ multi_select: "multi_select";
61
+ tags: "tags";
62
+ category_list: "category_list";
63
+ }>;
64
+ option_count: z.ZodOptional<z.ZodNumber>;
65
+ filter_meta: z.ZodOptional<z.ZodObject<{
66
+ minimum: z.ZodNumber;
67
+ maximum: z.ZodNumber;
68
+ step: z.ZodNumber;
69
+ }, z.core.$strict>>;
70
+ }, z.core.$strict>>;
71
+ }, z.core.$strict>>;
72
+ current_config: z.ZodOptional<z.ZodNullable<z.ZodObject<{
73
+ app_slug: z.ZodString;
74
+ filter_enabled: z.ZodBoolean;
75
+ selected_fields: z.ZodArray<z.ZodString>;
76
+ selected_card_fields: z.ZodDefault<z.ZodArray<z.ZodString>>;
77
+ popular_terms_enabled: z.ZodDefault<z.ZodBoolean>;
78
+ popular_terms: z.ZodOptional<z.ZodArray<z.ZodString>>;
79
+ }, z.core.$strict>>>;
80
+ affected_routes: z.ZodOptional<z.ZodArray<z.ZodString>>;
81
+ }, z.core.$strict>;
82
+ export declare const ProductSearchInteractionResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
83
+ kind: z.ZodLiteral<"product_search_confirmation">;
84
+ action: z.ZodEnum<{
85
+ confirm: "confirm";
86
+ modify: "modify";
87
+ }>;
88
+ app_slug: z.ZodString;
89
+ filter_enabled: z.ZodBoolean;
90
+ popular_terms_enabled: z.ZodDefault<z.ZodBoolean>;
91
+ selected_fields: z.ZodArray<z.ZodString>;
92
+ selected_card_fields: z.ZodDefault<z.ZodArray<z.ZodString>>;
93
+ }, z.core.$strict>, z.ZodObject<{
94
+ kind: z.ZodLiteral<"product_search_confirmation">;
95
+ action: z.ZodLiteral<"cancel">;
96
+ }, z.core.$strict>]>;
97
+ export declare const ProductSearchRequestSchema: z.ZodObject<{
98
+ q: z.ZodString;
99
+ page: z.ZodNumber;
100
+ page_size: z.ZodUnion<readonly [z.ZodLiteral<9>, z.ZodLiteral<20>]>;
101
+ sort: z.ZodEnum<{
102
+ published_at_desc: "published_at_desc";
103
+ published_at_asc: "published_at_asc";
104
+ product_name_asc: "product_name_asc";
105
+ product_name_desc: "product_name_desc";
106
+ }>;
107
+ filters: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
108
+ values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
109
+ }, z.core.$strict>, z.ZodObject<{
110
+ min: z.ZodOptional<z.ZodNumber>;
111
+ max: z.ZodOptional<z.ZodNumber>;
112
+ include_unlabeled: z.ZodOptional<z.ZodBoolean>;
113
+ }, z.core.$strict>]>>;
114
+ display_fields: z.ZodDefault<z.ZodArray<z.ZodString>>;
115
+ missing_count_fields: z.ZodDefault<z.ZodArray<z.ZodString>>;
116
+ relaxation_count_fields: z.ZodDefault<z.ZodArray<z.ZodString>>;
117
+ facets: z.ZodArray<z.ZodObject<{
118
+ field: z.ZodString;
119
+ query: z.ZodString;
120
+ page: z.ZodNumber;
121
+ page_size: z.ZodLiteral<10>;
122
+ include_values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
123
+ }, z.core.$strict>>;
124
+ }, z.core.$strict>;
125
+ export declare const ProductSearchResponseSchema: z.ZodObject<{
126
+ items: z.ZodArray<z.ZodObject<{
127
+ id: z.ZodNumber;
128
+ thumbnail: z.ZodNullable<z.ZodString>;
129
+ title: z.ZodString;
130
+ summary: z.ZodString;
131
+ category: z.ZodNullable<z.ZodString>;
132
+ field_values: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>>>;
133
+ url: z.ZodString;
134
+ }, z.core.$strict>>;
135
+ page: z.ZodObject<{
136
+ total: z.ZodNumber;
137
+ page: z.ZodNumber;
138
+ page_size: z.ZodUnion<readonly [z.ZodLiteral<9>, z.ZodLiteral<20>]>;
139
+ }, z.core.$strict>;
140
+ facets: z.ZodArray<z.ZodObject<{
141
+ field: z.ZodString;
142
+ total: z.ZodNumber;
143
+ page: z.ZodNumber;
144
+ page_size: z.ZodLiteral<10>;
145
+ values: z.ZodArray<z.ZodObject<{
146
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
147
+ label: z.ZodString;
148
+ count: z.ZodNumber;
149
+ }, z.core.$strict>>;
150
+ selected_values: z.ZodArray<z.ZodObject<{
151
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
152
+ label: z.ZodString;
153
+ count: z.ZodNumber;
154
+ }, z.core.$strict>>;
155
+ }, z.core.$strict>>;
156
+ missing_counts: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodNumber>>;
157
+ relaxation_counts: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodNumber>>;
158
+ }, z.core.$strict>;
159
+ export declare const ProductSearchContractFixtureSchema: z.ZodObject<{
160
+ contract_version: z.ZodLiteral<1>;
161
+ request: z.ZodObject<{
162
+ q: z.ZodString;
163
+ page: z.ZodNumber;
164
+ page_size: z.ZodUnion<readonly [z.ZodLiteral<9>, z.ZodLiteral<20>]>;
165
+ sort: z.ZodEnum<{
166
+ published_at_desc: "published_at_desc";
167
+ published_at_asc: "published_at_asc";
168
+ product_name_asc: "product_name_asc";
169
+ product_name_desc: "product_name_desc";
170
+ }>;
171
+ filters: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
172
+ values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
173
+ }, z.core.$strict>, z.ZodObject<{
174
+ min: z.ZodOptional<z.ZodNumber>;
175
+ max: z.ZodOptional<z.ZodNumber>;
176
+ include_unlabeled: z.ZodOptional<z.ZodBoolean>;
177
+ }, z.core.$strict>]>>;
178
+ display_fields: z.ZodDefault<z.ZodArray<z.ZodString>>;
179
+ missing_count_fields: z.ZodDefault<z.ZodArray<z.ZodString>>;
180
+ relaxation_count_fields: z.ZodDefault<z.ZodArray<z.ZodString>>;
181
+ facets: z.ZodArray<z.ZodObject<{
182
+ field: z.ZodString;
183
+ query: z.ZodString;
184
+ page: z.ZodNumber;
185
+ page_size: z.ZodLiteral<10>;
186
+ include_values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
187
+ }, z.core.$strict>>;
188
+ }, z.core.$strict>;
189
+ response: z.ZodObject<{
190
+ items: z.ZodArray<z.ZodObject<{
191
+ id: z.ZodNumber;
192
+ thumbnail: z.ZodNullable<z.ZodString>;
193
+ title: z.ZodString;
194
+ summary: z.ZodString;
195
+ category: z.ZodNullable<z.ZodString>;
196
+ field_values: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>>>;
197
+ url: z.ZodString;
198
+ }, z.core.$strict>>;
199
+ page: z.ZodObject<{
200
+ total: z.ZodNumber;
201
+ page: z.ZodNumber;
202
+ page_size: z.ZodUnion<readonly [z.ZodLiteral<9>, z.ZodLiteral<20>]>;
203
+ }, z.core.$strict>;
204
+ facets: z.ZodArray<z.ZodObject<{
205
+ field: z.ZodString;
206
+ total: z.ZodNumber;
207
+ page: z.ZodNumber;
208
+ page_size: z.ZodLiteral<10>;
209
+ values: z.ZodArray<z.ZodObject<{
210
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
211
+ label: z.ZodString;
212
+ count: z.ZodNumber;
213
+ }, z.core.$strict>>;
214
+ selected_values: z.ZodArray<z.ZodObject<{
215
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
216
+ label: z.ZodString;
217
+ count: z.ZodNumber;
218
+ }, z.core.$strict>>;
219
+ }, z.core.$strict>>;
220
+ missing_counts: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodNumber>>;
221
+ relaxation_counts: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodNumber>>;
222
+ }, z.core.$strict>;
223
+ }, z.core.$strict>;
224
+ export type ProductSearchInteractionRequest = z.infer<typeof ProductSearchInteractionRequestSchema>;
225
+ export type ProductSearchInteractionResponse = z.infer<typeof ProductSearchInteractionResponseSchema>;
226
+ export type ProductSearchRequest = z.infer<typeof ProductSearchRequestSchema>;
227
+ export type ProductSearchResponse = z.infer<typeof ProductSearchResponseSchema>;
@@ -0,0 +1,92 @@
1
+ import { z } from "zod";
2
+ export declare const SensitiveWordTaskStatusSchema: z.ZodEnum<{
3
+ failed: "failed";
4
+ success: "success";
5
+ queued: "queued";
6
+ processing: "processing";
7
+ partial_failed: "partial_failed";
8
+ }>;
9
+ export type SensitiveWordTaskStatus = z.infer<typeof SensitiveWordTaskStatusSchema>;
10
+ /** CMS keeps "0" for legacy callers that do not participate in VCP publishing. */
11
+ export declare const CmsVcpPublishIdSchema: z.ZodString;
12
+ export declare const VcpPublishIdSchema: z.ZodString;
13
+ export declare const TriggerPublishedSensitiveWordsCheckRequestSchema: z.ZodObject<{
14
+ site_id: z.ZodUUID;
15
+ vcp_publish_id: z.ZodString;
16
+ }, z.core.$strict>;
17
+ export type TriggerPublishedSensitiveWordsCheckRequest = z.infer<typeof TriggerPublishedSensitiveWordsCheckRequestSchema>;
18
+ export declare const TriggerPublishedSensitiveWordsCheckDataSchema: z.ZodObject<{
19
+ task_id: z.ZodNumber;
20
+ status: z.ZodEnum<{
21
+ failed: "failed";
22
+ success: "success";
23
+ queued: "queued";
24
+ processing: "processing";
25
+ partial_failed: "partial_failed";
26
+ }>;
27
+ }, z.core.$strict>;
28
+ export type TriggerPublishedSensitiveWordsCheckData = z.infer<typeof TriggerPublishedSensitiveWordsCheckDataSchema>;
29
+ export declare const TriggerPublishedSensitiveWordsCheckResponseSchema: z.ZodObject<{
30
+ code: z.ZodLiteral<0>;
31
+ data: z.ZodObject<{
32
+ task_id: z.ZodNumber;
33
+ status: z.ZodEnum<{
34
+ failed: "failed";
35
+ success: "success";
36
+ queued: "queued";
37
+ processing: "processing";
38
+ partial_failed: "partial_failed";
39
+ }>;
40
+ }, z.core.$strict>;
41
+ message: z.ZodString;
42
+ }, z.core.$strict>;
43
+ export type TriggerPublishedSensitiveWordsCheckResponse = z.infer<typeof TriggerPublishedSensitiveWordsCheckResponseSchema>;
44
+ export declare const SensitiveWordDetectionSchema: z.ZodObject<{
45
+ task_id: z.ZodNullable<z.ZodNumber>;
46
+ status: z.ZodEnum<{
47
+ failed: "failed";
48
+ success: "success";
49
+ queued: "queued";
50
+ processing: "processing";
51
+ partial_failed: "partial_failed";
52
+ }>;
53
+ }, z.core.$strict>;
54
+ export type SensitiveWordDetection = z.infer<typeof SensitiveWordDetectionSchema>;
55
+ export declare const PublishQualityRecordSchema: z.ZodObject<{
56
+ publish_id: z.ZodString;
57
+ site_id: z.ZodUUID;
58
+ sensitive_word_detection: z.ZodObject<{
59
+ task_id: z.ZodNullable<z.ZodNumber>;
60
+ status: z.ZodEnum<{
61
+ failed: "failed";
62
+ success: "success";
63
+ queued: "queued";
64
+ processing: "processing";
65
+ partial_failed: "partial_failed";
66
+ }>;
67
+ }, z.core.$strict>;
68
+ can_continue: z.ZodBoolean;
69
+ created_at: z.ZodString;
70
+ updated_at: z.ZodString;
71
+ }, z.core.$strict>;
72
+ export type PublishQualityRecord = z.infer<typeof PublishQualityRecordSchema>;
73
+ export declare const PublishQualityResponseSchema: z.ZodObject<{
74
+ publish_quality: z.ZodObject<{
75
+ publish_id: z.ZodString;
76
+ site_id: z.ZodUUID;
77
+ sensitive_word_detection: z.ZodObject<{
78
+ task_id: z.ZodNullable<z.ZodNumber>;
79
+ status: z.ZodEnum<{
80
+ failed: "failed";
81
+ success: "success";
82
+ queued: "queued";
83
+ processing: "processing";
84
+ partial_failed: "partial_failed";
85
+ }>;
86
+ }, z.core.$strict>;
87
+ can_continue: z.ZodBoolean;
88
+ created_at: z.ZodString;
89
+ updated_at: z.ZodString;
90
+ }, z.core.$strict>;
91
+ }, z.core.$strict>;
92
+ export type PublishQualityResponse = z.infer<typeof PublishQualityResponseSchema>;
@@ -9,10 +9,10 @@ export declare const SiteEditBoundaryKindSchema: z.ZodEnum<{
9
9
  export type SiteEditBoundaryKind = z.infer<typeof SiteEditBoundaryKindSchema>;
10
10
  export declare const SiteEditCapabilityModeSchema: z.ZodEnum<{
11
11
  readonly: "readonly";
12
+ unsupported: "unsupported";
12
13
  direct: "direct";
13
14
  proxy: "proxy";
14
15
  upstream: "upstream";
15
- unsupported: "unsupported";
16
16
  }>;
17
17
  export type SiteEditCapabilityMode = z.infer<typeof SiteEditCapabilityModeSchema>;
18
18
  export declare const SiteEditConstraintKindSchema: z.ZodEnum<{
@@ -29,10 +29,10 @@ export type SiteEditConstraintKind = z.infer<typeof SiteEditConstraintKindSchema
29
29
  export declare const SiteEditCapabilityModeViewSchema: z.ZodObject<{
30
30
  mode: z.ZodEnum<{
31
31
  readonly: "readonly";
32
+ unsupported: "unsupported";
32
33
  direct: "direct";
33
34
  proxy: "proxy";
34
35
  upstream: "upstream";
35
- unsupported: "unsupported";
36
36
  }>;
37
37
  reasonCode: z.ZodOptional<z.ZodString>;
38
38
  }, z.core.$strip>;
@@ -61,40 +61,40 @@ export declare const SiteEditNodeCapabilitySnapshotSchema: z.ZodObject<{
61
61
  updateText: z.ZodOptional<z.ZodObject<{
62
62
  mode: z.ZodEnum<{
63
63
  readonly: "readonly";
64
+ unsupported: "unsupported";
64
65
  direct: "direct";
65
66
  proxy: "proxy";
66
67
  upstream: "upstream";
67
- unsupported: "unsupported";
68
68
  }>;
69
69
  reasonCode: z.ZodOptional<z.ZodString>;
70
70
  }, z.core.$strip>>;
71
71
  insertChild: z.ZodOptional<z.ZodObject<{
72
72
  mode: z.ZodEnum<{
73
73
  readonly: "readonly";
74
+ unsupported: "unsupported";
74
75
  direct: "direct";
75
76
  proxy: "proxy";
76
77
  upstream: "upstream";
77
- unsupported: "unsupported";
78
78
  }>;
79
79
  reasonCode: z.ZodOptional<z.ZodString>;
80
80
  }, z.core.$strip>>;
81
81
  move: z.ZodOptional<z.ZodObject<{
82
82
  mode: z.ZodEnum<{
83
83
  readonly: "readonly";
84
+ unsupported: "unsupported";
84
85
  direct: "direct";
85
86
  proxy: "proxy";
86
87
  upstream: "upstream";
87
- unsupported: "unsupported";
88
88
  }>;
89
89
  reasonCode: z.ZodOptional<z.ZodString>;
90
90
  }, z.core.$strip>>;
91
91
  remove: z.ZodOptional<z.ZodObject<{
92
92
  mode: z.ZodEnum<{
93
93
  readonly: "readonly";
94
+ unsupported: "unsupported";
94
95
  direct: "direct";
95
96
  proxy: "proxy";
96
97
  upstream: "upstream";
97
- unsupported: "unsupported";
98
98
  }>;
99
99
  reasonCode: z.ZodOptional<z.ZodString>;
100
100
  }, z.core.$strip>>;
@@ -1,21 +1,21 @@
1
1
  import { z } from "zod";
2
2
  export declare const SiteEditEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3
3
  type: z.ZodLiteral<"site-edit.document.changed">;
4
- siteId: z.ZodString;
5
- snapshotId: z.ZodString;
4
+ siteId: z.ZodUUID;
5
+ snapshotId: z.ZodUUID;
6
6
  routeId: z.ZodString;
7
7
  version: z.ZodNumber;
8
8
  at: z.ZodString;
9
9
  }, z.core.$strip>, z.ZodObject<{
10
10
  type: z.ZodLiteral<"site-edit.operation.planned">;
11
- siteId: z.ZodString;
11
+ siteId: z.ZodUUID;
12
12
  operationId: z.ZodString;
13
- baseSnapshotId: z.ZodString;
13
+ baseSnapshotId: z.ZodUUID;
14
14
  changedFiles: z.ZodArray<z.ZodString>;
15
15
  at: z.ZodString;
16
16
  }, z.core.$strip>, z.ZodObject<{
17
17
  type: z.ZodLiteral<"site-edit.operation.completed">;
18
- siteId: z.ZodString;
18
+ siteId: z.ZodUUID;
19
19
  result: z.ZodObject<{
20
20
  requestId: z.ZodString;
21
21
  kind: z.ZodEnum<{
@@ -29,6 +29,7 @@ export declare const SiteEditEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
29
29
  "apply-style-draft": "apply-style-draft";
30
30
  "source-edit": "source-edit";
31
31
  "insert-page-resource": "insert-page-resource";
32
+ "delete-page-source": "delete-page-source";
32
33
  }>;
33
34
  target: z.ZodDiscriminatedUnion<[z.ZodObject<{
34
35
  kind: z.ZodLiteral<"node">;
@@ -65,18 +66,25 @@ export declare const SiteEditEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
65
66
  final_route: z.ZodString;
66
67
  route_file_path: z.ZodString;
67
68
  }, z.core.$strict>>;
69
+ }, z.core.$strict>, z.ZodObject<{
70
+ kind: z.ZodLiteral<"delete-page-source">;
71
+ deleted_files: z.ZodArray<z.ZodString>;
72
+ updated_files: z.ZodArray<z.ZodString>;
73
+ preserved_shared_files: z.ZodArray<z.ZodString>;
74
+ warnings: z.ZodArray<z.ZodString>;
68
75
  }, z.core.$strict>], "kind">>;
69
76
  }, z.core.$strip>;
70
77
  at: z.ZodString;
71
78
  }, z.core.$strip>, z.ZodObject<{
72
79
  type: z.ZodLiteral<"site-edit.operation.failed">;
73
- siteId: z.ZodString;
80
+ siteId: z.ZodUUID;
74
81
  requestId: z.ZodString;
75
82
  error: z.ZodObject<{
76
83
  code: z.ZodEnum<{
77
84
  VERSION_STALE: "VERSION_STALE";
78
85
  RECOVERY_REQUIRED: "RECOVERY_REQUIRED";
79
86
  NODE_NOT_FOUND: "NODE_NOT_FOUND";
87
+ HOME_PAGE_LOCKED: "HOME_PAGE_LOCKED";
80
88
  ROUTE_NOT_FOUND: "ROUTE_NOT_FOUND";
81
89
  CAPABILITY_REJECTED: "CAPABILITY_REJECTED";
82
90
  CONSTRAINT_VIOLATED: "CONSTRAINT_VIOLATED";
@@ -110,7 +118,7 @@ export declare const SiteEditEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
110
118
  at: z.ZodString;
111
119
  }, z.core.$strip>, z.ZodObject<{
112
120
  type: z.ZodLiteral<"site-edit.capability.changed">;
113
- siteId: z.ZodString;
121
+ siteId: z.ZodUUID;
114
122
  routeId: z.ZodString;
115
123
  keys: z.ZodArray<z.ZodString>;
116
124
  at: z.ZodString;