@encatch/schema 1.1.0-beta.4 → 1.1.0-beta.6
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 +13 -23
- package/dist/esm/index.js.map +2 -2
- package/dist/types/schemas/api/fetch-feedback-schema.d.ts +32 -16
- package/dist/types/schemas/fields/app-props-schema.d.ts +31 -16
- package/dist/types/schemas/fields/field-schema.d.ts +33 -6
- package/dist/types/schemas/fields/form-properties-schema.d.ts +31 -26
- package/dist/types/schemas/fields/other-screen-schema.d.ts +0 -5
- package/dist/types/schemas/fields/translations-schema.d.ts +77 -16
- 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,10 +449,10 @@ 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>;
|
|
452
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
453
456
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
454
457
|
}, z.core.$strip>;
|
|
455
458
|
export declare const thankYouQuestionSchema: z.ZodObject<{
|
|
@@ -500,10 +503,10 @@ export declare const thankYouQuestionSchema: z.ZodObject<{
|
|
|
500
503
|
left: "left";
|
|
501
504
|
center: "center";
|
|
502
505
|
}>>>;
|
|
506
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
503
507
|
type: z.ZodLiteral<"thank_you">;
|
|
504
508
|
title: z.ZodString;
|
|
505
509
|
description: z.ZodOptional<z.ZodString>;
|
|
506
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
507
510
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
508
511
|
}, z.core.$strip>;
|
|
509
512
|
export declare const messagePanelQuestionSchema: z.ZodObject<{
|
|
@@ -554,10 +557,10 @@ export declare const messagePanelQuestionSchema: z.ZodObject<{
|
|
|
554
557
|
left: "left";
|
|
555
558
|
center: "center";
|
|
556
559
|
}>>>;
|
|
560
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
557
561
|
type: z.ZodLiteral<"message_panel">;
|
|
558
562
|
title: z.ZodString;
|
|
559
563
|
description: z.ZodOptional<z.ZodString>;
|
|
560
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
561
564
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
562
565
|
}, z.core.$strip>;
|
|
563
566
|
export declare const exitFormQuestionSchema: z.ZodObject<{
|
|
@@ -610,6 +613,7 @@ export declare const exitFormQuestionSchema: z.ZodObject<{
|
|
|
610
613
|
left: "left";
|
|
611
614
|
center: "center";
|
|
612
615
|
}>>>;
|
|
616
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
613
617
|
type: z.ZodLiteral<"exit_form">;
|
|
614
618
|
}, z.core.$strip>;
|
|
615
619
|
export declare const yesNoQuestionSchema: z.ZodObject<{
|
|
@@ -662,6 +666,7 @@ export declare const yesNoQuestionSchema: z.ZodObject<{
|
|
|
662
666
|
left: "left";
|
|
663
667
|
center: "center";
|
|
664
668
|
}>>>;
|
|
669
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
665
670
|
type: z.ZodLiteral<"yes_no">;
|
|
666
671
|
yesLabel: z.ZodOptional<z.ZodString>;
|
|
667
672
|
noLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -770,6 +775,7 @@ export declare const ratingMatrixQuestionSchema: z.ZodObject<{
|
|
|
770
775
|
left: "left";
|
|
771
776
|
center: "center";
|
|
772
777
|
}>>>;
|
|
778
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
773
779
|
type: z.ZodLiteral<"rating_matrix">;
|
|
774
780
|
statements: z.ZodArray<z.ZodObject<{
|
|
775
781
|
id: z.ZodString;
|
|
@@ -873,6 +879,7 @@ export declare const matrixSingleChoiceQuestionSchema: z.ZodObject<{
|
|
|
873
879
|
left: "left";
|
|
874
880
|
center: "center";
|
|
875
881
|
}>>>;
|
|
882
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
876
883
|
type: z.ZodLiteral<"matrix_single_choice">;
|
|
877
884
|
rows: z.ZodArray<z.ZodObject<{
|
|
878
885
|
id: z.ZodString;
|
|
@@ -939,6 +946,7 @@ export declare const matrixMultipleChoiceQuestionSchema: z.ZodObject<{
|
|
|
939
946
|
left: "left";
|
|
940
947
|
center: "center";
|
|
941
948
|
}>>>;
|
|
949
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
942
950
|
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
943
951
|
rows: z.ZodArray<z.ZodObject<{
|
|
944
952
|
id: z.ZodString;
|
|
@@ -1015,6 +1023,7 @@ export declare const multipleChoiceSingleQuestionSchema: z.ZodObject<{
|
|
|
1015
1023
|
left: "left";
|
|
1016
1024
|
center: "center";
|
|
1017
1025
|
}>>>;
|
|
1026
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1018
1027
|
type: z.ZodLiteral<"single_choice">;
|
|
1019
1028
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
1020
1029
|
radio: "radio";
|
|
@@ -1087,6 +1096,7 @@ export declare const multipleChoiceMultipleQuestionSchema: z.ZodObject<{
|
|
|
1087
1096
|
left: "left";
|
|
1088
1097
|
center: "center";
|
|
1089
1098
|
}>>>;
|
|
1099
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1090
1100
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
1091
1101
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
1092
1102
|
list: "list";
|
|
@@ -1160,6 +1170,7 @@ export declare const npsQuestionSchema: z.ZodObject<{
|
|
|
1160
1170
|
left: "left";
|
|
1161
1171
|
center: "center";
|
|
1162
1172
|
}>>>;
|
|
1173
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1163
1174
|
type: z.ZodLiteral<"nps">;
|
|
1164
1175
|
min: z.ZodLiteral<0>;
|
|
1165
1176
|
max: z.ZodLiteral<10>;
|
|
@@ -1218,6 +1229,7 @@ export declare const shortAnswerQuestionSchema: z.ZodObject<{
|
|
|
1218
1229
|
left: "left";
|
|
1219
1230
|
center: "center";
|
|
1220
1231
|
}>>>;
|
|
1232
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1221
1233
|
type: z.ZodLiteral<"short_answer">;
|
|
1222
1234
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1223
1235
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1279,6 +1291,7 @@ export declare const longAnswerQuestionSchema: z.ZodObject<{
|
|
|
1279
1291
|
left: "left";
|
|
1280
1292
|
center: "center";
|
|
1281
1293
|
}>>>;
|
|
1294
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1282
1295
|
type: z.ZodLiteral<"long_text">;
|
|
1283
1296
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1284
1297
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1339,6 +1352,7 @@ export declare const nestedDropdownQuestionSchema: z.ZodObject<{
|
|
|
1339
1352
|
left: "left";
|
|
1340
1353
|
center: "center";
|
|
1341
1354
|
}>>>;
|
|
1355
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1342
1356
|
type: z.ZodLiteral<"nested_selection">;
|
|
1343
1357
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1344
1358
|
options: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
@@ -1444,6 +1458,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1444
1458
|
left: "left";
|
|
1445
1459
|
center: "center";
|
|
1446
1460
|
}>>>;
|
|
1461
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1447
1462
|
type: z.ZodLiteral<"rating">;
|
|
1448
1463
|
showLabels: z.ZodOptional<z.ZodBoolean>;
|
|
1449
1464
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1513,6 +1528,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1513
1528
|
left: "left";
|
|
1514
1529
|
center: "center";
|
|
1515
1530
|
}>>>;
|
|
1531
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1516
1532
|
type: z.ZodLiteral<"annotation">;
|
|
1517
1533
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
1518
1534
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
@@ -1564,10 +1580,10 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1564
1580
|
left: "left";
|
|
1565
1581
|
center: "center";
|
|
1566
1582
|
}>>>;
|
|
1583
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1567
1584
|
type: z.ZodLiteral<"welcome">;
|
|
1568
1585
|
title: z.ZodString;
|
|
1569
1586
|
description: z.ZodOptional<z.ZodString>;
|
|
1570
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1571
1587
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
1572
1588
|
}, z.core.$strip>, z.ZodObject<{
|
|
1573
1589
|
id: z.ZodString;
|
|
@@ -1617,10 +1633,10 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1617
1633
|
left: "left";
|
|
1618
1634
|
center: "center";
|
|
1619
1635
|
}>>>;
|
|
1636
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1620
1637
|
type: z.ZodLiteral<"thank_you">;
|
|
1621
1638
|
title: z.ZodString;
|
|
1622
1639
|
description: z.ZodOptional<z.ZodString>;
|
|
1623
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1624
1640
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
1625
1641
|
}, z.core.$strip>, z.ZodObject<{
|
|
1626
1642
|
id: z.ZodString;
|
|
@@ -1670,10 +1686,10 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1670
1686
|
left: "left";
|
|
1671
1687
|
center: "center";
|
|
1672
1688
|
}>>>;
|
|
1689
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1673
1690
|
type: z.ZodLiteral<"message_panel">;
|
|
1674
1691
|
title: z.ZodString;
|
|
1675
1692
|
description: z.ZodOptional<z.ZodString>;
|
|
1676
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1677
1693
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
1678
1694
|
}, z.core.$strip>, z.ZodObject<{
|
|
1679
1695
|
id: z.ZodString;
|
|
@@ -1725,6 +1741,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1725
1741
|
left: "left";
|
|
1726
1742
|
center: "center";
|
|
1727
1743
|
}>>>;
|
|
1744
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1728
1745
|
type: z.ZodLiteral<"exit_form">;
|
|
1729
1746
|
}, z.core.$strip>, z.ZodObject<{
|
|
1730
1747
|
id: z.ZodString;
|
|
@@ -1776,6 +1793,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1776
1793
|
left: "left";
|
|
1777
1794
|
center: "center";
|
|
1778
1795
|
}>>>;
|
|
1796
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1779
1797
|
type: z.ZodLiteral<"yes_no">;
|
|
1780
1798
|
yesLabel: z.ZodOptional<z.ZodString>;
|
|
1781
1799
|
noLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1833,6 +1851,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1833
1851
|
left: "left";
|
|
1834
1852
|
center: "center";
|
|
1835
1853
|
}>>>;
|
|
1854
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1836
1855
|
type: z.ZodLiteral<"rating_matrix">;
|
|
1837
1856
|
statements: z.ZodArray<z.ZodObject<{
|
|
1838
1857
|
id: z.ZodString;
|
|
@@ -1923,6 +1942,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1923
1942
|
left: "left";
|
|
1924
1943
|
center: "center";
|
|
1925
1944
|
}>>>;
|
|
1945
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1926
1946
|
type: z.ZodLiteral<"matrix_single_choice">;
|
|
1927
1947
|
rows: z.ZodArray<z.ZodObject<{
|
|
1928
1948
|
id: z.ZodString;
|
|
@@ -1988,6 +2008,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1988
2008
|
left: "left";
|
|
1989
2009
|
center: "center";
|
|
1990
2010
|
}>>>;
|
|
2011
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1991
2012
|
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
1992
2013
|
rows: z.ZodArray<z.ZodObject<{
|
|
1993
2014
|
id: z.ZodString;
|
|
@@ -2055,6 +2076,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2055
2076
|
left: "left";
|
|
2056
2077
|
center: "center";
|
|
2057
2078
|
}>>>;
|
|
2079
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2058
2080
|
type: z.ZodLiteral<"single_choice">;
|
|
2059
2081
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
2060
2082
|
radio: "radio";
|
|
@@ -2126,6 +2148,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2126
2148
|
left: "left";
|
|
2127
2149
|
center: "center";
|
|
2128
2150
|
}>>>;
|
|
2151
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2129
2152
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
2130
2153
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
2131
2154
|
list: "list";
|
|
@@ -2198,6 +2221,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2198
2221
|
left: "left";
|
|
2199
2222
|
center: "center";
|
|
2200
2223
|
}>>>;
|
|
2224
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2201
2225
|
type: z.ZodLiteral<"nps">;
|
|
2202
2226
|
min: z.ZodLiteral<0>;
|
|
2203
2227
|
max: z.ZodLiteral<10>;
|
|
@@ -2255,6 +2279,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2255
2279
|
left: "left";
|
|
2256
2280
|
center: "center";
|
|
2257
2281
|
}>>>;
|
|
2282
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2258
2283
|
type: z.ZodLiteral<"short_answer">;
|
|
2259
2284
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
2260
2285
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2315,6 +2340,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2315
2340
|
left: "left";
|
|
2316
2341
|
center: "center";
|
|
2317
2342
|
}>>>;
|
|
2343
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2318
2344
|
type: z.ZodLiteral<"long_text">;
|
|
2319
2345
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
2320
2346
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2374,6 +2400,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2374
2400
|
left: "left";
|
|
2375
2401
|
center: "center";
|
|
2376
2402
|
}>>>;
|
|
2403
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2377
2404
|
type: z.ZodLiteral<"nested_selection">;
|
|
2378
2405
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
2379
2406
|
options: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
@@ -3,13 +3,9 @@ import { OtherFieldsSchema, OtherFieldsTranslationSchema } from "./other-screen-
|
|
|
3
3
|
export declare const otherConfigurationPropertiesSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4
4
|
isEnabled: z.ZodLiteral<false>;
|
|
5
5
|
otherFields: z.ZodObject<{
|
|
6
|
-
pagination: z.ZodBoolean;
|
|
7
6
|
questionNumber: z.ZodBoolean;
|
|
8
|
-
pageTitle: z.ZodBoolean;
|
|
9
|
-
blockerFeedback: z.ZodBoolean;
|
|
10
7
|
submitButtonLabel: z.ZodString;
|
|
11
8
|
previousButtonLabel: z.ZodString;
|
|
12
|
-
nextButtonLabel: z.ZodString;
|
|
13
9
|
aiEnhancementSuccessMessage: z.ZodString;
|
|
14
10
|
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
15
11
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
@@ -17,7 +13,6 @@ export declare const otherConfigurationPropertiesSchema: z.ZodDiscriminatedUnion
|
|
|
17
13
|
translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
18
14
|
submitButtonLabel: z.ZodString;
|
|
19
15
|
previousButtonLabel: z.ZodString;
|
|
20
|
-
nextButtonLabel: z.ZodString;
|
|
21
16
|
aiEnhancementSuccessMessage: z.ZodString;
|
|
22
17
|
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
23
18
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
@@ -25,13 +20,9 @@ export declare const otherConfigurationPropertiesSchema: z.ZodDiscriminatedUnion
|
|
|
25
20
|
}, z.core.$strip>, z.ZodObject<{
|
|
26
21
|
isEnabled: z.ZodLiteral<true>;
|
|
27
22
|
otherFields: z.ZodObject<{
|
|
28
|
-
pagination: z.ZodBoolean;
|
|
29
23
|
questionNumber: z.ZodBoolean;
|
|
30
|
-
pageTitle: z.ZodBoolean;
|
|
31
|
-
blockerFeedback: z.ZodBoolean;
|
|
32
24
|
submitButtonLabel: z.ZodString;
|
|
33
25
|
previousButtonLabel: z.ZodString;
|
|
34
|
-
nextButtonLabel: z.ZodString;
|
|
35
26
|
aiEnhancementSuccessMessage: z.ZodString;
|
|
36
27
|
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
37
28
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
@@ -39,7 +30,6 @@ export declare const otherConfigurationPropertiesSchema: z.ZodDiscriminatedUnion
|
|
|
39
30
|
translations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
40
31
|
submitButtonLabel: z.ZodString;
|
|
41
32
|
previousButtonLabel: z.ZodString;
|
|
42
|
-
nextButtonLabel: z.ZodString;
|
|
43
33
|
aiEnhancementSuccessMessage: z.ZodString;
|
|
44
34
|
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
45
35
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
@@ -161,6 +151,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
161
151
|
left: "left";
|
|
162
152
|
center: "center";
|
|
163
153
|
}>>>;
|
|
154
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
164
155
|
type: z.ZodLiteral<"rating">;
|
|
165
156
|
showLabels: z.ZodOptional<z.ZodBoolean>;
|
|
166
157
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -230,6 +221,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
230
221
|
left: "left";
|
|
231
222
|
center: "center";
|
|
232
223
|
}>>>;
|
|
224
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
233
225
|
type: z.ZodLiteral<"annotation">;
|
|
234
226
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
235
227
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
@@ -281,10 +273,10 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
281
273
|
left: "left";
|
|
282
274
|
center: "center";
|
|
283
275
|
}>>>;
|
|
276
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
284
277
|
type: z.ZodLiteral<"welcome">;
|
|
285
278
|
title: z.ZodString;
|
|
286
279
|
description: z.ZodOptional<z.ZodString>;
|
|
287
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
288
280
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
289
281
|
}, z.core.$strip>, z.ZodObject<{
|
|
290
282
|
id: z.ZodString;
|
|
@@ -334,10 +326,10 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
334
326
|
left: "left";
|
|
335
327
|
center: "center";
|
|
336
328
|
}>>>;
|
|
329
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
337
330
|
type: z.ZodLiteral<"thank_you">;
|
|
338
331
|
title: z.ZodString;
|
|
339
332
|
description: z.ZodOptional<z.ZodString>;
|
|
340
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
341
333
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
342
334
|
}, z.core.$strip>, z.ZodObject<{
|
|
343
335
|
id: z.ZodString;
|
|
@@ -387,10 +379,10 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
387
379
|
left: "left";
|
|
388
380
|
center: "center";
|
|
389
381
|
}>>>;
|
|
382
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
390
383
|
type: z.ZodLiteral<"message_panel">;
|
|
391
384
|
title: z.ZodString;
|
|
392
385
|
description: z.ZodOptional<z.ZodString>;
|
|
393
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
394
386
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
395
387
|
}, z.core.$strip>, z.ZodObject<{
|
|
396
388
|
id: z.ZodString;
|
|
@@ -442,6 +434,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
442
434
|
left: "left";
|
|
443
435
|
center: "center";
|
|
444
436
|
}>>>;
|
|
437
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
445
438
|
type: z.ZodLiteral<"exit_form">;
|
|
446
439
|
}, z.core.$strip>, z.ZodObject<{
|
|
447
440
|
id: z.ZodString;
|
|
@@ -493,6 +486,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
493
486
|
left: "left";
|
|
494
487
|
center: "center";
|
|
495
488
|
}>>>;
|
|
489
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
496
490
|
type: z.ZodLiteral<"yes_no">;
|
|
497
491
|
yesLabel: z.ZodOptional<z.ZodString>;
|
|
498
492
|
noLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -550,6 +544,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
550
544
|
left: "left";
|
|
551
545
|
center: "center";
|
|
552
546
|
}>>>;
|
|
547
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
553
548
|
type: z.ZodLiteral<"rating_matrix">;
|
|
554
549
|
statements: z.ZodArray<z.ZodObject<{
|
|
555
550
|
id: z.ZodString;
|
|
@@ -640,6 +635,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
640
635
|
left: "left";
|
|
641
636
|
center: "center";
|
|
642
637
|
}>>>;
|
|
638
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
643
639
|
type: z.ZodLiteral<"matrix_single_choice">;
|
|
644
640
|
rows: z.ZodArray<z.ZodObject<{
|
|
645
641
|
id: z.ZodString;
|
|
@@ -705,6 +701,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
705
701
|
left: "left";
|
|
706
702
|
center: "center";
|
|
707
703
|
}>>>;
|
|
704
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
708
705
|
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
709
706
|
rows: z.ZodArray<z.ZodObject<{
|
|
710
707
|
id: z.ZodString;
|
|
@@ -772,6 +769,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
772
769
|
left: "left";
|
|
773
770
|
center: "center";
|
|
774
771
|
}>>>;
|
|
772
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
775
773
|
type: z.ZodLiteral<"single_choice">;
|
|
776
774
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
777
775
|
radio: "radio";
|
|
@@ -843,6 +841,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
843
841
|
left: "left";
|
|
844
842
|
center: "center";
|
|
845
843
|
}>>>;
|
|
844
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
846
845
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
847
846
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
848
847
|
list: "list";
|
|
@@ -915,6 +914,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
915
914
|
left: "left";
|
|
916
915
|
center: "center";
|
|
917
916
|
}>>>;
|
|
917
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
918
918
|
type: z.ZodLiteral<"nps">;
|
|
919
919
|
min: z.ZodLiteral<0>;
|
|
920
920
|
max: z.ZodLiteral<10>;
|
|
@@ -972,6 +972,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
972
972
|
left: "left";
|
|
973
973
|
center: "center";
|
|
974
974
|
}>>>;
|
|
975
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
975
976
|
type: z.ZodLiteral<"short_answer">;
|
|
976
977
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
977
978
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1032,6 +1033,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1032
1033
|
left: "left";
|
|
1033
1034
|
center: "center";
|
|
1034
1035
|
}>>>;
|
|
1036
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1035
1037
|
type: z.ZodLiteral<"long_text">;
|
|
1036
1038
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1037
1039
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1091,6 +1093,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1091
1093
|
left: "left";
|
|
1092
1094
|
center: "center";
|
|
1093
1095
|
}>>>;
|
|
1096
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1094
1097
|
type: z.ZodLiteral<"nested_selection">;
|
|
1095
1098
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1096
1099
|
options: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
@@ -1132,6 +1135,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1132
1135
|
title: z.ZodString;
|
|
1133
1136
|
description: z.ZodOptional<z.ZodString>;
|
|
1134
1137
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1138
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1135
1139
|
type: z.ZodLiteral<"rating">;
|
|
1136
1140
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
1137
1141
|
maxLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1139,18 +1143,21 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1139
1143
|
title: z.ZodString;
|
|
1140
1144
|
description: z.ZodOptional<z.ZodString>;
|
|
1141
1145
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1146
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1142
1147
|
type: z.ZodLiteral<"single_choice">;
|
|
1143
1148
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1144
1149
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
1145
1150
|
title: z.ZodString;
|
|
1146
1151
|
description: z.ZodOptional<z.ZodString>;
|
|
1147
1152
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1153
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1148
1154
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
1149
1155
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1150
1156
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
1151
1157
|
title: z.ZodString;
|
|
1152
1158
|
description: z.ZodOptional<z.ZodString>;
|
|
1153
1159
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1160
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1154
1161
|
type: z.ZodLiteral<"nps">;
|
|
1155
1162
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
1156
1163
|
maxLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1158,24 +1165,28 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1158
1165
|
title: z.ZodString;
|
|
1159
1166
|
description: z.ZodOptional<z.ZodString>;
|
|
1160
1167
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1168
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1161
1169
|
type: z.ZodLiteral<"short_answer">;
|
|
1162
1170
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1163
1171
|
}, z.core.$strip>, z.ZodObject<{
|
|
1164
1172
|
title: z.ZodString;
|
|
1165
1173
|
description: z.ZodOptional<z.ZodString>;
|
|
1166
1174
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1175
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1167
1176
|
type: z.ZodLiteral<"long_text">;
|
|
1168
1177
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1169
1178
|
}, z.core.$strip>, z.ZodObject<{
|
|
1170
1179
|
title: z.ZodString;
|
|
1171
1180
|
description: z.ZodOptional<z.ZodString>;
|
|
1172
1181
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1182
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1173
1183
|
type: z.ZodLiteral<"nested_selection">;
|
|
1174
1184
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1175
1185
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
1176
1186
|
title: z.ZodString;
|
|
1177
1187
|
description: z.ZodOptional<z.ZodString>;
|
|
1178
1188
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1189
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1179
1190
|
type: z.ZodLiteral<"annotation">;
|
|
1180
1191
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
1181
1192
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
@@ -1183,24 +1194,25 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1183
1194
|
title: z.ZodString;
|
|
1184
1195
|
description: z.ZodOptional<z.ZodString>;
|
|
1185
1196
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1197
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1186
1198
|
type: z.ZodLiteral<"welcome">;
|
|
1187
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1188
1199
|
}, z.core.$strip>, z.ZodObject<{
|
|
1189
1200
|
title: z.ZodString;
|
|
1190
1201
|
description: z.ZodOptional<z.ZodString>;
|
|
1191
1202
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1203
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1192
1204
|
type: z.ZodLiteral<"thank_you">;
|
|
1193
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1194
1205
|
}, z.core.$strip>, z.ZodObject<{
|
|
1195
1206
|
title: z.ZodString;
|
|
1196
1207
|
description: z.ZodOptional<z.ZodString>;
|
|
1197
1208
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1209
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1198
1210
|
type: z.ZodLiteral<"message_panel">;
|
|
1199
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1200
1211
|
}, z.core.$strip>, z.ZodObject<{
|
|
1201
1212
|
title: z.ZodString;
|
|
1202
1213
|
description: z.ZodOptional<z.ZodString>;
|
|
1203
1214
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1215
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1204
1216
|
type: z.ZodLiteral<"yes_no">;
|
|
1205
1217
|
yesLabel: z.ZodOptional<z.ZodString>;
|
|
1206
1218
|
noLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1208,6 +1220,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1208
1220
|
title: z.ZodString;
|
|
1209
1221
|
description: z.ZodOptional<z.ZodString>;
|
|
1210
1222
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1223
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1211
1224
|
type: z.ZodLiteral<"rating_matrix">;
|
|
1212
1225
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
1213
1226
|
maxLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1215,11 +1228,13 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1215
1228
|
title: z.ZodString;
|
|
1216
1229
|
description: z.ZodOptional<z.ZodString>;
|
|
1217
1230
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1231
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1218
1232
|
type: z.ZodLiteral<"matrix_single_choice">;
|
|
1219
1233
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
1220
1234
|
title: z.ZodString;
|
|
1221
1235
|
description: z.ZodOptional<z.ZodString>;
|
|
1222
1236
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1237
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1223
1238
|
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
1224
1239
|
}, z.core.$catchall<z.ZodString>>]>>>;
|
|
1225
1240
|
}, z.core.$strip>;
|
|
@@ -1297,13 +1312,9 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1297
1312
|
otherConfigurationProperties: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1298
1313
|
isEnabled: z.ZodLiteral<false>;
|
|
1299
1314
|
otherFields: z.ZodObject<{
|
|
1300
|
-
pagination: z.ZodBoolean;
|
|
1301
1315
|
questionNumber: z.ZodBoolean;
|
|
1302
|
-
pageTitle: z.ZodBoolean;
|
|
1303
|
-
blockerFeedback: z.ZodBoolean;
|
|
1304
1316
|
submitButtonLabel: z.ZodString;
|
|
1305
1317
|
previousButtonLabel: z.ZodString;
|
|
1306
|
-
nextButtonLabel: z.ZodString;
|
|
1307
1318
|
aiEnhancementSuccessMessage: z.ZodString;
|
|
1308
1319
|
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
1309
1320
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
@@ -1311,7 +1322,6 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1311
1322
|
translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1312
1323
|
submitButtonLabel: z.ZodString;
|
|
1313
1324
|
previousButtonLabel: z.ZodString;
|
|
1314
|
-
nextButtonLabel: z.ZodString;
|
|
1315
1325
|
aiEnhancementSuccessMessage: z.ZodString;
|
|
1316
1326
|
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
1317
1327
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
@@ -1319,13 +1329,9 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1319
1329
|
}, z.core.$strip>, z.ZodObject<{
|
|
1320
1330
|
isEnabled: z.ZodLiteral<true>;
|
|
1321
1331
|
otherFields: z.ZodObject<{
|
|
1322
|
-
pagination: z.ZodBoolean;
|
|
1323
1332
|
questionNumber: z.ZodBoolean;
|
|
1324
|
-
pageTitle: z.ZodBoolean;
|
|
1325
|
-
blockerFeedback: z.ZodBoolean;
|
|
1326
1333
|
submitButtonLabel: z.ZodString;
|
|
1327
1334
|
previousButtonLabel: z.ZodString;
|
|
1328
|
-
nextButtonLabel: z.ZodString;
|
|
1329
1335
|
aiEnhancementSuccessMessage: z.ZodString;
|
|
1330
1336
|
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
1331
1337
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
@@ -1333,7 +1339,6 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1333
1339
|
translations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1334
1340
|
submitButtonLabel: z.ZodString;
|
|
1335
1341
|
previousButtonLabel: z.ZodString;
|
|
1336
|
-
nextButtonLabel: z.ZodString;
|
|
1337
1342
|
aiEnhancementSuccessMessage: z.ZodString;
|
|
1338
1343
|
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
1339
1344
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const OtherFieldsSchema: z.ZodObject<{
|
|
3
|
-
pagination: z.ZodBoolean;
|
|
4
3
|
questionNumber: z.ZodBoolean;
|
|
5
|
-
pageTitle: z.ZodBoolean;
|
|
6
|
-
blockerFeedback: z.ZodBoolean;
|
|
7
4
|
submitButtonLabel: z.ZodString;
|
|
8
5
|
previousButtonLabel: z.ZodString;
|
|
9
|
-
nextButtonLabel: z.ZodString;
|
|
10
6
|
aiEnhancementSuccessMessage: z.ZodString;
|
|
11
7
|
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
12
8
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
@@ -22,7 +18,6 @@ export declare const LanguagesSchema: z.ZodArray<z.ZodObject<{
|
|
|
22
18
|
export declare const OtherFieldsTranslationSchema: z.ZodObject<{
|
|
23
19
|
submitButtonLabel: z.ZodString;
|
|
24
20
|
previousButtonLabel: z.ZodString;
|
|
25
|
-
nextButtonLabel: z.ZodString;
|
|
26
21
|
aiEnhancementSuccessMessage: z.ZodString;
|
|
27
22
|
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
28
23
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|