@encatch/schema 1.0.0 → 1.0.1-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/index.js +344 -82
- package/dist/esm/index.js.map +3 -3
- package/dist/types/index.d.ts +2 -2
- package/dist/types/schemas/api/fetch-feedback-schema.d.ts +997 -150
- package/dist/types/schemas/api/refine-text-schema.d.ts +7 -12
- package/dist/types/schemas/api/submit-feedback-schema.d.ts +24 -0
- package/dist/types/schemas/fields/answer-schema.d.ts +8 -0
- package/dist/types/schemas/fields/app-props-schema.d.ts +490 -13
- package/dist/types/schemas/fields/field-schema.d.ts +1091 -160
- package/dist/types/schemas/fields/form-properties-schema.d.ts +497 -13
- package/dist/types/schemas/fields/theme-schema.d.ts +25 -0
- package/dist/types/schemas/fields/translations-schema.d.ts +350 -44
- package/package.json +1 -1
|
@@ -86,6 +86,13 @@ export declare const feedbackConfigurationItemSchema: z.ZodObject<{
|
|
|
86
86
|
customPosition: z.ZodBoolean;
|
|
87
87
|
customIconPosition: z.ZodBoolean;
|
|
88
88
|
customCss: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
89
|
+
allowMultipleQuestionsPerSection: z.ZodBoolean;
|
|
90
|
+
rtl: z.ZodBoolean;
|
|
91
|
+
previousButton: z.ZodEnum<{
|
|
92
|
+
never: "never";
|
|
93
|
+
always: "always";
|
|
94
|
+
auto: "auto";
|
|
95
|
+
}>;
|
|
89
96
|
}, z.core.$strip>;
|
|
90
97
|
selectedIconPosition: z.ZodString;
|
|
91
98
|
selectedPosition: z.ZodString;
|
|
@@ -191,6 +198,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
191
198
|
id: z.ZodString;
|
|
192
199
|
title: z.ZodString;
|
|
193
200
|
description: z.ZodOptional<z.ZodString>;
|
|
201
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
194
202
|
describe: z.ZodOptional<z.ZodString>;
|
|
195
203
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
196
204
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -256,6 +264,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
256
264
|
id: z.ZodString;
|
|
257
265
|
title: z.ZodString;
|
|
258
266
|
description: z.ZodOptional<z.ZodString>;
|
|
267
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
259
268
|
describe: z.ZodOptional<z.ZodString>;
|
|
260
269
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
261
270
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -303,8 +312,57 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
303
312
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
304
313
|
}, z.core.$strip>, z.ZodObject<{
|
|
305
314
|
id: z.ZodString;
|
|
315
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
316
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
317
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
318
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
319
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
320
|
+
type: z.ZodEnum<{
|
|
321
|
+
required: "required";
|
|
322
|
+
min: "min";
|
|
323
|
+
max: "max";
|
|
324
|
+
minLength: "minLength";
|
|
325
|
+
maxLength: "maxLength";
|
|
326
|
+
pattern: "pattern";
|
|
327
|
+
email: "email";
|
|
328
|
+
url: "url";
|
|
329
|
+
custom: "custom";
|
|
330
|
+
}>;
|
|
331
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
332
|
+
message: z.ZodOptional<z.ZodString>;
|
|
333
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
334
|
+
}, z.core.$strip>>>>;
|
|
335
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
336
|
+
field: z.ZodString;
|
|
337
|
+
operator: z.ZodEnum<{
|
|
338
|
+
equals: "equals";
|
|
339
|
+
not_equals: "not_equals";
|
|
340
|
+
contains: "contains";
|
|
341
|
+
not_contains: "not_contains";
|
|
342
|
+
greater_than: "greater_than";
|
|
343
|
+
less_than: "less_than";
|
|
344
|
+
is_empty: "is_empty";
|
|
345
|
+
is_not_empty: "is_not_empty";
|
|
346
|
+
}>;
|
|
347
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
348
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
349
|
+
}, z.core.$strip>>>>;
|
|
350
|
+
isFixed: z.ZodBoolean;
|
|
351
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
352
|
+
status: z.ZodEnum<{
|
|
353
|
+
D: "D";
|
|
354
|
+
P: "P";
|
|
355
|
+
A: "A";
|
|
356
|
+
S: "S";
|
|
357
|
+
}>;
|
|
358
|
+
type: z.ZodLiteral<"welcome">;
|
|
306
359
|
title: z.ZodString;
|
|
307
360
|
description: z.ZodOptional<z.ZodString>;
|
|
361
|
+
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
362
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
363
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
364
|
+
id: z.ZodString;
|
|
365
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
308
366
|
describe: z.ZodOptional<z.ZodString>;
|
|
309
367
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
310
368
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -347,31 +405,66 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
347
405
|
A: "A";
|
|
348
406
|
S: "S";
|
|
349
407
|
}>;
|
|
350
|
-
type: z.ZodLiteral<"
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
408
|
+
type: z.ZodLiteral<"thank_you">;
|
|
409
|
+
title: z.ZodString;
|
|
410
|
+
description: z.ZodOptional<z.ZodString>;
|
|
411
|
+
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
412
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
413
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
414
|
+
id: z.ZodString;
|
|
415
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
416
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
417
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
418
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
419
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
420
|
+
type: z.ZodEnum<{
|
|
421
|
+
required: "required";
|
|
422
|
+
min: "min";
|
|
423
|
+
max: "max";
|
|
424
|
+
minLength: "minLength";
|
|
425
|
+
maxLength: "maxLength";
|
|
426
|
+
pattern: "pattern";
|
|
427
|
+
email: "email";
|
|
428
|
+
url: "url";
|
|
429
|
+
custom: "custom";
|
|
430
|
+
}>;
|
|
431
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
432
|
+
message: z.ZodOptional<z.ZodString>;
|
|
368
433
|
describe: z.ZodOptional<z.ZodString>;
|
|
369
|
-
|
|
370
|
-
|
|
434
|
+
}, z.core.$strip>>>>;
|
|
435
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
436
|
+
field: z.ZodString;
|
|
437
|
+
operator: z.ZodEnum<{
|
|
438
|
+
equals: "equals";
|
|
439
|
+
not_equals: "not_equals";
|
|
440
|
+
contains: "contains";
|
|
441
|
+
not_contains: "not_contains";
|
|
442
|
+
greater_than: "greater_than";
|
|
443
|
+
less_than: "less_than";
|
|
444
|
+
is_empty: "is_empty";
|
|
445
|
+
is_not_empty: "is_not_empty";
|
|
446
|
+
}>;
|
|
447
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
448
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
449
|
+
}, z.core.$strip>>>>;
|
|
450
|
+
isFixed: z.ZodBoolean;
|
|
451
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
452
|
+
status: z.ZodEnum<{
|
|
453
|
+
D: "D";
|
|
454
|
+
P: "P";
|
|
455
|
+
A: "A";
|
|
456
|
+
S: "S";
|
|
457
|
+
}>;
|
|
458
|
+
type: z.ZodLiteral<"message_panel">;
|
|
459
|
+
title: z.ZodString;
|
|
460
|
+
description: z.ZodOptional<z.ZodString>;
|
|
461
|
+
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
462
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
371
463
|
}, z.core.$strip>, z.ZodObject<{
|
|
372
464
|
id: z.ZodString;
|
|
373
465
|
title: z.ZodString;
|
|
374
466
|
description: z.ZodOptional<z.ZodString>;
|
|
467
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
375
468
|
describe: z.ZodOptional<z.ZodString>;
|
|
376
469
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
377
470
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -414,32 +507,97 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
414
507
|
A: "A";
|
|
415
508
|
S: "S";
|
|
416
509
|
}>;
|
|
417
|
-
type: z.ZodLiteral<"
|
|
510
|
+
type: z.ZodLiteral<"yes_no">;
|
|
511
|
+
yesLabel: z.ZodOptional<z.ZodString>;
|
|
512
|
+
noLabel: z.ZodOptional<z.ZodString>;
|
|
418
513
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
checkbox: "checkbox";
|
|
514
|
+
horizontal: "horizontal";
|
|
515
|
+
vertical: "vertical";
|
|
422
516
|
}>>;
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
517
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
518
|
+
id: z.ZodString;
|
|
519
|
+
title: z.ZodString;
|
|
520
|
+
description: z.ZodOptional<z.ZodString>;
|
|
521
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
522
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
523
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
524
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
525
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
526
|
+
type: z.ZodEnum<{
|
|
527
|
+
required: "required";
|
|
528
|
+
min: "min";
|
|
529
|
+
max: "max";
|
|
530
|
+
minLength: "minLength";
|
|
531
|
+
maxLength: "maxLength";
|
|
532
|
+
pattern: "pattern";
|
|
533
|
+
email: "email";
|
|
534
|
+
url: "url";
|
|
535
|
+
custom: "custom";
|
|
536
|
+
}>;
|
|
537
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
538
|
+
message: z.ZodOptional<z.ZodString>;
|
|
539
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
540
|
+
}, z.core.$strip>>>>;
|
|
541
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
542
|
+
field: z.ZodString;
|
|
543
|
+
operator: z.ZodEnum<{
|
|
544
|
+
equals: "equals";
|
|
545
|
+
not_equals: "not_equals";
|
|
546
|
+
contains: "contains";
|
|
547
|
+
not_contains: "not_contains";
|
|
548
|
+
greater_than: "greater_than";
|
|
549
|
+
less_than: "less_than";
|
|
550
|
+
is_empty: "is_empty";
|
|
551
|
+
is_not_empty: "is_not_empty";
|
|
552
|
+
}>;
|
|
553
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
554
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
555
|
+
}, z.core.$strip>>>>;
|
|
556
|
+
isFixed: z.ZodBoolean;
|
|
557
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
558
|
+
status: z.ZodEnum<{
|
|
559
|
+
D: "D";
|
|
560
|
+
P: "P";
|
|
561
|
+
A: "A";
|
|
562
|
+
S: "S";
|
|
563
|
+
}>;
|
|
564
|
+
type: z.ZodLiteral<"rating_matrix">;
|
|
565
|
+
statements: z.ZodArray<z.ZodObject<{
|
|
433
566
|
id: z.ZodString;
|
|
434
567
|
value: z.ZodString;
|
|
435
568
|
label: z.ZodString;
|
|
436
569
|
describe: z.ZodOptional<z.ZodString>;
|
|
437
|
-
imageUrl: z.ZodOptional<z.ZodString>;
|
|
438
570
|
}, z.core.$strip>>;
|
|
571
|
+
scale: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
572
|
+
kind: z.ZodLiteral<"likert">;
|
|
573
|
+
minLabel: z.ZodOptional<z.ZodString>;
|
|
574
|
+
maxLabel: z.ZodOptional<z.ZodString>;
|
|
575
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
576
|
+
kind: z.ZodLiteral<"numerical">;
|
|
577
|
+
pointCount: z.ZodUnion<readonly [z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>]>;
|
|
578
|
+
minLabel: z.ZodOptional<z.ZodString>;
|
|
579
|
+
maxLabel: z.ZodOptional<z.ZodString>;
|
|
580
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
581
|
+
kind: z.ZodLiteral<"custom">;
|
|
582
|
+
scalePoints: z.ZodArray<z.ZodObject<{
|
|
583
|
+
id: z.ZodString;
|
|
584
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
585
|
+
label: z.ZodString;
|
|
586
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
587
|
+
}, z.core.$strip>>;
|
|
588
|
+
}, z.core.$strip>], "kind">;
|
|
589
|
+
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
590
|
+
star: "star";
|
|
591
|
+
emoji: "emoji";
|
|
592
|
+
radio: "radio";
|
|
593
|
+
button: "button";
|
|
594
|
+
}>>;
|
|
595
|
+
randomizeStatements: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
439
596
|
}, z.core.$strip>, z.ZodObject<{
|
|
440
597
|
id: z.ZodString;
|
|
441
598
|
title: z.ZodString;
|
|
442
599
|
description: z.ZodOptional<z.ZodString>;
|
|
600
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
443
601
|
describe: z.ZodOptional<z.ZodString>;
|
|
444
602
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
445
603
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -482,17 +640,26 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
482
640
|
A: "A";
|
|
483
641
|
S: "S";
|
|
484
642
|
}>;
|
|
485
|
-
type: z.ZodLiteral<"
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
643
|
+
type: z.ZodLiteral<"matrix_single_choice">;
|
|
644
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
645
|
+
id: z.ZodString;
|
|
646
|
+
value: z.ZodString;
|
|
647
|
+
label: z.ZodString;
|
|
648
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
649
|
+
}, z.core.$strip>>;
|
|
650
|
+
columns: z.ZodArray<z.ZodObject<{
|
|
651
|
+
id: z.ZodString;
|
|
652
|
+
value: z.ZodString;
|
|
653
|
+
label: z.ZodString;
|
|
654
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
655
|
+
}, z.core.$strip>>;
|
|
656
|
+
randomizeRows: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
657
|
+
randomizeColumns: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
492
658
|
}, z.core.$strip>, z.ZodObject<{
|
|
493
659
|
id: z.ZodString;
|
|
494
660
|
title: z.ZodString;
|
|
495
661
|
description: z.ZodOptional<z.ZodString>;
|
|
662
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
496
663
|
describe: z.ZodOptional<z.ZodString>;
|
|
497
664
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
498
665
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -535,22 +702,28 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
535
702
|
A: "A";
|
|
536
703
|
S: "S";
|
|
537
704
|
}>;
|
|
538
|
-
type: z.ZodLiteral<"
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
705
|
+
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
706
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
707
|
+
id: z.ZodString;
|
|
708
|
+
value: z.ZodString;
|
|
709
|
+
label: z.ZodString;
|
|
710
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
711
|
+
}, z.core.$strip>>;
|
|
712
|
+
columns: z.ZodArray<z.ZodObject<{
|
|
713
|
+
id: z.ZodString;
|
|
714
|
+
value: z.ZodString;
|
|
715
|
+
label: z.ZodString;
|
|
716
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
717
|
+
}, z.core.$strip>>;
|
|
718
|
+
minSelectionsPerRow: z.ZodOptional<z.ZodNumber>;
|
|
719
|
+
maxSelectionsPerRow: z.ZodOptional<z.ZodNumber>;
|
|
720
|
+
randomizeRows: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
721
|
+
randomizeColumns: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
550
722
|
}, z.core.$strip>, z.ZodObject<{
|
|
551
723
|
id: z.ZodString;
|
|
552
724
|
title: z.ZodString;
|
|
553
725
|
description: z.ZodOptional<z.ZodString>;
|
|
726
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
554
727
|
describe: z.ZodOptional<z.ZodString>;
|
|
555
728
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
556
729
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -593,21 +766,32 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
593
766
|
A: "A";
|
|
594
767
|
S: "S";
|
|
595
768
|
}>;
|
|
596
|
-
type: z.ZodLiteral<"
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
769
|
+
type: z.ZodLiteral<"single_choice">;
|
|
770
|
+
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
771
|
+
radio: "radio";
|
|
772
|
+
list: "list";
|
|
773
|
+
chip: "chip";
|
|
774
|
+
dropdown: "dropdown";
|
|
775
|
+
}>>;
|
|
776
|
+
allowOther: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
777
|
+
otherTextConfig: z.ZodOptional<z.ZodObject<{
|
|
778
|
+
minChars: z.ZodOptional<z.ZodNumber>;
|
|
779
|
+
maxChars: z.ZodOptional<z.ZodNumber>;
|
|
780
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
781
|
+
}, z.core.$strip>>;
|
|
782
|
+
randomizeOptions: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
783
|
+
options: z.ZodArray<z.ZodObject<{
|
|
784
|
+
id: z.ZodString;
|
|
785
|
+
value: z.ZodString;
|
|
786
|
+
label: z.ZodString;
|
|
787
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
788
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
789
|
+
}, z.core.$strip>>;
|
|
607
790
|
}, z.core.$strip>, z.ZodObject<{
|
|
608
791
|
id: z.ZodString;
|
|
609
792
|
title: z.ZodString;
|
|
610
793
|
description: z.ZodOptional<z.ZodString>;
|
|
794
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
611
795
|
describe: z.ZodOptional<z.ZodString>;
|
|
612
796
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
613
797
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -623,75 +807,632 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
623
807
|
url: "url";
|
|
624
808
|
custom: "custom";
|
|
625
809
|
}>;
|
|
626
|
-
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
627
|
-
message: z.ZodOptional<z.ZodString>;
|
|
810
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
811
|
+
message: z.ZodOptional<z.ZodString>;
|
|
812
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
813
|
+
}, z.core.$strip>>>>;
|
|
814
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
815
|
+
field: z.ZodString;
|
|
816
|
+
operator: z.ZodEnum<{
|
|
817
|
+
equals: "equals";
|
|
818
|
+
not_equals: "not_equals";
|
|
819
|
+
contains: "contains";
|
|
820
|
+
not_contains: "not_contains";
|
|
821
|
+
greater_than: "greater_than";
|
|
822
|
+
less_than: "less_than";
|
|
823
|
+
is_empty: "is_empty";
|
|
824
|
+
is_not_empty: "is_not_empty";
|
|
825
|
+
}>;
|
|
826
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
827
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
828
|
+
}, z.core.$strip>>>>;
|
|
829
|
+
isFixed: z.ZodBoolean;
|
|
830
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
831
|
+
status: z.ZodEnum<{
|
|
832
|
+
D: "D";
|
|
833
|
+
P: "P";
|
|
834
|
+
A: "A";
|
|
835
|
+
S: "S";
|
|
836
|
+
}>;
|
|
837
|
+
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
838
|
+
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
839
|
+
list: "list";
|
|
840
|
+
chip: "chip";
|
|
841
|
+
checkbox: "checkbox";
|
|
842
|
+
}>>;
|
|
843
|
+
allowOther: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
844
|
+
otherTextConfig: z.ZodOptional<z.ZodObject<{
|
|
845
|
+
minChars: z.ZodOptional<z.ZodNumber>;
|
|
846
|
+
maxChars: z.ZodOptional<z.ZodNumber>;
|
|
847
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
848
|
+
}, z.core.$strip>>;
|
|
849
|
+
minSelections: z.ZodOptional<z.ZodNumber>;
|
|
850
|
+
maxSelections: z.ZodOptional<z.ZodNumber>;
|
|
851
|
+
randomizeOptions: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
852
|
+
options: z.ZodArray<z.ZodObject<{
|
|
853
|
+
id: z.ZodString;
|
|
854
|
+
value: z.ZodString;
|
|
855
|
+
label: z.ZodString;
|
|
856
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
857
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
858
|
+
}, z.core.$strip>>;
|
|
859
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
860
|
+
id: z.ZodString;
|
|
861
|
+
title: z.ZodString;
|
|
862
|
+
description: z.ZodOptional<z.ZodString>;
|
|
863
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
864
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
865
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
866
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
867
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
868
|
+
type: z.ZodEnum<{
|
|
869
|
+
required: "required";
|
|
870
|
+
min: "min";
|
|
871
|
+
max: "max";
|
|
872
|
+
minLength: "minLength";
|
|
873
|
+
maxLength: "maxLength";
|
|
874
|
+
pattern: "pattern";
|
|
875
|
+
email: "email";
|
|
876
|
+
url: "url";
|
|
877
|
+
custom: "custom";
|
|
878
|
+
}>;
|
|
879
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
880
|
+
message: z.ZodOptional<z.ZodString>;
|
|
881
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
882
|
+
}, z.core.$strip>>>>;
|
|
883
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
884
|
+
field: z.ZodString;
|
|
885
|
+
operator: z.ZodEnum<{
|
|
886
|
+
equals: "equals";
|
|
887
|
+
not_equals: "not_equals";
|
|
888
|
+
contains: "contains";
|
|
889
|
+
not_contains: "not_contains";
|
|
890
|
+
greater_than: "greater_than";
|
|
891
|
+
less_than: "less_than";
|
|
892
|
+
is_empty: "is_empty";
|
|
893
|
+
is_not_empty: "is_not_empty";
|
|
894
|
+
}>;
|
|
895
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
896
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
897
|
+
}, z.core.$strip>>>>;
|
|
898
|
+
isFixed: z.ZodBoolean;
|
|
899
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
900
|
+
status: z.ZodEnum<{
|
|
901
|
+
D: "D";
|
|
902
|
+
P: "P";
|
|
903
|
+
A: "A";
|
|
904
|
+
S: "S";
|
|
905
|
+
}>;
|
|
906
|
+
type: z.ZodLiteral<"nps">;
|
|
907
|
+
min: z.ZodLiteral<0>;
|
|
908
|
+
max: z.ZodLiteral<10>;
|
|
909
|
+
minLabel: z.ZodOptional<z.ZodString>;
|
|
910
|
+
maxLabel: z.ZodOptional<z.ZodString>;
|
|
911
|
+
scaleLabels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
912
|
+
prepopulatedValue: z.ZodOptional<z.ZodNumber>;
|
|
913
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
914
|
+
id: z.ZodString;
|
|
915
|
+
title: z.ZodString;
|
|
916
|
+
description: z.ZodOptional<z.ZodString>;
|
|
917
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
918
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
919
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
920
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
921
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
922
|
+
type: z.ZodEnum<{
|
|
923
|
+
required: "required";
|
|
924
|
+
min: "min";
|
|
925
|
+
max: "max";
|
|
926
|
+
minLength: "minLength";
|
|
927
|
+
maxLength: "maxLength";
|
|
928
|
+
pattern: "pattern";
|
|
929
|
+
email: "email";
|
|
930
|
+
url: "url";
|
|
931
|
+
custom: "custom";
|
|
932
|
+
}>;
|
|
933
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
934
|
+
message: z.ZodOptional<z.ZodString>;
|
|
935
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
936
|
+
}, z.core.$strip>>>>;
|
|
937
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
938
|
+
field: z.ZodString;
|
|
939
|
+
operator: z.ZodEnum<{
|
|
940
|
+
equals: "equals";
|
|
941
|
+
not_equals: "not_equals";
|
|
942
|
+
contains: "contains";
|
|
943
|
+
not_contains: "not_contains";
|
|
944
|
+
greater_than: "greater_than";
|
|
945
|
+
less_than: "less_than";
|
|
946
|
+
is_empty: "is_empty";
|
|
947
|
+
is_not_empty: "is_not_empty";
|
|
948
|
+
}>;
|
|
949
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
950
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
951
|
+
}, z.core.$strip>>>>;
|
|
952
|
+
isFixed: z.ZodBoolean;
|
|
953
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
954
|
+
status: z.ZodEnum<{
|
|
955
|
+
D: "D";
|
|
956
|
+
P: "P";
|
|
957
|
+
A: "A";
|
|
958
|
+
S: "S";
|
|
959
|
+
}>;
|
|
960
|
+
type: z.ZodLiteral<"short_answer">;
|
|
961
|
+
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
962
|
+
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
963
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
964
|
+
enableRegexValidation: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
965
|
+
regexPattern: z.ZodOptional<z.ZodString>;
|
|
966
|
+
enableEnhanceWithAi: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
967
|
+
promptTemplate: z.ZodOptional<z.ZodString>;
|
|
968
|
+
maxTokenAllowed: z.ZodOptional<z.ZodNumber>;
|
|
969
|
+
minCharactersToEnhance: z.ZodOptional<z.ZodNumber>;
|
|
970
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
971
|
+
id: z.ZodString;
|
|
972
|
+
title: z.ZodString;
|
|
973
|
+
description: z.ZodOptional<z.ZodString>;
|
|
974
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
975
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
976
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
977
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
978
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
979
|
+
type: z.ZodEnum<{
|
|
980
|
+
required: "required";
|
|
981
|
+
min: "min";
|
|
982
|
+
max: "max";
|
|
983
|
+
minLength: "minLength";
|
|
984
|
+
maxLength: "maxLength";
|
|
985
|
+
pattern: "pattern";
|
|
986
|
+
email: "email";
|
|
987
|
+
url: "url";
|
|
988
|
+
custom: "custom";
|
|
989
|
+
}>;
|
|
990
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
991
|
+
message: z.ZodOptional<z.ZodString>;
|
|
992
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
993
|
+
}, z.core.$strip>>>>;
|
|
994
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
995
|
+
field: z.ZodString;
|
|
996
|
+
operator: z.ZodEnum<{
|
|
997
|
+
equals: "equals";
|
|
998
|
+
not_equals: "not_equals";
|
|
999
|
+
contains: "contains";
|
|
1000
|
+
not_contains: "not_contains";
|
|
1001
|
+
greater_than: "greater_than";
|
|
1002
|
+
less_than: "less_than";
|
|
1003
|
+
is_empty: "is_empty";
|
|
1004
|
+
is_not_empty: "is_not_empty";
|
|
1005
|
+
}>;
|
|
1006
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1007
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1008
|
+
}, z.core.$strip>>>>;
|
|
1009
|
+
isFixed: z.ZodBoolean;
|
|
1010
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
1011
|
+
status: z.ZodEnum<{
|
|
1012
|
+
D: "D";
|
|
1013
|
+
P: "P";
|
|
1014
|
+
A: "A";
|
|
1015
|
+
S: "S";
|
|
1016
|
+
}>;
|
|
1017
|
+
type: z.ZodLiteral<"long_text">;
|
|
1018
|
+
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1019
|
+
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1020
|
+
rows: z.ZodOptional<z.ZodNumber>;
|
|
1021
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
1022
|
+
enableEnhanceWithAi: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1023
|
+
promptTemplate: z.ZodOptional<z.ZodString>;
|
|
1024
|
+
maxTokenAllowed: z.ZodOptional<z.ZodNumber>;
|
|
1025
|
+
minCharactersToEnhance: z.ZodOptional<z.ZodNumber>;
|
|
1026
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1027
|
+
id: z.ZodString;
|
|
1028
|
+
title: z.ZodString;
|
|
1029
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1030
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1031
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1032
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
1033
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1034
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1035
|
+
type: z.ZodEnum<{
|
|
1036
|
+
required: "required";
|
|
1037
|
+
min: "min";
|
|
1038
|
+
max: "max";
|
|
1039
|
+
minLength: "minLength";
|
|
1040
|
+
maxLength: "maxLength";
|
|
1041
|
+
pattern: "pattern";
|
|
1042
|
+
email: "email";
|
|
1043
|
+
url: "url";
|
|
1044
|
+
custom: "custom";
|
|
1045
|
+
}>;
|
|
1046
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1047
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1048
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1049
|
+
}, z.core.$strip>>>>;
|
|
1050
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1051
|
+
field: z.ZodString;
|
|
1052
|
+
operator: z.ZodEnum<{
|
|
1053
|
+
equals: "equals";
|
|
1054
|
+
not_equals: "not_equals";
|
|
1055
|
+
contains: "contains";
|
|
1056
|
+
not_contains: "not_contains";
|
|
1057
|
+
greater_than: "greater_than";
|
|
1058
|
+
less_than: "less_than";
|
|
1059
|
+
is_empty: "is_empty";
|
|
1060
|
+
is_not_empty: "is_not_empty";
|
|
1061
|
+
}>;
|
|
1062
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1063
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1064
|
+
}, z.core.$strip>>>>;
|
|
1065
|
+
isFixed: z.ZodBoolean;
|
|
1066
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
1067
|
+
status: z.ZodEnum<{
|
|
1068
|
+
D: "D";
|
|
1069
|
+
P: "P";
|
|
1070
|
+
A: "A";
|
|
1071
|
+
S: "S";
|
|
1072
|
+
}>;
|
|
1073
|
+
type: z.ZodLiteral<"nested_selection">;
|
|
1074
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
1075
|
+
options: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
1076
|
+
displayStyle: z.ZodLiteral<"list">;
|
|
1077
|
+
choiceOrderOption: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1078
|
+
randomize: "randomize";
|
|
1079
|
+
flip: "flip";
|
|
1080
|
+
rotate: "rotate";
|
|
1081
|
+
ascending: "ascending";
|
|
1082
|
+
none: "none";
|
|
1083
|
+
}>>>;
|
|
1084
|
+
preserveLastChoices: z.ZodOptional<z.ZodNumber>;
|
|
1085
|
+
prepopulatedValue: z.ZodOptional<z.ZodString>;
|
|
1086
|
+
allowOther: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1087
|
+
otherColumnName: z.ZodOptional<z.ZodString>;
|
|
1088
|
+
maxDepth: z.ZodOptional<z.ZodNumber>;
|
|
1089
|
+
cascadeLabels: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1090
|
+
}, z.core.$strip>], "type">>;
|
|
1091
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
1092
|
+
id: z.ZodString;
|
|
1093
|
+
title: z.ZodString;
|
|
1094
|
+
questionIds: z.ZodArray<z.ZodString>;
|
|
1095
|
+
}, z.core.$strip>>;
|
|
1096
|
+
translations: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
1097
|
+
selectedLanguages: z.ZodArray<z.ZodObject<{
|
|
1098
|
+
value: z.ZodString;
|
|
1099
|
+
label: z.ZodString;
|
|
1100
|
+
isFixed: z.ZodDefault<z.ZodBoolean>;
|
|
1101
|
+
}, z.core.$strip>>;
|
|
1102
|
+
}, z.core.$strip>;
|
|
1103
|
+
export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
1104
|
+
feedbackConfigurationId: z.ZodString;
|
|
1105
|
+
feedbackIdentifier: z.ZodString;
|
|
1106
|
+
formConfiguration: z.ZodObject<{
|
|
1107
|
+
formTitle: z.ZodString;
|
|
1108
|
+
formDescription: z.ZodString;
|
|
1109
|
+
}, z.core.$strip>;
|
|
1110
|
+
questionnaireFields: z.ZodObject<{
|
|
1111
|
+
questions: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1112
|
+
id: z.ZodString;
|
|
1113
|
+
title: z.ZodString;
|
|
1114
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1115
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1116
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1117
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
1118
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1119
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1120
|
+
type: z.ZodEnum<{
|
|
1121
|
+
required: "required";
|
|
1122
|
+
min: "min";
|
|
1123
|
+
max: "max";
|
|
1124
|
+
minLength: "minLength";
|
|
1125
|
+
maxLength: "maxLength";
|
|
1126
|
+
pattern: "pattern";
|
|
1127
|
+
email: "email";
|
|
1128
|
+
url: "url";
|
|
1129
|
+
custom: "custom";
|
|
1130
|
+
}>;
|
|
1131
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1132
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1133
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1134
|
+
}, z.core.$strip>>>>;
|
|
1135
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1136
|
+
field: z.ZodString;
|
|
1137
|
+
operator: z.ZodEnum<{
|
|
1138
|
+
equals: "equals";
|
|
1139
|
+
not_equals: "not_equals";
|
|
1140
|
+
contains: "contains";
|
|
1141
|
+
not_contains: "not_contains";
|
|
1142
|
+
greater_than: "greater_than";
|
|
1143
|
+
less_than: "less_than";
|
|
1144
|
+
is_empty: "is_empty";
|
|
1145
|
+
is_not_empty: "is_not_empty";
|
|
1146
|
+
}>;
|
|
1147
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1148
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1149
|
+
}, z.core.$strip>>>>;
|
|
1150
|
+
isFixed: z.ZodBoolean;
|
|
1151
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
1152
|
+
status: z.ZodEnum<{
|
|
1153
|
+
D: "D";
|
|
1154
|
+
P: "P";
|
|
1155
|
+
A: "A";
|
|
1156
|
+
S: "S";
|
|
1157
|
+
}>;
|
|
1158
|
+
type: z.ZodLiteral<"rating">;
|
|
1159
|
+
showLabels: z.ZodOptional<z.ZodBoolean>;
|
|
1160
|
+
minLabel: z.ZodOptional<z.ZodString>;
|
|
1161
|
+
maxLabel: z.ZodOptional<z.ZodString>;
|
|
1162
|
+
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
1163
|
+
star: "star";
|
|
1164
|
+
heart: "heart";
|
|
1165
|
+
"thumbs-up": "thumbs-up";
|
|
1166
|
+
diamond: "diamond";
|
|
1167
|
+
emoji: "emoji";
|
|
1168
|
+
"emoji-exp": "emoji-exp";
|
|
1169
|
+
}>>;
|
|
1170
|
+
numberOfRatings: z.ZodNumber;
|
|
1171
|
+
representationSize: z.ZodOptional<z.ZodEnum<{
|
|
1172
|
+
small: "small";
|
|
1173
|
+
medium: "medium";
|
|
1174
|
+
large: "large";
|
|
1175
|
+
}>>;
|
|
1176
|
+
color: z.ZodOptional<z.ZodString>;
|
|
1177
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1178
|
+
id: z.ZodString;
|
|
1179
|
+
title: z.ZodString;
|
|
1180
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1181
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1182
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1183
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
1184
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1185
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1186
|
+
type: z.ZodEnum<{
|
|
1187
|
+
required: "required";
|
|
1188
|
+
min: "min";
|
|
1189
|
+
max: "max";
|
|
1190
|
+
minLength: "minLength";
|
|
1191
|
+
maxLength: "maxLength";
|
|
1192
|
+
pattern: "pattern";
|
|
1193
|
+
email: "email";
|
|
1194
|
+
url: "url";
|
|
1195
|
+
custom: "custom";
|
|
1196
|
+
}>;
|
|
1197
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1198
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1199
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1200
|
+
}, z.core.$strip>>>>;
|
|
1201
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1202
|
+
field: z.ZodString;
|
|
1203
|
+
operator: z.ZodEnum<{
|
|
1204
|
+
equals: "equals";
|
|
1205
|
+
not_equals: "not_equals";
|
|
1206
|
+
contains: "contains";
|
|
1207
|
+
not_contains: "not_contains";
|
|
1208
|
+
greater_than: "greater_than";
|
|
1209
|
+
less_than: "less_than";
|
|
1210
|
+
is_empty: "is_empty";
|
|
1211
|
+
is_not_empty: "is_not_empty";
|
|
1212
|
+
}>;
|
|
1213
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1214
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1215
|
+
}, z.core.$strip>>>>;
|
|
1216
|
+
isFixed: z.ZodBoolean;
|
|
1217
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
1218
|
+
status: z.ZodEnum<{
|
|
1219
|
+
D: "D";
|
|
1220
|
+
P: "P";
|
|
1221
|
+
A: "A";
|
|
1222
|
+
S: "S";
|
|
1223
|
+
}>;
|
|
1224
|
+
type: z.ZodLiteral<"annotation">;
|
|
1225
|
+
annotationText: z.ZodOptional<z.ZodString>;
|
|
1226
|
+
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
1227
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1228
|
+
id: z.ZodString;
|
|
1229
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1230
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1231
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
1232
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1233
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1234
|
+
type: z.ZodEnum<{
|
|
1235
|
+
required: "required";
|
|
1236
|
+
min: "min";
|
|
1237
|
+
max: "max";
|
|
1238
|
+
minLength: "minLength";
|
|
1239
|
+
maxLength: "maxLength";
|
|
1240
|
+
pattern: "pattern";
|
|
1241
|
+
email: "email";
|
|
1242
|
+
url: "url";
|
|
1243
|
+
custom: "custom";
|
|
1244
|
+
}>;
|
|
1245
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1246
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1247
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1248
|
+
}, z.core.$strip>>>>;
|
|
1249
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1250
|
+
field: z.ZodString;
|
|
1251
|
+
operator: z.ZodEnum<{
|
|
1252
|
+
equals: "equals";
|
|
1253
|
+
not_equals: "not_equals";
|
|
1254
|
+
contains: "contains";
|
|
1255
|
+
not_contains: "not_contains";
|
|
1256
|
+
greater_than: "greater_than";
|
|
1257
|
+
less_than: "less_than";
|
|
1258
|
+
is_empty: "is_empty";
|
|
1259
|
+
is_not_empty: "is_not_empty";
|
|
1260
|
+
}>;
|
|
1261
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1262
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1263
|
+
}, z.core.$strip>>>>;
|
|
1264
|
+
isFixed: z.ZodBoolean;
|
|
1265
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
1266
|
+
status: z.ZodEnum<{
|
|
1267
|
+
D: "D";
|
|
1268
|
+
P: "P";
|
|
1269
|
+
A: "A";
|
|
1270
|
+
S: "S";
|
|
1271
|
+
}>;
|
|
1272
|
+
type: z.ZodLiteral<"welcome">;
|
|
1273
|
+
title: z.ZodString;
|
|
1274
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1275
|
+
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1276
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
1277
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1278
|
+
id: z.ZodString;
|
|
1279
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1280
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1281
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
1282
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1283
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1284
|
+
type: z.ZodEnum<{
|
|
1285
|
+
required: "required";
|
|
1286
|
+
min: "min";
|
|
1287
|
+
max: "max";
|
|
1288
|
+
minLength: "minLength";
|
|
1289
|
+
maxLength: "maxLength";
|
|
1290
|
+
pattern: "pattern";
|
|
1291
|
+
email: "email";
|
|
1292
|
+
url: "url";
|
|
1293
|
+
custom: "custom";
|
|
1294
|
+
}>;
|
|
1295
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1296
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1297
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1298
|
+
}, z.core.$strip>>>>;
|
|
1299
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1300
|
+
field: z.ZodString;
|
|
1301
|
+
operator: z.ZodEnum<{
|
|
1302
|
+
equals: "equals";
|
|
1303
|
+
not_equals: "not_equals";
|
|
1304
|
+
contains: "contains";
|
|
1305
|
+
not_contains: "not_contains";
|
|
1306
|
+
greater_than: "greater_than";
|
|
1307
|
+
less_than: "less_than";
|
|
1308
|
+
is_empty: "is_empty";
|
|
1309
|
+
is_not_empty: "is_not_empty";
|
|
1310
|
+
}>;
|
|
1311
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1312
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1313
|
+
}, z.core.$strip>>>>;
|
|
1314
|
+
isFixed: z.ZodBoolean;
|
|
1315
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
1316
|
+
status: z.ZodEnum<{
|
|
1317
|
+
D: "D";
|
|
1318
|
+
P: "P";
|
|
1319
|
+
A: "A";
|
|
1320
|
+
S: "S";
|
|
1321
|
+
}>;
|
|
1322
|
+
type: z.ZodLiteral<"thank_you">;
|
|
1323
|
+
title: z.ZodString;
|
|
1324
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1325
|
+
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1326
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
1327
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1328
|
+
id: z.ZodString;
|
|
1329
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
628
1330
|
describe: z.ZodOptional<z.ZodString>;
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
1331
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
1332
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1333
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1334
|
+
type: z.ZodEnum<{
|
|
1335
|
+
required: "required";
|
|
1336
|
+
min: "min";
|
|
1337
|
+
max: "max";
|
|
1338
|
+
minLength: "minLength";
|
|
1339
|
+
maxLength: "maxLength";
|
|
1340
|
+
pattern: "pattern";
|
|
1341
|
+
email: "email";
|
|
1342
|
+
url: "url";
|
|
1343
|
+
custom: "custom";
|
|
1344
|
+
}>;
|
|
1345
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1346
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1347
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1348
|
+
}, z.core.$strip>>>>;
|
|
1349
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1350
|
+
field: z.ZodString;
|
|
1351
|
+
operator: z.ZodEnum<{
|
|
1352
|
+
equals: "equals";
|
|
1353
|
+
not_equals: "not_equals";
|
|
1354
|
+
contains: "contains";
|
|
1355
|
+
not_contains: "not_contains";
|
|
1356
|
+
greater_than: "greater_than";
|
|
1357
|
+
less_than: "less_than";
|
|
1358
|
+
is_empty: "is_empty";
|
|
1359
|
+
is_not_empty: "is_not_empty";
|
|
1360
|
+
}>;
|
|
1361
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1362
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1363
|
+
}, z.core.$strip>>>>;
|
|
1364
|
+
isFixed: z.ZodBoolean;
|
|
1365
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
1366
|
+
status: z.ZodEnum<{
|
|
1367
|
+
D: "D";
|
|
1368
|
+
P: "P";
|
|
1369
|
+
A: "A";
|
|
1370
|
+
S: "S";
|
|
641
1371
|
}>;
|
|
642
|
-
|
|
1372
|
+
type: z.ZodLiteral<"message_panel">;
|
|
1373
|
+
title: z.ZodString;
|
|
1374
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1375
|
+
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1376
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
1377
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1378
|
+
id: z.ZodString;
|
|
1379
|
+
title: z.ZodString;
|
|
1380
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1381
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
643
1382
|
describe: z.ZodOptional<z.ZodString>;
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
1383
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
1384
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1385
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1386
|
+
type: z.ZodEnum<{
|
|
1387
|
+
required: "required";
|
|
1388
|
+
min: "min";
|
|
1389
|
+
max: "max";
|
|
1390
|
+
minLength: "minLength";
|
|
1391
|
+
maxLength: "maxLength";
|
|
1392
|
+
pattern: "pattern";
|
|
1393
|
+
email: "email";
|
|
1394
|
+
url: "url";
|
|
1395
|
+
custom: "custom";
|
|
1396
|
+
}>;
|
|
1397
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1398
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1399
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1400
|
+
}, z.core.$strip>>>>;
|
|
1401
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1402
|
+
field: z.ZodString;
|
|
1403
|
+
operator: z.ZodEnum<{
|
|
1404
|
+
equals: "equals";
|
|
1405
|
+
not_equals: "not_equals";
|
|
1406
|
+
contains: "contains";
|
|
1407
|
+
not_contains: "not_contains";
|
|
1408
|
+
greater_than: "greater_than";
|
|
1409
|
+
less_than: "less_than";
|
|
1410
|
+
is_empty: "is_empty";
|
|
1411
|
+
is_not_empty: "is_not_empty";
|
|
1412
|
+
}>;
|
|
1413
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1414
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1415
|
+
}, z.core.$strip>>>>;
|
|
1416
|
+
isFixed: z.ZodBoolean;
|
|
1417
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
1418
|
+
status: z.ZodEnum<{
|
|
1419
|
+
D: "D";
|
|
1420
|
+
P: "P";
|
|
1421
|
+
A: "A";
|
|
1422
|
+
S: "S";
|
|
1423
|
+
}>;
|
|
1424
|
+
type: z.ZodLiteral<"yes_no">;
|
|
1425
|
+
yesLabel: z.ZodOptional<z.ZodString>;
|
|
1426
|
+
noLabel: z.ZodOptional<z.ZodString>;
|
|
1427
|
+
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
1428
|
+
horizontal: "horizontal";
|
|
1429
|
+
vertical: "vertical";
|
|
1430
|
+
}>>;
|
|
1431
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
692
1432
|
id: z.ZodString;
|
|
693
1433
|
title: z.ZodString;
|
|
694
1434
|
description: z.ZodOptional<z.ZodString>;
|
|
1435
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
695
1436
|
describe: z.ZodOptional<z.ZodString>;
|
|
696
1437
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
697
1438
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -734,29 +1475,43 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
734
1475
|
A: "A";
|
|
735
1476
|
S: "S";
|
|
736
1477
|
}>;
|
|
737
|
-
type: z.ZodLiteral<"
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
1478
|
+
type: z.ZodLiteral<"rating_matrix">;
|
|
1479
|
+
statements: z.ZodArray<z.ZodObject<{
|
|
1480
|
+
id: z.ZodString;
|
|
1481
|
+
value: z.ZodString;
|
|
1482
|
+
label: z.ZodString;
|
|
1483
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1484
|
+
}, z.core.$strip>>;
|
|
1485
|
+
scale: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1486
|
+
kind: z.ZodLiteral<"likert">;
|
|
1487
|
+
minLabel: z.ZodOptional<z.ZodString>;
|
|
1488
|
+
maxLabel: z.ZodOptional<z.ZodString>;
|
|
1489
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1490
|
+
kind: z.ZodLiteral<"numerical">;
|
|
1491
|
+
pointCount: z.ZodUnion<readonly [z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>]>;
|
|
1492
|
+
minLabel: z.ZodOptional<z.ZodString>;
|
|
1493
|
+
maxLabel: z.ZodOptional<z.ZodString>;
|
|
1494
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1495
|
+
kind: z.ZodLiteral<"custom">;
|
|
1496
|
+
scalePoints: z.ZodArray<z.ZodObject<{
|
|
1497
|
+
id: z.ZodString;
|
|
1498
|
+
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
1499
|
+
label: z.ZodString;
|
|
1500
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1501
|
+
}, z.core.$strip>>;
|
|
1502
|
+
}, z.core.$strip>], "kind">;
|
|
741
1503
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
742
1504
|
star: "star";
|
|
743
|
-
heart: "heart";
|
|
744
|
-
"thumbs-up": "thumbs-up";
|
|
745
|
-
diamond: "diamond";
|
|
746
1505
|
emoji: "emoji";
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
numberOfRatings: z.ZodNumber;
|
|
750
|
-
representationSize: z.ZodOptional<z.ZodEnum<{
|
|
751
|
-
small: "small";
|
|
752
|
-
medium: "medium";
|
|
753
|
-
large: "large";
|
|
1506
|
+
radio: "radio";
|
|
1507
|
+
button: "button";
|
|
754
1508
|
}>>;
|
|
755
|
-
|
|
1509
|
+
randomizeStatements: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
756
1510
|
}, z.core.$strip>, z.ZodObject<{
|
|
757
1511
|
id: z.ZodString;
|
|
758
1512
|
title: z.ZodString;
|
|
759
1513
|
description: z.ZodOptional<z.ZodString>;
|
|
1514
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
760
1515
|
describe: z.ZodOptional<z.ZodString>;
|
|
761
1516
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
762
1517
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -799,13 +1554,90 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
799
1554
|
A: "A";
|
|
800
1555
|
S: "S";
|
|
801
1556
|
}>;
|
|
802
|
-
type: z.ZodLiteral<"
|
|
803
|
-
|
|
804
|
-
|
|
1557
|
+
type: z.ZodLiteral<"matrix_single_choice">;
|
|
1558
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
1559
|
+
id: z.ZodString;
|
|
1560
|
+
value: z.ZodString;
|
|
1561
|
+
label: z.ZodString;
|
|
1562
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1563
|
+
}, z.core.$strip>>;
|
|
1564
|
+
columns: z.ZodArray<z.ZodObject<{
|
|
1565
|
+
id: z.ZodString;
|
|
1566
|
+
value: z.ZodString;
|
|
1567
|
+
label: z.ZodString;
|
|
1568
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1569
|
+
}, z.core.$strip>>;
|
|
1570
|
+
randomizeRows: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1571
|
+
randomizeColumns: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1572
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1573
|
+
id: z.ZodString;
|
|
1574
|
+
title: z.ZodString;
|
|
1575
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1576
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1577
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1578
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
1579
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1580
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1581
|
+
type: z.ZodEnum<{
|
|
1582
|
+
required: "required";
|
|
1583
|
+
min: "min";
|
|
1584
|
+
max: "max";
|
|
1585
|
+
minLength: "minLength";
|
|
1586
|
+
maxLength: "maxLength";
|
|
1587
|
+
pattern: "pattern";
|
|
1588
|
+
email: "email";
|
|
1589
|
+
url: "url";
|
|
1590
|
+
custom: "custom";
|
|
1591
|
+
}>;
|
|
1592
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1593
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1594
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1595
|
+
}, z.core.$strip>>>>;
|
|
1596
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1597
|
+
field: z.ZodString;
|
|
1598
|
+
operator: z.ZodEnum<{
|
|
1599
|
+
equals: "equals";
|
|
1600
|
+
not_equals: "not_equals";
|
|
1601
|
+
contains: "contains";
|
|
1602
|
+
not_contains: "not_contains";
|
|
1603
|
+
greater_than: "greater_than";
|
|
1604
|
+
less_than: "less_than";
|
|
1605
|
+
is_empty: "is_empty";
|
|
1606
|
+
is_not_empty: "is_not_empty";
|
|
1607
|
+
}>;
|
|
1608
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1609
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1610
|
+
}, z.core.$strip>>>>;
|
|
1611
|
+
isFixed: z.ZodBoolean;
|
|
1612
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
1613
|
+
status: z.ZodEnum<{
|
|
1614
|
+
D: "D";
|
|
1615
|
+
P: "P";
|
|
1616
|
+
A: "A";
|
|
1617
|
+
S: "S";
|
|
1618
|
+
}>;
|
|
1619
|
+
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
1620
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
1621
|
+
id: z.ZodString;
|
|
1622
|
+
value: z.ZodString;
|
|
1623
|
+
label: z.ZodString;
|
|
1624
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1625
|
+
}, z.core.$strip>>;
|
|
1626
|
+
columns: z.ZodArray<z.ZodObject<{
|
|
1627
|
+
id: z.ZodString;
|
|
1628
|
+
value: z.ZodString;
|
|
1629
|
+
label: z.ZodString;
|
|
1630
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1631
|
+
}, z.core.$strip>>;
|
|
1632
|
+
minSelectionsPerRow: z.ZodOptional<z.ZodNumber>;
|
|
1633
|
+
maxSelectionsPerRow: z.ZodOptional<z.ZodNumber>;
|
|
1634
|
+
randomizeRows: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1635
|
+
randomizeColumns: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
805
1636
|
}, z.core.$strip>, z.ZodObject<{
|
|
806
1637
|
id: z.ZodString;
|
|
807
1638
|
title: z.ZodString;
|
|
808
1639
|
description: z.ZodOptional<z.ZodString>;
|
|
1640
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
809
1641
|
describe: z.ZodOptional<z.ZodString>;
|
|
810
1642
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
811
1643
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -873,6 +1705,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
873
1705
|
id: z.ZodString;
|
|
874
1706
|
title: z.ZodString;
|
|
875
1707
|
description: z.ZodOptional<z.ZodString>;
|
|
1708
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
876
1709
|
describe: z.ZodOptional<z.ZodString>;
|
|
877
1710
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
878
1711
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -941,6 +1774,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
941
1774
|
id: z.ZodString;
|
|
942
1775
|
title: z.ZodString;
|
|
943
1776
|
description: z.ZodOptional<z.ZodString>;
|
|
1777
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
944
1778
|
describe: z.ZodOptional<z.ZodString>;
|
|
945
1779
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
946
1780
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -994,6 +1828,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
994
1828
|
id: z.ZodString;
|
|
995
1829
|
title: z.ZodString;
|
|
996
1830
|
description: z.ZodOptional<z.ZodString>;
|
|
1831
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
997
1832
|
describe: z.ZodOptional<z.ZodString>;
|
|
998
1833
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
999
1834
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -1044,14 +1879,13 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1044
1879
|
regexPattern: z.ZodOptional<z.ZodString>;
|
|
1045
1880
|
enableEnhanceWithAi: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1046
1881
|
promptTemplate: z.ZodOptional<z.ZodString>;
|
|
1047
|
-
cooldownSeconds: z.ZodOptional<z.ZodNumber>;
|
|
1048
|
-
maxEnhancements: z.ZodOptional<z.ZodNumber>;
|
|
1049
1882
|
maxTokenAllowed: z.ZodOptional<z.ZodNumber>;
|
|
1050
1883
|
minCharactersToEnhance: z.ZodOptional<z.ZodNumber>;
|
|
1051
1884
|
}, z.core.$strip>, z.ZodObject<{
|
|
1052
1885
|
id: z.ZodString;
|
|
1053
1886
|
title: z.ZodString;
|
|
1054
1887
|
description: z.ZodOptional<z.ZodString>;
|
|
1888
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1055
1889
|
describe: z.ZodOptional<z.ZodString>;
|
|
1056
1890
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1057
1891
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -1101,14 +1935,13 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1101
1935
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1102
1936
|
enableEnhanceWithAi: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1103
1937
|
promptTemplate: z.ZodOptional<z.ZodString>;
|
|
1104
|
-
cooldownSeconds: z.ZodOptional<z.ZodNumber>;
|
|
1105
|
-
maxEnhancements: z.ZodOptional<z.ZodNumber>;
|
|
1106
1938
|
maxTokenAllowed: z.ZodOptional<z.ZodNumber>;
|
|
1107
1939
|
minCharactersToEnhance: z.ZodOptional<z.ZodNumber>;
|
|
1108
1940
|
}, z.core.$strip>, z.ZodObject<{
|
|
1109
1941
|
id: z.ZodString;
|
|
1110
1942
|
title: z.ZodString;
|
|
1111
1943
|
description: z.ZodOptional<z.ZodString>;
|
|
1944
|
+
descriptionMarkdown: z.ZodOptional<z.ZodString>;
|
|
1112
1945
|
describe: z.ZodOptional<z.ZodString>;
|
|
1113
1946
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1114
1947
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -1309,6 +2142,13 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1309
2142
|
dark: "dark";
|
|
1310
2143
|
system: "system";
|
|
1311
2144
|
}>>;
|
|
2145
|
+
allowMultipleQuestionsPerSection: z.ZodBoolean;
|
|
2146
|
+
rtl: z.ZodBoolean;
|
|
2147
|
+
previousButton: z.ZodEnum<{
|
|
2148
|
+
never: "never";
|
|
2149
|
+
always: "always";
|
|
2150
|
+
auto: "auto";
|
|
2151
|
+
}>;
|
|
1312
2152
|
}, z.core.$strip>;
|
|
1313
2153
|
selectedPosition: z.ZodEnum<{
|
|
1314
2154
|
"top-left": "top-left";
|
|
@@ -1429,6 +2269,13 @@ export declare const fetchConfigurationListResponseSchema: z.ZodObject<{
|
|
|
1429
2269
|
customPosition: z.ZodBoolean;
|
|
1430
2270
|
customIconPosition: z.ZodBoolean;
|
|
1431
2271
|
customCss: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2272
|
+
allowMultipleQuestionsPerSection: z.ZodBoolean;
|
|
2273
|
+
rtl: z.ZodBoolean;
|
|
2274
|
+
previousButton: z.ZodEnum<{
|
|
2275
|
+
never: "never";
|
|
2276
|
+
always: "always";
|
|
2277
|
+
auto: "auto";
|
|
2278
|
+
}>;
|
|
1432
2279
|
}, z.core.$strip>;
|
|
1433
2280
|
selectedIconPosition: z.ZodString;
|
|
1434
2281
|
selectedPosition: z.ZodString;
|