@encatch/schema 1.1.0 → 1.2.0-beta.0
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 +425 -28
- package/dist/esm/index.js.map +2 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/types/schemas/api/fetch-feedback-schema.d.ts +2441 -395
- package/dist/types/schemas/api/submit-feedback-schema.d.ts +372 -0
- package/dist/types/schemas/fields/answer-schema.d.ts +196 -0
- package/dist/types/schemas/fields/app-props-schema.d.ts +1046 -18
- package/dist/types/schemas/fields/field-schema.d.ts +2438 -240
- package/dist/types/schemas/fields/form-properties-schema.d.ts +1058 -17
- package/dist/types/schemas/fields/other-screen-schema.d.ts +6 -0
- package/dist/types/schemas/fields/theme-schema.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const questionTypeSchema: z.ZodEnum<{
|
|
3
|
+
number: "number";
|
|
4
|
+
date: "date";
|
|
3
5
|
rating: "rating";
|
|
4
6
|
single_choice: "single_choice";
|
|
5
7
|
multiple_choice_multiple: "multiple_choice_multiple";
|
|
@@ -17,6 +19,19 @@ export declare const questionTypeSchema: z.ZodEnum<{
|
|
|
17
19
|
matrix_single_choice: "matrix_single_choice";
|
|
18
20
|
matrix_multiple_choice: "matrix_multiple_choice";
|
|
19
21
|
exit_form: "exit_form";
|
|
22
|
+
csat: "csat";
|
|
23
|
+
opinion_scale: "opinion_scale";
|
|
24
|
+
ranking: "ranking";
|
|
25
|
+
picture_choice: "picture_choice";
|
|
26
|
+
signature: "signature";
|
|
27
|
+
file_upload: "file_upload";
|
|
28
|
+
email: "email";
|
|
29
|
+
website: "website";
|
|
30
|
+
phone_number: "phone_number";
|
|
31
|
+
address: "address";
|
|
32
|
+
video_audio: "video_audio";
|
|
33
|
+
scheduler: "scheduler";
|
|
34
|
+
qna_with_ai: "qna_with_ai";
|
|
20
35
|
}>;
|
|
21
36
|
export declare const QuestionTypes: {
|
|
22
37
|
readonly RATING: "rating";
|
|
@@ -36,16 +51,31 @@ export declare const QuestionTypes: {
|
|
|
36
51
|
readonly MATRIX_MULTIPLE_CHOICE: "matrix_multiple_choice";
|
|
37
52
|
readonly EXIT_FORM: "exit_form";
|
|
38
53
|
readonly CONSENT: "consent";
|
|
54
|
+
readonly DATE: "date";
|
|
55
|
+
readonly CSAT: "csat";
|
|
56
|
+
readonly OPINION_SCALE: "opinion_scale";
|
|
57
|
+
readonly RANKING: "ranking";
|
|
58
|
+
readonly PICTURE_CHOICE: "picture_choice";
|
|
59
|
+
readonly SIGNATURE: "signature";
|
|
60
|
+
readonly FILE_UPLOAD: "file_upload";
|
|
61
|
+
readonly EMAIL: "email";
|
|
62
|
+
readonly NUMBER: "number";
|
|
63
|
+
readonly WEBSITE: "website";
|
|
64
|
+
readonly PHONE_NUMBER: "phone_number";
|
|
65
|
+
readonly ADDRESS: "address";
|
|
66
|
+
readonly VIDEO_AUDIO: "video_audio";
|
|
67
|
+
readonly SCHEDULER: "scheduler";
|
|
68
|
+
readonly QNA_WITH_AI: "qna_with_ai";
|
|
39
69
|
};
|
|
40
70
|
export declare const validationRuleTypeSchema: z.ZodEnum<{
|
|
41
71
|
custom: "custom";
|
|
42
72
|
pattern: "pattern";
|
|
73
|
+
email: "email";
|
|
43
74
|
required: "required";
|
|
44
75
|
min: "min";
|
|
45
76
|
max: "max";
|
|
46
77
|
minLength: "minLength";
|
|
47
78
|
maxLength: "maxLength";
|
|
48
|
-
email: "email";
|
|
49
79
|
url: "url";
|
|
50
80
|
}>;
|
|
51
81
|
export declare const ValidationRuleTypes: {
|
|
@@ -63,12 +93,12 @@ export declare const validationRuleSchema: z.ZodObject<{
|
|
|
63
93
|
type: z.ZodEnum<{
|
|
64
94
|
custom: "custom";
|
|
65
95
|
pattern: "pattern";
|
|
96
|
+
email: "email";
|
|
66
97
|
required: "required";
|
|
67
98
|
min: "min";
|
|
68
99
|
max: "max";
|
|
69
100
|
minLength: "minLength";
|
|
70
101
|
maxLength: "maxLength";
|
|
71
|
-
email: "email";
|
|
72
102
|
url: "url";
|
|
73
103
|
}>;
|
|
74
104
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
@@ -169,22 +199,26 @@ export declare const multipleChoiceDisplayStyleSchema: z.ZodEnum<{
|
|
|
169
199
|
list: "list";
|
|
170
200
|
chip: "chip";
|
|
171
201
|
dropdown: "dropdown";
|
|
202
|
+
autosuggest: "autosuggest";
|
|
172
203
|
}>;
|
|
173
204
|
export declare const MultipleChoiceDisplayStyles: {
|
|
174
205
|
readonly RADIO: "radio";
|
|
175
206
|
readonly LIST: "list";
|
|
176
207
|
readonly CHIP: "chip";
|
|
177
208
|
readonly DROPDOWN: "dropdown";
|
|
209
|
+
readonly AUTOSUGGEST: "autosuggest";
|
|
178
210
|
};
|
|
179
211
|
export declare const multipleChoiceMultipleDisplayStyleSchema: z.ZodEnum<{
|
|
180
212
|
list: "list";
|
|
181
213
|
chip: "chip";
|
|
214
|
+
autosuggest: "autosuggest";
|
|
182
215
|
checkbox: "checkbox";
|
|
183
216
|
}>;
|
|
184
217
|
export declare const MultipleChoiceMultipleDisplayStyles: {
|
|
185
218
|
readonly CHECKBOX: "checkbox";
|
|
186
219
|
readonly LIST: "list";
|
|
187
220
|
readonly CHIP: "chip";
|
|
221
|
+
readonly AUTOSUGGEST: "autosuggest";
|
|
188
222
|
};
|
|
189
223
|
export declare const yesNoDisplayStyleSchema: z.ZodEnum<{
|
|
190
224
|
horizontal: "horizontal";
|
|
@@ -212,6 +246,8 @@ export declare const questionSchema: z.ZodObject<{
|
|
|
212
246
|
id: z.ZodString;
|
|
213
247
|
slug: z.ZodOptional<z.ZodString>;
|
|
214
248
|
type: z.ZodEnum<{
|
|
249
|
+
number: "number";
|
|
250
|
+
date: "date";
|
|
215
251
|
rating: "rating";
|
|
216
252
|
single_choice: "single_choice";
|
|
217
253
|
multiple_choice_multiple: "multiple_choice_multiple";
|
|
@@ -229,6 +265,19 @@ export declare const questionSchema: z.ZodObject<{
|
|
|
229
265
|
matrix_single_choice: "matrix_single_choice";
|
|
230
266
|
matrix_multiple_choice: "matrix_multiple_choice";
|
|
231
267
|
exit_form: "exit_form";
|
|
268
|
+
csat: "csat";
|
|
269
|
+
opinion_scale: "opinion_scale";
|
|
270
|
+
ranking: "ranking";
|
|
271
|
+
picture_choice: "picture_choice";
|
|
272
|
+
signature: "signature";
|
|
273
|
+
file_upload: "file_upload";
|
|
274
|
+
email: "email";
|
|
275
|
+
website: "website";
|
|
276
|
+
phone_number: "phone_number";
|
|
277
|
+
address: "address";
|
|
278
|
+
video_audio: "video_audio";
|
|
279
|
+
scheduler: "scheduler";
|
|
280
|
+
qna_with_ai: "qna_with_ai";
|
|
232
281
|
}>;
|
|
233
282
|
title: z.ZodString;
|
|
234
283
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -240,12 +289,12 @@ export declare const questionSchema: z.ZodObject<{
|
|
|
240
289
|
type: z.ZodEnum<{
|
|
241
290
|
custom: "custom";
|
|
242
291
|
pattern: "pattern";
|
|
292
|
+
email: "email";
|
|
243
293
|
required: "required";
|
|
244
294
|
min: "min";
|
|
245
295
|
max: "max";
|
|
246
296
|
minLength: "minLength";
|
|
247
297
|
maxLength: "maxLength";
|
|
248
|
-
email: "email";
|
|
249
298
|
url: "url";
|
|
250
299
|
}>;
|
|
251
300
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
@@ -280,6 +329,7 @@ export declare const questionSchema: z.ZodObject<{
|
|
|
280
329
|
justify: "justify";
|
|
281
330
|
}>>>;
|
|
282
331
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
332
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
283
333
|
}, z.core.$strip>;
|
|
284
334
|
export declare const ratingQuestionSchema: z.ZodObject<{
|
|
285
335
|
id: z.ZodString;
|
|
@@ -294,12 +344,12 @@ export declare const ratingQuestionSchema: z.ZodObject<{
|
|
|
294
344
|
type: z.ZodEnum<{
|
|
295
345
|
custom: "custom";
|
|
296
346
|
pattern: "pattern";
|
|
347
|
+
email: "email";
|
|
297
348
|
required: "required";
|
|
298
349
|
min: "min";
|
|
299
350
|
max: "max";
|
|
300
351
|
minLength: "minLength";
|
|
301
352
|
maxLength: "maxLength";
|
|
302
|
-
email: "email";
|
|
303
353
|
url: "url";
|
|
304
354
|
}>;
|
|
305
355
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
@@ -334,6 +384,7 @@ export declare const ratingQuestionSchema: z.ZodObject<{
|
|
|
334
384
|
justify: "justify";
|
|
335
385
|
}>>>;
|
|
336
386
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
387
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
337
388
|
type: z.ZodLiteral<"rating">;
|
|
338
389
|
showLabels: z.ZodOptional<z.ZodBoolean>;
|
|
339
390
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -367,12 +418,12 @@ export declare const annotationQuestionSchema: z.ZodObject<{
|
|
|
367
418
|
type: z.ZodEnum<{
|
|
368
419
|
custom: "custom";
|
|
369
420
|
pattern: "pattern";
|
|
421
|
+
email: "email";
|
|
370
422
|
required: "required";
|
|
371
423
|
min: "min";
|
|
372
424
|
max: "max";
|
|
373
425
|
minLength: "minLength";
|
|
374
426
|
maxLength: "maxLength";
|
|
375
|
-
email: "email";
|
|
376
427
|
url: "url";
|
|
377
428
|
}>;
|
|
378
429
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
@@ -407,6 +458,7 @@ export declare const annotationQuestionSchema: z.ZodObject<{
|
|
|
407
458
|
justify: "justify";
|
|
408
459
|
}>>>;
|
|
409
460
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
461
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
410
462
|
type: z.ZodLiteral<"annotation">;
|
|
411
463
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
412
464
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
@@ -422,12 +474,12 @@ export declare const welcomeQuestionSchema: z.ZodObject<{
|
|
|
422
474
|
type: z.ZodEnum<{
|
|
423
475
|
custom: "custom";
|
|
424
476
|
pattern: "pattern";
|
|
477
|
+
email: "email";
|
|
425
478
|
required: "required";
|
|
426
479
|
min: "min";
|
|
427
480
|
max: "max";
|
|
428
481
|
minLength: "minLength";
|
|
429
482
|
maxLength: "maxLength";
|
|
430
|
-
email: "email";
|
|
431
483
|
url: "url";
|
|
432
484
|
}>;
|
|
433
485
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
@@ -462,6 +514,7 @@ export declare const welcomeQuestionSchema: z.ZodObject<{
|
|
|
462
514
|
justify: "justify";
|
|
463
515
|
}>>>;
|
|
464
516
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
517
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
465
518
|
type: z.ZodLiteral<"welcome">;
|
|
466
519
|
title: z.ZodString;
|
|
467
520
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -478,12 +531,12 @@ export declare const thankYouQuestionSchema: z.ZodObject<{
|
|
|
478
531
|
type: z.ZodEnum<{
|
|
479
532
|
custom: "custom";
|
|
480
533
|
pattern: "pattern";
|
|
534
|
+
email: "email";
|
|
481
535
|
required: "required";
|
|
482
536
|
min: "min";
|
|
483
537
|
max: "max";
|
|
484
538
|
minLength: "minLength";
|
|
485
539
|
maxLength: "maxLength";
|
|
486
|
-
email: "email";
|
|
487
540
|
url: "url";
|
|
488
541
|
}>;
|
|
489
542
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
@@ -518,6 +571,7 @@ export declare const thankYouQuestionSchema: z.ZodObject<{
|
|
|
518
571
|
justify: "justify";
|
|
519
572
|
}>>>;
|
|
520
573
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
574
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
521
575
|
type: z.ZodLiteral<"thank_you">;
|
|
522
576
|
title: z.ZodString;
|
|
523
577
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -534,12 +588,12 @@ export declare const messagePanelQuestionSchema: z.ZodObject<{
|
|
|
534
588
|
type: z.ZodEnum<{
|
|
535
589
|
custom: "custom";
|
|
536
590
|
pattern: "pattern";
|
|
591
|
+
email: "email";
|
|
537
592
|
required: "required";
|
|
538
593
|
min: "min";
|
|
539
594
|
max: "max";
|
|
540
595
|
minLength: "minLength";
|
|
541
596
|
maxLength: "maxLength";
|
|
542
|
-
email: "email";
|
|
543
597
|
url: "url";
|
|
544
598
|
}>;
|
|
545
599
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
@@ -574,6 +628,7 @@ export declare const messagePanelQuestionSchema: z.ZodObject<{
|
|
|
574
628
|
justify: "justify";
|
|
575
629
|
}>>>;
|
|
576
630
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
631
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
577
632
|
type: z.ZodLiteral<"message_panel">;
|
|
578
633
|
title: z.ZodString;
|
|
579
634
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -592,12 +647,12 @@ export declare const exitFormQuestionSchema: z.ZodObject<{
|
|
|
592
647
|
type: z.ZodEnum<{
|
|
593
648
|
custom: "custom";
|
|
594
649
|
pattern: "pattern";
|
|
650
|
+
email: "email";
|
|
595
651
|
required: "required";
|
|
596
652
|
min: "min";
|
|
597
653
|
max: "max";
|
|
598
654
|
minLength: "minLength";
|
|
599
655
|
maxLength: "maxLength";
|
|
600
|
-
email: "email";
|
|
601
656
|
url: "url";
|
|
602
657
|
}>;
|
|
603
658
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
@@ -632,6 +687,7 @@ export declare const exitFormQuestionSchema: z.ZodObject<{
|
|
|
632
687
|
justify: "justify";
|
|
633
688
|
}>>>;
|
|
634
689
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
690
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
635
691
|
type: z.ZodLiteral<"exit_form">;
|
|
636
692
|
}, z.core.$strip>;
|
|
637
693
|
export declare const yesNoQuestionSchema: z.ZodObject<{
|
|
@@ -647,12 +703,12 @@ export declare const yesNoQuestionSchema: z.ZodObject<{
|
|
|
647
703
|
type: z.ZodEnum<{
|
|
648
704
|
custom: "custom";
|
|
649
705
|
pattern: "pattern";
|
|
706
|
+
email: "email";
|
|
650
707
|
required: "required";
|
|
651
708
|
min: "min";
|
|
652
709
|
max: "max";
|
|
653
710
|
minLength: "minLength";
|
|
654
711
|
maxLength: "maxLength";
|
|
655
|
-
email: "email";
|
|
656
712
|
url: "url";
|
|
657
713
|
}>;
|
|
658
714
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
@@ -687,6 +743,7 @@ export declare const yesNoQuestionSchema: z.ZodObject<{
|
|
|
687
743
|
justify: "justify";
|
|
688
744
|
}>>>;
|
|
689
745
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
746
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
690
747
|
type: z.ZodLiteral<"yes_no">;
|
|
691
748
|
yesLabel: z.ZodOptional<z.ZodString>;
|
|
692
749
|
noLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -708,12 +765,12 @@ export declare const consentQuestionSchema: z.ZodObject<{
|
|
|
708
765
|
type: z.ZodEnum<{
|
|
709
766
|
custom: "custom";
|
|
710
767
|
pattern: "pattern";
|
|
768
|
+
email: "email";
|
|
711
769
|
required: "required";
|
|
712
770
|
min: "min";
|
|
713
771
|
max: "max";
|
|
714
772
|
minLength: "minLength";
|
|
715
773
|
maxLength: "maxLength";
|
|
716
|
-
email: "email";
|
|
717
774
|
url: "url";
|
|
718
775
|
}>;
|
|
719
776
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
@@ -748,6 +805,7 @@ export declare const consentQuestionSchema: z.ZodObject<{
|
|
|
748
805
|
justify: "justify";
|
|
749
806
|
}>>>;
|
|
750
807
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
808
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
751
809
|
type: z.ZodLiteral<"consent">;
|
|
752
810
|
}, z.core.$strip>;
|
|
753
811
|
export declare const ratingMatrixDisplayStyleSchema: z.ZodEnum<{
|
|
@@ -813,12 +871,12 @@ export declare const ratingMatrixQuestionSchema: z.ZodObject<{
|
|
|
813
871
|
type: z.ZodEnum<{
|
|
814
872
|
custom: "custom";
|
|
815
873
|
pattern: "pattern";
|
|
874
|
+
email: "email";
|
|
816
875
|
required: "required";
|
|
817
876
|
min: "min";
|
|
818
877
|
max: "max";
|
|
819
878
|
minLength: "minLength";
|
|
820
879
|
maxLength: "maxLength";
|
|
821
|
-
email: "email";
|
|
822
880
|
url: "url";
|
|
823
881
|
}>;
|
|
824
882
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
@@ -853,6 +911,7 @@ export declare const ratingMatrixQuestionSchema: z.ZodObject<{
|
|
|
853
911
|
justify: "justify";
|
|
854
912
|
}>>>;
|
|
855
913
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
914
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
856
915
|
type: z.ZodLiteral<"rating_matrix">;
|
|
857
916
|
statements: z.ZodArray<z.ZodObject<{
|
|
858
917
|
id: z.ZodString;
|
|
@@ -919,12 +978,12 @@ export declare const matrixSingleChoiceQuestionSchema: z.ZodObject<{
|
|
|
919
978
|
type: z.ZodEnum<{
|
|
920
979
|
custom: "custom";
|
|
921
980
|
pattern: "pattern";
|
|
981
|
+
email: "email";
|
|
922
982
|
required: "required";
|
|
923
983
|
min: "min";
|
|
924
984
|
max: "max";
|
|
925
985
|
minLength: "minLength";
|
|
926
986
|
maxLength: "maxLength";
|
|
927
|
-
email: "email";
|
|
928
987
|
url: "url";
|
|
929
988
|
}>;
|
|
930
989
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
@@ -959,6 +1018,7 @@ export declare const matrixSingleChoiceQuestionSchema: z.ZodObject<{
|
|
|
959
1018
|
justify: "justify";
|
|
960
1019
|
}>>>;
|
|
961
1020
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1021
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
962
1022
|
type: z.ZodLiteral<"matrix_single_choice">;
|
|
963
1023
|
rows: z.ZodArray<z.ZodObject<{
|
|
964
1024
|
id: z.ZodString;
|
|
@@ -988,12 +1048,12 @@ export declare const matrixMultipleChoiceQuestionSchema: z.ZodObject<{
|
|
|
988
1048
|
type: z.ZodEnum<{
|
|
989
1049
|
custom: "custom";
|
|
990
1050
|
pattern: "pattern";
|
|
1051
|
+
email: "email";
|
|
991
1052
|
required: "required";
|
|
992
1053
|
min: "min";
|
|
993
1054
|
max: "max";
|
|
994
1055
|
minLength: "minLength";
|
|
995
1056
|
maxLength: "maxLength";
|
|
996
|
-
email: "email";
|
|
997
1057
|
url: "url";
|
|
998
1058
|
}>;
|
|
999
1059
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
@@ -1028,6 +1088,7 @@ export declare const matrixMultipleChoiceQuestionSchema: z.ZodObject<{
|
|
|
1028
1088
|
justify: "justify";
|
|
1029
1089
|
}>>>;
|
|
1030
1090
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1091
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
1031
1092
|
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
1032
1093
|
rows: z.ZodArray<z.ZodObject<{
|
|
1033
1094
|
id: z.ZodString;
|
|
@@ -1050,6 +1111,7 @@ export declare const questionOptionSchema: z.ZodObject<{
|
|
|
1050
1111
|
id: z.ZodString;
|
|
1051
1112
|
value: z.ZodString;
|
|
1052
1113
|
label: z.ZodString;
|
|
1114
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
1053
1115
|
describe: z.ZodOptional<z.ZodString>;
|
|
1054
1116
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
1055
1117
|
}, z.core.$strip>;
|
|
@@ -1067,12 +1129,12 @@ export declare const multipleChoiceSingleQuestionSchema: z.ZodObject<{
|
|
|
1067
1129
|
type: z.ZodEnum<{
|
|
1068
1130
|
custom: "custom";
|
|
1069
1131
|
pattern: "pattern";
|
|
1132
|
+
email: "email";
|
|
1070
1133
|
required: "required";
|
|
1071
1134
|
min: "min";
|
|
1072
1135
|
max: "max";
|
|
1073
1136
|
minLength: "minLength";
|
|
1074
1137
|
maxLength: "maxLength";
|
|
1075
|
-
email: "email";
|
|
1076
1138
|
url: "url";
|
|
1077
1139
|
}>;
|
|
1078
1140
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
@@ -1107,24 +1169,28 @@ export declare const multipleChoiceSingleQuestionSchema: z.ZodObject<{
|
|
|
1107
1169
|
justify: "justify";
|
|
1108
1170
|
}>>>;
|
|
1109
1171
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1172
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
1110
1173
|
type: z.ZodLiteral<"single_choice">;
|
|
1111
1174
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
1112
1175
|
radio: "radio";
|
|
1113
1176
|
list: "list";
|
|
1114
1177
|
chip: "chip";
|
|
1115
1178
|
dropdown: "dropdown";
|
|
1179
|
+
autosuggest: "autosuggest";
|
|
1116
1180
|
}>>;
|
|
1117
1181
|
allowOther: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1118
1182
|
otherTextConfig: z.ZodOptional<z.ZodObject<{
|
|
1119
1183
|
minChars: z.ZodOptional<z.ZodNumber>;
|
|
1120
1184
|
maxChars: z.ZodOptional<z.ZodNumber>;
|
|
1121
1185
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1186
|
+
showLimitIndicatorThreshold: z.ZodOptional<z.ZodNumber>;
|
|
1122
1187
|
}, z.core.$strip>>;
|
|
1123
1188
|
randomizeOptions: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1124
1189
|
options: z.ZodArray<z.ZodObject<{
|
|
1125
1190
|
id: z.ZodString;
|
|
1126
1191
|
value: z.ZodString;
|
|
1127
1192
|
label: z.ZodString;
|
|
1193
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
1128
1194
|
describe: z.ZodOptional<z.ZodString>;
|
|
1129
1195
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
1130
1196
|
}, z.core.$strip>>;
|
|
@@ -1142,12 +1208,12 @@ export declare const multipleChoiceMultipleQuestionSchema: z.ZodObject<{
|
|
|
1142
1208
|
type: z.ZodEnum<{
|
|
1143
1209
|
custom: "custom";
|
|
1144
1210
|
pattern: "pattern";
|
|
1211
|
+
email: "email";
|
|
1145
1212
|
required: "required";
|
|
1146
1213
|
min: "min";
|
|
1147
1214
|
max: "max";
|
|
1148
1215
|
minLength: "minLength";
|
|
1149
1216
|
maxLength: "maxLength";
|
|
1150
|
-
email: "email";
|
|
1151
1217
|
url: "url";
|
|
1152
1218
|
}>;
|
|
1153
1219
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
@@ -1182,10 +1248,12 @@ export declare const multipleChoiceMultipleQuestionSchema: z.ZodObject<{
|
|
|
1182
1248
|
justify: "justify";
|
|
1183
1249
|
}>>>;
|
|
1184
1250
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1251
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
1185
1252
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
1186
1253
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
1187
1254
|
list: "list";
|
|
1188
1255
|
chip: "chip";
|
|
1256
|
+
autosuggest: "autosuggest";
|
|
1189
1257
|
checkbox: "checkbox";
|
|
1190
1258
|
}>>;
|
|
1191
1259
|
allowOther: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -1193,6 +1261,7 @@ export declare const multipleChoiceMultipleQuestionSchema: z.ZodObject<{
|
|
|
1193
1261
|
minChars: z.ZodOptional<z.ZodNumber>;
|
|
1194
1262
|
maxChars: z.ZodOptional<z.ZodNumber>;
|
|
1195
1263
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1264
|
+
showLimitIndicatorThreshold: z.ZodOptional<z.ZodNumber>;
|
|
1196
1265
|
}, z.core.$strip>>;
|
|
1197
1266
|
minSelections: z.ZodOptional<z.ZodNumber>;
|
|
1198
1267
|
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1201,6 +1270,7 @@ export declare const multipleChoiceMultipleQuestionSchema: z.ZodObject<{
|
|
|
1201
1270
|
id: z.ZodString;
|
|
1202
1271
|
value: z.ZodString;
|
|
1203
1272
|
label: z.ZodString;
|
|
1273
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
1204
1274
|
describe: z.ZodOptional<z.ZodString>;
|
|
1205
1275
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
1206
1276
|
}, z.core.$strip>>;
|
|
@@ -1218,12 +1288,12 @@ export declare const npsQuestionSchema: z.ZodObject<{
|
|
|
1218
1288
|
type: z.ZodEnum<{
|
|
1219
1289
|
custom: "custom";
|
|
1220
1290
|
pattern: "pattern";
|
|
1291
|
+
email: "email";
|
|
1221
1292
|
required: "required";
|
|
1222
1293
|
min: "min";
|
|
1223
1294
|
max: "max";
|
|
1224
1295
|
minLength: "minLength";
|
|
1225
1296
|
maxLength: "maxLength";
|
|
1226
|
-
email: "email";
|
|
1227
1297
|
url: "url";
|
|
1228
1298
|
}>;
|
|
1229
1299
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
@@ -1258,6 +1328,7 @@ export declare const npsQuestionSchema: z.ZodObject<{
|
|
|
1258
1328
|
justify: "justify";
|
|
1259
1329
|
}>>>;
|
|
1260
1330
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1331
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
1261
1332
|
type: z.ZodLiteral<"nps">;
|
|
1262
1333
|
min: z.ZodLiteral<0>;
|
|
1263
1334
|
max: z.ZodLiteral<10>;
|
|
@@ -1265,6 +1336,9 @@ export declare const npsQuestionSchema: z.ZodObject<{
|
|
|
1265
1336
|
maxLabel: z.ZodOptional<z.ZodString>;
|
|
1266
1337
|
scaleLabels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1267
1338
|
prepopulatedValue: z.ZodOptional<z.ZodNumber>;
|
|
1339
|
+
detractorColor: z.ZodOptional<z.ZodString>;
|
|
1340
|
+
passiveColor: z.ZodOptional<z.ZodString>;
|
|
1341
|
+
promoterColor: z.ZodOptional<z.ZodString>;
|
|
1268
1342
|
}, z.core.$strip>;
|
|
1269
1343
|
export declare const shortAnswerQuestionSchema: z.ZodObject<{
|
|
1270
1344
|
id: z.ZodString;
|
|
@@ -1279,12 +1353,12 @@ export declare const shortAnswerQuestionSchema: z.ZodObject<{
|
|
|
1279
1353
|
type: z.ZodEnum<{
|
|
1280
1354
|
custom: "custom";
|
|
1281
1355
|
pattern: "pattern";
|
|
1356
|
+
email: "email";
|
|
1282
1357
|
required: "required";
|
|
1283
1358
|
min: "min";
|
|
1284
1359
|
max: "max";
|
|
1285
1360
|
minLength: "minLength";
|
|
1286
1361
|
maxLength: "maxLength";
|
|
1287
|
-
email: "email";
|
|
1288
1362
|
url: "url";
|
|
1289
1363
|
}>;
|
|
1290
1364
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
@@ -1319,9 +1393,11 @@ export declare const shortAnswerQuestionSchema: z.ZodObject<{
|
|
|
1319
1393
|
justify: "justify";
|
|
1320
1394
|
}>>>;
|
|
1321
1395
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1396
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
1322
1397
|
type: z.ZodLiteral<"short_answer">;
|
|
1323
1398
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1324
1399
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1400
|
+
showLimitIndicatorThreshold: z.ZodOptional<z.ZodNumber>;
|
|
1325
1401
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1326
1402
|
enableRegexValidation: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1327
1403
|
regexPattern: z.ZodOptional<z.ZodString>;
|
|
@@ -1343,12 +1419,12 @@ export declare const longAnswerQuestionSchema: z.ZodObject<{
|
|
|
1343
1419
|
type: z.ZodEnum<{
|
|
1344
1420
|
custom: "custom";
|
|
1345
1421
|
pattern: "pattern";
|
|
1422
|
+
email: "email";
|
|
1346
1423
|
required: "required";
|
|
1347
1424
|
min: "min";
|
|
1348
1425
|
max: "max";
|
|
1349
1426
|
minLength: "minLength";
|
|
1350
1427
|
maxLength: "maxLength";
|
|
1351
|
-
email: "email";
|
|
1352
1428
|
url: "url";
|
|
1353
1429
|
}>;
|
|
1354
1430
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
@@ -1383,9 +1459,11 @@ export declare const longAnswerQuestionSchema: z.ZodObject<{
|
|
|
1383
1459
|
justify: "justify";
|
|
1384
1460
|
}>>>;
|
|
1385
1461
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1462
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
1386
1463
|
type: z.ZodLiteral<"long_text">;
|
|
1387
1464
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1388
1465
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1466
|
+
showLimitIndicatorThreshold: z.ZodOptional<z.ZodNumber>;
|
|
1389
1467
|
rows: z.ZodOptional<z.ZodNumber>;
|
|
1390
1468
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1391
1469
|
enableEnhanceWithAi: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -1406,12 +1484,12 @@ export declare const nestedDropdownQuestionSchema: z.ZodObject<{
|
|
|
1406
1484
|
type: z.ZodEnum<{
|
|
1407
1485
|
custom: "custom";
|
|
1408
1486
|
pattern: "pattern";
|
|
1487
|
+
email: "email";
|
|
1409
1488
|
required: "required";
|
|
1410
1489
|
min: "min";
|
|
1411
1490
|
max: "max";
|
|
1412
1491
|
minLength: "minLength";
|
|
1413
1492
|
maxLength: "maxLength";
|
|
1414
|
-
email: "email";
|
|
1415
1493
|
url: "url";
|
|
1416
1494
|
}>;
|
|
1417
1495
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
@@ -1446,6 +1524,7 @@ export declare const nestedDropdownQuestionSchema: z.ZodObject<{
|
|
|
1446
1524
|
justify: "justify";
|
|
1447
1525
|
}>>>;
|
|
1448
1526
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1527
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
1449
1528
|
type: z.ZodLiteral<"nested_selection">;
|
|
1450
1529
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1451
1530
|
options: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
@@ -1501,8 +1580,52 @@ export type ShortAnswerQuestion = z.infer<typeof shortAnswerQuestionSchema>;
|
|
|
1501
1580
|
export type LongAnswerQuestion = z.infer<typeof longAnswerQuestionSchema>;
|
|
1502
1581
|
export type ChoiceOrderOption = z.infer<typeof choiceOrderOptionSchema>;
|
|
1503
1582
|
export type NestedDropdownQuestion = z.infer<typeof nestedDropdownQuestionSchema>;
|
|
1583
|
+
export type DateFormat = z.infer<typeof dateFormatSchema>;
|
|
1584
|
+
export type DateSeparator = z.infer<typeof dateSeparatorSchema>;
|
|
1585
|
+
export type DateQuestion = z.infer<typeof dateQuestionSchema>;
|
|
1586
|
+
export type CsatScale = z.infer<typeof csatScaleSchema>;
|
|
1587
|
+
export type CsatDisplayStyle = z.infer<typeof csatDisplayStyleSchema>;
|
|
1588
|
+
export type CsatQuestion = z.infer<typeof csatQuestionSchema>;
|
|
1589
|
+
export type OpinionScaleQuestion = z.infer<typeof opinionScaleQuestionSchema>;
|
|
1590
|
+
export type RankingDisplayStyle = z.infer<typeof rankingDisplayStyleSchema>;
|
|
1591
|
+
export type RankingQuestion = z.infer<typeof rankingQuestionSchema>;
|
|
1592
|
+
export type PictureChoiceQuestion = z.infer<typeof pictureChoiceQuestionSchema>;
|
|
1593
|
+
export type SignatureMode = z.infer<typeof signatureModeSchema>;
|
|
1594
|
+
export type SignatureQuestion = z.infer<typeof signatureQuestionSchema>;
|
|
1595
|
+
export type FileUploadQuestion = z.infer<typeof fileUploadQuestionSchema>;
|
|
1596
|
+
export type EmailQuestion = z.infer<typeof emailQuestionSchema>;
|
|
1597
|
+
export type NumberQuestion = z.infer<typeof numberQuestionSchema>;
|
|
1598
|
+
export type WebsiteQuestion = z.infer<typeof websiteQuestionSchema>;
|
|
1599
|
+
export type PhoneNumberQuestion = z.infer<typeof phoneNumberQuestionSchema>;
|
|
1600
|
+
export type AddressSubFieldConfig = z.infer<typeof addressSubFieldConfigSchema>;
|
|
1601
|
+
export type AddressQuestion = z.infer<typeof addressQuestionSchema>;
|
|
1602
|
+
export type VideoAudioMode = z.infer<typeof videoAudioModeSchema>;
|
|
1603
|
+
export type VideoAudioQuestion = z.infer<typeof videoAudioQuestionSchema>;
|
|
1604
|
+
export type SchedulerProvider = z.infer<typeof schedulerProviderSchema>;
|
|
1605
|
+
export type SchedulerQuestion = z.infer<typeof schedulerQuestionSchema>;
|
|
1606
|
+
export type QnaWithAiQuestion = z.infer<typeof qnaWithAiQuestionSchema>;
|
|
1504
1607
|
export type Section = z.infer<typeof sectionSchema>;
|
|
1505
|
-
export declare const
|
|
1608
|
+
export declare const dateFormatSchema: z.ZodEnum<{
|
|
1609
|
+
"MM/DD/YYYY": "MM/DD/YYYY";
|
|
1610
|
+
"DD/MM/YYYY": "DD/MM/YYYY";
|
|
1611
|
+
"YYYY/MM/DD": "YYYY/MM/DD";
|
|
1612
|
+
}>;
|
|
1613
|
+
export declare const DateFormats: {
|
|
1614
|
+
readonly MM_DD_YYYY: "MM/DD/YYYY";
|
|
1615
|
+
readonly DD_MM_YYYY: "DD/MM/YYYY";
|
|
1616
|
+
readonly YYYY_MM_DD: "YYYY/MM/DD";
|
|
1617
|
+
};
|
|
1618
|
+
export declare const dateSeparatorSchema: z.ZodEnum<{
|
|
1619
|
+
"/": "/";
|
|
1620
|
+
"-": "-";
|
|
1621
|
+
".": ".";
|
|
1622
|
+
}>;
|
|
1623
|
+
export declare const DateSeparators: {
|
|
1624
|
+
readonly SLASH: "/";
|
|
1625
|
+
readonly DASH: "-";
|
|
1626
|
+
readonly DOT: ".";
|
|
1627
|
+
};
|
|
1628
|
+
export declare const dateQuestionSchema: z.ZodObject<{
|
|
1506
1629
|
id: z.ZodString;
|
|
1507
1630
|
slug: z.ZodOptional<z.ZodString>;
|
|
1508
1631
|
title: z.ZodString;
|
|
@@ -1515,12 +1638,12 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1515
1638
|
type: z.ZodEnum<{
|
|
1516
1639
|
custom: "custom";
|
|
1517
1640
|
pattern: "pattern";
|
|
1641
|
+
email: "email";
|
|
1518
1642
|
required: "required";
|
|
1519
1643
|
min: "min";
|
|
1520
1644
|
max: "max";
|
|
1521
1645
|
minLength: "minLength";
|
|
1522
1646
|
maxLength: "maxLength";
|
|
1523
|
-
email: "email";
|
|
1524
1647
|
url: "url";
|
|
1525
1648
|
}>;
|
|
1526
1649
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
@@ -1555,26 +1678,40 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1555
1678
|
justify: "justify";
|
|
1556
1679
|
}>>>;
|
|
1557
1680
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
"
|
|
1569
|
-
}
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1681
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
1682
|
+
type: z.ZodLiteral<"date">;
|
|
1683
|
+
format: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1684
|
+
"MM/DD/YYYY": "MM/DD/YYYY";
|
|
1685
|
+
"DD/MM/YYYY": "DD/MM/YYYY";
|
|
1686
|
+
"YYYY/MM/DD": "YYYY/MM/DD";
|
|
1687
|
+
}>>>;
|
|
1688
|
+
separator: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1689
|
+
"/": "/";
|
|
1690
|
+
"-": "-";
|
|
1691
|
+
".": ".";
|
|
1692
|
+
}>>>;
|
|
1693
|
+
includeTime: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1694
|
+
minDate: z.ZodOptional<z.ZodString>;
|
|
1695
|
+
maxDate: z.ZodOptional<z.ZodString>;
|
|
1696
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
1697
|
+
prepopulatedValue: z.ZodOptional<z.ZodString>;
|
|
1698
|
+
}, z.core.$strip>;
|
|
1699
|
+
export declare const csatScaleSchema: z.ZodUnion<readonly [z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>]>;
|
|
1700
|
+
export declare const CsatScales: {
|
|
1701
|
+
readonly TWO: 2;
|
|
1702
|
+
readonly THREE: 3;
|
|
1703
|
+
readonly FOUR: 4;
|
|
1704
|
+
readonly FIVE: 5;
|
|
1705
|
+
};
|
|
1706
|
+
export declare const csatDisplayStyleSchema: z.ZodEnum<{
|
|
1707
|
+
emoji: "emoji";
|
|
1708
|
+
text: "text";
|
|
1709
|
+
}>;
|
|
1710
|
+
export declare const CsatDisplayStyles: {
|
|
1711
|
+
readonly EMOJI: "emoji";
|
|
1712
|
+
readonly TEXT: "text";
|
|
1713
|
+
};
|
|
1714
|
+
export declare const csatQuestionSchema: z.ZodObject<{
|
|
1578
1715
|
id: z.ZodString;
|
|
1579
1716
|
slug: z.ZodOptional<z.ZodString>;
|
|
1580
1717
|
title: z.ZodString;
|
|
@@ -1587,12 +1724,12 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1587
1724
|
type: z.ZodEnum<{
|
|
1588
1725
|
custom: "custom";
|
|
1589
1726
|
pattern: "pattern";
|
|
1727
|
+
email: "email";
|
|
1590
1728
|
required: "required";
|
|
1591
1729
|
min: "min";
|
|
1592
1730
|
max: "max";
|
|
1593
1731
|
minLength: "minLength";
|
|
1594
1732
|
maxLength: "maxLength";
|
|
1595
|
-
email: "email";
|
|
1596
1733
|
url: "url";
|
|
1597
1734
|
}>;
|
|
1598
1735
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
@@ -1627,12 +1764,25 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1627
1764
|
justify: "justify";
|
|
1628
1765
|
}>>>;
|
|
1629
1766
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1767
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
1768
|
+
type: z.ZodLiteral<"csat">;
|
|
1769
|
+
scale: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>]>>>;
|
|
1770
|
+
displayStyle: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1771
|
+
emoji: "emoji";
|
|
1772
|
+
text: "text";
|
|
1773
|
+
}>>>;
|
|
1774
|
+
multicolor: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1775
|
+
negativeColor: z.ZodOptional<z.ZodString>;
|
|
1776
|
+
neutralColor: z.ZodOptional<z.ZodString>;
|
|
1777
|
+
positiveColor: z.ZodOptional<z.ZodString>;
|
|
1778
|
+
showLabels: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1779
|
+
scaleLabels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1780
|
+
}, z.core.$strip>;
|
|
1781
|
+
export declare const opinionScaleQuestionSchema: z.ZodObject<{
|
|
1634
1782
|
id: z.ZodString;
|
|
1635
1783
|
slug: z.ZodOptional<z.ZodString>;
|
|
1784
|
+
title: z.ZodString;
|
|
1785
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1636
1786
|
describe: z.ZodOptional<z.ZodString>;
|
|
1637
1787
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1638
1788
|
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -1641,12 +1791,12 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1641
1791
|
type: z.ZodEnum<{
|
|
1642
1792
|
custom: "custom";
|
|
1643
1793
|
pattern: "pattern";
|
|
1794
|
+
email: "email";
|
|
1644
1795
|
required: "required";
|
|
1645
1796
|
min: "min";
|
|
1646
1797
|
max: "max";
|
|
1647
1798
|
minLength: "minLength";
|
|
1648
1799
|
maxLength: "maxLength";
|
|
1649
|
-
email: "email";
|
|
1650
1800
|
url: "url";
|
|
1651
1801
|
}>;
|
|
1652
1802
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
@@ -1681,13 +1831,28 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1681
1831
|
justify: "justify";
|
|
1682
1832
|
}>>>;
|
|
1683
1833
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1834
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
1835
|
+
type: z.ZodLiteral<"opinion_scale">;
|
|
1836
|
+
startValue: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>]>>>;
|
|
1837
|
+
steps: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1838
|
+
minLabel: z.ZodOptional<z.ZodString>;
|
|
1839
|
+
maxLabel: z.ZodOptional<z.ZodString>;
|
|
1840
|
+
}, z.core.$strip>;
|
|
1841
|
+
export declare const rankingDisplayStyleSchema: z.ZodEnum<{
|
|
1842
|
+
dropdown: "dropdown";
|
|
1843
|
+
drag_drop: "drag_drop";
|
|
1844
|
+
up_down: "up_down";
|
|
1845
|
+
}>;
|
|
1846
|
+
export declare const RankingDisplayStyles: {
|
|
1847
|
+
readonly DRAG_DROP: "drag_drop";
|
|
1848
|
+
readonly DROPDOWN: "dropdown";
|
|
1849
|
+
readonly UP_DOWN: "up_down";
|
|
1850
|
+
};
|
|
1851
|
+
export declare const rankingQuestionSchema: z.ZodObject<{
|
|
1689
1852
|
id: z.ZodString;
|
|
1690
1853
|
slug: z.ZodOptional<z.ZodString>;
|
|
1854
|
+
title: z.ZodString;
|
|
1855
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1691
1856
|
describe: z.ZodOptional<z.ZodString>;
|
|
1692
1857
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1693
1858
|
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -1696,12 +1861,12 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1696
1861
|
type: z.ZodEnum<{
|
|
1697
1862
|
custom: "custom";
|
|
1698
1863
|
pattern: "pattern";
|
|
1864
|
+
email: "email";
|
|
1699
1865
|
required: "required";
|
|
1700
1866
|
min: "min";
|
|
1701
1867
|
max: "max";
|
|
1702
1868
|
minLength: "minLength";
|
|
1703
1869
|
maxLength: "maxLength";
|
|
1704
|
-
email: "email";
|
|
1705
1870
|
url: "url";
|
|
1706
1871
|
}>;
|
|
1707
1872
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
@@ -1736,13 +1901,29 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1736
1901
|
justify: "justify";
|
|
1737
1902
|
}>>>;
|
|
1738
1903
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1904
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
1905
|
+
type: z.ZodLiteral<"ranking">;
|
|
1906
|
+
options: z.ZodArray<z.ZodObject<{
|
|
1907
|
+
id: z.ZodString;
|
|
1908
|
+
value: z.ZodString;
|
|
1909
|
+
label: z.ZodString;
|
|
1910
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
1911
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1912
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
1913
|
+
}, z.core.$strip>>;
|
|
1914
|
+
randomizeOptions: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1915
|
+
displayStyle: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1916
|
+
dropdown: "dropdown";
|
|
1917
|
+
drag_drop: "drag_drop";
|
|
1918
|
+
up_down: "up_down";
|
|
1919
|
+
}>>>;
|
|
1920
|
+
maxRank: z.ZodOptional<z.ZodNumber>;
|
|
1921
|
+
}, z.core.$strip>;
|
|
1922
|
+
export declare const pictureChoiceQuestionSchema: z.ZodObject<{
|
|
1744
1923
|
id: z.ZodString;
|
|
1745
1924
|
slug: z.ZodOptional<z.ZodString>;
|
|
1925
|
+
title: z.ZodString;
|
|
1926
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1746
1927
|
describe: z.ZodOptional<z.ZodString>;
|
|
1747
1928
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1748
1929
|
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -1751,12 +1932,12 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1751
1932
|
type: z.ZodEnum<{
|
|
1752
1933
|
custom: "custom";
|
|
1753
1934
|
pattern: "pattern";
|
|
1935
|
+
email: "email";
|
|
1754
1936
|
required: "required";
|
|
1755
1937
|
min: "min";
|
|
1756
1938
|
max: "max";
|
|
1757
1939
|
minLength: "minLength";
|
|
1758
1940
|
maxLength: "maxLength";
|
|
1759
|
-
email: "email";
|
|
1760
1941
|
url: "url";
|
|
1761
1942
|
}>;
|
|
1762
1943
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
@@ -1791,11 +1972,41 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1791
1972
|
justify: "justify";
|
|
1792
1973
|
}>>>;
|
|
1793
1974
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1975
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
1976
|
+
type: z.ZodLiteral<"picture_choice">;
|
|
1977
|
+
options: z.ZodArray<z.ZodObject<{
|
|
1978
|
+
id: z.ZodString;
|
|
1979
|
+
value: z.ZodString;
|
|
1980
|
+
label: z.ZodString;
|
|
1981
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
1982
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1983
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
1984
|
+
}, z.core.$strip>>;
|
|
1985
|
+
multiple: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1986
|
+
minSelections: z.ZodOptional<z.ZodNumber>;
|
|
1987
|
+
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
1988
|
+
supersize: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1989
|
+
showLabels: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1990
|
+
randomizeOptions: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1991
|
+
allowOther: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1992
|
+
otherTextConfig: z.ZodOptional<z.ZodObject<{
|
|
1993
|
+
minChars: z.ZodOptional<z.ZodNumber>;
|
|
1994
|
+
maxChars: z.ZodOptional<z.ZodNumber>;
|
|
1995
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
1996
|
+
showLimitIndicatorThreshold: z.ZodOptional<z.ZodNumber>;
|
|
1997
|
+
}, z.core.$strip>>;
|
|
1998
|
+
}, z.core.$strip>;
|
|
1999
|
+
export declare const signatureModeSchema: z.ZodEnum<{
|
|
2000
|
+
type: "type";
|
|
2001
|
+
draw: "draw";
|
|
2002
|
+
upload: "upload";
|
|
2003
|
+
}>;
|
|
2004
|
+
export declare const SignatureModes: {
|
|
2005
|
+
readonly TYPE: "type";
|
|
2006
|
+
readonly DRAW: "draw";
|
|
2007
|
+
readonly UPLOAD: "upload";
|
|
2008
|
+
};
|
|
2009
|
+
export declare const signatureQuestionSchema: z.ZodObject<{
|
|
1799
2010
|
id: z.ZodString;
|
|
1800
2011
|
slug: z.ZodOptional<z.ZodString>;
|
|
1801
2012
|
title: z.ZodString;
|
|
@@ -1808,12 +2019,12 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1808
2019
|
type: z.ZodEnum<{
|
|
1809
2020
|
custom: "custom";
|
|
1810
2021
|
pattern: "pattern";
|
|
2022
|
+
email: "email";
|
|
1811
2023
|
required: "required";
|
|
1812
2024
|
min: "min";
|
|
1813
2025
|
max: "max";
|
|
1814
2026
|
minLength: "minLength";
|
|
1815
2027
|
maxLength: "maxLength";
|
|
1816
|
-
email: "email";
|
|
1817
2028
|
url: "url";
|
|
1818
2029
|
}>;
|
|
1819
2030
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
@@ -1848,8 +2059,27 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1848
2059
|
justify: "justify";
|
|
1849
2060
|
}>>>;
|
|
1850
2061
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1851
|
-
|
|
1852
|
-
|
|
2062
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
2063
|
+
type: z.ZodLiteral<"signature">;
|
|
2064
|
+
allowedModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2065
|
+
type: "type";
|
|
2066
|
+
draw: "draw";
|
|
2067
|
+
upload: "upload";
|
|
2068
|
+
}>>>;
|
|
2069
|
+
defaultMode: z.ZodOptional<z.ZodEnum<{
|
|
2070
|
+
type: "type";
|
|
2071
|
+
draw: "draw";
|
|
2072
|
+
upload: "upload";
|
|
2073
|
+
}>>;
|
|
2074
|
+
collectSignerEmail: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2075
|
+
signerEmailFieldId: z.ZodOptional<z.ZodString>;
|
|
2076
|
+
penColor: z.ZodOptional<z.ZodString>;
|
|
2077
|
+
penWidth: z.ZodOptional<z.ZodNumber>;
|
|
2078
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
2079
|
+
canvasHeight: z.ZodOptional<z.ZodNumber>;
|
|
2080
|
+
clearButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2081
|
+
}, z.core.$strip>;
|
|
2082
|
+
export declare const fileUploadQuestionSchema: z.ZodObject<{
|
|
1853
2083
|
id: z.ZodString;
|
|
1854
2084
|
slug: z.ZodOptional<z.ZodString>;
|
|
1855
2085
|
title: z.ZodString;
|
|
@@ -1862,12 +2092,12 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1862
2092
|
type: z.ZodEnum<{
|
|
1863
2093
|
custom: "custom";
|
|
1864
2094
|
pattern: "pattern";
|
|
2095
|
+
email: "email";
|
|
1865
2096
|
required: "required";
|
|
1866
2097
|
min: "min";
|
|
1867
2098
|
max: "max";
|
|
1868
2099
|
minLength: "minLength";
|
|
1869
2100
|
maxLength: "maxLength";
|
|
1870
|
-
email: "email";
|
|
1871
2101
|
url: "url";
|
|
1872
2102
|
}>;
|
|
1873
2103
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
@@ -1902,14 +2132,15 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1902
2132
|
justify: "justify";
|
|
1903
2133
|
}>>>;
|
|
1904
2134
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
}, z.core.$strip
|
|
2135
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
2136
|
+
type: z.ZodLiteral<"file_upload">;
|
|
2137
|
+
allowedFileTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2138
|
+
maxFileSizeMb: z.ZodOptional<z.ZodNumber>;
|
|
2139
|
+
multiple: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2140
|
+
maxFiles: z.ZodOptional<z.ZodNumber>;
|
|
2141
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
2142
|
+
}, z.core.$strip>;
|
|
2143
|
+
export declare const emailQuestionSchema: z.ZodObject<{
|
|
1913
2144
|
id: z.ZodString;
|
|
1914
2145
|
slug: z.ZodOptional<z.ZodString>;
|
|
1915
2146
|
title: z.ZodString;
|
|
@@ -1922,12 +2153,12 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1922
2153
|
type: z.ZodEnum<{
|
|
1923
2154
|
custom: "custom";
|
|
1924
2155
|
pattern: "pattern";
|
|
2156
|
+
email: "email";
|
|
1925
2157
|
required: "required";
|
|
1926
2158
|
min: "min";
|
|
1927
2159
|
max: "max";
|
|
1928
2160
|
minLength: "minLength";
|
|
1929
2161
|
maxLength: "maxLength";
|
|
1930
|
-
email: "email";
|
|
1931
2162
|
url: "url";
|
|
1932
2163
|
}>;
|
|
1933
2164
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
@@ -1962,8 +2193,12 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1962
2193
|
justify: "justify";
|
|
1963
2194
|
}>>>;
|
|
1964
2195
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
1965
|
-
|
|
1966
|
-
|
|
2196
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
2197
|
+
type: z.ZodLiteral<"email">;
|
|
2198
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
2199
|
+
prepopulatedValue: z.ZodOptional<z.ZodString>;
|
|
2200
|
+
}, z.core.$strip>;
|
|
2201
|
+
export declare const numberQuestionSchema: z.ZodObject<{
|
|
1967
2202
|
id: z.ZodString;
|
|
1968
2203
|
slug: z.ZodOptional<z.ZodString>;
|
|
1969
2204
|
title: z.ZodString;
|
|
@@ -1976,12 +2211,12 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1976
2211
|
type: z.ZodEnum<{
|
|
1977
2212
|
custom: "custom";
|
|
1978
2213
|
pattern: "pattern";
|
|
2214
|
+
email: "email";
|
|
1979
2215
|
required: "required";
|
|
1980
2216
|
min: "min";
|
|
1981
2217
|
max: "max";
|
|
1982
2218
|
minLength: "minLength";
|
|
1983
2219
|
maxLength: "maxLength";
|
|
1984
|
-
email: "email";
|
|
1985
2220
|
url: "url";
|
|
1986
2221
|
}>;
|
|
1987
2222
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
@@ -2016,47 +2251,17 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2016
2251
|
justify: "justify";
|
|
2017
2252
|
}>>>;
|
|
2018
2253
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
2031
|
-
label: z.ZodString;
|
|
2032
|
-
describe: z.ZodOptional<z.ZodString>;
|
|
2033
|
-
}, z.core.$strip>>;
|
|
2034
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
2035
|
-
kind: z.ZodLiteral<"numerical">;
|
|
2036
|
-
scalePoints: z.ZodArray<z.ZodObject<{
|
|
2037
|
-
id: z.ZodString;
|
|
2038
|
-
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
2039
|
-
label: z.ZodString;
|
|
2040
|
-
describe: z.ZodOptional<z.ZodString>;
|
|
2041
|
-
}, z.core.$strip>>;
|
|
2042
|
-
pointCount: z.ZodUnion<readonly [z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>]>;
|
|
2043
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
2044
|
-
kind: z.ZodLiteral<"custom">;
|
|
2045
|
-
scalePoints: z.ZodArray<z.ZodObject<{
|
|
2046
|
-
id: z.ZodString;
|
|
2047
|
-
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
2048
|
-
label: z.ZodString;
|
|
2049
|
-
describe: z.ZodOptional<z.ZodString>;
|
|
2050
|
-
}, z.core.$strip>>;
|
|
2051
|
-
}, z.core.$strip>], "kind">;
|
|
2052
|
-
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
2053
|
-
star: "star";
|
|
2054
|
-
emoji: "emoji";
|
|
2055
|
-
radio: "radio";
|
|
2056
|
-
button: "button";
|
|
2057
|
-
}>>;
|
|
2058
|
-
randomizeStatements: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2059
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
2254
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
2255
|
+
type: z.ZodLiteral<"number">;
|
|
2256
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
2257
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
2258
|
+
allowDecimal: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2259
|
+
allowNegative: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2260
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
2261
|
+
prepopulatedValue: z.ZodOptional<z.ZodNumber>;
|
|
2262
|
+
unit: z.ZodOptional<z.ZodString>;
|
|
2263
|
+
}, z.core.$strip>;
|
|
2264
|
+
export declare const websiteQuestionSchema: z.ZodObject<{
|
|
2060
2265
|
id: z.ZodString;
|
|
2061
2266
|
slug: z.ZodOptional<z.ZodString>;
|
|
2062
2267
|
title: z.ZodString;
|
|
@@ -2069,12 +2274,12 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2069
2274
|
type: z.ZodEnum<{
|
|
2070
2275
|
custom: "custom";
|
|
2071
2276
|
pattern: "pattern";
|
|
2277
|
+
email: "email";
|
|
2072
2278
|
required: "required";
|
|
2073
2279
|
min: "min";
|
|
2074
2280
|
max: "max";
|
|
2075
2281
|
minLength: "minLength";
|
|
2076
2282
|
maxLength: "maxLength";
|
|
2077
|
-
email: "email";
|
|
2078
2283
|
url: "url";
|
|
2079
2284
|
}>;
|
|
2080
2285
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
@@ -2109,22 +2314,12 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2109
2314
|
justify: "justify";
|
|
2110
2315
|
}>>>;
|
|
2111
2316
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
}, z.core.$strip>>;
|
|
2119
|
-
columns: z.ZodArray<z.ZodObject<{
|
|
2120
|
-
id: z.ZodString;
|
|
2121
|
-
value: z.ZodString;
|
|
2122
|
-
label: z.ZodString;
|
|
2123
|
-
describe: z.ZodOptional<z.ZodString>;
|
|
2124
|
-
}, z.core.$strip>>;
|
|
2125
|
-
randomizeRows: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2126
|
-
randomizeColumns: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2127
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
2317
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
2318
|
+
type: z.ZodLiteral<"website">;
|
|
2319
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
2320
|
+
prepopulatedValue: z.ZodOptional<z.ZodString>;
|
|
2321
|
+
}, z.core.$strip>;
|
|
2322
|
+
export declare const phoneNumberQuestionSchema: z.ZodObject<{
|
|
2128
2323
|
id: z.ZodString;
|
|
2129
2324
|
slug: z.ZodOptional<z.ZodString>;
|
|
2130
2325
|
title: z.ZodString;
|
|
@@ -2137,12 +2332,12 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2137
2332
|
type: z.ZodEnum<{
|
|
2138
2333
|
custom: "custom";
|
|
2139
2334
|
pattern: "pattern";
|
|
2335
|
+
email: "email";
|
|
2140
2336
|
required: "required";
|
|
2141
2337
|
min: "min";
|
|
2142
2338
|
max: "max";
|
|
2143
2339
|
minLength: "minLength";
|
|
2144
2340
|
maxLength: "maxLength";
|
|
2145
|
-
email: "email";
|
|
2146
2341
|
url: "url";
|
|
2147
2342
|
}>;
|
|
2148
2343
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
@@ -2177,23 +2372,1916 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2177
2372
|
justify: "justify";
|
|
2178
2373
|
}>>>;
|
|
2179
2374
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2375
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
2376
|
+
type: z.ZodLiteral<"phone_number">;
|
|
2377
|
+
defaultCountryCode: z.ZodOptional<z.ZodString>;
|
|
2378
|
+
allowCountryChange: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2379
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
2380
|
+
prepopulatedValue: z.ZodOptional<z.ZodString>;
|
|
2381
|
+
}, z.core.$strip>;
|
|
2382
|
+
export declare const addressSubFieldConfigSchema: z.ZodObject<{
|
|
2383
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2384
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
2385
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
2386
|
+
}, z.core.$strip>;
|
|
2387
|
+
export declare const addressQuestionSchema: z.ZodObject<{
|
|
2388
|
+
id: z.ZodString;
|
|
2389
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
2390
|
+
title: z.ZodString;
|
|
2391
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2392
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
2393
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
2394
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
2395
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
2396
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2397
|
+
type: z.ZodEnum<{
|
|
2398
|
+
custom: "custom";
|
|
2399
|
+
pattern: "pattern";
|
|
2400
|
+
email: "email";
|
|
2401
|
+
required: "required";
|
|
2402
|
+
min: "min";
|
|
2403
|
+
max: "max";
|
|
2404
|
+
minLength: "minLength";
|
|
2405
|
+
maxLength: "maxLength";
|
|
2406
|
+
url: "url";
|
|
2407
|
+
}>;
|
|
2408
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2409
|
+
message: z.ZodOptional<z.ZodString>;
|
|
2410
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
2411
|
+
}, z.core.$strip>>>>;
|
|
2412
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2413
|
+
field: z.ZodString;
|
|
2414
|
+
operator: z.ZodEnum<{
|
|
2415
|
+
equals: "equals";
|
|
2416
|
+
not_equals: "not_equals";
|
|
2417
|
+
contains: "contains";
|
|
2418
|
+
not_contains: "not_contains";
|
|
2419
|
+
greater_than: "greater_than";
|
|
2420
|
+
less_than: "less_than";
|
|
2421
|
+
is_empty: "is_empty";
|
|
2422
|
+
is_not_empty: "is_not_empty";
|
|
2423
|
+
}>;
|
|
2424
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2425
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
2426
|
+
}, z.core.$strip>>>>;
|
|
2427
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
2428
|
+
status: z.ZodEnum<{
|
|
2429
|
+
D: "D";
|
|
2430
|
+
P: "P";
|
|
2431
|
+
A: "A";
|
|
2432
|
+
S: "S";
|
|
2433
|
+
}>;
|
|
2434
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2435
|
+
left: "left";
|
|
2436
|
+
center: "center";
|
|
2437
|
+
justify: "justify";
|
|
2438
|
+
}>>>;
|
|
2439
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
2440
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
2441
|
+
type: z.ZodLiteral<"address">;
|
|
2442
|
+
addressLine1: z.ZodOptional<z.ZodObject<{
|
|
2443
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2444
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
2445
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
2446
|
+
}, z.core.$strip>>;
|
|
2447
|
+
addressLine2: z.ZodOptional<z.ZodObject<{
|
|
2448
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2449
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
2450
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
2451
|
+
}, z.core.$strip>>;
|
|
2452
|
+
city: z.ZodOptional<z.ZodObject<{
|
|
2453
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2454
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
2455
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
2456
|
+
}, z.core.$strip>>;
|
|
2457
|
+
stateProvince: z.ZodOptional<z.ZodObject<{
|
|
2458
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2459
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
2460
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
2461
|
+
}, z.core.$strip>>;
|
|
2462
|
+
postalCode: z.ZodOptional<z.ZodObject<{
|
|
2463
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2464
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
2465
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
2466
|
+
}, z.core.$strip>>;
|
|
2467
|
+
country: z.ZodOptional<z.ZodObject<{
|
|
2468
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2469
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
2470
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
2471
|
+
}, z.core.$strip>>;
|
|
2472
|
+
defaultCountry: z.ZodOptional<z.ZodString>;
|
|
2473
|
+
}, z.core.$strip>;
|
|
2474
|
+
export declare const videoAudioModeSchema: z.ZodEnum<{
|
|
2475
|
+
text: "text";
|
|
2476
|
+
video: "video";
|
|
2477
|
+
audio: "audio";
|
|
2478
|
+
}>;
|
|
2479
|
+
export declare const VideoAudioModes: {
|
|
2480
|
+
readonly VIDEO: "video";
|
|
2481
|
+
readonly AUDIO: "audio";
|
|
2482
|
+
readonly TEXT: "text";
|
|
2483
|
+
};
|
|
2484
|
+
export declare const videoAudioQuestionSchema: z.ZodObject<{
|
|
2485
|
+
id: z.ZodString;
|
|
2486
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
2487
|
+
title: z.ZodString;
|
|
2488
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2489
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
2490
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
2491
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
2492
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
2493
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2494
|
+
type: z.ZodEnum<{
|
|
2495
|
+
custom: "custom";
|
|
2496
|
+
pattern: "pattern";
|
|
2497
|
+
email: "email";
|
|
2498
|
+
required: "required";
|
|
2499
|
+
min: "min";
|
|
2500
|
+
max: "max";
|
|
2501
|
+
minLength: "minLength";
|
|
2502
|
+
maxLength: "maxLength";
|
|
2503
|
+
url: "url";
|
|
2504
|
+
}>;
|
|
2505
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2506
|
+
message: z.ZodOptional<z.ZodString>;
|
|
2507
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
2508
|
+
}, z.core.$strip>>>>;
|
|
2509
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2510
|
+
field: z.ZodString;
|
|
2511
|
+
operator: z.ZodEnum<{
|
|
2512
|
+
equals: "equals";
|
|
2513
|
+
not_equals: "not_equals";
|
|
2514
|
+
contains: "contains";
|
|
2515
|
+
not_contains: "not_contains";
|
|
2516
|
+
greater_than: "greater_than";
|
|
2517
|
+
less_than: "less_than";
|
|
2518
|
+
is_empty: "is_empty";
|
|
2519
|
+
is_not_empty: "is_not_empty";
|
|
2520
|
+
}>;
|
|
2521
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2522
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
2523
|
+
}, z.core.$strip>>>>;
|
|
2524
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
2525
|
+
status: z.ZodEnum<{
|
|
2526
|
+
D: "D";
|
|
2527
|
+
P: "P";
|
|
2528
|
+
A: "A";
|
|
2529
|
+
S: "S";
|
|
2530
|
+
}>;
|
|
2531
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2532
|
+
left: "left";
|
|
2533
|
+
center: "center";
|
|
2534
|
+
justify: "justify";
|
|
2535
|
+
}>>>;
|
|
2536
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
2537
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
2538
|
+
type: z.ZodLiteral<"video_audio">;
|
|
2539
|
+
allowedModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2540
|
+
text: "text";
|
|
2541
|
+
video: "video";
|
|
2542
|
+
audio: "audio";
|
|
2543
|
+
}>>>;
|
|
2544
|
+
defaultMode: z.ZodOptional<z.ZodEnum<{
|
|
2545
|
+
text: "text";
|
|
2546
|
+
video: "video";
|
|
2547
|
+
audio: "audio";
|
|
2548
|
+
}>>;
|
|
2549
|
+
maxDurationSeconds: z.ZodOptional<z.ZodNumber>;
|
|
2550
|
+
maxFileSizeMb: z.ZodOptional<z.ZodNumber>;
|
|
2551
|
+
allowUpload: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2552
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
2553
|
+
}, z.core.$strip>;
|
|
2554
|
+
export declare const schedulerProviderSchema: z.ZodEnum<{
|
|
2555
|
+
google_calendar: "google_calendar";
|
|
2556
|
+
calendly: "calendly";
|
|
2557
|
+
}>;
|
|
2558
|
+
export declare const SchedulerProviders: {
|
|
2559
|
+
readonly GOOGLE_CALENDAR: "google_calendar";
|
|
2560
|
+
readonly CALENDLY: "calendly";
|
|
2561
|
+
};
|
|
2562
|
+
export declare const schedulerQuestionSchema: z.ZodObject<{
|
|
2563
|
+
id: z.ZodString;
|
|
2564
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
2565
|
+
title: z.ZodString;
|
|
2566
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2567
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
2568
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
2569
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
2570
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
2571
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2572
|
+
type: z.ZodEnum<{
|
|
2573
|
+
custom: "custom";
|
|
2574
|
+
pattern: "pattern";
|
|
2575
|
+
email: "email";
|
|
2576
|
+
required: "required";
|
|
2577
|
+
min: "min";
|
|
2578
|
+
max: "max";
|
|
2579
|
+
minLength: "minLength";
|
|
2580
|
+
maxLength: "maxLength";
|
|
2581
|
+
url: "url";
|
|
2582
|
+
}>;
|
|
2583
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2584
|
+
message: z.ZodOptional<z.ZodString>;
|
|
2585
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
2586
|
+
}, z.core.$strip>>>>;
|
|
2587
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2588
|
+
field: z.ZodString;
|
|
2589
|
+
operator: z.ZodEnum<{
|
|
2590
|
+
equals: "equals";
|
|
2591
|
+
not_equals: "not_equals";
|
|
2592
|
+
contains: "contains";
|
|
2593
|
+
not_contains: "not_contains";
|
|
2594
|
+
greater_than: "greater_than";
|
|
2595
|
+
less_than: "less_than";
|
|
2596
|
+
is_empty: "is_empty";
|
|
2597
|
+
is_not_empty: "is_not_empty";
|
|
2598
|
+
}>;
|
|
2599
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2600
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
2601
|
+
}, z.core.$strip>>>>;
|
|
2602
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
2603
|
+
status: z.ZodEnum<{
|
|
2604
|
+
D: "D";
|
|
2605
|
+
P: "P";
|
|
2606
|
+
A: "A";
|
|
2607
|
+
S: "S";
|
|
2608
|
+
}>;
|
|
2609
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2610
|
+
left: "left";
|
|
2611
|
+
center: "center";
|
|
2612
|
+
justify: "justify";
|
|
2613
|
+
}>>>;
|
|
2614
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
2615
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
2616
|
+
type: z.ZodLiteral<"scheduler">;
|
|
2617
|
+
provider: z.ZodOptional<z.ZodEnum<{
|
|
2618
|
+
google_calendar: "google_calendar";
|
|
2619
|
+
calendly: "calendly";
|
|
2620
|
+
}>>;
|
|
2621
|
+
calendarId: z.ZodOptional<z.ZodString>;
|
|
2622
|
+
showIntroScreen: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2623
|
+
autofillNameFieldId: z.ZodOptional<z.ZodString>;
|
|
2624
|
+
autofillEmailFieldId: z.ZodOptional<z.ZodString>;
|
|
2625
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
2626
|
+
}, z.core.$strip>;
|
|
2627
|
+
export declare const qnaWithAiQuestionSchema: z.ZodObject<{
|
|
2628
|
+
id: z.ZodString;
|
|
2629
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
2630
|
+
title: z.ZodString;
|
|
2631
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2632
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
2633
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
2634
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
2635
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
2636
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2637
|
+
type: z.ZodEnum<{
|
|
2638
|
+
custom: "custom";
|
|
2639
|
+
pattern: "pattern";
|
|
2640
|
+
email: "email";
|
|
2641
|
+
required: "required";
|
|
2642
|
+
min: "min";
|
|
2643
|
+
max: "max";
|
|
2644
|
+
minLength: "minLength";
|
|
2645
|
+
maxLength: "maxLength";
|
|
2646
|
+
url: "url";
|
|
2647
|
+
}>;
|
|
2648
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2649
|
+
message: z.ZodOptional<z.ZodString>;
|
|
2650
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
2651
|
+
}, z.core.$strip>>>>;
|
|
2652
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2653
|
+
field: z.ZodString;
|
|
2654
|
+
operator: z.ZodEnum<{
|
|
2655
|
+
equals: "equals";
|
|
2656
|
+
not_equals: "not_equals";
|
|
2657
|
+
contains: "contains";
|
|
2658
|
+
not_contains: "not_contains";
|
|
2659
|
+
greater_than: "greater_than";
|
|
2660
|
+
less_than: "less_than";
|
|
2661
|
+
is_empty: "is_empty";
|
|
2662
|
+
is_not_empty: "is_not_empty";
|
|
2663
|
+
}>;
|
|
2664
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2665
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
2666
|
+
}, z.core.$strip>>>>;
|
|
2667
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
2668
|
+
status: z.ZodEnum<{
|
|
2669
|
+
D: "D";
|
|
2670
|
+
P: "P";
|
|
2671
|
+
A: "A";
|
|
2672
|
+
S: "S";
|
|
2673
|
+
}>;
|
|
2674
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2675
|
+
left: "left";
|
|
2676
|
+
center: "center";
|
|
2677
|
+
justify: "justify";
|
|
2678
|
+
}>>>;
|
|
2679
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
2680
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
2681
|
+
type: z.ZodLiteral<"qna_with_ai">;
|
|
2682
|
+
knowledgeBase: z.ZodString;
|
|
2683
|
+
maxResponseLength: z.ZodOptional<z.ZodNumber>;
|
|
2684
|
+
maxQaPairs: z.ZodOptional<z.ZodNumber>;
|
|
2685
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
2686
|
+
askButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2687
|
+
}, z.core.$strip>;
|
|
2688
|
+
export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2689
|
+
id: z.ZodString;
|
|
2690
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
2691
|
+
title: z.ZodString;
|
|
2692
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2693
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
2694
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
2695
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
2696
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
2697
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2698
|
+
type: z.ZodEnum<{
|
|
2699
|
+
custom: "custom";
|
|
2700
|
+
pattern: "pattern";
|
|
2701
|
+
email: "email";
|
|
2702
|
+
required: "required";
|
|
2703
|
+
min: "min";
|
|
2704
|
+
max: "max";
|
|
2705
|
+
minLength: "minLength";
|
|
2706
|
+
maxLength: "maxLength";
|
|
2707
|
+
url: "url";
|
|
2708
|
+
}>;
|
|
2709
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2710
|
+
message: z.ZodOptional<z.ZodString>;
|
|
2711
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
2712
|
+
}, z.core.$strip>>>>;
|
|
2713
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2714
|
+
field: z.ZodString;
|
|
2715
|
+
operator: z.ZodEnum<{
|
|
2716
|
+
equals: "equals";
|
|
2717
|
+
not_equals: "not_equals";
|
|
2718
|
+
contains: "contains";
|
|
2719
|
+
not_contains: "not_contains";
|
|
2720
|
+
greater_than: "greater_than";
|
|
2721
|
+
less_than: "less_than";
|
|
2722
|
+
is_empty: "is_empty";
|
|
2723
|
+
is_not_empty: "is_not_empty";
|
|
2724
|
+
}>;
|
|
2725
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2726
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
2727
|
+
}, z.core.$strip>>>>;
|
|
2728
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
2729
|
+
status: z.ZodEnum<{
|
|
2730
|
+
D: "D";
|
|
2731
|
+
P: "P";
|
|
2732
|
+
A: "A";
|
|
2733
|
+
S: "S";
|
|
2734
|
+
}>;
|
|
2735
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2736
|
+
left: "left";
|
|
2737
|
+
center: "center";
|
|
2738
|
+
justify: "justify";
|
|
2739
|
+
}>>>;
|
|
2740
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
2741
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
2742
|
+
type: z.ZodLiteral<"rating">;
|
|
2743
|
+
showLabels: z.ZodOptional<z.ZodBoolean>;
|
|
2744
|
+
minLabel: z.ZodOptional<z.ZodString>;
|
|
2745
|
+
maxLabel: z.ZodOptional<z.ZodString>;
|
|
2746
|
+
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
2747
|
+
star: "star";
|
|
2748
|
+
heart: "heart";
|
|
2749
|
+
"thumbs-up": "thumbs-up";
|
|
2750
|
+
diamond: "diamond";
|
|
2751
|
+
emoji: "emoji";
|
|
2752
|
+
"emoji-exp": "emoji-exp";
|
|
2753
|
+
}>>;
|
|
2754
|
+
numberOfRatings: z.ZodNumber;
|
|
2755
|
+
representationSize: z.ZodOptional<z.ZodEnum<{
|
|
2756
|
+
small: "small";
|
|
2757
|
+
medium: "medium";
|
|
2758
|
+
large: "large";
|
|
2759
|
+
}>>;
|
|
2760
|
+
color: z.ZodOptional<z.ZodString>;
|
|
2761
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2762
|
+
id: z.ZodString;
|
|
2763
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
2764
|
+
title: z.ZodString;
|
|
2765
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2766
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
2767
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
2768
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
2769
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
2770
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2771
|
+
type: z.ZodEnum<{
|
|
2772
|
+
custom: "custom";
|
|
2773
|
+
pattern: "pattern";
|
|
2774
|
+
email: "email";
|
|
2775
|
+
required: "required";
|
|
2776
|
+
min: "min";
|
|
2777
|
+
max: "max";
|
|
2778
|
+
minLength: "minLength";
|
|
2779
|
+
maxLength: "maxLength";
|
|
2780
|
+
url: "url";
|
|
2781
|
+
}>;
|
|
2782
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2783
|
+
message: z.ZodOptional<z.ZodString>;
|
|
2784
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
2785
|
+
}, z.core.$strip>>>>;
|
|
2786
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2787
|
+
field: z.ZodString;
|
|
2788
|
+
operator: z.ZodEnum<{
|
|
2789
|
+
equals: "equals";
|
|
2790
|
+
not_equals: "not_equals";
|
|
2791
|
+
contains: "contains";
|
|
2792
|
+
not_contains: "not_contains";
|
|
2793
|
+
greater_than: "greater_than";
|
|
2794
|
+
less_than: "less_than";
|
|
2795
|
+
is_empty: "is_empty";
|
|
2796
|
+
is_not_empty: "is_not_empty";
|
|
2797
|
+
}>;
|
|
2798
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2799
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
2800
|
+
}, z.core.$strip>>>>;
|
|
2801
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
2802
|
+
status: z.ZodEnum<{
|
|
2803
|
+
D: "D";
|
|
2804
|
+
P: "P";
|
|
2805
|
+
A: "A";
|
|
2806
|
+
S: "S";
|
|
2807
|
+
}>;
|
|
2808
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2809
|
+
left: "left";
|
|
2810
|
+
center: "center";
|
|
2811
|
+
justify: "justify";
|
|
2812
|
+
}>>>;
|
|
2813
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
2814
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
2815
|
+
type: z.ZodLiteral<"annotation">;
|
|
2816
|
+
annotationText: z.ZodOptional<z.ZodString>;
|
|
2817
|
+
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
2818
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2819
|
+
id: z.ZodString;
|
|
2820
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
2821
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
2822
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
2823
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
2824
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
2825
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2826
|
+
type: z.ZodEnum<{
|
|
2827
|
+
custom: "custom";
|
|
2828
|
+
pattern: "pattern";
|
|
2829
|
+
email: "email";
|
|
2830
|
+
required: "required";
|
|
2831
|
+
min: "min";
|
|
2832
|
+
max: "max";
|
|
2833
|
+
minLength: "minLength";
|
|
2834
|
+
maxLength: "maxLength";
|
|
2835
|
+
url: "url";
|
|
2836
|
+
}>;
|
|
2837
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2838
|
+
message: z.ZodOptional<z.ZodString>;
|
|
2839
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
2840
|
+
}, z.core.$strip>>>>;
|
|
2841
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2842
|
+
field: z.ZodString;
|
|
2843
|
+
operator: z.ZodEnum<{
|
|
2844
|
+
equals: "equals";
|
|
2845
|
+
not_equals: "not_equals";
|
|
2846
|
+
contains: "contains";
|
|
2847
|
+
not_contains: "not_contains";
|
|
2848
|
+
greater_than: "greater_than";
|
|
2849
|
+
less_than: "less_than";
|
|
2850
|
+
is_empty: "is_empty";
|
|
2851
|
+
is_not_empty: "is_not_empty";
|
|
2852
|
+
}>;
|
|
2853
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2854
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
2855
|
+
}, z.core.$strip>>>>;
|
|
2856
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
2857
|
+
status: z.ZodEnum<{
|
|
2858
|
+
D: "D";
|
|
2859
|
+
P: "P";
|
|
2860
|
+
A: "A";
|
|
2861
|
+
S: "S";
|
|
2862
|
+
}>;
|
|
2863
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2864
|
+
left: "left";
|
|
2865
|
+
center: "center";
|
|
2866
|
+
justify: "justify";
|
|
2867
|
+
}>>>;
|
|
2868
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
2869
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
2870
|
+
type: z.ZodLiteral<"welcome">;
|
|
2871
|
+
title: z.ZodString;
|
|
2872
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2873
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
2874
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2875
|
+
id: z.ZodString;
|
|
2876
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
2877
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
2878
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
2879
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
2880
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
2881
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2882
|
+
type: z.ZodEnum<{
|
|
2883
|
+
custom: "custom";
|
|
2884
|
+
pattern: "pattern";
|
|
2885
|
+
email: "email";
|
|
2886
|
+
required: "required";
|
|
2887
|
+
min: "min";
|
|
2888
|
+
max: "max";
|
|
2889
|
+
minLength: "minLength";
|
|
2890
|
+
maxLength: "maxLength";
|
|
2891
|
+
url: "url";
|
|
2892
|
+
}>;
|
|
2893
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2894
|
+
message: z.ZodOptional<z.ZodString>;
|
|
2895
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
2896
|
+
}, z.core.$strip>>>>;
|
|
2897
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2898
|
+
field: z.ZodString;
|
|
2899
|
+
operator: z.ZodEnum<{
|
|
2900
|
+
equals: "equals";
|
|
2901
|
+
not_equals: "not_equals";
|
|
2902
|
+
contains: "contains";
|
|
2903
|
+
not_contains: "not_contains";
|
|
2904
|
+
greater_than: "greater_than";
|
|
2905
|
+
less_than: "less_than";
|
|
2906
|
+
is_empty: "is_empty";
|
|
2907
|
+
is_not_empty: "is_not_empty";
|
|
2908
|
+
}>;
|
|
2909
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2910
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
2911
|
+
}, z.core.$strip>>>>;
|
|
2912
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
2913
|
+
status: z.ZodEnum<{
|
|
2914
|
+
D: "D";
|
|
2915
|
+
P: "P";
|
|
2916
|
+
A: "A";
|
|
2917
|
+
S: "S";
|
|
2918
|
+
}>;
|
|
2919
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2920
|
+
left: "left";
|
|
2921
|
+
center: "center";
|
|
2922
|
+
justify: "justify";
|
|
2923
|
+
}>>>;
|
|
2924
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
2925
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
2926
|
+
type: z.ZodLiteral<"thank_you">;
|
|
2927
|
+
title: z.ZodString;
|
|
2928
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2929
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
2930
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2931
|
+
id: z.ZodString;
|
|
2932
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
2933
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
2934
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
2935
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
2936
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
2937
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2938
|
+
type: z.ZodEnum<{
|
|
2939
|
+
custom: "custom";
|
|
2940
|
+
pattern: "pattern";
|
|
2941
|
+
email: "email";
|
|
2942
|
+
required: "required";
|
|
2943
|
+
min: "min";
|
|
2944
|
+
max: "max";
|
|
2945
|
+
minLength: "minLength";
|
|
2946
|
+
maxLength: "maxLength";
|
|
2947
|
+
url: "url";
|
|
2948
|
+
}>;
|
|
2949
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2950
|
+
message: z.ZodOptional<z.ZodString>;
|
|
2951
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
2952
|
+
}, z.core.$strip>>>>;
|
|
2953
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2954
|
+
field: z.ZodString;
|
|
2955
|
+
operator: z.ZodEnum<{
|
|
2956
|
+
equals: "equals";
|
|
2957
|
+
not_equals: "not_equals";
|
|
2958
|
+
contains: "contains";
|
|
2959
|
+
not_contains: "not_contains";
|
|
2960
|
+
greater_than: "greater_than";
|
|
2961
|
+
less_than: "less_than";
|
|
2962
|
+
is_empty: "is_empty";
|
|
2963
|
+
is_not_empty: "is_not_empty";
|
|
2964
|
+
}>;
|
|
2965
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2966
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
2967
|
+
}, z.core.$strip>>>>;
|
|
2968
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
2969
|
+
status: z.ZodEnum<{
|
|
2970
|
+
D: "D";
|
|
2971
|
+
P: "P";
|
|
2972
|
+
A: "A";
|
|
2973
|
+
S: "S";
|
|
2974
|
+
}>;
|
|
2975
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2976
|
+
left: "left";
|
|
2977
|
+
center: "center";
|
|
2978
|
+
justify: "justify";
|
|
2979
|
+
}>>>;
|
|
2980
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
2981
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
2982
|
+
type: z.ZodLiteral<"message_panel">;
|
|
2983
|
+
title: z.ZodString;
|
|
2984
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2985
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
2986
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2987
|
+
id: z.ZodString;
|
|
2988
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
2989
|
+
title: z.ZodString;
|
|
2990
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2991
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
2992
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
2993
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
2994
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
2995
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2996
|
+
type: z.ZodEnum<{
|
|
2997
|
+
custom: "custom";
|
|
2998
|
+
pattern: "pattern";
|
|
2999
|
+
email: "email";
|
|
3000
|
+
required: "required";
|
|
3001
|
+
min: "min";
|
|
3002
|
+
max: "max";
|
|
3003
|
+
minLength: "minLength";
|
|
3004
|
+
maxLength: "maxLength";
|
|
3005
|
+
url: "url";
|
|
3006
|
+
}>;
|
|
3007
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3008
|
+
message: z.ZodOptional<z.ZodString>;
|
|
3009
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
3010
|
+
}, z.core.$strip>>>>;
|
|
3011
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3012
|
+
field: z.ZodString;
|
|
3013
|
+
operator: z.ZodEnum<{
|
|
3014
|
+
equals: "equals";
|
|
3015
|
+
not_equals: "not_equals";
|
|
3016
|
+
contains: "contains";
|
|
3017
|
+
not_contains: "not_contains";
|
|
3018
|
+
greater_than: "greater_than";
|
|
3019
|
+
less_than: "less_than";
|
|
3020
|
+
is_empty: "is_empty";
|
|
3021
|
+
is_not_empty: "is_not_empty";
|
|
3022
|
+
}>;
|
|
3023
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3024
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
3025
|
+
}, z.core.$strip>>>>;
|
|
3026
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
3027
|
+
status: z.ZodEnum<{
|
|
3028
|
+
D: "D";
|
|
3029
|
+
P: "P";
|
|
3030
|
+
A: "A";
|
|
3031
|
+
S: "S";
|
|
3032
|
+
}>;
|
|
3033
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
3034
|
+
left: "left";
|
|
3035
|
+
center: "center";
|
|
3036
|
+
justify: "justify";
|
|
3037
|
+
}>>>;
|
|
3038
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
3039
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
3040
|
+
type: z.ZodLiteral<"exit_form">;
|
|
3041
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3042
|
+
id: z.ZodString;
|
|
3043
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
3044
|
+
title: z.ZodString;
|
|
3045
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3046
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
3047
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
3048
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
3049
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
3050
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3051
|
+
type: z.ZodEnum<{
|
|
3052
|
+
custom: "custom";
|
|
3053
|
+
pattern: "pattern";
|
|
3054
|
+
email: "email";
|
|
3055
|
+
required: "required";
|
|
3056
|
+
min: "min";
|
|
3057
|
+
max: "max";
|
|
3058
|
+
minLength: "minLength";
|
|
3059
|
+
maxLength: "maxLength";
|
|
3060
|
+
url: "url";
|
|
3061
|
+
}>;
|
|
3062
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3063
|
+
message: z.ZodOptional<z.ZodString>;
|
|
3064
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
3065
|
+
}, z.core.$strip>>>>;
|
|
3066
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3067
|
+
field: z.ZodString;
|
|
3068
|
+
operator: z.ZodEnum<{
|
|
3069
|
+
equals: "equals";
|
|
3070
|
+
not_equals: "not_equals";
|
|
3071
|
+
contains: "contains";
|
|
3072
|
+
not_contains: "not_contains";
|
|
3073
|
+
greater_than: "greater_than";
|
|
3074
|
+
less_than: "less_than";
|
|
3075
|
+
is_empty: "is_empty";
|
|
3076
|
+
is_not_empty: "is_not_empty";
|
|
3077
|
+
}>;
|
|
3078
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3079
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
3080
|
+
}, z.core.$strip>>>>;
|
|
3081
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
3082
|
+
status: z.ZodEnum<{
|
|
3083
|
+
D: "D";
|
|
3084
|
+
P: "P";
|
|
3085
|
+
A: "A";
|
|
3086
|
+
S: "S";
|
|
3087
|
+
}>;
|
|
3088
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
3089
|
+
left: "left";
|
|
3090
|
+
center: "center";
|
|
3091
|
+
justify: "justify";
|
|
3092
|
+
}>>>;
|
|
3093
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
3094
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
3095
|
+
type: z.ZodLiteral<"yes_no">;
|
|
3096
|
+
yesLabel: z.ZodOptional<z.ZodString>;
|
|
3097
|
+
noLabel: z.ZodOptional<z.ZodString>;
|
|
3098
|
+
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
3099
|
+
horizontal: "horizontal";
|
|
3100
|
+
vertical: "vertical";
|
|
3101
|
+
}>>;
|
|
3102
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3103
|
+
id: z.ZodString;
|
|
3104
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
3105
|
+
title: z.ZodString;
|
|
3106
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3107
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
3108
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
3109
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
3110
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
3111
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3112
|
+
type: z.ZodEnum<{
|
|
3113
|
+
custom: "custom";
|
|
3114
|
+
pattern: "pattern";
|
|
3115
|
+
email: "email";
|
|
3116
|
+
required: "required";
|
|
3117
|
+
min: "min";
|
|
3118
|
+
max: "max";
|
|
3119
|
+
minLength: "minLength";
|
|
3120
|
+
maxLength: "maxLength";
|
|
3121
|
+
url: "url";
|
|
3122
|
+
}>;
|
|
3123
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3124
|
+
message: z.ZodOptional<z.ZodString>;
|
|
3125
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
3126
|
+
}, z.core.$strip>>>>;
|
|
3127
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3128
|
+
field: z.ZodString;
|
|
3129
|
+
operator: z.ZodEnum<{
|
|
3130
|
+
equals: "equals";
|
|
3131
|
+
not_equals: "not_equals";
|
|
3132
|
+
contains: "contains";
|
|
3133
|
+
not_contains: "not_contains";
|
|
3134
|
+
greater_than: "greater_than";
|
|
3135
|
+
less_than: "less_than";
|
|
3136
|
+
is_empty: "is_empty";
|
|
3137
|
+
is_not_empty: "is_not_empty";
|
|
3138
|
+
}>;
|
|
3139
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3140
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
3141
|
+
}, z.core.$strip>>>>;
|
|
3142
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
3143
|
+
status: z.ZodEnum<{
|
|
3144
|
+
D: "D";
|
|
3145
|
+
P: "P";
|
|
3146
|
+
A: "A";
|
|
3147
|
+
S: "S";
|
|
3148
|
+
}>;
|
|
3149
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
3150
|
+
left: "left";
|
|
3151
|
+
center: "center";
|
|
3152
|
+
justify: "justify";
|
|
3153
|
+
}>>>;
|
|
3154
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
3155
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
3156
|
+
type: z.ZodLiteral<"consent">;
|
|
3157
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3158
|
+
id: z.ZodString;
|
|
3159
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
3160
|
+
title: z.ZodString;
|
|
3161
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3162
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
3163
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
3164
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
3165
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
3166
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3167
|
+
type: z.ZodEnum<{
|
|
3168
|
+
custom: "custom";
|
|
3169
|
+
pattern: "pattern";
|
|
3170
|
+
email: "email";
|
|
3171
|
+
required: "required";
|
|
3172
|
+
min: "min";
|
|
3173
|
+
max: "max";
|
|
3174
|
+
minLength: "minLength";
|
|
3175
|
+
maxLength: "maxLength";
|
|
3176
|
+
url: "url";
|
|
3177
|
+
}>;
|
|
3178
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3179
|
+
message: z.ZodOptional<z.ZodString>;
|
|
3180
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
3181
|
+
}, z.core.$strip>>>>;
|
|
3182
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3183
|
+
field: z.ZodString;
|
|
3184
|
+
operator: z.ZodEnum<{
|
|
3185
|
+
equals: "equals";
|
|
3186
|
+
not_equals: "not_equals";
|
|
3187
|
+
contains: "contains";
|
|
3188
|
+
not_contains: "not_contains";
|
|
3189
|
+
greater_than: "greater_than";
|
|
3190
|
+
less_than: "less_than";
|
|
3191
|
+
is_empty: "is_empty";
|
|
3192
|
+
is_not_empty: "is_not_empty";
|
|
3193
|
+
}>;
|
|
3194
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3195
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
3196
|
+
}, z.core.$strip>>>>;
|
|
3197
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
3198
|
+
status: z.ZodEnum<{
|
|
3199
|
+
D: "D";
|
|
3200
|
+
P: "P";
|
|
3201
|
+
A: "A";
|
|
3202
|
+
S: "S";
|
|
3203
|
+
}>;
|
|
3204
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
3205
|
+
left: "left";
|
|
3206
|
+
center: "center";
|
|
3207
|
+
justify: "justify";
|
|
3208
|
+
}>>>;
|
|
3209
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
3210
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
3211
|
+
type: z.ZodLiteral<"rating_matrix">;
|
|
3212
|
+
statements: z.ZodArray<z.ZodObject<{
|
|
3213
|
+
id: z.ZodString;
|
|
3214
|
+
value: z.ZodString;
|
|
3215
|
+
label: z.ZodString;
|
|
3216
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
3217
|
+
}, z.core.$strip>>;
|
|
3218
|
+
scale: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3219
|
+
kind: z.ZodLiteral<"likert">;
|
|
3220
|
+
scalePoints: z.ZodArray<z.ZodObject<{
|
|
3221
|
+
id: z.ZodString;
|
|
3222
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
3223
|
+
label: z.ZodString;
|
|
3224
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
3225
|
+
}, z.core.$strip>>;
|
|
3226
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3227
|
+
kind: z.ZodLiteral<"numerical">;
|
|
3228
|
+
scalePoints: z.ZodArray<z.ZodObject<{
|
|
3229
|
+
id: z.ZodString;
|
|
3230
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
3231
|
+
label: z.ZodString;
|
|
3232
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
3233
|
+
}, z.core.$strip>>;
|
|
3234
|
+
pointCount: z.ZodUnion<readonly [z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>]>;
|
|
3235
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3236
|
+
kind: z.ZodLiteral<"custom">;
|
|
3237
|
+
scalePoints: z.ZodArray<z.ZodObject<{
|
|
3238
|
+
id: z.ZodString;
|
|
3239
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
3240
|
+
label: z.ZodString;
|
|
3241
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
3242
|
+
}, z.core.$strip>>;
|
|
3243
|
+
}, z.core.$strip>], "kind">;
|
|
3244
|
+
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
3245
|
+
star: "star";
|
|
3246
|
+
emoji: "emoji";
|
|
3247
|
+
radio: "radio";
|
|
3248
|
+
button: "button";
|
|
3249
|
+
}>>;
|
|
3250
|
+
randomizeStatements: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3251
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3252
|
+
id: z.ZodString;
|
|
3253
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
3254
|
+
title: z.ZodString;
|
|
3255
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3256
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
3257
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
3258
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
3259
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
3260
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3261
|
+
type: z.ZodEnum<{
|
|
3262
|
+
custom: "custom";
|
|
3263
|
+
pattern: "pattern";
|
|
3264
|
+
email: "email";
|
|
3265
|
+
required: "required";
|
|
3266
|
+
min: "min";
|
|
3267
|
+
max: "max";
|
|
3268
|
+
minLength: "minLength";
|
|
3269
|
+
maxLength: "maxLength";
|
|
3270
|
+
url: "url";
|
|
3271
|
+
}>;
|
|
3272
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3273
|
+
message: z.ZodOptional<z.ZodString>;
|
|
3274
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
3275
|
+
}, z.core.$strip>>>>;
|
|
3276
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3277
|
+
field: z.ZodString;
|
|
3278
|
+
operator: z.ZodEnum<{
|
|
3279
|
+
equals: "equals";
|
|
3280
|
+
not_equals: "not_equals";
|
|
3281
|
+
contains: "contains";
|
|
3282
|
+
not_contains: "not_contains";
|
|
3283
|
+
greater_than: "greater_than";
|
|
3284
|
+
less_than: "less_than";
|
|
3285
|
+
is_empty: "is_empty";
|
|
3286
|
+
is_not_empty: "is_not_empty";
|
|
3287
|
+
}>;
|
|
3288
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3289
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
3290
|
+
}, z.core.$strip>>>>;
|
|
3291
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
3292
|
+
status: z.ZodEnum<{
|
|
3293
|
+
D: "D";
|
|
3294
|
+
P: "P";
|
|
3295
|
+
A: "A";
|
|
3296
|
+
S: "S";
|
|
3297
|
+
}>;
|
|
3298
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
3299
|
+
left: "left";
|
|
3300
|
+
center: "center";
|
|
3301
|
+
justify: "justify";
|
|
3302
|
+
}>>>;
|
|
3303
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
3304
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
3305
|
+
type: z.ZodLiteral<"matrix_single_choice">;
|
|
3306
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
3307
|
+
id: z.ZodString;
|
|
3308
|
+
value: z.ZodString;
|
|
3309
|
+
label: z.ZodString;
|
|
3310
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
3311
|
+
}, z.core.$strip>>;
|
|
3312
|
+
columns: z.ZodArray<z.ZodObject<{
|
|
3313
|
+
id: z.ZodString;
|
|
3314
|
+
value: z.ZodString;
|
|
3315
|
+
label: z.ZodString;
|
|
3316
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
3317
|
+
}, z.core.$strip>>;
|
|
3318
|
+
randomizeRows: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3319
|
+
randomizeColumns: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3320
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3321
|
+
id: z.ZodString;
|
|
3322
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
3323
|
+
title: z.ZodString;
|
|
3324
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3325
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
3326
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
3327
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
3328
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
3329
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3330
|
+
type: z.ZodEnum<{
|
|
3331
|
+
custom: "custom";
|
|
3332
|
+
pattern: "pattern";
|
|
3333
|
+
email: "email";
|
|
3334
|
+
required: "required";
|
|
3335
|
+
min: "min";
|
|
3336
|
+
max: "max";
|
|
3337
|
+
minLength: "minLength";
|
|
3338
|
+
maxLength: "maxLength";
|
|
3339
|
+
url: "url";
|
|
3340
|
+
}>;
|
|
3341
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3342
|
+
message: z.ZodOptional<z.ZodString>;
|
|
3343
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
3344
|
+
}, z.core.$strip>>>>;
|
|
3345
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3346
|
+
field: z.ZodString;
|
|
3347
|
+
operator: z.ZodEnum<{
|
|
3348
|
+
equals: "equals";
|
|
3349
|
+
not_equals: "not_equals";
|
|
3350
|
+
contains: "contains";
|
|
3351
|
+
not_contains: "not_contains";
|
|
3352
|
+
greater_than: "greater_than";
|
|
3353
|
+
less_than: "less_than";
|
|
3354
|
+
is_empty: "is_empty";
|
|
3355
|
+
is_not_empty: "is_not_empty";
|
|
3356
|
+
}>;
|
|
3357
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3358
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
3359
|
+
}, z.core.$strip>>>>;
|
|
3360
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
3361
|
+
status: z.ZodEnum<{
|
|
3362
|
+
D: "D";
|
|
3363
|
+
P: "P";
|
|
3364
|
+
A: "A";
|
|
3365
|
+
S: "S";
|
|
3366
|
+
}>;
|
|
3367
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
3368
|
+
left: "left";
|
|
3369
|
+
center: "center";
|
|
3370
|
+
justify: "justify";
|
|
3371
|
+
}>>>;
|
|
3372
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
3373
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
3374
|
+
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
3375
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
3376
|
+
id: z.ZodString;
|
|
3377
|
+
value: z.ZodString;
|
|
3378
|
+
label: z.ZodString;
|
|
3379
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
3380
|
+
}, z.core.$strip>>;
|
|
2187
3381
|
columns: z.ZodArray<z.ZodObject<{
|
|
2188
3382
|
id: z.ZodString;
|
|
2189
3383
|
value: z.ZodString;
|
|
2190
3384
|
label: z.ZodString;
|
|
2191
3385
|
describe: z.ZodOptional<z.ZodString>;
|
|
2192
|
-
}, z.core.$strip>>;
|
|
2193
|
-
minSelectionsPerRow: z.ZodOptional<z.ZodNumber>;
|
|
2194
|
-
maxSelectionsPerRow: z.ZodOptional<z.ZodNumber>;
|
|
2195
|
-
randomizeRows: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2196
|
-
randomizeColumns: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3386
|
+
}, z.core.$strip>>;
|
|
3387
|
+
minSelectionsPerRow: z.ZodOptional<z.ZodNumber>;
|
|
3388
|
+
maxSelectionsPerRow: z.ZodOptional<z.ZodNumber>;
|
|
3389
|
+
randomizeRows: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3390
|
+
randomizeColumns: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3391
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3392
|
+
id: z.ZodString;
|
|
3393
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
3394
|
+
title: z.ZodString;
|
|
3395
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3396
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
3397
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
3398
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
3399
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
3400
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3401
|
+
type: z.ZodEnum<{
|
|
3402
|
+
custom: "custom";
|
|
3403
|
+
pattern: "pattern";
|
|
3404
|
+
email: "email";
|
|
3405
|
+
required: "required";
|
|
3406
|
+
min: "min";
|
|
3407
|
+
max: "max";
|
|
3408
|
+
minLength: "minLength";
|
|
3409
|
+
maxLength: "maxLength";
|
|
3410
|
+
url: "url";
|
|
3411
|
+
}>;
|
|
3412
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3413
|
+
message: z.ZodOptional<z.ZodString>;
|
|
3414
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
3415
|
+
}, z.core.$strip>>>>;
|
|
3416
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3417
|
+
field: z.ZodString;
|
|
3418
|
+
operator: z.ZodEnum<{
|
|
3419
|
+
equals: "equals";
|
|
3420
|
+
not_equals: "not_equals";
|
|
3421
|
+
contains: "contains";
|
|
3422
|
+
not_contains: "not_contains";
|
|
3423
|
+
greater_than: "greater_than";
|
|
3424
|
+
less_than: "less_than";
|
|
3425
|
+
is_empty: "is_empty";
|
|
3426
|
+
is_not_empty: "is_not_empty";
|
|
3427
|
+
}>;
|
|
3428
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3429
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
3430
|
+
}, z.core.$strip>>>>;
|
|
3431
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
3432
|
+
status: z.ZodEnum<{
|
|
3433
|
+
D: "D";
|
|
3434
|
+
P: "P";
|
|
3435
|
+
A: "A";
|
|
3436
|
+
S: "S";
|
|
3437
|
+
}>;
|
|
3438
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
3439
|
+
left: "left";
|
|
3440
|
+
center: "center";
|
|
3441
|
+
justify: "justify";
|
|
3442
|
+
}>>>;
|
|
3443
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
3444
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
3445
|
+
type: z.ZodLiteral<"single_choice">;
|
|
3446
|
+
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
3447
|
+
radio: "radio";
|
|
3448
|
+
list: "list";
|
|
3449
|
+
chip: "chip";
|
|
3450
|
+
dropdown: "dropdown";
|
|
3451
|
+
autosuggest: "autosuggest";
|
|
3452
|
+
}>>;
|
|
3453
|
+
allowOther: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3454
|
+
otherTextConfig: z.ZodOptional<z.ZodObject<{
|
|
3455
|
+
minChars: z.ZodOptional<z.ZodNumber>;
|
|
3456
|
+
maxChars: z.ZodOptional<z.ZodNumber>;
|
|
3457
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
3458
|
+
showLimitIndicatorThreshold: z.ZodOptional<z.ZodNumber>;
|
|
3459
|
+
}, z.core.$strip>>;
|
|
3460
|
+
randomizeOptions: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3461
|
+
options: z.ZodArray<z.ZodObject<{
|
|
3462
|
+
id: z.ZodString;
|
|
3463
|
+
value: z.ZodString;
|
|
3464
|
+
label: z.ZodString;
|
|
3465
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
3466
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
3467
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
3468
|
+
}, z.core.$strip>>;
|
|
3469
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3470
|
+
id: z.ZodString;
|
|
3471
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
3472
|
+
title: z.ZodString;
|
|
3473
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3474
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
3475
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
3476
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
3477
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
3478
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3479
|
+
type: z.ZodEnum<{
|
|
3480
|
+
custom: "custom";
|
|
3481
|
+
pattern: "pattern";
|
|
3482
|
+
email: "email";
|
|
3483
|
+
required: "required";
|
|
3484
|
+
min: "min";
|
|
3485
|
+
max: "max";
|
|
3486
|
+
minLength: "minLength";
|
|
3487
|
+
maxLength: "maxLength";
|
|
3488
|
+
url: "url";
|
|
3489
|
+
}>;
|
|
3490
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3491
|
+
message: z.ZodOptional<z.ZodString>;
|
|
3492
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
3493
|
+
}, z.core.$strip>>>>;
|
|
3494
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3495
|
+
field: z.ZodString;
|
|
3496
|
+
operator: z.ZodEnum<{
|
|
3497
|
+
equals: "equals";
|
|
3498
|
+
not_equals: "not_equals";
|
|
3499
|
+
contains: "contains";
|
|
3500
|
+
not_contains: "not_contains";
|
|
3501
|
+
greater_than: "greater_than";
|
|
3502
|
+
less_than: "less_than";
|
|
3503
|
+
is_empty: "is_empty";
|
|
3504
|
+
is_not_empty: "is_not_empty";
|
|
3505
|
+
}>;
|
|
3506
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3507
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
3508
|
+
}, z.core.$strip>>>>;
|
|
3509
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
3510
|
+
status: z.ZodEnum<{
|
|
3511
|
+
D: "D";
|
|
3512
|
+
P: "P";
|
|
3513
|
+
A: "A";
|
|
3514
|
+
S: "S";
|
|
3515
|
+
}>;
|
|
3516
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
3517
|
+
left: "left";
|
|
3518
|
+
center: "center";
|
|
3519
|
+
justify: "justify";
|
|
3520
|
+
}>>>;
|
|
3521
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
3522
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
3523
|
+
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
3524
|
+
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
3525
|
+
list: "list";
|
|
3526
|
+
chip: "chip";
|
|
3527
|
+
autosuggest: "autosuggest";
|
|
3528
|
+
checkbox: "checkbox";
|
|
3529
|
+
}>>;
|
|
3530
|
+
allowOther: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3531
|
+
otherTextConfig: z.ZodOptional<z.ZodObject<{
|
|
3532
|
+
minChars: z.ZodOptional<z.ZodNumber>;
|
|
3533
|
+
maxChars: z.ZodOptional<z.ZodNumber>;
|
|
3534
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
3535
|
+
showLimitIndicatorThreshold: z.ZodOptional<z.ZodNumber>;
|
|
3536
|
+
}, z.core.$strip>>;
|
|
3537
|
+
minSelections: z.ZodOptional<z.ZodNumber>;
|
|
3538
|
+
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
3539
|
+
randomizeOptions: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3540
|
+
options: z.ZodArray<z.ZodObject<{
|
|
3541
|
+
id: z.ZodString;
|
|
3542
|
+
value: z.ZodString;
|
|
3543
|
+
label: z.ZodString;
|
|
3544
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
3545
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
3546
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
3547
|
+
}, z.core.$strip>>;
|
|
3548
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3549
|
+
id: z.ZodString;
|
|
3550
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
3551
|
+
title: z.ZodString;
|
|
3552
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3553
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
3554
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
3555
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
3556
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
3557
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3558
|
+
type: z.ZodEnum<{
|
|
3559
|
+
custom: "custom";
|
|
3560
|
+
pattern: "pattern";
|
|
3561
|
+
email: "email";
|
|
3562
|
+
required: "required";
|
|
3563
|
+
min: "min";
|
|
3564
|
+
max: "max";
|
|
3565
|
+
minLength: "minLength";
|
|
3566
|
+
maxLength: "maxLength";
|
|
3567
|
+
url: "url";
|
|
3568
|
+
}>;
|
|
3569
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3570
|
+
message: z.ZodOptional<z.ZodString>;
|
|
3571
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
3572
|
+
}, z.core.$strip>>>>;
|
|
3573
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3574
|
+
field: z.ZodString;
|
|
3575
|
+
operator: z.ZodEnum<{
|
|
3576
|
+
equals: "equals";
|
|
3577
|
+
not_equals: "not_equals";
|
|
3578
|
+
contains: "contains";
|
|
3579
|
+
not_contains: "not_contains";
|
|
3580
|
+
greater_than: "greater_than";
|
|
3581
|
+
less_than: "less_than";
|
|
3582
|
+
is_empty: "is_empty";
|
|
3583
|
+
is_not_empty: "is_not_empty";
|
|
3584
|
+
}>;
|
|
3585
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3586
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
3587
|
+
}, z.core.$strip>>>>;
|
|
3588
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
3589
|
+
status: z.ZodEnum<{
|
|
3590
|
+
D: "D";
|
|
3591
|
+
P: "P";
|
|
3592
|
+
A: "A";
|
|
3593
|
+
S: "S";
|
|
3594
|
+
}>;
|
|
3595
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
3596
|
+
left: "left";
|
|
3597
|
+
center: "center";
|
|
3598
|
+
justify: "justify";
|
|
3599
|
+
}>>>;
|
|
3600
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
3601
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
3602
|
+
type: z.ZodLiteral<"nps">;
|
|
3603
|
+
min: z.ZodLiteral<0>;
|
|
3604
|
+
max: z.ZodLiteral<10>;
|
|
3605
|
+
minLabel: z.ZodOptional<z.ZodString>;
|
|
3606
|
+
maxLabel: z.ZodOptional<z.ZodString>;
|
|
3607
|
+
scaleLabels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3608
|
+
prepopulatedValue: z.ZodOptional<z.ZodNumber>;
|
|
3609
|
+
detractorColor: z.ZodOptional<z.ZodString>;
|
|
3610
|
+
passiveColor: z.ZodOptional<z.ZodString>;
|
|
3611
|
+
promoterColor: z.ZodOptional<z.ZodString>;
|
|
3612
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3613
|
+
id: z.ZodString;
|
|
3614
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
3615
|
+
title: z.ZodString;
|
|
3616
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3617
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
3618
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
3619
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
3620
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
3621
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3622
|
+
type: z.ZodEnum<{
|
|
3623
|
+
custom: "custom";
|
|
3624
|
+
pattern: "pattern";
|
|
3625
|
+
email: "email";
|
|
3626
|
+
required: "required";
|
|
3627
|
+
min: "min";
|
|
3628
|
+
max: "max";
|
|
3629
|
+
minLength: "minLength";
|
|
3630
|
+
maxLength: "maxLength";
|
|
3631
|
+
url: "url";
|
|
3632
|
+
}>;
|
|
3633
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3634
|
+
message: z.ZodOptional<z.ZodString>;
|
|
3635
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
3636
|
+
}, z.core.$strip>>>>;
|
|
3637
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3638
|
+
field: z.ZodString;
|
|
3639
|
+
operator: z.ZodEnum<{
|
|
3640
|
+
equals: "equals";
|
|
3641
|
+
not_equals: "not_equals";
|
|
3642
|
+
contains: "contains";
|
|
3643
|
+
not_contains: "not_contains";
|
|
3644
|
+
greater_than: "greater_than";
|
|
3645
|
+
less_than: "less_than";
|
|
3646
|
+
is_empty: "is_empty";
|
|
3647
|
+
is_not_empty: "is_not_empty";
|
|
3648
|
+
}>;
|
|
3649
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3650
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
3651
|
+
}, z.core.$strip>>>>;
|
|
3652
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
3653
|
+
status: z.ZodEnum<{
|
|
3654
|
+
D: "D";
|
|
3655
|
+
P: "P";
|
|
3656
|
+
A: "A";
|
|
3657
|
+
S: "S";
|
|
3658
|
+
}>;
|
|
3659
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
3660
|
+
left: "left";
|
|
3661
|
+
center: "center";
|
|
3662
|
+
justify: "justify";
|
|
3663
|
+
}>>>;
|
|
3664
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
3665
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
3666
|
+
type: z.ZodLiteral<"short_answer">;
|
|
3667
|
+
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
3668
|
+
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
3669
|
+
showLimitIndicatorThreshold: z.ZodOptional<z.ZodNumber>;
|
|
3670
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
3671
|
+
enableRegexValidation: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3672
|
+
regexPattern: z.ZodOptional<z.ZodString>;
|
|
3673
|
+
enableEnhanceWithAi: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3674
|
+
promptTemplate: z.ZodOptional<z.ZodString>;
|
|
3675
|
+
maxTokenAllowed: z.ZodOptional<z.ZodNumber>;
|
|
3676
|
+
minCharactersToEnhance: z.ZodOptional<z.ZodNumber>;
|
|
3677
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3678
|
+
id: z.ZodString;
|
|
3679
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
3680
|
+
title: z.ZodString;
|
|
3681
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3682
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
3683
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
3684
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
3685
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
3686
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3687
|
+
type: z.ZodEnum<{
|
|
3688
|
+
custom: "custom";
|
|
3689
|
+
pattern: "pattern";
|
|
3690
|
+
email: "email";
|
|
3691
|
+
required: "required";
|
|
3692
|
+
min: "min";
|
|
3693
|
+
max: "max";
|
|
3694
|
+
minLength: "minLength";
|
|
3695
|
+
maxLength: "maxLength";
|
|
3696
|
+
url: "url";
|
|
3697
|
+
}>;
|
|
3698
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3699
|
+
message: z.ZodOptional<z.ZodString>;
|
|
3700
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
3701
|
+
}, z.core.$strip>>>>;
|
|
3702
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3703
|
+
field: z.ZodString;
|
|
3704
|
+
operator: z.ZodEnum<{
|
|
3705
|
+
equals: "equals";
|
|
3706
|
+
not_equals: "not_equals";
|
|
3707
|
+
contains: "contains";
|
|
3708
|
+
not_contains: "not_contains";
|
|
3709
|
+
greater_than: "greater_than";
|
|
3710
|
+
less_than: "less_than";
|
|
3711
|
+
is_empty: "is_empty";
|
|
3712
|
+
is_not_empty: "is_not_empty";
|
|
3713
|
+
}>;
|
|
3714
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3715
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
3716
|
+
}, z.core.$strip>>>>;
|
|
3717
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
3718
|
+
status: z.ZodEnum<{
|
|
3719
|
+
D: "D";
|
|
3720
|
+
P: "P";
|
|
3721
|
+
A: "A";
|
|
3722
|
+
S: "S";
|
|
3723
|
+
}>;
|
|
3724
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
3725
|
+
left: "left";
|
|
3726
|
+
center: "center";
|
|
3727
|
+
justify: "justify";
|
|
3728
|
+
}>>>;
|
|
3729
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
3730
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
3731
|
+
type: z.ZodLiteral<"long_text">;
|
|
3732
|
+
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
3733
|
+
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
3734
|
+
showLimitIndicatorThreshold: z.ZodOptional<z.ZodNumber>;
|
|
3735
|
+
rows: z.ZodOptional<z.ZodNumber>;
|
|
3736
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
3737
|
+
enableEnhanceWithAi: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3738
|
+
promptTemplate: z.ZodOptional<z.ZodString>;
|
|
3739
|
+
maxTokenAllowed: z.ZodOptional<z.ZodNumber>;
|
|
3740
|
+
minCharactersToEnhance: z.ZodOptional<z.ZodNumber>;
|
|
3741
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3742
|
+
id: z.ZodString;
|
|
3743
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
3744
|
+
title: z.ZodString;
|
|
3745
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3746
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
3747
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
3748
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
3749
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
3750
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3751
|
+
type: z.ZodEnum<{
|
|
3752
|
+
custom: "custom";
|
|
3753
|
+
pattern: "pattern";
|
|
3754
|
+
email: "email";
|
|
3755
|
+
required: "required";
|
|
3756
|
+
min: "min";
|
|
3757
|
+
max: "max";
|
|
3758
|
+
minLength: "minLength";
|
|
3759
|
+
maxLength: "maxLength";
|
|
3760
|
+
url: "url";
|
|
3761
|
+
}>;
|
|
3762
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3763
|
+
message: z.ZodOptional<z.ZodString>;
|
|
3764
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
3765
|
+
}, z.core.$strip>>>>;
|
|
3766
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3767
|
+
field: z.ZodString;
|
|
3768
|
+
operator: z.ZodEnum<{
|
|
3769
|
+
equals: "equals";
|
|
3770
|
+
not_equals: "not_equals";
|
|
3771
|
+
contains: "contains";
|
|
3772
|
+
not_contains: "not_contains";
|
|
3773
|
+
greater_than: "greater_than";
|
|
3774
|
+
less_than: "less_than";
|
|
3775
|
+
is_empty: "is_empty";
|
|
3776
|
+
is_not_empty: "is_not_empty";
|
|
3777
|
+
}>;
|
|
3778
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3779
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
3780
|
+
}, z.core.$strip>>>>;
|
|
3781
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
3782
|
+
status: z.ZodEnum<{
|
|
3783
|
+
D: "D";
|
|
3784
|
+
P: "P";
|
|
3785
|
+
A: "A";
|
|
3786
|
+
S: "S";
|
|
3787
|
+
}>;
|
|
3788
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
3789
|
+
left: "left";
|
|
3790
|
+
center: "center";
|
|
3791
|
+
justify: "justify";
|
|
3792
|
+
}>>>;
|
|
3793
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
3794
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
3795
|
+
type: z.ZodLiteral<"nested_selection">;
|
|
3796
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
3797
|
+
options: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
3798
|
+
displayStyle: z.ZodLiteral<"list">;
|
|
3799
|
+
choiceOrderOption: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
3800
|
+
randomize: "randomize";
|
|
3801
|
+
flip: "flip";
|
|
3802
|
+
rotate: "rotate";
|
|
3803
|
+
ascending: "ascending";
|
|
3804
|
+
none: "none";
|
|
3805
|
+
}>>>;
|
|
3806
|
+
preserveLastChoices: z.ZodOptional<z.ZodNumber>;
|
|
3807
|
+
prepopulatedValue: z.ZodOptional<z.ZodString>;
|
|
3808
|
+
allowOther: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3809
|
+
otherColumnName: z.ZodOptional<z.ZodString>;
|
|
3810
|
+
maxDepth: z.ZodOptional<z.ZodNumber>;
|
|
3811
|
+
cascadeLabels: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3812
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3813
|
+
id: z.ZodString;
|
|
3814
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
3815
|
+
title: z.ZodString;
|
|
3816
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3817
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
3818
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
3819
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
3820
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
3821
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3822
|
+
type: z.ZodEnum<{
|
|
3823
|
+
custom: "custom";
|
|
3824
|
+
pattern: "pattern";
|
|
3825
|
+
email: "email";
|
|
3826
|
+
required: "required";
|
|
3827
|
+
min: "min";
|
|
3828
|
+
max: "max";
|
|
3829
|
+
minLength: "minLength";
|
|
3830
|
+
maxLength: "maxLength";
|
|
3831
|
+
url: "url";
|
|
3832
|
+
}>;
|
|
3833
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3834
|
+
message: z.ZodOptional<z.ZodString>;
|
|
3835
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
3836
|
+
}, z.core.$strip>>>>;
|
|
3837
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3838
|
+
field: z.ZodString;
|
|
3839
|
+
operator: z.ZodEnum<{
|
|
3840
|
+
equals: "equals";
|
|
3841
|
+
not_equals: "not_equals";
|
|
3842
|
+
contains: "contains";
|
|
3843
|
+
not_contains: "not_contains";
|
|
3844
|
+
greater_than: "greater_than";
|
|
3845
|
+
less_than: "less_than";
|
|
3846
|
+
is_empty: "is_empty";
|
|
3847
|
+
is_not_empty: "is_not_empty";
|
|
3848
|
+
}>;
|
|
3849
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3850
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
3851
|
+
}, z.core.$strip>>>>;
|
|
3852
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
3853
|
+
status: z.ZodEnum<{
|
|
3854
|
+
D: "D";
|
|
3855
|
+
P: "P";
|
|
3856
|
+
A: "A";
|
|
3857
|
+
S: "S";
|
|
3858
|
+
}>;
|
|
3859
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
3860
|
+
left: "left";
|
|
3861
|
+
center: "center";
|
|
3862
|
+
justify: "justify";
|
|
3863
|
+
}>>>;
|
|
3864
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
3865
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
3866
|
+
type: z.ZodLiteral<"date">;
|
|
3867
|
+
format: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
3868
|
+
"MM/DD/YYYY": "MM/DD/YYYY";
|
|
3869
|
+
"DD/MM/YYYY": "DD/MM/YYYY";
|
|
3870
|
+
"YYYY/MM/DD": "YYYY/MM/DD";
|
|
3871
|
+
}>>>;
|
|
3872
|
+
separator: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
3873
|
+
"/": "/";
|
|
3874
|
+
"-": "-";
|
|
3875
|
+
".": ".";
|
|
3876
|
+
}>>>;
|
|
3877
|
+
includeTime: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3878
|
+
minDate: z.ZodOptional<z.ZodString>;
|
|
3879
|
+
maxDate: z.ZodOptional<z.ZodString>;
|
|
3880
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
3881
|
+
prepopulatedValue: z.ZodOptional<z.ZodString>;
|
|
3882
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3883
|
+
id: z.ZodString;
|
|
3884
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
3885
|
+
title: z.ZodString;
|
|
3886
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3887
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
3888
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
3889
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
3890
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
3891
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3892
|
+
type: z.ZodEnum<{
|
|
3893
|
+
custom: "custom";
|
|
3894
|
+
pattern: "pattern";
|
|
3895
|
+
email: "email";
|
|
3896
|
+
required: "required";
|
|
3897
|
+
min: "min";
|
|
3898
|
+
max: "max";
|
|
3899
|
+
minLength: "minLength";
|
|
3900
|
+
maxLength: "maxLength";
|
|
3901
|
+
url: "url";
|
|
3902
|
+
}>;
|
|
3903
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3904
|
+
message: z.ZodOptional<z.ZodString>;
|
|
3905
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
3906
|
+
}, z.core.$strip>>>>;
|
|
3907
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3908
|
+
field: z.ZodString;
|
|
3909
|
+
operator: z.ZodEnum<{
|
|
3910
|
+
equals: "equals";
|
|
3911
|
+
not_equals: "not_equals";
|
|
3912
|
+
contains: "contains";
|
|
3913
|
+
not_contains: "not_contains";
|
|
3914
|
+
greater_than: "greater_than";
|
|
3915
|
+
less_than: "less_than";
|
|
3916
|
+
is_empty: "is_empty";
|
|
3917
|
+
is_not_empty: "is_not_empty";
|
|
3918
|
+
}>;
|
|
3919
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3920
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
3921
|
+
}, z.core.$strip>>>>;
|
|
3922
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
3923
|
+
status: z.ZodEnum<{
|
|
3924
|
+
D: "D";
|
|
3925
|
+
P: "P";
|
|
3926
|
+
A: "A";
|
|
3927
|
+
S: "S";
|
|
3928
|
+
}>;
|
|
3929
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
3930
|
+
left: "left";
|
|
3931
|
+
center: "center";
|
|
3932
|
+
justify: "justify";
|
|
3933
|
+
}>>>;
|
|
3934
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
3935
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
3936
|
+
type: z.ZodLiteral<"csat">;
|
|
3937
|
+
scale: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>]>>>;
|
|
3938
|
+
displayStyle: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
3939
|
+
emoji: "emoji";
|
|
3940
|
+
text: "text";
|
|
3941
|
+
}>>>;
|
|
3942
|
+
multicolor: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3943
|
+
negativeColor: z.ZodOptional<z.ZodString>;
|
|
3944
|
+
neutralColor: z.ZodOptional<z.ZodString>;
|
|
3945
|
+
positiveColor: z.ZodOptional<z.ZodString>;
|
|
3946
|
+
showLabels: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3947
|
+
scaleLabels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3948
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3949
|
+
id: z.ZodString;
|
|
3950
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
3951
|
+
title: z.ZodString;
|
|
3952
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3953
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
3954
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
3955
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
3956
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
3957
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3958
|
+
type: z.ZodEnum<{
|
|
3959
|
+
custom: "custom";
|
|
3960
|
+
pattern: "pattern";
|
|
3961
|
+
email: "email";
|
|
3962
|
+
required: "required";
|
|
3963
|
+
min: "min";
|
|
3964
|
+
max: "max";
|
|
3965
|
+
minLength: "minLength";
|
|
3966
|
+
maxLength: "maxLength";
|
|
3967
|
+
url: "url";
|
|
3968
|
+
}>;
|
|
3969
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3970
|
+
message: z.ZodOptional<z.ZodString>;
|
|
3971
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
3972
|
+
}, z.core.$strip>>>>;
|
|
3973
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3974
|
+
field: z.ZodString;
|
|
3975
|
+
operator: z.ZodEnum<{
|
|
3976
|
+
equals: "equals";
|
|
3977
|
+
not_equals: "not_equals";
|
|
3978
|
+
contains: "contains";
|
|
3979
|
+
not_contains: "not_contains";
|
|
3980
|
+
greater_than: "greater_than";
|
|
3981
|
+
less_than: "less_than";
|
|
3982
|
+
is_empty: "is_empty";
|
|
3983
|
+
is_not_empty: "is_not_empty";
|
|
3984
|
+
}>;
|
|
3985
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3986
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
3987
|
+
}, z.core.$strip>>>>;
|
|
3988
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
3989
|
+
status: z.ZodEnum<{
|
|
3990
|
+
D: "D";
|
|
3991
|
+
P: "P";
|
|
3992
|
+
A: "A";
|
|
3993
|
+
S: "S";
|
|
3994
|
+
}>;
|
|
3995
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
3996
|
+
left: "left";
|
|
3997
|
+
center: "center";
|
|
3998
|
+
justify: "justify";
|
|
3999
|
+
}>>>;
|
|
4000
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
4001
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
4002
|
+
type: z.ZodLiteral<"opinion_scale">;
|
|
4003
|
+
startValue: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>]>>>;
|
|
4004
|
+
steps: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
4005
|
+
minLabel: z.ZodOptional<z.ZodString>;
|
|
4006
|
+
maxLabel: z.ZodOptional<z.ZodString>;
|
|
4007
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4008
|
+
id: z.ZodString;
|
|
4009
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
4010
|
+
title: z.ZodString;
|
|
4011
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4012
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
4013
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
4014
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
4015
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
4016
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4017
|
+
type: z.ZodEnum<{
|
|
4018
|
+
custom: "custom";
|
|
4019
|
+
pattern: "pattern";
|
|
4020
|
+
email: "email";
|
|
4021
|
+
required: "required";
|
|
4022
|
+
min: "min";
|
|
4023
|
+
max: "max";
|
|
4024
|
+
minLength: "minLength";
|
|
4025
|
+
maxLength: "maxLength";
|
|
4026
|
+
url: "url";
|
|
4027
|
+
}>;
|
|
4028
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
4029
|
+
message: z.ZodOptional<z.ZodString>;
|
|
4030
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
4031
|
+
}, z.core.$strip>>>>;
|
|
4032
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4033
|
+
field: z.ZodString;
|
|
4034
|
+
operator: z.ZodEnum<{
|
|
4035
|
+
equals: "equals";
|
|
4036
|
+
not_equals: "not_equals";
|
|
4037
|
+
contains: "contains";
|
|
4038
|
+
not_contains: "not_contains";
|
|
4039
|
+
greater_than: "greater_than";
|
|
4040
|
+
less_than: "less_than";
|
|
4041
|
+
is_empty: "is_empty";
|
|
4042
|
+
is_not_empty: "is_not_empty";
|
|
4043
|
+
}>;
|
|
4044
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
4045
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
4046
|
+
}, z.core.$strip>>>>;
|
|
4047
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
4048
|
+
status: z.ZodEnum<{
|
|
4049
|
+
D: "D";
|
|
4050
|
+
P: "P";
|
|
4051
|
+
A: "A";
|
|
4052
|
+
S: "S";
|
|
4053
|
+
}>;
|
|
4054
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
4055
|
+
left: "left";
|
|
4056
|
+
center: "center";
|
|
4057
|
+
justify: "justify";
|
|
4058
|
+
}>>>;
|
|
4059
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
4060
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
4061
|
+
type: z.ZodLiteral<"ranking">;
|
|
4062
|
+
options: z.ZodArray<z.ZodObject<{
|
|
4063
|
+
id: z.ZodString;
|
|
4064
|
+
value: z.ZodString;
|
|
4065
|
+
label: z.ZodString;
|
|
4066
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
4067
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
4068
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
4069
|
+
}, z.core.$strip>>;
|
|
4070
|
+
randomizeOptions: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
4071
|
+
displayStyle: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
4072
|
+
dropdown: "dropdown";
|
|
4073
|
+
drag_drop: "drag_drop";
|
|
4074
|
+
up_down: "up_down";
|
|
4075
|
+
}>>>;
|
|
4076
|
+
maxRank: z.ZodOptional<z.ZodNumber>;
|
|
4077
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4078
|
+
id: z.ZodString;
|
|
4079
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
4080
|
+
title: z.ZodString;
|
|
4081
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4082
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
4083
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
4084
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
4085
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
4086
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4087
|
+
type: z.ZodEnum<{
|
|
4088
|
+
custom: "custom";
|
|
4089
|
+
pattern: "pattern";
|
|
4090
|
+
email: "email";
|
|
4091
|
+
required: "required";
|
|
4092
|
+
min: "min";
|
|
4093
|
+
max: "max";
|
|
4094
|
+
minLength: "minLength";
|
|
4095
|
+
maxLength: "maxLength";
|
|
4096
|
+
url: "url";
|
|
4097
|
+
}>;
|
|
4098
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
4099
|
+
message: z.ZodOptional<z.ZodString>;
|
|
4100
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
4101
|
+
}, z.core.$strip>>>>;
|
|
4102
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4103
|
+
field: z.ZodString;
|
|
4104
|
+
operator: z.ZodEnum<{
|
|
4105
|
+
equals: "equals";
|
|
4106
|
+
not_equals: "not_equals";
|
|
4107
|
+
contains: "contains";
|
|
4108
|
+
not_contains: "not_contains";
|
|
4109
|
+
greater_than: "greater_than";
|
|
4110
|
+
less_than: "less_than";
|
|
4111
|
+
is_empty: "is_empty";
|
|
4112
|
+
is_not_empty: "is_not_empty";
|
|
4113
|
+
}>;
|
|
4114
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
4115
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
4116
|
+
}, z.core.$strip>>>>;
|
|
4117
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
4118
|
+
status: z.ZodEnum<{
|
|
4119
|
+
D: "D";
|
|
4120
|
+
P: "P";
|
|
4121
|
+
A: "A";
|
|
4122
|
+
S: "S";
|
|
4123
|
+
}>;
|
|
4124
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
4125
|
+
left: "left";
|
|
4126
|
+
center: "center";
|
|
4127
|
+
justify: "justify";
|
|
4128
|
+
}>>>;
|
|
4129
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
4130
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
4131
|
+
type: z.ZodLiteral<"picture_choice">;
|
|
4132
|
+
options: z.ZodArray<z.ZodObject<{
|
|
4133
|
+
id: z.ZodString;
|
|
4134
|
+
value: z.ZodString;
|
|
4135
|
+
label: z.ZodString;
|
|
4136
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
4137
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
4138
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
4139
|
+
}, z.core.$strip>>;
|
|
4140
|
+
multiple: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
4141
|
+
minSelections: z.ZodOptional<z.ZodNumber>;
|
|
4142
|
+
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
4143
|
+
supersize: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
4144
|
+
showLabels: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
4145
|
+
randomizeOptions: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
4146
|
+
allowOther: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
4147
|
+
otherTextConfig: z.ZodOptional<z.ZodObject<{
|
|
4148
|
+
minChars: z.ZodOptional<z.ZodNumber>;
|
|
4149
|
+
maxChars: z.ZodOptional<z.ZodNumber>;
|
|
4150
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
4151
|
+
showLimitIndicatorThreshold: z.ZodOptional<z.ZodNumber>;
|
|
4152
|
+
}, z.core.$strip>>;
|
|
4153
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4154
|
+
id: z.ZodString;
|
|
4155
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
4156
|
+
title: z.ZodString;
|
|
4157
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4158
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
4159
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
4160
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
4161
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
4162
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4163
|
+
type: z.ZodEnum<{
|
|
4164
|
+
custom: "custom";
|
|
4165
|
+
pattern: "pattern";
|
|
4166
|
+
email: "email";
|
|
4167
|
+
required: "required";
|
|
4168
|
+
min: "min";
|
|
4169
|
+
max: "max";
|
|
4170
|
+
minLength: "minLength";
|
|
4171
|
+
maxLength: "maxLength";
|
|
4172
|
+
url: "url";
|
|
4173
|
+
}>;
|
|
4174
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
4175
|
+
message: z.ZodOptional<z.ZodString>;
|
|
4176
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
4177
|
+
}, z.core.$strip>>>>;
|
|
4178
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4179
|
+
field: z.ZodString;
|
|
4180
|
+
operator: z.ZodEnum<{
|
|
4181
|
+
equals: "equals";
|
|
4182
|
+
not_equals: "not_equals";
|
|
4183
|
+
contains: "contains";
|
|
4184
|
+
not_contains: "not_contains";
|
|
4185
|
+
greater_than: "greater_than";
|
|
4186
|
+
less_than: "less_than";
|
|
4187
|
+
is_empty: "is_empty";
|
|
4188
|
+
is_not_empty: "is_not_empty";
|
|
4189
|
+
}>;
|
|
4190
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
4191
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
4192
|
+
}, z.core.$strip>>>>;
|
|
4193
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
4194
|
+
status: z.ZodEnum<{
|
|
4195
|
+
D: "D";
|
|
4196
|
+
P: "P";
|
|
4197
|
+
A: "A";
|
|
4198
|
+
S: "S";
|
|
4199
|
+
}>;
|
|
4200
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
4201
|
+
left: "left";
|
|
4202
|
+
center: "center";
|
|
4203
|
+
justify: "justify";
|
|
4204
|
+
}>>>;
|
|
4205
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
4206
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
4207
|
+
type: z.ZodLiteral<"signature">;
|
|
4208
|
+
allowedModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4209
|
+
type: "type";
|
|
4210
|
+
draw: "draw";
|
|
4211
|
+
upload: "upload";
|
|
4212
|
+
}>>>;
|
|
4213
|
+
defaultMode: z.ZodOptional<z.ZodEnum<{
|
|
4214
|
+
type: "type";
|
|
4215
|
+
draw: "draw";
|
|
4216
|
+
upload: "upload";
|
|
4217
|
+
}>>;
|
|
4218
|
+
collectSignerEmail: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
4219
|
+
signerEmailFieldId: z.ZodOptional<z.ZodString>;
|
|
4220
|
+
penColor: z.ZodOptional<z.ZodString>;
|
|
4221
|
+
penWidth: z.ZodOptional<z.ZodNumber>;
|
|
4222
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
4223
|
+
canvasHeight: z.ZodOptional<z.ZodNumber>;
|
|
4224
|
+
clearButtonLabel: z.ZodOptional<z.ZodString>;
|
|
4225
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4226
|
+
id: z.ZodString;
|
|
4227
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
4228
|
+
title: z.ZodString;
|
|
4229
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4230
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
4231
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
4232
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
4233
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
4234
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4235
|
+
type: z.ZodEnum<{
|
|
4236
|
+
custom: "custom";
|
|
4237
|
+
pattern: "pattern";
|
|
4238
|
+
email: "email";
|
|
4239
|
+
required: "required";
|
|
4240
|
+
min: "min";
|
|
4241
|
+
max: "max";
|
|
4242
|
+
minLength: "minLength";
|
|
4243
|
+
maxLength: "maxLength";
|
|
4244
|
+
url: "url";
|
|
4245
|
+
}>;
|
|
4246
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
4247
|
+
message: z.ZodOptional<z.ZodString>;
|
|
4248
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
4249
|
+
}, z.core.$strip>>>>;
|
|
4250
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4251
|
+
field: z.ZodString;
|
|
4252
|
+
operator: z.ZodEnum<{
|
|
4253
|
+
equals: "equals";
|
|
4254
|
+
not_equals: "not_equals";
|
|
4255
|
+
contains: "contains";
|
|
4256
|
+
not_contains: "not_contains";
|
|
4257
|
+
greater_than: "greater_than";
|
|
4258
|
+
less_than: "less_than";
|
|
4259
|
+
is_empty: "is_empty";
|
|
4260
|
+
is_not_empty: "is_not_empty";
|
|
4261
|
+
}>;
|
|
4262
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
4263
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
4264
|
+
}, z.core.$strip>>>>;
|
|
4265
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
4266
|
+
status: z.ZodEnum<{
|
|
4267
|
+
D: "D";
|
|
4268
|
+
P: "P";
|
|
4269
|
+
A: "A";
|
|
4270
|
+
S: "S";
|
|
4271
|
+
}>;
|
|
4272
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
4273
|
+
left: "left";
|
|
4274
|
+
center: "center";
|
|
4275
|
+
justify: "justify";
|
|
4276
|
+
}>>>;
|
|
4277
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
4278
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
4279
|
+
type: z.ZodLiteral<"file_upload">;
|
|
4280
|
+
allowedFileTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4281
|
+
maxFileSizeMb: z.ZodOptional<z.ZodNumber>;
|
|
4282
|
+
multiple: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
4283
|
+
maxFiles: z.ZodOptional<z.ZodNumber>;
|
|
4284
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
2197
4285
|
}, z.core.$strip>, z.ZodObject<{
|
|
2198
4286
|
id: z.ZodString;
|
|
2199
4287
|
slug: z.ZodOptional<z.ZodString>;
|
|
@@ -2207,12 +4295,12 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2207
4295
|
type: z.ZodEnum<{
|
|
2208
4296
|
custom: "custom";
|
|
2209
4297
|
pattern: "pattern";
|
|
4298
|
+
email: "email";
|
|
2210
4299
|
required: "required";
|
|
2211
4300
|
min: "min";
|
|
2212
4301
|
max: "max";
|
|
2213
4302
|
minLength: "minLength";
|
|
2214
4303
|
maxLength: "maxLength";
|
|
2215
|
-
email: "email";
|
|
2216
4304
|
url: "url";
|
|
2217
4305
|
}>;
|
|
2218
4306
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
@@ -2247,27 +4335,10 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2247
4335
|
justify: "justify";
|
|
2248
4336
|
}>>>;
|
|
2249
4337
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
chip: "chip";
|
|
2255
|
-
dropdown: "dropdown";
|
|
2256
|
-
}>>;
|
|
2257
|
-
allowOther: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2258
|
-
otherTextConfig: z.ZodOptional<z.ZodObject<{
|
|
2259
|
-
minChars: z.ZodOptional<z.ZodNumber>;
|
|
2260
|
-
maxChars: z.ZodOptional<z.ZodNumber>;
|
|
2261
|
-
placeholder: z.ZodOptional<z.ZodString>;
|
|
2262
|
-
}, z.core.$strip>>;
|
|
2263
|
-
randomizeOptions: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2264
|
-
options: z.ZodArray<z.ZodObject<{
|
|
2265
|
-
id: z.ZodString;
|
|
2266
|
-
value: z.ZodString;
|
|
2267
|
-
label: z.ZodString;
|
|
2268
|
-
describe: z.ZodOptional<z.ZodString>;
|
|
2269
|
-
imageUrl: z.ZodOptional<z.ZodString>;
|
|
2270
|
-
}, z.core.$strip>>;
|
|
4338
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
4339
|
+
type: z.ZodLiteral<"email">;
|
|
4340
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
4341
|
+
prepopulatedValue: z.ZodOptional<z.ZodString>;
|
|
2271
4342
|
}, z.core.$strip>, z.ZodObject<{
|
|
2272
4343
|
id: z.ZodString;
|
|
2273
4344
|
slug: z.ZodOptional<z.ZodString>;
|
|
@@ -2281,12 +4352,12 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2281
4352
|
type: z.ZodEnum<{
|
|
2282
4353
|
custom: "custom";
|
|
2283
4354
|
pattern: "pattern";
|
|
4355
|
+
email: "email";
|
|
2284
4356
|
required: "required";
|
|
2285
4357
|
min: "min";
|
|
2286
4358
|
max: "max";
|
|
2287
4359
|
minLength: "minLength";
|
|
2288
4360
|
maxLength: "maxLength";
|
|
2289
|
-
email: "email";
|
|
2290
4361
|
url: "url";
|
|
2291
4362
|
}>;
|
|
2292
4363
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
@@ -2321,28 +4392,15 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2321
4392
|
justify: "justify";
|
|
2322
4393
|
}>>>;
|
|
2323
4394
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
maxChars: z.ZodOptional<z.ZodNumber>;
|
|
2334
|
-
placeholder: z.ZodOptional<z.ZodString>;
|
|
2335
|
-
}, z.core.$strip>>;
|
|
2336
|
-
minSelections: z.ZodOptional<z.ZodNumber>;
|
|
2337
|
-
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
2338
|
-
randomizeOptions: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2339
|
-
options: z.ZodArray<z.ZodObject<{
|
|
2340
|
-
id: z.ZodString;
|
|
2341
|
-
value: z.ZodString;
|
|
2342
|
-
label: z.ZodString;
|
|
2343
|
-
describe: z.ZodOptional<z.ZodString>;
|
|
2344
|
-
imageUrl: z.ZodOptional<z.ZodString>;
|
|
2345
|
-
}, z.core.$strip>>;
|
|
4395
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
4396
|
+
type: z.ZodLiteral<"number">;
|
|
4397
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
4398
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
4399
|
+
allowDecimal: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
4400
|
+
allowNegative: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
4401
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
4402
|
+
prepopulatedValue: z.ZodOptional<z.ZodNumber>;
|
|
4403
|
+
unit: z.ZodOptional<z.ZodString>;
|
|
2346
4404
|
}, z.core.$strip>, z.ZodObject<{
|
|
2347
4405
|
id: z.ZodString;
|
|
2348
4406
|
slug: z.ZodOptional<z.ZodString>;
|
|
@@ -2356,12 +4414,12 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2356
4414
|
type: z.ZodEnum<{
|
|
2357
4415
|
custom: "custom";
|
|
2358
4416
|
pattern: "pattern";
|
|
4417
|
+
email: "email";
|
|
2359
4418
|
required: "required";
|
|
2360
4419
|
min: "min";
|
|
2361
4420
|
max: "max";
|
|
2362
4421
|
minLength: "minLength";
|
|
2363
4422
|
maxLength: "maxLength";
|
|
2364
|
-
email: "email";
|
|
2365
4423
|
url: "url";
|
|
2366
4424
|
}>;
|
|
2367
4425
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
@@ -2396,13 +4454,10 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2396
4454
|
justify: "justify";
|
|
2397
4455
|
}>>>;
|
|
2398
4456
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
maxLabel: z.ZodOptional<z.ZodString>;
|
|
2404
|
-
scaleLabels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2405
|
-
prepopulatedValue: z.ZodOptional<z.ZodNumber>;
|
|
4457
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
4458
|
+
type: z.ZodLiteral<"website">;
|
|
4459
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
4460
|
+
prepopulatedValue: z.ZodOptional<z.ZodString>;
|
|
2406
4461
|
}, z.core.$strip>, z.ZodObject<{
|
|
2407
4462
|
id: z.ZodString;
|
|
2408
4463
|
slug: z.ZodOptional<z.ZodString>;
|
|
@@ -2416,12 +4471,12 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2416
4471
|
type: z.ZodEnum<{
|
|
2417
4472
|
custom: "custom";
|
|
2418
4473
|
pattern: "pattern";
|
|
4474
|
+
email: "email";
|
|
2419
4475
|
required: "required";
|
|
2420
4476
|
min: "min";
|
|
2421
4477
|
max: "max";
|
|
2422
4478
|
minLength: "minLength";
|
|
2423
4479
|
maxLength: "maxLength";
|
|
2424
|
-
email: "email";
|
|
2425
4480
|
url: "url";
|
|
2426
4481
|
}>;
|
|
2427
4482
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
@@ -2456,16 +4511,12 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2456
4511
|
justify: "justify";
|
|
2457
4512
|
}>>>;
|
|
2458
4513
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
4514
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
4515
|
+
type: z.ZodLiteral<"phone_number">;
|
|
4516
|
+
defaultCountryCode: z.ZodOptional<z.ZodString>;
|
|
4517
|
+
allowCountryChange: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2462
4518
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
2463
|
-
|
|
2464
|
-
regexPattern: z.ZodOptional<z.ZodString>;
|
|
2465
|
-
enableEnhanceWithAi: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2466
|
-
promptTemplate: z.ZodOptional<z.ZodString>;
|
|
2467
|
-
maxTokenAllowed: z.ZodOptional<z.ZodNumber>;
|
|
2468
|
-
minCharactersToEnhance: z.ZodOptional<z.ZodNumber>;
|
|
4519
|
+
prepopulatedValue: z.ZodOptional<z.ZodString>;
|
|
2469
4520
|
}, z.core.$strip>, z.ZodObject<{
|
|
2470
4521
|
id: z.ZodString;
|
|
2471
4522
|
slug: z.ZodOptional<z.ZodString>;
|
|
@@ -2479,12 +4530,98 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2479
4530
|
type: z.ZodEnum<{
|
|
2480
4531
|
custom: "custom";
|
|
2481
4532
|
pattern: "pattern";
|
|
4533
|
+
email: "email";
|
|
2482
4534
|
required: "required";
|
|
2483
4535
|
min: "min";
|
|
2484
4536
|
max: "max";
|
|
2485
4537
|
minLength: "minLength";
|
|
2486
4538
|
maxLength: "maxLength";
|
|
4539
|
+
url: "url";
|
|
4540
|
+
}>;
|
|
4541
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
4542
|
+
message: z.ZodOptional<z.ZodString>;
|
|
4543
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
4544
|
+
}, z.core.$strip>>>>;
|
|
4545
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4546
|
+
field: z.ZodString;
|
|
4547
|
+
operator: z.ZodEnum<{
|
|
4548
|
+
equals: "equals";
|
|
4549
|
+
not_equals: "not_equals";
|
|
4550
|
+
contains: "contains";
|
|
4551
|
+
not_contains: "not_contains";
|
|
4552
|
+
greater_than: "greater_than";
|
|
4553
|
+
less_than: "less_than";
|
|
4554
|
+
is_empty: "is_empty";
|
|
4555
|
+
is_not_empty: "is_not_empty";
|
|
4556
|
+
}>;
|
|
4557
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
4558
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
4559
|
+
}, z.core.$strip>>>>;
|
|
4560
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
4561
|
+
status: z.ZodEnum<{
|
|
4562
|
+
D: "D";
|
|
4563
|
+
P: "P";
|
|
4564
|
+
A: "A";
|
|
4565
|
+
S: "S";
|
|
4566
|
+
}>;
|
|
4567
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
4568
|
+
left: "left";
|
|
4569
|
+
center: "center";
|
|
4570
|
+
justify: "justify";
|
|
4571
|
+
}>>>;
|
|
4572
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
4573
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
4574
|
+
type: z.ZodLiteral<"address">;
|
|
4575
|
+
addressLine1: z.ZodOptional<z.ZodObject<{
|
|
4576
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
4577
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
4578
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
4579
|
+
}, z.core.$strip>>;
|
|
4580
|
+
addressLine2: z.ZodOptional<z.ZodObject<{
|
|
4581
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
4582
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
4583
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
4584
|
+
}, z.core.$strip>>;
|
|
4585
|
+
city: z.ZodOptional<z.ZodObject<{
|
|
4586
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
4587
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
4588
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
4589
|
+
}, z.core.$strip>>;
|
|
4590
|
+
stateProvince: z.ZodOptional<z.ZodObject<{
|
|
4591
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
4592
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
4593
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
4594
|
+
}, z.core.$strip>>;
|
|
4595
|
+
postalCode: z.ZodOptional<z.ZodObject<{
|
|
4596
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
4597
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
4598
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
4599
|
+
}, z.core.$strip>>;
|
|
4600
|
+
country: z.ZodOptional<z.ZodObject<{
|
|
4601
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
4602
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
4603
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
4604
|
+
}, z.core.$strip>>;
|
|
4605
|
+
defaultCountry: z.ZodOptional<z.ZodString>;
|
|
4606
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4607
|
+
id: z.ZodString;
|
|
4608
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
4609
|
+
title: z.ZodString;
|
|
4610
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4611
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
4612
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
4613
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
4614
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
4615
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4616
|
+
type: z.ZodEnum<{
|
|
4617
|
+
custom: "custom";
|
|
4618
|
+
pattern: "pattern";
|
|
2487
4619
|
email: "email";
|
|
4620
|
+
required: "required";
|
|
4621
|
+
min: "min";
|
|
4622
|
+
max: "max";
|
|
4623
|
+
minLength: "minLength";
|
|
4624
|
+
maxLength: "maxLength";
|
|
2488
4625
|
url: "url";
|
|
2489
4626
|
}>;
|
|
2490
4627
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
@@ -2519,15 +4656,22 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2519
4656
|
justify: "justify";
|
|
2520
4657
|
}>>>;
|
|
2521
4658
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
4659
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
4660
|
+
type: z.ZodLiteral<"video_audio">;
|
|
4661
|
+
allowedModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4662
|
+
text: "text";
|
|
4663
|
+
video: "video";
|
|
4664
|
+
audio: "audio";
|
|
4665
|
+
}>>>;
|
|
4666
|
+
defaultMode: z.ZodOptional<z.ZodEnum<{
|
|
4667
|
+
text: "text";
|
|
4668
|
+
video: "video";
|
|
4669
|
+
audio: "audio";
|
|
4670
|
+
}>>;
|
|
4671
|
+
maxDurationSeconds: z.ZodOptional<z.ZodNumber>;
|
|
4672
|
+
maxFileSizeMb: z.ZodOptional<z.ZodNumber>;
|
|
4673
|
+
allowUpload: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2526
4674
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
2527
|
-
enableEnhanceWithAi: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2528
|
-
promptTemplate: z.ZodOptional<z.ZodString>;
|
|
2529
|
-
maxTokenAllowed: z.ZodOptional<z.ZodNumber>;
|
|
2530
|
-
minCharactersToEnhance: z.ZodOptional<z.ZodNumber>;
|
|
2531
4675
|
}, z.core.$strip>, z.ZodObject<{
|
|
2532
4676
|
id: z.ZodString;
|
|
2533
4677
|
slug: z.ZodOptional<z.ZodString>;
|
|
@@ -2541,12 +4685,12 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2541
4685
|
type: z.ZodEnum<{
|
|
2542
4686
|
custom: "custom";
|
|
2543
4687
|
pattern: "pattern";
|
|
4688
|
+
email: "email";
|
|
2544
4689
|
required: "required";
|
|
2545
4690
|
min: "min";
|
|
2546
4691
|
max: "max";
|
|
2547
4692
|
minLength: "minLength";
|
|
2548
4693
|
maxLength: "maxLength";
|
|
2549
|
-
email: "email";
|
|
2550
4694
|
url: "url";
|
|
2551
4695
|
}>;
|
|
2552
4696
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
@@ -2581,22 +4725,76 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2581
4725
|
justify: "justify";
|
|
2582
4726
|
}>>>;
|
|
2583
4727
|
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
2584
|
-
|
|
4728
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
4729
|
+
type: z.ZodLiteral<"scheduler">;
|
|
4730
|
+
provider: z.ZodOptional<z.ZodEnum<{
|
|
4731
|
+
google_calendar: "google_calendar";
|
|
4732
|
+
calendly: "calendly";
|
|
4733
|
+
}>>;
|
|
4734
|
+
calendarId: z.ZodOptional<z.ZodString>;
|
|
4735
|
+
showIntroScreen: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
4736
|
+
autofillNameFieldId: z.ZodOptional<z.ZodString>;
|
|
4737
|
+
autofillEmailFieldId: z.ZodOptional<z.ZodString>;
|
|
2585
4738
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
4739
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4740
|
+
id: z.ZodString;
|
|
4741
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
4742
|
+
title: z.ZodString;
|
|
4743
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4744
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
4745
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
4746
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
4747
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
4748
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4749
|
+
type: z.ZodEnum<{
|
|
4750
|
+
custom: "custom";
|
|
4751
|
+
pattern: "pattern";
|
|
4752
|
+
email: "email";
|
|
4753
|
+
required: "required";
|
|
4754
|
+
min: "min";
|
|
4755
|
+
max: "max";
|
|
4756
|
+
minLength: "minLength";
|
|
4757
|
+
maxLength: "maxLength";
|
|
4758
|
+
url: "url";
|
|
4759
|
+
}>;
|
|
4760
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
4761
|
+
message: z.ZodOptional<z.ZodString>;
|
|
4762
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
4763
|
+
}, z.core.$strip>>>>;
|
|
4764
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4765
|
+
field: z.ZodString;
|
|
4766
|
+
operator: z.ZodEnum<{
|
|
4767
|
+
equals: "equals";
|
|
4768
|
+
not_equals: "not_equals";
|
|
4769
|
+
contains: "contains";
|
|
4770
|
+
not_contains: "not_contains";
|
|
4771
|
+
greater_than: "greater_than";
|
|
4772
|
+
less_than: "less_than";
|
|
4773
|
+
is_empty: "is_empty";
|
|
4774
|
+
is_not_empty: "is_not_empty";
|
|
4775
|
+
}>;
|
|
4776
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
4777
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
4778
|
+
}, z.core.$strip>>>>;
|
|
4779
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
4780
|
+
status: z.ZodEnum<{
|
|
4781
|
+
D: "D";
|
|
4782
|
+
P: "P";
|
|
4783
|
+
A: "A";
|
|
4784
|
+
S: "S";
|
|
4785
|
+
}>;
|
|
4786
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
4787
|
+
left: "left";
|
|
4788
|
+
center: "center";
|
|
4789
|
+
justify: "justify";
|
|
2594
4790
|
}>>>;
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
4791
|
+
nextButtonLabel: z.ZodDefault<z.ZodString>;
|
|
4792
|
+
showQuestionTitle: z.ZodDefault<z.ZodBoolean>;
|
|
4793
|
+
type: z.ZodLiteral<"qna_with_ai">;
|
|
4794
|
+
knowledgeBase: z.ZodString;
|
|
4795
|
+
maxResponseLength: z.ZodOptional<z.ZodNumber>;
|
|
4796
|
+
maxQaPairs: z.ZodOptional<z.ZodNumber>;
|
|
4797
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
4798
|
+
askButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2601
4799
|
}, z.core.$strip>], "type">;
|
|
2602
|
-
export type CombinedQuestion = z.infer<typeof ratingQuestionSchema> | z.infer<typeof annotationQuestionSchema> | z.infer<typeof welcomeQuestionSchema> | z.infer<typeof thankYouQuestionSchema> | z.infer<typeof messagePanelQuestionSchema> | z.infer<typeof exitFormQuestionSchema> | z.infer<typeof yesNoQuestionSchema> | z.infer<typeof consentQuestionSchema> | z.infer<typeof ratingMatrixQuestionSchema> | z.infer<typeof matrixSingleChoiceQuestionSchema> | z.infer<typeof matrixMultipleChoiceQuestionSchema> | z.infer<typeof multipleChoiceSingleQuestionSchema> | z.infer<typeof multipleChoiceMultipleQuestionSchema> | z.infer<typeof npsQuestionSchema> | z.infer<typeof shortAnswerQuestionSchema> | z.infer<typeof longAnswerQuestionSchema> | z.infer<typeof nestedDropdownQuestionSchema>;
|
|
4800
|
+
export type CombinedQuestion = z.infer<typeof ratingQuestionSchema> | z.infer<typeof annotationQuestionSchema> | z.infer<typeof welcomeQuestionSchema> | z.infer<typeof thankYouQuestionSchema> | z.infer<typeof messagePanelQuestionSchema> | z.infer<typeof exitFormQuestionSchema> | z.infer<typeof yesNoQuestionSchema> | z.infer<typeof consentQuestionSchema> | z.infer<typeof ratingMatrixQuestionSchema> | z.infer<typeof matrixSingleChoiceQuestionSchema> | z.infer<typeof matrixMultipleChoiceQuestionSchema> | z.infer<typeof multipleChoiceSingleQuestionSchema> | z.infer<typeof multipleChoiceMultipleQuestionSchema> | z.infer<typeof npsQuestionSchema> | z.infer<typeof shortAnswerQuestionSchema> | z.infer<typeof longAnswerQuestionSchema> | z.infer<typeof nestedDropdownQuestionSchema> | z.infer<typeof dateQuestionSchema> | z.infer<typeof csatQuestionSchema> | z.infer<typeof opinionScaleQuestionSchema> | z.infer<typeof rankingQuestionSchema> | z.infer<typeof pictureChoiceQuestionSchema> | z.infer<typeof signatureQuestionSchema> | z.infer<typeof fileUploadQuestionSchema> | z.infer<typeof emailQuestionSchema> | z.infer<typeof numberQuestionSchema> | z.infer<typeof websiteQuestionSchema> | z.infer<typeof phoneNumberQuestionSchema> | z.infer<typeof addressQuestionSchema> | z.infer<typeof videoAudioQuestionSchema> | z.infer<typeof schedulerQuestionSchema> | z.infer<typeof qnaWithAiQuestionSchema>;
|