@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.
- package/dist/api-response.d.ts +11 -0
- package/dist/cms-collection-binding.d.ts +2 -2
- package/dist/cms-page-directory.d.ts +245 -0
- package/dist/cms-site-id.d.ts +4 -0
- package/dist/connect-dynamic-collection.d.ts +13 -9
- package/dist/connect-form.d.ts +5 -3
- package/dist/crawler-task-service.d.ts +352 -0
- package/dist/custom-domain.d.ts +36 -2
- package/dist/customer-materials.d.ts +196 -0
- package/dist/deployment-progress.d.ts +51 -0
- package/dist/designer-component-library.d.ts +9 -7
- package/dist/designer-page-library.d.ts +36 -40
- package/dist/external-site-edit.d.ts +258 -0
- package/dist/firecrawl-internal.d.ts +103 -0
- package/dist/form-design.d.ts +106 -108
- package/dist/google-search-console.d.ts +316 -0
- package/dist/index.d.ts +5493 -1916
- package/dist/index.js +1 -1
- package/dist/input-context-bundle.d.ts +15 -15
- package/dist/internal-entity-id.d.ts +37 -0
- package/dist/launcher-prompt-templates.d.ts +639 -0
- package/dist/media-library.d.ts +164 -0
- package/dist/product-search.d.ts +227 -0
- package/dist/publish-quality.d.ts +92 -0
- package/dist/site-edit-capability.d.ts +6 -6
- package/dist/site-edit-event.d.ts +15 -7
- package/dist/site-edit-operation.d.ts +57 -15
- package/dist/site-edit-patch-plan.d.ts +2 -2
- package/dist/site-edit-render-document.d.ts +27 -23
- package/dist/site-edit-version.d.ts +1 -1
- package/dist/site-preview.d.ts +50 -0
- package/dist/site-workflow.d.ts +1006 -0
- package/dist/sitemap-navigation.d.ts +9 -0
- package/dist/step2-site-initialization.d.ts +209 -0
- package/dist/step3-digital-employee-analysis.d.ts +695 -0
- package/dist/step4-diagnosis.d.ts +204 -0
- package/dist/step5-strategy.d.ts +2697 -0
- package/dist/step6-design.d.ts +672 -0
- package/dist/template-upgrade-observability.d.ts +4 -4
- package/dist/user-facing-copy.d.ts +1 -0
- package/dist/workspace-design-apply.d.ts +1 -1
- package/dist/workspace-resource-operation.d.ts +722 -0
- package/package.json +2 -1
- package/dist/publish-plan.d.ts +0 -54
package/dist/form-design.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { type SiteLocale } from "./site-locale.js";
|
|
3
3
|
export declare const FORM_SPEC_MULTISTEP_MIN_RUNTIME_VERSION = 2;
|
|
4
|
+
export declare const FORM_SPEC_FILE_MIN_RUNTIME_VERSION = 3;
|
|
4
5
|
export declare const FormDefinitionIdSchema: z.ZodString;
|
|
5
6
|
export declare const FormBlockIdSchema: z.ZodString;
|
|
6
7
|
export declare const FormDesignOperationIdSchema: z.ZodString;
|
|
@@ -29,8 +30,9 @@ export declare const FormSpecFieldNodeSchema: z.ZodObject<{
|
|
|
29
30
|
number: "number";
|
|
30
31
|
boolean: "boolean";
|
|
31
32
|
date: "date";
|
|
32
|
-
|
|
33
|
+
file: "file";
|
|
33
34
|
email: "email";
|
|
35
|
+
text: "text";
|
|
34
36
|
select: "select";
|
|
35
37
|
multiselect: "multiselect";
|
|
36
38
|
textarea: "textarea";
|
|
@@ -47,6 +49,7 @@ export declare const FormSpecFieldNodeSchema: z.ZodObject<{
|
|
|
47
49
|
value: z.ZodString;
|
|
48
50
|
label: z.ZodString;
|
|
49
51
|
}, z.core.$strict>>;
|
|
52
|
+
max_files: z.ZodOptional<z.ZodNumber>;
|
|
50
53
|
}, z.core.$strict>;
|
|
51
54
|
export type FormSpecFieldNode = z.infer<typeof FormSpecFieldNodeSchema>;
|
|
52
55
|
/** A step break starts the next step; the first step is implicit. */
|
|
@@ -62,8 +65,9 @@ export declare const FormSpecNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
62
65
|
number: "number";
|
|
63
66
|
boolean: "boolean";
|
|
64
67
|
date: "date";
|
|
65
|
-
|
|
68
|
+
file: "file";
|
|
66
69
|
email: "email";
|
|
70
|
+
text: "text";
|
|
67
71
|
select: "select";
|
|
68
72
|
multiselect: "multiselect";
|
|
69
73
|
textarea: "textarea";
|
|
@@ -80,11 +84,13 @@ export declare const FormSpecNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
80
84
|
value: z.ZodString;
|
|
81
85
|
label: z.ZodString;
|
|
82
86
|
}, z.core.$strict>>;
|
|
87
|
+
max_files: z.ZodOptional<z.ZodNumber>;
|
|
83
88
|
}, z.core.$strict>, z.ZodObject<{
|
|
84
89
|
kind: z.ZodLiteral<"step-break">;
|
|
85
90
|
step_id: z.ZodString;
|
|
86
91
|
}, z.core.$strict>], "kind">;
|
|
87
92
|
export type FormSpecNode = z.infer<typeof FormSpecNodeSchema>;
|
|
93
|
+
export declare function normalizeFormOptionLabelIdentity(value: string, locale: string): string;
|
|
88
94
|
export declare const FormSpecV1Schema: z.ZodObject<{
|
|
89
95
|
schema_version: z.ZodLiteral<1>;
|
|
90
96
|
min_runtime_version: z.ZodNumber;
|
|
@@ -214,8 +220,9 @@ export declare const FormSpecV1Schema: z.ZodObject<{
|
|
|
214
220
|
number: "number";
|
|
215
221
|
boolean: "boolean";
|
|
216
222
|
date: "date";
|
|
217
|
-
|
|
223
|
+
file: "file";
|
|
218
224
|
email: "email";
|
|
225
|
+
text: "text";
|
|
219
226
|
select: "select";
|
|
220
227
|
multiselect: "multiselect";
|
|
221
228
|
textarea: "textarea";
|
|
@@ -232,6 +239,7 @@ export declare const FormSpecV1Schema: z.ZodObject<{
|
|
|
232
239
|
value: z.ZodString;
|
|
233
240
|
label: z.ZodString;
|
|
234
241
|
}, z.core.$strict>>;
|
|
242
|
+
max_files: z.ZodOptional<z.ZodNumber>;
|
|
235
243
|
}, z.core.$strict>, z.ZodObject<{
|
|
236
244
|
kind: z.ZodLiteral<"step-break">;
|
|
237
245
|
step_id: z.ZodString;
|
|
@@ -250,8 +258,9 @@ export declare const FormSpecV1Schema: z.ZodObject<{
|
|
|
250
258
|
number: "number";
|
|
251
259
|
boolean: "boolean";
|
|
252
260
|
date: "date";
|
|
253
|
-
|
|
261
|
+
file: "file";
|
|
254
262
|
email: "email";
|
|
263
|
+
text: "text";
|
|
255
264
|
select: "select";
|
|
256
265
|
multiselect: "multiselect";
|
|
257
266
|
textarea: "textarea";
|
|
@@ -343,25 +352,16 @@ export declare const FormTemplateTextSchema: z.ZodObject<{
|
|
|
343
352
|
export type FormTemplateText = z.infer<typeof FormTemplateTextSchema>;
|
|
344
353
|
export declare const FORM_TEMPLATE_CATEGORY_SLUGS: readonly ["lead-generation", "trial-and-samples", "quote-and-commerce", "appointments-and-visits", "resources-and-subscriptions", "service-and-channel"];
|
|
345
354
|
export declare const FORM_TEMPLATE_CATEGORY_COUNTS: readonly [1, 1, 1, 1, 1, 1];
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
"service-and-channel": "service-and-channel";
|
|
353
|
-
}>;
|
|
355
|
+
/**
|
|
356
|
+
* The resource platform owns form taxonomy. Keep the historical category
|
|
357
|
+
* constants for the built-in fixture, but accept any valid taxonomy slug at
|
|
358
|
+
* the public contract boundary.
|
|
359
|
+
*/
|
|
360
|
+
export declare const FormTemplateCategorySlugSchema: z.ZodString;
|
|
354
361
|
export type FormTemplateCategorySlug = z.infer<typeof FormTemplateCategorySlugSchema>;
|
|
355
362
|
export declare const FormTemplateCategoryV1Schema: z.ZodObject<{
|
|
356
363
|
schema_version: z.ZodLiteral<1>;
|
|
357
|
-
slug: z.
|
|
358
|
-
"lead-generation": "lead-generation";
|
|
359
|
-
"trial-and-samples": "trial-and-samples";
|
|
360
|
-
"quote-and-commerce": "quote-and-commerce";
|
|
361
|
-
"appointments-and-visits": "appointments-and-visits";
|
|
362
|
-
"resources-and-subscriptions": "resources-and-subscriptions";
|
|
363
|
-
"service-and-channel": "service-and-channel";
|
|
364
|
-
}>;
|
|
364
|
+
slug: z.ZodString;
|
|
365
365
|
name: z.ZodObject<{
|
|
366
366
|
english: z.ZodString;
|
|
367
367
|
translations: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
@@ -421,14 +421,7 @@ export declare const FormTemplateV1Schema: z.ZodObject<{
|
|
|
421
421
|
schema_version: z.ZodLiteral<1>;
|
|
422
422
|
slug: z.ZodString;
|
|
423
423
|
version: z.ZodString;
|
|
424
|
-
category: z.
|
|
425
|
-
"lead-generation": "lead-generation";
|
|
426
|
-
"trial-and-samples": "trial-and-samples";
|
|
427
|
-
"quote-and-commerce": "quote-and-commerce";
|
|
428
|
-
"appointments-and-visits": "appointments-and-visits";
|
|
429
|
-
"resources-and-subscriptions": "resources-and-subscriptions";
|
|
430
|
-
"service-and-channel": "service-and-channel";
|
|
431
|
-
}>;
|
|
424
|
+
category: z.ZodString;
|
|
432
425
|
copy: z.ZodObject<{
|
|
433
426
|
title: z.ZodObject<{
|
|
434
427
|
english: z.ZodString;
|
|
@@ -703,8 +696,9 @@ export declare const FormTemplateV1Schema: z.ZodObject<{
|
|
|
703
696
|
number: "number";
|
|
704
697
|
boolean: "boolean";
|
|
705
698
|
date: "date";
|
|
706
|
-
|
|
699
|
+
file: "file";
|
|
707
700
|
email: "email";
|
|
701
|
+
text: "text";
|
|
708
702
|
select: "select";
|
|
709
703
|
multiselect: "multiselect";
|
|
710
704
|
textarea: "textarea";
|
|
@@ -838,14 +832,7 @@ export declare const FormTemplateCatalogResponseSchema: z.ZodObject<{
|
|
|
838
832
|
}>;
|
|
839
833
|
categories: z.ZodArray<z.ZodObject<{
|
|
840
834
|
schema_version: z.ZodLiteral<1>;
|
|
841
|
-
slug: z.
|
|
842
|
-
"lead-generation": "lead-generation";
|
|
843
|
-
"trial-and-samples": "trial-and-samples";
|
|
844
|
-
"quote-and-commerce": "quote-and-commerce";
|
|
845
|
-
"appointments-and-visits": "appointments-and-visits";
|
|
846
|
-
"resources-and-subscriptions": "resources-and-subscriptions";
|
|
847
|
-
"service-and-channel": "service-and-channel";
|
|
848
|
-
}>;
|
|
835
|
+
slug: z.ZodString;
|
|
849
836
|
name: z.ZodObject<{
|
|
850
837
|
english: z.ZodString;
|
|
851
838
|
translations: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
@@ -904,14 +891,7 @@ export declare const FormTemplateCatalogResponseSchema: z.ZodObject<{
|
|
|
904
891
|
schema_version: z.ZodLiteral<1>;
|
|
905
892
|
slug: z.ZodString;
|
|
906
893
|
version: z.ZodString;
|
|
907
|
-
category: z.
|
|
908
|
-
"lead-generation": "lead-generation";
|
|
909
|
-
"trial-and-samples": "trial-and-samples";
|
|
910
|
-
"quote-and-commerce": "quote-and-commerce";
|
|
911
|
-
"appointments-and-visits": "appointments-and-visits";
|
|
912
|
-
"resources-and-subscriptions": "resources-and-subscriptions";
|
|
913
|
-
"service-and-channel": "service-and-channel";
|
|
914
|
-
}>;
|
|
894
|
+
category: z.ZodString;
|
|
915
895
|
copy: z.ZodObject<{
|
|
916
896
|
title: z.ZodObject<{
|
|
917
897
|
english: z.ZodString;
|
|
@@ -1186,8 +1166,9 @@ export declare const FormTemplateCatalogResponseSchema: z.ZodObject<{
|
|
|
1186
1166
|
number: "number";
|
|
1187
1167
|
boolean: "boolean";
|
|
1188
1168
|
date: "date";
|
|
1189
|
-
|
|
1169
|
+
file: "file";
|
|
1190
1170
|
email: "email";
|
|
1171
|
+
text: "text";
|
|
1191
1172
|
select: "select";
|
|
1192
1173
|
multiselect: "multiselect";
|
|
1193
1174
|
textarea: "textarea";
|
|
@@ -1315,7 +1296,7 @@ export declare const FormTemplateCatalogResponseSchema: z.ZodObject<{
|
|
|
1315
1296
|
}, z.core.$strict>;
|
|
1316
1297
|
export type FormTemplateCatalogResponse = z.infer<typeof FormTemplateCatalogResponseSchema>;
|
|
1317
1298
|
export declare function resolveFormTemplateText(text: FormTemplateText, locale: SiteLocale): string;
|
|
1318
|
-
export declare const CMS_FORM_FIELD_TYPES: readonly ["Text", "Summary", "Email", "Phone", "DropdownSelection", "RadioButton", "Checkbox", "Boolean", "Date", "Num"];
|
|
1299
|
+
export declare const CMS_FORM_FIELD_TYPES: readonly ["Text", "Summary", "Email", "Phone", "DropdownSelection", "RadioButton", "Checkbox", "Boolean", "Date", "Num", "MultipleFile", "SpecificFile"];
|
|
1319
1300
|
export type CmsFormFieldType = (typeof CMS_FORM_FIELD_TYPES)[number];
|
|
1320
1301
|
export declare const FORM_SPEC_FIELD_TYPE_TO_CMS: {
|
|
1321
1302
|
readonly text: "Text";
|
|
@@ -1328,6 +1309,7 @@ export declare const FORM_SPEC_FIELD_TYPE_TO_CMS: {
|
|
|
1328
1309
|
readonly boolean: "Boolean";
|
|
1329
1310
|
readonly date: "Date";
|
|
1330
1311
|
readonly number: "Num";
|
|
1312
|
+
readonly file: "MultipleFile";
|
|
1331
1313
|
};
|
|
1332
1314
|
export declare const CmsFormSchemaProjectionSchema: z.ZodObject<{
|
|
1333
1315
|
version: z.ZodLiteral<1>;
|
|
@@ -1426,16 +1408,18 @@ export declare const CmsFormSchemaProjectionSchema: z.ZodObject<{
|
|
|
1426
1408
|
fields: z.ZodArray<z.ZodObject<{
|
|
1427
1409
|
field_name: z.ZodString;
|
|
1428
1410
|
field_type: z.ZodEnum<{
|
|
1411
|
+
DropdownSelection: "DropdownSelection";
|
|
1412
|
+
RadioButton: "RadioButton";
|
|
1413
|
+
Checkbox: "Checkbox";
|
|
1429
1414
|
Text: "Text";
|
|
1430
1415
|
Summary: "Summary";
|
|
1431
1416
|
Email: "Email";
|
|
1432
1417
|
Phone: "Phone";
|
|
1433
|
-
DropdownSelection: "DropdownSelection";
|
|
1434
|
-
RadioButton: "RadioButton";
|
|
1435
|
-
Checkbox: "Checkbox";
|
|
1436
1418
|
Boolean: "Boolean";
|
|
1437
1419
|
Date: "Date";
|
|
1438
1420
|
Num: "Num";
|
|
1421
|
+
MultipleFile: "MultipleFile";
|
|
1422
|
+
SpecificFile: "SpecificFile";
|
|
1439
1423
|
}>;
|
|
1440
1424
|
field_label: z.ZodString;
|
|
1441
1425
|
is_required: z.ZodBoolean;
|
|
@@ -1451,7 +1435,12 @@ export declare function projectFormSpecToCmsSchema(spec: FormSpecV1): CmsFormSch
|
|
|
1451
1435
|
export declare const FormDesignHashSchema: z.ZodString;
|
|
1452
1436
|
export type FormDesignHash = z.infer<typeof FormDesignHashSchema>;
|
|
1453
1437
|
export declare const FormDesignAffectedFilesSchema: z.ZodArray<z.ZodObject<{
|
|
1454
|
-
path: z.ZodString
|
|
1438
|
+
path: z.ZodUnion<readonly [z.ZodString, z.ZodEnum<{
|
|
1439
|
+
"app/api/forms/[code]/route.ts": "app/api/forms/[code]/route.ts";
|
|
1440
|
+
"hooks/use-cms-form-submit.ts": "hooks/use-cms-form-submit.ts";
|
|
1441
|
+
"lib/cms/forms.ts": "lib/cms/forms.ts";
|
|
1442
|
+
"lib/cms/client.ts": "lib/cms/client.ts";
|
|
1443
|
+
}>]>;
|
|
1455
1444
|
content_hash: z.ZodNullable<z.ZodString>;
|
|
1456
1445
|
}, z.core.$strict>>;
|
|
1457
1446
|
export type FormDesignAffectedFiles = z.infer<typeof FormDesignAffectedFilesSchema>;
|
|
@@ -1479,9 +1468,9 @@ export declare const FormDesignStandardizationSchema: z.ZodObject<{
|
|
|
1479
1468
|
}, z.core.$strict>;
|
|
1480
1469
|
export type FormDesignStandardization = z.infer<typeof FormDesignStandardizationSchema>;
|
|
1481
1470
|
export declare const FormDesignOperationFingerprintInputSchema: z.ZodObject<{
|
|
1482
|
-
site_id: z.
|
|
1471
|
+
site_id: z.ZodUUID;
|
|
1483
1472
|
form_definition_id: z.ZodString;
|
|
1484
|
-
base_snapshot_id: z.
|
|
1473
|
+
base_snapshot_id: z.ZodUUID;
|
|
1485
1474
|
expected_form_spec_hash: z.ZodString;
|
|
1486
1475
|
expected_cms_schema_hash: z.ZodNullable<z.ZodString>;
|
|
1487
1476
|
draft_form_spec_hash: z.ZodString;
|
|
@@ -1522,9 +1511,9 @@ export declare const FormDesignSharedImpactSchema: z.ZodObject<{
|
|
|
1522
1511
|
block_count: z.ZodNumber;
|
|
1523
1512
|
}, z.core.$strict>;
|
|
1524
1513
|
export declare const FormDesignOpenResponseSchema: z.ZodObject<{
|
|
1525
|
-
site_id: z.
|
|
1514
|
+
site_id: z.ZodUUID;
|
|
1526
1515
|
form_block_id: z.ZodString;
|
|
1527
|
-
base_snapshot_id: z.
|
|
1516
|
+
base_snapshot_id: z.ZodUUID;
|
|
1528
1517
|
form_spec: z.ZodObject<{
|
|
1529
1518
|
schema_version: z.ZodLiteral<1>;
|
|
1530
1519
|
min_runtime_version: z.ZodNumber;
|
|
@@ -1654,8 +1643,9 @@ export declare const FormDesignOpenResponseSchema: z.ZodObject<{
|
|
|
1654
1643
|
number: "number";
|
|
1655
1644
|
boolean: "boolean";
|
|
1656
1645
|
date: "date";
|
|
1657
|
-
|
|
1646
|
+
file: "file";
|
|
1658
1647
|
email: "email";
|
|
1648
|
+
text: "text";
|
|
1659
1649
|
select: "select";
|
|
1660
1650
|
multiselect: "multiselect";
|
|
1661
1651
|
textarea: "textarea";
|
|
@@ -1672,6 +1662,7 @@ export declare const FormDesignOpenResponseSchema: z.ZodObject<{
|
|
|
1672
1662
|
value: z.ZodString;
|
|
1673
1663
|
label: z.ZodString;
|
|
1674
1664
|
}, z.core.$strict>>;
|
|
1665
|
+
max_files: z.ZodOptional<z.ZodNumber>;
|
|
1675
1666
|
}, z.core.$strict>, z.ZodObject<{
|
|
1676
1667
|
kind: z.ZodLiteral<"step-break">;
|
|
1677
1668
|
step_id: z.ZodString;
|
|
@@ -1690,8 +1681,9 @@ export declare const FormDesignOpenResponseSchema: z.ZodObject<{
|
|
|
1690
1681
|
number: "number";
|
|
1691
1682
|
boolean: "boolean";
|
|
1692
1683
|
date: "date";
|
|
1693
|
-
|
|
1684
|
+
file: "file";
|
|
1694
1685
|
email: "email";
|
|
1686
|
+
text: "text";
|
|
1695
1687
|
select: "select";
|
|
1696
1688
|
multiselect: "multiselect";
|
|
1697
1689
|
textarea: "textarea";
|
|
@@ -1747,9 +1739,9 @@ export type FormDesignOpenResponse = z.infer<typeof FormDesignOpenResponseSchema
|
|
|
1747
1739
|
export declare const FormDesignSaveRequestSchema: z.ZodObject<{
|
|
1748
1740
|
operation_id: z.ZodString;
|
|
1749
1741
|
operation_fingerprint: z.ZodString;
|
|
1750
|
-
site_id: z.
|
|
1742
|
+
site_id: z.ZodUUID;
|
|
1751
1743
|
form_definition_id: z.ZodString;
|
|
1752
|
-
base_snapshot_id: z.
|
|
1744
|
+
base_snapshot_id: z.ZodUUID;
|
|
1753
1745
|
expected_form_spec_hash: z.ZodString;
|
|
1754
1746
|
expected_cms_schema_hash: z.ZodNullable<z.ZodString>;
|
|
1755
1747
|
draft_form_spec: z.ZodObject<{
|
|
@@ -1881,8 +1873,9 @@ export declare const FormDesignSaveRequestSchema: z.ZodObject<{
|
|
|
1881
1873
|
number: "number";
|
|
1882
1874
|
boolean: "boolean";
|
|
1883
1875
|
date: "date";
|
|
1884
|
-
|
|
1876
|
+
file: "file";
|
|
1885
1877
|
email: "email";
|
|
1878
|
+
text: "text";
|
|
1886
1879
|
select: "select";
|
|
1887
1880
|
multiselect: "multiselect";
|
|
1888
1881
|
textarea: "textarea";
|
|
@@ -1899,6 +1892,7 @@ export declare const FormDesignSaveRequestSchema: z.ZodObject<{
|
|
|
1899
1892
|
value: z.ZodString;
|
|
1900
1893
|
label: z.ZodString;
|
|
1901
1894
|
}, z.core.$strict>>;
|
|
1895
|
+
max_files: z.ZodOptional<z.ZodNumber>;
|
|
1902
1896
|
}, z.core.$strict>, z.ZodObject<{
|
|
1903
1897
|
kind: z.ZodLiteral<"step-break">;
|
|
1904
1898
|
step_id: z.ZodString;
|
|
@@ -1917,8 +1911,9 @@ export declare const FormDesignSaveRequestSchema: z.ZodObject<{
|
|
|
1917
1911
|
number: "number";
|
|
1918
1912
|
boolean: "boolean";
|
|
1919
1913
|
date: "date";
|
|
1920
|
-
|
|
1914
|
+
file: "file";
|
|
1921
1915
|
email: "email";
|
|
1916
|
+
text: "text";
|
|
1922
1917
|
select: "select";
|
|
1923
1918
|
multiselect: "multiselect";
|
|
1924
1919
|
textarea: "textarea";
|
|
@@ -1990,10 +1985,10 @@ export type FormDesignOperationStage = z.infer<typeof FormDesignOperationStageSc
|
|
|
1990
1985
|
export declare const FORM_DESIGN_OPERATION_STATUSES: readonly ["pending", "running", "succeeded", "failed", "recovery_required"];
|
|
1991
1986
|
export declare const FormDesignOperationStatusSchema: z.ZodEnum<{
|
|
1992
1987
|
failed: "failed";
|
|
1988
|
+
succeeded: "succeeded";
|
|
1993
1989
|
pending: "pending";
|
|
1994
|
-
recovery_required: "recovery_required";
|
|
1995
1990
|
running: "running";
|
|
1996
|
-
|
|
1991
|
+
recovery_required: "recovery_required";
|
|
1997
1992
|
}>;
|
|
1998
1993
|
export type FormDesignOperationStatus = z.infer<typeof FormDesignOperationStatusSchema>;
|
|
1999
1994
|
export declare const FORM_DESIGN_FAILURE_STAGES: readonly ["candidate_abandon", "snapshot_reconcile", "cms_restore"];
|
|
@@ -2033,14 +2028,14 @@ export declare const FormDesignOperationNextActionSchema: z.ZodEnum<{
|
|
|
2033
2028
|
}>;
|
|
2034
2029
|
export declare const FormDesignPreviewRefreshStatusSchema: z.ZodEnum<{
|
|
2035
2030
|
failed: "failed";
|
|
2036
|
-
pending: "pending";
|
|
2037
2031
|
succeeded: "succeeded";
|
|
2032
|
+
pending: "pending";
|
|
2038
2033
|
not_started: "not_started";
|
|
2039
2034
|
}>;
|
|
2040
2035
|
export declare const FormDesignOperationSchema: z.ZodObject<{
|
|
2041
2036
|
operation_id: z.ZodString;
|
|
2042
2037
|
operation_fingerprint: z.ZodString;
|
|
2043
|
-
site_id: z.
|
|
2038
|
+
site_id: z.ZodUUID;
|
|
2044
2039
|
form_definition_id: z.ZodString;
|
|
2045
2040
|
stage: z.ZodEnum<{
|
|
2046
2041
|
failed: "failed";
|
|
@@ -2056,13 +2051,13 @@ export declare const FormDesignOperationSchema: z.ZodObject<{
|
|
|
2056
2051
|
}>;
|
|
2057
2052
|
status: z.ZodEnum<{
|
|
2058
2053
|
failed: "failed";
|
|
2054
|
+
succeeded: "succeeded";
|
|
2059
2055
|
pending: "pending";
|
|
2060
|
-
recovery_required: "recovery_required";
|
|
2061
2056
|
running: "running";
|
|
2062
|
-
|
|
2057
|
+
recovery_required: "recovery_required";
|
|
2063
2058
|
}>;
|
|
2064
|
-
base_snapshot_id: z.
|
|
2065
|
-
candidate_snapshot_id: z.ZodNullable<z.
|
|
2059
|
+
base_snapshot_id: z.ZodUUID;
|
|
2060
|
+
candidate_snapshot_id: z.ZodNullable<z.ZodUUID>;
|
|
2066
2061
|
before_form_code: z.ZodNullable<z.ZodString>;
|
|
2067
2062
|
materialized_form_code: z.ZodNullable<z.ZodString>;
|
|
2068
2063
|
expected_form_spec_hash: z.ZodString;
|
|
@@ -2105,8 +2100,8 @@ export declare const FormDesignOperationSchema: z.ZodObject<{
|
|
|
2105
2100
|
}>;
|
|
2106
2101
|
preview_refresh_status: z.ZodEnum<{
|
|
2107
2102
|
failed: "failed";
|
|
2108
|
-
pending: "pending";
|
|
2109
2103
|
succeeded: "succeeded";
|
|
2104
|
+
pending: "pending";
|
|
2110
2105
|
not_started: "not_started";
|
|
2111
2106
|
}>;
|
|
2112
2107
|
created_at: z.ZodString;
|
|
@@ -2117,7 +2112,7 @@ export declare const FormDesignOperationResponseSchema: z.ZodObject<{
|
|
|
2117
2112
|
operation: z.ZodObject<{
|
|
2118
2113
|
operation_id: z.ZodString;
|
|
2119
2114
|
operation_fingerprint: z.ZodString;
|
|
2120
|
-
site_id: z.
|
|
2115
|
+
site_id: z.ZodUUID;
|
|
2121
2116
|
form_definition_id: z.ZodString;
|
|
2122
2117
|
stage: z.ZodEnum<{
|
|
2123
2118
|
failed: "failed";
|
|
@@ -2133,13 +2128,13 @@ export declare const FormDesignOperationResponseSchema: z.ZodObject<{
|
|
|
2133
2128
|
}>;
|
|
2134
2129
|
status: z.ZodEnum<{
|
|
2135
2130
|
failed: "failed";
|
|
2131
|
+
succeeded: "succeeded";
|
|
2136
2132
|
pending: "pending";
|
|
2137
|
-
recovery_required: "recovery_required";
|
|
2138
2133
|
running: "running";
|
|
2139
|
-
|
|
2134
|
+
recovery_required: "recovery_required";
|
|
2140
2135
|
}>;
|
|
2141
|
-
base_snapshot_id: z.
|
|
2142
|
-
candidate_snapshot_id: z.ZodNullable<z.
|
|
2136
|
+
base_snapshot_id: z.ZodUUID;
|
|
2137
|
+
candidate_snapshot_id: z.ZodNullable<z.ZodUUID>;
|
|
2143
2138
|
before_form_code: z.ZodNullable<z.ZodString>;
|
|
2144
2139
|
materialized_form_code: z.ZodNullable<z.ZodString>;
|
|
2145
2140
|
expected_form_spec_hash: z.ZodString;
|
|
@@ -2182,8 +2177,8 @@ export declare const FormDesignOperationResponseSchema: z.ZodObject<{
|
|
|
2182
2177
|
}>;
|
|
2183
2178
|
preview_refresh_status: z.ZodEnum<{
|
|
2184
2179
|
failed: "failed";
|
|
2185
|
-
pending: "pending";
|
|
2186
2180
|
succeeded: "succeeded";
|
|
2181
|
+
pending: "pending";
|
|
2187
2182
|
not_started: "not_started";
|
|
2188
2183
|
}>;
|
|
2189
2184
|
created_at: z.ZodString;
|
|
@@ -2195,7 +2190,7 @@ export declare const FormDesignSaveResponseSchema: z.ZodObject<{
|
|
|
2195
2190
|
operation: z.ZodObject<{
|
|
2196
2191
|
operation_id: z.ZodString;
|
|
2197
2192
|
operation_fingerprint: z.ZodString;
|
|
2198
|
-
site_id: z.
|
|
2193
|
+
site_id: z.ZodUUID;
|
|
2199
2194
|
form_definition_id: z.ZodString;
|
|
2200
2195
|
stage: z.ZodEnum<{
|
|
2201
2196
|
failed: "failed";
|
|
@@ -2211,13 +2206,13 @@ export declare const FormDesignSaveResponseSchema: z.ZodObject<{
|
|
|
2211
2206
|
}>;
|
|
2212
2207
|
status: z.ZodEnum<{
|
|
2213
2208
|
failed: "failed";
|
|
2209
|
+
succeeded: "succeeded";
|
|
2214
2210
|
pending: "pending";
|
|
2215
|
-
recovery_required: "recovery_required";
|
|
2216
2211
|
running: "running";
|
|
2217
|
-
|
|
2212
|
+
recovery_required: "recovery_required";
|
|
2218
2213
|
}>;
|
|
2219
|
-
base_snapshot_id: z.
|
|
2220
|
-
candidate_snapshot_id: z.ZodNullable<z.
|
|
2214
|
+
base_snapshot_id: z.ZodUUID;
|
|
2215
|
+
candidate_snapshot_id: z.ZodNullable<z.ZodUUID>;
|
|
2221
2216
|
before_form_code: z.ZodNullable<z.ZodString>;
|
|
2222
2217
|
materialized_form_code: z.ZodNullable<z.ZodString>;
|
|
2223
2218
|
expected_form_spec_hash: z.ZodString;
|
|
@@ -2260,8 +2255,8 @@ export declare const FormDesignSaveResponseSchema: z.ZodObject<{
|
|
|
2260
2255
|
}>;
|
|
2261
2256
|
preview_refresh_status: z.ZodEnum<{
|
|
2262
2257
|
failed: "failed";
|
|
2263
|
-
pending: "pending";
|
|
2264
2258
|
succeeded: "succeeded";
|
|
2259
|
+
pending: "pending";
|
|
2265
2260
|
not_started: "not_started";
|
|
2266
2261
|
}>;
|
|
2267
2262
|
created_at: z.ZodString;
|
|
@@ -2272,7 +2267,7 @@ export declare const FormDesignQueryResponseSchema: z.ZodObject<{
|
|
|
2272
2267
|
operation: z.ZodObject<{
|
|
2273
2268
|
operation_id: z.ZodString;
|
|
2274
2269
|
operation_fingerprint: z.ZodString;
|
|
2275
|
-
site_id: z.
|
|
2270
|
+
site_id: z.ZodUUID;
|
|
2276
2271
|
form_definition_id: z.ZodString;
|
|
2277
2272
|
stage: z.ZodEnum<{
|
|
2278
2273
|
failed: "failed";
|
|
@@ -2288,13 +2283,13 @@ export declare const FormDesignQueryResponseSchema: z.ZodObject<{
|
|
|
2288
2283
|
}>;
|
|
2289
2284
|
status: z.ZodEnum<{
|
|
2290
2285
|
failed: "failed";
|
|
2286
|
+
succeeded: "succeeded";
|
|
2291
2287
|
pending: "pending";
|
|
2292
|
-
recovery_required: "recovery_required";
|
|
2293
2288
|
running: "running";
|
|
2294
|
-
|
|
2289
|
+
recovery_required: "recovery_required";
|
|
2295
2290
|
}>;
|
|
2296
|
-
base_snapshot_id: z.
|
|
2297
|
-
candidate_snapshot_id: z.ZodNullable<z.
|
|
2291
|
+
base_snapshot_id: z.ZodUUID;
|
|
2292
|
+
candidate_snapshot_id: z.ZodNullable<z.ZodUUID>;
|
|
2298
2293
|
before_form_code: z.ZodNullable<z.ZodString>;
|
|
2299
2294
|
materialized_form_code: z.ZodNullable<z.ZodString>;
|
|
2300
2295
|
expected_form_spec_hash: z.ZodString;
|
|
@@ -2337,8 +2332,8 @@ export declare const FormDesignQueryResponseSchema: z.ZodObject<{
|
|
|
2337
2332
|
}>;
|
|
2338
2333
|
preview_refresh_status: z.ZodEnum<{
|
|
2339
2334
|
failed: "failed";
|
|
2340
|
-
pending: "pending";
|
|
2341
2335
|
succeeded: "succeeded";
|
|
2336
|
+
pending: "pending";
|
|
2342
2337
|
not_started: "not_started";
|
|
2343
2338
|
}>;
|
|
2344
2339
|
created_at: z.ZodString;
|
|
@@ -2355,7 +2350,7 @@ export declare const FormDesignResumeResponseSchema: z.ZodObject<{
|
|
|
2355
2350
|
operation: z.ZodObject<{
|
|
2356
2351
|
operation_id: z.ZodString;
|
|
2357
2352
|
operation_fingerprint: z.ZodString;
|
|
2358
|
-
site_id: z.
|
|
2353
|
+
site_id: z.ZodUUID;
|
|
2359
2354
|
form_definition_id: z.ZodString;
|
|
2360
2355
|
stage: z.ZodEnum<{
|
|
2361
2356
|
failed: "failed";
|
|
@@ -2371,13 +2366,13 @@ export declare const FormDesignResumeResponseSchema: z.ZodObject<{
|
|
|
2371
2366
|
}>;
|
|
2372
2367
|
status: z.ZodEnum<{
|
|
2373
2368
|
failed: "failed";
|
|
2369
|
+
succeeded: "succeeded";
|
|
2374
2370
|
pending: "pending";
|
|
2375
|
-
recovery_required: "recovery_required";
|
|
2376
2371
|
running: "running";
|
|
2377
|
-
|
|
2372
|
+
recovery_required: "recovery_required";
|
|
2378
2373
|
}>;
|
|
2379
|
-
base_snapshot_id: z.
|
|
2380
|
-
candidate_snapshot_id: z.ZodNullable<z.
|
|
2374
|
+
base_snapshot_id: z.ZodUUID;
|
|
2375
|
+
candidate_snapshot_id: z.ZodNullable<z.ZodUUID>;
|
|
2381
2376
|
before_form_code: z.ZodNullable<z.ZodString>;
|
|
2382
2377
|
materialized_form_code: z.ZodNullable<z.ZodString>;
|
|
2383
2378
|
expected_form_spec_hash: z.ZodString;
|
|
@@ -2420,8 +2415,8 @@ export declare const FormDesignResumeResponseSchema: z.ZodObject<{
|
|
|
2420
2415
|
}>;
|
|
2421
2416
|
preview_refresh_status: z.ZodEnum<{
|
|
2422
2417
|
failed: "failed";
|
|
2423
|
-
pending: "pending";
|
|
2424
2418
|
succeeded: "succeeded";
|
|
2419
|
+
pending: "pending";
|
|
2425
2420
|
not_started: "not_started";
|
|
2426
2421
|
}>;
|
|
2427
2422
|
created_at: z.ZodString;
|
|
@@ -2434,7 +2429,7 @@ export declare const FormDesignOperationRecordSchema: z.ZodObject<{
|
|
|
2434
2429
|
operation: z.ZodObject<{
|
|
2435
2430
|
operation_id: z.ZodString;
|
|
2436
2431
|
operation_fingerprint: z.ZodString;
|
|
2437
|
-
site_id: z.
|
|
2432
|
+
site_id: z.ZodUUID;
|
|
2438
2433
|
form_definition_id: z.ZodString;
|
|
2439
2434
|
stage: z.ZodEnum<{
|
|
2440
2435
|
failed: "failed";
|
|
@@ -2450,13 +2445,13 @@ export declare const FormDesignOperationRecordSchema: z.ZodObject<{
|
|
|
2450
2445
|
}>;
|
|
2451
2446
|
status: z.ZodEnum<{
|
|
2452
2447
|
failed: "failed";
|
|
2448
|
+
succeeded: "succeeded";
|
|
2453
2449
|
pending: "pending";
|
|
2454
|
-
recovery_required: "recovery_required";
|
|
2455
2450
|
running: "running";
|
|
2456
|
-
|
|
2451
|
+
recovery_required: "recovery_required";
|
|
2457
2452
|
}>;
|
|
2458
|
-
base_snapshot_id: z.
|
|
2459
|
-
candidate_snapshot_id: z.ZodNullable<z.
|
|
2453
|
+
base_snapshot_id: z.ZodUUID;
|
|
2454
|
+
candidate_snapshot_id: z.ZodNullable<z.ZodUUID>;
|
|
2460
2455
|
before_form_code: z.ZodNullable<z.ZodString>;
|
|
2461
2456
|
materialized_form_code: z.ZodNullable<z.ZodString>;
|
|
2462
2457
|
expected_form_spec_hash: z.ZodString;
|
|
@@ -2499,8 +2494,8 @@ export declare const FormDesignOperationRecordSchema: z.ZodObject<{
|
|
|
2499
2494
|
}>;
|
|
2500
2495
|
preview_refresh_status: z.ZodEnum<{
|
|
2501
2496
|
failed: "failed";
|
|
2502
|
-
pending: "pending";
|
|
2503
2497
|
succeeded: "succeeded";
|
|
2498
|
+
pending: "pending";
|
|
2504
2499
|
not_started: "not_started";
|
|
2505
2500
|
}>;
|
|
2506
2501
|
created_at: z.ZodString;
|
|
@@ -2509,9 +2504,9 @@ export declare const FormDesignOperationRecordSchema: z.ZodObject<{
|
|
|
2509
2504
|
request: z.ZodPreprocess<z.ZodObject<{
|
|
2510
2505
|
operation_id: z.ZodString;
|
|
2511
2506
|
operation_fingerprint: z.ZodString;
|
|
2512
|
-
site_id: z.
|
|
2507
|
+
site_id: z.ZodUUID;
|
|
2513
2508
|
form_definition_id: z.ZodString;
|
|
2514
|
-
base_snapshot_id: z.
|
|
2509
|
+
base_snapshot_id: z.ZodUUID;
|
|
2515
2510
|
expected_form_spec_hash: z.ZodString;
|
|
2516
2511
|
expected_cms_schema_hash: z.ZodNullable<z.ZodString>;
|
|
2517
2512
|
draft_form_spec: z.ZodObject<{
|
|
@@ -2643,8 +2638,9 @@ export declare const FormDesignOperationRecordSchema: z.ZodObject<{
|
|
|
2643
2638
|
number: "number";
|
|
2644
2639
|
boolean: "boolean";
|
|
2645
2640
|
date: "date";
|
|
2646
|
-
|
|
2641
|
+
file: "file";
|
|
2647
2642
|
email: "email";
|
|
2643
|
+
text: "text";
|
|
2648
2644
|
select: "select";
|
|
2649
2645
|
multiselect: "multiselect";
|
|
2650
2646
|
textarea: "textarea";
|
|
@@ -2661,6 +2657,7 @@ export declare const FormDesignOperationRecordSchema: z.ZodObject<{
|
|
|
2661
2657
|
value: z.ZodString;
|
|
2662
2658
|
label: z.ZodString;
|
|
2663
2659
|
}, z.core.$strict>>;
|
|
2660
|
+
max_files: z.ZodOptional<z.ZodNumber>;
|
|
2664
2661
|
}, z.core.$strict>, z.ZodObject<{
|
|
2665
2662
|
kind: z.ZodLiteral<"step-break">;
|
|
2666
2663
|
step_id: z.ZodString;
|
|
@@ -2679,8 +2676,9 @@ export declare const FormDesignOperationRecordSchema: z.ZodObject<{
|
|
|
2679
2676
|
number: "number";
|
|
2680
2677
|
boolean: "boolean";
|
|
2681
2678
|
date: "date";
|
|
2682
|
-
|
|
2679
|
+
file: "file";
|
|
2683
2680
|
email: "email";
|
|
2681
|
+
text: "text";
|
|
2684
2682
|
select: "select";
|
|
2685
2683
|
multiselect: "multiselect";
|
|
2686
2684
|
textarea: "textarea";
|
|
@@ -2754,12 +2752,12 @@ export declare const FormDesignOperationTransitionRequestSchema: z.ZodObject<{
|
|
|
2754
2752
|
}>>;
|
|
2755
2753
|
status: z.ZodOptional<z.ZodEnum<{
|
|
2756
2754
|
failed: "failed";
|
|
2755
|
+
succeeded: "succeeded";
|
|
2757
2756
|
pending: "pending";
|
|
2758
|
-
recovery_required: "recovery_required";
|
|
2759
2757
|
running: "running";
|
|
2760
|
-
|
|
2758
|
+
recovery_required: "recovery_required";
|
|
2761
2759
|
}>>;
|
|
2762
|
-
candidate_snapshot_id: z.ZodOptional<z.ZodNullable<z.
|
|
2760
|
+
candidate_snapshot_id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
2763
2761
|
before_form_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2764
2762
|
materialized_form_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2765
2763
|
materialized_form_spec_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2798,8 +2796,8 @@ export declare const FormDesignOperationTransitionRequestSchema: z.ZodObject<{
|
|
|
2798
2796
|
}>>;
|
|
2799
2797
|
preview_refresh_status: z.ZodOptional<z.ZodEnum<{
|
|
2800
2798
|
failed: "failed";
|
|
2801
|
-
pending: "pending";
|
|
2802
2799
|
succeeded: "succeeded";
|
|
2800
|
+
pending: "pending";
|
|
2803
2801
|
not_started: "not_started";
|
|
2804
2802
|
}>>;
|
|
2805
2803
|
}, z.core.$strict>;
|