@vcp-dev/contracts 0.9.6 → 0.10.1

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
@@ -0,0 +1,754 @@
1
+ import { z } from "zod";
2
+ import { FIELD_TYPES } from "./connect-dynamic-collection.js";
3
+ declare const digestSchema: z.ZodString;
4
+ declare const stableKeySchema: z.ZodString;
5
+ declare const applicationTemplateFieldSchema: z.ZodObject<{
6
+ name: z.ZodString;
7
+ label: z.ZodString;
8
+ type: z.ZodEnum<{
9
+ number: "number";
10
+ boolean: "boolean";
11
+ title: "title";
12
+ text: "text";
13
+ richtext: "richtext";
14
+ date: "date";
15
+ datetime: "datetime";
16
+ url: "url";
17
+ email: "email";
18
+ color: "color";
19
+ select: "select";
20
+ multiselect: "multiselect";
21
+ tag: "tag";
22
+ }>;
23
+ required: z.ZodOptional<z.ZodBoolean>;
24
+ options: z.ZodOptional<z.ZodArray<z.ZodString>>;
25
+ }, z.core.$strict>;
26
+ export declare const ApplicationTemplateV1Schema: z.ZodObject<{
27
+ schema_version: z.ZodLiteral<1>;
28
+ application: z.ZodObject<{
29
+ name: z.ZodString;
30
+ slug: z.ZodString;
31
+ collection_purpose: z.ZodOptional<z.ZodEnum<{
32
+ generic: "generic";
33
+ product: "product";
34
+ }>>;
35
+ fields: z.ZodArray<z.ZodObject<{
36
+ name: z.ZodString;
37
+ label: z.ZodString;
38
+ type: z.ZodEnum<{
39
+ number: "number";
40
+ boolean: "boolean";
41
+ title: "title";
42
+ text: "text";
43
+ richtext: "richtext";
44
+ date: "date";
45
+ datetime: "datetime";
46
+ url: "url";
47
+ email: "email";
48
+ color: "color";
49
+ select: "select";
50
+ multiselect: "multiselect";
51
+ tag: "tag";
52
+ }>;
53
+ required: z.ZodOptional<z.ZodBoolean>;
54
+ options: z.ZodOptional<z.ZodArray<z.ZodString>>;
55
+ }, z.core.$strict>>;
56
+ seed_records: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
57
+ }, z.core.$strict>;
58
+ }, z.core.$strict>;
59
+ export type ApplicationTemplateV1 = z.infer<typeof ApplicationTemplateV1Schema>;
60
+ export declare const ApplicationTemplateReferenceSchema: z.ZodObject<{
61
+ templateId: z.ZodString;
62
+ stableKey: z.ZodString;
63
+ resolvedVersion: z.ZodNumber;
64
+ digest: z.ZodString;
65
+ template: z.ZodObject<{
66
+ schema_version: z.ZodLiteral<1>;
67
+ application: z.ZodObject<{
68
+ name: z.ZodString;
69
+ slug: z.ZodString;
70
+ collection_purpose: z.ZodOptional<z.ZodEnum<{
71
+ generic: "generic";
72
+ product: "product";
73
+ }>>;
74
+ fields: z.ZodArray<z.ZodObject<{
75
+ name: z.ZodString;
76
+ label: z.ZodString;
77
+ type: z.ZodEnum<{
78
+ number: "number";
79
+ boolean: "boolean";
80
+ title: "title";
81
+ text: "text";
82
+ richtext: "richtext";
83
+ date: "date";
84
+ datetime: "datetime";
85
+ url: "url";
86
+ email: "email";
87
+ color: "color";
88
+ select: "select";
89
+ multiselect: "multiselect";
90
+ tag: "tag";
91
+ }>;
92
+ required: z.ZodOptional<z.ZodBoolean>;
93
+ options: z.ZodOptional<z.ZodArray<z.ZodString>>;
94
+ }, z.core.$strict>>;
95
+ seed_records: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
96
+ }, z.core.$strict>;
97
+ }, z.core.$strict>;
98
+ }, z.core.$strict>;
99
+ export type ApplicationTemplateReference = z.infer<typeof ApplicationTemplateReferenceSchema>;
100
+ export declare const ApplicationTemplateConsumeDataSchema: z.ZodObject<{
101
+ templateId: z.ZodString;
102
+ stableKey: z.ZodString;
103
+ resolvedVersion: z.ZodNumber;
104
+ digest: z.ZodString;
105
+ template: z.ZodObject<{
106
+ schema_version: z.ZodLiteral<1>;
107
+ application: z.ZodObject<{
108
+ name: z.ZodString;
109
+ slug: z.ZodString;
110
+ collection_purpose: z.ZodOptional<z.ZodEnum<{
111
+ generic: "generic";
112
+ product: "product";
113
+ }>>;
114
+ fields: z.ZodArray<z.ZodObject<{
115
+ name: z.ZodString;
116
+ label: z.ZodString;
117
+ type: z.ZodEnum<{
118
+ number: "number";
119
+ boolean: "boolean";
120
+ title: "title";
121
+ text: "text";
122
+ richtext: "richtext";
123
+ date: "date";
124
+ datetime: "datetime";
125
+ url: "url";
126
+ email: "email";
127
+ color: "color";
128
+ select: "select";
129
+ multiselect: "multiselect";
130
+ tag: "tag";
131
+ }>;
132
+ required: z.ZodOptional<z.ZodBoolean>;
133
+ options: z.ZodOptional<z.ZodArray<z.ZodString>>;
134
+ }, z.core.$strict>>;
135
+ seed_records: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
136
+ }, z.core.$strict>;
137
+ }, z.core.$strict>;
138
+ }, z.core.$strict>;
139
+ export type ApplicationTemplateConsumeData = z.infer<typeof ApplicationTemplateConsumeDataSchema>;
140
+ export declare const APPLICATION_LIBRARY_ERROR_CODES: {
141
+ readonly alreadyCreated: "APPLICATION_ALREADY_CREATED";
142
+ readonly slugConflict: "APPLICATION_SLUG_CONFLICT";
143
+ readonly createInProgress: "APPLICATION_CREATE_IN_PROGRESS";
144
+ readonly cmsUnbound: "APPLICATION_CMS_UNBOUND";
145
+ readonly templateVersionUnavailable: "APPLICATION_TEMPLATE_VERSION_UNAVAILABLE";
146
+ readonly createFailed: "APPLICATION_CREATE_FAILED";
147
+ readonly createResultUnknown: "APPLICATION_CREATE_RESULT_UNKNOWN";
148
+ };
149
+ export type ApplicationLibraryErrorCode = (typeof APPLICATION_LIBRARY_ERROR_CODES)[keyof typeof APPLICATION_LIBRARY_ERROR_CODES];
150
+ export declare const ApplicationLibraryErrorCodeSchema: z.ZodEnum<{
151
+ APPLICATION_ALREADY_CREATED: "APPLICATION_ALREADY_CREATED";
152
+ APPLICATION_SLUG_CONFLICT: "APPLICATION_SLUG_CONFLICT";
153
+ APPLICATION_CREATE_IN_PROGRESS: "APPLICATION_CREATE_IN_PROGRESS";
154
+ APPLICATION_CMS_UNBOUND: "APPLICATION_CMS_UNBOUND";
155
+ APPLICATION_TEMPLATE_VERSION_UNAVAILABLE: "APPLICATION_TEMPLATE_VERSION_UNAVAILABLE";
156
+ APPLICATION_CREATE_FAILED: "APPLICATION_CREATE_FAILED";
157
+ APPLICATION_CREATE_RESULT_UNKNOWN: "APPLICATION_CREATE_RESULT_UNKNOWN";
158
+ }>;
159
+ export declare const InitializationResultSchema: z.ZodObject<{
160
+ category_status: z.ZodEnum<{
161
+ succeeded: "succeeded";
162
+ failed: "failed";
163
+ not_attempted: "not_attempted";
164
+ }>;
165
+ seed_status: z.ZodEnum<{
166
+ succeeded: "succeeded";
167
+ failed: "failed";
168
+ skipped: "skipped";
169
+ partial: "partial";
170
+ }>;
171
+ requested_count: z.ZodNumber;
172
+ written_count: z.ZodNullable<z.ZodNumber>;
173
+ published_count: z.ZodNullable<z.ZodNumber>;
174
+ errors: z.ZodArray<z.ZodObject<{
175
+ stage: z.ZodEnum<{
176
+ category: "category";
177
+ seed: "seed";
178
+ receipt: "receipt";
179
+ }>;
180
+ code: z.ZodString;
181
+ }, z.core.$strict>>;
182
+ }, z.core.$strict>;
183
+ export type InitializationResult = z.infer<typeof InitializationResultSchema>;
184
+ export declare const ApplicationTemplateCatalogItemSchema: z.ZodObject<{
185
+ templateId: z.ZodString;
186
+ stableKey: z.ZodString;
187
+ title: z.ZodString;
188
+ description: z.ZodString;
189
+ thumbnailUrl: z.ZodNullable<z.ZodString>;
190
+ resolvedVersion: z.ZodNumber;
191
+ digest: z.ZodString;
192
+ application: z.ZodObject<{
193
+ name: z.ZodString;
194
+ slug: z.ZodString;
195
+ }, z.core.$strict>;
196
+ categories: z.ZodArray<z.ZodObject<{
197
+ id: z.ZodString;
198
+ key: z.ZodString;
199
+ name: z.ZodString;
200
+ }, z.core.$strict>>;
201
+ tags: z.ZodArray<z.ZodObject<{
202
+ id: z.ZodString;
203
+ key: z.ZodString;
204
+ name: z.ZodString;
205
+ }, z.core.$strict>>;
206
+ status: z.ZodEnum<{
207
+ failed: "failed";
208
+ available: "available";
209
+ creating: "creating";
210
+ created: "created";
211
+ conflict: "conflict";
212
+ }>;
213
+ errorCode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
214
+ APPLICATION_ALREADY_CREATED: "APPLICATION_ALREADY_CREATED";
215
+ APPLICATION_SLUG_CONFLICT: "APPLICATION_SLUG_CONFLICT";
216
+ APPLICATION_CREATE_IN_PROGRESS: "APPLICATION_CREATE_IN_PROGRESS";
217
+ APPLICATION_CMS_UNBOUND: "APPLICATION_CMS_UNBOUND";
218
+ APPLICATION_TEMPLATE_VERSION_UNAVAILABLE: "APPLICATION_TEMPLATE_VERSION_UNAVAILABLE";
219
+ APPLICATION_CREATE_FAILED: "APPLICATION_CREATE_FAILED";
220
+ APPLICATION_CREATE_RESULT_UNKNOWN: "APPLICATION_CREATE_RESULT_UNKNOWN";
221
+ }>>>;
222
+ template: z.ZodOptional<z.ZodObject<{
223
+ schema_version: z.ZodLiteral<1>;
224
+ application: z.ZodObject<{
225
+ name: z.ZodString;
226
+ slug: z.ZodString;
227
+ collection_purpose: z.ZodOptional<z.ZodEnum<{
228
+ generic: "generic";
229
+ product: "product";
230
+ }>>;
231
+ fields: z.ZodArray<z.ZodObject<{
232
+ name: z.ZodString;
233
+ label: z.ZodString;
234
+ type: z.ZodEnum<{
235
+ number: "number";
236
+ boolean: "boolean";
237
+ title: "title";
238
+ text: "text";
239
+ richtext: "richtext";
240
+ date: "date";
241
+ datetime: "datetime";
242
+ url: "url";
243
+ email: "email";
244
+ color: "color";
245
+ select: "select";
246
+ multiselect: "multiselect";
247
+ tag: "tag";
248
+ }>;
249
+ required: z.ZodOptional<z.ZodBoolean>;
250
+ options: z.ZodOptional<z.ZodArray<z.ZodString>>;
251
+ }, z.core.$strict>>;
252
+ seed_records: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
253
+ }, z.core.$strict>;
254
+ }, z.core.$strict>>;
255
+ }, z.core.$strict>;
256
+ export declare const ApplicationTemplateCatalogDataSchema: z.ZodObject<{
257
+ items: z.ZodArray<z.ZodObject<{
258
+ templateId: z.ZodString;
259
+ stableKey: z.ZodString;
260
+ title: z.ZodString;
261
+ description: z.ZodString;
262
+ thumbnailUrl: z.ZodNullable<z.ZodString>;
263
+ resolvedVersion: z.ZodNumber;
264
+ digest: z.ZodString;
265
+ application: z.ZodObject<{
266
+ name: z.ZodString;
267
+ slug: z.ZodString;
268
+ }, z.core.$strict>;
269
+ categories: z.ZodArray<z.ZodObject<{
270
+ id: z.ZodString;
271
+ key: z.ZodString;
272
+ name: z.ZodString;
273
+ }, z.core.$strict>>;
274
+ tags: z.ZodArray<z.ZodObject<{
275
+ id: z.ZodString;
276
+ key: z.ZodString;
277
+ name: z.ZodString;
278
+ }, z.core.$strict>>;
279
+ status: z.ZodEnum<{
280
+ failed: "failed";
281
+ available: "available";
282
+ creating: "creating";
283
+ created: "created";
284
+ conflict: "conflict";
285
+ }>;
286
+ errorCode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
287
+ APPLICATION_ALREADY_CREATED: "APPLICATION_ALREADY_CREATED";
288
+ APPLICATION_SLUG_CONFLICT: "APPLICATION_SLUG_CONFLICT";
289
+ APPLICATION_CREATE_IN_PROGRESS: "APPLICATION_CREATE_IN_PROGRESS";
290
+ APPLICATION_CMS_UNBOUND: "APPLICATION_CMS_UNBOUND";
291
+ APPLICATION_TEMPLATE_VERSION_UNAVAILABLE: "APPLICATION_TEMPLATE_VERSION_UNAVAILABLE";
292
+ APPLICATION_CREATE_FAILED: "APPLICATION_CREATE_FAILED";
293
+ APPLICATION_CREATE_RESULT_UNKNOWN: "APPLICATION_CREATE_RESULT_UNKNOWN";
294
+ }>>>;
295
+ template: z.ZodOptional<z.ZodObject<{
296
+ schema_version: z.ZodLiteral<1>;
297
+ application: z.ZodObject<{
298
+ name: z.ZodString;
299
+ slug: z.ZodString;
300
+ collection_purpose: z.ZodOptional<z.ZodEnum<{
301
+ generic: "generic";
302
+ product: "product";
303
+ }>>;
304
+ fields: z.ZodArray<z.ZodObject<{
305
+ name: z.ZodString;
306
+ label: z.ZodString;
307
+ type: z.ZodEnum<{
308
+ number: "number";
309
+ boolean: "boolean";
310
+ title: "title";
311
+ text: "text";
312
+ richtext: "richtext";
313
+ date: "date";
314
+ datetime: "datetime";
315
+ url: "url";
316
+ email: "email";
317
+ color: "color";
318
+ select: "select";
319
+ multiselect: "multiselect";
320
+ tag: "tag";
321
+ }>;
322
+ required: z.ZodOptional<z.ZodBoolean>;
323
+ options: z.ZodOptional<z.ZodArray<z.ZodString>>;
324
+ }, z.core.$strict>>;
325
+ seed_records: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
326
+ }, z.core.$strict>;
327
+ }, z.core.$strict>>;
328
+ }, z.core.$strict>>;
329
+ }, z.core.$strict>;
330
+ export type ApplicationTemplateCatalogData = z.infer<typeof ApplicationTemplateCatalogDataSchema>;
331
+ export declare const ApplicationTemplateCreateRequestSchema: z.ZodObject<{
332
+ version: z.ZodNumber;
333
+ }, z.core.$strict>;
334
+ export type ApplicationTemplateCreateRequest = z.infer<typeof ApplicationTemplateCreateRequestSchema>;
335
+ export declare const ApplicationTemplateCreatedApplicationSchema: z.ZodObject<{
336
+ app_slug: z.ZodString;
337
+ name: z.ZodString;
338
+ template: z.ZodObject<{
339
+ stable_key: z.ZodString;
340
+ version: z.ZodNumber;
341
+ digest: z.ZodString;
342
+ }, z.core.$strict>;
343
+ }, z.core.$strict>;
344
+ export declare const ApplicationTemplateCreateResponseSchema: z.ZodObject<{
345
+ status: z.ZodLiteral<"created">;
346
+ application: z.ZodObject<{
347
+ app_slug: z.ZodString;
348
+ name: z.ZodString;
349
+ template: z.ZodObject<{
350
+ stable_key: z.ZodString;
351
+ version: z.ZodNumber;
352
+ digest: z.ZodString;
353
+ }, z.core.$strict>;
354
+ }, z.core.$strict>;
355
+ initialization: z.ZodObject<{
356
+ category_status: z.ZodEnum<{
357
+ succeeded: "succeeded";
358
+ failed: "failed";
359
+ not_attempted: "not_attempted";
360
+ }>;
361
+ seed_status: z.ZodEnum<{
362
+ succeeded: "succeeded";
363
+ failed: "failed";
364
+ skipped: "skipped";
365
+ partial: "partial";
366
+ }>;
367
+ requested_count: z.ZodNumber;
368
+ written_count: z.ZodNullable<z.ZodNumber>;
369
+ published_count: z.ZodNullable<z.ZodNumber>;
370
+ errors: z.ZodArray<z.ZodObject<{
371
+ stage: z.ZodEnum<{
372
+ category: "category";
373
+ seed: "seed";
374
+ receipt: "receipt";
375
+ }>;
376
+ code: z.ZodString;
377
+ }, z.core.$strict>>;
378
+ }, z.core.$strict>;
379
+ }, z.core.$strict>;
380
+ export declare const ApplicationCreateResponseSchema: z.ZodObject<{
381
+ status: z.ZodLiteral<"created">;
382
+ application: z.ZodObject<{
383
+ app_slug: z.ZodString;
384
+ name: z.ZodString;
385
+ template: z.ZodObject<{
386
+ stable_key: z.ZodString;
387
+ version: z.ZodNumber;
388
+ digest: z.ZodString;
389
+ }, z.core.$strict>;
390
+ }, z.core.$strict>;
391
+ initialization: z.ZodObject<{
392
+ category_status: z.ZodEnum<{
393
+ succeeded: "succeeded";
394
+ failed: "failed";
395
+ not_attempted: "not_attempted";
396
+ }>;
397
+ seed_status: z.ZodEnum<{
398
+ succeeded: "succeeded";
399
+ failed: "failed";
400
+ skipped: "skipped";
401
+ partial: "partial";
402
+ }>;
403
+ requested_count: z.ZodNumber;
404
+ written_count: z.ZodNullable<z.ZodNumber>;
405
+ published_count: z.ZodNullable<z.ZodNumber>;
406
+ errors: z.ZodArray<z.ZodObject<{
407
+ stage: z.ZodEnum<{
408
+ category: "category";
409
+ seed: "seed";
410
+ receipt: "receipt";
411
+ }>;
412
+ code: z.ZodString;
413
+ }, z.core.$strict>>;
414
+ }, z.core.$strict>;
415
+ }, z.core.$strict>;
416
+ export type ApplicationTemplateCreateResponse = z.infer<typeof ApplicationTemplateCreateResponseSchema>;
417
+ export declare const ApplicationTemplateSourceSchema: z.ZodObject<{
418
+ stable_key: z.ZodString;
419
+ version: z.ZodNumber;
420
+ digest: z.ZodString;
421
+ created_at: z.ZodNullable<z.ZodString>;
422
+ initialization: z.ZodNullable<z.ZodObject<{
423
+ category_status: z.ZodEnum<{
424
+ succeeded: "succeeded";
425
+ failed: "failed";
426
+ not_attempted: "not_attempted";
427
+ }>;
428
+ seed_status: z.ZodEnum<{
429
+ succeeded: "succeeded";
430
+ failed: "failed";
431
+ skipped: "skipped";
432
+ partial: "partial";
433
+ }>;
434
+ requested_count: z.ZodNumber;
435
+ written_count: z.ZodNullable<z.ZodNumber>;
436
+ published_count: z.ZodNullable<z.ZodNumber>;
437
+ errors: z.ZodArray<z.ZodObject<{
438
+ stage: z.ZodEnum<{
439
+ category: "category";
440
+ seed: "seed";
441
+ receipt: "receipt";
442
+ }>;
443
+ code: z.ZodString;
444
+ }, z.core.$strict>>;
445
+ }, z.core.$strict>>;
446
+ }, z.core.$strict>;
447
+ export declare const ApplicationLibraryApplicationSchema: z.ZodObject<{
448
+ app_slug: z.ZodString;
449
+ name: z.ZodString;
450
+ collection_slug: z.ZodString;
451
+ detail_prefix: z.ZodOptional<z.ZodString>;
452
+ source: z.ZodNullable<z.ZodObject<{
453
+ stable_key: z.ZodString;
454
+ version: z.ZodNumber;
455
+ digest: z.ZodString;
456
+ created_at: z.ZodNullable<z.ZodString>;
457
+ initialization: z.ZodNullable<z.ZodObject<{
458
+ category_status: z.ZodEnum<{
459
+ succeeded: "succeeded";
460
+ failed: "failed";
461
+ not_attempted: "not_attempted";
462
+ }>;
463
+ seed_status: z.ZodEnum<{
464
+ succeeded: "succeeded";
465
+ failed: "failed";
466
+ skipped: "skipped";
467
+ partial: "partial";
468
+ }>;
469
+ requested_count: z.ZodNumber;
470
+ written_count: z.ZodNullable<z.ZodNumber>;
471
+ published_count: z.ZodNullable<z.ZodNumber>;
472
+ errors: z.ZodArray<z.ZodObject<{
473
+ stage: z.ZodEnum<{
474
+ category: "category";
475
+ seed: "seed";
476
+ receipt: "receipt";
477
+ }>;
478
+ code: z.ZodString;
479
+ }, z.core.$strict>>;
480
+ }, z.core.$strict>>;
481
+ }, z.core.$strict>>;
482
+ }, z.core.$strict>;
483
+ export type ApplicationLibraryApplication = z.infer<typeof ApplicationLibraryApplicationSchema>;
484
+ export declare const ApplicationLibraryApplicationsDataSchema: z.ZodObject<{
485
+ applications: z.ZodArray<z.ZodObject<{
486
+ app_slug: z.ZodString;
487
+ name: z.ZodString;
488
+ collection_slug: z.ZodString;
489
+ detail_prefix: z.ZodOptional<z.ZodString>;
490
+ source: z.ZodNullable<z.ZodObject<{
491
+ stable_key: z.ZodString;
492
+ version: z.ZodNumber;
493
+ digest: z.ZodString;
494
+ created_at: z.ZodNullable<z.ZodString>;
495
+ initialization: z.ZodNullable<z.ZodObject<{
496
+ category_status: z.ZodEnum<{
497
+ succeeded: "succeeded";
498
+ failed: "failed";
499
+ not_attempted: "not_attempted";
500
+ }>;
501
+ seed_status: z.ZodEnum<{
502
+ succeeded: "succeeded";
503
+ failed: "failed";
504
+ skipped: "skipped";
505
+ partial: "partial";
506
+ }>;
507
+ requested_count: z.ZodNumber;
508
+ written_count: z.ZodNullable<z.ZodNumber>;
509
+ published_count: z.ZodNullable<z.ZodNumber>;
510
+ errors: z.ZodArray<z.ZodObject<{
511
+ stage: z.ZodEnum<{
512
+ category: "category";
513
+ seed: "seed";
514
+ receipt: "receipt";
515
+ }>;
516
+ code: z.ZodString;
517
+ }, z.core.$strict>>;
518
+ }, z.core.$strict>>;
519
+ }, z.core.$strict>>;
520
+ }, z.core.$strict>>;
521
+ }, z.core.$strict>;
522
+ export declare const ApplicationLibraryTemplatesDataSchema: z.ZodObject<{
523
+ items: z.ZodArray<z.ZodObject<{
524
+ templateId: z.ZodString;
525
+ stableKey: z.ZodString;
526
+ title: z.ZodString;
527
+ description: z.ZodString;
528
+ thumbnailUrl: z.ZodNullable<z.ZodString>;
529
+ resolvedVersion: z.ZodNumber;
530
+ digest: z.ZodString;
531
+ application: z.ZodObject<{
532
+ name: z.ZodString;
533
+ slug: z.ZodString;
534
+ }, z.core.$strict>;
535
+ categories: z.ZodArray<z.ZodObject<{
536
+ id: z.ZodString;
537
+ key: z.ZodString;
538
+ name: z.ZodString;
539
+ }, z.core.$strict>>;
540
+ tags: z.ZodArray<z.ZodObject<{
541
+ id: z.ZodString;
542
+ key: z.ZodString;
543
+ name: z.ZodString;
544
+ }, z.core.$strict>>;
545
+ status: z.ZodEnum<{
546
+ failed: "failed";
547
+ available: "available";
548
+ creating: "creating";
549
+ created: "created";
550
+ conflict: "conflict";
551
+ }>;
552
+ errorCode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
553
+ APPLICATION_ALREADY_CREATED: "APPLICATION_ALREADY_CREATED";
554
+ APPLICATION_SLUG_CONFLICT: "APPLICATION_SLUG_CONFLICT";
555
+ APPLICATION_CREATE_IN_PROGRESS: "APPLICATION_CREATE_IN_PROGRESS";
556
+ APPLICATION_CMS_UNBOUND: "APPLICATION_CMS_UNBOUND";
557
+ APPLICATION_TEMPLATE_VERSION_UNAVAILABLE: "APPLICATION_TEMPLATE_VERSION_UNAVAILABLE";
558
+ APPLICATION_CREATE_FAILED: "APPLICATION_CREATE_FAILED";
559
+ APPLICATION_CREATE_RESULT_UNKNOWN: "APPLICATION_CREATE_RESULT_UNKNOWN";
560
+ }>>>;
561
+ template: z.ZodOptional<z.ZodObject<{
562
+ schema_version: z.ZodLiteral<1>;
563
+ application: z.ZodObject<{
564
+ name: z.ZodString;
565
+ slug: z.ZodString;
566
+ collection_purpose: z.ZodOptional<z.ZodEnum<{
567
+ generic: "generic";
568
+ product: "product";
569
+ }>>;
570
+ fields: z.ZodArray<z.ZodObject<{
571
+ name: z.ZodString;
572
+ label: z.ZodString;
573
+ type: z.ZodEnum<{
574
+ number: "number";
575
+ boolean: "boolean";
576
+ title: "title";
577
+ text: "text";
578
+ richtext: "richtext";
579
+ date: "date";
580
+ datetime: "datetime";
581
+ url: "url";
582
+ email: "email";
583
+ color: "color";
584
+ select: "select";
585
+ multiselect: "multiselect";
586
+ tag: "tag";
587
+ }>;
588
+ required: z.ZodOptional<z.ZodBoolean>;
589
+ options: z.ZodOptional<z.ZodArray<z.ZodString>>;
590
+ }, z.core.$strict>>;
591
+ seed_records: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
592
+ }, z.core.$strict>;
593
+ }, z.core.$strict>>;
594
+ }, z.core.$strict>>;
595
+ }, z.core.$strict>;
596
+ export declare const ApplicationLibraryErrorResponseSchema: z.ZodObject<{
597
+ code: z.ZodEnum<{
598
+ APPLICATION_ALREADY_CREATED: "APPLICATION_ALREADY_CREATED";
599
+ APPLICATION_SLUG_CONFLICT: "APPLICATION_SLUG_CONFLICT";
600
+ APPLICATION_CREATE_IN_PROGRESS: "APPLICATION_CREATE_IN_PROGRESS";
601
+ APPLICATION_CMS_UNBOUND: "APPLICATION_CMS_UNBOUND";
602
+ APPLICATION_TEMPLATE_VERSION_UNAVAILABLE: "APPLICATION_TEMPLATE_VERSION_UNAVAILABLE";
603
+ APPLICATION_CREATE_FAILED: "APPLICATION_CREATE_FAILED";
604
+ APPLICATION_CREATE_RESULT_UNKNOWN: "APPLICATION_CREATE_RESULT_UNKNOWN";
605
+ }>;
606
+ message: z.ZodString;
607
+ }, z.core.$strict>;
608
+ export declare const applicationTemplateV1Schema: z.ZodObject<{
609
+ schema_version: z.ZodLiteral<1>;
610
+ application: z.ZodObject<{
611
+ name: z.ZodString;
612
+ slug: z.ZodString;
613
+ collection_purpose: z.ZodOptional<z.ZodEnum<{
614
+ generic: "generic";
615
+ product: "product";
616
+ }>>;
617
+ fields: z.ZodArray<z.ZodObject<{
618
+ name: z.ZodString;
619
+ label: z.ZodString;
620
+ type: z.ZodEnum<{
621
+ number: "number";
622
+ boolean: "boolean";
623
+ title: "title";
624
+ text: "text";
625
+ richtext: "richtext";
626
+ date: "date";
627
+ datetime: "datetime";
628
+ url: "url";
629
+ email: "email";
630
+ color: "color";
631
+ select: "select";
632
+ multiselect: "multiselect";
633
+ tag: "tag";
634
+ }>;
635
+ required: z.ZodOptional<z.ZodBoolean>;
636
+ options: z.ZodOptional<z.ZodArray<z.ZodString>>;
637
+ }, z.core.$strict>>;
638
+ seed_records: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
639
+ }, z.core.$strict>;
640
+ }, z.core.$strict>;
641
+ export declare const applicationTemplateConsumeDataSchema: z.ZodObject<{
642
+ templateId: z.ZodString;
643
+ stableKey: z.ZodString;
644
+ resolvedVersion: z.ZodNumber;
645
+ digest: z.ZodString;
646
+ template: z.ZodObject<{
647
+ schema_version: z.ZodLiteral<1>;
648
+ application: z.ZodObject<{
649
+ name: z.ZodString;
650
+ slug: z.ZodString;
651
+ collection_purpose: z.ZodOptional<z.ZodEnum<{
652
+ generic: "generic";
653
+ product: "product";
654
+ }>>;
655
+ fields: z.ZodArray<z.ZodObject<{
656
+ name: z.ZodString;
657
+ label: z.ZodString;
658
+ type: z.ZodEnum<{
659
+ number: "number";
660
+ boolean: "boolean";
661
+ title: "title";
662
+ text: "text";
663
+ richtext: "richtext";
664
+ date: "date";
665
+ datetime: "datetime";
666
+ url: "url";
667
+ email: "email";
668
+ color: "color";
669
+ select: "select";
670
+ multiselect: "multiselect";
671
+ tag: "tag";
672
+ }>;
673
+ required: z.ZodOptional<z.ZodBoolean>;
674
+ options: z.ZodOptional<z.ZodArray<z.ZodString>>;
675
+ }, z.core.$strict>>;
676
+ seed_records: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
677
+ }, z.core.$strict>;
678
+ }, z.core.$strict>;
679
+ }, z.core.$strict>;
680
+ export declare const applicationTemplateCatalogDataSchema: z.ZodObject<{
681
+ items: z.ZodArray<z.ZodObject<{
682
+ templateId: z.ZodString;
683
+ stableKey: z.ZodString;
684
+ title: z.ZodString;
685
+ description: z.ZodString;
686
+ thumbnailUrl: z.ZodNullable<z.ZodString>;
687
+ resolvedVersion: z.ZodNumber;
688
+ digest: z.ZodString;
689
+ application: z.ZodObject<{
690
+ name: z.ZodString;
691
+ slug: z.ZodString;
692
+ }, z.core.$strict>;
693
+ categories: z.ZodArray<z.ZodObject<{
694
+ id: z.ZodString;
695
+ key: z.ZodString;
696
+ name: z.ZodString;
697
+ }, z.core.$strict>>;
698
+ tags: z.ZodArray<z.ZodObject<{
699
+ id: z.ZodString;
700
+ key: z.ZodString;
701
+ name: z.ZodString;
702
+ }, z.core.$strict>>;
703
+ status: z.ZodEnum<{
704
+ failed: "failed";
705
+ available: "available";
706
+ creating: "creating";
707
+ created: "created";
708
+ conflict: "conflict";
709
+ }>;
710
+ errorCode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
711
+ APPLICATION_ALREADY_CREATED: "APPLICATION_ALREADY_CREATED";
712
+ APPLICATION_SLUG_CONFLICT: "APPLICATION_SLUG_CONFLICT";
713
+ APPLICATION_CREATE_IN_PROGRESS: "APPLICATION_CREATE_IN_PROGRESS";
714
+ APPLICATION_CMS_UNBOUND: "APPLICATION_CMS_UNBOUND";
715
+ APPLICATION_TEMPLATE_VERSION_UNAVAILABLE: "APPLICATION_TEMPLATE_VERSION_UNAVAILABLE";
716
+ APPLICATION_CREATE_FAILED: "APPLICATION_CREATE_FAILED";
717
+ APPLICATION_CREATE_RESULT_UNKNOWN: "APPLICATION_CREATE_RESULT_UNKNOWN";
718
+ }>>>;
719
+ template: z.ZodOptional<z.ZodObject<{
720
+ schema_version: z.ZodLiteral<1>;
721
+ application: z.ZodObject<{
722
+ name: z.ZodString;
723
+ slug: z.ZodString;
724
+ collection_purpose: z.ZodOptional<z.ZodEnum<{
725
+ generic: "generic";
726
+ product: "product";
727
+ }>>;
728
+ fields: z.ZodArray<z.ZodObject<{
729
+ name: z.ZodString;
730
+ label: z.ZodString;
731
+ type: z.ZodEnum<{
732
+ number: "number";
733
+ boolean: "boolean";
734
+ title: "title";
735
+ text: "text";
736
+ richtext: "richtext";
737
+ date: "date";
738
+ datetime: "datetime";
739
+ url: "url";
740
+ email: "email";
741
+ color: "color";
742
+ select: "select";
743
+ multiselect: "multiselect";
744
+ tag: "tag";
745
+ }>;
746
+ required: z.ZodOptional<z.ZodBoolean>;
747
+ options: z.ZodOptional<z.ZodArray<z.ZodString>>;
748
+ }, z.core.$strict>>;
749
+ seed_records: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
750
+ }, z.core.$strict>;
751
+ }, z.core.$strict>>;
752
+ }, z.core.$strict>>;
753
+ }, z.core.$strict>;
754
+ export { FIELD_TYPES, applicationTemplateFieldSchema as ApplicationTemplateFieldSchema, stableKeySchema as ApplicationTemplateStableKeySchema, digestSchema as ApplicationTemplateDigestSchema, };