@encatch/schema 1.0.1-beta.1 → 1.0.1-beta.2
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 +29 -98
- package/dist/esm/index.js.map +2 -2
- package/dist/types/index.d.ts +3 -3
- package/dist/types/schemas/api/fetch-feedback-schema.d.ts +276 -130
- package/dist/types/schemas/fields/app-props-schema.d.ts +138 -111
- package/dist/types/schemas/fields/field-schema.d.ts +300 -75
- package/dist/types/schemas/fields/form-properties-schema.d.ts +139 -189
- package/dist/types/schemas/fields/other-screen-schema.d.ts +0 -39
- package/dist/types/schemas/fields/translations-schema.d.ts +1 -77
- package/package.json +1 -1
|
@@ -15,6 +15,7 @@ export declare const questionTypeSchema: z.ZodEnum<{
|
|
|
15
15
|
rating_matrix: "rating_matrix";
|
|
16
16
|
matrix_single_choice: "matrix_single_choice";
|
|
17
17
|
matrix_multiple_choice: "matrix_multiple_choice";
|
|
18
|
+
exit_form: "exit_form";
|
|
18
19
|
}>;
|
|
19
20
|
export declare const QuestionTypes: {
|
|
20
21
|
readonly RATING: "rating";
|
|
@@ -32,6 +33,7 @@ export declare const QuestionTypes: {
|
|
|
32
33
|
readonly RATING_MATRIX: "rating_matrix";
|
|
33
34
|
readonly MATRIX_SINGLE_CHOICE: "matrix_single_choice";
|
|
34
35
|
readonly MATRIX_MULTIPLE_CHOICE: "matrix_multiple_choice";
|
|
36
|
+
readonly EXIT_FORM: "exit_form";
|
|
35
37
|
};
|
|
36
38
|
export declare const validationRuleTypeSchema: z.ZodEnum<{
|
|
37
39
|
required: "required";
|
|
@@ -211,12 +213,13 @@ export declare const questionSchema: z.ZodObject<{
|
|
|
211
213
|
rating_matrix: "rating_matrix";
|
|
212
214
|
matrix_single_choice: "matrix_single_choice";
|
|
213
215
|
matrix_multiple_choice: "matrix_multiple_choice";
|
|
216
|
+
exit_form: "exit_form";
|
|
214
217
|
}>;
|
|
215
218
|
title: z.ZodString;
|
|
216
219
|
description: z.ZodOptional<z.ZodString>;
|
|
217
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
218
220
|
describe: z.ZodOptional<z.ZodString>;
|
|
219
221
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
222
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
220
223
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
221
224
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
222
225
|
type: z.ZodEnum<{
|
|
@@ -249,7 +252,6 @@ export declare const questionSchema: z.ZodObject<{
|
|
|
249
252
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
250
253
|
describe: z.ZodOptional<z.ZodString>;
|
|
251
254
|
}, z.core.$strip>>>>;
|
|
252
|
-
isFixed: z.ZodBoolean;
|
|
253
255
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
254
256
|
status: z.ZodEnum<{
|
|
255
257
|
D: "D";
|
|
@@ -257,14 +259,18 @@ export declare const questionSchema: z.ZodObject<{
|
|
|
257
259
|
A: "A";
|
|
258
260
|
S: "S";
|
|
259
261
|
}>;
|
|
262
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
263
|
+
left: "left";
|
|
264
|
+
center: "center";
|
|
265
|
+
}>>>;
|
|
260
266
|
}, z.core.$strip>;
|
|
261
267
|
export declare const ratingQuestionSchema: z.ZodObject<{
|
|
262
268
|
id: z.ZodString;
|
|
263
269
|
title: z.ZodString;
|
|
264
270
|
description: z.ZodOptional<z.ZodString>;
|
|
265
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
266
271
|
describe: z.ZodOptional<z.ZodString>;
|
|
267
272
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
273
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
268
274
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
269
275
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
270
276
|
type: z.ZodEnum<{
|
|
@@ -297,7 +303,6 @@ export declare const ratingQuestionSchema: z.ZodObject<{
|
|
|
297
303
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
298
304
|
describe: z.ZodOptional<z.ZodString>;
|
|
299
305
|
}, z.core.$strip>>>>;
|
|
300
|
-
isFixed: z.ZodBoolean;
|
|
301
306
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
302
307
|
status: z.ZodEnum<{
|
|
303
308
|
D: "D";
|
|
@@ -305,6 +310,10 @@ export declare const ratingQuestionSchema: z.ZodObject<{
|
|
|
305
310
|
A: "A";
|
|
306
311
|
S: "S";
|
|
307
312
|
}>;
|
|
313
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
314
|
+
left: "left";
|
|
315
|
+
center: "center";
|
|
316
|
+
}>>>;
|
|
308
317
|
type: z.ZodLiteral<"rating">;
|
|
309
318
|
showLabels: z.ZodOptional<z.ZodBoolean>;
|
|
310
319
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -329,9 +338,9 @@ export declare const annotationQuestionSchema: z.ZodObject<{
|
|
|
329
338
|
id: z.ZodString;
|
|
330
339
|
title: z.ZodString;
|
|
331
340
|
description: z.ZodOptional<z.ZodString>;
|
|
332
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
333
341
|
describe: z.ZodOptional<z.ZodString>;
|
|
334
342
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
343
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
335
344
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
336
345
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
337
346
|
type: z.ZodEnum<{
|
|
@@ -364,7 +373,6 @@ export declare const annotationQuestionSchema: z.ZodObject<{
|
|
|
364
373
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
365
374
|
describe: z.ZodOptional<z.ZodString>;
|
|
366
375
|
}, z.core.$strip>>>>;
|
|
367
|
-
isFixed: z.ZodBoolean;
|
|
368
376
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
369
377
|
status: z.ZodEnum<{
|
|
370
378
|
D: "D";
|
|
@@ -372,15 +380,19 @@ export declare const annotationQuestionSchema: z.ZodObject<{
|
|
|
372
380
|
A: "A";
|
|
373
381
|
S: "S";
|
|
374
382
|
}>;
|
|
383
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
384
|
+
left: "left";
|
|
385
|
+
center: "center";
|
|
386
|
+
}>>>;
|
|
375
387
|
type: z.ZodLiteral<"annotation">;
|
|
376
388
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
377
389
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
378
390
|
}, z.core.$strip>;
|
|
379
391
|
export declare const welcomeQuestionSchema: z.ZodObject<{
|
|
380
392
|
id: z.ZodString;
|
|
381
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
382
393
|
describe: z.ZodOptional<z.ZodString>;
|
|
383
394
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
395
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
384
396
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
385
397
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
386
398
|
type: z.ZodEnum<{
|
|
@@ -413,7 +425,6 @@ export declare const welcomeQuestionSchema: z.ZodObject<{
|
|
|
413
425
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
414
426
|
describe: z.ZodOptional<z.ZodString>;
|
|
415
427
|
}, z.core.$strip>>>>;
|
|
416
|
-
isFixed: z.ZodBoolean;
|
|
417
428
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
418
429
|
status: z.ZodEnum<{
|
|
419
430
|
D: "D";
|
|
@@ -421,6 +432,10 @@ export declare const welcomeQuestionSchema: z.ZodObject<{
|
|
|
421
432
|
A: "A";
|
|
422
433
|
S: "S";
|
|
423
434
|
}>;
|
|
435
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
436
|
+
left: "left";
|
|
437
|
+
center: "center";
|
|
438
|
+
}>>>;
|
|
424
439
|
type: z.ZodLiteral<"welcome">;
|
|
425
440
|
title: z.ZodString;
|
|
426
441
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -429,9 +444,9 @@ export declare const welcomeQuestionSchema: z.ZodObject<{
|
|
|
429
444
|
}, z.core.$strip>;
|
|
430
445
|
export declare const thankYouQuestionSchema: z.ZodObject<{
|
|
431
446
|
id: z.ZodString;
|
|
432
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
433
447
|
describe: z.ZodOptional<z.ZodString>;
|
|
434
448
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
449
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
435
450
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
436
451
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
437
452
|
type: z.ZodEnum<{
|
|
@@ -464,7 +479,6 @@ export declare const thankYouQuestionSchema: z.ZodObject<{
|
|
|
464
479
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
465
480
|
describe: z.ZodOptional<z.ZodString>;
|
|
466
481
|
}, z.core.$strip>>>>;
|
|
467
|
-
isFixed: z.ZodBoolean;
|
|
468
482
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
469
483
|
status: z.ZodEnum<{
|
|
470
484
|
D: "D";
|
|
@@ -472,6 +486,10 @@ export declare const thankYouQuestionSchema: z.ZodObject<{
|
|
|
472
486
|
A: "A";
|
|
473
487
|
S: "S";
|
|
474
488
|
}>;
|
|
489
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
490
|
+
left: "left";
|
|
491
|
+
center: "center";
|
|
492
|
+
}>>>;
|
|
475
493
|
type: z.ZodLiteral<"thank_you">;
|
|
476
494
|
title: z.ZodString;
|
|
477
495
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -480,9 +498,9 @@ export declare const thankYouQuestionSchema: z.ZodObject<{
|
|
|
480
498
|
}, z.core.$strip>;
|
|
481
499
|
export declare const messagePanelQuestionSchema: z.ZodObject<{
|
|
482
500
|
id: z.ZodString;
|
|
483
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
484
501
|
describe: z.ZodOptional<z.ZodString>;
|
|
485
502
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
503
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
486
504
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
487
505
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
488
506
|
type: z.ZodEnum<{
|
|
@@ -515,7 +533,6 @@ export declare const messagePanelQuestionSchema: z.ZodObject<{
|
|
|
515
533
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
516
534
|
describe: z.ZodOptional<z.ZodString>;
|
|
517
535
|
}, z.core.$strip>>>>;
|
|
518
|
-
isFixed: z.ZodBoolean;
|
|
519
536
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
520
537
|
status: z.ZodEnum<{
|
|
521
538
|
D: "D";
|
|
@@ -523,19 +540,75 @@ export declare const messagePanelQuestionSchema: z.ZodObject<{
|
|
|
523
540
|
A: "A";
|
|
524
541
|
S: "S";
|
|
525
542
|
}>;
|
|
543
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
544
|
+
left: "left";
|
|
545
|
+
center: "center";
|
|
546
|
+
}>>>;
|
|
526
547
|
type: z.ZodLiteral<"message_panel">;
|
|
527
548
|
title: z.ZodString;
|
|
528
549
|
description: z.ZodOptional<z.ZodString>;
|
|
529
550
|
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
530
551
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
531
552
|
}, z.core.$strip>;
|
|
553
|
+
export declare const exitFormQuestionSchema: z.ZodObject<{
|
|
554
|
+
id: z.ZodString;
|
|
555
|
+
title: z.ZodString;
|
|
556
|
+
description: z.ZodOptional<z.ZodString>;
|
|
557
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
558
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
559
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
560
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
561
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
562
|
+
type: z.ZodEnum<{
|
|
563
|
+
required: "required";
|
|
564
|
+
min: "min";
|
|
565
|
+
max: "max";
|
|
566
|
+
minLength: "minLength";
|
|
567
|
+
maxLength: "maxLength";
|
|
568
|
+
pattern: "pattern";
|
|
569
|
+
email: "email";
|
|
570
|
+
url: "url";
|
|
571
|
+
custom: "custom";
|
|
572
|
+
}>;
|
|
573
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
574
|
+
message: z.ZodOptional<z.ZodString>;
|
|
575
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
576
|
+
}, z.core.$strip>>>>;
|
|
577
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
578
|
+
field: z.ZodString;
|
|
579
|
+
operator: z.ZodEnum<{
|
|
580
|
+
equals: "equals";
|
|
581
|
+
not_equals: "not_equals";
|
|
582
|
+
contains: "contains";
|
|
583
|
+
not_contains: "not_contains";
|
|
584
|
+
greater_than: "greater_than";
|
|
585
|
+
less_than: "less_than";
|
|
586
|
+
is_empty: "is_empty";
|
|
587
|
+
is_not_empty: "is_not_empty";
|
|
588
|
+
}>;
|
|
589
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
590
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
591
|
+
}, z.core.$strip>>>>;
|
|
592
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
593
|
+
status: z.ZodEnum<{
|
|
594
|
+
D: "D";
|
|
595
|
+
P: "P";
|
|
596
|
+
A: "A";
|
|
597
|
+
S: "S";
|
|
598
|
+
}>;
|
|
599
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
600
|
+
left: "left";
|
|
601
|
+
center: "center";
|
|
602
|
+
}>>>;
|
|
603
|
+
type: z.ZodLiteral<"exit_form">;
|
|
604
|
+
}, z.core.$strip>;
|
|
532
605
|
export declare const yesNoQuestionSchema: z.ZodObject<{
|
|
533
606
|
id: z.ZodString;
|
|
534
607
|
title: z.ZodString;
|
|
535
608
|
description: z.ZodOptional<z.ZodString>;
|
|
536
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
537
609
|
describe: z.ZodOptional<z.ZodString>;
|
|
538
610
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
611
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
539
612
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
540
613
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
541
614
|
type: z.ZodEnum<{
|
|
@@ -568,7 +641,6 @@ export declare const yesNoQuestionSchema: z.ZodObject<{
|
|
|
568
641
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
569
642
|
describe: z.ZodOptional<z.ZodString>;
|
|
570
643
|
}, z.core.$strip>>>>;
|
|
571
|
-
isFixed: z.ZodBoolean;
|
|
572
644
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
573
645
|
status: z.ZodEnum<{
|
|
574
646
|
D: "D";
|
|
@@ -576,6 +648,10 @@ export declare const yesNoQuestionSchema: z.ZodObject<{
|
|
|
576
648
|
A: "A";
|
|
577
649
|
S: "S";
|
|
578
650
|
}>;
|
|
651
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
652
|
+
left: "left";
|
|
653
|
+
center: "center";
|
|
654
|
+
}>>>;
|
|
579
655
|
type: z.ZodLiteral<"yes_no">;
|
|
580
656
|
yesLabel: z.ZodOptional<z.ZodString>;
|
|
581
657
|
noLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -610,13 +686,21 @@ export declare const ratingMatrixScalePointSchema: z.ZodObject<{
|
|
|
610
686
|
}, z.core.$strip>;
|
|
611
687
|
export declare const ratingMatrixScaleSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
612
688
|
kind: z.ZodLiteral<"likert">;
|
|
613
|
-
|
|
614
|
-
|
|
689
|
+
scalePoints: z.ZodArray<z.ZodObject<{
|
|
690
|
+
id: z.ZodString;
|
|
691
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
692
|
+
label: z.ZodString;
|
|
693
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
694
|
+
}, z.core.$strip>>;
|
|
615
695
|
}, z.core.$strip>, z.ZodObject<{
|
|
616
696
|
kind: z.ZodLiteral<"numerical">;
|
|
697
|
+
scalePoints: z.ZodArray<z.ZodObject<{
|
|
698
|
+
id: z.ZodString;
|
|
699
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
700
|
+
label: z.ZodString;
|
|
701
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
702
|
+
}, z.core.$strip>>;
|
|
617
703
|
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
704
|
}, z.core.$strip>, z.ZodObject<{
|
|
621
705
|
kind: z.ZodLiteral<"custom">;
|
|
622
706
|
scalePoints: z.ZodArray<z.ZodObject<{
|
|
@@ -630,9 +714,9 @@ export declare const ratingMatrixQuestionSchema: z.ZodObject<{
|
|
|
630
714
|
id: z.ZodString;
|
|
631
715
|
title: z.ZodString;
|
|
632
716
|
description: z.ZodOptional<z.ZodString>;
|
|
633
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
634
717
|
describe: z.ZodOptional<z.ZodString>;
|
|
635
718
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
719
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
636
720
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
637
721
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
638
722
|
type: z.ZodEnum<{
|
|
@@ -665,7 +749,6 @@ export declare const ratingMatrixQuestionSchema: z.ZodObject<{
|
|
|
665
749
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
666
750
|
describe: z.ZodOptional<z.ZodString>;
|
|
667
751
|
}, z.core.$strip>>>>;
|
|
668
|
-
isFixed: z.ZodBoolean;
|
|
669
752
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
670
753
|
status: z.ZodEnum<{
|
|
671
754
|
D: "D";
|
|
@@ -673,6 +756,10 @@ export declare const ratingMatrixQuestionSchema: z.ZodObject<{
|
|
|
673
756
|
A: "A";
|
|
674
757
|
S: "S";
|
|
675
758
|
}>;
|
|
759
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
760
|
+
left: "left";
|
|
761
|
+
center: "center";
|
|
762
|
+
}>>>;
|
|
676
763
|
type: z.ZodLiteral<"rating_matrix">;
|
|
677
764
|
statements: z.ZodArray<z.ZodObject<{
|
|
678
765
|
id: z.ZodString;
|
|
@@ -682,13 +769,21 @@ export declare const ratingMatrixQuestionSchema: z.ZodObject<{
|
|
|
682
769
|
}, z.core.$strip>>;
|
|
683
770
|
scale: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
684
771
|
kind: z.ZodLiteral<"likert">;
|
|
685
|
-
|
|
686
|
-
|
|
772
|
+
scalePoints: z.ZodArray<z.ZodObject<{
|
|
773
|
+
id: z.ZodString;
|
|
774
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
775
|
+
label: z.ZodString;
|
|
776
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
777
|
+
}, z.core.$strip>>;
|
|
687
778
|
}, z.core.$strip>, z.ZodObject<{
|
|
688
779
|
kind: z.ZodLiteral<"numerical">;
|
|
780
|
+
scalePoints: z.ZodArray<z.ZodObject<{
|
|
781
|
+
id: z.ZodString;
|
|
782
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
783
|
+
label: z.ZodString;
|
|
784
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
785
|
+
}, z.core.$strip>>;
|
|
689
786
|
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
787
|
}, z.core.$strip>, z.ZodObject<{
|
|
693
788
|
kind: z.ZodLiteral<"custom">;
|
|
694
789
|
scalePoints: z.ZodArray<z.ZodObject<{
|
|
@@ -722,9 +817,9 @@ export declare const matrixSingleChoiceQuestionSchema: z.ZodObject<{
|
|
|
722
817
|
id: z.ZodString;
|
|
723
818
|
title: z.ZodString;
|
|
724
819
|
description: z.ZodOptional<z.ZodString>;
|
|
725
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
726
820
|
describe: z.ZodOptional<z.ZodString>;
|
|
727
821
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
822
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
728
823
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
729
824
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
730
825
|
type: z.ZodEnum<{
|
|
@@ -757,7 +852,6 @@ export declare const matrixSingleChoiceQuestionSchema: z.ZodObject<{
|
|
|
757
852
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
758
853
|
describe: z.ZodOptional<z.ZodString>;
|
|
759
854
|
}, z.core.$strip>>>>;
|
|
760
|
-
isFixed: z.ZodBoolean;
|
|
761
855
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
762
856
|
status: z.ZodEnum<{
|
|
763
857
|
D: "D";
|
|
@@ -765,6 +859,10 @@ export declare const matrixSingleChoiceQuestionSchema: z.ZodObject<{
|
|
|
765
859
|
A: "A";
|
|
766
860
|
S: "S";
|
|
767
861
|
}>;
|
|
862
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
863
|
+
left: "left";
|
|
864
|
+
center: "center";
|
|
865
|
+
}>>>;
|
|
768
866
|
type: z.ZodLiteral<"matrix_single_choice">;
|
|
769
867
|
rows: z.ZodArray<z.ZodObject<{
|
|
770
868
|
id: z.ZodString;
|
|
@@ -785,9 +883,9 @@ export declare const matrixMultipleChoiceQuestionSchema: z.ZodObject<{
|
|
|
785
883
|
id: z.ZodString;
|
|
786
884
|
title: z.ZodString;
|
|
787
885
|
description: z.ZodOptional<z.ZodString>;
|
|
788
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
789
886
|
describe: z.ZodOptional<z.ZodString>;
|
|
790
887
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
888
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
791
889
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
792
890
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
793
891
|
type: z.ZodEnum<{
|
|
@@ -820,7 +918,6 @@ export declare const matrixMultipleChoiceQuestionSchema: z.ZodObject<{
|
|
|
820
918
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
821
919
|
describe: z.ZodOptional<z.ZodString>;
|
|
822
920
|
}, z.core.$strip>>>>;
|
|
823
|
-
isFixed: z.ZodBoolean;
|
|
824
921
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
825
922
|
status: z.ZodEnum<{
|
|
826
923
|
D: "D";
|
|
@@ -828,6 +925,10 @@ export declare const matrixMultipleChoiceQuestionSchema: z.ZodObject<{
|
|
|
828
925
|
A: "A";
|
|
829
926
|
S: "S";
|
|
830
927
|
}>;
|
|
928
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
929
|
+
left: "left";
|
|
930
|
+
center: "center";
|
|
931
|
+
}>>>;
|
|
831
932
|
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
832
933
|
rows: z.ZodArray<z.ZodObject<{
|
|
833
934
|
id: z.ZodString;
|
|
@@ -858,9 +959,9 @@ export declare const multipleChoiceSingleQuestionSchema: z.ZodObject<{
|
|
|
858
959
|
id: z.ZodString;
|
|
859
960
|
title: z.ZodString;
|
|
860
961
|
description: z.ZodOptional<z.ZodString>;
|
|
861
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
862
962
|
describe: z.ZodOptional<z.ZodString>;
|
|
863
963
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
964
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
864
965
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
865
966
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
866
967
|
type: z.ZodEnum<{
|
|
@@ -893,7 +994,6 @@ export declare const multipleChoiceSingleQuestionSchema: z.ZodObject<{
|
|
|
893
994
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
894
995
|
describe: z.ZodOptional<z.ZodString>;
|
|
895
996
|
}, z.core.$strip>>>>;
|
|
896
|
-
isFixed: z.ZodBoolean;
|
|
897
997
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
898
998
|
status: z.ZodEnum<{
|
|
899
999
|
D: "D";
|
|
@@ -901,6 +1001,10 @@ export declare const multipleChoiceSingleQuestionSchema: z.ZodObject<{
|
|
|
901
1001
|
A: "A";
|
|
902
1002
|
S: "S";
|
|
903
1003
|
}>;
|
|
1004
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1005
|
+
left: "left";
|
|
1006
|
+
center: "center";
|
|
1007
|
+
}>>>;
|
|
904
1008
|
type: z.ZodLiteral<"single_choice">;
|
|
905
1009
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
906
1010
|
radio: "radio";
|
|
@@ -927,9 +1031,9 @@ export declare const multipleChoiceMultipleQuestionSchema: z.ZodObject<{
|
|
|
927
1031
|
id: z.ZodString;
|
|
928
1032
|
title: z.ZodString;
|
|
929
1033
|
description: z.ZodOptional<z.ZodString>;
|
|
930
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
931
1034
|
describe: z.ZodOptional<z.ZodString>;
|
|
932
1035
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1036
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
933
1037
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
934
1038
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
935
1039
|
type: z.ZodEnum<{
|
|
@@ -962,7 +1066,6 @@ export declare const multipleChoiceMultipleQuestionSchema: z.ZodObject<{
|
|
|
962
1066
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
963
1067
|
describe: z.ZodOptional<z.ZodString>;
|
|
964
1068
|
}, z.core.$strip>>>>;
|
|
965
|
-
isFixed: z.ZodBoolean;
|
|
966
1069
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
967
1070
|
status: z.ZodEnum<{
|
|
968
1071
|
D: "D";
|
|
@@ -970,6 +1073,10 @@ export declare const multipleChoiceMultipleQuestionSchema: z.ZodObject<{
|
|
|
970
1073
|
A: "A";
|
|
971
1074
|
S: "S";
|
|
972
1075
|
}>;
|
|
1076
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1077
|
+
left: "left";
|
|
1078
|
+
center: "center";
|
|
1079
|
+
}>>>;
|
|
973
1080
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
974
1081
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
975
1082
|
list: "list";
|
|
@@ -997,9 +1104,9 @@ export declare const npsQuestionSchema: z.ZodObject<{
|
|
|
997
1104
|
id: z.ZodString;
|
|
998
1105
|
title: z.ZodString;
|
|
999
1106
|
description: z.ZodOptional<z.ZodString>;
|
|
1000
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1001
1107
|
describe: z.ZodOptional<z.ZodString>;
|
|
1002
1108
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1109
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1003
1110
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1004
1111
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1005
1112
|
type: z.ZodEnum<{
|
|
@@ -1032,7 +1139,6 @@ export declare const npsQuestionSchema: z.ZodObject<{
|
|
|
1032
1139
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1033
1140
|
describe: z.ZodOptional<z.ZodString>;
|
|
1034
1141
|
}, z.core.$strip>>>>;
|
|
1035
|
-
isFixed: z.ZodBoolean;
|
|
1036
1142
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
1037
1143
|
status: z.ZodEnum<{
|
|
1038
1144
|
D: "D";
|
|
@@ -1040,6 +1146,10 @@ export declare const npsQuestionSchema: z.ZodObject<{
|
|
|
1040
1146
|
A: "A";
|
|
1041
1147
|
S: "S";
|
|
1042
1148
|
}>;
|
|
1149
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1150
|
+
left: "left";
|
|
1151
|
+
center: "center";
|
|
1152
|
+
}>>>;
|
|
1043
1153
|
type: z.ZodLiteral<"nps">;
|
|
1044
1154
|
min: z.ZodLiteral<0>;
|
|
1045
1155
|
max: z.ZodLiteral<10>;
|
|
@@ -1052,9 +1162,9 @@ export declare const shortAnswerQuestionSchema: z.ZodObject<{
|
|
|
1052
1162
|
id: z.ZodString;
|
|
1053
1163
|
title: z.ZodString;
|
|
1054
1164
|
description: z.ZodOptional<z.ZodString>;
|
|
1055
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1056
1165
|
describe: z.ZodOptional<z.ZodString>;
|
|
1057
1166
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1167
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1058
1168
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1059
1169
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1060
1170
|
type: z.ZodEnum<{
|
|
@@ -1087,7 +1197,6 @@ export declare const shortAnswerQuestionSchema: z.ZodObject<{
|
|
|
1087
1197
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1088
1198
|
describe: z.ZodOptional<z.ZodString>;
|
|
1089
1199
|
}, z.core.$strip>>>>;
|
|
1090
|
-
isFixed: z.ZodBoolean;
|
|
1091
1200
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
1092
1201
|
status: z.ZodEnum<{
|
|
1093
1202
|
D: "D";
|
|
@@ -1095,6 +1204,10 @@ export declare const shortAnswerQuestionSchema: z.ZodObject<{
|
|
|
1095
1204
|
A: "A";
|
|
1096
1205
|
S: "S";
|
|
1097
1206
|
}>;
|
|
1207
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1208
|
+
left: "left";
|
|
1209
|
+
center: "center";
|
|
1210
|
+
}>>>;
|
|
1098
1211
|
type: z.ZodLiteral<"short_answer">;
|
|
1099
1212
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1100
1213
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1110,9 +1223,9 @@ export declare const longAnswerQuestionSchema: z.ZodObject<{
|
|
|
1110
1223
|
id: z.ZodString;
|
|
1111
1224
|
title: z.ZodString;
|
|
1112
1225
|
description: z.ZodOptional<z.ZodString>;
|
|
1113
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1114
1226
|
describe: z.ZodOptional<z.ZodString>;
|
|
1115
1227
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1228
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1116
1229
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1117
1230
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1118
1231
|
type: z.ZodEnum<{
|
|
@@ -1145,7 +1258,6 @@ export declare const longAnswerQuestionSchema: z.ZodObject<{
|
|
|
1145
1258
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1146
1259
|
describe: z.ZodOptional<z.ZodString>;
|
|
1147
1260
|
}, z.core.$strip>>>>;
|
|
1148
|
-
isFixed: z.ZodBoolean;
|
|
1149
1261
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
1150
1262
|
status: z.ZodEnum<{
|
|
1151
1263
|
D: "D";
|
|
@@ -1153,6 +1265,10 @@ export declare const longAnswerQuestionSchema: z.ZodObject<{
|
|
|
1153
1265
|
A: "A";
|
|
1154
1266
|
S: "S";
|
|
1155
1267
|
}>;
|
|
1268
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1269
|
+
left: "left";
|
|
1270
|
+
center: "center";
|
|
1271
|
+
}>>>;
|
|
1156
1272
|
type: z.ZodLiteral<"long_text">;
|
|
1157
1273
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1158
1274
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1167,9 +1283,9 @@ export declare const nestedDropdownQuestionSchema: z.ZodObject<{
|
|
|
1167
1283
|
id: z.ZodString;
|
|
1168
1284
|
title: z.ZodString;
|
|
1169
1285
|
description: z.ZodOptional<z.ZodString>;
|
|
1170
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1171
1286
|
describe: z.ZodOptional<z.ZodString>;
|
|
1172
1287
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1288
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1173
1289
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1174
1290
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1175
1291
|
type: z.ZodEnum<{
|
|
@@ -1202,7 +1318,6 @@ export declare const nestedDropdownQuestionSchema: z.ZodObject<{
|
|
|
1202
1318
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1203
1319
|
describe: z.ZodOptional<z.ZodString>;
|
|
1204
1320
|
}, z.core.$strip>>>>;
|
|
1205
|
-
isFixed: z.ZodBoolean;
|
|
1206
1321
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
1207
1322
|
status: z.ZodEnum<{
|
|
1208
1323
|
D: "D";
|
|
@@ -1210,6 +1325,10 @@ export declare const nestedDropdownQuestionSchema: z.ZodObject<{
|
|
|
1210
1325
|
A: "A";
|
|
1211
1326
|
S: "S";
|
|
1212
1327
|
}>;
|
|
1328
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1329
|
+
left: "left";
|
|
1330
|
+
center: "center";
|
|
1331
|
+
}>>>;
|
|
1213
1332
|
type: z.ZodLiteral<"nested_selection">;
|
|
1214
1333
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1215
1334
|
options: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
@@ -1229,6 +1348,7 @@ export declare const nestedDropdownQuestionSchema: z.ZodObject<{
|
|
|
1229
1348
|
cascadeLabels: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1230
1349
|
}, z.core.$strip>;
|
|
1231
1350
|
export type QuestionType = z.infer<typeof questionTypeSchema>;
|
|
1351
|
+
export type QuestionTextAlign = "left" | "center";
|
|
1232
1352
|
export type ValidationRule = z.infer<typeof validationRuleSchema>;
|
|
1233
1353
|
export type VisibilityCondition = z.infer<typeof visibilityConditionSchema>;
|
|
1234
1354
|
export type QuestionStatus = z.infer<typeof questionStatusSchema>;
|
|
@@ -1240,6 +1360,7 @@ export type AnnotationQuestion = z.infer<typeof annotationQuestionSchema>;
|
|
|
1240
1360
|
export type WelcomeQuestion = z.infer<typeof welcomeQuestionSchema>;
|
|
1241
1361
|
export type ThankYouQuestion = z.infer<typeof thankYouQuestionSchema>;
|
|
1242
1362
|
export type MessagePanelQuestion = z.infer<typeof messagePanelQuestionSchema>;
|
|
1363
|
+
export type ExitFormQuestion = z.infer<typeof exitFormQuestionSchema>;
|
|
1243
1364
|
export type YesNoDisplayStyle = z.infer<typeof yesNoDisplayStyleSchema>;
|
|
1244
1365
|
export type YesNoQuestion = z.infer<typeof yesNoQuestionSchema>;
|
|
1245
1366
|
export type RatingMatrixStatement = z.infer<typeof ratingMatrixStatementSchema>;
|
|
@@ -1267,9 +1388,9 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1267
1388
|
id: z.ZodString;
|
|
1268
1389
|
title: z.ZodString;
|
|
1269
1390
|
description: z.ZodOptional<z.ZodString>;
|
|
1270
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1271
1391
|
describe: z.ZodOptional<z.ZodString>;
|
|
1272
1392
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1393
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1273
1394
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1274
1395
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1275
1396
|
type: z.ZodEnum<{
|
|
@@ -1302,7 +1423,6 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1302
1423
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1303
1424
|
describe: z.ZodOptional<z.ZodString>;
|
|
1304
1425
|
}, z.core.$strip>>>>;
|
|
1305
|
-
isFixed: z.ZodBoolean;
|
|
1306
1426
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
1307
1427
|
status: z.ZodEnum<{
|
|
1308
1428
|
D: "D";
|
|
@@ -1310,6 +1430,10 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1310
1430
|
A: "A";
|
|
1311
1431
|
S: "S";
|
|
1312
1432
|
}>;
|
|
1433
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1434
|
+
left: "left";
|
|
1435
|
+
center: "center";
|
|
1436
|
+
}>>>;
|
|
1313
1437
|
type: z.ZodLiteral<"rating">;
|
|
1314
1438
|
showLabels: z.ZodOptional<z.ZodBoolean>;
|
|
1315
1439
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1333,9 +1457,9 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1333
1457
|
id: z.ZodString;
|
|
1334
1458
|
title: z.ZodString;
|
|
1335
1459
|
description: z.ZodOptional<z.ZodString>;
|
|
1336
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1337
1460
|
describe: z.ZodOptional<z.ZodString>;
|
|
1338
1461
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1462
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1339
1463
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1340
1464
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1341
1465
|
type: z.ZodEnum<{
|
|
@@ -1368,7 +1492,6 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1368
1492
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1369
1493
|
describe: z.ZodOptional<z.ZodString>;
|
|
1370
1494
|
}, z.core.$strip>>>>;
|
|
1371
|
-
isFixed: z.ZodBoolean;
|
|
1372
1495
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
1373
1496
|
status: z.ZodEnum<{
|
|
1374
1497
|
D: "D";
|
|
@@ -1376,14 +1499,18 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1376
1499
|
A: "A";
|
|
1377
1500
|
S: "S";
|
|
1378
1501
|
}>;
|
|
1502
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1503
|
+
left: "left";
|
|
1504
|
+
center: "center";
|
|
1505
|
+
}>>>;
|
|
1379
1506
|
type: z.ZodLiteral<"annotation">;
|
|
1380
1507
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
1381
1508
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
1382
1509
|
}, z.core.$strip>, z.ZodObject<{
|
|
1383
1510
|
id: z.ZodString;
|
|
1384
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1385
1511
|
describe: z.ZodOptional<z.ZodString>;
|
|
1386
1512
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1513
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1387
1514
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1388
1515
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1389
1516
|
type: z.ZodEnum<{
|
|
@@ -1416,7 +1543,6 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1416
1543
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1417
1544
|
describe: z.ZodOptional<z.ZodString>;
|
|
1418
1545
|
}, z.core.$strip>>>>;
|
|
1419
|
-
isFixed: z.ZodBoolean;
|
|
1420
1546
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
1421
1547
|
status: z.ZodEnum<{
|
|
1422
1548
|
D: "D";
|
|
@@ -1424,6 +1550,10 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1424
1550
|
A: "A";
|
|
1425
1551
|
S: "S";
|
|
1426
1552
|
}>;
|
|
1553
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1554
|
+
left: "left";
|
|
1555
|
+
center: "center";
|
|
1556
|
+
}>>>;
|
|
1427
1557
|
type: z.ZodLiteral<"welcome">;
|
|
1428
1558
|
title: z.ZodString;
|
|
1429
1559
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1431,9 +1561,9 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1431
1561
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
1432
1562
|
}, z.core.$strip>, z.ZodObject<{
|
|
1433
1563
|
id: z.ZodString;
|
|
1434
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1435
1564
|
describe: z.ZodOptional<z.ZodString>;
|
|
1436
1565
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1566
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1437
1567
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1438
1568
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1439
1569
|
type: z.ZodEnum<{
|
|
@@ -1466,7 +1596,6 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1466
1596
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1467
1597
|
describe: z.ZodOptional<z.ZodString>;
|
|
1468
1598
|
}, z.core.$strip>>>>;
|
|
1469
|
-
isFixed: z.ZodBoolean;
|
|
1470
1599
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
1471
1600
|
status: z.ZodEnum<{
|
|
1472
1601
|
D: "D";
|
|
@@ -1474,6 +1603,10 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1474
1603
|
A: "A";
|
|
1475
1604
|
S: "S";
|
|
1476
1605
|
}>;
|
|
1606
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1607
|
+
left: "left";
|
|
1608
|
+
center: "center";
|
|
1609
|
+
}>>>;
|
|
1477
1610
|
type: z.ZodLiteral<"thank_you">;
|
|
1478
1611
|
title: z.ZodString;
|
|
1479
1612
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1481,9 +1614,9 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1481
1614
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
1482
1615
|
}, z.core.$strip>, z.ZodObject<{
|
|
1483
1616
|
id: z.ZodString;
|
|
1484
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1485
1617
|
describe: z.ZodOptional<z.ZodString>;
|
|
1486
1618
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1619
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1487
1620
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1488
1621
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1489
1622
|
type: z.ZodEnum<{
|
|
@@ -1516,7 +1649,6 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1516
1649
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1517
1650
|
describe: z.ZodOptional<z.ZodString>;
|
|
1518
1651
|
}, z.core.$strip>>>>;
|
|
1519
|
-
isFixed: z.ZodBoolean;
|
|
1520
1652
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
1521
1653
|
status: z.ZodEnum<{
|
|
1522
1654
|
D: "D";
|
|
@@ -1524,6 +1656,10 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1524
1656
|
A: "A";
|
|
1525
1657
|
S: "S";
|
|
1526
1658
|
}>;
|
|
1659
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1660
|
+
left: "left";
|
|
1661
|
+
center: "center";
|
|
1662
|
+
}>>>;
|
|
1527
1663
|
type: z.ZodLiteral<"message_panel">;
|
|
1528
1664
|
title: z.ZodString;
|
|
1529
1665
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1533,9 +1669,9 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1533
1669
|
id: z.ZodString;
|
|
1534
1670
|
title: z.ZodString;
|
|
1535
1671
|
description: z.ZodOptional<z.ZodString>;
|
|
1536
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1537
1672
|
describe: z.ZodOptional<z.ZodString>;
|
|
1538
1673
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1674
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1539
1675
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1540
1676
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1541
1677
|
type: z.ZodEnum<{
|
|
@@ -1568,7 +1704,6 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1568
1704
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1569
1705
|
describe: z.ZodOptional<z.ZodString>;
|
|
1570
1706
|
}, z.core.$strip>>>>;
|
|
1571
|
-
isFixed: z.ZodBoolean;
|
|
1572
1707
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
1573
1708
|
status: z.ZodEnum<{
|
|
1574
1709
|
D: "D";
|
|
@@ -1576,6 +1711,61 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1576
1711
|
A: "A";
|
|
1577
1712
|
S: "S";
|
|
1578
1713
|
}>;
|
|
1714
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1715
|
+
left: "left";
|
|
1716
|
+
center: "center";
|
|
1717
|
+
}>>>;
|
|
1718
|
+
type: z.ZodLiteral<"exit_form">;
|
|
1719
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1720
|
+
id: z.ZodString;
|
|
1721
|
+
title: z.ZodString;
|
|
1722
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1723
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1724
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
1725
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1726
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1727
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1728
|
+
type: z.ZodEnum<{
|
|
1729
|
+
required: "required";
|
|
1730
|
+
min: "min";
|
|
1731
|
+
max: "max";
|
|
1732
|
+
minLength: "minLength";
|
|
1733
|
+
maxLength: "maxLength";
|
|
1734
|
+
pattern: "pattern";
|
|
1735
|
+
email: "email";
|
|
1736
|
+
url: "url";
|
|
1737
|
+
custom: "custom";
|
|
1738
|
+
}>;
|
|
1739
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1740
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1741
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1742
|
+
}, z.core.$strip>>>>;
|
|
1743
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1744
|
+
field: z.ZodString;
|
|
1745
|
+
operator: z.ZodEnum<{
|
|
1746
|
+
equals: "equals";
|
|
1747
|
+
not_equals: "not_equals";
|
|
1748
|
+
contains: "contains";
|
|
1749
|
+
not_contains: "not_contains";
|
|
1750
|
+
greater_than: "greater_than";
|
|
1751
|
+
less_than: "less_than";
|
|
1752
|
+
is_empty: "is_empty";
|
|
1753
|
+
is_not_empty: "is_not_empty";
|
|
1754
|
+
}>;
|
|
1755
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1756
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1757
|
+
}, z.core.$strip>>>>;
|
|
1758
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
1759
|
+
status: z.ZodEnum<{
|
|
1760
|
+
D: "D";
|
|
1761
|
+
P: "P";
|
|
1762
|
+
A: "A";
|
|
1763
|
+
S: "S";
|
|
1764
|
+
}>;
|
|
1765
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1766
|
+
left: "left";
|
|
1767
|
+
center: "center";
|
|
1768
|
+
}>>>;
|
|
1579
1769
|
type: z.ZodLiteral<"yes_no">;
|
|
1580
1770
|
yesLabel: z.ZodOptional<z.ZodString>;
|
|
1581
1771
|
noLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1587,9 +1777,9 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1587
1777
|
id: z.ZodString;
|
|
1588
1778
|
title: z.ZodString;
|
|
1589
1779
|
description: z.ZodOptional<z.ZodString>;
|
|
1590
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1591
1780
|
describe: z.ZodOptional<z.ZodString>;
|
|
1592
1781
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1782
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1593
1783
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1594
1784
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1595
1785
|
type: z.ZodEnum<{
|
|
@@ -1622,7 +1812,6 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1622
1812
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1623
1813
|
describe: z.ZodOptional<z.ZodString>;
|
|
1624
1814
|
}, z.core.$strip>>>>;
|
|
1625
|
-
isFixed: z.ZodBoolean;
|
|
1626
1815
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
1627
1816
|
status: z.ZodEnum<{
|
|
1628
1817
|
D: "D";
|
|
@@ -1630,6 +1819,10 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1630
1819
|
A: "A";
|
|
1631
1820
|
S: "S";
|
|
1632
1821
|
}>;
|
|
1822
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1823
|
+
left: "left";
|
|
1824
|
+
center: "center";
|
|
1825
|
+
}>>>;
|
|
1633
1826
|
type: z.ZodLiteral<"rating_matrix">;
|
|
1634
1827
|
statements: z.ZodArray<z.ZodObject<{
|
|
1635
1828
|
id: z.ZodString;
|
|
@@ -1639,13 +1832,21 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1639
1832
|
}, z.core.$strip>>;
|
|
1640
1833
|
scale: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1641
1834
|
kind: z.ZodLiteral<"likert">;
|
|
1642
|
-
|
|
1643
|
-
|
|
1835
|
+
scalePoints: z.ZodArray<z.ZodObject<{
|
|
1836
|
+
id: z.ZodString;
|
|
1837
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
1838
|
+
label: z.ZodString;
|
|
1839
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1840
|
+
}, z.core.$strip>>;
|
|
1644
1841
|
}, z.core.$strip>, z.ZodObject<{
|
|
1645
1842
|
kind: z.ZodLiteral<"numerical">;
|
|
1843
|
+
scalePoints: z.ZodArray<z.ZodObject<{
|
|
1844
|
+
id: z.ZodString;
|
|
1845
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
1846
|
+
label: z.ZodString;
|
|
1847
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1848
|
+
}, z.core.$strip>>;
|
|
1646
1849
|
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
1850
|
}, z.core.$strip>, z.ZodObject<{
|
|
1650
1851
|
kind: z.ZodLiteral<"custom">;
|
|
1651
1852
|
scalePoints: z.ZodArray<z.ZodObject<{
|
|
@@ -1666,9 +1867,9 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1666
1867
|
id: z.ZodString;
|
|
1667
1868
|
title: z.ZodString;
|
|
1668
1869
|
description: z.ZodOptional<z.ZodString>;
|
|
1669
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1670
1870
|
describe: z.ZodOptional<z.ZodString>;
|
|
1671
1871
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1872
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1672
1873
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1673
1874
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1674
1875
|
type: z.ZodEnum<{
|
|
@@ -1701,7 +1902,6 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1701
1902
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1702
1903
|
describe: z.ZodOptional<z.ZodString>;
|
|
1703
1904
|
}, z.core.$strip>>>>;
|
|
1704
|
-
isFixed: z.ZodBoolean;
|
|
1705
1905
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
1706
1906
|
status: z.ZodEnum<{
|
|
1707
1907
|
D: "D";
|
|
@@ -1709,6 +1909,10 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1709
1909
|
A: "A";
|
|
1710
1910
|
S: "S";
|
|
1711
1911
|
}>;
|
|
1912
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1913
|
+
left: "left";
|
|
1914
|
+
center: "center";
|
|
1915
|
+
}>>>;
|
|
1712
1916
|
type: z.ZodLiteral<"matrix_single_choice">;
|
|
1713
1917
|
rows: z.ZodArray<z.ZodObject<{
|
|
1714
1918
|
id: z.ZodString;
|
|
@@ -1728,9 +1932,9 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1728
1932
|
id: z.ZodString;
|
|
1729
1933
|
title: z.ZodString;
|
|
1730
1934
|
description: z.ZodOptional<z.ZodString>;
|
|
1731
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1732
1935
|
describe: z.ZodOptional<z.ZodString>;
|
|
1733
1936
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1937
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1734
1938
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1735
1939
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1736
1940
|
type: z.ZodEnum<{
|
|
@@ -1763,7 +1967,6 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1763
1967
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1764
1968
|
describe: z.ZodOptional<z.ZodString>;
|
|
1765
1969
|
}, z.core.$strip>>>>;
|
|
1766
|
-
isFixed: z.ZodBoolean;
|
|
1767
1970
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
1768
1971
|
status: z.ZodEnum<{
|
|
1769
1972
|
D: "D";
|
|
@@ -1771,6 +1974,10 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1771
1974
|
A: "A";
|
|
1772
1975
|
S: "S";
|
|
1773
1976
|
}>;
|
|
1977
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1978
|
+
left: "left";
|
|
1979
|
+
center: "center";
|
|
1980
|
+
}>>>;
|
|
1774
1981
|
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
1775
1982
|
rows: z.ZodArray<z.ZodObject<{
|
|
1776
1983
|
id: z.ZodString;
|
|
@@ -1792,9 +1999,9 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1792
1999
|
id: z.ZodString;
|
|
1793
2000
|
title: z.ZodString;
|
|
1794
2001
|
description: z.ZodOptional<z.ZodString>;
|
|
1795
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1796
2002
|
describe: z.ZodOptional<z.ZodString>;
|
|
1797
2003
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
2004
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1798
2005
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1799
2006
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1800
2007
|
type: z.ZodEnum<{
|
|
@@ -1827,7 +2034,6 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1827
2034
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1828
2035
|
describe: z.ZodOptional<z.ZodString>;
|
|
1829
2036
|
}, z.core.$strip>>>>;
|
|
1830
|
-
isFixed: z.ZodBoolean;
|
|
1831
2037
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
1832
2038
|
status: z.ZodEnum<{
|
|
1833
2039
|
D: "D";
|
|
@@ -1835,6 +2041,10 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1835
2041
|
A: "A";
|
|
1836
2042
|
S: "S";
|
|
1837
2043
|
}>;
|
|
2044
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2045
|
+
left: "left";
|
|
2046
|
+
center: "center";
|
|
2047
|
+
}>>>;
|
|
1838
2048
|
type: z.ZodLiteral<"single_choice">;
|
|
1839
2049
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
1840
2050
|
radio: "radio";
|
|
@@ -1860,9 +2070,9 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1860
2070
|
id: z.ZodString;
|
|
1861
2071
|
title: z.ZodString;
|
|
1862
2072
|
description: z.ZodOptional<z.ZodString>;
|
|
1863
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1864
2073
|
describe: z.ZodOptional<z.ZodString>;
|
|
1865
2074
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
2075
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1866
2076
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1867
2077
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1868
2078
|
type: z.ZodEnum<{
|
|
@@ -1895,7 +2105,6 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1895
2105
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1896
2106
|
describe: z.ZodOptional<z.ZodString>;
|
|
1897
2107
|
}, z.core.$strip>>>>;
|
|
1898
|
-
isFixed: z.ZodBoolean;
|
|
1899
2108
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
1900
2109
|
status: z.ZodEnum<{
|
|
1901
2110
|
D: "D";
|
|
@@ -1903,6 +2112,10 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1903
2112
|
A: "A";
|
|
1904
2113
|
S: "S";
|
|
1905
2114
|
}>;
|
|
2115
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2116
|
+
left: "left";
|
|
2117
|
+
center: "center";
|
|
2118
|
+
}>>>;
|
|
1906
2119
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
1907
2120
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
1908
2121
|
list: "list";
|
|
@@ -1929,9 +2142,9 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1929
2142
|
id: z.ZodString;
|
|
1930
2143
|
title: z.ZodString;
|
|
1931
2144
|
description: z.ZodOptional<z.ZodString>;
|
|
1932
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1933
2145
|
describe: z.ZodOptional<z.ZodString>;
|
|
1934
2146
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
2147
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1935
2148
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1936
2149
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1937
2150
|
type: z.ZodEnum<{
|
|
@@ -1964,7 +2177,6 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1964
2177
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1965
2178
|
describe: z.ZodOptional<z.ZodString>;
|
|
1966
2179
|
}, z.core.$strip>>>>;
|
|
1967
|
-
isFixed: z.ZodBoolean;
|
|
1968
2180
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
1969
2181
|
status: z.ZodEnum<{
|
|
1970
2182
|
D: "D";
|
|
@@ -1972,6 +2184,10 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1972
2184
|
A: "A";
|
|
1973
2185
|
S: "S";
|
|
1974
2186
|
}>;
|
|
2187
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2188
|
+
left: "left";
|
|
2189
|
+
center: "center";
|
|
2190
|
+
}>>>;
|
|
1975
2191
|
type: z.ZodLiteral<"nps">;
|
|
1976
2192
|
min: z.ZodLiteral<0>;
|
|
1977
2193
|
max: z.ZodLiteral<10>;
|
|
@@ -1983,9 +2199,9 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1983
2199
|
id: z.ZodString;
|
|
1984
2200
|
title: z.ZodString;
|
|
1985
2201
|
description: z.ZodOptional<z.ZodString>;
|
|
1986
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1987
2202
|
describe: z.ZodOptional<z.ZodString>;
|
|
1988
2203
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
2204
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1989
2205
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1990
2206
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1991
2207
|
type: z.ZodEnum<{
|
|
@@ -2018,7 +2234,6 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2018
2234
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2019
2235
|
describe: z.ZodOptional<z.ZodString>;
|
|
2020
2236
|
}, z.core.$strip>>>>;
|
|
2021
|
-
isFixed: z.ZodBoolean;
|
|
2022
2237
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
2023
2238
|
status: z.ZodEnum<{
|
|
2024
2239
|
D: "D";
|
|
@@ -2026,6 +2241,10 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2026
2241
|
A: "A";
|
|
2027
2242
|
S: "S";
|
|
2028
2243
|
}>;
|
|
2244
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2245
|
+
left: "left";
|
|
2246
|
+
center: "center";
|
|
2247
|
+
}>>>;
|
|
2029
2248
|
type: z.ZodLiteral<"short_answer">;
|
|
2030
2249
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
2031
2250
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2040,9 +2259,9 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2040
2259
|
id: z.ZodString;
|
|
2041
2260
|
title: z.ZodString;
|
|
2042
2261
|
description: z.ZodOptional<z.ZodString>;
|
|
2043
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
2044
2262
|
describe: z.ZodOptional<z.ZodString>;
|
|
2045
2263
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
2264
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
2046
2265
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
2047
2266
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2048
2267
|
type: z.ZodEnum<{
|
|
@@ -2075,7 +2294,6 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2075
2294
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2076
2295
|
describe: z.ZodOptional<z.ZodString>;
|
|
2077
2296
|
}, z.core.$strip>>>>;
|
|
2078
|
-
isFixed: z.ZodBoolean;
|
|
2079
2297
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
2080
2298
|
status: z.ZodEnum<{
|
|
2081
2299
|
D: "D";
|
|
@@ -2083,6 +2301,10 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2083
2301
|
A: "A";
|
|
2084
2302
|
S: "S";
|
|
2085
2303
|
}>;
|
|
2304
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2305
|
+
left: "left";
|
|
2306
|
+
center: "center";
|
|
2307
|
+
}>>>;
|
|
2086
2308
|
type: z.ZodLiteral<"long_text">;
|
|
2087
2309
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
2088
2310
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2096,9 +2318,9 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2096
2318
|
id: z.ZodString;
|
|
2097
2319
|
title: z.ZodString;
|
|
2098
2320
|
description: z.ZodOptional<z.ZodString>;
|
|
2099
|
-
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
2100
2321
|
describe: z.ZodOptional<z.ZodString>;
|
|
2101
2322
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
2323
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
2102
2324
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
2103
2325
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2104
2326
|
type: z.ZodEnum<{
|
|
@@ -2131,7 +2353,6 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2131
2353
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2132
2354
|
describe: z.ZodOptional<z.ZodString>;
|
|
2133
2355
|
}, z.core.$strip>>>>;
|
|
2134
|
-
isFixed: z.ZodBoolean;
|
|
2135
2356
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
2136
2357
|
status: z.ZodEnum<{
|
|
2137
2358
|
D: "D";
|
|
@@ -2139,6 +2360,10 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2139
2360
|
A: "A";
|
|
2140
2361
|
S: "S";
|
|
2141
2362
|
}>;
|
|
2363
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2364
|
+
left: "left";
|
|
2365
|
+
center: "center";
|
|
2366
|
+
}>>>;
|
|
2142
2367
|
type: z.ZodLiteral<"nested_selection">;
|
|
2143
2368
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
2144
2369
|
options: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
@@ -2157,4 +2382,4 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2157
2382
|
maxDepth: z.ZodOptional<z.ZodNumber>;
|
|
2158
2383
|
cascadeLabels: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2159
2384
|
}, z.core.$strip>], "type">;
|
|
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>;
|
|
2385
|
+
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 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>;
|