@encatch/schema 1.0.1-beta.3 → 1.1.0-beta.11
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 +99 -50
- package/dist/esm/index.js.map +3 -3
- package/dist/types/index.d.ts +4 -4
- package/dist/types/schemas/api/fetch-feedback-schema.d.ts +250 -33
- package/dist/types/schemas/api/submit-feedback-schema.d.ts +24 -0
- package/dist/types/schemas/fields/answer-schema.d.ts +2 -0
- package/dist/types/schemas/fields/app-props-schema.d.ts +139 -28
- package/dist/types/schemas/fields/field-schema.d.ts +219 -10
- package/dist/types/schemas/fields/form-properties-schema.d.ts +149 -47
- package/dist/types/schemas/fields/other-screen-schema.d.ts +0 -5
- package/dist/types/schemas/fields/theme-schema.d.ts +20 -18
- package/dist/types/schemas/fields/translations-schema.d.ts +121 -16
- package/package.json +1 -1
|
@@ -86,11 +86,11 @@ 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
|
+
enableShareableKeyboardNavigation: z.ZodDefault<z.ZodBoolean>;
|
|
89
90
|
rtl: z.ZodBoolean;
|
|
90
91
|
previousButton: z.ZodEnum<{
|
|
91
92
|
never: "never";
|
|
92
93
|
always: "always";
|
|
93
|
-
auto: "auto";
|
|
94
94
|
}>;
|
|
95
95
|
}, z.core.$strip>;
|
|
96
96
|
selectedIconPosition: z.ZodString;
|
|
@@ -170,9 +170,18 @@ export declare const formConfigurationResponseSchema: z.ZodObject<{
|
|
|
170
170
|
formTitle: z.ZodString;
|
|
171
171
|
formDescription: z.ZodString;
|
|
172
172
|
}, z.core.$strip>;
|
|
173
|
+
export declare const logicJumpRuleSchema: z.ZodObject<{
|
|
174
|
+
jsonLogic: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
175
|
+
targetQuestionId: z.ZodString;
|
|
176
|
+
}, z.core.$strip>;
|
|
177
|
+
export declare const logicJumpRulesSchema: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
178
|
+
jsonLogic: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
179
|
+
targetQuestionId: z.ZodString;
|
|
180
|
+
}, z.core.$strip>>>;
|
|
173
181
|
export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
174
182
|
questions: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
175
183
|
id: z.ZodString;
|
|
184
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
176
185
|
title: z.ZodString;
|
|
177
186
|
description: z.ZodOptional<z.ZodString>;
|
|
178
187
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -220,7 +229,9 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
220
229
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
221
230
|
left: "left";
|
|
222
231
|
center: "center";
|
|
232
|
+
justify: "justify";
|
|
223
233
|
}>>>;
|
|
234
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
224
235
|
type: z.ZodLiteral<"rating">;
|
|
225
236
|
showLabels: z.ZodOptional<z.ZodBoolean>;
|
|
226
237
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -242,6 +253,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
242
253
|
color: z.ZodOptional<z.ZodString>;
|
|
243
254
|
}, z.core.$strip>, z.ZodObject<{
|
|
244
255
|
id: z.ZodString;
|
|
256
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
245
257
|
title: z.ZodString;
|
|
246
258
|
description: z.ZodOptional<z.ZodString>;
|
|
247
259
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -289,12 +301,15 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
289
301
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
290
302
|
left: "left";
|
|
291
303
|
center: "center";
|
|
304
|
+
justify: "justify";
|
|
292
305
|
}>>>;
|
|
306
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
293
307
|
type: z.ZodLiteral<"annotation">;
|
|
294
308
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
295
309
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
296
310
|
}, z.core.$strip>, z.ZodObject<{
|
|
297
311
|
id: z.ZodString;
|
|
312
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
298
313
|
describe: z.ZodOptional<z.ZodString>;
|
|
299
314
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
300
315
|
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -340,14 +355,16 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
340
355
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
341
356
|
left: "left";
|
|
342
357
|
center: "center";
|
|
358
|
+
justify: "justify";
|
|
343
359
|
}>>>;
|
|
360
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
344
361
|
type: z.ZodLiteral<"welcome">;
|
|
345
362
|
title: z.ZodString;
|
|
346
363
|
description: z.ZodOptional<z.ZodString>;
|
|
347
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
348
364
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
349
365
|
}, z.core.$strip>, z.ZodObject<{
|
|
350
366
|
id: z.ZodString;
|
|
367
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
351
368
|
describe: z.ZodOptional<z.ZodString>;
|
|
352
369
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
353
370
|
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -393,14 +410,16 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
393
410
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
394
411
|
left: "left";
|
|
395
412
|
center: "center";
|
|
413
|
+
justify: "justify";
|
|
396
414
|
}>>>;
|
|
415
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
397
416
|
type: z.ZodLiteral<"thank_you">;
|
|
398
417
|
title: z.ZodString;
|
|
399
418
|
description: z.ZodOptional<z.ZodString>;
|
|
400
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
401
419
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
402
420
|
}, z.core.$strip>, z.ZodObject<{
|
|
403
421
|
id: z.ZodString;
|
|
422
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
404
423
|
describe: z.ZodOptional<z.ZodString>;
|
|
405
424
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
406
425
|
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -446,14 +465,16 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
446
465
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
447
466
|
left: "left";
|
|
448
467
|
center: "center";
|
|
468
|
+
justify: "justify";
|
|
449
469
|
}>>>;
|
|
470
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
450
471
|
type: z.ZodLiteral<"message_panel">;
|
|
451
472
|
title: z.ZodString;
|
|
452
473
|
description: z.ZodOptional<z.ZodString>;
|
|
453
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
454
474
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
455
475
|
}, z.core.$strip>, z.ZodObject<{
|
|
456
476
|
id: z.ZodString;
|
|
477
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
457
478
|
title: z.ZodString;
|
|
458
479
|
description: z.ZodOptional<z.ZodString>;
|
|
459
480
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -501,10 +522,13 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
501
522
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
502
523
|
left: "left";
|
|
503
524
|
center: "center";
|
|
525
|
+
justify: "justify";
|
|
504
526
|
}>>>;
|
|
527
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
505
528
|
type: z.ZodLiteral<"exit_form">;
|
|
506
529
|
}, z.core.$strip>, z.ZodObject<{
|
|
507
530
|
id: z.ZodString;
|
|
531
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
508
532
|
title: z.ZodString;
|
|
509
533
|
description: z.ZodOptional<z.ZodString>;
|
|
510
534
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -552,7 +576,9 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
552
576
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
553
577
|
left: "left";
|
|
554
578
|
center: "center";
|
|
579
|
+
justify: "justify";
|
|
555
580
|
}>>>;
|
|
581
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
556
582
|
type: z.ZodLiteral<"yes_no">;
|
|
557
583
|
yesLabel: z.ZodOptional<z.ZodString>;
|
|
558
584
|
noLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -562,6 +588,61 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
562
588
|
}>>;
|
|
563
589
|
}, z.core.$strip>, z.ZodObject<{
|
|
564
590
|
id: z.ZodString;
|
|
591
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
592
|
+
title: z.ZodString;
|
|
593
|
+
description: z.ZodOptional<z.ZodString>;
|
|
594
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
595
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
596
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
597
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
598
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
599
|
+
type: z.ZodEnum<{
|
|
600
|
+
custom: "custom";
|
|
601
|
+
pattern: "pattern";
|
|
602
|
+
required: "required";
|
|
603
|
+
min: "min";
|
|
604
|
+
max: "max";
|
|
605
|
+
minLength: "minLength";
|
|
606
|
+
maxLength: "maxLength";
|
|
607
|
+
email: "email";
|
|
608
|
+
url: "url";
|
|
609
|
+
}>;
|
|
610
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
611
|
+
message: z.ZodOptional<z.ZodString>;
|
|
612
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
613
|
+
}, z.core.$strip>>>>;
|
|
614
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
615
|
+
field: z.ZodString;
|
|
616
|
+
operator: z.ZodEnum<{
|
|
617
|
+
equals: "equals";
|
|
618
|
+
not_equals: "not_equals";
|
|
619
|
+
contains: "contains";
|
|
620
|
+
not_contains: "not_contains";
|
|
621
|
+
greater_than: "greater_than";
|
|
622
|
+
less_than: "less_than";
|
|
623
|
+
is_empty: "is_empty";
|
|
624
|
+
is_not_empty: "is_not_empty";
|
|
625
|
+
}>;
|
|
626
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
627
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
628
|
+
}, z.core.$strip>>>>;
|
|
629
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
630
|
+
status: z.ZodEnum<{
|
|
631
|
+
D: "D";
|
|
632
|
+
P: "P";
|
|
633
|
+
A: "A";
|
|
634
|
+
S: "S";
|
|
635
|
+
}>;
|
|
636
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
637
|
+
left: "left";
|
|
638
|
+
center: "center";
|
|
639
|
+
justify: "justify";
|
|
640
|
+
}>>>;
|
|
641
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
642
|
+
type: z.ZodLiteral<"consent">;
|
|
643
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
644
|
+
id: z.ZodString;
|
|
645
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
565
646
|
title: z.ZodString;
|
|
566
647
|
description: z.ZodOptional<z.ZodString>;
|
|
567
648
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -609,7 +690,9 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
609
690
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
610
691
|
left: "left";
|
|
611
692
|
center: "center";
|
|
693
|
+
justify: "justify";
|
|
612
694
|
}>>>;
|
|
695
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
613
696
|
type: z.ZodLiteral<"rating_matrix">;
|
|
614
697
|
statements: z.ZodArray<z.ZodObject<{
|
|
615
698
|
id: z.ZodString;
|
|
@@ -652,6 +735,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
652
735
|
randomizeStatements: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
653
736
|
}, z.core.$strip>, z.ZodObject<{
|
|
654
737
|
id: z.ZodString;
|
|
738
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
655
739
|
title: z.ZodString;
|
|
656
740
|
description: z.ZodOptional<z.ZodString>;
|
|
657
741
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -699,7 +783,9 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
699
783
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
700
784
|
left: "left";
|
|
701
785
|
center: "center";
|
|
786
|
+
justify: "justify";
|
|
702
787
|
}>>>;
|
|
788
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
703
789
|
type: z.ZodLiteral<"matrix_single_choice">;
|
|
704
790
|
rows: z.ZodArray<z.ZodObject<{
|
|
705
791
|
id: z.ZodString;
|
|
@@ -717,6 +803,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
717
803
|
randomizeColumns: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
718
804
|
}, z.core.$strip>, z.ZodObject<{
|
|
719
805
|
id: z.ZodString;
|
|
806
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
720
807
|
title: z.ZodString;
|
|
721
808
|
description: z.ZodOptional<z.ZodString>;
|
|
722
809
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -764,7 +851,9 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
764
851
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
765
852
|
left: "left";
|
|
766
853
|
center: "center";
|
|
854
|
+
justify: "justify";
|
|
767
855
|
}>>>;
|
|
856
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
768
857
|
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
769
858
|
rows: z.ZodArray<z.ZodObject<{
|
|
770
859
|
id: z.ZodString;
|
|
@@ -784,6 +873,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
784
873
|
randomizeColumns: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
785
874
|
}, z.core.$strip>, z.ZodObject<{
|
|
786
875
|
id: z.ZodString;
|
|
876
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
787
877
|
title: z.ZodString;
|
|
788
878
|
description: z.ZodOptional<z.ZodString>;
|
|
789
879
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -831,7 +921,9 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
831
921
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
832
922
|
left: "left";
|
|
833
923
|
center: "center";
|
|
924
|
+
justify: "justify";
|
|
834
925
|
}>>>;
|
|
926
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
835
927
|
type: z.ZodLiteral<"single_choice">;
|
|
836
928
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
837
929
|
radio: "radio";
|
|
@@ -855,6 +947,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
855
947
|
}, z.core.$strip>>;
|
|
856
948
|
}, z.core.$strip>, z.ZodObject<{
|
|
857
949
|
id: z.ZodString;
|
|
950
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
858
951
|
title: z.ZodString;
|
|
859
952
|
description: z.ZodOptional<z.ZodString>;
|
|
860
953
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -902,7 +995,9 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
902
995
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
903
996
|
left: "left";
|
|
904
997
|
center: "center";
|
|
998
|
+
justify: "justify";
|
|
905
999
|
}>>>;
|
|
1000
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
906
1001
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
907
1002
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
908
1003
|
list: "list";
|
|
@@ -927,6 +1022,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
927
1022
|
}, z.core.$strip>>;
|
|
928
1023
|
}, z.core.$strip>, z.ZodObject<{
|
|
929
1024
|
id: z.ZodString;
|
|
1025
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
930
1026
|
title: z.ZodString;
|
|
931
1027
|
description: z.ZodOptional<z.ZodString>;
|
|
932
1028
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -974,7 +1070,9 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
974
1070
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
975
1071
|
left: "left";
|
|
976
1072
|
center: "center";
|
|
1073
|
+
justify: "justify";
|
|
977
1074
|
}>>>;
|
|
1075
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
978
1076
|
type: z.ZodLiteral<"nps">;
|
|
979
1077
|
min: z.ZodLiteral<0>;
|
|
980
1078
|
max: z.ZodLiteral<10>;
|
|
@@ -984,6 +1082,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
984
1082
|
prepopulatedValue: z.ZodOptional<z.ZodNumber>;
|
|
985
1083
|
}, z.core.$strip>, z.ZodObject<{
|
|
986
1084
|
id: z.ZodString;
|
|
1085
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
987
1086
|
title: z.ZodString;
|
|
988
1087
|
description: z.ZodOptional<z.ZodString>;
|
|
989
1088
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -1031,7 +1130,9 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
1031
1130
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1032
1131
|
left: "left";
|
|
1033
1132
|
center: "center";
|
|
1133
|
+
justify: "justify";
|
|
1034
1134
|
}>>>;
|
|
1135
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1035
1136
|
type: z.ZodLiteral<"short_answer">;
|
|
1036
1137
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1037
1138
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1044,6 +1145,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
1044
1145
|
minCharactersToEnhance: z.ZodOptional<z.ZodNumber>;
|
|
1045
1146
|
}, z.core.$strip>, z.ZodObject<{
|
|
1046
1147
|
id: z.ZodString;
|
|
1148
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1047
1149
|
title: z.ZodString;
|
|
1048
1150
|
description: z.ZodOptional<z.ZodString>;
|
|
1049
1151
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -1091,7 +1193,9 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
1091
1193
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1092
1194
|
left: "left";
|
|
1093
1195
|
center: "center";
|
|
1196
|
+
justify: "justify";
|
|
1094
1197
|
}>>>;
|
|
1198
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1095
1199
|
type: z.ZodLiteral<"long_text">;
|
|
1096
1200
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1097
1201
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1103,6 +1207,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
1103
1207
|
minCharactersToEnhance: z.ZodOptional<z.ZodNumber>;
|
|
1104
1208
|
}, z.core.$strip>, z.ZodObject<{
|
|
1105
1209
|
id: z.ZodString;
|
|
1210
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1106
1211
|
title: z.ZodString;
|
|
1107
1212
|
description: z.ZodOptional<z.ZodString>;
|
|
1108
1213
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -1150,7 +1255,9 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
1150
1255
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1151
1256
|
left: "left";
|
|
1152
1257
|
center: "center";
|
|
1258
|
+
justify: "justify";
|
|
1153
1259
|
}>>>;
|
|
1260
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1154
1261
|
type: z.ZodLiteral<"nested_selection">;
|
|
1155
1262
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1156
1263
|
options: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
@@ -1172,14 +1279,17 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
1172
1279
|
sections: z.ZodArray<z.ZodObject<{
|
|
1173
1280
|
id: z.ZodString;
|
|
1174
1281
|
title: z.ZodString;
|
|
1175
|
-
titleTranslations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1176
1282
|
description: z.ZodOptional<z.ZodString>;
|
|
1177
|
-
descriptionTranslations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1178
1283
|
showTitle: z.ZodDefault<z.ZodBoolean>;
|
|
1179
1284
|
showDescription: z.ZodDefault<z.ZodBoolean>;
|
|
1180
1285
|
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1181
|
-
|
|
1286
|
+
translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1287
|
+
title: z.ZodString;
|
|
1288
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1289
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1290
|
+
}, z.core.$strip>>>;
|
|
1182
1291
|
inAppSingleQuestion: z.ZodDefault<z.ZodBoolean>;
|
|
1292
|
+
isPreviousAllowed: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1183
1293
|
questionIds: z.ZodArray<z.ZodString>;
|
|
1184
1294
|
}, z.core.$strip>>;
|
|
1185
1295
|
translations: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
@@ -1187,6 +1297,12 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
1187
1297
|
value: z.ZodString;
|
|
1188
1298
|
label: z.ZodString;
|
|
1189
1299
|
}, z.core.$strip>>;
|
|
1300
|
+
isLogicJumpsEnabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1301
|
+
logicJumpRules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
1302
|
+
jsonLogic: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1303
|
+
targetQuestionId: z.ZodString;
|
|
1304
|
+
}, z.core.$strip>>>>;
|
|
1305
|
+
contextVariables: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1190
1306
|
}, z.core.$strip>;
|
|
1191
1307
|
export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
1192
1308
|
feedbackConfigurationId: z.ZodString;
|
|
@@ -1198,6 +1314,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1198
1314
|
questionnaireFields: z.ZodObject<{
|
|
1199
1315
|
questions: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1200
1316
|
id: z.ZodString;
|
|
1317
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1201
1318
|
title: z.ZodString;
|
|
1202
1319
|
description: z.ZodOptional<z.ZodString>;
|
|
1203
1320
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -1245,7 +1362,9 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1245
1362
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1246
1363
|
left: "left";
|
|
1247
1364
|
center: "center";
|
|
1365
|
+
justify: "justify";
|
|
1248
1366
|
}>>>;
|
|
1367
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1249
1368
|
type: z.ZodLiteral<"rating">;
|
|
1250
1369
|
showLabels: z.ZodOptional<z.ZodBoolean>;
|
|
1251
1370
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1267,6 +1386,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1267
1386
|
color: z.ZodOptional<z.ZodString>;
|
|
1268
1387
|
}, z.core.$strip>, z.ZodObject<{
|
|
1269
1388
|
id: z.ZodString;
|
|
1389
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1270
1390
|
title: z.ZodString;
|
|
1271
1391
|
description: z.ZodOptional<z.ZodString>;
|
|
1272
1392
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -1314,12 +1434,15 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1314
1434
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1315
1435
|
left: "left";
|
|
1316
1436
|
center: "center";
|
|
1437
|
+
justify: "justify";
|
|
1317
1438
|
}>>>;
|
|
1439
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1318
1440
|
type: z.ZodLiteral<"annotation">;
|
|
1319
1441
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
1320
1442
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
1321
1443
|
}, z.core.$strip>, z.ZodObject<{
|
|
1322
1444
|
id: z.ZodString;
|
|
1445
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1323
1446
|
describe: z.ZodOptional<z.ZodString>;
|
|
1324
1447
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1325
1448
|
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -1365,14 +1488,16 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1365
1488
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1366
1489
|
left: "left";
|
|
1367
1490
|
center: "center";
|
|
1491
|
+
justify: "justify";
|
|
1368
1492
|
}>>>;
|
|
1493
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1369
1494
|
type: z.ZodLiteral<"welcome">;
|
|
1370
1495
|
title: z.ZodString;
|
|
1371
1496
|
description: z.ZodOptional<z.ZodString>;
|
|
1372
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1373
1497
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
1374
1498
|
}, z.core.$strip>, z.ZodObject<{
|
|
1375
1499
|
id: z.ZodString;
|
|
1500
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1376
1501
|
describe: z.ZodOptional<z.ZodString>;
|
|
1377
1502
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1378
1503
|
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -1418,14 +1543,16 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1418
1543
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1419
1544
|
left: "left";
|
|
1420
1545
|
center: "center";
|
|
1546
|
+
justify: "justify";
|
|
1421
1547
|
}>>>;
|
|
1548
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1422
1549
|
type: z.ZodLiteral<"thank_you">;
|
|
1423
1550
|
title: z.ZodString;
|
|
1424
1551
|
description: z.ZodOptional<z.ZodString>;
|
|
1425
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1426
1552
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
1427
1553
|
}, z.core.$strip>, z.ZodObject<{
|
|
1428
1554
|
id: z.ZodString;
|
|
1555
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1429
1556
|
describe: z.ZodOptional<z.ZodString>;
|
|
1430
1557
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1431
1558
|
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -1471,14 +1598,16 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1471
1598
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1472
1599
|
left: "left";
|
|
1473
1600
|
center: "center";
|
|
1601
|
+
justify: "justify";
|
|
1474
1602
|
}>>>;
|
|
1603
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1475
1604
|
type: z.ZodLiteral<"message_panel">;
|
|
1476
1605
|
title: z.ZodString;
|
|
1477
1606
|
description: z.ZodOptional<z.ZodString>;
|
|
1478
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
1479
1607
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
1480
1608
|
}, z.core.$strip>, z.ZodObject<{
|
|
1481
1609
|
id: z.ZodString;
|
|
1610
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1482
1611
|
title: z.ZodString;
|
|
1483
1612
|
description: z.ZodOptional<z.ZodString>;
|
|
1484
1613
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -1526,10 +1655,13 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1526
1655
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1527
1656
|
left: "left";
|
|
1528
1657
|
center: "center";
|
|
1658
|
+
justify: "justify";
|
|
1529
1659
|
}>>>;
|
|
1660
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1530
1661
|
type: z.ZodLiteral<"exit_form">;
|
|
1531
1662
|
}, z.core.$strip>, z.ZodObject<{
|
|
1532
1663
|
id: z.ZodString;
|
|
1664
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1533
1665
|
title: z.ZodString;
|
|
1534
1666
|
description: z.ZodOptional<z.ZodString>;
|
|
1535
1667
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -1577,7 +1709,9 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1577
1709
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1578
1710
|
left: "left";
|
|
1579
1711
|
center: "center";
|
|
1712
|
+
justify: "justify";
|
|
1580
1713
|
}>>>;
|
|
1714
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1581
1715
|
type: z.ZodLiteral<"yes_no">;
|
|
1582
1716
|
yesLabel: z.ZodOptional<z.ZodString>;
|
|
1583
1717
|
noLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -1587,6 +1721,61 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1587
1721
|
}>>;
|
|
1588
1722
|
}, z.core.$strip>, z.ZodObject<{
|
|
1589
1723
|
id: z.ZodString;
|
|
1724
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1725
|
+
title: z.ZodString;
|
|
1726
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1727
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1728
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
1729
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1730
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1731
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1732
|
+
type: z.ZodEnum<{
|
|
1733
|
+
custom: "custom";
|
|
1734
|
+
pattern: "pattern";
|
|
1735
|
+
required: "required";
|
|
1736
|
+
min: "min";
|
|
1737
|
+
max: "max";
|
|
1738
|
+
minLength: "minLength";
|
|
1739
|
+
maxLength: "maxLength";
|
|
1740
|
+
email: "email";
|
|
1741
|
+
url: "url";
|
|
1742
|
+
}>;
|
|
1743
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1744
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1745
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1746
|
+
}, z.core.$strip>>>>;
|
|
1747
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1748
|
+
field: z.ZodString;
|
|
1749
|
+
operator: z.ZodEnum<{
|
|
1750
|
+
equals: "equals";
|
|
1751
|
+
not_equals: "not_equals";
|
|
1752
|
+
contains: "contains";
|
|
1753
|
+
not_contains: "not_contains";
|
|
1754
|
+
greater_than: "greater_than";
|
|
1755
|
+
less_than: "less_than";
|
|
1756
|
+
is_empty: "is_empty";
|
|
1757
|
+
is_not_empty: "is_not_empty";
|
|
1758
|
+
}>;
|
|
1759
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1760
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1761
|
+
}, z.core.$strip>>>>;
|
|
1762
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
1763
|
+
status: z.ZodEnum<{
|
|
1764
|
+
D: "D";
|
|
1765
|
+
P: "P";
|
|
1766
|
+
A: "A";
|
|
1767
|
+
S: "S";
|
|
1768
|
+
}>;
|
|
1769
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1770
|
+
left: "left";
|
|
1771
|
+
center: "center";
|
|
1772
|
+
justify: "justify";
|
|
1773
|
+
}>>>;
|
|
1774
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1775
|
+
type: z.ZodLiteral<"consent">;
|
|
1776
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1777
|
+
id: z.ZodString;
|
|
1778
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1590
1779
|
title: z.ZodString;
|
|
1591
1780
|
description: z.ZodOptional<z.ZodString>;
|
|
1592
1781
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -1634,7 +1823,9 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1634
1823
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1635
1824
|
left: "left";
|
|
1636
1825
|
center: "center";
|
|
1826
|
+
justify: "justify";
|
|
1637
1827
|
}>>>;
|
|
1828
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1638
1829
|
type: z.ZodLiteral<"rating_matrix">;
|
|
1639
1830
|
statements: z.ZodArray<z.ZodObject<{
|
|
1640
1831
|
id: z.ZodString;
|
|
@@ -1677,6 +1868,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1677
1868
|
randomizeStatements: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1678
1869
|
}, z.core.$strip>, z.ZodObject<{
|
|
1679
1870
|
id: z.ZodString;
|
|
1871
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1680
1872
|
title: z.ZodString;
|
|
1681
1873
|
description: z.ZodOptional<z.ZodString>;
|
|
1682
1874
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -1724,7 +1916,9 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1724
1916
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1725
1917
|
left: "left";
|
|
1726
1918
|
center: "center";
|
|
1919
|
+
justify: "justify";
|
|
1727
1920
|
}>>>;
|
|
1921
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1728
1922
|
type: z.ZodLiteral<"matrix_single_choice">;
|
|
1729
1923
|
rows: z.ZodArray<z.ZodObject<{
|
|
1730
1924
|
id: z.ZodString;
|
|
@@ -1742,6 +1936,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1742
1936
|
randomizeColumns: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1743
1937
|
}, z.core.$strip>, z.ZodObject<{
|
|
1744
1938
|
id: z.ZodString;
|
|
1939
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1745
1940
|
title: z.ZodString;
|
|
1746
1941
|
description: z.ZodOptional<z.ZodString>;
|
|
1747
1942
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -1789,7 +1984,9 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1789
1984
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1790
1985
|
left: "left";
|
|
1791
1986
|
center: "center";
|
|
1987
|
+
justify: "justify";
|
|
1792
1988
|
}>>>;
|
|
1989
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1793
1990
|
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
1794
1991
|
rows: z.ZodArray<z.ZodObject<{
|
|
1795
1992
|
id: z.ZodString;
|
|
@@ -1809,6 +2006,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1809
2006
|
randomizeColumns: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1810
2007
|
}, z.core.$strip>, z.ZodObject<{
|
|
1811
2008
|
id: z.ZodString;
|
|
2009
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1812
2010
|
title: z.ZodString;
|
|
1813
2011
|
description: z.ZodOptional<z.ZodString>;
|
|
1814
2012
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -1856,7 +2054,9 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1856
2054
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1857
2055
|
left: "left";
|
|
1858
2056
|
center: "center";
|
|
2057
|
+
justify: "justify";
|
|
1859
2058
|
}>>>;
|
|
2059
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1860
2060
|
type: z.ZodLiteral<"single_choice">;
|
|
1861
2061
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
1862
2062
|
radio: "radio";
|
|
@@ -1880,6 +2080,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1880
2080
|
}, z.core.$strip>>;
|
|
1881
2081
|
}, z.core.$strip>, z.ZodObject<{
|
|
1882
2082
|
id: z.ZodString;
|
|
2083
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1883
2084
|
title: z.ZodString;
|
|
1884
2085
|
description: z.ZodOptional<z.ZodString>;
|
|
1885
2086
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -1927,7 +2128,9 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1927
2128
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1928
2129
|
left: "left";
|
|
1929
2130
|
center: "center";
|
|
2131
|
+
justify: "justify";
|
|
1930
2132
|
}>>>;
|
|
2133
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1931
2134
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
1932
2135
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
1933
2136
|
list: "list";
|
|
@@ -1952,6 +2155,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1952
2155
|
}, z.core.$strip>>;
|
|
1953
2156
|
}, z.core.$strip>, z.ZodObject<{
|
|
1954
2157
|
id: z.ZodString;
|
|
2158
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1955
2159
|
title: z.ZodString;
|
|
1956
2160
|
description: z.ZodOptional<z.ZodString>;
|
|
1957
2161
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -1999,7 +2203,9 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1999
2203
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2000
2204
|
left: "left";
|
|
2001
2205
|
center: "center";
|
|
2206
|
+
justify: "justify";
|
|
2002
2207
|
}>>>;
|
|
2208
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2003
2209
|
type: z.ZodLiteral<"nps">;
|
|
2004
2210
|
min: z.ZodLiteral<0>;
|
|
2005
2211
|
max: z.ZodLiteral<10>;
|
|
@@ -2009,6 +2215,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
2009
2215
|
prepopulatedValue: z.ZodOptional<z.ZodNumber>;
|
|
2010
2216
|
}, z.core.$strip>, z.ZodObject<{
|
|
2011
2217
|
id: z.ZodString;
|
|
2218
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
2012
2219
|
title: z.ZodString;
|
|
2013
2220
|
description: z.ZodOptional<z.ZodString>;
|
|
2014
2221
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -2056,7 +2263,9 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
2056
2263
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2057
2264
|
left: "left";
|
|
2058
2265
|
center: "center";
|
|
2266
|
+
justify: "justify";
|
|
2059
2267
|
}>>>;
|
|
2268
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2060
2269
|
type: z.ZodLiteral<"short_answer">;
|
|
2061
2270
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
2062
2271
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2069,6 +2278,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
2069
2278
|
minCharactersToEnhance: z.ZodOptional<z.ZodNumber>;
|
|
2070
2279
|
}, z.core.$strip>, z.ZodObject<{
|
|
2071
2280
|
id: z.ZodString;
|
|
2281
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
2072
2282
|
title: z.ZodString;
|
|
2073
2283
|
description: z.ZodOptional<z.ZodString>;
|
|
2074
2284
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -2116,7 +2326,9 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
2116
2326
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2117
2327
|
left: "left";
|
|
2118
2328
|
center: "center";
|
|
2329
|
+
justify: "justify";
|
|
2119
2330
|
}>>>;
|
|
2331
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2120
2332
|
type: z.ZodLiteral<"long_text">;
|
|
2121
2333
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
2122
2334
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2128,6 +2340,7 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
2128
2340
|
minCharactersToEnhance: z.ZodOptional<z.ZodNumber>;
|
|
2129
2341
|
}, z.core.$strip>, z.ZodObject<{
|
|
2130
2342
|
id: z.ZodString;
|
|
2343
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
2131
2344
|
title: z.ZodString;
|
|
2132
2345
|
description: z.ZodOptional<z.ZodString>;
|
|
2133
2346
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -2175,7 +2388,9 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
2175
2388
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2176
2389
|
left: "left";
|
|
2177
2390
|
center: "center";
|
|
2391
|
+
justify: "justify";
|
|
2178
2392
|
}>>>;
|
|
2393
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2179
2394
|
type: z.ZodLiteral<"nested_selection">;
|
|
2180
2395
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
2181
2396
|
options: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
@@ -2197,14 +2412,17 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
2197
2412
|
sections: z.ZodArray<z.ZodObject<{
|
|
2198
2413
|
id: z.ZodString;
|
|
2199
2414
|
title: z.ZodString;
|
|
2200
|
-
titleTranslations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2201
2415
|
description: z.ZodOptional<z.ZodString>;
|
|
2202
|
-
descriptionTranslations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2203
2416
|
showTitle: z.ZodDefault<z.ZodBoolean>;
|
|
2204
2417
|
showDescription: z.ZodDefault<z.ZodBoolean>;
|
|
2205
2418
|
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2206
|
-
|
|
2419
|
+
translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2420
|
+
title: z.ZodString;
|
|
2421
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2422
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
2423
|
+
}, z.core.$strip>>>;
|
|
2207
2424
|
inAppSingleQuestion: z.ZodDefault<z.ZodBoolean>;
|
|
2425
|
+
isPreviousAllowed: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2208
2426
|
questionIds: z.ZodArray<z.ZodString>;
|
|
2209
2427
|
}, z.core.$strip>>;
|
|
2210
2428
|
translations: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
@@ -2212,17 +2430,19 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
2212
2430
|
value: z.ZodString;
|
|
2213
2431
|
label: z.ZodString;
|
|
2214
2432
|
}, z.core.$strip>>;
|
|
2433
|
+
isLogicJumpsEnabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2434
|
+
logicJumpRules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
2435
|
+
jsonLogic: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2436
|
+
targetQuestionId: z.ZodString;
|
|
2437
|
+
}, z.core.$strip>>>>;
|
|
2438
|
+
contextVariables: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2215
2439
|
}, z.core.$strip>;
|
|
2216
2440
|
otherConfigurationProperties: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2217
2441
|
isEnabled: z.ZodLiteral<false>;
|
|
2218
2442
|
otherFields: z.ZodObject<{
|
|
2219
|
-
pagination: z.ZodBoolean;
|
|
2220
2443
|
questionNumber: z.ZodBoolean;
|
|
2221
|
-
pageTitle: z.ZodBoolean;
|
|
2222
|
-
blockerFeedback: z.ZodBoolean;
|
|
2223
2444
|
submitButtonLabel: z.ZodString;
|
|
2224
2445
|
previousButtonLabel: z.ZodString;
|
|
2225
|
-
nextButtonLabel: z.ZodString;
|
|
2226
2446
|
aiEnhancementSuccessMessage: z.ZodString;
|
|
2227
2447
|
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
2228
2448
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
@@ -2230,7 +2450,6 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
2230
2450
|
translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2231
2451
|
submitButtonLabel: z.ZodString;
|
|
2232
2452
|
previousButtonLabel: z.ZodString;
|
|
2233
|
-
nextButtonLabel: z.ZodString;
|
|
2234
2453
|
aiEnhancementSuccessMessage: z.ZodString;
|
|
2235
2454
|
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
2236
2455
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
@@ -2238,13 +2457,9 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
2238
2457
|
}, z.core.$strip>, z.ZodObject<{
|
|
2239
2458
|
isEnabled: z.ZodLiteral<true>;
|
|
2240
2459
|
otherFields: z.ZodObject<{
|
|
2241
|
-
pagination: z.ZodBoolean;
|
|
2242
2460
|
questionNumber: z.ZodBoolean;
|
|
2243
|
-
pageTitle: z.ZodBoolean;
|
|
2244
|
-
blockerFeedback: z.ZodBoolean;
|
|
2245
2461
|
submitButtonLabel: z.ZodString;
|
|
2246
2462
|
previousButtonLabel: z.ZodString;
|
|
2247
|
-
nextButtonLabel: z.ZodString;
|
|
2248
2463
|
aiEnhancementSuccessMessage: z.ZodString;
|
|
2249
2464
|
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
2250
2465
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
@@ -2252,7 +2467,6 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
2252
2467
|
translations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2253
2468
|
submitButtonLabel: z.ZodString;
|
|
2254
2469
|
previousButtonLabel: z.ZodString;
|
|
2255
|
-
nextButtonLabel: z.ZodString;
|
|
2256
2470
|
aiEnhancementSuccessMessage: z.ZodString;
|
|
2257
2471
|
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
2258
2472
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
@@ -2269,23 +2483,24 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
2269
2483
|
}, z.core.$strip>;
|
|
2270
2484
|
}, z.core.$strip>;
|
|
2271
2485
|
featureSettings: z.ZodObject<{
|
|
2272
|
-
darkOverlay: z.ZodBoolean
|
|
2273
|
-
closeButton: z.ZodBoolean
|
|
2274
|
-
progressBar: z.ZodBoolean
|
|
2275
|
-
showBranding: z.ZodBoolean
|
|
2486
|
+
darkOverlay: z.ZodDefault<z.ZodBoolean>;
|
|
2487
|
+
closeButton: z.ZodDefault<z.ZodBoolean>;
|
|
2488
|
+
progressBar: z.ZodDefault<z.ZodBoolean>;
|
|
2489
|
+
showBranding: z.ZodDefault<z.ZodBoolean>;
|
|
2276
2490
|
customPosition: z.ZodBoolean;
|
|
2277
2491
|
customCss: z.ZodOptional<z.ZodString>;
|
|
2278
|
-
shareableMode: z.ZodOptional<z.ZodEnum<{
|
|
2492
|
+
shareableMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2279
2493
|
light: "light";
|
|
2280
2494
|
dark: "dark";
|
|
2281
2495
|
system: "system";
|
|
2282
|
-
}
|
|
2283
|
-
|
|
2284
|
-
|
|
2496
|
+
}>>>;
|
|
2497
|
+
enableShareableKeyboardNavigation: z.ZodDefault<z.ZodBoolean>;
|
|
2498
|
+
rtl: z.ZodDefault<z.ZodBoolean>;
|
|
2499
|
+
previousButton: z.ZodDefault<z.ZodEnum<{
|
|
2285
2500
|
never: "never";
|
|
2286
2501
|
always: "always";
|
|
2287
2502
|
auto: "auto";
|
|
2288
|
-
}
|
|
2503
|
+
}>>;
|
|
2289
2504
|
}, z.core.$strip>;
|
|
2290
2505
|
selectedPosition: z.ZodEnum<{
|
|
2291
2506
|
"top-left": "top-left";
|
|
@@ -2406,11 +2621,11 @@ export declare const fetchConfigurationListResponseSchema: z.ZodObject<{
|
|
|
2406
2621
|
customPosition: z.ZodBoolean;
|
|
2407
2622
|
customIconPosition: z.ZodBoolean;
|
|
2408
2623
|
customCss: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2624
|
+
enableShareableKeyboardNavigation: z.ZodDefault<z.ZodBoolean>;
|
|
2409
2625
|
rtl: z.ZodBoolean;
|
|
2410
2626
|
previousButton: z.ZodEnum<{
|
|
2411
2627
|
never: "never";
|
|
2412
2628
|
always: "always";
|
|
2413
|
-
auto: "auto";
|
|
2414
2629
|
}>;
|
|
2415
2630
|
}, z.core.$strip>;
|
|
2416
2631
|
selectedIconPosition: z.ZodString;
|
|
@@ -2426,3 +2641,5 @@ export type FormConfigurationResponse = z.infer<typeof formConfigurationResponse
|
|
|
2426
2641
|
export type QuestionnaireFieldsResponse = z.infer<typeof questionnaireFieldsResponseSchema>;
|
|
2427
2642
|
export type FetchFeedbackDetailsResponse = z.infer<typeof fetchFeedbackDetailsResponseSchema>;
|
|
2428
2643
|
export type FetchConfigurationListResponse = z.infer<typeof fetchConfigurationListResponseSchema>;
|
|
2644
|
+
export type LogicJumpRule = z.infer<typeof logicJumpRuleSchema>;
|
|
2645
|
+
export type LogicJumpRules = z.infer<typeof logicJumpRulesSchema>;
|