@encatch/schema 1.0.1-beta.3 → 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 +18 -16
- package/dist/esm/index.js.map +2 -2
- package/dist/types/index.d.ts +1 -1
- package/dist/types/schemas/api/fetch-feedback-schema.d.ts +42 -6
- package/dist/types/schemas/fields/app-props-schema.d.ts +36 -3
- package/dist/types/schemas/fields/field-schema.d.ts +38 -3
- package/dist/types/schemas/fields/form-properties-schema.d.ts +36 -3
- package/dist/types/schemas/fields/translations-schema.d.ts +89 -1
- package/package.json +1 -1
|
@@ -111,13 +111,15 @@ export declare const visibilityConditionSchema: z.ZodObject<{
|
|
|
111
111
|
export declare const sectionSchema: z.ZodObject<{
|
|
112
112
|
id: z.ZodString;
|
|
113
113
|
title: z.ZodString;
|
|
114
|
-
titleTranslations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
115
114
|
description: z.ZodOptional<z.ZodString>;
|
|
116
|
-
descriptionTranslations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
117
115
|
showTitle: z.ZodDefault<z.ZodBoolean>;
|
|
118
116
|
showDescription: z.ZodDefault<z.ZodBoolean>;
|
|
119
117
|
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
120
|
-
|
|
118
|
+
translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
119
|
+
title: z.ZodString;
|
|
120
|
+
description: z.ZodOptional<z.ZodString>;
|
|
121
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
122
|
+
}, z.core.$strip>>>;
|
|
121
123
|
inAppSingleQuestion: z.ZodDefault<z.ZodBoolean>;
|
|
122
124
|
questionIds: z.ZodArray<z.ZodString>;
|
|
123
125
|
}, z.core.$strip>;
|
|
@@ -271,6 +273,7 @@ export declare const questionSchema: z.ZodObject<{
|
|
|
271
273
|
left: "left";
|
|
272
274
|
center: "center";
|
|
273
275
|
}>>>;
|
|
276
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
274
277
|
}, z.core.$strip>;
|
|
275
278
|
export declare const ratingQuestionSchema: z.ZodObject<{
|
|
276
279
|
id: z.ZodString;
|
|
@@ -322,6 +325,7 @@ export declare const ratingQuestionSchema: z.ZodObject<{
|
|
|
322
325
|
left: "left";
|
|
323
326
|
center: "center";
|
|
324
327
|
}>>>;
|
|
328
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
325
329
|
type: z.ZodLiteral<"rating">;
|
|
326
330
|
showLabels: z.ZodOptional<z.ZodBoolean>;
|
|
327
331
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -392,6 +396,7 @@ export declare const annotationQuestionSchema: z.ZodObject<{
|
|
|
392
396
|
left: "left";
|
|
393
397
|
center: "center";
|
|
394
398
|
}>>>;
|
|
399
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
395
400
|
type: z.ZodLiteral<"annotation">;
|
|
396
401
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
397
402
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
@@ -444,6 +449,7 @@ export declare const welcomeQuestionSchema: z.ZodObject<{
|
|
|
444
449
|
left: "left";
|
|
445
450
|
center: "center";
|
|
446
451
|
}>>>;
|
|
452
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
447
453
|
type: z.ZodLiteral<"welcome">;
|
|
448
454
|
title: z.ZodString;
|
|
449
455
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -498,6 +504,7 @@ export declare const thankYouQuestionSchema: z.ZodObject<{
|
|
|
498
504
|
left: "left";
|
|
499
505
|
center: "center";
|
|
500
506
|
}>>>;
|
|
507
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
501
508
|
type: z.ZodLiteral<"thank_you">;
|
|
502
509
|
title: z.ZodString;
|
|
503
510
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -552,6 +559,7 @@ export declare const messagePanelQuestionSchema: z.ZodObject<{
|
|
|
552
559
|
left: "left";
|
|
553
560
|
center: "center";
|
|
554
561
|
}>>>;
|
|
562
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
555
563
|
type: z.ZodLiteral<"message_panel">;
|
|
556
564
|
title: z.ZodString;
|
|
557
565
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -608,6 +616,7 @@ export declare const exitFormQuestionSchema: z.ZodObject<{
|
|
|
608
616
|
left: "left";
|
|
609
617
|
center: "center";
|
|
610
618
|
}>>>;
|
|
619
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
611
620
|
type: z.ZodLiteral<"exit_form">;
|
|
612
621
|
}, z.core.$strip>;
|
|
613
622
|
export declare const yesNoQuestionSchema: z.ZodObject<{
|
|
@@ -660,6 +669,7 @@ export declare const yesNoQuestionSchema: z.ZodObject<{
|
|
|
660
669
|
left: "left";
|
|
661
670
|
center: "center";
|
|
662
671
|
}>>>;
|
|
672
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
663
673
|
type: z.ZodLiteral<"yes_no">;
|
|
664
674
|
yesLabel: z.ZodOptional<z.ZodString>;
|
|
665
675
|
noLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -768,6 +778,7 @@ export declare const ratingMatrixQuestionSchema: z.ZodObject<{
|
|
|
768
778
|
left: "left";
|
|
769
779
|
center: "center";
|
|
770
780
|
}>>>;
|
|
781
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
771
782
|
type: z.ZodLiteral<"rating_matrix">;
|
|
772
783
|
statements: z.ZodArray<z.ZodObject<{
|
|
773
784
|
id: z.ZodString;
|
|
@@ -871,6 +882,7 @@ export declare const matrixSingleChoiceQuestionSchema: z.ZodObject<{
|
|
|
871
882
|
left: "left";
|
|
872
883
|
center: "center";
|
|
873
884
|
}>>>;
|
|
885
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
874
886
|
type: z.ZodLiteral<"matrix_single_choice">;
|
|
875
887
|
rows: z.ZodArray<z.ZodObject<{
|
|
876
888
|
id: z.ZodString;
|
|
@@ -937,6 +949,7 @@ export declare const matrixMultipleChoiceQuestionSchema: z.ZodObject<{
|
|
|
937
949
|
left: "left";
|
|
938
950
|
center: "center";
|
|
939
951
|
}>>>;
|
|
952
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
940
953
|
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
941
954
|
rows: z.ZodArray<z.ZodObject<{
|
|
942
955
|
id: z.ZodString;
|
|
@@ -1013,6 +1026,7 @@ export declare const multipleChoiceSingleQuestionSchema: z.ZodObject<{
|
|
|
1013
1026
|
left: "left";
|
|
1014
1027
|
center: "center";
|
|
1015
1028
|
}>>>;
|
|
1029
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1016
1030
|
type: z.ZodLiteral<"single_choice">;
|
|
1017
1031
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
1018
1032
|
radio: "radio";
|
|
@@ -1085,6 +1099,7 @@ export declare const multipleChoiceMultipleQuestionSchema: z.ZodObject<{
|
|
|
1085
1099
|
left: "left";
|
|
1086
1100
|
center: "center";
|
|
1087
1101
|
}>>>;
|
|
1102
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1088
1103
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
1089
1104
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
1090
1105
|
list: "list";
|
|
@@ -1158,6 +1173,7 @@ export declare const npsQuestionSchema: z.ZodObject<{
|
|
|
1158
1173
|
left: "left";
|
|
1159
1174
|
center: "center";
|
|
1160
1175
|
}>>>;
|
|
1176
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1161
1177
|
type: z.ZodLiteral<"nps">;
|
|
1162
1178
|
min: z.ZodLiteral<0>;
|
|
1163
1179
|
max: z.ZodLiteral<10>;
|
|
@@ -1216,6 +1232,7 @@ export declare const shortAnswerQuestionSchema: z.ZodObject<{
|
|
|
1216
1232
|
left: "left";
|
|
1217
1233
|
center: "center";
|
|
1218
1234
|
}>>>;
|
|
1235
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1219
1236
|
type: z.ZodLiteral<"short_answer">;
|
|
1220
1237
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1221
1238
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1277,6 +1294,7 @@ export declare const longAnswerQuestionSchema: z.ZodObject<{
|
|
|
1277
1294
|
left: "left";
|
|
1278
1295
|
center: "center";
|
|
1279
1296
|
}>>>;
|
|
1297
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1280
1298
|
type: z.ZodLiteral<"long_text">;
|
|
1281
1299
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1282
1300
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1337,6 +1355,7 @@ export declare const nestedDropdownQuestionSchema: z.ZodObject<{
|
|
|
1337
1355
|
left: "left";
|
|
1338
1356
|
center: "center";
|
|
1339
1357
|
}>>>;
|
|
1358
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1340
1359
|
type: z.ZodLiteral<"nested_selection">;
|
|
1341
1360
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1342
1361
|
options: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
@@ -1442,6 +1461,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1442
1461
|
left: "left";
|
|
1443
1462
|
center: "center";
|
|
1444
1463
|
}>>>;
|
|
1464
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1445
1465
|
type: z.ZodLiteral<"rating">;
|
|
1446
1466
|
showLabels: z.ZodOptional<z.ZodBoolean>;
|
|
1447
1467
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1511,6 +1531,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1511
1531
|
left: "left";
|
|
1512
1532
|
center: "center";
|
|
1513
1533
|
}>>>;
|
|
1534
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1514
1535
|
type: z.ZodLiteral<"annotation">;
|
|
1515
1536
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
1516
1537
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
@@ -1562,6 +1583,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1562
1583
|
left: "left";
|
|
1563
1584
|
center: "center";
|
|
1564
1585
|
}>>>;
|
|
1586
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1565
1587
|
type: z.ZodLiteral<"welcome">;
|
|
1566
1588
|
title: z.ZodString;
|
|
1567
1589
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1615,6 +1637,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1615
1637
|
left: "left";
|
|
1616
1638
|
center: "center";
|
|
1617
1639
|
}>>>;
|
|
1640
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1618
1641
|
type: z.ZodLiteral<"thank_you">;
|
|
1619
1642
|
title: z.ZodString;
|
|
1620
1643
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1668,6 +1691,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1668
1691
|
left: "left";
|
|
1669
1692
|
center: "center";
|
|
1670
1693
|
}>>>;
|
|
1694
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1671
1695
|
type: z.ZodLiteral<"message_panel">;
|
|
1672
1696
|
title: z.ZodString;
|
|
1673
1697
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1723,6 +1747,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1723
1747
|
left: "left";
|
|
1724
1748
|
center: "center";
|
|
1725
1749
|
}>>>;
|
|
1750
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1726
1751
|
type: z.ZodLiteral<"exit_form">;
|
|
1727
1752
|
}, z.core.$strip>, z.ZodObject<{
|
|
1728
1753
|
id: z.ZodString;
|
|
@@ -1774,6 +1799,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1774
1799
|
left: "left";
|
|
1775
1800
|
center: "center";
|
|
1776
1801
|
}>>>;
|
|
1802
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1777
1803
|
type: z.ZodLiteral<"yes_no">;
|
|
1778
1804
|
yesLabel: z.ZodOptional<z.ZodString>;
|
|
1779
1805
|
noLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1831,6 +1857,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1831
1857
|
left: "left";
|
|
1832
1858
|
center: "center";
|
|
1833
1859
|
}>>>;
|
|
1860
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1834
1861
|
type: z.ZodLiteral<"rating_matrix">;
|
|
1835
1862
|
statements: z.ZodArray<z.ZodObject<{
|
|
1836
1863
|
id: z.ZodString;
|
|
@@ -1921,6 +1948,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1921
1948
|
left: "left";
|
|
1922
1949
|
center: "center";
|
|
1923
1950
|
}>>>;
|
|
1951
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1924
1952
|
type: z.ZodLiteral<"matrix_single_choice">;
|
|
1925
1953
|
rows: z.ZodArray<z.ZodObject<{
|
|
1926
1954
|
id: z.ZodString;
|
|
@@ -1986,6 +2014,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1986
2014
|
left: "left";
|
|
1987
2015
|
center: "center";
|
|
1988
2016
|
}>>>;
|
|
2017
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1989
2018
|
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
1990
2019
|
rows: z.ZodArray<z.ZodObject<{
|
|
1991
2020
|
id: z.ZodString;
|
|
@@ -2053,6 +2082,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2053
2082
|
left: "left";
|
|
2054
2083
|
center: "center";
|
|
2055
2084
|
}>>>;
|
|
2085
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2056
2086
|
type: z.ZodLiteral<"single_choice">;
|
|
2057
2087
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
2058
2088
|
radio: "radio";
|
|
@@ -2124,6 +2154,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2124
2154
|
left: "left";
|
|
2125
2155
|
center: "center";
|
|
2126
2156
|
}>>>;
|
|
2157
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2127
2158
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
2128
2159
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
2129
2160
|
list: "list";
|
|
@@ -2196,6 +2227,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2196
2227
|
left: "left";
|
|
2197
2228
|
center: "center";
|
|
2198
2229
|
}>>>;
|
|
2230
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2199
2231
|
type: z.ZodLiteral<"nps">;
|
|
2200
2232
|
min: z.ZodLiteral<0>;
|
|
2201
2233
|
max: z.ZodLiteral<10>;
|
|
@@ -2253,6 +2285,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2253
2285
|
left: "left";
|
|
2254
2286
|
center: "center";
|
|
2255
2287
|
}>>>;
|
|
2288
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2256
2289
|
type: z.ZodLiteral<"short_answer">;
|
|
2257
2290
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
2258
2291
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2313,6 +2346,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2313
2346
|
left: "left";
|
|
2314
2347
|
center: "center";
|
|
2315
2348
|
}>>>;
|
|
2349
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2316
2350
|
type: z.ZodLiteral<"long_text">;
|
|
2317
2351
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
2318
2352
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2372,6 +2406,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2372
2406
|
left: "left";
|
|
2373
2407
|
center: "center";
|
|
2374
2408
|
}>>>;
|
|
2409
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2375
2410
|
type: z.ZodLiteral<"nested_selection">;
|
|
2376
2411
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
2377
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>>>;
|
|
@@ -1112,13 +1128,15 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1112
1128
|
sections: z.ZodArray<z.ZodObject<{
|
|
1113
1129
|
id: z.ZodString;
|
|
1114
1130
|
title: z.ZodString;
|
|
1115
|
-
titleTranslations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1116
1131
|
description: z.ZodOptional<z.ZodString>;
|
|
1117
|
-
descriptionTranslations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1118
1132
|
showTitle: z.ZodDefault<z.ZodBoolean>;
|
|
1119
1133
|
showDescription: z.ZodDefault<z.ZodBoolean>;
|
|
1120
1134
|
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1121
|
-
|
|
1135
|
+
translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1136
|
+
title: z.ZodString;
|
|
1137
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1138
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1139
|
+
}, z.core.$strip>>>;
|
|
1122
1140
|
inAppSingleQuestion: z.ZodDefault<z.ZodBoolean>;
|
|
1123
1141
|
questionIds: z.ZodArray<z.ZodString>;
|
|
1124
1142
|
}, z.core.$strip>>;
|
|
@@ -1130,6 +1148,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1130
1148
|
title: z.ZodString;
|
|
1131
1149
|
description: z.ZodOptional<z.ZodString>;
|
|
1132
1150
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1151
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1133
1152
|
type: z.ZodLiteral<"rating">;
|
|
1134
1153
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
1135
1154
|
maxLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1137,18 +1156,21 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1137
1156
|
title: z.ZodString;
|
|
1138
1157
|
description: z.ZodOptional<z.ZodString>;
|
|
1139
1158
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1159
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1140
1160
|
type: z.ZodLiteral<"single_choice">;
|
|
1141
1161
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1142
1162
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
1143
1163
|
title: z.ZodString;
|
|
1144
1164
|
description: z.ZodOptional<z.ZodString>;
|
|
1145
1165
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1166
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1146
1167
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
1147
1168
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1148
1169
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
1149
1170
|
title: z.ZodString;
|
|
1150
1171
|
description: z.ZodOptional<z.ZodString>;
|
|
1151
1172
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1173
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1152
1174
|
type: z.ZodLiteral<"nps">;
|
|
1153
1175
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
1154
1176
|
maxLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1156,24 +1178,28 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1156
1178
|
title: z.ZodString;
|
|
1157
1179
|
description: z.ZodOptional<z.ZodString>;
|
|
1158
1180
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1181
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1159
1182
|
type: z.ZodLiteral<"short_answer">;
|
|
1160
1183
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1161
1184
|
}, z.core.$strip>, z.ZodObject<{
|
|
1162
1185
|
title: z.ZodString;
|
|
1163
1186
|
description: z.ZodOptional<z.ZodString>;
|
|
1164
1187
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1188
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1165
1189
|
type: z.ZodLiteral<"long_text">;
|
|
1166
1190
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1167
1191
|
}, z.core.$strip>, z.ZodObject<{
|
|
1168
1192
|
title: z.ZodString;
|
|
1169
1193
|
description: z.ZodOptional<z.ZodString>;
|
|
1170
1194
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1195
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1171
1196
|
type: z.ZodLiteral<"nested_selection">;
|
|
1172
1197
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1173
1198
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
1174
1199
|
title: z.ZodString;
|
|
1175
1200
|
description: z.ZodOptional<z.ZodString>;
|
|
1176
1201
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1202
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1177
1203
|
type: z.ZodLiteral<"annotation">;
|
|
1178
1204
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
1179
1205
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
@@ -1181,24 +1207,28 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1181
1207
|
title: z.ZodString;
|
|
1182
1208
|
description: z.ZodOptional<z.ZodString>;
|
|
1183
1209
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1210
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1184
1211
|
type: z.ZodLiteral<"welcome">;
|
|
1185
1212
|
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1186
1213
|
}, z.core.$strip>, z.ZodObject<{
|
|
1187
1214
|
title: z.ZodString;
|
|
1188
1215
|
description: z.ZodOptional<z.ZodString>;
|
|
1189
1216
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1217
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1190
1218
|
type: z.ZodLiteral<"thank_you">;
|
|
1191
1219
|
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1192
1220
|
}, z.core.$strip>, z.ZodObject<{
|
|
1193
1221
|
title: z.ZodString;
|
|
1194
1222
|
description: z.ZodOptional<z.ZodString>;
|
|
1195
1223
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1224
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1196
1225
|
type: z.ZodLiteral<"message_panel">;
|
|
1197
1226
|
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1198
1227
|
}, z.core.$strip>, z.ZodObject<{
|
|
1199
1228
|
title: z.ZodString;
|
|
1200
1229
|
description: z.ZodOptional<z.ZodString>;
|
|
1201
1230
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1231
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1202
1232
|
type: z.ZodLiteral<"yes_no">;
|
|
1203
1233
|
yesLabel: z.ZodOptional<z.ZodString>;
|
|
1204
1234
|
noLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1206,6 +1236,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1206
1236
|
title: z.ZodString;
|
|
1207
1237
|
description: z.ZodOptional<z.ZodString>;
|
|
1208
1238
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1239
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1209
1240
|
type: z.ZodLiteral<"rating_matrix">;
|
|
1210
1241
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
1211
1242
|
maxLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1213,11 +1244,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1213
1244
|
title: z.ZodString;
|
|
1214
1245
|
description: z.ZodOptional<z.ZodString>;
|
|
1215
1246
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1247
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1216
1248
|
type: z.ZodLiteral<"matrix_single_choice">;
|
|
1217
1249
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
1218
1250
|
title: z.ZodString;
|
|
1219
1251
|
description: z.ZodOptional<z.ZodString>;
|
|
1220
1252
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1253
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1221
1254
|
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
1222
1255
|
}, z.core.$catchall<z.ZodString>>]>>>;
|
|
1223
1256
|
}, z.core.$strip>;
|