@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
|
@@ -221,6 +221,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
221
221
|
left: "left";
|
|
222
222
|
center: "center";
|
|
223
223
|
}>>>;
|
|
224
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
224
225
|
type: z.ZodLiteral<"rating">;
|
|
225
226
|
showLabels: z.ZodOptional<z.ZodBoolean>;
|
|
226
227
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -290,6 +291,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
290
291
|
left: "left";
|
|
291
292
|
center: "center";
|
|
292
293
|
}>>>;
|
|
294
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
293
295
|
type: z.ZodLiteral<"annotation">;
|
|
294
296
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
295
297
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
@@ -341,6 +343,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
341
343
|
left: "left";
|
|
342
344
|
center: "center";
|
|
343
345
|
}>>>;
|
|
346
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
344
347
|
type: z.ZodLiteral<"welcome">;
|
|
345
348
|
title: z.ZodString;
|
|
346
349
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -394,6 +397,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
394
397
|
left: "left";
|
|
395
398
|
center: "center";
|
|
396
399
|
}>>>;
|
|
400
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
397
401
|
type: z.ZodLiteral<"thank_you">;
|
|
398
402
|
title: z.ZodString;
|
|
399
403
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -447,6 +451,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
447
451
|
left: "left";
|
|
448
452
|
center: "center";
|
|
449
453
|
}>>>;
|
|
454
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
450
455
|
type: z.ZodLiteral<"message_panel">;
|
|
451
456
|
title: z.ZodString;
|
|
452
457
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -502,6 +507,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
502
507
|
left: "left";
|
|
503
508
|
center: "center";
|
|
504
509
|
}>>>;
|
|
510
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
505
511
|
type: z.ZodLiteral<"exit_form">;
|
|
506
512
|
}, z.core.$strip>, z.ZodObject<{
|
|
507
513
|
id: z.ZodString;
|
|
@@ -553,6 +559,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
553
559
|
left: "left";
|
|
554
560
|
center: "center";
|
|
555
561
|
}>>>;
|
|
562
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
556
563
|
type: z.ZodLiteral<"yes_no">;
|
|
557
564
|
yesLabel: z.ZodOptional<z.ZodString>;
|
|
558
565
|
noLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -610,6 +617,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
610
617
|
left: "left";
|
|
611
618
|
center: "center";
|
|
612
619
|
}>>>;
|
|
620
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
613
621
|
type: z.ZodLiteral<"rating_matrix">;
|
|
614
622
|
statements: z.ZodArray<z.ZodObject<{
|
|
615
623
|
id: z.ZodString;
|
|
@@ -700,6 +708,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
700
708
|
left: "left";
|
|
701
709
|
center: "center";
|
|
702
710
|
}>>>;
|
|
711
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
703
712
|
type: z.ZodLiteral<"matrix_single_choice">;
|
|
704
713
|
rows: z.ZodArray<z.ZodObject<{
|
|
705
714
|
id: z.ZodString;
|
|
@@ -765,6 +774,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
765
774
|
left: "left";
|
|
766
775
|
center: "center";
|
|
767
776
|
}>>>;
|
|
777
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
768
778
|
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
769
779
|
rows: z.ZodArray<z.ZodObject<{
|
|
770
780
|
id: z.ZodString;
|
|
@@ -832,6 +842,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
832
842
|
left: "left";
|
|
833
843
|
center: "center";
|
|
834
844
|
}>>>;
|
|
845
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
835
846
|
type: z.ZodLiteral<"single_choice">;
|
|
836
847
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
837
848
|
radio: "radio";
|
|
@@ -903,6 +914,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
903
914
|
left: "left";
|
|
904
915
|
center: "center";
|
|
905
916
|
}>>>;
|
|
917
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
906
918
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
907
919
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
908
920
|
list: "list";
|
|
@@ -975,6 +987,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
975
987
|
left: "left";
|
|
976
988
|
center: "center";
|
|
977
989
|
}>>>;
|
|
990
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
978
991
|
type: z.ZodLiteral<"nps">;
|
|
979
992
|
min: z.ZodLiteral<0>;
|
|
980
993
|
max: z.ZodLiteral<10>;
|
|
@@ -1032,6 +1045,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
1032
1045
|
left: "left";
|
|
1033
1046
|
center: "center";
|
|
1034
1047
|
}>>>;
|
|
1048
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1035
1049
|
type: z.ZodLiteral<"short_answer">;
|
|
1036
1050
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1037
1051
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1092,6 +1106,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
1092
1106
|
left: "left";
|
|
1093
1107
|
center: "center";
|
|
1094
1108
|
}>>>;
|
|
1109
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1095
1110
|
type: z.ZodLiteral<"long_text">;
|
|
1096
1111
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1097
1112
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1151,6 +1166,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
1151
1166
|
left: "left";
|
|
1152
1167
|
center: "center";
|
|
1153
1168
|
}>>>;
|
|
1169
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1154
1170
|
type: z.ZodLiteral<"nested_selection">;
|
|
1155
1171
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1156
1172
|
options: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
@@ -1248,6 +1264,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1248
1264
|
left: "left";
|
|
1249
1265
|
center: "center";
|
|
1250
1266
|
}>>>;
|
|
1267
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1251
1268
|
type: z.ZodLiteral<"rating">;
|
|
1252
1269
|
showLabels: z.ZodOptional<z.ZodBoolean>;
|
|
1253
1270
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1317,6 +1334,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1317
1334
|
left: "left";
|
|
1318
1335
|
center: "center";
|
|
1319
1336
|
}>>>;
|
|
1337
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1320
1338
|
type: z.ZodLiteral<"annotation">;
|
|
1321
1339
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
1322
1340
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
@@ -1368,6 +1386,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1368
1386
|
left: "left";
|
|
1369
1387
|
center: "center";
|
|
1370
1388
|
}>>>;
|
|
1389
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1371
1390
|
type: z.ZodLiteral<"welcome">;
|
|
1372
1391
|
title: z.ZodString;
|
|
1373
1392
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1421,6 +1440,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1421
1440
|
left: "left";
|
|
1422
1441
|
center: "center";
|
|
1423
1442
|
}>>>;
|
|
1443
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1424
1444
|
type: z.ZodLiteral<"thank_you">;
|
|
1425
1445
|
title: z.ZodString;
|
|
1426
1446
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1474,6 +1494,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1474
1494
|
left: "left";
|
|
1475
1495
|
center: "center";
|
|
1476
1496
|
}>>>;
|
|
1497
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1477
1498
|
type: z.ZodLiteral<"message_panel">;
|
|
1478
1499
|
title: z.ZodString;
|
|
1479
1500
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1529,6 +1550,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1529
1550
|
left: "left";
|
|
1530
1551
|
center: "center";
|
|
1531
1552
|
}>>>;
|
|
1553
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1532
1554
|
type: z.ZodLiteral<"exit_form">;
|
|
1533
1555
|
}, z.core.$strip>, z.ZodObject<{
|
|
1534
1556
|
id: z.ZodString;
|
|
@@ -1580,6 +1602,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1580
1602
|
left: "left";
|
|
1581
1603
|
center: "center";
|
|
1582
1604
|
}>>>;
|
|
1605
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1583
1606
|
type: z.ZodLiteral<"yes_no">;
|
|
1584
1607
|
yesLabel: z.ZodOptional<z.ZodString>;
|
|
1585
1608
|
noLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1637,6 +1660,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1637
1660
|
left: "left";
|
|
1638
1661
|
center: "center";
|
|
1639
1662
|
}>>>;
|
|
1663
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1640
1664
|
type: z.ZodLiteral<"rating_matrix">;
|
|
1641
1665
|
statements: z.ZodArray<z.ZodObject<{
|
|
1642
1666
|
id: z.ZodString;
|
|
@@ -1727,6 +1751,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1727
1751
|
left: "left";
|
|
1728
1752
|
center: "center";
|
|
1729
1753
|
}>>>;
|
|
1754
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1730
1755
|
type: z.ZodLiteral<"matrix_single_choice">;
|
|
1731
1756
|
rows: z.ZodArray<z.ZodObject<{
|
|
1732
1757
|
id: z.ZodString;
|
|
@@ -1792,6 +1817,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1792
1817
|
left: "left";
|
|
1793
1818
|
center: "center";
|
|
1794
1819
|
}>>>;
|
|
1820
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1795
1821
|
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
1796
1822
|
rows: z.ZodArray<z.ZodObject<{
|
|
1797
1823
|
id: z.ZodString;
|
|
@@ -1859,6 +1885,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1859
1885
|
left: "left";
|
|
1860
1886
|
center: "center";
|
|
1861
1887
|
}>>>;
|
|
1888
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1862
1889
|
type: z.ZodLiteral<"single_choice">;
|
|
1863
1890
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
1864
1891
|
radio: "radio";
|
|
@@ -1930,6 +1957,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1930
1957
|
left: "left";
|
|
1931
1958
|
center: "center";
|
|
1932
1959
|
}>>>;
|
|
1960
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1933
1961
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
1934
1962
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
1935
1963
|
list: "list";
|
|
@@ -2002,6 +2030,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
2002
2030
|
left: "left";
|
|
2003
2031
|
center: "center";
|
|
2004
2032
|
}>>>;
|
|
2033
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2005
2034
|
type: z.ZodLiteral<"nps">;
|
|
2006
2035
|
min: z.ZodLiteral<0>;
|
|
2007
2036
|
max: z.ZodLiteral<10>;
|
|
@@ -2059,6 +2088,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
2059
2088
|
left: "left";
|
|
2060
2089
|
center: "center";
|
|
2061
2090
|
}>>>;
|
|
2091
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2062
2092
|
type: z.ZodLiteral<"short_answer">;
|
|
2063
2093
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
2064
2094
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2119,6 +2149,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
2119
2149
|
left: "left";
|
|
2120
2150
|
center: "center";
|
|
2121
2151
|
}>>>;
|
|
2152
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2122
2153
|
type: z.ZodLiteral<"long_text">;
|
|
2123
2154
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
2124
2155
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2178,6 +2209,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
2178
2209
|
left: "left";
|
|
2179
2210
|
center: "center";
|
|
2180
2211
|
}>>>;
|
|
2212
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2181
2213
|
type: z.ZodLiteral<"nested_selection">;
|
|
2182
2214
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
2183
2215
|
options: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
@@ -74,6 +74,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
74
74
|
left: "left";
|
|
75
75
|
center: "center";
|
|
76
76
|
}>>>;
|
|
77
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
77
78
|
type: z.ZodLiteral<"rating">;
|
|
78
79
|
showLabels: z.ZodOptional<z.ZodBoolean>;
|
|
79
80
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -143,6 +144,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
143
144
|
left: "left";
|
|
144
145
|
center: "center";
|
|
145
146
|
}>>>;
|
|
147
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
146
148
|
type: z.ZodLiteral<"annotation">;
|
|
147
149
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
148
150
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
@@ -194,6 +196,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
194
196
|
left: "left";
|
|
195
197
|
center: "center";
|
|
196
198
|
}>>>;
|
|
199
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
197
200
|
type: z.ZodLiteral<"welcome">;
|
|
198
201
|
title: z.ZodString;
|
|
199
202
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -247,6 +250,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
247
250
|
left: "left";
|
|
248
251
|
center: "center";
|
|
249
252
|
}>>>;
|
|
253
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
250
254
|
type: z.ZodLiteral<"thank_you">;
|
|
251
255
|
title: z.ZodString;
|
|
252
256
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -300,6 +304,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
300
304
|
left: "left";
|
|
301
305
|
center: "center";
|
|
302
306
|
}>>>;
|
|
307
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
303
308
|
type: z.ZodLiteral<"message_panel">;
|
|
304
309
|
title: z.ZodString;
|
|
305
310
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -355,6 +360,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
355
360
|
left: "left";
|
|
356
361
|
center: "center";
|
|
357
362
|
}>>>;
|
|
363
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
358
364
|
type: z.ZodLiteral<"exit_form">;
|
|
359
365
|
}, z.core.$strip>, z.ZodObject<{
|
|
360
366
|
id: z.ZodString;
|
|
@@ -406,6 +412,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
406
412
|
left: "left";
|
|
407
413
|
center: "center";
|
|
408
414
|
}>>>;
|
|
415
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
409
416
|
type: z.ZodLiteral<"yes_no">;
|
|
410
417
|
yesLabel: z.ZodOptional<z.ZodString>;
|
|
411
418
|
noLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -463,6 +470,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
463
470
|
left: "left";
|
|
464
471
|
center: "center";
|
|
465
472
|
}>>>;
|
|
473
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
466
474
|
type: z.ZodLiteral<"rating_matrix">;
|
|
467
475
|
statements: z.ZodArray<z.ZodObject<{
|
|
468
476
|
id: z.ZodString;
|
|
@@ -553,6 +561,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
553
561
|
left: "left";
|
|
554
562
|
center: "center";
|
|
555
563
|
}>>>;
|
|
564
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
556
565
|
type: z.ZodLiteral<"matrix_single_choice">;
|
|
557
566
|
rows: z.ZodArray<z.ZodObject<{
|
|
558
567
|
id: z.ZodString;
|
|
@@ -618,6 +627,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
618
627
|
left: "left";
|
|
619
628
|
center: "center";
|
|
620
629
|
}>>>;
|
|
630
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
621
631
|
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
622
632
|
rows: z.ZodArray<z.ZodObject<{
|
|
623
633
|
id: z.ZodString;
|
|
@@ -685,6 +695,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
685
695
|
left: "left";
|
|
686
696
|
center: "center";
|
|
687
697
|
}>>>;
|
|
698
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
688
699
|
type: z.ZodLiteral<"single_choice">;
|
|
689
700
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
690
701
|
radio: "radio";
|
|
@@ -756,6 +767,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
756
767
|
left: "left";
|
|
757
768
|
center: "center";
|
|
758
769
|
}>>>;
|
|
770
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
759
771
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
760
772
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
761
773
|
list: "list";
|
|
@@ -828,6 +840,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
828
840
|
left: "left";
|
|
829
841
|
center: "center";
|
|
830
842
|
}>>>;
|
|
843
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
831
844
|
type: z.ZodLiteral<"nps">;
|
|
832
845
|
min: z.ZodLiteral<0>;
|
|
833
846
|
max: z.ZodLiteral<10>;
|
|
@@ -885,6 +898,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
885
898
|
left: "left";
|
|
886
899
|
center: "center";
|
|
887
900
|
}>>>;
|
|
901
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
888
902
|
type: z.ZodLiteral<"short_answer">;
|
|
889
903
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
890
904
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -945,6 +959,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
945
959
|
left: "left";
|
|
946
960
|
center: "center";
|
|
947
961
|
}>>>;
|
|
962
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
948
963
|
type: z.ZodLiteral<"long_text">;
|
|
949
964
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
950
965
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1004,6 +1019,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
1004
1019
|
left: "left";
|
|
1005
1020
|
center: "center";
|
|
1006
1021
|
}>>>;
|
|
1022
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1007
1023
|
type: z.ZodLiteral<"nested_selection">;
|
|
1008
1024
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1009
1025
|
options: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
@@ -1075,6 +1091,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
1075
1091
|
title: z.ZodString;
|
|
1076
1092
|
description: z.ZodOptional<z.ZodString>;
|
|
1077
1093
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1094
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1078
1095
|
type: z.ZodLiteral<"rating">;
|
|
1079
1096
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
1080
1097
|
maxLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1082,18 +1099,21 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
1082
1099
|
title: z.ZodString;
|
|
1083
1100
|
description: z.ZodOptional<z.ZodString>;
|
|
1084
1101
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1102
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1085
1103
|
type: z.ZodLiteral<"single_choice">;
|
|
1086
1104
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1087
1105
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
1088
1106
|
title: z.ZodString;
|
|
1089
1107
|
description: z.ZodOptional<z.ZodString>;
|
|
1090
1108
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1109
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1091
1110
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
1092
1111
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1093
1112
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
1094
1113
|
title: z.ZodString;
|
|
1095
1114
|
description: z.ZodOptional<z.ZodString>;
|
|
1096
1115
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1116
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1097
1117
|
type: z.ZodLiteral<"nps">;
|
|
1098
1118
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
1099
1119
|
maxLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1101,24 +1121,28 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
1101
1121
|
title: z.ZodString;
|
|
1102
1122
|
description: z.ZodOptional<z.ZodString>;
|
|
1103
1123
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1124
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1104
1125
|
type: z.ZodLiteral<"short_answer">;
|
|
1105
1126
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1106
1127
|
}, z.core.$strip>, z.ZodObject<{
|
|
1107
1128
|
title: z.ZodString;
|
|
1108
1129
|
description: z.ZodOptional<z.ZodString>;
|
|
1109
1130
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1131
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1110
1132
|
type: z.ZodLiteral<"long_text">;
|
|
1111
1133
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1112
1134
|
}, z.core.$strip>, z.ZodObject<{
|
|
1113
1135
|
title: z.ZodString;
|
|
1114
1136
|
description: z.ZodOptional<z.ZodString>;
|
|
1115
1137
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1138
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1116
1139
|
type: z.ZodLiteral<"nested_selection">;
|
|
1117
1140
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1118
1141
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
1119
1142
|
title: z.ZodString;
|
|
1120
1143
|
description: z.ZodOptional<z.ZodString>;
|
|
1121
1144
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1145
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1122
1146
|
type: z.ZodLiteral<"annotation">;
|
|
1123
1147
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
1124
1148
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
@@ -1126,24 +1150,28 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
1126
1150
|
title: z.ZodString;
|
|
1127
1151
|
description: z.ZodOptional<z.ZodString>;
|
|
1128
1152
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1153
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1129
1154
|
type: z.ZodLiteral<"welcome">;
|
|
1130
1155
|
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1131
1156
|
}, z.core.$strip>, z.ZodObject<{
|
|
1132
1157
|
title: z.ZodString;
|
|
1133
1158
|
description: z.ZodOptional<z.ZodString>;
|
|
1134
1159
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1160
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1135
1161
|
type: z.ZodLiteral<"thank_you">;
|
|
1136
1162
|
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1137
1163
|
}, z.core.$strip>, z.ZodObject<{
|
|
1138
1164
|
title: z.ZodString;
|
|
1139
1165
|
description: z.ZodOptional<z.ZodString>;
|
|
1140
1166
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1167
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1141
1168
|
type: z.ZodLiteral<"message_panel">;
|
|
1142
1169
|
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1143
1170
|
}, z.core.$strip>, z.ZodObject<{
|
|
1144
1171
|
title: z.ZodString;
|
|
1145
1172
|
description: z.ZodOptional<z.ZodString>;
|
|
1146
1173
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1174
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1147
1175
|
type: z.ZodLiteral<"yes_no">;
|
|
1148
1176
|
yesLabel: z.ZodOptional<z.ZodString>;
|
|
1149
1177
|
noLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1151,6 +1179,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
1151
1179
|
title: z.ZodString;
|
|
1152
1180
|
description: z.ZodOptional<z.ZodString>;
|
|
1153
1181
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1182
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1154
1183
|
type: z.ZodLiteral<"rating_matrix">;
|
|
1155
1184
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
1156
1185
|
maxLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1158,11 +1187,13 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
1158
1187
|
title: z.ZodString;
|
|
1159
1188
|
description: z.ZodOptional<z.ZodString>;
|
|
1160
1189
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1190
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1161
1191
|
type: z.ZodLiteral<"matrix_single_choice">;
|
|
1162
1192
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
1163
1193
|
title: z.ZodString;
|
|
1164
1194
|
description: z.ZodOptional<z.ZodString>;
|
|
1165
1195
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1196
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1166
1197
|
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
1167
1198
|
}, z.core.$catchall<z.ZodString>>]>>>>;
|
|
1168
1199
|
onSectionChange: z.ZodOptional<z.ZodFunction<z.ZodTuple<readonly [z.ZodNumber], null>, z.ZodVoid>>;
|