@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
|
@@ -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,10 +343,10 @@ 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>;
|
|
347
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
348
350
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
349
351
|
}, z.core.$strip>, z.ZodObject<{
|
|
350
352
|
id: z.ZodString;
|
|
@@ -394,10 +396,10 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
394
396
|
left: "left";
|
|
395
397
|
center: "center";
|
|
396
398
|
}>>>;
|
|
399
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
397
400
|
type: z.ZodLiteral<"thank_you">;
|
|
398
401
|
title: z.ZodString;
|
|
399
402
|
description: z.ZodOptional<z.ZodString>;
|
|
400
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
401
403
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
402
404
|
}, z.core.$strip>, z.ZodObject<{
|
|
403
405
|
id: z.ZodString;
|
|
@@ -447,10 +449,10 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
447
449
|
left: "left";
|
|
448
450
|
center: "center";
|
|
449
451
|
}>>>;
|
|
452
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
450
453
|
type: z.ZodLiteral<"message_panel">;
|
|
451
454
|
title: z.ZodString;
|
|
452
455
|
description: z.ZodOptional<z.ZodString>;
|
|
453
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
454
456
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
455
457
|
}, z.core.$strip>, z.ZodObject<{
|
|
456
458
|
id: z.ZodString;
|
|
@@ -502,6 +504,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
502
504
|
left: "left";
|
|
503
505
|
center: "center";
|
|
504
506
|
}>>>;
|
|
507
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
505
508
|
type: z.ZodLiteral<"exit_form">;
|
|
506
509
|
}, z.core.$strip>, z.ZodObject<{
|
|
507
510
|
id: z.ZodString;
|
|
@@ -553,6 +556,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
553
556
|
left: "left";
|
|
554
557
|
center: "center";
|
|
555
558
|
}>>>;
|
|
559
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
556
560
|
type: z.ZodLiteral<"yes_no">;
|
|
557
561
|
yesLabel: z.ZodOptional<z.ZodString>;
|
|
558
562
|
noLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -610,6 +614,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
610
614
|
left: "left";
|
|
611
615
|
center: "center";
|
|
612
616
|
}>>>;
|
|
617
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
613
618
|
type: z.ZodLiteral<"rating_matrix">;
|
|
614
619
|
statements: z.ZodArray<z.ZodObject<{
|
|
615
620
|
id: z.ZodString;
|
|
@@ -700,6 +705,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
700
705
|
left: "left";
|
|
701
706
|
center: "center";
|
|
702
707
|
}>>>;
|
|
708
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
703
709
|
type: z.ZodLiteral<"matrix_single_choice">;
|
|
704
710
|
rows: z.ZodArray<z.ZodObject<{
|
|
705
711
|
id: z.ZodString;
|
|
@@ -765,6 +771,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
765
771
|
left: "left";
|
|
766
772
|
center: "center";
|
|
767
773
|
}>>>;
|
|
774
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
768
775
|
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
769
776
|
rows: z.ZodArray<z.ZodObject<{
|
|
770
777
|
id: z.ZodString;
|
|
@@ -832,6 +839,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
832
839
|
left: "left";
|
|
833
840
|
center: "center";
|
|
834
841
|
}>>>;
|
|
842
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
835
843
|
type: z.ZodLiteral<"single_choice">;
|
|
836
844
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
837
845
|
radio: "radio";
|
|
@@ -903,6 +911,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
903
911
|
left: "left";
|
|
904
912
|
center: "center";
|
|
905
913
|
}>>>;
|
|
914
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
906
915
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
907
916
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
908
917
|
list: "list";
|
|
@@ -975,6 +984,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
975
984
|
left: "left";
|
|
976
985
|
center: "center";
|
|
977
986
|
}>>>;
|
|
987
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
978
988
|
type: z.ZodLiteral<"nps">;
|
|
979
989
|
min: z.ZodLiteral<0>;
|
|
980
990
|
max: z.ZodLiteral<10>;
|
|
@@ -1032,6 +1042,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
1032
1042
|
left: "left";
|
|
1033
1043
|
center: "center";
|
|
1034
1044
|
}>>>;
|
|
1045
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1035
1046
|
type: z.ZodLiteral<"short_answer">;
|
|
1036
1047
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1037
1048
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1092,6 +1103,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
1092
1103
|
left: "left";
|
|
1093
1104
|
center: "center";
|
|
1094
1105
|
}>>>;
|
|
1106
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1095
1107
|
type: z.ZodLiteral<"long_text">;
|
|
1096
1108
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1097
1109
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1151,6 +1163,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
1151
1163
|
left: "left";
|
|
1152
1164
|
center: "center";
|
|
1153
1165
|
}>>>;
|
|
1166
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1154
1167
|
type: z.ZodLiteral<"nested_selection">;
|
|
1155
1168
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1156
1169
|
options: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
@@ -1248,6 +1261,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1248
1261
|
left: "left";
|
|
1249
1262
|
center: "center";
|
|
1250
1263
|
}>>>;
|
|
1264
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1251
1265
|
type: z.ZodLiteral<"rating">;
|
|
1252
1266
|
showLabels: z.ZodOptional<z.ZodBoolean>;
|
|
1253
1267
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1317,6 +1331,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1317
1331
|
left: "left";
|
|
1318
1332
|
center: "center";
|
|
1319
1333
|
}>>>;
|
|
1334
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1320
1335
|
type: z.ZodLiteral<"annotation">;
|
|
1321
1336
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
1322
1337
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
@@ -1368,10 +1383,10 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1368
1383
|
left: "left";
|
|
1369
1384
|
center: "center";
|
|
1370
1385
|
}>>>;
|
|
1386
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1371
1387
|
type: z.ZodLiteral<"welcome">;
|
|
1372
1388
|
title: z.ZodString;
|
|
1373
1389
|
description: z.ZodOptional<z.ZodString>;
|
|
1374
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1375
1390
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
1376
1391
|
}, z.core.$strip>, z.ZodObject<{
|
|
1377
1392
|
id: z.ZodString;
|
|
@@ -1421,10 +1436,10 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1421
1436
|
left: "left";
|
|
1422
1437
|
center: "center";
|
|
1423
1438
|
}>>>;
|
|
1439
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1424
1440
|
type: z.ZodLiteral<"thank_you">;
|
|
1425
1441
|
title: z.ZodString;
|
|
1426
1442
|
description: z.ZodOptional<z.ZodString>;
|
|
1427
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1428
1443
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
1429
1444
|
}, z.core.$strip>, z.ZodObject<{
|
|
1430
1445
|
id: z.ZodString;
|
|
@@ -1474,10 +1489,10 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1474
1489
|
left: "left";
|
|
1475
1490
|
center: "center";
|
|
1476
1491
|
}>>>;
|
|
1492
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1477
1493
|
type: z.ZodLiteral<"message_panel">;
|
|
1478
1494
|
title: z.ZodString;
|
|
1479
1495
|
description: z.ZodOptional<z.ZodString>;
|
|
1480
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1481
1496
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
1482
1497
|
}, z.core.$strip>, z.ZodObject<{
|
|
1483
1498
|
id: z.ZodString;
|
|
@@ -1529,6 +1544,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1529
1544
|
left: "left";
|
|
1530
1545
|
center: "center";
|
|
1531
1546
|
}>>>;
|
|
1547
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1532
1548
|
type: z.ZodLiteral<"exit_form">;
|
|
1533
1549
|
}, z.core.$strip>, z.ZodObject<{
|
|
1534
1550
|
id: z.ZodString;
|
|
@@ -1580,6 +1596,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1580
1596
|
left: "left";
|
|
1581
1597
|
center: "center";
|
|
1582
1598
|
}>>>;
|
|
1599
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1583
1600
|
type: z.ZodLiteral<"yes_no">;
|
|
1584
1601
|
yesLabel: z.ZodOptional<z.ZodString>;
|
|
1585
1602
|
noLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1637,6 +1654,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1637
1654
|
left: "left";
|
|
1638
1655
|
center: "center";
|
|
1639
1656
|
}>>>;
|
|
1657
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1640
1658
|
type: z.ZodLiteral<"rating_matrix">;
|
|
1641
1659
|
statements: z.ZodArray<z.ZodObject<{
|
|
1642
1660
|
id: z.ZodString;
|
|
@@ -1727,6 +1745,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1727
1745
|
left: "left";
|
|
1728
1746
|
center: "center";
|
|
1729
1747
|
}>>>;
|
|
1748
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1730
1749
|
type: z.ZodLiteral<"matrix_single_choice">;
|
|
1731
1750
|
rows: z.ZodArray<z.ZodObject<{
|
|
1732
1751
|
id: z.ZodString;
|
|
@@ -1792,6 +1811,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1792
1811
|
left: "left";
|
|
1793
1812
|
center: "center";
|
|
1794
1813
|
}>>>;
|
|
1814
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1795
1815
|
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
1796
1816
|
rows: z.ZodArray<z.ZodObject<{
|
|
1797
1817
|
id: z.ZodString;
|
|
@@ -1859,6 +1879,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1859
1879
|
left: "left";
|
|
1860
1880
|
center: "center";
|
|
1861
1881
|
}>>>;
|
|
1882
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1862
1883
|
type: z.ZodLiteral<"single_choice">;
|
|
1863
1884
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
1864
1885
|
radio: "radio";
|
|
@@ -1930,6 +1951,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1930
1951
|
left: "left";
|
|
1931
1952
|
center: "center";
|
|
1932
1953
|
}>>>;
|
|
1954
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1933
1955
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
1934
1956
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
1935
1957
|
list: "list";
|
|
@@ -2002,6 +2024,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
2002
2024
|
left: "left";
|
|
2003
2025
|
center: "center";
|
|
2004
2026
|
}>>>;
|
|
2027
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2005
2028
|
type: z.ZodLiteral<"nps">;
|
|
2006
2029
|
min: z.ZodLiteral<0>;
|
|
2007
2030
|
max: z.ZodLiteral<10>;
|
|
@@ -2059,6 +2082,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
2059
2082
|
left: "left";
|
|
2060
2083
|
center: "center";
|
|
2061
2084
|
}>>>;
|
|
2085
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2062
2086
|
type: z.ZodLiteral<"short_answer">;
|
|
2063
2087
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
2064
2088
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2119,6 +2143,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
2119
2143
|
left: "left";
|
|
2120
2144
|
center: "center";
|
|
2121
2145
|
}>>>;
|
|
2146
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2122
2147
|
type: z.ZodLiteral<"long_text">;
|
|
2123
2148
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
2124
2149
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2178,6 +2203,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
2178
2203
|
left: "left";
|
|
2179
2204
|
center: "center";
|
|
2180
2205
|
}>>>;
|
|
2206
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2181
2207
|
type: z.ZodLiteral<"nested_selection">;
|
|
2182
2208
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
2183
2209
|
options: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
@@ -2220,13 +2246,9 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
2220
2246
|
otherConfigurationProperties: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2221
2247
|
isEnabled: z.ZodLiteral<false>;
|
|
2222
2248
|
otherFields: z.ZodObject<{
|
|
2223
|
-
pagination: z.ZodBoolean;
|
|
2224
2249
|
questionNumber: z.ZodBoolean;
|
|
2225
|
-
pageTitle: z.ZodBoolean;
|
|
2226
|
-
blockerFeedback: z.ZodBoolean;
|
|
2227
2250
|
submitButtonLabel: z.ZodString;
|
|
2228
2251
|
previousButtonLabel: z.ZodString;
|
|
2229
|
-
nextButtonLabel: z.ZodString;
|
|
2230
2252
|
aiEnhancementSuccessMessage: z.ZodString;
|
|
2231
2253
|
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
2232
2254
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
@@ -2234,7 +2256,6 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
2234
2256
|
translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2235
2257
|
submitButtonLabel: z.ZodString;
|
|
2236
2258
|
previousButtonLabel: z.ZodString;
|
|
2237
|
-
nextButtonLabel: z.ZodString;
|
|
2238
2259
|
aiEnhancementSuccessMessage: z.ZodString;
|
|
2239
2260
|
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
2240
2261
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
@@ -2242,13 +2263,9 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
2242
2263
|
}, z.core.$strip>, z.ZodObject<{
|
|
2243
2264
|
isEnabled: z.ZodLiteral<true>;
|
|
2244
2265
|
otherFields: z.ZodObject<{
|
|
2245
|
-
pagination: z.ZodBoolean;
|
|
2246
2266
|
questionNumber: z.ZodBoolean;
|
|
2247
|
-
pageTitle: z.ZodBoolean;
|
|
2248
|
-
blockerFeedback: z.ZodBoolean;
|
|
2249
2267
|
submitButtonLabel: z.ZodString;
|
|
2250
2268
|
previousButtonLabel: z.ZodString;
|
|
2251
|
-
nextButtonLabel: z.ZodString;
|
|
2252
2269
|
aiEnhancementSuccessMessage: z.ZodString;
|
|
2253
2270
|
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
2254
2271
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
@@ -2256,7 +2273,6 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
2256
2273
|
translations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2257
2274
|
submitButtonLabel: z.ZodString;
|
|
2258
2275
|
previousButtonLabel: z.ZodString;
|
|
2259
|
-
nextButtonLabel: z.ZodString;
|
|
2260
2276
|
aiEnhancementSuccessMessage: z.ZodString;
|
|
2261
2277
|
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
2262
2278
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
@@ -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,10 +196,10 @@ 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>;
|
|
200
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
201
203
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
202
204
|
}, z.core.$strip>, z.ZodObject<{
|
|
203
205
|
id: z.ZodString;
|
|
@@ -247,10 +249,10 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
247
249
|
left: "left";
|
|
248
250
|
center: "center";
|
|
249
251
|
}>>>;
|
|
252
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
250
253
|
type: z.ZodLiteral<"thank_you">;
|
|
251
254
|
title: z.ZodString;
|
|
252
255
|
description: z.ZodOptional<z.ZodString>;
|
|
253
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
254
256
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
255
257
|
}, z.core.$strip>, z.ZodObject<{
|
|
256
258
|
id: z.ZodString;
|
|
@@ -300,10 +302,10 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
300
302
|
left: "left";
|
|
301
303
|
center: "center";
|
|
302
304
|
}>>>;
|
|
305
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
303
306
|
type: z.ZodLiteral<"message_panel">;
|
|
304
307
|
title: z.ZodString;
|
|
305
308
|
description: z.ZodOptional<z.ZodString>;
|
|
306
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
307
309
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
308
310
|
}, z.core.$strip>, z.ZodObject<{
|
|
309
311
|
id: z.ZodString;
|
|
@@ -355,6 +357,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
355
357
|
left: "left";
|
|
356
358
|
center: "center";
|
|
357
359
|
}>>>;
|
|
360
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
358
361
|
type: z.ZodLiteral<"exit_form">;
|
|
359
362
|
}, z.core.$strip>, z.ZodObject<{
|
|
360
363
|
id: z.ZodString;
|
|
@@ -406,6 +409,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
406
409
|
left: "left";
|
|
407
410
|
center: "center";
|
|
408
411
|
}>>>;
|
|
412
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
409
413
|
type: z.ZodLiteral<"yes_no">;
|
|
410
414
|
yesLabel: z.ZodOptional<z.ZodString>;
|
|
411
415
|
noLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -463,6 +467,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
463
467
|
left: "left";
|
|
464
468
|
center: "center";
|
|
465
469
|
}>>>;
|
|
470
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
466
471
|
type: z.ZodLiteral<"rating_matrix">;
|
|
467
472
|
statements: z.ZodArray<z.ZodObject<{
|
|
468
473
|
id: z.ZodString;
|
|
@@ -553,6 +558,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
553
558
|
left: "left";
|
|
554
559
|
center: "center";
|
|
555
560
|
}>>>;
|
|
561
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
556
562
|
type: z.ZodLiteral<"matrix_single_choice">;
|
|
557
563
|
rows: z.ZodArray<z.ZodObject<{
|
|
558
564
|
id: z.ZodString;
|
|
@@ -618,6 +624,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
618
624
|
left: "left";
|
|
619
625
|
center: "center";
|
|
620
626
|
}>>>;
|
|
627
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
621
628
|
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
622
629
|
rows: z.ZodArray<z.ZodObject<{
|
|
623
630
|
id: z.ZodString;
|
|
@@ -685,6 +692,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
685
692
|
left: "left";
|
|
686
693
|
center: "center";
|
|
687
694
|
}>>>;
|
|
695
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
688
696
|
type: z.ZodLiteral<"single_choice">;
|
|
689
697
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
690
698
|
radio: "radio";
|
|
@@ -756,6 +764,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
756
764
|
left: "left";
|
|
757
765
|
center: "center";
|
|
758
766
|
}>>>;
|
|
767
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
759
768
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
760
769
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
761
770
|
list: "list";
|
|
@@ -828,6 +837,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
828
837
|
left: "left";
|
|
829
838
|
center: "center";
|
|
830
839
|
}>>>;
|
|
840
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
831
841
|
type: z.ZodLiteral<"nps">;
|
|
832
842
|
min: z.ZodLiteral<0>;
|
|
833
843
|
max: z.ZodLiteral<10>;
|
|
@@ -885,6 +895,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
885
895
|
left: "left";
|
|
886
896
|
center: "center";
|
|
887
897
|
}>>>;
|
|
898
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
888
899
|
type: z.ZodLiteral<"short_answer">;
|
|
889
900
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
890
901
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -945,6 +956,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
945
956
|
left: "left";
|
|
946
957
|
center: "center";
|
|
947
958
|
}>>>;
|
|
959
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
948
960
|
type: z.ZodLiteral<"long_text">;
|
|
949
961
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
950
962
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1004,6 +1016,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
1004
1016
|
left: "left";
|
|
1005
1017
|
center: "center";
|
|
1006
1018
|
}>>>;
|
|
1019
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1007
1020
|
type: z.ZodLiteral<"nested_selection">;
|
|
1008
1021
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1009
1022
|
options: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
@@ -1029,13 +1042,9 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
1029
1042
|
otherConfigurationProperties: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1030
1043
|
isEnabled: z.ZodLiteral<false>;
|
|
1031
1044
|
otherFields: z.ZodObject<{
|
|
1032
|
-
pagination: z.ZodBoolean;
|
|
1033
1045
|
questionNumber: z.ZodBoolean;
|
|
1034
|
-
pageTitle: z.ZodBoolean;
|
|
1035
|
-
blockerFeedback: z.ZodBoolean;
|
|
1036
1046
|
submitButtonLabel: z.ZodString;
|
|
1037
1047
|
previousButtonLabel: z.ZodString;
|
|
1038
|
-
nextButtonLabel: z.ZodString;
|
|
1039
1048
|
aiEnhancementSuccessMessage: z.ZodString;
|
|
1040
1049
|
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
1041
1050
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
@@ -1043,7 +1052,6 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
1043
1052
|
translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1044
1053
|
submitButtonLabel: z.ZodString;
|
|
1045
1054
|
previousButtonLabel: z.ZodString;
|
|
1046
|
-
nextButtonLabel: z.ZodString;
|
|
1047
1055
|
aiEnhancementSuccessMessage: z.ZodString;
|
|
1048
1056
|
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
1049
1057
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
@@ -1051,13 +1059,9 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
1051
1059
|
}, z.core.$strip>, z.ZodObject<{
|
|
1052
1060
|
isEnabled: z.ZodLiteral<true>;
|
|
1053
1061
|
otherFields: z.ZodObject<{
|
|
1054
|
-
pagination: z.ZodBoolean;
|
|
1055
1062
|
questionNumber: z.ZodBoolean;
|
|
1056
|
-
pageTitle: z.ZodBoolean;
|
|
1057
|
-
blockerFeedback: z.ZodBoolean;
|
|
1058
1063
|
submitButtonLabel: z.ZodString;
|
|
1059
1064
|
previousButtonLabel: z.ZodString;
|
|
1060
|
-
nextButtonLabel: z.ZodString;
|
|
1061
1065
|
aiEnhancementSuccessMessage: z.ZodString;
|
|
1062
1066
|
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
1063
1067
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
@@ -1065,7 +1069,6 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
1065
1069
|
translations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1066
1070
|
submitButtonLabel: z.ZodString;
|
|
1067
1071
|
previousButtonLabel: z.ZodString;
|
|
1068
|
-
nextButtonLabel: z.ZodString;
|
|
1069
1072
|
aiEnhancementSuccessMessage: z.ZodString;
|
|
1070
1073
|
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
1071
1074
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
@@ -1075,6 +1078,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
1075
1078
|
title: z.ZodString;
|
|
1076
1079
|
description: z.ZodOptional<z.ZodString>;
|
|
1077
1080
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1081
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1078
1082
|
type: z.ZodLiteral<"rating">;
|
|
1079
1083
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
1080
1084
|
maxLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1082,18 +1086,21 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
1082
1086
|
title: z.ZodString;
|
|
1083
1087
|
description: z.ZodOptional<z.ZodString>;
|
|
1084
1088
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1089
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1085
1090
|
type: z.ZodLiteral<"single_choice">;
|
|
1086
1091
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1087
1092
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
1088
1093
|
title: z.ZodString;
|
|
1089
1094
|
description: z.ZodOptional<z.ZodString>;
|
|
1090
1095
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1096
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1091
1097
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
1092
1098
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1093
1099
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
1094
1100
|
title: z.ZodString;
|
|
1095
1101
|
description: z.ZodOptional<z.ZodString>;
|
|
1096
1102
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1103
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1097
1104
|
type: z.ZodLiteral<"nps">;
|
|
1098
1105
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
1099
1106
|
maxLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1101,24 +1108,28 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
1101
1108
|
title: z.ZodString;
|
|
1102
1109
|
description: z.ZodOptional<z.ZodString>;
|
|
1103
1110
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1111
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1104
1112
|
type: z.ZodLiteral<"short_answer">;
|
|
1105
1113
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1106
1114
|
}, z.core.$strip>, z.ZodObject<{
|
|
1107
1115
|
title: z.ZodString;
|
|
1108
1116
|
description: z.ZodOptional<z.ZodString>;
|
|
1109
1117
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1118
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1110
1119
|
type: z.ZodLiteral<"long_text">;
|
|
1111
1120
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1112
1121
|
}, z.core.$strip>, z.ZodObject<{
|
|
1113
1122
|
title: z.ZodString;
|
|
1114
1123
|
description: z.ZodOptional<z.ZodString>;
|
|
1115
1124
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1125
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1116
1126
|
type: z.ZodLiteral<"nested_selection">;
|
|
1117
1127
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1118
1128
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
1119
1129
|
title: z.ZodString;
|
|
1120
1130
|
description: z.ZodOptional<z.ZodString>;
|
|
1121
1131
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1132
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1122
1133
|
type: z.ZodLiteral<"annotation">;
|
|
1123
1134
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
1124
1135
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
@@ -1126,24 +1137,25 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
1126
1137
|
title: z.ZodString;
|
|
1127
1138
|
description: z.ZodOptional<z.ZodString>;
|
|
1128
1139
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1140
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1129
1141
|
type: z.ZodLiteral<"welcome">;
|
|
1130
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1131
1142
|
}, z.core.$strip>, z.ZodObject<{
|
|
1132
1143
|
title: z.ZodString;
|
|
1133
1144
|
description: z.ZodOptional<z.ZodString>;
|
|
1134
1145
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1146
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1135
1147
|
type: z.ZodLiteral<"thank_you">;
|
|
1136
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1137
1148
|
}, z.core.$strip>, z.ZodObject<{
|
|
1138
1149
|
title: z.ZodString;
|
|
1139
1150
|
description: z.ZodOptional<z.ZodString>;
|
|
1140
1151
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1152
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1141
1153
|
type: z.ZodLiteral<"message_panel">;
|
|
1142
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1143
1154
|
}, z.core.$strip>, z.ZodObject<{
|
|
1144
1155
|
title: z.ZodString;
|
|
1145
1156
|
description: z.ZodOptional<z.ZodString>;
|
|
1146
1157
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1158
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1147
1159
|
type: z.ZodLiteral<"yes_no">;
|
|
1148
1160
|
yesLabel: z.ZodOptional<z.ZodString>;
|
|
1149
1161
|
noLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1151,6 +1163,7 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
1151
1163
|
title: z.ZodString;
|
|
1152
1164
|
description: z.ZodOptional<z.ZodString>;
|
|
1153
1165
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1166
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1154
1167
|
type: z.ZodLiteral<"rating_matrix">;
|
|
1155
1168
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
1156
1169
|
maxLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1158,11 +1171,13 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
1158
1171
|
title: z.ZodString;
|
|
1159
1172
|
description: z.ZodOptional<z.ZodString>;
|
|
1160
1173
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1174
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1161
1175
|
type: z.ZodLiteral<"matrix_single_choice">;
|
|
1162
1176
|
}, z.core.$catchall<z.ZodString>>, z.ZodObject<{
|
|
1163
1177
|
title: z.ZodString;
|
|
1164
1178
|
description: z.ZodOptional<z.ZodString>;
|
|
1165
1179
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1180
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1166
1181
|
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
1167
1182
|
}, z.core.$catchall<z.ZodString>>]>>>>;
|
|
1168
1183
|
onSectionChange: z.ZodOptional<z.ZodFunction<z.ZodTuple<readonly [z.ZodNumber], null>, z.ZodVoid>>;
|