@encatch/schema 1.1.0-beta.4 → 1.1.0-beta.5
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/esm/index.js +8 -3
- package/dist/esm/index.js.map +2 -2
- package/dist/types/schemas/api/fetch-feedback-schema.d.ts +32 -0
- package/dist/types/schemas/fields/app-props-schema.d.ts +31 -0
- package/dist/types/schemas/fields/field-schema.d.ts +33 -0
- package/dist/types/schemas/fields/form-properties-schema.d.ts +31 -0
- package/dist/types/schemas/fields/translations-schema.d.ts +77 -1
- package/package.json +1 -1
|
@@ -273,6 +273,7 @@ export declare const questionSchema: z.ZodObject<{
|
|
|
273
273
|
left: "left";
|
|
274
274
|
center: "center";
|
|
275
275
|
}>>>;
|
|
276
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
276
277
|
}, z.core.$strip>;
|
|
277
278
|
export declare const ratingQuestionSchema: z.ZodObject<{
|
|
278
279
|
id: z.ZodString;
|
|
@@ -324,6 +325,7 @@ export declare const ratingQuestionSchema: z.ZodObject<{
|
|
|
324
325
|
left: "left";
|
|
325
326
|
center: "center";
|
|
326
327
|
}>>>;
|
|
328
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
327
329
|
type: z.ZodLiteral<"rating">;
|
|
328
330
|
showLabels: z.ZodOptional<z.ZodBoolean>;
|
|
329
331
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -394,6 +396,7 @@ export declare const annotationQuestionSchema: z.ZodObject<{
|
|
|
394
396
|
left: "left";
|
|
395
397
|
center: "center";
|
|
396
398
|
}>>>;
|
|
399
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
397
400
|
type: z.ZodLiteral<"annotation">;
|
|
398
401
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
399
402
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
@@ -446,6 +449,7 @@ export declare const welcomeQuestionSchema: z.ZodObject<{
|
|
|
446
449
|
left: "left";
|
|
447
450
|
center: "center";
|
|
448
451
|
}>>>;
|
|
452
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
449
453
|
type: z.ZodLiteral<"welcome">;
|
|
450
454
|
title: z.ZodString;
|
|
451
455
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -500,6 +504,7 @@ export declare const thankYouQuestionSchema: z.ZodObject<{
|
|
|
500
504
|
left: "left";
|
|
501
505
|
center: "center";
|
|
502
506
|
}>>>;
|
|
507
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
503
508
|
type: z.ZodLiteral<"thank_you">;
|
|
504
509
|
title: z.ZodString;
|
|
505
510
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -554,6 +559,7 @@ export declare const messagePanelQuestionSchema: z.ZodObject<{
|
|
|
554
559
|
left: "left";
|
|
555
560
|
center: "center";
|
|
556
561
|
}>>>;
|
|
562
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
557
563
|
type: z.ZodLiteral<"message_panel">;
|
|
558
564
|
title: z.ZodString;
|
|
559
565
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -610,6 +616,7 @@ export declare const exitFormQuestionSchema: z.ZodObject<{
|
|
|
610
616
|
left: "left";
|
|
611
617
|
center: "center";
|
|
612
618
|
}>>>;
|
|
619
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
613
620
|
type: z.ZodLiteral<"exit_form">;
|
|
614
621
|
}, z.core.$strip>;
|
|
615
622
|
export declare const yesNoQuestionSchema: z.ZodObject<{
|
|
@@ -662,6 +669,7 @@ export declare const yesNoQuestionSchema: z.ZodObject<{
|
|
|
662
669
|
left: "left";
|
|
663
670
|
center: "center";
|
|
664
671
|
}>>>;
|
|
672
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
665
673
|
type: z.ZodLiteral<"yes_no">;
|
|
666
674
|
yesLabel: z.ZodOptional<z.ZodString>;
|
|
667
675
|
noLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -770,6 +778,7 @@ export declare const ratingMatrixQuestionSchema: z.ZodObject<{
|
|
|
770
778
|
left: "left";
|
|
771
779
|
center: "center";
|
|
772
780
|
}>>>;
|
|
781
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
773
782
|
type: z.ZodLiteral<"rating_matrix">;
|
|
774
783
|
statements: z.ZodArray<z.ZodObject<{
|
|
775
784
|
id: z.ZodString;
|
|
@@ -873,6 +882,7 @@ export declare const matrixSingleChoiceQuestionSchema: z.ZodObject<{
|
|
|
873
882
|
left: "left";
|
|
874
883
|
center: "center";
|
|
875
884
|
}>>>;
|
|
885
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
876
886
|
type: z.ZodLiteral<"matrix_single_choice">;
|
|
877
887
|
rows: z.ZodArray<z.ZodObject<{
|
|
878
888
|
id: z.ZodString;
|
|
@@ -939,6 +949,7 @@ export declare const matrixMultipleChoiceQuestionSchema: z.ZodObject<{
|
|
|
939
949
|
left: "left";
|
|
940
950
|
center: "center";
|
|
941
951
|
}>>>;
|
|
952
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
942
953
|
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
943
954
|
rows: z.ZodArray<z.ZodObject<{
|
|
944
955
|
id: z.ZodString;
|
|
@@ -1015,6 +1026,7 @@ export declare const multipleChoiceSingleQuestionSchema: z.ZodObject<{
|
|
|
1015
1026
|
left: "left";
|
|
1016
1027
|
center: "center";
|
|
1017
1028
|
}>>>;
|
|
1029
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1018
1030
|
type: z.ZodLiteral<"single_choice">;
|
|
1019
1031
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
1020
1032
|
radio: "radio";
|
|
@@ -1087,6 +1099,7 @@ export declare const multipleChoiceMultipleQuestionSchema: z.ZodObject<{
|
|
|
1087
1099
|
left: "left";
|
|
1088
1100
|
center: "center";
|
|
1089
1101
|
}>>>;
|
|
1102
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1090
1103
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
1091
1104
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
1092
1105
|
list: "list";
|
|
@@ -1160,6 +1173,7 @@ export declare const npsQuestionSchema: z.ZodObject<{
|
|
|
1160
1173
|
left: "left";
|
|
1161
1174
|
center: "center";
|
|
1162
1175
|
}>>>;
|
|
1176
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1163
1177
|
type: z.ZodLiteral<"nps">;
|
|
1164
1178
|
min: z.ZodLiteral<0>;
|
|
1165
1179
|
max: z.ZodLiteral<10>;
|
|
@@ -1218,6 +1232,7 @@ export declare const shortAnswerQuestionSchema: z.ZodObject<{
|
|
|
1218
1232
|
left: "left";
|
|
1219
1233
|
center: "center";
|
|
1220
1234
|
}>>>;
|
|
1235
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1221
1236
|
type: z.ZodLiteral<"short_answer">;
|
|
1222
1237
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1223
1238
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1279,6 +1294,7 @@ export declare const longAnswerQuestionSchema: z.ZodObject<{
|
|
|
1279
1294
|
left: "left";
|
|
1280
1295
|
center: "center";
|
|
1281
1296
|
}>>>;
|
|
1297
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1282
1298
|
type: z.ZodLiteral<"long_text">;
|
|
1283
1299
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1284
1300
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1339,6 +1355,7 @@ export declare const nestedDropdownQuestionSchema: z.ZodObject<{
|
|
|
1339
1355
|
left: "left";
|
|
1340
1356
|
center: "center";
|
|
1341
1357
|
}>>>;
|
|
1358
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1342
1359
|
type: z.ZodLiteral<"nested_selection">;
|
|
1343
1360
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1344
1361
|
options: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
@@ -1444,6 +1461,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1444
1461
|
left: "left";
|
|
1445
1462
|
center: "center";
|
|
1446
1463
|
}>>>;
|
|
1464
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1447
1465
|
type: z.ZodLiteral<"rating">;
|
|
1448
1466
|
showLabels: z.ZodOptional<z.ZodBoolean>;
|
|
1449
1467
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1513,6 +1531,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1513
1531
|
left: "left";
|
|
1514
1532
|
center: "center";
|
|
1515
1533
|
}>>>;
|
|
1534
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1516
1535
|
type: z.ZodLiteral<"annotation">;
|
|
1517
1536
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
1518
1537
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
@@ -1564,6 +1583,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1564
1583
|
left: "left";
|
|
1565
1584
|
center: "center";
|
|
1566
1585
|
}>>>;
|
|
1586
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1567
1587
|
type: z.ZodLiteral<"welcome">;
|
|
1568
1588
|
title: z.ZodString;
|
|
1569
1589
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1617,6 +1637,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1617
1637
|
left: "left";
|
|
1618
1638
|
center: "center";
|
|
1619
1639
|
}>>>;
|
|
1640
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1620
1641
|
type: z.ZodLiteral<"thank_you">;
|
|
1621
1642
|
title: z.ZodString;
|
|
1622
1643
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1670,6 +1691,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1670
1691
|
left: "left";
|
|
1671
1692
|
center: "center";
|
|
1672
1693
|
}>>>;
|
|
1694
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1673
1695
|
type: z.ZodLiteral<"message_panel">;
|
|
1674
1696
|
title: z.ZodString;
|
|
1675
1697
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1725,6 +1747,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1725
1747
|
left: "left";
|
|
1726
1748
|
center: "center";
|
|
1727
1749
|
}>>>;
|
|
1750
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1728
1751
|
type: z.ZodLiteral<"exit_form">;
|
|
1729
1752
|
}, z.core.$strip>, z.ZodObject<{
|
|
1730
1753
|
id: z.ZodString;
|
|
@@ -1776,6 +1799,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1776
1799
|
left: "left";
|
|
1777
1800
|
center: "center";
|
|
1778
1801
|
}>>>;
|
|
1802
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1779
1803
|
type: z.ZodLiteral<"yes_no">;
|
|
1780
1804
|
yesLabel: z.ZodOptional<z.ZodString>;
|
|
1781
1805
|
noLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1833,6 +1857,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1833
1857
|
left: "left";
|
|
1834
1858
|
center: "center";
|
|
1835
1859
|
}>>>;
|
|
1860
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1836
1861
|
type: z.ZodLiteral<"rating_matrix">;
|
|
1837
1862
|
statements: z.ZodArray<z.ZodObject<{
|
|
1838
1863
|
id: z.ZodString;
|
|
@@ -1923,6 +1948,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1923
1948
|
left: "left";
|
|
1924
1949
|
center: "center";
|
|
1925
1950
|
}>>>;
|
|
1951
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1926
1952
|
type: z.ZodLiteral<"matrix_single_choice">;
|
|
1927
1953
|
rows: z.ZodArray<z.ZodObject<{
|
|
1928
1954
|
id: z.ZodString;
|
|
@@ -1988,6 +2014,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1988
2014
|
left: "left";
|
|
1989
2015
|
center: "center";
|
|
1990
2016
|
}>>>;
|
|
2017
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1991
2018
|
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
1992
2019
|
rows: z.ZodArray<z.ZodObject<{
|
|
1993
2020
|
id: z.ZodString;
|
|
@@ -2055,6 +2082,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2055
2082
|
left: "left";
|
|
2056
2083
|
center: "center";
|
|
2057
2084
|
}>>>;
|
|
2085
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2058
2086
|
type: z.ZodLiteral<"single_choice">;
|
|
2059
2087
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
2060
2088
|
radio: "radio";
|
|
@@ -2126,6 +2154,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2126
2154
|
left: "left";
|
|
2127
2155
|
center: "center";
|
|
2128
2156
|
}>>>;
|
|
2157
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2129
2158
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
2130
2159
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
2131
2160
|
list: "list";
|
|
@@ -2198,6 +2227,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2198
2227
|
left: "left";
|
|
2199
2228
|
center: "center";
|
|
2200
2229
|
}>>>;
|
|
2230
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2201
2231
|
type: z.ZodLiteral<"nps">;
|
|
2202
2232
|
min: z.ZodLiteral<0>;
|
|
2203
2233
|
max: z.ZodLiteral<10>;
|
|
@@ -2255,6 +2285,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2255
2285
|
left: "left";
|
|
2256
2286
|
center: "center";
|
|
2257
2287
|
}>>>;
|
|
2288
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2258
2289
|
type: z.ZodLiteral<"short_answer">;
|
|
2259
2290
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
2260
2291
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2315,6 +2346,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2315
2346
|
left: "left";
|
|
2316
2347
|
center: "center";
|
|
2317
2348
|
}>>>;
|
|
2349
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2318
2350
|
type: z.ZodLiteral<"long_text">;
|
|
2319
2351
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
2320
2352
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2374,6 +2406,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2374
2406
|
left: "left";
|
|
2375
2407
|
center: "center";
|
|
2376
2408
|
}>>>;
|
|
2409
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2377
2410
|
type: z.ZodLiteral<"nested_selection">;
|
|
2378
2411
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
2379
2412
|
options: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
@@ -161,6 +161,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
161
161
|
left: "left";
|
|
162
162
|
center: "center";
|
|
163
163
|
}>>>;
|
|
164
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
164
165
|
type: z.ZodLiteral<"rating">;
|
|
165
166
|
showLabels: z.ZodOptional<z.ZodBoolean>;
|
|
166
167
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -230,6 +231,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
230
231
|
left: "left";
|
|
231
232
|
center: "center";
|
|
232
233
|
}>>>;
|
|
234
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
233
235
|
type: z.ZodLiteral<"annotation">;
|
|
234
236
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
235
237
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
@@ -281,6 +283,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
281
283
|
left: "left";
|
|
282
284
|
center: "center";
|
|
283
285
|
}>>>;
|
|
286
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
284
287
|
type: z.ZodLiteral<"welcome">;
|
|
285
288
|
title: z.ZodString;
|
|
286
289
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -334,6 +337,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
334
337
|
left: "left";
|
|
335
338
|
center: "center";
|
|
336
339
|
}>>>;
|
|
340
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
337
341
|
type: z.ZodLiteral<"thank_you">;
|
|
338
342
|
title: z.ZodString;
|
|
339
343
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -387,6 +391,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
387
391
|
left: "left";
|
|
388
392
|
center: "center";
|
|
389
393
|
}>>>;
|
|
394
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
390
395
|
type: z.ZodLiteral<"message_panel">;
|
|
391
396
|
title: z.ZodString;
|
|
392
397
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -442,6 +447,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
442
447
|
left: "left";
|
|
443
448
|
center: "center";
|
|
444
449
|
}>>>;
|
|
450
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
445
451
|
type: z.ZodLiteral<"exit_form">;
|
|
446
452
|
}, z.core.$strip>, z.ZodObject<{
|
|
447
453
|
id: z.ZodString;
|
|
@@ -493,6 +499,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
493
499
|
left: "left";
|
|
494
500
|
center: "center";
|
|
495
501
|
}>>>;
|
|
502
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
496
503
|
type: z.ZodLiteral<"yes_no">;
|
|
497
504
|
yesLabel: z.ZodOptional<z.ZodString>;
|
|
498
505
|
noLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -550,6 +557,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
550
557
|
left: "left";
|
|
551
558
|
center: "center";
|
|
552
559
|
}>>>;
|
|
560
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
553
561
|
type: z.ZodLiteral<"rating_matrix">;
|
|
554
562
|
statements: z.ZodArray<z.ZodObject<{
|
|
555
563
|
id: z.ZodString;
|
|
@@ -640,6 +648,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
640
648
|
left: "left";
|
|
641
649
|
center: "center";
|
|
642
650
|
}>>>;
|
|
651
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
643
652
|
type: z.ZodLiteral<"matrix_single_choice">;
|
|
644
653
|
rows: z.ZodArray<z.ZodObject<{
|
|
645
654
|
id: z.ZodString;
|
|
@@ -705,6 +714,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
705
714
|
left: "left";
|
|
706
715
|
center: "center";
|
|
707
716
|
}>>>;
|
|
717
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
708
718
|
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
709
719
|
rows: z.ZodArray<z.ZodObject<{
|
|
710
720
|
id: z.ZodString;
|
|
@@ -772,6 +782,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
772
782
|
left: "left";
|
|
773
783
|
center: "center";
|
|
774
784
|
}>>>;
|
|
785
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
775
786
|
type: z.ZodLiteral<"single_choice">;
|
|
776
787
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
777
788
|
radio: "radio";
|
|
@@ -843,6 +854,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
843
854
|
left: "left";
|
|
844
855
|
center: "center";
|
|
845
856
|
}>>>;
|
|
857
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
846
858
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
847
859
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
848
860
|
list: "list";
|
|
@@ -915,6 +927,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
915
927
|
left: "left";
|
|
916
928
|
center: "center";
|
|
917
929
|
}>>>;
|
|
930
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
918
931
|
type: z.ZodLiteral<"nps">;
|
|
919
932
|
min: z.ZodLiteral<0>;
|
|
920
933
|
max: z.ZodLiteral<10>;
|
|
@@ -972,6 +985,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
972
985
|
left: "left";
|
|
973
986
|
center: "center";
|
|
974
987
|
}>>>;
|
|
988
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
975
989
|
type: z.ZodLiteral<"short_answer">;
|
|
976
990
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
977
991
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1032,6 +1046,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1032
1046
|
left: "left";
|
|
1033
1047
|
center: "center";
|
|
1034
1048
|
}>>>;
|
|
1049
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1035
1050
|
type: z.ZodLiteral<"long_text">;
|
|
1036
1051
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1037
1052
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1091,6 +1106,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1091
1106
|
left: "left";
|
|
1092
1107
|
center: "center";
|
|
1093
1108
|
}>>>;
|
|
1109
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1094
1110
|
type: z.ZodLiteral<"nested_selection">;
|
|
1095
1111
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1096
1112
|
options: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
@@ -1132,6 +1148,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1132
1148
|
title: z.ZodString;
|
|
1133
1149
|
description: z.ZodOptional<z.ZodString>;
|
|
1134
1150
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1151
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1135
1152
|
type: z.ZodLiteral<"rating">;
|
|
1136
1153
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
1137
1154
|
maxLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1139,18 +1156,21 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1139
1156
|
title: z.ZodString;
|
|
1140
1157
|
description: z.ZodOptional<z.ZodString>;
|
|
1141
1158
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1159
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1142
1160
|
type: z.ZodLiteral<"single_choice">;
|
|
1143
1161
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1144
1162
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
1145
1163
|
title: z.ZodString;
|
|
1146
1164
|
description: z.ZodOptional<z.ZodString>;
|
|
1147
1165
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1166
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1148
1167
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
1149
1168
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1150
1169
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
1151
1170
|
title: z.ZodString;
|
|
1152
1171
|
description: z.ZodOptional<z.ZodString>;
|
|
1153
1172
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1173
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1154
1174
|
type: z.ZodLiteral<"nps">;
|
|
1155
1175
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
1156
1176
|
maxLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1158,24 +1178,28 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1158
1178
|
title: z.ZodString;
|
|
1159
1179
|
description: z.ZodOptional<z.ZodString>;
|
|
1160
1180
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1181
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1161
1182
|
type: z.ZodLiteral<"short_answer">;
|
|
1162
1183
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1163
1184
|
}, z.core.$strip>, z.ZodObject<{
|
|
1164
1185
|
title: z.ZodString;
|
|
1165
1186
|
description: z.ZodOptional<z.ZodString>;
|
|
1166
1187
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1188
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1167
1189
|
type: z.ZodLiteral<"long_text">;
|
|
1168
1190
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1169
1191
|
}, z.core.$strip>, z.ZodObject<{
|
|
1170
1192
|
title: z.ZodString;
|
|
1171
1193
|
description: z.ZodOptional<z.ZodString>;
|
|
1172
1194
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1195
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1173
1196
|
type: z.ZodLiteral<"nested_selection">;
|
|
1174
1197
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1175
1198
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
1176
1199
|
title: z.ZodString;
|
|
1177
1200
|
description: z.ZodOptional<z.ZodString>;
|
|
1178
1201
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1202
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1179
1203
|
type: z.ZodLiteral<"annotation">;
|
|
1180
1204
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
1181
1205
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
@@ -1183,24 +1207,28 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1183
1207
|
title: z.ZodString;
|
|
1184
1208
|
description: z.ZodOptional<z.ZodString>;
|
|
1185
1209
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1210
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1186
1211
|
type: z.ZodLiteral<"welcome">;
|
|
1187
1212
|
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1188
1213
|
}, z.core.$strip>, z.ZodObject<{
|
|
1189
1214
|
title: z.ZodString;
|
|
1190
1215
|
description: z.ZodOptional<z.ZodString>;
|
|
1191
1216
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1217
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1192
1218
|
type: z.ZodLiteral<"thank_you">;
|
|
1193
1219
|
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1194
1220
|
}, z.core.$strip>, z.ZodObject<{
|
|
1195
1221
|
title: z.ZodString;
|
|
1196
1222
|
description: z.ZodOptional<z.ZodString>;
|
|
1197
1223
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1224
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1198
1225
|
type: z.ZodLiteral<"message_panel">;
|
|
1199
1226
|
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1200
1227
|
}, z.core.$strip>, z.ZodObject<{
|
|
1201
1228
|
title: z.ZodString;
|
|
1202
1229
|
description: z.ZodOptional<z.ZodString>;
|
|
1203
1230
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1231
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1204
1232
|
type: z.ZodLiteral<"yes_no">;
|
|
1205
1233
|
yesLabel: z.ZodOptional<z.ZodString>;
|
|
1206
1234
|
noLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1208,6 +1236,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1208
1236
|
title: z.ZodString;
|
|
1209
1237
|
description: z.ZodOptional<z.ZodString>;
|
|
1210
1238
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1239
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1211
1240
|
type: z.ZodLiteral<"rating_matrix">;
|
|
1212
1241
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
1213
1242
|
maxLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1215,11 +1244,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1215
1244
|
title: z.ZodString;
|
|
1216
1245
|
description: z.ZodOptional<z.ZodString>;
|
|
1217
1246
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1247
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1218
1248
|
type: z.ZodLiteral<"matrix_single_choice">;
|
|
1219
1249
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
1220
1250
|
title: z.ZodString;
|
|
1221
1251
|
description: z.ZodOptional<z.ZodString>;
|
|
1222
1252
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1253
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1223
1254
|
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
1224
1255
|
}, z.core.$catchall<z.ZodString>>]>>>;
|
|
1225
1256
|
}, z.core.$strip>;
|