@encatch/schema 1.0.1-beta.3 → 1.1.0-beta.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/index.js +82 -47
- 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 +248 -31
- package/dist/types/schemas/api/submit-feedback-schema.d.ts +6 -0
- package/dist/types/schemas/fields/answer-schema.d.ts +2 -0
- package/dist/types/schemas/fields/app-props-schema.d.ts +138 -28
- package/dist/types/schemas/fields/field-schema.d.ts +218 -10
- package/dist/types/schemas/fields/form-properties-schema.d.ts +148 -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,6 +86,7 @@ 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";
|
|
@@ -170,9 +171,18 @@ export declare const formConfigurationResponseSchema: z.ZodObject<{
|
|
|
170
171
|
formTitle: z.ZodString;
|
|
171
172
|
formDescription: z.ZodString;
|
|
172
173
|
}, z.core.$strip>;
|
|
174
|
+
export declare const logicJumpRuleSchema: z.ZodObject<{
|
|
175
|
+
jsonLogic: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
176
|
+
targetQuestionId: z.ZodString;
|
|
177
|
+
}, z.core.$strip>;
|
|
178
|
+
export declare const logicJumpRulesSchema: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
179
|
+
jsonLogic: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
180
|
+
targetQuestionId: z.ZodString;
|
|
181
|
+
}, z.core.$strip>>>;
|
|
173
182
|
export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
174
183
|
questions: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
175
184
|
id: z.ZodString;
|
|
185
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
176
186
|
title: z.ZodString;
|
|
177
187
|
description: z.ZodOptional<z.ZodString>;
|
|
178
188
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -220,7 +230,9 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
220
230
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
221
231
|
left: "left";
|
|
222
232
|
center: "center";
|
|
233
|
+
justify: "justify";
|
|
223
234
|
}>>>;
|
|
235
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
224
236
|
type: z.ZodLiteral<"rating">;
|
|
225
237
|
showLabels: z.ZodOptional<z.ZodBoolean>;
|
|
226
238
|
minLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -242,6 +254,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
242
254
|
color: z.ZodOptional<z.ZodString>;
|
|
243
255
|
}, z.core.$strip>, z.ZodObject<{
|
|
244
256
|
id: z.ZodString;
|
|
257
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
245
258
|
title: z.ZodString;
|
|
246
259
|
description: z.ZodOptional<z.ZodString>;
|
|
247
260
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -289,12 +302,15 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
289
302
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
290
303
|
left: "left";
|
|
291
304
|
center: "center";
|
|
305
|
+
justify: "justify";
|
|
292
306
|
}>>>;
|
|
307
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
293
308
|
type: z.ZodLiteral<"annotation">;
|
|
294
309
|
annotationText: z.ZodOptional<z.ZodString>;
|
|
295
310
|
noAnnotationText: z.ZodOptional<z.ZodString>;
|
|
296
311
|
}, z.core.$strip>, z.ZodObject<{
|
|
297
312
|
id: z.ZodString;
|
|
313
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
298
314
|
describe: z.ZodOptional<z.ZodString>;
|
|
299
315
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
300
316
|
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -340,14 +356,16 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
340
356
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
341
357
|
left: "left";
|
|
342
358
|
center: "center";
|
|
359
|
+
justify: "justify";
|
|
343
360
|
}>>>;
|
|
361
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
344
362
|
type: z.ZodLiteral<"welcome">;
|
|
345
363
|
title: z.ZodString;
|
|
346
364
|
description: z.ZodOptional<z.ZodString>;
|
|
347
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
348
365
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
349
366
|
}, z.core.$strip>, z.ZodObject<{
|
|
350
367
|
id: z.ZodString;
|
|
368
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
351
369
|
describe: z.ZodOptional<z.ZodString>;
|
|
352
370
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
353
371
|
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -393,14 +411,16 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
393
411
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
394
412
|
left: "left";
|
|
395
413
|
center: "center";
|
|
414
|
+
justify: "justify";
|
|
396
415
|
}>>>;
|
|
416
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
397
417
|
type: z.ZodLiteral<"thank_you">;
|
|
398
418
|
title: z.ZodString;
|
|
399
419
|
description: z.ZodOptional<z.ZodString>;
|
|
400
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
401
420
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
402
421
|
}, z.core.$strip>, z.ZodObject<{
|
|
403
422
|
id: z.ZodString;
|
|
423
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
404
424
|
describe: z.ZodOptional<z.ZodString>;
|
|
405
425
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
406
426
|
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -446,14 +466,16 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
446
466
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
447
467
|
left: "left";
|
|
448
468
|
center: "center";
|
|
469
|
+
justify: "justify";
|
|
449
470
|
}>>>;
|
|
471
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
450
472
|
type: z.ZodLiteral<"message_panel">;
|
|
451
473
|
title: z.ZodString;
|
|
452
474
|
description: z.ZodOptional<z.ZodString>;
|
|
453
|
-
buttonLabel: z.ZodOptional<z.ZodString>;
|
|
454
475
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
455
476
|
}, z.core.$strip>, z.ZodObject<{
|
|
456
477
|
id: z.ZodString;
|
|
478
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
457
479
|
title: z.ZodString;
|
|
458
480
|
description: z.ZodOptional<z.ZodString>;
|
|
459
481
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -501,10 +523,13 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
501
523
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
502
524
|
left: "left";
|
|
503
525
|
center: "center";
|
|
526
|
+
justify: "justify";
|
|
504
527
|
}>>>;
|
|
528
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
505
529
|
type: z.ZodLiteral<"exit_form">;
|
|
506
530
|
}, z.core.$strip>, z.ZodObject<{
|
|
507
531
|
id: z.ZodString;
|
|
532
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
508
533
|
title: z.ZodString;
|
|
509
534
|
description: z.ZodOptional<z.ZodString>;
|
|
510
535
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -552,7 +577,9 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
552
577
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
553
578
|
left: "left";
|
|
554
579
|
center: "center";
|
|
580
|
+
justify: "justify";
|
|
555
581
|
}>>>;
|
|
582
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
556
583
|
type: z.ZodLiteral<"yes_no">;
|
|
557
584
|
yesLabel: z.ZodOptional<z.ZodString>;
|
|
558
585
|
noLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -562,6 +589,61 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
562
589
|
}>>;
|
|
563
590
|
}, z.core.$strip>, z.ZodObject<{
|
|
564
591
|
id: z.ZodString;
|
|
592
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
593
|
+
title: z.ZodString;
|
|
594
|
+
description: z.ZodOptional<z.ZodString>;
|
|
595
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
596
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
597
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
598
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
599
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
600
|
+
type: z.ZodEnum<{
|
|
601
|
+
custom: "custom";
|
|
602
|
+
pattern: "pattern";
|
|
603
|
+
required: "required";
|
|
604
|
+
min: "min";
|
|
605
|
+
max: "max";
|
|
606
|
+
minLength: "minLength";
|
|
607
|
+
maxLength: "maxLength";
|
|
608
|
+
email: "email";
|
|
609
|
+
url: "url";
|
|
610
|
+
}>;
|
|
611
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
612
|
+
message: z.ZodOptional<z.ZodString>;
|
|
613
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
614
|
+
}, z.core.$strip>>>>;
|
|
615
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
616
|
+
field: z.ZodString;
|
|
617
|
+
operator: z.ZodEnum<{
|
|
618
|
+
equals: "equals";
|
|
619
|
+
not_equals: "not_equals";
|
|
620
|
+
contains: "contains";
|
|
621
|
+
not_contains: "not_contains";
|
|
622
|
+
greater_than: "greater_than";
|
|
623
|
+
less_than: "less_than";
|
|
624
|
+
is_empty: "is_empty";
|
|
625
|
+
is_not_empty: "is_not_empty";
|
|
626
|
+
}>;
|
|
627
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
628
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
629
|
+
}, z.core.$strip>>>>;
|
|
630
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
631
|
+
status: z.ZodEnum<{
|
|
632
|
+
D: "D";
|
|
633
|
+
P: "P";
|
|
634
|
+
A: "A";
|
|
635
|
+
S: "S";
|
|
636
|
+
}>;
|
|
637
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
638
|
+
left: "left";
|
|
639
|
+
center: "center";
|
|
640
|
+
justify: "justify";
|
|
641
|
+
}>>>;
|
|
642
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
643
|
+
type: z.ZodLiteral<"consent">;
|
|
644
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
645
|
+
id: z.ZodString;
|
|
646
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
565
647
|
title: z.ZodString;
|
|
566
648
|
description: z.ZodOptional<z.ZodString>;
|
|
567
649
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -609,7 +691,9 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
609
691
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
610
692
|
left: "left";
|
|
611
693
|
center: "center";
|
|
694
|
+
justify: "justify";
|
|
612
695
|
}>>>;
|
|
696
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
613
697
|
type: z.ZodLiteral<"rating_matrix">;
|
|
614
698
|
statements: z.ZodArray<z.ZodObject<{
|
|
615
699
|
id: z.ZodString;
|
|
@@ -652,6 +736,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
652
736
|
randomizeStatements: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
653
737
|
}, z.core.$strip>, z.ZodObject<{
|
|
654
738
|
id: z.ZodString;
|
|
739
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
655
740
|
title: z.ZodString;
|
|
656
741
|
description: z.ZodOptional<z.ZodString>;
|
|
657
742
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -699,7 +784,9 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
699
784
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
700
785
|
left: "left";
|
|
701
786
|
center: "center";
|
|
787
|
+
justify: "justify";
|
|
702
788
|
}>>>;
|
|
789
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
703
790
|
type: z.ZodLiteral<"matrix_single_choice">;
|
|
704
791
|
rows: z.ZodArray<z.ZodObject<{
|
|
705
792
|
id: z.ZodString;
|
|
@@ -717,6 +804,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
717
804
|
randomizeColumns: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
718
805
|
}, z.core.$strip>, z.ZodObject<{
|
|
719
806
|
id: z.ZodString;
|
|
807
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
720
808
|
title: z.ZodString;
|
|
721
809
|
description: z.ZodOptional<z.ZodString>;
|
|
722
810
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -764,7 +852,9 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
764
852
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
765
853
|
left: "left";
|
|
766
854
|
center: "center";
|
|
855
|
+
justify: "justify";
|
|
767
856
|
}>>>;
|
|
857
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
768
858
|
type: z.ZodLiteral<"matrix_multiple_choice">;
|
|
769
859
|
rows: z.ZodArray<z.ZodObject<{
|
|
770
860
|
id: z.ZodString;
|
|
@@ -784,6 +874,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
784
874
|
randomizeColumns: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
785
875
|
}, z.core.$strip>, z.ZodObject<{
|
|
786
876
|
id: z.ZodString;
|
|
877
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
787
878
|
title: z.ZodString;
|
|
788
879
|
description: z.ZodOptional<z.ZodString>;
|
|
789
880
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -831,7 +922,9 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
831
922
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
832
923
|
left: "left";
|
|
833
924
|
center: "center";
|
|
925
|
+
justify: "justify";
|
|
834
926
|
}>>>;
|
|
927
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
835
928
|
type: z.ZodLiteral<"single_choice">;
|
|
836
929
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
837
930
|
radio: "radio";
|
|
@@ -855,6 +948,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
855
948
|
}, z.core.$strip>>;
|
|
856
949
|
}, z.core.$strip>, z.ZodObject<{
|
|
857
950
|
id: z.ZodString;
|
|
951
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
858
952
|
title: z.ZodString;
|
|
859
953
|
description: z.ZodOptional<z.ZodString>;
|
|
860
954
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -902,7 +996,9 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
902
996
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
903
997
|
left: "left";
|
|
904
998
|
center: "center";
|
|
999
|
+
justify: "justify";
|
|
905
1000
|
}>>>;
|
|
1001
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
906
1002
|
type: z.ZodLiteral<"multiple_choice_multiple">;
|
|
907
1003
|
displayStyle: z.ZodOptional<z.ZodEnum<{
|
|
908
1004
|
list: "list";
|
|
@@ -927,6 +1023,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
927
1023
|
}, z.core.$strip>>;
|
|
928
1024
|
}, z.core.$strip>, z.ZodObject<{
|
|
929
1025
|
id: z.ZodString;
|
|
1026
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
930
1027
|
title: z.ZodString;
|
|
931
1028
|
description: z.ZodOptional<z.ZodString>;
|
|
932
1029
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -974,7 +1071,9 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
974
1071
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
975
1072
|
left: "left";
|
|
976
1073
|
center: "center";
|
|
1074
|
+
justify: "justify";
|
|
977
1075
|
}>>>;
|
|
1076
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
978
1077
|
type: z.ZodLiteral<"nps">;
|
|
979
1078
|
min: z.ZodLiteral<0>;
|
|
980
1079
|
max: z.ZodLiteral<10>;
|
|
@@ -984,6 +1083,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
984
1083
|
prepopulatedValue: z.ZodOptional<z.ZodNumber>;
|
|
985
1084
|
}, z.core.$strip>, z.ZodObject<{
|
|
986
1085
|
id: z.ZodString;
|
|
1086
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
987
1087
|
title: z.ZodString;
|
|
988
1088
|
description: z.ZodOptional<z.ZodString>;
|
|
989
1089
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -1031,7 +1131,9 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
1031
1131
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1032
1132
|
left: "left";
|
|
1033
1133
|
center: "center";
|
|
1134
|
+
justify: "justify";
|
|
1034
1135
|
}>>>;
|
|
1136
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1035
1137
|
type: z.ZodLiteral<"short_answer">;
|
|
1036
1138
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1037
1139
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1044,6 +1146,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
1044
1146
|
minCharactersToEnhance: z.ZodOptional<z.ZodNumber>;
|
|
1045
1147
|
}, z.core.$strip>, z.ZodObject<{
|
|
1046
1148
|
id: z.ZodString;
|
|
1149
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1047
1150
|
title: z.ZodString;
|
|
1048
1151
|
description: z.ZodOptional<z.ZodString>;
|
|
1049
1152
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -1091,7 +1194,9 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
1091
1194
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1092
1195
|
left: "left";
|
|
1093
1196
|
center: "center";
|
|
1197
|
+
justify: "justify";
|
|
1094
1198
|
}>>>;
|
|
1199
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1095
1200
|
type: z.ZodLiteral<"long_text">;
|
|
1096
1201
|
maxCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1097
1202
|
minCharacters: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1103,6 +1208,7 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
1103
1208
|
minCharactersToEnhance: z.ZodOptional<z.ZodNumber>;
|
|
1104
1209
|
}, z.core.$strip>, z.ZodObject<{
|
|
1105
1210
|
id: z.ZodString;
|
|
1211
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1106
1212
|
title: z.ZodString;
|
|
1107
1213
|
description: z.ZodOptional<z.ZodString>;
|
|
1108
1214
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -1150,7 +1256,9 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
1150
1256
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1151
1257
|
left: "left";
|
|
1152
1258
|
center: "center";
|
|
1259
|
+
justify: "justify";
|
|
1153
1260
|
}>>>;
|
|
1261
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1154
1262
|
type: z.ZodLiteral<"nested_selection">;
|
|
1155
1263
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1156
1264
|
options: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
@@ -1172,13 +1280,15 @@ export declare const questionnaireFieldsResponseSchema: z.ZodObject<{
|
|
|
1172
1280
|
sections: z.ZodArray<z.ZodObject<{
|
|
1173
1281
|
id: z.ZodString;
|
|
1174
1282
|
title: z.ZodString;
|
|
1175
|
-
titleTranslations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1176
1283
|
description: z.ZodOptional<z.ZodString>;
|
|
1177
|
-
descriptionTranslations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1178
1284
|
showTitle: z.ZodDefault<z.ZodBoolean>;
|
|
1179
1285
|
showDescription: z.ZodDefault<z.ZodBoolean>;
|
|
1180
1286
|
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1181
|
-
|
|
1287
|
+
translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1288
|
+
title: z.ZodString;
|
|
1289
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1290
|
+
nextButtonLabel: z.ZodOptional<z.ZodString>;
|
|
1291
|
+
}, z.core.$strip>>>;
|
|
1182
1292
|
inAppSingleQuestion: z.ZodDefault<z.ZodBoolean>;
|
|
1183
1293
|
questionIds: z.ZodArray<z.ZodString>;
|
|
1184
1294
|
}, z.core.$strip>>;
|
|
@@ -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,7 @@ 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>;
|
|
1590
1725
|
title: z.ZodString;
|
|
1591
1726
|
description: z.ZodOptional<z.ZodString>;
|
|
1592
1727
|
describe: z.ZodOptional<z.ZodString>;
|
|
@@ -1634,7 +1769,63 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
1634
1769
|
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1635
1770
|
left: "left";
|
|
1636
1771
|
center: "center";
|
|
1772
|
+
justify: "justify";
|
|
1637
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>;
|
|
1779
|
+
title: z.ZodString;
|
|
1780
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1781
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1782
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
1783
|
+
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
1784
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
1785
|
+
validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1786
|
+
type: z.ZodEnum<{
|
|
1787
|
+
custom: "custom";
|
|
1788
|
+
pattern: "pattern";
|
|
1789
|
+
required: "required";
|
|
1790
|
+
min: "min";
|
|
1791
|
+
max: "max";
|
|
1792
|
+
minLength: "minLength";
|
|
1793
|
+
maxLength: "maxLength";
|
|
1794
|
+
email: "email";
|
|
1795
|
+
url: "url";
|
|
1796
|
+
}>;
|
|
1797
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1798
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1799
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1800
|
+
}, z.core.$strip>>>>;
|
|
1801
|
+
visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1802
|
+
field: z.ZodString;
|
|
1803
|
+
operator: z.ZodEnum<{
|
|
1804
|
+
equals: "equals";
|
|
1805
|
+
not_equals: "not_equals";
|
|
1806
|
+
contains: "contains";
|
|
1807
|
+
not_contains: "not_contains";
|
|
1808
|
+
greater_than: "greater_than";
|
|
1809
|
+
less_than: "less_than";
|
|
1810
|
+
is_empty: "is_empty";
|
|
1811
|
+
is_not_empty: "is_not_empty";
|
|
1812
|
+
}>;
|
|
1813
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1814
|
+
describe: z.ZodOptional<z.ZodString>;
|
|
1815
|
+
}, z.core.$strip>>>>;
|
|
1816
|
+
sectionId: z.ZodOptional<z.ZodString>;
|
|
1817
|
+
status: z.ZodEnum<{
|
|
1818
|
+
D: "D";
|
|
1819
|
+
P: "P";
|
|
1820
|
+
A: "A";
|
|
1821
|
+
S: "S";
|
|
1822
|
+
}>;
|
|
1823
|
+
textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1824
|
+
left: "left";
|
|
1825
|
+
center: "center";
|
|
1826
|
+
justify: "justify";
|
|
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,13 +2412,15 @@ 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>;
|
|
2208
2425
|
questionIds: z.ZodArray<z.ZodString>;
|
|
2209
2426
|
}, z.core.$strip>>;
|
|
@@ -2212,17 +2429,19 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
2212
2429
|
value: z.ZodString;
|
|
2213
2430
|
label: z.ZodString;
|
|
2214
2431
|
}, z.core.$strip>>;
|
|
2432
|
+
isLogicJumpsEnabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2433
|
+
logicJumpRules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
2434
|
+
jsonLogic: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2435
|
+
targetQuestionId: z.ZodString;
|
|
2436
|
+
}, z.core.$strip>>>>;
|
|
2437
|
+
contextVariables: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2215
2438
|
}, z.core.$strip>;
|
|
2216
2439
|
otherConfigurationProperties: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2217
2440
|
isEnabled: z.ZodLiteral<false>;
|
|
2218
2441
|
otherFields: z.ZodObject<{
|
|
2219
|
-
pagination: z.ZodBoolean;
|
|
2220
2442
|
questionNumber: z.ZodBoolean;
|
|
2221
|
-
pageTitle: z.ZodBoolean;
|
|
2222
|
-
blockerFeedback: z.ZodBoolean;
|
|
2223
2443
|
submitButtonLabel: z.ZodString;
|
|
2224
2444
|
previousButtonLabel: z.ZodString;
|
|
2225
|
-
nextButtonLabel: z.ZodString;
|
|
2226
2445
|
aiEnhancementSuccessMessage: z.ZodString;
|
|
2227
2446
|
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
2228
2447
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
@@ -2230,7 +2449,6 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
2230
2449
|
translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2231
2450
|
submitButtonLabel: z.ZodString;
|
|
2232
2451
|
previousButtonLabel: z.ZodString;
|
|
2233
|
-
nextButtonLabel: z.ZodString;
|
|
2234
2452
|
aiEnhancementSuccessMessage: z.ZodString;
|
|
2235
2453
|
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
2236
2454
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
@@ -2238,13 +2456,9 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
2238
2456
|
}, z.core.$strip>, z.ZodObject<{
|
|
2239
2457
|
isEnabled: z.ZodLiteral<true>;
|
|
2240
2458
|
otherFields: z.ZodObject<{
|
|
2241
|
-
pagination: z.ZodBoolean;
|
|
2242
2459
|
questionNumber: z.ZodBoolean;
|
|
2243
|
-
pageTitle: z.ZodBoolean;
|
|
2244
|
-
blockerFeedback: z.ZodBoolean;
|
|
2245
2460
|
submitButtonLabel: z.ZodString;
|
|
2246
2461
|
previousButtonLabel: z.ZodString;
|
|
2247
|
-
nextButtonLabel: z.ZodString;
|
|
2248
2462
|
aiEnhancementSuccessMessage: z.ZodString;
|
|
2249
2463
|
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
2250
2464
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
@@ -2252,7 +2466,6 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
2252
2466
|
translations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2253
2467
|
submitButtonLabel: z.ZodString;
|
|
2254
2468
|
previousButtonLabel: z.ZodString;
|
|
2255
|
-
nextButtonLabel: z.ZodString;
|
|
2256
2469
|
aiEnhancementSuccessMessage: z.ZodString;
|
|
2257
2470
|
aiEnhancementCooldownErrorMessage: z.ZodString;
|
|
2258
2471
|
aiEnhancementMaxReachedErrorMessage: z.ZodString;
|
|
@@ -2269,23 +2482,24 @@ export declare const fetchFeedbackDetailsResponseSchema: z.ZodObject<{
|
|
|
2269
2482
|
}, z.core.$strip>;
|
|
2270
2483
|
}, z.core.$strip>;
|
|
2271
2484
|
featureSettings: z.ZodObject<{
|
|
2272
|
-
darkOverlay: z.ZodBoolean
|
|
2273
|
-
closeButton: z.ZodBoolean
|
|
2274
|
-
progressBar: z.ZodBoolean
|
|
2275
|
-
showBranding: z.ZodBoolean
|
|
2485
|
+
darkOverlay: z.ZodDefault<z.ZodBoolean>;
|
|
2486
|
+
closeButton: z.ZodDefault<z.ZodBoolean>;
|
|
2487
|
+
progressBar: z.ZodDefault<z.ZodBoolean>;
|
|
2488
|
+
showBranding: z.ZodDefault<z.ZodBoolean>;
|
|
2276
2489
|
customPosition: z.ZodBoolean;
|
|
2277
2490
|
customCss: z.ZodOptional<z.ZodString>;
|
|
2278
|
-
shareableMode: z.ZodOptional<z.ZodEnum<{
|
|
2491
|
+
shareableMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
2279
2492
|
light: "light";
|
|
2280
2493
|
dark: "dark";
|
|
2281
2494
|
system: "system";
|
|
2282
|
-
}
|
|
2283
|
-
|
|
2284
|
-
|
|
2495
|
+
}>>>;
|
|
2496
|
+
enableShareableKeyboardNavigation: z.ZodDefault<z.ZodBoolean>;
|
|
2497
|
+
rtl: z.ZodDefault<z.ZodBoolean>;
|
|
2498
|
+
previousButton: z.ZodDefault<z.ZodEnum<{
|
|
2285
2499
|
never: "never";
|
|
2286
2500
|
always: "always";
|
|
2287
2501
|
auto: "auto";
|
|
2288
|
-
}
|
|
2502
|
+
}>>;
|
|
2289
2503
|
}, z.core.$strip>;
|
|
2290
2504
|
selectedPosition: z.ZodEnum<{
|
|
2291
2505
|
"top-left": "top-left";
|
|
@@ -2406,6 +2620,7 @@ export declare const fetchConfigurationListResponseSchema: z.ZodObject<{
|
|
|
2406
2620
|
customPosition: z.ZodBoolean;
|
|
2407
2621
|
customIconPosition: z.ZodBoolean;
|
|
2408
2622
|
customCss: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2623
|
+
enableShareableKeyboardNavigation: z.ZodDefault<z.ZodBoolean>;
|
|
2409
2624
|
rtl: z.ZodBoolean;
|
|
2410
2625
|
previousButton: z.ZodEnum<{
|
|
2411
2626
|
never: "never";
|
|
@@ -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>;
|