@encatch/schema 1.0.0 → 1.0.1-beta.1
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 +344 -82
- package/dist/esm/index.js.map +3 -3
- package/dist/types/index.d.ts +2 -2
- package/dist/types/schemas/api/fetch-feedback-schema.d.ts +997 -150
- package/dist/types/schemas/api/refine-text-schema.d.ts +7 -12
- package/dist/types/schemas/api/submit-feedback-schema.d.ts +24 -0
- package/dist/types/schemas/fields/answer-schema.d.ts +8 -0
- package/dist/types/schemas/fields/app-props-schema.d.ts +490 -13
- package/dist/types/schemas/fields/field-schema.d.ts +1091 -160
- package/dist/types/schemas/fields/form-properties-schema.d.ts +497 -13
- package/dist/types/schemas/fields/theme-schema.d.ts +25 -0
- package/dist/types/schemas/fields/translations-schema.d.ts +350 -44
- package/package.json +1 -1
|
@@ -8,6 +8,13 @@ export declare const questionTypeSchema: z.ZodEnum<{
|
|
|
8
8
|
short_answer: "short_answer";
|
|
9
9
|
long_text: "long_text";
|
|
10
10
|
annotation: "annotation";
|
|
11
|
+
welcome: "welcome";
|
|
12
|
+
thank_you: "thank_you";
|
|
13
|
+
message_panel: "message_panel";
|
|
14
|
+
yes_no: "yes_no";
|
|
15
|
+
rating_matrix: "rating_matrix";
|
|
16
|
+
matrix_single_choice: "matrix_single_choice";
|
|
17
|
+
matrix_multiple_choice: "matrix_multiple_choice";
|
|
11
18
|
}>;
|
|
12
19
|
export declare const QuestionTypes: {
|
|
13
20
|
readonly RATING: "rating";
|
|
@@ -18,6 +25,13 @@ export declare const QuestionTypes: {
|
|
|
18
25
|
readonly SHORT_ANSWER: "short_answer";
|
|
19
26
|
readonly LONG_TEXT: "long_text";
|
|
20
27
|
readonly ANNOTATION: "annotation";
|
|
28
|
+
readonly WELCOME: "welcome";
|
|
29
|
+
readonly THANK_YOU: "thank_you";
|
|
30
|
+
readonly MESSAGE_PANEL: "message_panel";
|
|
31
|
+
readonly YES_NO: "yes_no";
|
|
32
|
+
readonly RATING_MATRIX: "rating_matrix";
|
|
33
|
+
readonly MATRIX_SINGLE_CHOICE: "matrix_single_choice";
|
|
34
|
+
readonly MATRIX_MULTIPLE_CHOICE: "matrix_multiple_choice";
|
|
21
35
|
};
|
|
22
36
|
export declare const validationRuleTypeSchema: z.ZodEnum<{
|
|
23
37
|
required: "required";
|
|
@@ -157,6 +171,14 @@ export declare const MultipleChoiceMultipleDisplayStyles: {
|
|
|
157
171
|
readonly LIST: "list";
|
|
158
172
|
readonly CHIP: "chip";
|
|
159
173
|
};
|
|
174
|
+
export declare const yesNoDisplayStyleSchema: z.ZodEnum<{
|
|
175
|
+
horizontal: "horizontal";
|
|
176
|
+
vertical: "vertical";
|
|
177
|
+
}>;
|
|
178
|
+
export declare const YesNoDisplayStyles: {
|
|
179
|
+
readonly HORIZONTAL: "horizontal";
|
|
180
|
+
readonly VERTICAL: "vertical";
|
|
181
|
+
};
|
|
160
182
|
export declare const choiceOrderOptionSchema: z.ZodEnum<{
|
|
161
183
|
randomize: "randomize";
|
|
162
184
|
flip: "flip";
|
|
@@ -182,9 +204,17 @@ export declare const questionSchema: z.ZodObject<{
|
|
|
182
204
|
short_answer: "short_answer";
|
|
183
205
|
long_text: "long_text";
|
|
184
206
|
annotation: "annotation";
|
|
207
|
+
welcome: "welcome";
|
|
208
|
+
thank_you: "thank_you";
|
|
209
|
+
message_panel: "message_panel";
|
|
210
|
+
yes_no: "yes_no";
|
|
211
|
+
rating_matrix: "rating_matrix";
|
|
212
|
+
matrix_single_choice: "matrix_single_choice";
|
|
213
|
+
matrix_multiple_choice: "matrix_multiple_choice";
|
|
185
214
|
}>;
|
|
186
215
|
title: z.ZodString;
|
|
187
216
|
description: z.ZodOptional<z.ZodString>;
|
|
217
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
188
218
|
describe: z.ZodOptional<z.ZodString>;
|
|
189
219
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
190
220
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -232,6 +262,7 @@ export declare const ratingQuestionSchema: z.ZodObject<{
|
|
|
232
262
|
id: z.ZodString;
|
|
233
263
|
title: z.ZodString;
|
|
234
264
|
description: z.ZodOptional<z.ZodString>;
|
|
265
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
235
266
|
describe: z.ZodOptional<z.ZodString>;
|
|
236
267
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
237
268
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -298,6 +329,7 @@ export declare const annotationQuestionSchema: z.ZodObject<{
|
|
|
298
329
|
id: z.ZodString;
|
|
299
330
|
title: z.ZodString;
|
|
300
331
|
description: z.ZodOptional<z.ZodString>;
|
|
332
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
301
333
|
describe: z.ZodOptional<z.ZodString>;
|
|
302
334
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
303
335
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -344,18 +376,9 @@ export declare const annotationQuestionSchema: z.ZodObject<{
|
|
|
344
376
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
345
377
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
346
378
|
}, z.core.$strip>;
|
|
347
|
-
export declare const
|
|
348
|
-
id: z.ZodString;
|
|
349
|
-
value: z.ZodString;
|
|
350
|
-
label: z.ZodString;
|
|
351
|
-
describe: z.ZodOptional<z.ZodString>;
|
|
352
|
-
imageUrl: z.ZodOptional<z.ZodString>;
|
|
353
|
-
}, z.core.$strip>;
|
|
354
|
-
export declare const nestedOptionSchema: z.ZodType<any>;
|
|
355
|
-
export declare const multipleChoiceSingleQuestionSchema: z.ZodObject<{
|
|
379
|
+
export declare const welcomeQuestionSchema: z.ZodObject<{
|
|
356
380
|
id: z.ZodString;
|
|
357
|
-
|
|
358
|
-
description: z.ZodOptional<z.ZodString>;
|
|
381
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
359
382
|
describe: z.ZodOptional<z.ZodString>;
|
|
360
383
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
361
384
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -398,32 +421,15 @@ export declare const multipleChoiceSingleQuestionSchema: z.ZodObject<{
|
|
|
398
421
|
A: "A";
|
|
399
422
|
S: "S";
|
|
400
423
|
}>;
|
|
401
|
-
type: z.ZodLiteral<"
|
|
402
|
-
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
403
|
-
radio: "radio";
|
|
404
|
-
list: "list";
|
|
405
|
-
chip: "chip";
|
|
406
|
-
dropdown: "dropdown";
|
|
407
|
-
}>>;
|
|
408
|
-
allowOther: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
409
|
-
otherTextConfig: z.ZodOptional<z.ZodObject<{
|
|
410
|
-
minChars: z.ZodOptional<z.ZodNumber>;
|
|
411
|
-
maxChars: z.ZodOptional<z.ZodNumber>;
|
|
412
|
-
placeholder: z.ZodOptional<z.ZodString>;
|
|
413
|
-
}, z.core.$strip>>;
|
|
414
|
-
randomizeOptions: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
415
|
-
options: z.ZodArray<z.ZodObject<{
|
|
416
|
-
id: z.ZodString;
|
|
417
|
-
value: z.ZodString;
|
|
418
|
-
label: z.ZodString;
|
|
419
|
-
describe: z.ZodOptional<z.ZodString>;
|
|
420
|
-
imageUrl: z.ZodOptional<z.ZodString>;
|
|
421
|
-
}, z.core.$strip>>;
|
|
422
|
-
}, z.core.$strip>;
|
|
423
|
-
export declare const multipleChoiceMultipleQuestionSchema: z.ZodObject<{
|
|
424
|
-
id: z.ZodString;
|
|
424
|
+
type: z.ZodLiteral<"welcome">;
|
|
425
425
|
title: z.ZodString;
|
|
426
426
|
description: z.ZodOptional<z.ZodString>;
|
|
427
|
+
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
428
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
429
|
+
}, z.core.$strip>;
|
|
430
|
+
export declare const thankYouQuestionSchema: z.ZodObject<{
|
|
431
|
+
id: z.ZodString;
|
|
432
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
427
433
|
describe: z.ZodOptional<z.ZodString>;
|
|
428
434
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
429
435
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -466,33 +472,15 @@ export declare const multipleChoiceMultipleQuestionSchema: z.ZodObject<{
|
|
|
466
472
|
A: "A";
|
|
467
473
|
S: "S";
|
|
468
474
|
}>;
|
|
469
|
-
type: z.ZodLiteral<"
|
|
470
|
-
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
471
|
-
list: "list";
|
|
472
|
-
chip: "chip";
|
|
473
|
-
checkbox: "checkbox";
|
|
474
|
-
}>>;
|
|
475
|
-
allowOther: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
476
|
-
otherTextConfig: z.ZodOptional<z.ZodObject<{
|
|
477
|
-
minChars: z.ZodOptional<z.ZodNumber>;
|
|
478
|
-
maxChars: z.ZodOptional<z.ZodNumber>;
|
|
479
|
-
placeholder: z.ZodOptional<z.ZodString>;
|
|
480
|
-
}, z.core.$strip>>;
|
|
481
|
-
minSelections: z.ZodOptional<z.ZodNumber>;
|
|
482
|
-
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
483
|
-
randomizeOptions: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
484
|
-
options: z.ZodArray<z.ZodObject<{
|
|
485
|
-
id: z.ZodString;
|
|
486
|
-
value: z.ZodString;
|
|
487
|
-
label: z.ZodString;
|
|
488
|
-
describe: z.ZodOptional<z.ZodString>;
|
|
489
|
-
imageUrl: z.ZodOptional<z.ZodString>;
|
|
490
|
-
}, z.core.$strip>>;
|
|
491
|
-
}, z.core.$strip>;
|
|
492
|
-
export declare const npsQuestionSchema: z.ZodObject<{
|
|
493
|
-
id: z.ZodString;
|
|
475
|
+
type: z.ZodLiteral<"thank_you">;
|
|
494
476
|
title: z.ZodString;
|
|
495
477
|
description: z.ZodOptional<z.ZodString>;
|
|
478
|
+
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
479
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
480
|
+
}, z.core.$strip>;
|
|
481
|
+
export declare const messagePanelQuestionSchema: z.ZodObject<{
|
|
482
|
+
id: z.ZodString;
|
|
483
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
496
484
|
describe: z.ZodOptional<z.ZodString>;
|
|
497
485
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
498
486
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -535,18 +523,17 @@ export declare const npsQuestionSchema: z.ZodObject<{
|
|
|
535
523
|
A: "A";
|
|
536
524
|
S: "S";
|
|
537
525
|
}>;
|
|
538
|
-
type: z.ZodLiteral<"
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
scaleLabels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
544
|
-
prepopulatedValue: z.ZodOptional<z.ZodNumber>;
|
|
526
|
+
type: z.ZodLiteral<"message_panel">;
|
|
527
|
+
title: z.ZodString;
|
|
528
|
+
description: z.ZodOptional<z.ZodString>;
|
|
529
|
+
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
530
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
545
531
|
}, z.core.$strip>;
|
|
546
|
-
export declare const
|
|
532
|
+
export declare const yesNoQuestionSchema: z.ZodObject<{
|
|
547
533
|
id: z.ZodString;
|
|
548
534
|
title: z.ZodString;
|
|
549
535
|
description: z.ZodOptional<z.ZodString>;
|
|
536
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
550
537
|
describe: z.ZodOptional<z.ZodString>;
|
|
551
538
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
552
539
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -589,23 +576,61 @@ export declare const shortAnswerQuestionSchema: z.ZodObject<{
|
|
|
589
576
|
A: "A";
|
|
590
577
|
S: "S";
|
|
591
578
|
}>;
|
|
592
|
-
type: z.ZodLiteral<"
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
promptTemplate: z.ZodOptional<z.ZodString>;
|
|
600
|
-
cooldownSeconds: z.ZodOptional<z.ZodNumber>;
|
|
601
|
-
maxEnhancements: z.ZodOptional<z.ZodNumber>;
|
|
602
|
-
maxTokenAllowed: z.ZodOptional<z.ZodNumber>;
|
|
603
|
-
minCharactersToEnhance: z.ZodOptional<z.ZodNumber>;
|
|
579
|
+
type: z.ZodLiteral<"yes_no">;
|
|
580
|
+
yesLabel: z.ZodOptional<z.ZodString>;
|
|
581
|
+
noLabel: z.ZodOptional<z.ZodString>;
|
|
582
|
+
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
583
|
+
horizontal: "horizontal";
|
|
584
|
+
vertical: "vertical";
|
|
585
|
+
}>>;
|
|
604
586
|
}, z.core.$strip>;
|
|
605
|
-
export declare const
|
|
587
|
+
export declare const ratingMatrixDisplayStyleSchema: z.ZodEnum<{
|
|
588
|
+
star: "star";
|
|
589
|
+
emoji: "emoji";
|
|
590
|
+
radio: "radio";
|
|
591
|
+
button: "button";
|
|
592
|
+
}>;
|
|
593
|
+
export declare const RatingMatrixDisplayStyles: {
|
|
594
|
+
readonly RADIO: "radio";
|
|
595
|
+
readonly STAR: "star";
|
|
596
|
+
readonly EMOJI: "emoji";
|
|
597
|
+
readonly BUTTON: "button";
|
|
598
|
+
};
|
|
599
|
+
export declare const ratingMatrixStatementSchema: z.ZodObject<{
|
|
600
|
+
id: z.ZodString;
|
|
601
|
+
value: z.ZodString;
|
|
602
|
+
label: z.ZodString;
|
|
603
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
604
|
+
}, z.core.$strip>;
|
|
605
|
+
export declare const ratingMatrixScalePointSchema: z.ZodObject<{
|
|
606
|
+
id: z.ZodString;
|
|
607
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
608
|
+
label: z.ZodString;
|
|
609
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
610
|
+
}, z.core.$strip>;
|
|
611
|
+
export declare const ratingMatrixScaleSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
612
|
+
kind: z.ZodLiteral<"likert">;
|
|
613
|
+
minLabel: z.ZodOptional<z.ZodString>;
|
|
614
|
+
maxLabel: z.ZodOptional<z.ZodString>;
|
|
615
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
616
|
+
kind: z.ZodLiteral<"numerical">;
|
|
617
|
+
pointCount: z.ZodUnion<readonly [z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>]>;
|
|
618
|
+
minLabel: z.ZodOptional<z.ZodString>;
|
|
619
|
+
maxLabel: z.ZodOptional<z.ZodString>;
|
|
620
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
621
|
+
kind: z.ZodLiteral<"custom">;
|
|
622
|
+
scalePoints: z.ZodArray<z.ZodObject<{
|
|
623
|
+
id: z.ZodString;
|
|
624
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
625
|
+
label: z.ZodString;
|
|
626
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
627
|
+
}, z.core.$strip>>;
|
|
628
|
+
}, z.core.$strip>], "kind">;
|
|
629
|
+
export declare const ratingMatrixQuestionSchema: z.ZodObject<{
|
|
606
630
|
id: z.ZodString;
|
|
607
631
|
title: z.ZodString;
|
|
608
632
|
description: z.ZodOptional<z.ZodString>;
|
|
633
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
609
634
|
describe: z.ZodOptional<z.ZodString>;
|
|
610
635
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
611
636
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -648,22 +673,56 @@ export declare const longAnswerQuestionSchema: z.ZodObject<{
|
|
|
648
673
|
A: "A";
|
|
649
674
|
S: "S";
|
|
650
675
|
}>;
|
|
651
|
-
type: z.ZodLiteral<"
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
676
|
+
type: z.ZodLiteral<"rating_matrix">;
|
|
677
|
+
statements: z.ZodArray<z.ZodObject<{
|
|
678
|
+
id: z.ZodString;
|
|
679
|
+
value: z.ZodString;
|
|
680
|
+
label: z.ZodString;
|
|
681
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
682
|
+
}, z.core.$strip>>;
|
|
683
|
+
scale: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
684
|
+
kind: z.ZodLiteral<"likert">;
|
|
685
|
+
minLabel: z.ZodOptional<z.ZodString>;
|
|
686
|
+
maxLabel: z.ZodOptional<z.ZodString>;
|
|
687
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
688
|
+
kind: z.ZodLiteral<"numerical">;
|
|
689
|
+
pointCount: z.ZodUnion<readonly [z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>]>;
|
|
690
|
+
minLabel: z.ZodOptional<z.ZodString>;
|
|
691
|
+
maxLabel: z.ZodOptional<z.ZodString>;
|
|
692
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
693
|
+
kind: z.ZodLiteral<"custom">;
|
|
694
|
+
scalePoints: z.ZodArray<z.ZodObject<{
|
|
695
|
+
id: z.ZodString;
|
|
696
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
697
|
+
label: z.ZodString;
|
|
698
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
699
|
+
}, z.core.$strip>>;
|
|
700
|
+
}, z.core.$strip>], "kind">;
|
|
701
|
+
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
702
|
+
star: "star";
|
|
703
|
+
emoji: "emoji";
|
|
704
|
+
radio: "radio";
|
|
705
|
+
button: "button";
|
|
706
|
+
}>>;
|
|
707
|
+
randomizeStatements: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
662
708
|
}, z.core.$strip>;
|
|
663
|
-
export declare const
|
|
709
|
+
export declare const matrixRowSchema: z.ZodObject<{
|
|
710
|
+
id: z.ZodString;
|
|
711
|
+
value: z.ZodString;
|
|
712
|
+
label: z.ZodString;
|
|
713
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
714
|
+
}, z.core.$strip>;
|
|
715
|
+
export declare const matrixColumnSchema: z.ZodObject<{
|
|
716
|
+
id: z.ZodString;
|
|
717
|
+
value: z.ZodString;
|
|
718
|
+
label: z.ZodString;
|
|
719
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
720
|
+
}, z.core.$strip>;
|
|
721
|
+
export declare const matrixSingleChoiceQuestionSchema: z.ZodObject<{
|
|
664
722
|
id: z.ZodString;
|
|
665
723
|
title: z.ZodString;
|
|
666
724
|
description: z.ZodOptional<z.ZodString>;
|
|
725
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
667
726
|
describe: z.ZodOptional<z.ZodString>;
|
|
668
727
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
669
728
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -706,49 +765,27 @@ export declare const nestedDropdownQuestionSchema: z.ZodObject<{
|
|
|
706
765
|
A: "A";
|
|
707
766
|
S: "S";
|
|
708
767
|
}>;
|
|
709
|
-
type: z.ZodLiteral<"
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
maxDepth: z.ZodOptional<z.ZodNumber>;
|
|
725
|
-
cascadeLabels: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
768
|
+
type: z.ZodLiteral<"matrix_single_choice">;
|
|
769
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
770
|
+
id: z.ZodString;
|
|
771
|
+
value: z.ZodString;
|
|
772
|
+
label: z.ZodString;
|
|
773
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
774
|
+
}, z.core.$strip>>;
|
|
775
|
+
columns: z.ZodArray<z.ZodObject<{
|
|
776
|
+
id: z.ZodString;
|
|
777
|
+
value: z.ZodString;
|
|
778
|
+
label: z.ZodString;
|
|
779
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
780
|
+
}, z.core.$strip>>;
|
|
781
|
+
randomizeRows: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
782
|
+
randomizeColumns: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
726
783
|
}, z.core.$strip>;
|
|
727
|
-
export
|
|
728
|
-
export type ValidationRule = z.infer<typeof validationRuleSchema>;
|
|
729
|
-
export type VisibilityCondition = z.infer<typeof visibilityConditionSchema>;
|
|
730
|
-
export type QuestionStatus = z.infer<typeof questionStatusSchema>;
|
|
731
|
-
export type Question = z.infer<typeof questionSchema>;
|
|
732
|
-
export type RatingDisplayStyle = z.infer<typeof ratingDisplayStyleSchema>;
|
|
733
|
-
export type RatingRepresentationSize = z.infer<typeof ratingRepresentationSizeSchema>;
|
|
734
|
-
export type RatingQuestion = z.infer<typeof ratingQuestionSchema>;
|
|
735
|
-
export type AnnotationQuestion = z.infer<typeof annotationQuestionSchema>;
|
|
736
|
-
export type QuestionOption = z.infer<typeof questionOptionSchema>;
|
|
737
|
-
export type NestedOption = z.infer<typeof nestedOptionSchema>;
|
|
738
|
-
export type MultipleChoiceDisplayStyle = z.infer<typeof multipleChoiceDisplayStyleSchema>;
|
|
739
|
-
export type MultipleChoiceSingleQuestion = z.infer<typeof multipleChoiceSingleQuestionSchema>;
|
|
740
|
-
export type MultipleChoiceMultipleDisplayStyle = z.infer<typeof multipleChoiceMultipleDisplayStyleSchema>;
|
|
741
|
-
export type MultipleChoiceMultipleQuestion = z.infer<typeof multipleChoiceMultipleQuestionSchema>;
|
|
742
|
-
export type NpsQuestion = z.infer<typeof npsQuestionSchema>;
|
|
743
|
-
export type ShortAnswerQuestion = z.infer<typeof shortAnswerQuestionSchema>;
|
|
744
|
-
export type LongAnswerQuestion = z.infer<typeof longAnswerQuestionSchema>;
|
|
745
|
-
export type ChoiceOrderOption = z.infer<typeof choiceOrderOptionSchema>;
|
|
746
|
-
export type NestedDropdownQuestion = z.infer<typeof nestedDropdownQuestionSchema>;
|
|
747
|
-
export type Section = z.infer<typeof sectionSchema>;
|
|
748
|
-
export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
784
|
+
export declare const matrixMultipleChoiceQuestionSchema: z.ZodObject<{
|
|
749
785
|
id: z.ZodString;
|
|
750
786
|
title: z.ZodString;
|
|
751
787
|
description: z.ZodOptional<z.ZodString>;
|
|
788
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
752
789
|
describe: z.ZodOptional<z.ZodString>;
|
|
753
790
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
754
791
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -791,29 +828,37 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
791
828
|
A: "A";
|
|
792
829
|
S: "S";
|
|
793
830
|
}>;
|
|
794
|
-
type: z.ZodLiteral<"
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
831
|
+
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
832
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
833
|
+
id: z.ZodString;
|
|
834
|
+
value: z.ZodString;
|
|
835
|
+
label: z.ZodString;
|
|
836
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
837
|
+
}, z.core.$strip>>;
|
|
838
|
+
columns: z.ZodArray<z.ZodObject<{
|
|
839
|
+
id: z.ZodString;
|
|
840
|
+
value: z.ZodString;
|
|
841
|
+
label: z.ZodString;
|
|
842
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
843
|
+
}, z.core.$strip>>;
|
|
844
|
+
minSelectionsPerRow: z.ZodOptional<z.ZodNumber>;
|
|
845
|
+
maxSelectionsPerRow: z.ZodOptional<z.ZodNumber>;
|
|
846
|
+
randomizeRows: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
847
|
+
randomizeColumns: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
848
|
+
}, z.core.$strip>;
|
|
849
|
+
export declare const questionOptionSchema: z.ZodObject<{
|
|
850
|
+
id: z.ZodString;
|
|
851
|
+
value: z.ZodString;
|
|
852
|
+
label: z.ZodString;
|
|
853
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
854
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
855
|
+
}, z.core.$strip>;
|
|
856
|
+
export declare const nestedOptionSchema: z.ZodType<any>;
|
|
857
|
+
export declare const multipleChoiceSingleQuestionSchema: z.ZodObject<{
|
|
814
858
|
id: z.ZodString;
|
|
815
859
|
title: z.ZodString;
|
|
816
860
|
description: z.ZodOptional<z.ZodString>;
|
|
861
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
817
862
|
describe: z.ZodOptional<z.ZodString>;
|
|
818
863
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
819
864
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -856,13 +901,898 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
856
901
|
A: "A";
|
|
857
902
|
S: "S";
|
|
858
903
|
}>;
|
|
859
|
-
type: z.ZodLiteral<"
|
|
860
|
-
|
|
861
|
-
|
|
904
|
+
type: z.ZodLiteral<"single_choice">;
|
|
905
|
+
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
906
|
+
radio: "radio";
|
|
907
|
+
list: "list";
|
|
908
|
+
chip: "chip";
|
|
909
|
+
dropdown: "dropdown";
|
|
910
|
+
}>>;
|
|
911
|
+
allowOther: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
912
|
+
otherTextConfig: z.ZodOptional<z.ZodObject<{
|
|
913
|
+
minChars: z.ZodOptional<z.ZodNumber>;
|
|
914
|
+
maxChars: z.ZodOptional<z.ZodNumber>;
|
|
915
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
916
|
+
}, z.core.$strip>>;
|
|
917
|
+
randomizeOptions: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
918
|
+
options: z.ZodArray<z.ZodObject<{
|
|
919
|
+
id: z.ZodString;
|
|
920
|
+
value: z.ZodString;
|
|
921
|
+
label: z.ZodString;
|
|
922
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
923
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
924
|
+
}, z.core.$strip>>;
|
|
925
|
+
}, z.core.$strip>;
|
|
926
|
+
export declare const multipleChoiceMultipleQuestionSchema: z.ZodObject<{
|
|
927
|
+
id: z.ZodString;
|
|
928
|
+
title: z.ZodString;
|
|
929
|
+
description: z.ZodOptional<z.ZodString>;
|
|
930
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
931
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
932
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
933
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
934
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
935
|
+
type: z.ZodEnum<{
|
|
936
|
+
required: "required";
|
|
937
|
+
min: "min";
|
|
938
|
+
max: "max";
|
|
939
|
+
minLength: "minLength";
|
|
940
|
+
maxLength: "maxLength";
|
|
941
|
+
pattern: "pattern";
|
|
942
|
+
email: "email";
|
|
943
|
+
url: "url";
|
|
944
|
+
custom: "custom";
|
|
945
|
+
}>;
|
|
946
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
947
|
+
message: z.ZodOptional<z.ZodString>;
|
|
948
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
949
|
+
}, z.core.$strip>>>>;
|
|
950
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
951
|
+
field: z.ZodString;
|
|
952
|
+
operator: z.ZodEnum<{
|
|
953
|
+
equals: "equals";
|
|
954
|
+
not_equals: "not_equals";
|
|
955
|
+
contains: "contains";
|
|
956
|
+
not_contains: "not_contains";
|
|
957
|
+
greater_than: "greater_than";
|
|
958
|
+
less_than: "less_than";
|
|
959
|
+
is_empty: "is_empty";
|
|
960
|
+
is_not_empty: "is_not_empty";
|
|
961
|
+
}>;
|
|
962
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
963
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
964
|
+
}, z.core.$strip>>>>;
|
|
965
|
+
isFixed: z.ZodBoolean;
|
|
966
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
967
|
+
status: z.ZodEnum<{
|
|
968
|
+
D: "D";
|
|
969
|
+
P: "P";
|
|
970
|
+
A: "A";
|
|
971
|
+
S: "S";
|
|
972
|
+
}>;
|
|
973
|
+
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
974
|
+
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
975
|
+
list: "list";
|
|
976
|
+
chip: "chip";
|
|
977
|
+
checkbox: "checkbox";
|
|
978
|
+
}>>;
|
|
979
|
+
allowOther: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
980
|
+
otherTextConfig: z.ZodOptional<z.ZodObject<{
|
|
981
|
+
minChars: z.ZodOptional<z.ZodNumber>;
|
|
982
|
+
maxChars: z.ZodOptional<z.ZodNumber>;
|
|
983
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
984
|
+
}, z.core.$strip>>;
|
|
985
|
+
minSelections: z.ZodOptional<z.ZodNumber>;
|
|
986
|
+
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
987
|
+
randomizeOptions: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
988
|
+
options: z.ZodArray<z.ZodObject<{
|
|
989
|
+
id: z.ZodString;
|
|
990
|
+
value: z.ZodString;
|
|
991
|
+
label: z.ZodString;
|
|
992
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
993
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
994
|
+
}, z.core.$strip>>;
|
|
995
|
+
}, z.core.$strip>;
|
|
996
|
+
export declare const npsQuestionSchema: z.ZodObject<{
|
|
997
|
+
id: z.ZodString;
|
|
998
|
+
title: z.ZodString;
|
|
999
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1000
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1001
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1002
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
1003
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1004
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1005
|
+
type: z.ZodEnum<{
|
|
1006
|
+
required: "required";
|
|
1007
|
+
min: "min";
|
|
1008
|
+
max: "max";
|
|
1009
|
+
minLength: "minLength";
|
|
1010
|
+
maxLength: "maxLength";
|
|
1011
|
+
pattern: "pattern";
|
|
1012
|
+
email: "email";
|
|
1013
|
+
url: "url";
|
|
1014
|
+
custom: "custom";
|
|
1015
|
+
}>;
|
|
1016
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1017
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1018
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1019
|
+
}, z.core.$strip>>>>;
|
|
1020
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1021
|
+
field: z.ZodString;
|
|
1022
|
+
operator: z.ZodEnum<{
|
|
1023
|
+
equals: "equals";
|
|
1024
|
+
not_equals: "not_equals";
|
|
1025
|
+
contains: "contains";
|
|
1026
|
+
not_contains: "not_contains";
|
|
1027
|
+
greater_than: "greater_than";
|
|
1028
|
+
less_than: "less_than";
|
|
1029
|
+
is_empty: "is_empty";
|
|
1030
|
+
is_not_empty: "is_not_empty";
|
|
1031
|
+
}>;
|
|
1032
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1033
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1034
|
+
}, z.core.$strip>>>>;
|
|
1035
|
+
isFixed: z.ZodBoolean;
|
|
1036
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
1037
|
+
status: z.ZodEnum<{
|
|
1038
|
+
D: "D";
|
|
1039
|
+
P: "P";
|
|
1040
|
+
A: "A";
|
|
1041
|
+
S: "S";
|
|
1042
|
+
}>;
|
|
1043
|
+
type: z.ZodLiteral<"nps">;
|
|
1044
|
+
min: z.ZodLiteral<0>;
|
|
1045
|
+
max: z.ZodLiteral<10>;
|
|
1046
|
+
minLabel: z.ZodOptional<z.ZodString>;
|
|
1047
|
+
maxLabel: z.ZodOptional<z.ZodString>;
|
|
1048
|
+
scaleLabels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1049
|
+
prepopulatedValue: z.ZodOptional<z.ZodNumber>;
|
|
1050
|
+
}, z.core.$strip>;
|
|
1051
|
+
export declare const shortAnswerQuestionSchema: z.ZodObject<{
|
|
1052
|
+
id: z.ZodString;
|
|
1053
|
+
title: z.ZodString;
|
|
1054
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1055
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1056
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1057
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
1058
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1059
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1060
|
+
type: z.ZodEnum<{
|
|
1061
|
+
required: "required";
|
|
1062
|
+
min: "min";
|
|
1063
|
+
max: "max";
|
|
1064
|
+
minLength: "minLength";
|
|
1065
|
+
maxLength: "maxLength";
|
|
1066
|
+
pattern: "pattern";
|
|
1067
|
+
email: "email";
|
|
1068
|
+
url: "url";
|
|
1069
|
+
custom: "custom";
|
|
1070
|
+
}>;
|
|
1071
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1072
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1073
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1074
|
+
}, z.core.$strip>>>>;
|
|
1075
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1076
|
+
field: z.ZodString;
|
|
1077
|
+
operator: z.ZodEnum<{
|
|
1078
|
+
equals: "equals";
|
|
1079
|
+
not_equals: "not_equals";
|
|
1080
|
+
contains: "contains";
|
|
1081
|
+
not_contains: "not_contains";
|
|
1082
|
+
greater_than: "greater_than";
|
|
1083
|
+
less_than: "less_than";
|
|
1084
|
+
is_empty: "is_empty";
|
|
1085
|
+
is_not_empty: "is_not_empty";
|
|
1086
|
+
}>;
|
|
1087
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1088
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1089
|
+
}, z.core.$strip>>>>;
|
|
1090
|
+
isFixed: z.ZodBoolean;
|
|
1091
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
1092
|
+
status: z.ZodEnum<{
|
|
1093
|
+
D: "D";
|
|
1094
|
+
P: "P";
|
|
1095
|
+
A: "A";
|
|
1096
|
+
S: "S";
|
|
1097
|
+
}>;
|
|
1098
|
+
type: z.ZodLiteral<"short_answer">;
|
|
1099
|
+
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1100
|
+
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1101
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
1102
|
+
enableRegexValidation: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1103
|
+
regexPattern: z.ZodOptional<z.ZodString>;
|
|
1104
|
+
enableEnhanceWithAi: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1105
|
+
promptTemplate: z.ZodOptional<z.ZodString>;
|
|
1106
|
+
maxTokenAllowed: z.ZodOptional<z.ZodNumber>;
|
|
1107
|
+
minCharactersToEnhance: z.ZodOptional<z.ZodNumber>;
|
|
1108
|
+
}, z.core.$strip>;
|
|
1109
|
+
export declare const longAnswerQuestionSchema: z.ZodObject<{
|
|
1110
|
+
id: z.ZodString;
|
|
1111
|
+
title: z.ZodString;
|
|
1112
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1113
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1114
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1115
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
1116
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1117
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1118
|
+
type: z.ZodEnum<{
|
|
1119
|
+
required: "required";
|
|
1120
|
+
min: "min";
|
|
1121
|
+
max: "max";
|
|
1122
|
+
minLength: "minLength";
|
|
1123
|
+
maxLength: "maxLength";
|
|
1124
|
+
pattern: "pattern";
|
|
1125
|
+
email: "email";
|
|
1126
|
+
url: "url";
|
|
1127
|
+
custom: "custom";
|
|
1128
|
+
}>;
|
|
1129
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1130
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1131
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1132
|
+
}, z.core.$strip>>>>;
|
|
1133
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1134
|
+
field: z.ZodString;
|
|
1135
|
+
operator: z.ZodEnum<{
|
|
1136
|
+
equals: "equals";
|
|
1137
|
+
not_equals: "not_equals";
|
|
1138
|
+
contains: "contains";
|
|
1139
|
+
not_contains: "not_contains";
|
|
1140
|
+
greater_than: "greater_than";
|
|
1141
|
+
less_than: "less_than";
|
|
1142
|
+
is_empty: "is_empty";
|
|
1143
|
+
is_not_empty: "is_not_empty";
|
|
1144
|
+
}>;
|
|
1145
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1146
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1147
|
+
}, z.core.$strip>>>>;
|
|
1148
|
+
isFixed: z.ZodBoolean;
|
|
1149
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
1150
|
+
status: z.ZodEnum<{
|
|
1151
|
+
D: "D";
|
|
1152
|
+
P: "P";
|
|
1153
|
+
A: "A";
|
|
1154
|
+
S: "S";
|
|
1155
|
+
}>;
|
|
1156
|
+
type: z.ZodLiteral<"long_text">;
|
|
1157
|
+
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1158
|
+
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1159
|
+
rows: z.ZodOptional<z.ZodNumber>;
|
|
1160
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
1161
|
+
enableEnhanceWithAi: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1162
|
+
promptTemplate: z.ZodOptional<z.ZodString>;
|
|
1163
|
+
maxTokenAllowed: z.ZodOptional<z.ZodNumber>;
|
|
1164
|
+
minCharactersToEnhance: z.ZodOptional<z.ZodNumber>;
|
|
1165
|
+
}, z.core.$strip>;
|
|
1166
|
+
export declare const nestedDropdownQuestionSchema: z.ZodObject<{
|
|
1167
|
+
id: z.ZodString;
|
|
1168
|
+
title: z.ZodString;
|
|
1169
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1170
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1171
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1172
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
1173
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1174
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1175
|
+
type: z.ZodEnum<{
|
|
1176
|
+
required: "required";
|
|
1177
|
+
min: "min";
|
|
1178
|
+
max: "max";
|
|
1179
|
+
minLength: "minLength";
|
|
1180
|
+
maxLength: "maxLength";
|
|
1181
|
+
pattern: "pattern";
|
|
1182
|
+
email: "email";
|
|
1183
|
+
url: "url";
|
|
1184
|
+
custom: "custom";
|
|
1185
|
+
}>;
|
|
1186
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1187
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1188
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1189
|
+
}, z.core.$strip>>>>;
|
|
1190
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1191
|
+
field: z.ZodString;
|
|
1192
|
+
operator: z.ZodEnum<{
|
|
1193
|
+
equals: "equals";
|
|
1194
|
+
not_equals: "not_equals";
|
|
1195
|
+
contains: "contains";
|
|
1196
|
+
not_contains: "not_contains";
|
|
1197
|
+
greater_than: "greater_than";
|
|
1198
|
+
less_than: "less_than";
|
|
1199
|
+
is_empty: "is_empty";
|
|
1200
|
+
is_not_empty: "is_not_empty";
|
|
1201
|
+
}>;
|
|
1202
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1203
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1204
|
+
}, z.core.$strip>>>>;
|
|
1205
|
+
isFixed: z.ZodBoolean;
|
|
1206
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
1207
|
+
status: z.ZodEnum<{
|
|
1208
|
+
D: "D";
|
|
1209
|
+
P: "P";
|
|
1210
|
+
A: "A";
|
|
1211
|
+
S: "S";
|
|
1212
|
+
}>;
|
|
1213
|
+
type: z.ZodLiteral<"nested_selection">;
|
|
1214
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
1215
|
+
options: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
1216
|
+
displayStyle: z.ZodLiteral<"list">;
|
|
1217
|
+
choiceOrderOption: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1218
|
+
randomize: "randomize";
|
|
1219
|
+
flip: "flip";
|
|
1220
|
+
rotate: "rotate";
|
|
1221
|
+
ascending: "ascending";
|
|
1222
|
+
none: "none";
|
|
1223
|
+
}>>>;
|
|
1224
|
+
preserveLastChoices: z.ZodOptional<z.ZodNumber>;
|
|
1225
|
+
prepopulatedValue: z.ZodOptional<z.ZodString>;
|
|
1226
|
+
allowOther: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1227
|
+
otherColumnName: z.ZodOptional<z.ZodString>;
|
|
1228
|
+
maxDepth: z.ZodOptional<z.ZodNumber>;
|
|
1229
|
+
cascadeLabels: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1230
|
+
}, z.core.$strip>;
|
|
1231
|
+
export type QuestionType = z.infer<typeof questionTypeSchema>;
|
|
1232
|
+
export type ValidationRule = z.infer<typeof validationRuleSchema>;
|
|
1233
|
+
export type VisibilityCondition = z.infer<typeof visibilityConditionSchema>;
|
|
1234
|
+
export type QuestionStatus = z.infer<typeof questionStatusSchema>;
|
|
1235
|
+
export type Question = z.infer<typeof questionSchema>;
|
|
1236
|
+
export type RatingDisplayStyle = z.infer<typeof ratingDisplayStyleSchema>;
|
|
1237
|
+
export type RatingRepresentationSize = z.infer<typeof ratingRepresentationSizeSchema>;
|
|
1238
|
+
export type RatingQuestion = z.infer<typeof ratingQuestionSchema>;
|
|
1239
|
+
export type AnnotationQuestion = z.infer<typeof annotationQuestionSchema>;
|
|
1240
|
+
export type WelcomeQuestion = z.infer<typeof welcomeQuestionSchema>;
|
|
1241
|
+
export type ThankYouQuestion = z.infer<typeof thankYouQuestionSchema>;
|
|
1242
|
+
export type MessagePanelQuestion = z.infer<typeof messagePanelQuestionSchema>;
|
|
1243
|
+
export type YesNoDisplayStyle = z.infer<typeof yesNoDisplayStyleSchema>;
|
|
1244
|
+
export type YesNoQuestion = z.infer<typeof yesNoQuestionSchema>;
|
|
1245
|
+
export type RatingMatrixStatement = z.infer<typeof ratingMatrixStatementSchema>;
|
|
1246
|
+
export type RatingMatrixScalePoint = z.infer<typeof ratingMatrixScalePointSchema>;
|
|
1247
|
+
export type RatingMatrixScale = z.infer<typeof ratingMatrixScaleSchema>;
|
|
1248
|
+
export type RatingMatrixDisplayStyle = z.infer<typeof ratingMatrixDisplayStyleSchema>;
|
|
1249
|
+
export type RatingMatrixQuestion = z.infer<typeof ratingMatrixQuestionSchema>;
|
|
1250
|
+
export type MatrixRow = z.infer<typeof matrixRowSchema>;
|
|
1251
|
+
export type MatrixColumn = z.infer<typeof matrixColumnSchema>;
|
|
1252
|
+
export type MatrixSingleChoiceQuestion = z.infer<typeof matrixSingleChoiceQuestionSchema>;
|
|
1253
|
+
export type MatrixMultipleChoiceQuestion = z.infer<typeof matrixMultipleChoiceQuestionSchema>;
|
|
1254
|
+
export type QuestionOption = z.infer<typeof questionOptionSchema>;
|
|
1255
|
+
export type NestedOption = z.infer<typeof nestedOptionSchema>;
|
|
1256
|
+
export type MultipleChoiceDisplayStyle = z.infer<typeof multipleChoiceDisplayStyleSchema>;
|
|
1257
|
+
export type MultipleChoiceSingleQuestion = z.infer<typeof multipleChoiceSingleQuestionSchema>;
|
|
1258
|
+
export type MultipleChoiceMultipleDisplayStyle = z.infer<typeof multipleChoiceMultipleDisplayStyleSchema>;
|
|
1259
|
+
export type MultipleChoiceMultipleQuestion = z.infer<typeof multipleChoiceMultipleQuestionSchema>;
|
|
1260
|
+
export type NpsQuestion = z.infer<typeof npsQuestionSchema>;
|
|
1261
|
+
export type ShortAnswerQuestion = z.infer<typeof shortAnswerQuestionSchema>;
|
|
1262
|
+
export type LongAnswerQuestion = z.infer<typeof longAnswerQuestionSchema>;
|
|
1263
|
+
export type ChoiceOrderOption = z.infer<typeof choiceOrderOptionSchema>;
|
|
1264
|
+
export type NestedDropdownQuestion = z.infer<typeof nestedDropdownQuestionSchema>;
|
|
1265
|
+
export type Section = z.infer<typeof sectionSchema>;
|
|
1266
|
+
export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1267
|
+
id: z.ZodString;
|
|
1268
|
+
title: z.ZodString;
|
|
1269
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1270
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1271
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1272
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
1273
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1274
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1275
|
+
type: z.ZodEnum<{
|
|
1276
|
+
required: "required";
|
|
1277
|
+
min: "min";
|
|
1278
|
+
max: "max";
|
|
1279
|
+
minLength: "minLength";
|
|
1280
|
+
maxLength: "maxLength";
|
|
1281
|
+
pattern: "pattern";
|
|
1282
|
+
email: "email";
|
|
1283
|
+
url: "url";
|
|
1284
|
+
custom: "custom";
|
|
1285
|
+
}>;
|
|
1286
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1287
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1288
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1289
|
+
}, z.core.$strip>>>>;
|
|
1290
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1291
|
+
field: z.ZodString;
|
|
1292
|
+
operator: z.ZodEnum<{
|
|
1293
|
+
equals: "equals";
|
|
1294
|
+
not_equals: "not_equals";
|
|
1295
|
+
contains: "contains";
|
|
1296
|
+
not_contains: "not_contains";
|
|
1297
|
+
greater_than: "greater_than";
|
|
1298
|
+
less_than: "less_than";
|
|
1299
|
+
is_empty: "is_empty";
|
|
1300
|
+
is_not_empty: "is_not_empty";
|
|
1301
|
+
}>;
|
|
1302
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1303
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1304
|
+
}, z.core.$strip>>>>;
|
|
1305
|
+
isFixed: z.ZodBoolean;
|
|
1306
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
1307
|
+
status: z.ZodEnum<{
|
|
1308
|
+
D: "D";
|
|
1309
|
+
P: "P";
|
|
1310
|
+
A: "A";
|
|
1311
|
+
S: "S";
|
|
1312
|
+
}>;
|
|
1313
|
+
type: z.ZodLiteral<"rating">;
|
|
1314
|
+
showLabels: z.ZodOptional<z.ZodBoolean>;
|
|
1315
|
+
minLabel: z.ZodOptional<z.ZodString>;
|
|
1316
|
+
maxLabel: z.ZodOptional<z.ZodString>;
|
|
1317
|
+
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
1318
|
+
star: "star";
|
|
1319
|
+
heart: "heart";
|
|
1320
|
+
"thumbs-up": "thumbs-up";
|
|
1321
|
+
diamond: "diamond";
|
|
1322
|
+
emoji: "emoji";
|
|
1323
|
+
"emoji-exp": "emoji-exp";
|
|
1324
|
+
}>>;
|
|
1325
|
+
numberOfRatings: z.ZodNumber;
|
|
1326
|
+
representationSize: z.ZodOptional<z.ZodEnum<{
|
|
1327
|
+
small: "small";
|
|
1328
|
+
medium: "medium";
|
|
1329
|
+
large: "large";
|
|
1330
|
+
}>>;
|
|
1331
|
+
color: z.ZodOptional<z.ZodString>;
|
|
1332
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1333
|
+
id: z.ZodString;
|
|
1334
|
+
title: z.ZodString;
|
|
1335
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1336
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1337
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1338
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
1339
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1340
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1341
|
+
type: z.ZodEnum<{
|
|
1342
|
+
required: "required";
|
|
1343
|
+
min: "min";
|
|
1344
|
+
max: "max";
|
|
1345
|
+
minLength: "minLength";
|
|
1346
|
+
maxLength: "maxLength";
|
|
1347
|
+
pattern: "pattern";
|
|
1348
|
+
email: "email";
|
|
1349
|
+
url: "url";
|
|
1350
|
+
custom: "custom";
|
|
1351
|
+
}>;
|
|
1352
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1353
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1354
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1355
|
+
}, z.core.$strip>>>>;
|
|
1356
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1357
|
+
field: z.ZodString;
|
|
1358
|
+
operator: z.ZodEnum<{
|
|
1359
|
+
equals: "equals";
|
|
1360
|
+
not_equals: "not_equals";
|
|
1361
|
+
contains: "contains";
|
|
1362
|
+
not_contains: "not_contains";
|
|
1363
|
+
greater_than: "greater_than";
|
|
1364
|
+
less_than: "less_than";
|
|
1365
|
+
is_empty: "is_empty";
|
|
1366
|
+
is_not_empty: "is_not_empty";
|
|
1367
|
+
}>;
|
|
1368
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1369
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1370
|
+
}, z.core.$strip>>>>;
|
|
1371
|
+
isFixed: z.ZodBoolean;
|
|
1372
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
1373
|
+
status: z.ZodEnum<{
|
|
1374
|
+
D: "D";
|
|
1375
|
+
P: "P";
|
|
1376
|
+
A: "A";
|
|
1377
|
+
S: "S";
|
|
1378
|
+
}>;
|
|
1379
|
+
type: z.ZodLiteral<"annotation">;
|
|
1380
|
+
annotationText: z.ZodOptional<z.ZodString>;
|
|
1381
|
+
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
1382
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1383
|
+
id: z.ZodString;
|
|
1384
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1385
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1386
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
1387
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1388
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1389
|
+
type: z.ZodEnum<{
|
|
1390
|
+
required: "required";
|
|
1391
|
+
min: "min";
|
|
1392
|
+
max: "max";
|
|
1393
|
+
minLength: "minLength";
|
|
1394
|
+
maxLength: "maxLength";
|
|
1395
|
+
pattern: "pattern";
|
|
1396
|
+
email: "email";
|
|
1397
|
+
url: "url";
|
|
1398
|
+
custom: "custom";
|
|
1399
|
+
}>;
|
|
1400
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1401
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1402
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1403
|
+
}, z.core.$strip>>>>;
|
|
1404
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1405
|
+
field: z.ZodString;
|
|
1406
|
+
operator: z.ZodEnum<{
|
|
1407
|
+
equals: "equals";
|
|
1408
|
+
not_equals: "not_equals";
|
|
1409
|
+
contains: "contains";
|
|
1410
|
+
not_contains: "not_contains";
|
|
1411
|
+
greater_than: "greater_than";
|
|
1412
|
+
less_than: "less_than";
|
|
1413
|
+
is_empty: "is_empty";
|
|
1414
|
+
is_not_empty: "is_not_empty";
|
|
1415
|
+
}>;
|
|
1416
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1417
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1418
|
+
}, z.core.$strip>>>>;
|
|
1419
|
+
isFixed: z.ZodBoolean;
|
|
1420
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
1421
|
+
status: z.ZodEnum<{
|
|
1422
|
+
D: "D";
|
|
1423
|
+
P: "P";
|
|
1424
|
+
A: "A";
|
|
1425
|
+
S: "S";
|
|
1426
|
+
}>;
|
|
1427
|
+
type: z.ZodLiteral<"welcome">;
|
|
1428
|
+
title: z.ZodString;
|
|
1429
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1430
|
+
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1431
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
1432
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1433
|
+
id: z.ZodString;
|
|
1434
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1435
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1436
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
1437
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1438
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1439
|
+
type: z.ZodEnum<{
|
|
1440
|
+
required: "required";
|
|
1441
|
+
min: "min";
|
|
1442
|
+
max: "max";
|
|
1443
|
+
minLength: "minLength";
|
|
1444
|
+
maxLength: "maxLength";
|
|
1445
|
+
pattern: "pattern";
|
|
1446
|
+
email: "email";
|
|
1447
|
+
url: "url";
|
|
1448
|
+
custom: "custom";
|
|
1449
|
+
}>;
|
|
1450
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1451
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1452
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1453
|
+
}, z.core.$strip>>>>;
|
|
1454
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1455
|
+
field: z.ZodString;
|
|
1456
|
+
operator: z.ZodEnum<{
|
|
1457
|
+
equals: "equals";
|
|
1458
|
+
not_equals: "not_equals";
|
|
1459
|
+
contains: "contains";
|
|
1460
|
+
not_contains: "not_contains";
|
|
1461
|
+
greater_than: "greater_than";
|
|
1462
|
+
less_than: "less_than";
|
|
1463
|
+
is_empty: "is_empty";
|
|
1464
|
+
is_not_empty: "is_not_empty";
|
|
1465
|
+
}>;
|
|
1466
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1467
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1468
|
+
}, z.core.$strip>>>>;
|
|
1469
|
+
isFixed: z.ZodBoolean;
|
|
1470
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
1471
|
+
status: z.ZodEnum<{
|
|
1472
|
+
D: "D";
|
|
1473
|
+
P: "P";
|
|
1474
|
+
A: "A";
|
|
1475
|
+
S: "S";
|
|
1476
|
+
}>;
|
|
1477
|
+
type: z.ZodLiteral<"thank_you">;
|
|
1478
|
+
title: z.ZodString;
|
|
1479
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1480
|
+
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1481
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
1482
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1483
|
+
id: z.ZodString;
|
|
1484
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1485
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1486
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
1487
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1488
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1489
|
+
type: z.ZodEnum<{
|
|
1490
|
+
required: "required";
|
|
1491
|
+
min: "min";
|
|
1492
|
+
max: "max";
|
|
1493
|
+
minLength: "minLength";
|
|
1494
|
+
maxLength: "maxLength";
|
|
1495
|
+
pattern: "pattern";
|
|
1496
|
+
email: "email";
|
|
1497
|
+
url: "url";
|
|
1498
|
+
custom: "custom";
|
|
1499
|
+
}>;
|
|
1500
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1501
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1502
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1503
|
+
}, z.core.$strip>>>>;
|
|
1504
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1505
|
+
field: z.ZodString;
|
|
1506
|
+
operator: z.ZodEnum<{
|
|
1507
|
+
equals: "equals";
|
|
1508
|
+
not_equals: "not_equals";
|
|
1509
|
+
contains: "contains";
|
|
1510
|
+
not_contains: "not_contains";
|
|
1511
|
+
greater_than: "greater_than";
|
|
1512
|
+
less_than: "less_than";
|
|
1513
|
+
is_empty: "is_empty";
|
|
1514
|
+
is_not_empty: "is_not_empty";
|
|
1515
|
+
}>;
|
|
1516
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1517
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1518
|
+
}, z.core.$strip>>>>;
|
|
1519
|
+
isFixed: z.ZodBoolean;
|
|
1520
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
1521
|
+
status: z.ZodEnum<{
|
|
1522
|
+
D: "D";
|
|
1523
|
+
P: "P";
|
|
1524
|
+
A: "A";
|
|
1525
|
+
S: "S";
|
|
1526
|
+
}>;
|
|
1527
|
+
type: z.ZodLiteral<"message_panel">;
|
|
1528
|
+
title: z.ZodString;
|
|
1529
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1530
|
+
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1531
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
1532
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1533
|
+
id: z.ZodString;
|
|
1534
|
+
title: z.ZodString;
|
|
1535
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1536
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1537
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1538
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
1539
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1540
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1541
|
+
type: z.ZodEnum<{
|
|
1542
|
+
required: "required";
|
|
1543
|
+
min: "min";
|
|
1544
|
+
max: "max";
|
|
1545
|
+
minLength: "minLength";
|
|
1546
|
+
maxLength: "maxLength";
|
|
1547
|
+
pattern: "pattern";
|
|
1548
|
+
email: "email";
|
|
1549
|
+
url: "url";
|
|
1550
|
+
custom: "custom";
|
|
1551
|
+
}>;
|
|
1552
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1553
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1554
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1555
|
+
}, z.core.$strip>>>>;
|
|
1556
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1557
|
+
field: z.ZodString;
|
|
1558
|
+
operator: z.ZodEnum<{
|
|
1559
|
+
equals: "equals";
|
|
1560
|
+
not_equals: "not_equals";
|
|
1561
|
+
contains: "contains";
|
|
1562
|
+
not_contains: "not_contains";
|
|
1563
|
+
greater_than: "greater_than";
|
|
1564
|
+
less_than: "less_than";
|
|
1565
|
+
is_empty: "is_empty";
|
|
1566
|
+
is_not_empty: "is_not_empty";
|
|
1567
|
+
}>;
|
|
1568
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1569
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1570
|
+
}, z.core.$strip>>>>;
|
|
1571
|
+
isFixed: z.ZodBoolean;
|
|
1572
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
1573
|
+
status: z.ZodEnum<{
|
|
1574
|
+
D: "D";
|
|
1575
|
+
P: "P";
|
|
1576
|
+
A: "A";
|
|
1577
|
+
S: "S";
|
|
1578
|
+
}>;
|
|
1579
|
+
type: z.ZodLiteral<"yes_no">;
|
|
1580
|
+
yesLabel: z.ZodOptional<z.ZodString>;
|
|
1581
|
+
noLabel: z.ZodOptional<z.ZodString>;
|
|
1582
|
+
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
1583
|
+
horizontal: "horizontal";
|
|
1584
|
+
vertical: "vertical";
|
|
1585
|
+
}>>;
|
|
1586
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1587
|
+
id: z.ZodString;
|
|
1588
|
+
title: z.ZodString;
|
|
1589
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1590
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1591
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1592
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
1593
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1594
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1595
|
+
type: z.ZodEnum<{
|
|
1596
|
+
required: "required";
|
|
1597
|
+
min: "min";
|
|
1598
|
+
max: "max";
|
|
1599
|
+
minLength: "minLength";
|
|
1600
|
+
maxLength: "maxLength";
|
|
1601
|
+
pattern: "pattern";
|
|
1602
|
+
email: "email";
|
|
1603
|
+
url: "url";
|
|
1604
|
+
custom: "custom";
|
|
1605
|
+
}>;
|
|
1606
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1607
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1608
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1609
|
+
}, z.core.$strip>>>>;
|
|
1610
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1611
|
+
field: z.ZodString;
|
|
1612
|
+
operator: z.ZodEnum<{
|
|
1613
|
+
equals: "equals";
|
|
1614
|
+
not_equals: "not_equals";
|
|
1615
|
+
contains: "contains";
|
|
1616
|
+
not_contains: "not_contains";
|
|
1617
|
+
greater_than: "greater_than";
|
|
1618
|
+
less_than: "less_than";
|
|
1619
|
+
is_empty: "is_empty";
|
|
1620
|
+
is_not_empty: "is_not_empty";
|
|
1621
|
+
}>;
|
|
1622
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1623
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1624
|
+
}, z.core.$strip>>>>;
|
|
1625
|
+
isFixed: z.ZodBoolean;
|
|
1626
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
1627
|
+
status: z.ZodEnum<{
|
|
1628
|
+
D: "D";
|
|
1629
|
+
P: "P";
|
|
1630
|
+
A: "A";
|
|
1631
|
+
S: "S";
|
|
1632
|
+
}>;
|
|
1633
|
+
type: z.ZodLiteral<"rating_matrix">;
|
|
1634
|
+
statements: z.ZodArray<z.ZodObject<{
|
|
1635
|
+
id: z.ZodString;
|
|
1636
|
+
value: z.ZodString;
|
|
1637
|
+
label: z.ZodString;
|
|
1638
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1639
|
+
}, z.core.$strip>>;
|
|
1640
|
+
scale: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1641
|
+
kind: z.ZodLiteral<"likert">;
|
|
1642
|
+
minLabel: z.ZodOptional<z.ZodString>;
|
|
1643
|
+
maxLabel: z.ZodOptional<z.ZodString>;
|
|
1644
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1645
|
+
kind: z.ZodLiteral<"numerical">;
|
|
1646
|
+
pointCount: z.ZodUnion<readonly [z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>]>;
|
|
1647
|
+
minLabel: z.ZodOptional<z.ZodString>;
|
|
1648
|
+
maxLabel: z.ZodOptional<z.ZodString>;
|
|
1649
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1650
|
+
kind: z.ZodLiteral<"custom">;
|
|
1651
|
+
scalePoints: z.ZodArray<z.ZodObject<{
|
|
1652
|
+
id: z.ZodString;
|
|
1653
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
1654
|
+
label: z.ZodString;
|
|
1655
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1656
|
+
}, z.core.$strip>>;
|
|
1657
|
+
}, z.core.$strip>], "kind">;
|
|
1658
|
+
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
1659
|
+
star: "star";
|
|
1660
|
+
emoji: "emoji";
|
|
1661
|
+
radio: "radio";
|
|
1662
|
+
button: "button";
|
|
1663
|
+
}>>;
|
|
1664
|
+
randomizeStatements: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1665
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1666
|
+
id: z.ZodString;
|
|
1667
|
+
title: z.ZodString;
|
|
1668
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1669
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1670
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1671
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
1672
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1673
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1674
|
+
type: z.ZodEnum<{
|
|
1675
|
+
required: "required";
|
|
1676
|
+
min: "min";
|
|
1677
|
+
max: "max";
|
|
1678
|
+
minLength: "minLength";
|
|
1679
|
+
maxLength: "maxLength";
|
|
1680
|
+
pattern: "pattern";
|
|
1681
|
+
email: "email";
|
|
1682
|
+
url: "url";
|
|
1683
|
+
custom: "custom";
|
|
1684
|
+
}>;
|
|
1685
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1686
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1687
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1688
|
+
}, z.core.$strip>>>>;
|
|
1689
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1690
|
+
field: z.ZodString;
|
|
1691
|
+
operator: z.ZodEnum<{
|
|
1692
|
+
equals: "equals";
|
|
1693
|
+
not_equals: "not_equals";
|
|
1694
|
+
contains: "contains";
|
|
1695
|
+
not_contains: "not_contains";
|
|
1696
|
+
greater_than: "greater_than";
|
|
1697
|
+
less_than: "less_than";
|
|
1698
|
+
is_empty: "is_empty";
|
|
1699
|
+
is_not_empty: "is_not_empty";
|
|
1700
|
+
}>;
|
|
1701
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1702
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1703
|
+
}, z.core.$strip>>>>;
|
|
1704
|
+
isFixed: z.ZodBoolean;
|
|
1705
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
1706
|
+
status: z.ZodEnum<{
|
|
1707
|
+
D: "D";
|
|
1708
|
+
P: "P";
|
|
1709
|
+
A: "A";
|
|
1710
|
+
S: "S";
|
|
1711
|
+
}>;
|
|
1712
|
+
type: z.ZodLiteral<"matrix_single_choice">;
|
|
1713
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
1714
|
+
id: z.ZodString;
|
|
1715
|
+
value: z.ZodString;
|
|
1716
|
+
label: z.ZodString;
|
|
1717
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1718
|
+
}, z.core.$strip>>;
|
|
1719
|
+
columns: z.ZodArray<z.ZodObject<{
|
|
1720
|
+
id: z.ZodString;
|
|
1721
|
+
value: z.ZodString;
|
|
1722
|
+
label: z.ZodString;
|
|
1723
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1724
|
+
}, z.core.$strip>>;
|
|
1725
|
+
randomizeRows: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1726
|
+
randomizeColumns: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1727
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1728
|
+
id: z.ZodString;
|
|
1729
|
+
title: z.ZodString;
|
|
1730
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1731
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1732
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1733
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
1734
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1735
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1736
|
+
type: z.ZodEnum<{
|
|
1737
|
+
required: "required";
|
|
1738
|
+
min: "min";
|
|
1739
|
+
max: "max";
|
|
1740
|
+
minLength: "minLength";
|
|
1741
|
+
maxLength: "maxLength";
|
|
1742
|
+
pattern: "pattern";
|
|
1743
|
+
email: "email";
|
|
1744
|
+
url: "url";
|
|
1745
|
+
custom: "custom";
|
|
1746
|
+
}>;
|
|
1747
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1748
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1749
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1750
|
+
}, z.core.$strip>>>>;
|
|
1751
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1752
|
+
field: z.ZodString;
|
|
1753
|
+
operator: z.ZodEnum<{
|
|
1754
|
+
equals: "equals";
|
|
1755
|
+
not_equals: "not_equals";
|
|
1756
|
+
contains: "contains";
|
|
1757
|
+
not_contains: "not_contains";
|
|
1758
|
+
greater_than: "greater_than";
|
|
1759
|
+
less_than: "less_than";
|
|
1760
|
+
is_empty: "is_empty";
|
|
1761
|
+
is_not_empty: "is_not_empty";
|
|
1762
|
+
}>;
|
|
1763
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1764
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1765
|
+
}, z.core.$strip>>>>;
|
|
1766
|
+
isFixed: z.ZodBoolean;
|
|
1767
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
1768
|
+
status: z.ZodEnum<{
|
|
1769
|
+
D: "D";
|
|
1770
|
+
P: "P";
|
|
1771
|
+
A: "A";
|
|
1772
|
+
S: "S";
|
|
1773
|
+
}>;
|
|
1774
|
+
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
1775
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
1776
|
+
id: z.ZodString;
|
|
1777
|
+
value: z.ZodString;
|
|
1778
|
+
label: z.ZodString;
|
|
1779
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1780
|
+
}, z.core.$strip>>;
|
|
1781
|
+
columns: z.ZodArray<z.ZodObject<{
|
|
1782
|
+
id: z.ZodString;
|
|
1783
|
+
value: z.ZodString;
|
|
1784
|
+
label: z.ZodString;
|
|
1785
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1786
|
+
}, z.core.$strip>>;
|
|
1787
|
+
minSelectionsPerRow: z.ZodOptional<z.ZodNumber>;
|
|
1788
|
+
maxSelectionsPerRow: z.ZodOptional<z.ZodNumber>;
|
|
1789
|
+
randomizeRows: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1790
|
+
randomizeColumns: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
862
1791
|
}, z.core.$strip>, z.ZodObject<{
|
|
863
1792
|
id: z.ZodString;
|
|
864
1793
|
title: z.ZodString;
|
|
865
1794
|
description: z.ZodOptional<z.ZodString>;
|
|
1795
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
866
1796
|
describe: z.ZodOptional<z.ZodString>;
|
|
867
1797
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
868
1798
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -930,6 +1860,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
930
1860
|
id: z.ZodString;
|
|
931
1861
|
title: z.ZodString;
|
|
932
1862
|
description: z.ZodOptional<z.ZodString>;
|
|
1863
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
933
1864
|
describe: z.ZodOptional<z.ZodString>;
|
|
934
1865
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
935
1866
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -998,6 +1929,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
998
1929
|
id: z.ZodString;
|
|
999
1930
|
title: z.ZodString;
|
|
1000
1931
|
description: z.ZodOptional<z.ZodString>;
|
|
1932
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1001
1933
|
describe: z.ZodOptional<z.ZodString>;
|
|
1002
1934
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1003
1935
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -1051,6 +1983,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1051
1983
|
id: z.ZodString;
|
|
1052
1984
|
title: z.ZodString;
|
|
1053
1985
|
description: z.ZodOptional<z.ZodString>;
|
|
1986
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1054
1987
|
describe: z.ZodOptional<z.ZodString>;
|
|
1055
1988
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1056
1989
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -1101,14 +2034,13 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1101
2034
|
regexPattern: z.ZodOptional<z.ZodString>;
|
|
1102
2035
|
enableEnhanceWithAi: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1103
2036
|
promptTemplate: z.ZodOptional<z.ZodString>;
|
|
1104
|
-
cooldownSeconds: z.ZodOptional<z.ZodNumber>;
|
|
1105
|
-
maxEnhancements: z.ZodOptional<z.ZodNumber>;
|
|
1106
2037
|
maxTokenAllowed: z.ZodOptional<z.ZodNumber>;
|
|
1107
2038
|
minCharactersToEnhance: z.ZodOptional<z.ZodNumber>;
|
|
1108
2039
|
}, z.core.$strip>, z.ZodObject<{
|
|
1109
2040
|
id: z.ZodString;
|
|
1110
2041
|
title: z.ZodString;
|
|
1111
2042
|
description: z.ZodOptional<z.ZodString>;
|
|
2043
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1112
2044
|
describe: z.ZodOptional<z.ZodString>;
|
|
1113
2045
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1114
2046
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -1158,14 +2090,13 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1158
2090
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1159
2091
|
enableEnhanceWithAi: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1160
2092
|
promptTemplate: z.ZodOptional<z.ZodString>;
|
|
1161
|
-
cooldownSeconds: z.ZodOptional<z.ZodNumber>;
|
|
1162
|
-
maxEnhancements: z.ZodOptional<z.ZodNumber>;
|
|
1163
2093
|
maxTokenAllowed: z.ZodOptional<z.ZodNumber>;
|
|
1164
2094
|
minCharactersToEnhance: z.ZodOptional<z.ZodNumber>;
|
|
1165
2095
|
}, z.core.$strip>, z.ZodObject<{
|
|
1166
2096
|
id: z.ZodString;
|
|
1167
2097
|
title: z.ZodString;
|
|
1168
2098
|
description: z.ZodOptional<z.ZodString>;
|
|
2099
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1169
2100
|
describe: z.ZodOptional<z.ZodString>;
|
|
1170
2101
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1171
2102
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -1226,4 +2157,4 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1226
2157
|
maxDepth: z.ZodOptional<z.ZodNumber>;
|
|
1227
2158
|
cascadeLabels: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1228
2159
|
}, z.core.$strip>], "type">;
|
|
1229
|
-
export type CombinedQuestion = z.infer<typeof ratingQuestionSchema> | z.infer<typeof annotationQuestionSchema> | z.infer<typeof multipleChoiceSingleQuestionSchema> | z.infer<typeof multipleChoiceMultipleQuestionSchema> | z.infer<typeof npsQuestionSchema> | z.infer<typeof shortAnswerQuestionSchema> | z.infer<typeof longAnswerQuestionSchema> | z.infer<typeof nestedDropdownQuestionSchema>;
|
|
2160
|
+
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 yesNoQuestionSchema> | 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>;
|