@encatch/schema 1.1.0-beta.5 → 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 +5 -20
- package/dist/esm/index.js.map +2 -2
- package/dist/types/schemas/api/fetch-feedback-schema.d.ts +0 -16
- package/dist/types/schemas/fields/app-props-schema.d.ts +0 -16
- package/dist/types/schemas/fields/field-schema.d.ts +0 -6
- package/dist/types/schemas/fields/form-properties-schema.d.ts +0 -26
- package/dist/types/schemas/fields/other-screen-schema.d.ts +0 -5
- package/dist/types/schemas/fields/translations-schema.d.ts +0 -15
- package/package.json +1 -1
|
@@ -347,7 +347,6 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
347
347
|
type: z.ZodLiteral<"welcome">;
|
|
348
348
|
title: z.ZodString;
|
|
349
349
|
description: z.ZodOptional<z.ZodString>;
|
|
350
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
351
350
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
352
351
|
}, z.core.$strip>, z.ZodObject<{
|
|
353
352
|
id: z.ZodString;
|
|
@@ -401,7 +400,6 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
401
400
|
type: z.ZodLiteral<"thank_you">;
|
|
402
401
|
title: z.ZodString;
|
|
403
402
|
description: z.ZodOptional<z.ZodString>;
|
|
404
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
405
403
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
406
404
|
}, z.core.$strip>, z.ZodObject<{
|
|
407
405
|
id: z.ZodString;
|
|
@@ -455,7 +453,6 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
455
453
|
type: z.ZodLiteral<"message_panel">;
|
|
456
454
|
title: z.ZodString;
|
|
457
455
|
description: z.ZodOptional<z.ZodString>;
|
|
458
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
459
456
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
460
457
|
}, z.core.$strip>, z.ZodObject<{
|
|
461
458
|
id: z.ZodString;
|
|
@@ -1390,7 +1387,6 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1390
1387
|
type: z.ZodLiteral<"welcome">;
|
|
1391
1388
|
title: z.ZodString;
|
|
1392
1389
|
description: z.ZodOptional<z.ZodString>;
|
|
1393
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1394
1390
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
1395
1391
|
}, z.core.$strip>, z.ZodObject<{
|
|
1396
1392
|
id: z.ZodString;
|
|
@@ -1444,7 +1440,6 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1444
1440
|
type: z.ZodLiteral<"thank_you">;
|
|
1445
1441
|
title: z.ZodString;
|
|
1446
1442
|
description: z.ZodOptional<z.ZodString>;
|
|
1447
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1448
1443
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
1449
1444
|
}, z.core.$strip>, z.ZodObject<{
|
|
1450
1445
|
id: z.ZodString;
|
|
@@ -1498,7 +1493,6 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1498
1493
|
type: z.ZodLiteral<"message_panel">;
|
|
1499
1494
|
title: z.ZodString;
|
|
1500
1495
|
description: z.ZodOptional<z.ZodString>;
|
|
1501
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1502
1496
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
1503
1497
|
}, z.core.$strip>, z.ZodObject<{
|
|
1504
1498
|
id: z.ZodString;
|
|
@@ -2252,13 +2246,9 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
2252
2246
|
otherConfigurationProperties: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2253
2247
|
isEnabled: z.ZodLiteral<false>;
|
|
2254
2248
|
otherFields: z.ZodObject<{
|
|
2255
|
-
pagination: z.ZodBoolean;
|
|
2256
2249
|
questionNumber: z.ZodBoolean;
|
|
2257
|
-
pageTitle: z.ZodBoolean;
|
|
2258
|
-
blockerFeedback: z.ZodBoolean;
|
|
2259
2250
|
submitButtonLabel: z.ZodString;
|
|
2260
2251
|
previousButtonLabel: z.ZodString;
|
|
2261
|
-
nextButtonLabel: z.ZodString;
|
|
2262
2252
|
aiEnhancementSuccessMessage: z.ZodString;
|
|
2263
2253
|
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
2264
2254
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
@@ -2266,7 +2256,6 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
2266
2256
|
translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2267
2257
|
submitButtonLabel: z.ZodString;
|
|
2268
2258
|
previousButtonLabel: z.ZodString;
|
|
2269
|
-
nextButtonLabel: z.ZodString;
|
|
2270
2259
|
aiEnhancementSuccessMessage: z.ZodString;
|
|
2271
2260
|
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
2272
2261
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
@@ -2274,13 +2263,9 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
2274
2263
|
}, z.core.$strip>, z.ZodObject<{
|
|
2275
2264
|
isEnabled: z.ZodLiteral<true>;
|
|
2276
2265
|
otherFields: z.ZodObject<{
|
|
2277
|
-
pagination: z.ZodBoolean;
|
|
2278
2266
|
questionNumber: z.ZodBoolean;
|
|
2279
|
-
pageTitle: z.ZodBoolean;
|
|
2280
|
-
blockerFeedback: z.ZodBoolean;
|
|
2281
2267
|
submitButtonLabel: z.ZodString;
|
|
2282
2268
|
previousButtonLabel: z.ZodString;
|
|
2283
|
-
nextButtonLabel: z.ZodString;
|
|
2284
2269
|
aiEnhancementSuccessMessage: z.ZodString;
|
|
2285
2270
|
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
2286
2271
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
@@ -2288,7 +2273,6 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
2288
2273
|
translations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2289
2274
|
submitButtonLabel: z.ZodString;
|
|
2290
2275
|
previousButtonLabel: z.ZodString;
|
|
2291
|
-
nextButtonLabel: z.ZodString;
|
|
2292
2276
|
aiEnhancementSuccessMessage: z.ZodString;
|
|
2293
2277
|
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
2294
2278
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
@@ -200,7 +200,6 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
200
200
|
type: z.ZodLiteral<"welcome">;
|
|
201
201
|
title: z.ZodString;
|
|
202
202
|
description: z.ZodOptional<z.ZodString>;
|
|
203
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
204
203
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
205
204
|
}, z.core.$strip>, z.ZodObject<{
|
|
206
205
|
id: z.ZodString;
|
|
@@ -254,7 +253,6 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
254
253
|
type: z.ZodLiteral<"thank_you">;
|
|
255
254
|
title: z.ZodString;
|
|
256
255
|
description: z.ZodOptional<z.ZodString>;
|
|
257
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
258
256
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
259
257
|
}, z.core.$strip>, z.ZodObject<{
|
|
260
258
|
id: z.ZodString;
|
|
@@ -308,7 +306,6 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
308
306
|
type: z.ZodLiteral<"message_panel">;
|
|
309
307
|
title: z.ZodString;
|
|
310
308
|
description: z.ZodOptional<z.ZodString>;
|
|
311
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
312
309
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
313
310
|
}, z.core.$strip>, z.ZodObject<{
|
|
314
311
|
id: z.ZodString;
|
|
@@ -1045,13 +1042,9 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
1045
1042
|
otherConfigurationProperties: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1046
1043
|
isEnabled: z.ZodLiteral<false>;
|
|
1047
1044
|
otherFields: z.ZodObject<{
|
|
1048
|
-
pagination: z.ZodBoolean;
|
|
1049
1045
|
questionNumber: z.ZodBoolean;
|
|
1050
|
-
pageTitle: z.ZodBoolean;
|
|
1051
|
-
blockerFeedback: z.ZodBoolean;
|
|
1052
1046
|
submitButtonLabel: z.ZodString;
|
|
1053
1047
|
previousButtonLabel: z.ZodString;
|
|
1054
|
-
nextButtonLabel: z.ZodString;
|
|
1055
1048
|
aiEnhancementSuccessMessage: z.ZodString;
|
|
1056
1049
|
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
1057
1050
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
@@ -1059,7 +1052,6 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
1059
1052
|
translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1060
1053
|
submitButtonLabel: z.ZodString;
|
|
1061
1054
|
previousButtonLabel: z.ZodString;
|
|
1062
|
-
nextButtonLabel: z.ZodString;
|
|
1063
1055
|
aiEnhancementSuccessMessage: z.ZodString;
|
|
1064
1056
|
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
1065
1057
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
@@ -1067,13 +1059,9 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
1067
1059
|
}, z.core.$strip>, z.ZodObject<{
|
|
1068
1060
|
isEnabled: z.ZodLiteral<true>;
|
|
1069
1061
|
otherFields: z.ZodObject<{
|
|
1070
|
-
pagination: z.ZodBoolean;
|
|
1071
1062
|
questionNumber: z.ZodBoolean;
|
|
1072
|
-
pageTitle: z.ZodBoolean;
|
|
1073
|
-
blockerFeedback: z.ZodBoolean;
|
|
1074
1063
|
submitButtonLabel: z.ZodString;
|
|
1075
1064
|
previousButtonLabel: z.ZodString;
|
|
1076
|
-
nextButtonLabel: z.ZodString;
|
|
1077
1065
|
aiEnhancementSuccessMessage: z.ZodString;
|
|
1078
1066
|
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
1079
1067
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
@@ -1081,7 +1069,6 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
1081
1069
|
translations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1082
1070
|
submitButtonLabel: z.ZodString;
|
|
1083
1071
|
previousButtonLabel: z.ZodString;
|
|
1084
|
-
nextButtonLabel: z.ZodString;
|
|
1085
1072
|
aiEnhancementSuccessMessage: z.ZodString;
|
|
1086
1073
|
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
1087
1074
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
@@ -1152,21 +1139,18 @@ export declare const appPropsSchema: z.ZodObject<{
|
|
|
1152
1139
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1153
1140
|
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1154
1141
|
type: z.ZodLiteral<"welcome">;
|
|
1155
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1156
1142
|
}, z.core.$strip>, z.ZodObject<{
|
|
1157
1143
|
title: z.ZodString;
|
|
1158
1144
|
description: z.ZodOptional<z.ZodString>;
|
|
1159
1145
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1160
1146
|
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1161
1147
|
type: z.ZodLiteral<"thank_you">;
|
|
1162
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1163
1148
|
}, z.core.$strip>, z.ZodObject<{
|
|
1164
1149
|
title: z.ZodString;
|
|
1165
1150
|
description: z.ZodOptional<z.ZodString>;
|
|
1166
1151
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1167
1152
|
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1168
1153
|
type: z.ZodLiteral<"message_panel">;
|
|
1169
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1170
1154
|
}, z.core.$strip>, z.ZodObject<{
|
|
1171
1155
|
title: z.ZodString;
|
|
1172
1156
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -453,7 +453,6 @@ export declare const welcomeQuestionSchema: z.ZodObject<{
|
|
|
453
453
|
type: z.ZodLiteral<"welcome">;
|
|
454
454
|
title: z.ZodString;
|
|
455
455
|
description: z.ZodOptional<z.ZodString>;
|
|
456
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
457
456
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
458
457
|
}, z.core.$strip>;
|
|
459
458
|
export declare const thankYouQuestionSchema: z.ZodObject<{
|
|
@@ -508,7 +507,6 @@ export declare const thankYouQuestionSchema: z.ZodObject<{
|
|
|
508
507
|
type: z.ZodLiteral<"thank_you">;
|
|
509
508
|
title: z.ZodString;
|
|
510
509
|
description: z.ZodOptional<z.ZodString>;
|
|
511
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
512
510
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
513
511
|
}, z.core.$strip>;
|
|
514
512
|
export declare const messagePanelQuestionSchema: z.ZodObject<{
|
|
@@ -563,7 +561,6 @@ export declare const messagePanelQuestionSchema: z.ZodObject<{
|
|
|
563
561
|
type: z.ZodLiteral<"message_panel">;
|
|
564
562
|
title: z.ZodString;
|
|
565
563
|
description: z.ZodOptional<z.ZodString>;
|
|
566
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
567
564
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
568
565
|
}, z.core.$strip>;
|
|
569
566
|
export declare const exitFormQuestionSchema: z.ZodObject<{
|
|
@@ -1587,7 +1584,6 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1587
1584
|
type: z.ZodLiteral<"welcome">;
|
|
1588
1585
|
title: z.ZodString;
|
|
1589
1586
|
description: z.ZodOptional<z.ZodString>;
|
|
1590
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1591
1587
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
1592
1588
|
}, z.core.$strip>, z.ZodObject<{
|
|
1593
1589
|
id: z.ZodString;
|
|
@@ -1641,7 +1637,6 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1641
1637
|
type: z.ZodLiteral<"thank_you">;
|
|
1642
1638
|
title: z.ZodString;
|
|
1643
1639
|
description: z.ZodOptional<z.ZodString>;
|
|
1644
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1645
1640
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
1646
1641
|
}, z.core.$strip>, z.ZodObject<{
|
|
1647
1642
|
id: z.ZodString;
|
|
@@ -1695,7 +1690,6 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1695
1690
|
type: z.ZodLiteral<"message_panel">;
|
|
1696
1691
|
title: z.ZodString;
|
|
1697
1692
|
description: z.ZodOptional<z.ZodString>;
|
|
1698
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1699
1693
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
1700
1694
|
}, z.core.$strip>, z.ZodObject<{
|
|
1701
1695
|
id: z.ZodString;
|
|
@@ -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;
|
|
@@ -287,7 +277,6 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
287
277
|
type: z.ZodLiteral<"welcome">;
|
|
288
278
|
title: z.ZodString;
|
|
289
279
|
description: z.ZodOptional<z.ZodString>;
|
|
290
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
291
280
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
292
281
|
}, z.core.$strip>, z.ZodObject<{
|
|
293
282
|
id: z.ZodString;
|
|
@@ -341,7 +330,6 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
341
330
|
type: z.ZodLiteral<"thank_you">;
|
|
342
331
|
title: z.ZodString;
|
|
343
332
|
description: z.ZodOptional<z.ZodString>;
|
|
344
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
345
333
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
346
334
|
}, z.core.$strip>, z.ZodObject<{
|
|
347
335
|
id: z.ZodString;
|
|
@@ -395,7 +383,6 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
395
383
|
type: z.ZodLiteral<"message_panel">;
|
|
396
384
|
title: z.ZodString;
|
|
397
385
|
description: z.ZodOptional<z.ZodString>;
|
|
398
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
399
386
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
400
387
|
}, z.core.$strip>, z.ZodObject<{
|
|
401
388
|
id: z.ZodString;
|
|
@@ -1209,21 +1196,18 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1209
1196
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1210
1197
|
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1211
1198
|
type: z.ZodLiteral<"welcome">;
|
|
1212
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1213
1199
|
}, z.core.$strip>, z.ZodObject<{
|
|
1214
1200
|
title: z.ZodString;
|
|
1215
1201
|
description: z.ZodOptional<z.ZodString>;
|
|
1216
1202
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1217
1203
|
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1218
1204
|
type: z.ZodLiteral<"thank_you">;
|
|
1219
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1220
1205
|
}, z.core.$strip>, z.ZodObject<{
|
|
1221
1206
|
title: z.ZodString;
|
|
1222
1207
|
description: z.ZodOptional<z.ZodString>;
|
|
1223
1208
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1224
1209
|
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1225
1210
|
type: z.ZodLiteral<"message_panel">;
|
|
1226
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1227
1211
|
}, z.core.$strip>, z.ZodObject<{
|
|
1228
1212
|
title: z.ZodString;
|
|
1229
1213
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1328,13 +1312,9 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1328
1312
|
otherConfigurationProperties: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1329
1313
|
isEnabled: z.ZodLiteral<false>;
|
|
1330
1314
|
otherFields: z.ZodObject<{
|
|
1331
|
-
pagination: z.ZodBoolean;
|
|
1332
1315
|
questionNumber: z.ZodBoolean;
|
|
1333
|
-
pageTitle: z.ZodBoolean;
|
|
1334
|
-
blockerFeedback: z.ZodBoolean;
|
|
1335
1316
|
submitButtonLabel: z.ZodString;
|
|
1336
1317
|
previousButtonLabel: z.ZodString;
|
|
1337
|
-
nextButtonLabel: z.ZodString;
|
|
1338
1318
|
aiEnhancementSuccessMessage: z.ZodString;
|
|
1339
1319
|
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
1340
1320
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
@@ -1342,7 +1322,6 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1342
1322
|
translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1343
1323
|
submitButtonLabel: z.ZodString;
|
|
1344
1324
|
previousButtonLabel: z.ZodString;
|
|
1345
|
-
nextButtonLabel: z.ZodString;
|
|
1346
1325
|
aiEnhancementSuccessMessage: z.ZodString;
|
|
1347
1326
|
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
1348
1327
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
@@ -1350,13 +1329,9 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1350
1329
|
}, z.core.$strip>, z.ZodObject<{
|
|
1351
1330
|
isEnabled: z.ZodLiteral<true>;
|
|
1352
1331
|
otherFields: z.ZodObject<{
|
|
1353
|
-
pagination: z.ZodBoolean;
|
|
1354
1332
|
questionNumber: z.ZodBoolean;
|
|
1355
|
-
pageTitle: z.ZodBoolean;
|
|
1356
|
-
blockerFeedback: z.ZodBoolean;
|
|
1357
1333
|
submitButtonLabel: z.ZodString;
|
|
1358
1334
|
previousButtonLabel: z.ZodString;
|
|
1359
|
-
nextButtonLabel: z.ZodString;
|
|
1360
1335
|
aiEnhancementSuccessMessage: z.ZodString;
|
|
1361
1336
|
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
1362
1337
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
@@ -1364,7 +1339,6 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1364
1339
|
translations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1365
1340
|
submitButtonLabel: z.ZodString;
|
|
1366
1341
|
previousButtonLabel: z.ZodString;
|
|
1367
|
-
nextButtonLabel: z.ZodString;
|
|
1368
1342
|
aiEnhancementSuccessMessage: z.ZodString;
|
|
1369
1343
|
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
1370
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;
|
|
@@ -80,7 +80,6 @@ export declare const welcomeQuestionTranslationSchema: z.ZodObject<{
|
|
|
80
80
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
81
81
|
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
82
82
|
type: z.ZodLiteral<"welcome">;
|
|
83
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
84
83
|
}, z.core.$strip>;
|
|
85
84
|
export declare const thankYouQuestionTranslationSchema: z.ZodObject<{
|
|
86
85
|
title: z.ZodString;
|
|
@@ -88,7 +87,6 @@ export declare const thankYouQuestionTranslationSchema: z.ZodObject<{
|
|
|
88
87
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
89
88
|
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
90
89
|
type: z.ZodLiteral<"thank_you">;
|
|
91
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
92
90
|
}, z.core.$strip>;
|
|
93
91
|
export declare const messagePanelQuestionTranslationSchema: z.ZodObject<{
|
|
94
92
|
title: z.ZodString;
|
|
@@ -96,7 +94,6 @@ export declare const messagePanelQuestionTranslationSchema: z.ZodObject<{
|
|
|
96
94
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
97
95
|
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
98
96
|
type: z.ZodLiteral<"message_panel">;
|
|
99
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
100
97
|
}, z.core.$strip>;
|
|
101
98
|
export declare const yesNoQuestionTranslationSchema: z.ZodObject<{
|
|
102
99
|
title: z.ZodString;
|
|
@@ -195,21 +192,18 @@ export declare const questionTranslationSchema: z.ZodUnion<readonly [z.ZodObject
|
|
|
195
192
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
196
193
|
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
197
194
|
type: z.ZodLiteral<"welcome">;
|
|
198
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
199
195
|
}, z.core.$strip>, z.ZodObject<{
|
|
200
196
|
title: z.ZodString;
|
|
201
197
|
description: z.ZodOptional<z.ZodString>;
|
|
202
198
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
203
199
|
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
204
200
|
type: z.ZodLiteral<"thank_you">;
|
|
205
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
206
201
|
}, z.core.$strip>, z.ZodObject<{
|
|
207
202
|
title: z.ZodString;
|
|
208
203
|
description: z.ZodOptional<z.ZodString>;
|
|
209
204
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
210
205
|
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
211
206
|
type: z.ZodLiteral<"message_panel">;
|
|
212
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
213
207
|
}, z.core.$strip>, z.ZodObject<{
|
|
214
208
|
title: z.ZodString;
|
|
215
209
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -315,21 +309,18 @@ export declare const questionTranslationsByLanguageSchema: z.ZodRecord<z.ZodStri
|
|
|
315
309
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
316
310
|
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
317
311
|
type: z.ZodLiteral<"welcome">;
|
|
318
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
319
312
|
}, z.core.$strip>, z.ZodObject<{
|
|
320
313
|
title: z.ZodString;
|
|
321
314
|
description: z.ZodOptional<z.ZodString>;
|
|
322
315
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
323
316
|
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
324
317
|
type: z.ZodLiteral<"thank_you">;
|
|
325
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
326
318
|
}, z.core.$strip>, z.ZodObject<{
|
|
327
319
|
title: z.ZodString;
|
|
328
320
|
description: z.ZodOptional<z.ZodString>;
|
|
329
321
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
330
322
|
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
331
323
|
type: z.ZodLiteral<"message_panel">;
|
|
332
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
333
324
|
}, z.core.$strip>, z.ZodObject<{
|
|
334
325
|
title: z.ZodString;
|
|
335
326
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -424,21 +415,18 @@ export declare const questionCentricTranslationsSchema: z.ZodRecord<z.ZodString,
|
|
|
424
415
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
425
416
|
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
426
417
|
type: z.ZodLiteral<"welcome">;
|
|
427
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
428
418
|
}, z.core.$strip>, z.ZodObject<{
|
|
429
419
|
title: z.ZodString;
|
|
430
420
|
description: z.ZodOptional<z.ZodString>;
|
|
431
421
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
432
422
|
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
433
423
|
type: z.ZodLiteral<"thank_you">;
|
|
434
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
435
424
|
}, z.core.$strip>, z.ZodObject<{
|
|
436
425
|
title: z.ZodString;
|
|
437
426
|
description: z.ZodOptional<z.ZodString>;
|
|
438
427
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
439
428
|
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
440
429
|
type: z.ZodLiteral<"message_panel">;
|
|
441
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
442
430
|
}, z.core.$strip>, z.ZodObject<{
|
|
443
431
|
title: z.ZodString;
|
|
444
432
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -533,21 +521,18 @@ export declare const translationsSchema: z.ZodRecord<z.ZodString, z.ZodRecord<z.
|
|
|
533
521
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
534
522
|
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
535
523
|
type: z.ZodLiteral<"welcome">;
|
|
536
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
537
524
|
}, z.core.$strip>, z.ZodObject<{
|
|
538
525
|
title: z.ZodString;
|
|
539
526
|
description: z.ZodOptional<z.ZodString>;
|
|
540
527
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
541
528
|
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
542
529
|
type: z.ZodLiteral<"thank_you">;
|
|
543
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
544
530
|
}, z.core.$strip>, z.ZodObject<{
|
|
545
531
|
title: z.ZodString;
|
|
546
532
|
description: z.ZodOptional<z.ZodString>;
|
|
547
533
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
548
534
|
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
549
535
|
type: z.ZodLiteral<"message_panel">;
|
|
550
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
551
536
|
}, z.core.$strip>, z.ZodObject<{
|
|
552
537
|
title: z.ZodString;
|
|
553
538
|
description: z.ZodOptional<z.ZodString>;
|
package/package.json
CHANGED