@encatch/schema 1.0.1-beta.2 → 1.1.0-beta.10
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 +562 -608
- package/dist/esm/index.js.map +4 -4
- package/dist/types/index.d.ts +5 -5
- package/dist/types/schemas/api/fetch-feedback-schema.d.ts +320 -135
- package/dist/types/schemas/api/submit-feedback-schema.d.ts +6 -0
- package/dist/types/schemas/fields/answer-schema.d.ts +2 -0
- package/dist/types/schemas/fields/app-props-schema.d.ts +174 -58
- package/dist/types/schemas/fields/field-schema.d.ts +296 -80
- package/dist/types/schemas/fields/form-properties-schema.d.ts +184 -101
- package/dist/types/schemas/fields/form-schema.d.ts +0 -58
- package/dist/types/schemas/fields/other-screen-schema.d.ts +0 -5
- package/dist/types/schemas/fields/theme-schema.d.ts +20 -22
- package/dist/types/schemas/fields/translations-schema.d.ts +121 -16
- package/package.json +1 -1
|
@@ -2,15 +2,16 @@ import { z } from "zod";
|
|
|
2
2
|
export declare const questionTypeSchema: z.ZodEnum<{
|
|
3
3
|
rating: "rating";
|
|
4
4
|
single_choice: "single_choice";
|
|
5
|
-
nps: "nps";
|
|
6
|
-
nested_selection: "nested_selection";
|
|
7
5
|
multiple_choice_multiple: "multiple_choice_multiple";
|
|
6
|
+
nps: "nps";
|
|
8
7
|
short_answer: "short_answer";
|
|
9
8
|
long_text: "long_text";
|
|
9
|
+
nested_selection: "nested_selection";
|
|
10
10
|
annotation: "annotation";
|
|
11
11
|
welcome: "welcome";
|
|
12
12
|
thank_you: "thank_you";
|
|
13
13
|
message_panel: "message_panel";
|
|
14
|
+
consent: "consent";
|
|
14
15
|
yes_no: "yes_no";
|
|
15
16
|
rating_matrix: "rating_matrix";
|
|
16
17
|
matrix_single_choice: "matrix_single_choice";
|
|
@@ -34,17 +35,18 @@ export declare const QuestionTypes: {
|
|
|
34
35
|
readonly MATRIX_SINGLE_CHOICE: "matrix_single_choice";
|
|
35
36
|
readonly MATRIX_MULTIPLE_CHOICE: "matrix_multiple_choice";
|
|
36
37
|
readonly EXIT_FORM: "exit_form";
|
|
38
|
+
readonly CONSENT: "consent";
|
|
37
39
|
};
|
|
38
40
|
export declare const validationRuleTypeSchema: z.ZodEnum<{
|
|
41
|
+
custom: "custom";
|
|
42
|
+
pattern: "pattern";
|
|
39
43
|
required: "required";
|
|
40
44
|
min: "min";
|
|
41
45
|
max: "max";
|
|
42
46
|
minLength: "minLength";
|
|
43
47
|
maxLength: "maxLength";
|
|
44
|
-
pattern: "pattern";
|
|
45
48
|
email: "email";
|
|
46
49
|
url: "url";
|
|
47
|
-
custom: "custom";
|
|
48
50
|
}>;
|
|
49
51
|
export declare const ValidationRuleTypes: {
|
|
50
52
|
readonly REQUIRED: "required";
|
|
@@ -59,15 +61,15 @@ export declare const ValidationRuleTypes: {
|
|
|
59
61
|
};
|
|
60
62
|
export declare const validationRuleSchema: z.ZodObject<{
|
|
61
63
|
type: z.ZodEnum<{
|
|
64
|
+
custom: "custom";
|
|
65
|
+
pattern: "pattern";
|
|
62
66
|
required: "required";
|
|
63
67
|
min: "min";
|
|
64
68
|
max: "max";
|
|
65
69
|
minLength: "minLength";
|
|
66
70
|
maxLength: "maxLength";
|
|
67
|
-
pattern: "pattern";
|
|
68
71
|
email: "email";
|
|
69
72
|
url: "url";
|
|
70
|
-
custom: "custom";
|
|
71
73
|
}>;
|
|
72
74
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
73
75
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -111,6 +113,16 @@ export declare const visibilityConditionSchema: z.ZodObject<{
|
|
|
111
113
|
export declare const sectionSchema: z.ZodObject<{
|
|
112
114
|
id: z.ZodString;
|
|
113
115
|
title: z.ZodString;
|
|
116
|
+
description: z.ZodOptional<z.ZodString>;
|
|
117
|
+
showTitle: z.ZodDefault<z.ZodBoolean>;
|
|
118
|
+
showDescription: z.ZodDefault<z.ZodBoolean>;
|
|
119
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
120
|
+
translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
121
|
+
title: z.ZodString;
|
|
122
|
+
description: z.ZodOptional<z.ZodString>;
|
|
123
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
124
|
+
}, z.core.$strip>>>;
|
|
125
|
+
inAppSingleQuestion: z.ZodDefault<z.ZodBoolean>;
|
|
114
126
|
questionIds: z.ZodArray<z.ZodString>;
|
|
115
127
|
}, z.core.$strip>;
|
|
116
128
|
export declare const questionStatusSchema: z.ZodEnum<{
|
|
@@ -197,18 +209,20 @@ export declare const ChoiceOrderOptions: {
|
|
|
197
209
|
};
|
|
198
210
|
export declare const questionSchema: z.ZodObject<{
|
|
199
211
|
id: z.ZodString;
|
|
212
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
200
213
|
type: z.ZodEnum<{
|
|
201
214
|
rating: "rating";
|
|
202
215
|
single_choice: "single_choice";
|
|
203
|
-
nps: "nps";
|
|
204
|
-
nested_selection: "nested_selection";
|
|
205
216
|
multiple_choice_multiple: "multiple_choice_multiple";
|
|
217
|
+
nps: "nps";
|
|
206
218
|
short_answer: "short_answer";
|
|
207
219
|
long_text: "long_text";
|
|
220
|
+
nested_selection: "nested_selection";
|
|
208
221
|
annotation: "annotation";
|
|
209
222
|
welcome: "welcome";
|
|
210
223
|
thank_you: "thank_you";
|
|
211
224
|
message_panel: "message_panel";
|
|
225
|
+
consent: "consent";
|
|
212
226
|
yes_no: "yes_no";
|
|
213
227
|
rating_matrix: "rating_matrix";
|
|
214
228
|
matrix_single_choice: "matrix_single_choice";
|
|
@@ -223,15 +237,15 @@ export declare const questionSchema: z.ZodObject<{
|
|
|
223
237
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
224
238
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
225
239
|
type: z.ZodEnum<{
|
|
240
|
+
custom: "custom";
|
|
241
|
+
pattern: "pattern";
|
|
226
242
|
required: "required";
|
|
227
243
|
min: "min";
|
|
228
244
|
max: "max";
|
|
229
245
|
minLength: "minLength";
|
|
230
246
|
maxLength: "maxLength";
|
|
231
|
-
pattern: "pattern";
|
|
232
247
|
email: "email";
|
|
233
248
|
url: "url";
|
|
234
|
-
custom: "custom";
|
|
235
249
|
}>;
|
|
236
250
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
237
251
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -262,10 +276,13 @@ export declare const questionSchema: z.ZodObject<{
|
|
|
262
276
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
263
277
|
left: "left";
|
|
264
278
|
center: "center";
|
|
279
|
+
justify: "justify";
|
|
265
280
|
}>>>;
|
|
281
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
266
282
|
}, z.core.$strip>;
|
|
267
283
|
export declare const ratingQuestionSchema: z.ZodObject<{
|
|
268
284
|
id: z.ZodString;
|
|
285
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
269
286
|
title: z.ZodString;
|
|
270
287
|
description: z.ZodOptional<z.ZodString>;
|
|
271
288
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -274,15 +291,15 @@ export declare const ratingQuestionSchema: z.ZodObject<{
|
|
|
274
291
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
275
292
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
276
293
|
type: z.ZodEnum<{
|
|
294
|
+
custom: "custom";
|
|
295
|
+
pattern: "pattern";
|
|
277
296
|
required: "required";
|
|
278
297
|
min: "min";
|
|
279
298
|
max: "max";
|
|
280
299
|
minLength: "minLength";
|
|
281
300
|
maxLength: "maxLength";
|
|
282
|
-
pattern: "pattern";
|
|
283
301
|
email: "email";
|
|
284
302
|
url: "url";
|
|
285
|
-
custom: "custom";
|
|
286
303
|
}>;
|
|
287
304
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
288
305
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -313,7 +330,9 @@ export declare const ratingQuestionSchema: z.ZodObject<{
|
|
|
313
330
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
314
331
|
left: "left";
|
|
315
332
|
center: "center";
|
|
333
|
+
justify: "justify";
|
|
316
334
|
}>>>;
|
|
335
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
317
336
|
type: z.ZodLiteral<"rating">;
|
|
318
337
|
showLabels: z.ZodOptional<z.ZodBoolean>;
|
|
319
338
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -336,6 +355,7 @@ export declare const ratingQuestionSchema: z.ZodObject<{
|
|
|
336
355
|
}, z.core.$strip>;
|
|
337
356
|
export declare const annotationQuestionSchema: z.ZodObject<{
|
|
338
357
|
id: z.ZodString;
|
|
358
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
339
359
|
title: z.ZodString;
|
|
340
360
|
description: z.ZodOptional<z.ZodString>;
|
|
341
361
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -344,15 +364,15 @@ export declare const annotationQuestionSchema: z.ZodObject<{
|
|
|
344
364
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
345
365
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
346
366
|
type: z.ZodEnum<{
|
|
367
|
+
custom: "custom";
|
|
368
|
+
pattern: "pattern";
|
|
347
369
|
required: "required";
|
|
348
370
|
min: "min";
|
|
349
371
|
max: "max";
|
|
350
372
|
minLength: "minLength";
|
|
351
373
|
maxLength: "maxLength";
|
|
352
|
-
pattern: "pattern";
|
|
353
374
|
email: "email";
|
|
354
375
|
url: "url";
|
|
355
|
-
custom: "custom";
|
|
356
376
|
}>;
|
|
357
377
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
358
378
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -383,28 +403,31 @@ export declare const annotationQuestionSchema: z.ZodObject<{
|
|
|
383
403
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
384
404
|
left: "left";
|
|
385
405
|
center: "center";
|
|
406
|
+
justify: "justify";
|
|
386
407
|
}>>>;
|
|
408
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
387
409
|
type: z.ZodLiteral<"annotation">;
|
|
388
410
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
389
411
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
390
412
|
}, z.core.$strip>;
|
|
391
413
|
export declare const welcomeQuestionSchema: z.ZodObject<{
|
|
392
414
|
id: z.ZodString;
|
|
415
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
393
416
|
describe: z.ZodOptional<z.ZodString>;
|
|
394
417
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
395
418
|
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
396
419
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
397
420
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
398
421
|
type: z.ZodEnum<{
|
|
422
|
+
custom: "custom";
|
|
423
|
+
pattern: "pattern";
|
|
399
424
|
required: "required";
|
|
400
425
|
min: "min";
|
|
401
426
|
max: "max";
|
|
402
427
|
minLength: "minLength";
|
|
403
428
|
maxLength: "maxLength";
|
|
404
|
-
pattern: "pattern";
|
|
405
429
|
email: "email";
|
|
406
430
|
url: "url";
|
|
407
|
-
custom: "custom";
|
|
408
431
|
}>;
|
|
409
432
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
410
433
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -435,30 +458,32 @@ export declare const welcomeQuestionSchema: z.ZodObject<{
|
|
|
435
458
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
436
459
|
left: "left";
|
|
437
460
|
center: "center";
|
|
461
|
+
justify: "justify";
|
|
438
462
|
}>>>;
|
|
463
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
439
464
|
type: z.ZodLiteral<"welcome">;
|
|
440
465
|
title: z.ZodString;
|
|
441
466
|
description: z.ZodOptional<z.ZodString>;
|
|
442
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
443
467
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
444
468
|
}, z.core.$strip>;
|
|
445
469
|
export declare const thankYouQuestionSchema: z.ZodObject<{
|
|
446
470
|
id: z.ZodString;
|
|
471
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
447
472
|
describe: z.ZodOptional<z.ZodString>;
|
|
448
473
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
449
474
|
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
450
475
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
451
476
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
452
477
|
type: z.ZodEnum<{
|
|
478
|
+
custom: "custom";
|
|
479
|
+
pattern: "pattern";
|
|
453
480
|
required: "required";
|
|
454
481
|
min: "min";
|
|
455
482
|
max: "max";
|
|
456
483
|
minLength: "minLength";
|
|
457
484
|
maxLength: "maxLength";
|
|
458
|
-
pattern: "pattern";
|
|
459
485
|
email: "email";
|
|
460
486
|
url: "url";
|
|
461
|
-
custom: "custom";
|
|
462
487
|
}>;
|
|
463
488
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
464
489
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -489,30 +514,32 @@ export declare const thankYouQuestionSchema: z.ZodObject<{
|
|
|
489
514
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
490
515
|
left: "left";
|
|
491
516
|
center: "center";
|
|
517
|
+
justify: "justify";
|
|
492
518
|
}>>>;
|
|
519
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
493
520
|
type: z.ZodLiteral<"thank_you">;
|
|
494
521
|
title: z.ZodString;
|
|
495
522
|
description: z.ZodOptional<z.ZodString>;
|
|
496
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
497
523
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
498
524
|
}, z.core.$strip>;
|
|
499
525
|
export declare const messagePanelQuestionSchema: z.ZodObject<{
|
|
500
526
|
id: z.ZodString;
|
|
527
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
501
528
|
describe: z.ZodOptional<z.ZodString>;
|
|
502
529
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
503
530
|
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
504
531
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
505
532
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
506
533
|
type: z.ZodEnum<{
|
|
534
|
+
custom: "custom";
|
|
535
|
+
pattern: "pattern";
|
|
507
536
|
required: "required";
|
|
508
537
|
min: "min";
|
|
509
538
|
max: "max";
|
|
510
539
|
minLength: "minLength";
|
|
511
540
|
maxLength: "maxLength";
|
|
512
|
-
pattern: "pattern";
|
|
513
541
|
email: "email";
|
|
514
542
|
url: "url";
|
|
515
|
-
custom: "custom";
|
|
516
543
|
}>;
|
|
517
544
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
518
545
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -543,15 +570,17 @@ export declare const messagePanelQuestionSchema: z.ZodObject<{
|
|
|
543
570
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
544
571
|
left: "left";
|
|
545
572
|
center: "center";
|
|
573
|
+
justify: "justify";
|
|
546
574
|
}>>>;
|
|
575
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
547
576
|
type: z.ZodLiteral<"message_panel">;
|
|
548
577
|
title: z.ZodString;
|
|
549
578
|
description: z.ZodOptional<z.ZodString>;
|
|
550
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
551
579
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
552
580
|
}, z.core.$strip>;
|
|
553
581
|
export declare const exitFormQuestionSchema: z.ZodObject<{
|
|
554
582
|
id: z.ZodString;
|
|
583
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
555
584
|
title: z.ZodString;
|
|
556
585
|
description: z.ZodOptional<z.ZodString>;
|
|
557
586
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -560,15 +589,15 @@ export declare const exitFormQuestionSchema: z.ZodObject<{
|
|
|
560
589
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
561
590
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
562
591
|
type: z.ZodEnum<{
|
|
592
|
+
custom: "custom";
|
|
593
|
+
pattern: "pattern";
|
|
563
594
|
required: "required";
|
|
564
595
|
min: "min";
|
|
565
596
|
max: "max";
|
|
566
597
|
minLength: "minLength";
|
|
567
598
|
maxLength: "maxLength";
|
|
568
|
-
pattern: "pattern";
|
|
569
599
|
email: "email";
|
|
570
600
|
url: "url";
|
|
571
|
-
custom: "custom";
|
|
572
601
|
}>;
|
|
573
602
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
574
603
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -599,11 +628,14 @@ export declare const exitFormQuestionSchema: z.ZodObject<{
|
|
|
599
628
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
600
629
|
left: "left";
|
|
601
630
|
center: "center";
|
|
631
|
+
justify: "justify";
|
|
602
632
|
}>>>;
|
|
633
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
603
634
|
type: z.ZodLiteral<"exit_form">;
|
|
604
635
|
}, z.core.$strip>;
|
|
605
636
|
export declare const yesNoQuestionSchema: z.ZodObject<{
|
|
606
637
|
id: z.ZodString;
|
|
638
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
607
639
|
title: z.ZodString;
|
|
608
640
|
description: z.ZodOptional<z.ZodString>;
|
|
609
641
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -612,15 +644,15 @@ export declare const yesNoQuestionSchema: z.ZodObject<{
|
|
|
612
644
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
613
645
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
614
646
|
type: z.ZodEnum<{
|
|
647
|
+
custom: "custom";
|
|
648
|
+
pattern: "pattern";
|
|
615
649
|
required: "required";
|
|
616
650
|
min: "min";
|
|
617
651
|
max: "max";
|
|
618
652
|
minLength: "minLength";
|
|
619
653
|
maxLength: "maxLength";
|
|
620
|
-
pattern: "pattern";
|
|
621
654
|
email: "email";
|
|
622
655
|
url: "url";
|
|
623
|
-
custom: "custom";
|
|
624
656
|
}>;
|
|
625
657
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
626
658
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -651,7 +683,9 @@ export declare const yesNoQuestionSchema: z.ZodObject<{
|
|
|
651
683
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
652
684
|
left: "left";
|
|
653
685
|
center: "center";
|
|
686
|
+
justify: "justify";
|
|
654
687
|
}>>>;
|
|
688
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
655
689
|
type: z.ZodLiteral<"yes_no">;
|
|
656
690
|
yesLabel: z.ZodOptional<z.ZodString>;
|
|
657
691
|
noLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -660,6 +694,61 @@ export declare const yesNoQuestionSchema: z.ZodObject<{
|
|
|
660
694
|
vertical: "vertical";
|
|
661
695
|
}>>;
|
|
662
696
|
}, z.core.$strip>;
|
|
697
|
+
export declare const consentQuestionSchema: z.ZodObject<{
|
|
698
|
+
id: z.ZodString;
|
|
699
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
700
|
+
title: z.ZodString;
|
|
701
|
+
description: z.ZodOptional<z.ZodString>;
|
|
702
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
703
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
704
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
705
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
706
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
707
|
+
type: z.ZodEnum<{
|
|
708
|
+
custom: "custom";
|
|
709
|
+
pattern: "pattern";
|
|
710
|
+
required: "required";
|
|
711
|
+
min: "min";
|
|
712
|
+
max: "max";
|
|
713
|
+
minLength: "minLength";
|
|
714
|
+
maxLength: "maxLength";
|
|
715
|
+
email: "email";
|
|
716
|
+
url: "url";
|
|
717
|
+
}>;
|
|
718
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
719
|
+
message: z.ZodOptional<z.ZodString>;
|
|
720
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
721
|
+
}, z.core.$strip>>>>;
|
|
722
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
723
|
+
field: z.ZodString;
|
|
724
|
+
operator: z.ZodEnum<{
|
|
725
|
+
equals: "equals";
|
|
726
|
+
not_equals: "not_equals";
|
|
727
|
+
contains: "contains";
|
|
728
|
+
not_contains: "not_contains";
|
|
729
|
+
greater_than: "greater_than";
|
|
730
|
+
less_than: "less_than";
|
|
731
|
+
is_empty: "is_empty";
|
|
732
|
+
is_not_empty: "is_not_empty";
|
|
733
|
+
}>;
|
|
734
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
735
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
736
|
+
}, z.core.$strip>>>>;
|
|
737
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
738
|
+
status: z.ZodEnum<{
|
|
739
|
+
D: "D";
|
|
740
|
+
P: "P";
|
|
741
|
+
A: "A";
|
|
742
|
+
S: "S";
|
|
743
|
+
}>;
|
|
744
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
745
|
+
left: "left";
|
|
746
|
+
center: "center";
|
|
747
|
+
justify: "justify";
|
|
748
|
+
}>>>;
|
|
749
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
750
|
+
type: z.ZodLiteral<"consent">;
|
|
751
|
+
}, z.core.$strip>;
|
|
663
752
|
export declare const ratingMatrixDisplayStyleSchema: z.ZodEnum<{
|
|
664
753
|
star: "star";
|
|
665
754
|
emoji: "emoji";
|
|
@@ -712,6 +801,7 @@ export declare const ratingMatrixScaleSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
712
801
|
}, z.core.$strip>], "kind">;
|
|
713
802
|
export declare const ratingMatrixQuestionSchema: z.ZodObject<{
|
|
714
803
|
id: z.ZodString;
|
|
804
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
715
805
|
title: z.ZodString;
|
|
716
806
|
description: z.ZodOptional<z.ZodString>;
|
|
717
807
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -720,15 +810,15 @@ export declare const ratingMatrixQuestionSchema: z.ZodObject<{
|
|
|
720
810
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
721
811
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
722
812
|
type: z.ZodEnum<{
|
|
813
|
+
custom: "custom";
|
|
814
|
+
pattern: "pattern";
|
|
723
815
|
required: "required";
|
|
724
816
|
min: "min";
|
|
725
817
|
max: "max";
|
|
726
818
|
minLength: "minLength";
|
|
727
819
|
maxLength: "maxLength";
|
|
728
|
-
pattern: "pattern";
|
|
729
820
|
email: "email";
|
|
730
821
|
url: "url";
|
|
731
|
-
custom: "custom";
|
|
732
822
|
}>;
|
|
733
823
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
734
824
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -759,7 +849,9 @@ export declare const ratingMatrixQuestionSchema: z.ZodObject<{
|
|
|
759
849
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
760
850
|
left: "left";
|
|
761
851
|
center: "center";
|
|
852
|
+
justify: "justify";
|
|
762
853
|
}>>>;
|
|
854
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
763
855
|
type: z.ZodLiteral<"rating_matrix">;
|
|
764
856
|
statements: z.ZodArray<z.ZodObject<{
|
|
765
857
|
id: z.ZodString;
|
|
@@ -815,6 +907,7 @@ export declare const matrixColumnSchema: z.ZodObject<{
|
|
|
815
907
|
}, z.core.$strip>;
|
|
816
908
|
export declare const matrixSingleChoiceQuestionSchema: z.ZodObject<{
|
|
817
909
|
id: z.ZodString;
|
|
910
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
818
911
|
title: z.ZodString;
|
|
819
912
|
description: z.ZodOptional<z.ZodString>;
|
|
820
913
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -823,15 +916,15 @@ export declare const matrixSingleChoiceQuestionSchema: z.ZodObject<{
|
|
|
823
916
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
824
917
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
825
918
|
type: z.ZodEnum<{
|
|
919
|
+
custom: "custom";
|
|
920
|
+
pattern: "pattern";
|
|
826
921
|
required: "required";
|
|
827
922
|
min: "min";
|
|
828
923
|
max: "max";
|
|
829
924
|
minLength: "minLength";
|
|
830
925
|
maxLength: "maxLength";
|
|
831
|
-
pattern: "pattern";
|
|
832
926
|
email: "email";
|
|
833
927
|
url: "url";
|
|
834
|
-
custom: "custom";
|
|
835
928
|
}>;
|
|
836
929
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
837
930
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -862,7 +955,9 @@ export declare const matrixSingleChoiceQuestionSchema: z.ZodObject<{
|
|
|
862
955
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
863
956
|
left: "left";
|
|
864
957
|
center: "center";
|
|
958
|
+
justify: "justify";
|
|
865
959
|
}>>>;
|
|
960
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
866
961
|
type: z.ZodLiteral<"matrix_single_choice">;
|
|
867
962
|
rows: z.ZodArray<z.ZodObject<{
|
|
868
963
|
id: z.ZodString;
|
|
@@ -881,6 +976,7 @@ export declare const matrixSingleChoiceQuestionSchema: z.ZodObject<{
|
|
|
881
976
|
}, z.core.$strip>;
|
|
882
977
|
export declare const matrixMultipleChoiceQuestionSchema: z.ZodObject<{
|
|
883
978
|
id: z.ZodString;
|
|
979
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
884
980
|
title: z.ZodString;
|
|
885
981
|
description: z.ZodOptional<z.ZodString>;
|
|
886
982
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -889,15 +985,15 @@ export declare const matrixMultipleChoiceQuestionSchema: z.ZodObject<{
|
|
|
889
985
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
890
986
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
891
987
|
type: z.ZodEnum<{
|
|
988
|
+
custom: "custom";
|
|
989
|
+
pattern: "pattern";
|
|
892
990
|
required: "required";
|
|
893
991
|
min: "min";
|
|
894
992
|
max: "max";
|
|
895
993
|
minLength: "minLength";
|
|
896
994
|
maxLength: "maxLength";
|
|
897
|
-
pattern: "pattern";
|
|
898
995
|
email: "email";
|
|
899
996
|
url: "url";
|
|
900
|
-
custom: "custom";
|
|
901
997
|
}>;
|
|
902
998
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
903
999
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -928,7 +1024,9 @@ export declare const matrixMultipleChoiceQuestionSchema: z.ZodObject<{
|
|
|
928
1024
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
929
1025
|
left: "left";
|
|
930
1026
|
center: "center";
|
|
1027
|
+
justify: "justify";
|
|
931
1028
|
}>>>;
|
|
1029
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
932
1030
|
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
933
1031
|
rows: z.ZodArray<z.ZodObject<{
|
|
934
1032
|
id: z.ZodString;
|
|
@@ -957,6 +1055,7 @@ export declare const questionOptionSchema: z.ZodObject<{
|
|
|
957
1055
|
export declare const nestedOptionSchema: z.ZodType<any>;
|
|
958
1056
|
export declare const multipleChoiceSingleQuestionSchema: z.ZodObject<{
|
|
959
1057
|
id: z.ZodString;
|
|
1058
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
960
1059
|
title: z.ZodString;
|
|
961
1060
|
description: z.ZodOptional<z.ZodString>;
|
|
962
1061
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -965,15 +1064,15 @@ export declare const multipleChoiceSingleQuestionSchema: z.ZodObject<{
|
|
|
965
1064
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
966
1065
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
967
1066
|
type: z.ZodEnum<{
|
|
1067
|
+
custom: "custom";
|
|
1068
|
+
pattern: "pattern";
|
|
968
1069
|
required: "required";
|
|
969
1070
|
min: "min";
|
|
970
1071
|
max: "max";
|
|
971
1072
|
minLength: "minLength";
|
|
972
1073
|
maxLength: "maxLength";
|
|
973
|
-
pattern: "pattern";
|
|
974
1074
|
email: "email";
|
|
975
1075
|
url: "url";
|
|
976
|
-
custom: "custom";
|
|
977
1076
|
}>;
|
|
978
1077
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
979
1078
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1004,7 +1103,9 @@ export declare const multipleChoiceSingleQuestionSchema: z.ZodObject<{
|
|
|
1004
1103
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1005
1104
|
left: "left";
|
|
1006
1105
|
center: "center";
|
|
1106
|
+
justify: "justify";
|
|
1007
1107
|
}>>>;
|
|
1108
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1008
1109
|
type: z.ZodLiteral<"single_choice">;
|
|
1009
1110
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
1010
1111
|
radio: "radio";
|
|
@@ -1029,6 +1130,7 @@ export declare const multipleChoiceSingleQuestionSchema: z.ZodObject<{
|
|
|
1029
1130
|
}, z.core.$strip>;
|
|
1030
1131
|
export declare const multipleChoiceMultipleQuestionSchema: z.ZodObject<{
|
|
1031
1132
|
id: z.ZodString;
|
|
1133
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1032
1134
|
title: z.ZodString;
|
|
1033
1135
|
description: z.ZodOptional<z.ZodString>;
|
|
1034
1136
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -1037,15 +1139,15 @@ export declare const multipleChoiceMultipleQuestionSchema: z.ZodObject<{
|
|
|
1037
1139
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1038
1140
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1039
1141
|
type: z.ZodEnum<{
|
|
1142
|
+
custom: "custom";
|
|
1143
|
+
pattern: "pattern";
|
|
1040
1144
|
required: "required";
|
|
1041
1145
|
min: "min";
|
|
1042
1146
|
max: "max";
|
|
1043
1147
|
minLength: "minLength";
|
|
1044
1148
|
maxLength: "maxLength";
|
|
1045
|
-
pattern: "pattern";
|
|
1046
1149
|
email: "email";
|
|
1047
1150
|
url: "url";
|
|
1048
|
-
custom: "custom";
|
|
1049
1151
|
}>;
|
|
1050
1152
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1051
1153
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1076,7 +1178,9 @@ export declare const multipleChoiceMultipleQuestionSchema: z.ZodObject<{
|
|
|
1076
1178
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1077
1179
|
left: "left";
|
|
1078
1180
|
center: "center";
|
|
1181
|
+
justify: "justify";
|
|
1079
1182
|
}>>>;
|
|
1183
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1080
1184
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
1081
1185
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
1082
1186
|
list: "list";
|
|
@@ -1102,6 +1206,7 @@ export declare const multipleChoiceMultipleQuestionSchema: z.ZodObject<{
|
|
|
1102
1206
|
}, z.core.$strip>;
|
|
1103
1207
|
export declare const npsQuestionSchema: z.ZodObject<{
|
|
1104
1208
|
id: z.ZodString;
|
|
1209
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1105
1210
|
title: z.ZodString;
|
|
1106
1211
|
description: z.ZodOptional<z.ZodString>;
|
|
1107
1212
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -1110,15 +1215,15 @@ export declare const npsQuestionSchema: z.ZodObject<{
|
|
|
1110
1215
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1111
1216
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1112
1217
|
type: z.ZodEnum<{
|
|
1218
|
+
custom: "custom";
|
|
1219
|
+
pattern: "pattern";
|
|
1113
1220
|
required: "required";
|
|
1114
1221
|
min: "min";
|
|
1115
1222
|
max: "max";
|
|
1116
1223
|
minLength: "minLength";
|
|
1117
1224
|
maxLength: "maxLength";
|
|
1118
|
-
pattern: "pattern";
|
|
1119
1225
|
email: "email";
|
|
1120
1226
|
url: "url";
|
|
1121
|
-
custom: "custom";
|
|
1122
1227
|
}>;
|
|
1123
1228
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1124
1229
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1149,7 +1254,9 @@ export declare const npsQuestionSchema: z.ZodObject<{
|
|
|
1149
1254
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1150
1255
|
left: "left";
|
|
1151
1256
|
center: "center";
|
|
1257
|
+
justify: "justify";
|
|
1152
1258
|
}>>>;
|
|
1259
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1153
1260
|
type: z.ZodLiteral<"nps">;
|
|
1154
1261
|
min: z.ZodLiteral<0>;
|
|
1155
1262
|
max: z.ZodLiteral<10>;
|
|
@@ -1160,6 +1267,7 @@ export declare const npsQuestionSchema: z.ZodObject<{
|
|
|
1160
1267
|
}, z.core.$strip>;
|
|
1161
1268
|
export declare const shortAnswerQuestionSchema: z.ZodObject<{
|
|
1162
1269
|
id: z.ZodString;
|
|
1270
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1163
1271
|
title: z.ZodString;
|
|
1164
1272
|
description: z.ZodOptional<z.ZodString>;
|
|
1165
1273
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -1168,15 +1276,15 @@ export declare const shortAnswerQuestionSchema: z.ZodObject<{
|
|
|
1168
1276
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1169
1277
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1170
1278
|
type: z.ZodEnum<{
|
|
1279
|
+
custom: "custom";
|
|
1280
|
+
pattern: "pattern";
|
|
1171
1281
|
required: "required";
|
|
1172
1282
|
min: "min";
|
|
1173
1283
|
max: "max";
|
|
1174
1284
|
minLength: "minLength";
|
|
1175
1285
|
maxLength: "maxLength";
|
|
1176
|
-
pattern: "pattern";
|
|
1177
1286
|
email: "email";
|
|
1178
1287
|
url: "url";
|
|
1179
|
-
custom: "custom";
|
|
1180
1288
|
}>;
|
|
1181
1289
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1182
1290
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1207,7 +1315,9 @@ export declare const shortAnswerQuestionSchema: z.ZodObject<{
|
|
|
1207
1315
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1208
1316
|
left: "left";
|
|
1209
1317
|
center: "center";
|
|
1318
|
+
justify: "justify";
|
|
1210
1319
|
}>>>;
|
|
1320
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1211
1321
|
type: z.ZodLiteral<"short_answer">;
|
|
1212
1322
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1213
1323
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1221,6 +1331,7 @@ export declare const shortAnswerQuestionSchema: z.ZodObject<{
|
|
|
1221
1331
|
}, z.core.$strip>;
|
|
1222
1332
|
export declare const longAnswerQuestionSchema: z.ZodObject<{
|
|
1223
1333
|
id: z.ZodString;
|
|
1334
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1224
1335
|
title: z.ZodString;
|
|
1225
1336
|
description: z.ZodOptional<z.ZodString>;
|
|
1226
1337
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -1229,15 +1340,15 @@ export declare const longAnswerQuestionSchema: z.ZodObject<{
|
|
|
1229
1340
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1230
1341
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1231
1342
|
type: z.ZodEnum<{
|
|
1343
|
+
custom: "custom";
|
|
1344
|
+
pattern: "pattern";
|
|
1232
1345
|
required: "required";
|
|
1233
1346
|
min: "min";
|
|
1234
1347
|
max: "max";
|
|
1235
1348
|
minLength: "minLength";
|
|
1236
1349
|
maxLength: "maxLength";
|
|
1237
|
-
pattern: "pattern";
|
|
1238
1350
|
email: "email";
|
|
1239
1351
|
url: "url";
|
|
1240
|
-
custom: "custom";
|
|
1241
1352
|
}>;
|
|
1242
1353
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1243
1354
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1268,7 +1379,9 @@ export declare const longAnswerQuestionSchema: z.ZodObject<{
|
|
|
1268
1379
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1269
1380
|
left: "left";
|
|
1270
1381
|
center: "center";
|
|
1382
|
+
justify: "justify";
|
|
1271
1383
|
}>>>;
|
|
1384
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1272
1385
|
type: z.ZodLiteral<"long_text">;
|
|
1273
1386
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1274
1387
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1281,6 +1394,7 @@ export declare const longAnswerQuestionSchema: z.ZodObject<{
|
|
|
1281
1394
|
}, z.core.$strip>;
|
|
1282
1395
|
export declare const nestedDropdownQuestionSchema: z.ZodObject<{
|
|
1283
1396
|
id: z.ZodString;
|
|
1397
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1284
1398
|
title: z.ZodString;
|
|
1285
1399
|
description: z.ZodOptional<z.ZodString>;
|
|
1286
1400
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -1289,15 +1403,15 @@ export declare const nestedDropdownQuestionSchema: z.ZodObject<{
|
|
|
1289
1403
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1290
1404
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1291
1405
|
type: z.ZodEnum<{
|
|
1406
|
+
custom: "custom";
|
|
1407
|
+
pattern: "pattern";
|
|
1292
1408
|
required: "required";
|
|
1293
1409
|
min: "min";
|
|
1294
1410
|
max: "max";
|
|
1295
1411
|
minLength: "minLength";
|
|
1296
1412
|
maxLength: "maxLength";
|
|
1297
|
-
pattern: "pattern";
|
|
1298
1413
|
email: "email";
|
|
1299
1414
|
url: "url";
|
|
1300
|
-
custom: "custom";
|
|
1301
1415
|
}>;
|
|
1302
1416
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1303
1417
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1328,7 +1442,9 @@ export declare const nestedDropdownQuestionSchema: z.ZodObject<{
|
|
|
1328
1442
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1329
1443
|
left: "left";
|
|
1330
1444
|
center: "center";
|
|
1445
|
+
justify: "justify";
|
|
1331
1446
|
}>>>;
|
|
1447
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1332
1448
|
type: z.ZodLiteral<"nested_selection">;
|
|
1333
1449
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1334
1450
|
options: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
@@ -1363,6 +1479,7 @@ export type MessagePanelQuestion = z.infer<typeof messagePanelQuestionSchema>;
|
|
|
1363
1479
|
export type ExitFormQuestion = z.infer<typeof exitFormQuestionSchema>;
|
|
1364
1480
|
export type YesNoDisplayStyle = z.infer<typeof yesNoDisplayStyleSchema>;
|
|
1365
1481
|
export type YesNoQuestion = z.infer<typeof yesNoQuestionSchema>;
|
|
1482
|
+
export type ConsentQuestion = z.infer<typeof consentQuestionSchema>;
|
|
1366
1483
|
export type RatingMatrixStatement = z.infer<typeof ratingMatrixStatementSchema>;
|
|
1367
1484
|
export type RatingMatrixScalePoint = z.infer<typeof ratingMatrixScalePointSchema>;
|
|
1368
1485
|
export type RatingMatrixScale = z.infer<typeof ratingMatrixScaleSchema>;
|
|
@@ -1386,6 +1503,7 @@ export type NestedDropdownQuestion = z.infer<typeof nestedDropdownQuestionSchema
|
|
|
1386
1503
|
export type Section = z.infer<typeof sectionSchema>;
|
|
1387
1504
|
export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1388
1505
|
id: z.ZodString;
|
|
1506
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1389
1507
|
title: z.ZodString;
|
|
1390
1508
|
description: z.ZodOptional<z.ZodString>;
|
|
1391
1509
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -1394,15 +1512,15 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1394
1512
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1395
1513
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1396
1514
|
type: z.ZodEnum<{
|
|
1515
|
+
custom: "custom";
|
|
1516
|
+
pattern: "pattern";
|
|
1397
1517
|
required: "required";
|
|
1398
1518
|
min: "min";
|
|
1399
1519
|
max: "max";
|
|
1400
1520
|
minLength: "minLength";
|
|
1401
1521
|
maxLength: "maxLength";
|
|
1402
|
-
pattern: "pattern";
|
|
1403
1522
|
email: "email";
|
|
1404
1523
|
url: "url";
|
|
1405
|
-
custom: "custom";
|
|
1406
1524
|
}>;
|
|
1407
1525
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1408
1526
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1433,7 +1551,9 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1433
1551
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1434
1552
|
left: "left";
|
|
1435
1553
|
center: "center";
|
|
1554
|
+
justify: "justify";
|
|
1436
1555
|
}>>>;
|
|
1556
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1437
1557
|
type: z.ZodLiteral<"rating">;
|
|
1438
1558
|
showLabels: z.ZodOptional<z.ZodBoolean>;
|
|
1439
1559
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1455,6 +1575,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1455
1575
|
color: z.ZodOptional<z.ZodString>;
|
|
1456
1576
|
}, z.core.$strip>, z.ZodObject<{
|
|
1457
1577
|
id: z.ZodString;
|
|
1578
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1458
1579
|
title: z.ZodString;
|
|
1459
1580
|
description: z.ZodOptional<z.ZodString>;
|
|
1460
1581
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -1463,15 +1584,15 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1463
1584
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1464
1585
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1465
1586
|
type: z.ZodEnum<{
|
|
1587
|
+
custom: "custom";
|
|
1588
|
+
pattern: "pattern";
|
|
1466
1589
|
required: "required";
|
|
1467
1590
|
min: "min";
|
|
1468
1591
|
max: "max";
|
|
1469
1592
|
minLength: "minLength";
|
|
1470
1593
|
maxLength: "maxLength";
|
|
1471
|
-
pattern: "pattern";
|
|
1472
1594
|
email: "email";
|
|
1473
1595
|
url: "url";
|
|
1474
|
-
custom: "custom";
|
|
1475
1596
|
}>;
|
|
1476
1597
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1477
1598
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1502,27 +1623,30 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1502
1623
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1503
1624
|
left: "left";
|
|
1504
1625
|
center: "center";
|
|
1626
|
+
justify: "justify";
|
|
1505
1627
|
}>>>;
|
|
1628
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1506
1629
|
type: z.ZodLiteral<"annotation">;
|
|
1507
1630
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
1508
1631
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
1509
1632
|
}, z.core.$strip>, z.ZodObject<{
|
|
1510
1633
|
id: z.ZodString;
|
|
1634
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1511
1635
|
describe: z.ZodOptional<z.ZodString>;
|
|
1512
1636
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1513
1637
|
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1514
1638
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1515
1639
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1516
1640
|
type: z.ZodEnum<{
|
|
1641
|
+
custom: "custom";
|
|
1642
|
+
pattern: "pattern";
|
|
1517
1643
|
required: "required";
|
|
1518
1644
|
min: "min";
|
|
1519
1645
|
max: "max";
|
|
1520
1646
|
minLength: "minLength";
|
|
1521
1647
|
maxLength: "maxLength";
|
|
1522
|
-
pattern: "pattern";
|
|
1523
1648
|
email: "email";
|
|
1524
1649
|
url: "url";
|
|
1525
|
-
custom: "custom";
|
|
1526
1650
|
}>;
|
|
1527
1651
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1528
1652
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1553,29 +1677,31 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1553
1677
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1554
1678
|
left: "left";
|
|
1555
1679
|
center: "center";
|
|
1680
|
+
justify: "justify";
|
|
1556
1681
|
}>>>;
|
|
1682
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1557
1683
|
type: z.ZodLiteral<"welcome">;
|
|
1558
1684
|
title: z.ZodString;
|
|
1559
1685
|
description: z.ZodOptional<z.ZodString>;
|
|
1560
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1561
1686
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
1562
1687
|
}, z.core.$strip>, z.ZodObject<{
|
|
1563
1688
|
id: z.ZodString;
|
|
1689
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1564
1690
|
describe: z.ZodOptional<z.ZodString>;
|
|
1565
1691
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1566
1692
|
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1567
1693
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1568
1694
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1569
1695
|
type: z.ZodEnum<{
|
|
1696
|
+
custom: "custom";
|
|
1697
|
+
pattern: "pattern";
|
|
1570
1698
|
required: "required";
|
|
1571
1699
|
min: "min";
|
|
1572
1700
|
max: "max";
|
|
1573
1701
|
minLength: "minLength";
|
|
1574
1702
|
maxLength: "maxLength";
|
|
1575
|
-
pattern: "pattern";
|
|
1576
1703
|
email: "email";
|
|
1577
1704
|
url: "url";
|
|
1578
|
-
custom: "custom";
|
|
1579
1705
|
}>;
|
|
1580
1706
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1581
1707
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1606,29 +1732,31 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1606
1732
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1607
1733
|
left: "left";
|
|
1608
1734
|
center: "center";
|
|
1735
|
+
justify: "justify";
|
|
1609
1736
|
}>>>;
|
|
1737
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1610
1738
|
type: z.ZodLiteral<"thank_you">;
|
|
1611
1739
|
title: z.ZodString;
|
|
1612
1740
|
description: z.ZodOptional<z.ZodString>;
|
|
1613
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1614
1741
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
1615
1742
|
}, z.core.$strip>, z.ZodObject<{
|
|
1616
1743
|
id: z.ZodString;
|
|
1744
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1617
1745
|
describe: z.ZodOptional<z.ZodString>;
|
|
1618
1746
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1619
1747
|
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1620
1748
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1621
1749
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1622
1750
|
type: z.ZodEnum<{
|
|
1751
|
+
custom: "custom";
|
|
1752
|
+
pattern: "pattern";
|
|
1623
1753
|
required: "required";
|
|
1624
1754
|
min: "min";
|
|
1625
1755
|
max: "max";
|
|
1626
1756
|
minLength: "minLength";
|
|
1627
1757
|
maxLength: "maxLength";
|
|
1628
|
-
pattern: "pattern";
|
|
1629
1758
|
email: "email";
|
|
1630
1759
|
url: "url";
|
|
1631
|
-
custom: "custom";
|
|
1632
1760
|
}>;
|
|
1633
1761
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1634
1762
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1659,14 +1787,16 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1659
1787
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1660
1788
|
left: "left";
|
|
1661
1789
|
center: "center";
|
|
1790
|
+
justify: "justify";
|
|
1662
1791
|
}>>>;
|
|
1792
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1663
1793
|
type: z.ZodLiteral<"message_panel">;
|
|
1664
1794
|
title: z.ZodString;
|
|
1665
1795
|
description: z.ZodOptional<z.ZodString>;
|
|
1666
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1667
1796
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
1668
1797
|
}, z.core.$strip>, z.ZodObject<{
|
|
1669
1798
|
id: z.ZodString;
|
|
1799
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1670
1800
|
title: z.ZodString;
|
|
1671
1801
|
description: z.ZodOptional<z.ZodString>;
|
|
1672
1802
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -1675,15 +1805,15 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1675
1805
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1676
1806
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1677
1807
|
type: z.ZodEnum<{
|
|
1808
|
+
custom: "custom";
|
|
1809
|
+
pattern: "pattern";
|
|
1678
1810
|
required: "required";
|
|
1679
1811
|
min: "min";
|
|
1680
1812
|
max: "max";
|
|
1681
1813
|
minLength: "minLength";
|
|
1682
1814
|
maxLength: "maxLength";
|
|
1683
|
-
pattern: "pattern";
|
|
1684
1815
|
email: "email";
|
|
1685
1816
|
url: "url";
|
|
1686
|
-
custom: "custom";
|
|
1687
1817
|
}>;
|
|
1688
1818
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1689
1819
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1714,10 +1844,13 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1714
1844
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1715
1845
|
left: "left";
|
|
1716
1846
|
center: "center";
|
|
1847
|
+
justify: "justify";
|
|
1717
1848
|
}>>>;
|
|
1849
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1718
1850
|
type: z.ZodLiteral<"exit_form">;
|
|
1719
1851
|
}, z.core.$strip>, z.ZodObject<{
|
|
1720
1852
|
id: z.ZodString;
|
|
1853
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1721
1854
|
title: z.ZodString;
|
|
1722
1855
|
description: z.ZodOptional<z.ZodString>;
|
|
1723
1856
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -1726,15 +1859,15 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1726
1859
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1727
1860
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1728
1861
|
type: z.ZodEnum<{
|
|
1862
|
+
custom: "custom";
|
|
1863
|
+
pattern: "pattern";
|
|
1729
1864
|
required: "required";
|
|
1730
1865
|
min: "min";
|
|
1731
1866
|
max: "max";
|
|
1732
1867
|
minLength: "minLength";
|
|
1733
1868
|
maxLength: "maxLength";
|
|
1734
|
-
pattern: "pattern";
|
|
1735
1869
|
email: "email";
|
|
1736
1870
|
url: "url";
|
|
1737
|
-
custom: "custom";
|
|
1738
1871
|
}>;
|
|
1739
1872
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1740
1873
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1765,7 +1898,9 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1765
1898
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1766
1899
|
left: "left";
|
|
1767
1900
|
center: "center";
|
|
1901
|
+
justify: "justify";
|
|
1768
1902
|
}>>>;
|
|
1903
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1769
1904
|
type: z.ZodLiteral<"yes_no">;
|
|
1770
1905
|
yesLabel: z.ZodOptional<z.ZodString>;
|
|
1771
1906
|
noLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1775,6 +1910,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1775
1910
|
}>>;
|
|
1776
1911
|
}, z.core.$strip>, z.ZodObject<{
|
|
1777
1912
|
id: z.ZodString;
|
|
1913
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1778
1914
|
title: z.ZodString;
|
|
1779
1915
|
description: z.ZodOptional<z.ZodString>;
|
|
1780
1916
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -1783,15 +1919,69 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1783
1919
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1784
1920
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1785
1921
|
type: z.ZodEnum<{
|
|
1922
|
+
custom: "custom";
|
|
1923
|
+
pattern: "pattern";
|
|
1786
1924
|
required: "required";
|
|
1787
1925
|
min: "min";
|
|
1788
1926
|
max: "max";
|
|
1789
1927
|
minLength: "minLength";
|
|
1790
1928
|
maxLength: "maxLength";
|
|
1791
|
-
pattern: "pattern";
|
|
1792
1929
|
email: "email";
|
|
1793
1930
|
url: "url";
|
|
1931
|
+
}>;
|
|
1932
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1933
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1934
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1935
|
+
}, z.core.$strip>>>>;
|
|
1936
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1937
|
+
field: z.ZodString;
|
|
1938
|
+
operator: z.ZodEnum<{
|
|
1939
|
+
equals: "equals";
|
|
1940
|
+
not_equals: "not_equals";
|
|
1941
|
+
contains: "contains";
|
|
1942
|
+
not_contains: "not_contains";
|
|
1943
|
+
greater_than: "greater_than";
|
|
1944
|
+
less_than: "less_than";
|
|
1945
|
+
is_empty: "is_empty";
|
|
1946
|
+
is_not_empty: "is_not_empty";
|
|
1947
|
+
}>;
|
|
1948
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1949
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1950
|
+
}, z.core.$strip>>>>;
|
|
1951
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
1952
|
+
status: z.ZodEnum<{
|
|
1953
|
+
D: "D";
|
|
1954
|
+
P: "P";
|
|
1955
|
+
A: "A";
|
|
1956
|
+
S: "S";
|
|
1957
|
+
}>;
|
|
1958
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1959
|
+
left: "left";
|
|
1960
|
+
center: "center";
|
|
1961
|
+
justify: "justify";
|
|
1962
|
+
}>>>;
|
|
1963
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1964
|
+
type: z.ZodLiteral<"consent">;
|
|
1965
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1966
|
+
id: z.ZodString;
|
|
1967
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1968
|
+
title: z.ZodString;
|
|
1969
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1970
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1971
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
1972
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1973
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1974
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1975
|
+
type: z.ZodEnum<{
|
|
1794
1976
|
custom: "custom";
|
|
1977
|
+
pattern: "pattern";
|
|
1978
|
+
required: "required";
|
|
1979
|
+
min: "min";
|
|
1980
|
+
max: "max";
|
|
1981
|
+
minLength: "minLength";
|
|
1982
|
+
maxLength: "maxLength";
|
|
1983
|
+
email: "email";
|
|
1984
|
+
url: "url";
|
|
1795
1985
|
}>;
|
|
1796
1986
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1797
1987
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1822,7 +2012,9 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1822
2012
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1823
2013
|
left: "left";
|
|
1824
2014
|
center: "center";
|
|
2015
|
+
justify: "justify";
|
|
1825
2016
|
}>>>;
|
|
2017
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1826
2018
|
type: z.ZodLiteral<"rating_matrix">;
|
|
1827
2019
|
statements: z.ZodArray<z.ZodObject<{
|
|
1828
2020
|
id: z.ZodString;
|
|
@@ -1865,6 +2057,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1865
2057
|
randomizeStatements: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1866
2058
|
}, z.core.$strip>, z.ZodObject<{
|
|
1867
2059
|
id: z.ZodString;
|
|
2060
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1868
2061
|
title: z.ZodString;
|
|
1869
2062
|
description: z.ZodOptional<z.ZodString>;
|
|
1870
2063
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -1873,15 +2066,15 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1873
2066
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1874
2067
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1875
2068
|
type: z.ZodEnum<{
|
|
2069
|
+
custom: "custom";
|
|
2070
|
+
pattern: "pattern";
|
|
1876
2071
|
required: "required";
|
|
1877
2072
|
min: "min";
|
|
1878
2073
|
max: "max";
|
|
1879
2074
|
minLength: "minLength";
|
|
1880
2075
|
maxLength: "maxLength";
|
|
1881
|
-
pattern: "pattern";
|
|
1882
2076
|
email: "email";
|
|
1883
2077
|
url: "url";
|
|
1884
|
-
custom: "custom";
|
|
1885
2078
|
}>;
|
|
1886
2079
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1887
2080
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1912,7 +2105,9 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1912
2105
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1913
2106
|
left: "left";
|
|
1914
2107
|
center: "center";
|
|
2108
|
+
justify: "justify";
|
|
1915
2109
|
}>>>;
|
|
2110
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1916
2111
|
type: z.ZodLiteral<"matrix_single_choice">;
|
|
1917
2112
|
rows: z.ZodArray<z.ZodObject<{
|
|
1918
2113
|
id: z.ZodString;
|
|
@@ -1930,6 +2125,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1930
2125
|
randomizeColumns: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1931
2126
|
}, z.core.$strip>, z.ZodObject<{
|
|
1932
2127
|
id: z.ZodString;
|
|
2128
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1933
2129
|
title: z.ZodString;
|
|
1934
2130
|
description: z.ZodOptional<z.ZodString>;
|
|
1935
2131
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -1938,15 +2134,15 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1938
2134
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1939
2135
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1940
2136
|
type: z.ZodEnum<{
|
|
2137
|
+
custom: "custom";
|
|
2138
|
+
pattern: "pattern";
|
|
1941
2139
|
required: "required";
|
|
1942
2140
|
min: "min";
|
|
1943
2141
|
max: "max";
|
|
1944
2142
|
minLength: "minLength";
|
|
1945
2143
|
maxLength: "maxLength";
|
|
1946
|
-
pattern: "pattern";
|
|
1947
2144
|
email: "email";
|
|
1948
2145
|
url: "url";
|
|
1949
|
-
custom: "custom";
|
|
1950
2146
|
}>;
|
|
1951
2147
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1952
2148
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1977,7 +2173,9 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1977
2173
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1978
2174
|
left: "left";
|
|
1979
2175
|
center: "center";
|
|
2176
|
+
justify: "justify";
|
|
1980
2177
|
}>>>;
|
|
2178
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1981
2179
|
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
1982
2180
|
rows: z.ZodArray<z.ZodObject<{
|
|
1983
2181
|
id: z.ZodString;
|
|
@@ -1997,6 +2195,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1997
2195
|
randomizeColumns: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1998
2196
|
}, z.core.$strip>, z.ZodObject<{
|
|
1999
2197
|
id: z.ZodString;
|
|
2198
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
2000
2199
|
title: z.ZodString;
|
|
2001
2200
|
description: z.ZodOptional<z.ZodString>;
|
|
2002
2201
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -2005,15 +2204,15 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2005
2204
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
2006
2205
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2007
2206
|
type: z.ZodEnum<{
|
|
2207
|
+
custom: "custom";
|
|
2208
|
+
pattern: "pattern";
|
|
2008
2209
|
required: "required";
|
|
2009
2210
|
min: "min";
|
|
2010
2211
|
max: "max";
|
|
2011
2212
|
minLength: "minLength";
|
|
2012
2213
|
maxLength: "maxLength";
|
|
2013
|
-
pattern: "pattern";
|
|
2014
2214
|
email: "email";
|
|
2015
2215
|
url: "url";
|
|
2016
|
-
custom: "custom";
|
|
2017
2216
|
}>;
|
|
2018
2217
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2019
2218
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -2044,7 +2243,9 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2044
2243
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2045
2244
|
left: "left";
|
|
2046
2245
|
center: "center";
|
|
2246
|
+
justify: "justify";
|
|
2047
2247
|
}>>>;
|
|
2248
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2048
2249
|
type: z.ZodLiteral<"single_choice">;
|
|
2049
2250
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
2050
2251
|
radio: "radio";
|
|
@@ -2068,6 +2269,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2068
2269
|
}, z.core.$strip>>;
|
|
2069
2270
|
}, z.core.$strip>, z.ZodObject<{
|
|
2070
2271
|
id: z.ZodString;
|
|
2272
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
2071
2273
|
title: z.ZodString;
|
|
2072
2274
|
description: z.ZodOptional<z.ZodString>;
|
|
2073
2275
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -2076,15 +2278,15 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2076
2278
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
2077
2279
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2078
2280
|
type: z.ZodEnum<{
|
|
2281
|
+
custom: "custom";
|
|
2282
|
+
pattern: "pattern";
|
|
2079
2283
|
required: "required";
|
|
2080
2284
|
min: "min";
|
|
2081
2285
|
max: "max";
|
|
2082
2286
|
minLength: "minLength";
|
|
2083
2287
|
maxLength: "maxLength";
|
|
2084
|
-
pattern: "pattern";
|
|
2085
2288
|
email: "email";
|
|
2086
2289
|
url: "url";
|
|
2087
|
-
custom: "custom";
|
|
2088
2290
|
}>;
|
|
2089
2291
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2090
2292
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -2115,7 +2317,9 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2115
2317
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2116
2318
|
left: "left";
|
|
2117
2319
|
center: "center";
|
|
2320
|
+
justify: "justify";
|
|
2118
2321
|
}>>>;
|
|
2322
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2119
2323
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
2120
2324
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
2121
2325
|
list: "list";
|
|
@@ -2140,6 +2344,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2140
2344
|
}, z.core.$strip>>;
|
|
2141
2345
|
}, z.core.$strip>, z.ZodObject<{
|
|
2142
2346
|
id: z.ZodString;
|
|
2347
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
2143
2348
|
title: z.ZodString;
|
|
2144
2349
|
description: z.ZodOptional<z.ZodString>;
|
|
2145
2350
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -2148,15 +2353,15 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2148
2353
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
2149
2354
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2150
2355
|
type: z.ZodEnum<{
|
|
2356
|
+
custom: "custom";
|
|
2357
|
+
pattern: "pattern";
|
|
2151
2358
|
required: "required";
|
|
2152
2359
|
min: "min";
|
|
2153
2360
|
max: "max";
|
|
2154
2361
|
minLength: "minLength";
|
|
2155
2362
|
maxLength: "maxLength";
|
|
2156
|
-
pattern: "pattern";
|
|
2157
2363
|
email: "email";
|
|
2158
2364
|
url: "url";
|
|
2159
|
-
custom: "custom";
|
|
2160
2365
|
}>;
|
|
2161
2366
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2162
2367
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -2187,7 +2392,9 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2187
2392
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2188
2393
|
left: "left";
|
|
2189
2394
|
center: "center";
|
|
2395
|
+
justify: "justify";
|
|
2190
2396
|
}>>>;
|
|
2397
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2191
2398
|
type: z.ZodLiteral<"nps">;
|
|
2192
2399
|
min: z.ZodLiteral<0>;
|
|
2193
2400
|
max: z.ZodLiteral<10>;
|
|
@@ -2197,6 +2404,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2197
2404
|
prepopulatedValue: z.ZodOptional<z.ZodNumber>;
|
|
2198
2405
|
}, z.core.$strip>, z.ZodObject<{
|
|
2199
2406
|
id: z.ZodString;
|
|
2407
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
2200
2408
|
title: z.ZodString;
|
|
2201
2409
|
description: z.ZodOptional<z.ZodString>;
|
|
2202
2410
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -2205,15 +2413,15 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2205
2413
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
2206
2414
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2207
2415
|
type: z.ZodEnum<{
|
|
2416
|
+
custom: "custom";
|
|
2417
|
+
pattern: "pattern";
|
|
2208
2418
|
required: "required";
|
|
2209
2419
|
min: "min";
|
|
2210
2420
|
max: "max";
|
|
2211
2421
|
minLength: "minLength";
|
|
2212
2422
|
maxLength: "maxLength";
|
|
2213
|
-
pattern: "pattern";
|
|
2214
2423
|
email: "email";
|
|
2215
2424
|
url: "url";
|
|
2216
|
-
custom: "custom";
|
|
2217
2425
|
}>;
|
|
2218
2426
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2219
2427
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -2244,7 +2452,9 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2244
2452
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2245
2453
|
left: "left";
|
|
2246
2454
|
center: "center";
|
|
2455
|
+
justify: "justify";
|
|
2247
2456
|
}>>>;
|
|
2457
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2248
2458
|
type: z.ZodLiteral<"short_answer">;
|
|
2249
2459
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
2250
2460
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2257,6 +2467,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2257
2467
|
minCharactersToEnhance: z.ZodOptional<z.ZodNumber>;
|
|
2258
2468
|
}, z.core.$strip>, z.ZodObject<{
|
|
2259
2469
|
id: z.ZodString;
|
|
2470
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
2260
2471
|
title: z.ZodString;
|
|
2261
2472
|
description: z.ZodOptional<z.ZodString>;
|
|
2262
2473
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -2265,15 +2476,15 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2265
2476
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
2266
2477
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2267
2478
|
type: z.ZodEnum<{
|
|
2479
|
+
custom: "custom";
|
|
2480
|
+
pattern: "pattern";
|
|
2268
2481
|
required: "required";
|
|
2269
2482
|
min: "min";
|
|
2270
2483
|
max: "max";
|
|
2271
2484
|
minLength: "minLength";
|
|
2272
2485
|
maxLength: "maxLength";
|
|
2273
|
-
pattern: "pattern";
|
|
2274
2486
|
email: "email";
|
|
2275
2487
|
url: "url";
|
|
2276
|
-
custom: "custom";
|
|
2277
2488
|
}>;
|
|
2278
2489
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2279
2490
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -2304,7 +2515,9 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2304
2515
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2305
2516
|
left: "left";
|
|
2306
2517
|
center: "center";
|
|
2518
|
+
justify: "justify";
|
|
2307
2519
|
}>>>;
|
|
2520
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2308
2521
|
type: z.ZodLiteral<"long_text">;
|
|
2309
2522
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
2310
2523
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2316,6 +2529,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2316
2529
|
minCharactersToEnhance: z.ZodOptional<z.ZodNumber>;
|
|
2317
2530
|
}, z.core.$strip>, z.ZodObject<{
|
|
2318
2531
|
id: z.ZodString;
|
|
2532
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
2319
2533
|
title: z.ZodString;
|
|
2320
2534
|
description: z.ZodOptional<z.ZodString>;
|
|
2321
2535
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -2324,15 +2538,15 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2324
2538
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
2325
2539
|
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2326
2540
|
type: z.ZodEnum<{
|
|
2541
|
+
custom: "custom";
|
|
2542
|
+
pattern: "pattern";
|
|
2327
2543
|
required: "required";
|
|
2328
2544
|
min: "min";
|
|
2329
2545
|
max: "max";
|
|
2330
2546
|
minLength: "minLength";
|
|
2331
2547
|
maxLength: "maxLength";
|
|
2332
|
-
pattern: "pattern";
|
|
2333
2548
|
email: "email";
|
|
2334
2549
|
url: "url";
|
|
2335
|
-
custom: "custom";
|
|
2336
2550
|
}>;
|
|
2337
2551
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2338
2552
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -2363,7 +2577,9 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2363
2577
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2364
2578
|
left: "left";
|
|
2365
2579
|
center: "center";
|
|
2580
|
+
justify: "justify";
|
|
2366
2581
|
}>>>;
|
|
2582
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2367
2583
|
type: z.ZodLiteral<"nested_selection">;
|
|
2368
2584
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
2369
2585
|
options: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
@@ -2382,4 +2598,4 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
2382
2598
|
maxDepth: z.ZodOptional<z.ZodNumber>;
|
|
2383
2599
|
cascadeLabels: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2384
2600
|
}, z.core.$strip>], "type">;
|
|
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>;
|
|
2601
|
+
export type CombinedQuestion = z.infer<typeof ratingQuestionSchema> | z.infer<typeof annotationQuestionSchema> | z.infer<typeof welcomeQuestionSchema> | z.infer<typeof thankYouQuestionSchema> | z.infer<typeof messagePanelQuestionSchema> | z.infer<typeof exitFormQuestionSchema> | z.infer<typeof yesNoQuestionSchema> | z.infer<typeof consentQuestionSchema> | z.infer<typeof ratingMatrixQuestionSchema> | z.infer<typeof matrixSingleChoiceQuestionSchema> | z.infer<typeof matrixMultipleChoiceQuestionSchema> | z.infer<typeof multipleChoiceSingleQuestionSchema> | z.infer<typeof multipleChoiceMultipleQuestionSchema> | z.infer<typeof npsQuestionSchema> | z.infer<typeof shortAnswerQuestionSchema> | z.infer<typeof longAnswerQuestionSchema> | z.infer<typeof nestedDropdownQuestionSchema>;
|