@encatch/schema 1.1.0-beta.5 → 1.1.0-beta.7
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 +57 -31
- package/dist/esm/index.js.map +3 -3
- package/dist/types/index.d.ts +3 -3
- package/dist/types/schemas/api/fetch-feedback-schema.d.ts +172 -25
- package/dist/types/schemas/api/submit-feedback-schema.d.ts +6 -0
- package/dist/types/schemas/fields/answer-schema.d.ts +2 -0
- package/dist/types/schemas/fields/app-props-schema.d.ts +79 -25
- package/dist/types/schemas/fields/field-schema.d.ts +145 -7
- package/dist/types/schemas/fields/form-properties-schema.d.ts +89 -44
- package/dist/types/schemas/fields/other-screen-schema.d.ts +0 -5
- package/dist/types/schemas/fields/theme-schema.d.ts +20 -18
- package/dist/types/schemas/fields/translations-schema.d.ts +0 -15
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -56,23 +46,24 @@ export declare const appearancePropertiesSchema: z.ZodObject<{
|
|
|
56
46
|
}, z.core.$strip>;
|
|
57
47
|
}, z.core.$strip>;
|
|
58
48
|
featureSettings: z.ZodObject<{
|
|
59
|
-
darkOverlay: z.ZodBoolean
|
|
60
|
-
closeButton: z.ZodBoolean
|
|
61
|
-
progressBar: z.ZodBoolean
|
|
62
|
-
showBranding: z.ZodBoolean
|
|
49
|
+
darkOverlay: z.ZodDefault<z.ZodBoolean>;
|
|
50
|
+
closeButton: z.ZodDefault<z.ZodBoolean>;
|
|
51
|
+
progressBar: z.ZodDefault<z.ZodBoolean>;
|
|
52
|
+
showBranding: z.ZodDefault<z.ZodBoolean>;
|
|
63
53
|
customPosition: z.ZodBoolean;
|
|
64
54
|
customCss: z.ZodOptional<z.ZodString>;
|
|
65
|
-
shareableMode: z.ZodOptional<z.ZodEnum<{
|
|
55
|
+
shareableMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
66
56
|
light: "light";
|
|
67
57
|
dark: "dark";
|
|
68
58
|
system: "system";
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
|
|
59
|
+
}>>>;
|
|
60
|
+
enableShareableKeyboardNavigation: z.ZodDefault<z.ZodBoolean>;
|
|
61
|
+
rtl: z.ZodDefault<z.ZodBoolean>;
|
|
62
|
+
previousButton: z.ZodDefault<z.ZodEnum<{
|
|
72
63
|
never: "never";
|
|
73
64
|
always: "always";
|
|
74
65
|
auto: "auto";
|
|
75
|
-
}
|
|
66
|
+
}>>;
|
|
76
67
|
}, z.core.$strip>;
|
|
77
68
|
selectedPosition: z.ZodEnum<{
|
|
78
69
|
"top-left": "top-left";
|
|
@@ -113,6 +104,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
113
104
|
questionnaireFields: z.ZodObject<{
|
|
114
105
|
questions: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
115
106
|
id: z.ZodString;
|
|
107
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
116
108
|
title: z.ZodString;
|
|
117
109
|
description: z.ZodOptional<z.ZodString>;
|
|
118
110
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -183,6 +175,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
183
175
|
color: z.ZodOptional<z.ZodString>;
|
|
184
176
|
}, z.core.$strip>, z.ZodObject<{
|
|
185
177
|
id: z.ZodString;
|
|
178
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
186
179
|
title: z.ZodString;
|
|
187
180
|
description: z.ZodOptional<z.ZodString>;
|
|
188
181
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -237,6 +230,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
237
230
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
238
231
|
}, z.core.$strip>, z.ZodObject<{
|
|
239
232
|
id: z.ZodString;
|
|
233
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
240
234
|
describe: z.ZodOptional<z.ZodString>;
|
|
241
235
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
242
236
|
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -287,10 +281,10 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
287
281
|
type: z.ZodLiteral<"welcome">;
|
|
288
282
|
title: z.ZodString;
|
|
289
283
|
description: z.ZodOptional<z.ZodString>;
|
|
290
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
291
284
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
292
285
|
}, z.core.$strip>, z.ZodObject<{
|
|
293
286
|
id: z.ZodString;
|
|
287
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
294
288
|
describe: z.ZodOptional<z.ZodString>;
|
|
295
289
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
296
290
|
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -341,10 +335,10 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
341
335
|
type: z.ZodLiteral<"thank_you">;
|
|
342
336
|
title: z.ZodString;
|
|
343
337
|
description: z.ZodOptional<z.ZodString>;
|
|
344
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
345
338
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
346
339
|
}, z.core.$strip>, z.ZodObject<{
|
|
347
340
|
id: z.ZodString;
|
|
341
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
348
342
|
describe: z.ZodOptional<z.ZodString>;
|
|
349
343
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
350
344
|
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -395,10 +389,10 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
395
389
|
type: z.ZodLiteral<"message_panel">;
|
|
396
390
|
title: z.ZodString;
|
|
397
391
|
description: z.ZodOptional<z.ZodString>;
|
|
398
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
399
392
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
400
393
|
}, z.core.$strip>, z.ZodObject<{
|
|
401
394
|
id: z.ZodString;
|
|
395
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
402
396
|
title: z.ZodString;
|
|
403
397
|
description: z.ZodOptional<z.ZodString>;
|
|
404
398
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -451,6 +445,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
451
445
|
type: z.ZodLiteral<"exit_form">;
|
|
452
446
|
}, z.core.$strip>, z.ZodObject<{
|
|
453
447
|
id: z.ZodString;
|
|
448
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
454
449
|
title: z.ZodString;
|
|
455
450
|
description: z.ZodOptional<z.ZodString>;
|
|
456
451
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -509,6 +504,60 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
509
504
|
}>>;
|
|
510
505
|
}, z.core.$strip>, z.ZodObject<{
|
|
511
506
|
id: z.ZodString;
|
|
507
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
508
|
+
title: z.ZodString;
|
|
509
|
+
description: z.ZodOptional<z.ZodString>;
|
|
510
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
511
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
512
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
513
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
514
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
515
|
+
type: z.ZodEnum<{
|
|
516
|
+
custom: "custom";
|
|
517
|
+
pattern: "pattern";
|
|
518
|
+
required: "required";
|
|
519
|
+
min: "min";
|
|
520
|
+
max: "max";
|
|
521
|
+
minLength: "minLength";
|
|
522
|
+
maxLength: "maxLength";
|
|
523
|
+
email: "email";
|
|
524
|
+
url: "url";
|
|
525
|
+
}>;
|
|
526
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
527
|
+
message: z.ZodOptional<z.ZodString>;
|
|
528
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
529
|
+
}, z.core.$strip>>>>;
|
|
530
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
531
|
+
field: z.ZodString;
|
|
532
|
+
operator: z.ZodEnum<{
|
|
533
|
+
equals: "equals";
|
|
534
|
+
not_equals: "not_equals";
|
|
535
|
+
contains: "contains";
|
|
536
|
+
not_contains: "not_contains";
|
|
537
|
+
greater_than: "greater_than";
|
|
538
|
+
less_than: "less_than";
|
|
539
|
+
is_empty: "is_empty";
|
|
540
|
+
is_not_empty: "is_not_empty";
|
|
541
|
+
}>;
|
|
542
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
543
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
544
|
+
}, z.core.$strip>>>>;
|
|
545
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
546
|
+
status: z.ZodEnum<{
|
|
547
|
+
D: "D";
|
|
548
|
+
P: "P";
|
|
549
|
+
A: "A";
|
|
550
|
+
S: "S";
|
|
551
|
+
}>;
|
|
552
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
553
|
+
left: "left";
|
|
554
|
+
center: "center";
|
|
555
|
+
}>>>;
|
|
556
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
557
|
+
type: z.ZodLiteral<"consent">;
|
|
558
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
559
|
+
id: z.ZodString;
|
|
560
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
512
561
|
title: z.ZodString;
|
|
513
562
|
description: z.ZodOptional<z.ZodString>;
|
|
514
563
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -600,6 +649,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
600
649
|
randomizeStatements: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
601
650
|
}, z.core.$strip>, z.ZodObject<{
|
|
602
651
|
id: z.ZodString;
|
|
652
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
603
653
|
title: z.ZodString;
|
|
604
654
|
description: z.ZodOptional<z.ZodString>;
|
|
605
655
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -666,6 +716,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
666
716
|
randomizeColumns: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
667
717
|
}, z.core.$strip>, z.ZodObject<{
|
|
668
718
|
id: z.ZodString;
|
|
719
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
669
720
|
title: z.ZodString;
|
|
670
721
|
description: z.ZodOptional<z.ZodString>;
|
|
671
722
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -734,6 +785,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
734
785
|
randomizeColumns: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
735
786
|
}, z.core.$strip>, z.ZodObject<{
|
|
736
787
|
id: z.ZodString;
|
|
788
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
737
789
|
title: z.ZodString;
|
|
738
790
|
description: z.ZodOptional<z.ZodString>;
|
|
739
791
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -806,6 +858,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
806
858
|
}, z.core.$strip>>;
|
|
807
859
|
}, z.core.$strip>, z.ZodObject<{
|
|
808
860
|
id: z.ZodString;
|
|
861
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
809
862
|
title: z.ZodString;
|
|
810
863
|
description: z.ZodOptional<z.ZodString>;
|
|
811
864
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -879,6 +932,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
879
932
|
}, z.core.$strip>>;
|
|
880
933
|
}, z.core.$strip>, z.ZodObject<{
|
|
881
934
|
id: z.ZodString;
|
|
935
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
882
936
|
title: z.ZodString;
|
|
883
937
|
description: z.ZodOptional<z.ZodString>;
|
|
884
938
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -937,6 +991,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
937
991
|
prepopulatedValue: z.ZodOptional<z.ZodNumber>;
|
|
938
992
|
}, z.core.$strip>, z.ZodObject<{
|
|
939
993
|
id: z.ZodString;
|
|
994
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
940
995
|
title: z.ZodString;
|
|
941
996
|
description: z.ZodOptional<z.ZodString>;
|
|
942
997
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -998,6 +1053,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
998
1053
|
minCharactersToEnhance: z.ZodOptional<z.ZodNumber>;
|
|
999
1054
|
}, z.core.$strip>, z.ZodObject<{
|
|
1000
1055
|
id: z.ZodString;
|
|
1056
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1001
1057
|
title: z.ZodString;
|
|
1002
1058
|
description: z.ZodOptional<z.ZodString>;
|
|
1003
1059
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -1058,6 +1114,7 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1058
1114
|
minCharactersToEnhance: z.ZodOptional<z.ZodNumber>;
|
|
1059
1115
|
}, z.core.$strip>, z.ZodObject<{
|
|
1060
1116
|
id: z.ZodString;
|
|
1117
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1061
1118
|
title: z.ZodString;
|
|
1062
1119
|
description: z.ZodOptional<z.ZodString>;
|
|
1063
1120
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -1209,21 +1266,18 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1209
1266
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1210
1267
|
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1211
1268
|
type: z.ZodLiteral<"welcome">;
|
|
1212
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1213
1269
|
}, z.core.$strip>, z.ZodObject<{
|
|
1214
1270
|
title: z.ZodString;
|
|
1215
1271
|
description: z.ZodOptional<z.ZodString>;
|
|
1216
1272
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1217
1273
|
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1218
1274
|
type: z.ZodLiteral<"thank_you">;
|
|
1219
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1220
1275
|
}, z.core.$strip>, z.ZodObject<{
|
|
1221
1276
|
title: z.ZodString;
|
|
1222
1277
|
description: z.ZodOptional<z.ZodString>;
|
|
1223
1278
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1224
1279
|
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1225
1280
|
type: z.ZodLiteral<"message_panel">;
|
|
1226
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1227
1281
|
}, z.core.$strip>, z.ZodObject<{
|
|
1228
1282
|
title: z.ZodString;
|
|
1229
1283
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1328,13 +1382,9 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1328
1382
|
otherConfigurationProperties: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1329
1383
|
isEnabled: z.ZodLiteral<false>;
|
|
1330
1384
|
otherFields: z.ZodObject<{
|
|
1331
|
-
pagination: z.ZodBoolean;
|
|
1332
1385
|
questionNumber: z.ZodBoolean;
|
|
1333
|
-
pageTitle: z.ZodBoolean;
|
|
1334
|
-
blockerFeedback: z.ZodBoolean;
|
|
1335
1386
|
submitButtonLabel: z.ZodString;
|
|
1336
1387
|
previousButtonLabel: z.ZodString;
|
|
1337
|
-
nextButtonLabel: z.ZodString;
|
|
1338
1388
|
aiEnhancementSuccessMessage: z.ZodString;
|
|
1339
1389
|
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
1340
1390
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
@@ -1342,7 +1392,6 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1342
1392
|
translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1343
1393
|
submitButtonLabel: z.ZodString;
|
|
1344
1394
|
previousButtonLabel: z.ZodString;
|
|
1345
|
-
nextButtonLabel: z.ZodString;
|
|
1346
1395
|
aiEnhancementSuccessMessage: z.ZodString;
|
|
1347
1396
|
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
1348
1397
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
@@ -1350,13 +1399,9 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1350
1399
|
}, z.core.$strip>, z.ZodObject<{
|
|
1351
1400
|
isEnabled: z.ZodLiteral<true>;
|
|
1352
1401
|
otherFields: z.ZodObject<{
|
|
1353
|
-
pagination: z.ZodBoolean;
|
|
1354
1402
|
questionNumber: z.ZodBoolean;
|
|
1355
|
-
pageTitle: z.ZodBoolean;
|
|
1356
|
-
blockerFeedback: z.ZodBoolean;
|
|
1357
1403
|
submitButtonLabel: z.ZodString;
|
|
1358
1404
|
previousButtonLabel: z.ZodString;
|
|
1359
|
-
nextButtonLabel: z.ZodString;
|
|
1360
1405
|
aiEnhancementSuccessMessage: z.ZodString;
|
|
1361
1406
|
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
1362
1407
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
@@ -1364,7 +1409,6 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1364
1409
|
translations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1365
1410
|
submitButtonLabel: z.ZodString;
|
|
1366
1411
|
previousButtonLabel: z.ZodString;
|
|
1367
|
-
nextButtonLabel: z.ZodString;
|
|
1368
1412
|
aiEnhancementSuccessMessage: z.ZodString;
|
|
1369
1413
|
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
1370
1414
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
@@ -1381,23 +1425,24 @@ export declare const formPropertiesSchema: z.ZodObject<{
|
|
|
1381
1425
|
}, z.core.$strip>;
|
|
1382
1426
|
}, z.core.$strip>;
|
|
1383
1427
|
featureSettings: z.ZodObject<{
|
|
1384
|
-
darkOverlay: z.ZodBoolean
|
|
1385
|
-
closeButton: z.ZodBoolean
|
|
1386
|
-
progressBar: z.ZodBoolean
|
|
1387
|
-
showBranding: z.ZodBoolean
|
|
1428
|
+
darkOverlay: z.ZodDefault<z.ZodBoolean>;
|
|
1429
|
+
closeButton: z.ZodDefault<z.ZodBoolean>;
|
|
1430
|
+
progressBar: z.ZodDefault<z.ZodBoolean>;
|
|
1431
|
+
showBranding: z.ZodDefault<z.ZodBoolean>;
|
|
1388
1432
|
customPosition: z.ZodBoolean;
|
|
1389
1433
|
customCss: z.ZodOptional<z.ZodString>;
|
|
1390
|
-
shareableMode: z.ZodOptional<z.ZodEnum<{
|
|
1434
|
+
shareableMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1391
1435
|
light: "light";
|
|
1392
1436
|
dark: "dark";
|
|
1393
1437
|
system: "system";
|
|
1394
|
-
}
|
|
1395
|
-
|
|
1396
|
-
|
|
1438
|
+
}>>>;
|
|
1439
|
+
enableShareableKeyboardNavigation: z.ZodDefault<z.ZodBoolean>;
|
|
1440
|
+
rtl: z.ZodDefault<z.ZodBoolean>;
|
|
1441
|
+
previousButton: z.ZodDefault<z.ZodEnum<{
|
|
1397
1442
|
never: "never";
|
|
1398
1443
|
always: "always";
|
|
1399
1444
|
auto: "auto";
|
|
1400
|
-
}
|
|
1445
|
+
}>>;
|
|
1401
1446
|
}, z.core.$strip>;
|
|
1402
1447
|
selectedPosition: z.ZodEnum<{
|
|
1403
1448
|
"top-left": "top-left";
|
|
@@ -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;
|
|
@@ -50,23 +50,24 @@ export declare const PreviousButtonModes: {
|
|
|
50
50
|
readonly AUTO: "auto";
|
|
51
51
|
};
|
|
52
52
|
export declare const featureSettingsSchema: z.ZodObject<{
|
|
53
|
-
darkOverlay: z.ZodBoolean
|
|
54
|
-
closeButton: z.ZodBoolean
|
|
55
|
-
progressBar: z.ZodBoolean
|
|
56
|
-
showBranding: z.ZodBoolean
|
|
53
|
+
darkOverlay: z.ZodDefault<z.ZodBoolean>;
|
|
54
|
+
closeButton: z.ZodDefault<z.ZodBoolean>;
|
|
55
|
+
progressBar: z.ZodDefault<z.ZodBoolean>;
|
|
56
|
+
showBranding: z.ZodDefault<z.ZodBoolean>;
|
|
57
57
|
customPosition: z.ZodBoolean;
|
|
58
58
|
customCss: z.ZodOptional<z.ZodString>;
|
|
59
|
-
shareableMode: z.ZodOptional<z.ZodEnum<{
|
|
59
|
+
shareableMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
60
60
|
light: "light";
|
|
61
61
|
dark: "dark";
|
|
62
62
|
system: "system";
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
|
|
63
|
+
}>>>;
|
|
64
|
+
enableShareableKeyboardNavigation: z.ZodDefault<z.ZodBoolean>;
|
|
65
|
+
rtl: z.ZodDefault<z.ZodBoolean>;
|
|
66
|
+
previousButton: z.ZodDefault<z.ZodEnum<{
|
|
66
67
|
never: "never";
|
|
67
68
|
always: "always";
|
|
68
69
|
auto: "auto";
|
|
69
|
-
}
|
|
70
|
+
}>>;
|
|
70
71
|
}, z.core.$strip>;
|
|
71
72
|
export declare const themeColorsSchema: z.ZodObject<{
|
|
72
73
|
theme: z.ZodOptional<z.ZodString>;
|
|
@@ -89,23 +90,24 @@ export declare const themeConfigurationSchema: z.ZodObject<{
|
|
|
89
90
|
}, z.core.$strip>;
|
|
90
91
|
}, z.core.$strip>;
|
|
91
92
|
featureSettings: z.ZodObject<{
|
|
92
|
-
darkOverlay: z.ZodBoolean
|
|
93
|
-
closeButton: z.ZodBoolean
|
|
94
|
-
progressBar: z.ZodBoolean
|
|
95
|
-
showBranding: z.ZodBoolean
|
|
93
|
+
darkOverlay: z.ZodDefault<z.ZodBoolean>;
|
|
94
|
+
closeButton: z.ZodDefault<z.ZodBoolean>;
|
|
95
|
+
progressBar: z.ZodDefault<z.ZodBoolean>;
|
|
96
|
+
showBranding: z.ZodDefault<z.ZodBoolean>;
|
|
96
97
|
customPosition: z.ZodBoolean;
|
|
97
98
|
customCss: z.ZodOptional<z.ZodString>;
|
|
98
|
-
shareableMode: z.ZodOptional<z.ZodEnum<{
|
|
99
|
+
shareableMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
99
100
|
light: "light";
|
|
100
101
|
dark: "dark";
|
|
101
102
|
system: "system";
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
|
|
103
|
+
}>>>;
|
|
104
|
+
enableShareableKeyboardNavigation: z.ZodDefault<z.ZodBoolean>;
|
|
105
|
+
rtl: z.ZodDefault<z.ZodBoolean>;
|
|
106
|
+
previousButton: z.ZodDefault<z.ZodEnum<{
|
|
105
107
|
never: "never";
|
|
106
108
|
always: "always";
|
|
107
109
|
auto: "auto";
|
|
108
|
-
}
|
|
110
|
+
}>>;
|
|
109
111
|
}, z.core.$strip>;
|
|
110
112
|
selectedPosition: z.ZodEnum<{
|
|
111
113
|
"top-left": "top-left";
|
|
@@ -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