@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.
@@ -11,6 +11,7 @@ export declare const questionTypeSchema: z.ZodEnum<{
11
11
  welcome: "welcome";
12
12
  thank_you: "thank_you";
13
13
  message_panel: "message_panel";
14
+ consent: "consent";
14
15
  yes_no: "yes_no";
15
16
  rating_matrix: "rating_matrix";
16
17
  matrix_single_choice: "matrix_single_choice";
@@ -34,6 +35,7 @@ export declare const QuestionTypes: {
34
35
  readonly MATRIX_SINGLE_CHOICE: "matrix_single_choice";
35
36
  readonly MATRIX_MULTIPLE_CHOICE: "matrix_multiple_choice";
36
37
  readonly EXIT_FORM: "exit_form";
38
+ readonly CONSENT: "consent";
37
39
  };
38
40
  export declare const validationRuleTypeSchema: z.ZodEnum<{
39
41
  custom: "custom";
@@ -111,14 +113,17 @@ export declare const visibilityConditionSchema: z.ZodObject<{
111
113
  export declare const sectionSchema: z.ZodObject<{
112
114
  id: z.ZodString;
113
115
  title: z.ZodString;
114
- titleTranslations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
115
116
  description: z.ZodOptional<z.ZodString>;
116
- descriptionTranslations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
117
117
  showTitle: z.ZodDefault<z.ZodBoolean>;
118
118
  showDescription: z.ZodDefault<z.ZodBoolean>;
119
119
  nextButtonLabel: z.ZodOptional<z.ZodString>;
120
- nextButtonLabelTranslations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
120
+ translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
121
+ title: z.ZodString;
122
+ description: z.ZodOptional<z.ZodString>;
123
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
124
+ }, z.core.$strip>>>;
121
125
  inAppSingleQuestion: z.ZodDefault<z.ZodBoolean>;
126
+ isPreviousAllowed: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
122
127
  questionIds: z.ZodArray<z.ZodString>;
123
128
  }, z.core.$strip>;
124
129
  export declare const questionStatusSchema: z.ZodEnum<{
@@ -205,6 +210,7 @@ export declare const ChoiceOrderOptions: {
205
210
  };
206
211
  export declare const questionSchema: z.ZodObject<{
207
212
  id: z.ZodString;
213
+ slug: z.ZodOptional<z.ZodString>;
208
214
  type: z.ZodEnum<{
209
215
  rating: "rating";
210
216
  single_choice: "single_choice";
@@ -217,6 +223,7 @@ export declare const questionSchema: z.ZodObject<{
217
223
  welcome: "welcome";
218
224
  thank_you: "thank_you";
219
225
  message_panel: "message_panel";
226
+ consent: "consent";
220
227
  yes_no: "yes_no";
221
228
  rating_matrix: "rating_matrix";
222
229
  matrix_single_choice: "matrix_single_choice";
@@ -270,10 +277,13 @@ export declare const questionSchema: z.ZodObject<{
270
277
  textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
271
278
  left: "left";
272
279
  center: "center";
280
+ justify: "justify";
273
281
  }>>>;
282
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
274
283
  }, z.core.$strip>;
275
284
  export declare const ratingQuestionSchema: z.ZodObject<{
276
285
  id: z.ZodString;
286
+ slug: z.ZodOptional<z.ZodString>;
277
287
  title: z.ZodString;
278
288
  description: z.ZodOptional<z.ZodString>;
279
289
  describe: z.ZodOptional<z.ZodString>;
@@ -321,7 +331,9 @@ export declare const ratingQuestionSchema: z.ZodObject<{
321
331
  textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
322
332
  left: "left";
323
333
  center: "center";
334
+ justify: "justify";
324
335
  }>>>;
336
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
325
337
  type: z.ZodLiteral<"rating">;
326
338
  showLabels: z.ZodOptional<z.ZodBoolean>;
327
339
  minLabel: z.ZodOptional<z.ZodString>;
@@ -344,6 +356,7 @@ export declare const ratingQuestionSchema: z.ZodObject<{
344
356
  }, z.core.$strip>;
345
357
  export declare const annotationQuestionSchema: z.ZodObject<{
346
358
  id: z.ZodString;
359
+ slug: z.ZodOptional<z.ZodString>;
347
360
  title: z.ZodString;
348
361
  description: z.ZodOptional<z.ZodString>;
349
362
  describe: z.ZodOptional<z.ZodString>;
@@ -391,13 +404,16 @@ export declare const annotationQuestionSchema: z.ZodObject<{
391
404
  textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
392
405
  left: "left";
393
406
  center: "center";
407
+ justify: "justify";
394
408
  }>>>;
409
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
395
410
  type: z.ZodLiteral<"annotation">;
396
411
  annotationText: z.ZodOptional<z.ZodString>;
397
412
  noAnnotationText: z.ZodOptional<z.ZodString>;
398
413
  }, z.core.$strip>;
399
414
  export declare const welcomeQuestionSchema: z.ZodObject<{
400
415
  id: z.ZodString;
416
+ slug: z.ZodOptional<z.ZodString>;
401
417
  describe: z.ZodOptional<z.ZodString>;
402
418
  required: z.ZodDefault<z.ZodBoolean>;
403
419
  isHidden: z.ZodDefault<z.ZodBoolean>;
@@ -443,15 +459,17 @@ export declare const welcomeQuestionSchema: z.ZodObject<{
443
459
  textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
444
460
  left: "left";
445
461
  center: "center";
462
+ justify: "justify";
446
463
  }>>>;
464
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
447
465
  type: z.ZodLiteral<"welcome">;
448
466
  title: z.ZodString;
449
467
  description: z.ZodOptional<z.ZodString>;
450
- buttonLabel: z.ZodOptional<z.ZodString>;
451
468
  imageUrl: z.ZodOptional<z.ZodString>;
452
469
  }, z.core.$strip>;
453
470
  export declare const thankYouQuestionSchema: z.ZodObject<{
454
471
  id: z.ZodString;
472
+ slug: z.ZodOptional<z.ZodString>;
455
473
  describe: z.ZodOptional<z.ZodString>;
456
474
  required: z.ZodDefault<z.ZodBoolean>;
457
475
  isHidden: z.ZodDefault<z.ZodBoolean>;
@@ -497,15 +515,17 @@ export declare const thankYouQuestionSchema: z.ZodObject<{
497
515
  textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
498
516
  left: "left";
499
517
  center: "center";
518
+ justify: "justify";
500
519
  }>>>;
520
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
501
521
  type: z.ZodLiteral<"thank_you">;
502
522
  title: z.ZodString;
503
523
  description: z.ZodOptional<z.ZodString>;
504
- buttonLabel: z.ZodOptional<z.ZodString>;
505
524
  imageUrl: z.ZodOptional<z.ZodString>;
506
525
  }, z.core.$strip>;
507
526
  export declare const messagePanelQuestionSchema: z.ZodObject<{
508
527
  id: z.ZodString;
528
+ slug: z.ZodOptional<z.ZodString>;
509
529
  describe: z.ZodOptional<z.ZodString>;
510
530
  required: z.ZodDefault<z.ZodBoolean>;
511
531
  isHidden: z.ZodDefault<z.ZodBoolean>;
@@ -551,15 +571,17 @@ export declare const messagePanelQuestionSchema: z.ZodObject<{
551
571
  textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
552
572
  left: "left";
553
573
  center: "center";
574
+ justify: "justify";
554
575
  }>>>;
576
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
555
577
  type: z.ZodLiteral<"message_panel">;
556
578
  title: z.ZodString;
557
579
  description: z.ZodOptional<z.ZodString>;
558
- buttonLabel: z.ZodOptional<z.ZodString>;
559
580
  imageUrl: z.ZodOptional<z.ZodString>;
560
581
  }, z.core.$strip>;
561
582
  export declare const exitFormQuestionSchema: z.ZodObject<{
562
583
  id: z.ZodString;
584
+ slug: z.ZodOptional<z.ZodString>;
563
585
  title: z.ZodString;
564
586
  description: z.ZodOptional<z.ZodString>;
565
587
  describe: z.ZodOptional<z.ZodString>;
@@ -607,11 +629,14 @@ export declare const exitFormQuestionSchema: z.ZodObject<{
607
629
  textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
608
630
  left: "left";
609
631
  center: "center";
632
+ justify: "justify";
610
633
  }>>>;
634
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
611
635
  type: z.ZodLiteral<"exit_form">;
612
636
  }, z.core.$strip>;
613
637
  export declare const yesNoQuestionSchema: z.ZodObject<{
614
638
  id: z.ZodString;
639
+ slug: z.ZodOptional<z.ZodString>;
615
640
  title: z.ZodString;
616
641
  description: z.ZodOptional<z.ZodString>;
617
642
  describe: z.ZodOptional<z.ZodString>;
@@ -659,7 +684,9 @@ export declare const yesNoQuestionSchema: z.ZodObject<{
659
684
  textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
660
685
  left: "left";
661
686
  center: "center";
687
+ justify: "justify";
662
688
  }>>>;
689
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
663
690
  type: z.ZodLiteral<"yes_no">;
664
691
  yesLabel: z.ZodOptional<z.ZodString>;
665
692
  noLabel: z.ZodOptional<z.ZodString>;
@@ -668,6 +695,61 @@ export declare const yesNoQuestionSchema: z.ZodObject<{
668
695
  vertical: "vertical";
669
696
  }>>;
670
697
  }, z.core.$strip>;
698
+ export declare const consentQuestionSchema: z.ZodObject<{
699
+ id: z.ZodString;
700
+ slug: z.ZodOptional<z.ZodString>;
701
+ title: z.ZodString;
702
+ description: z.ZodOptional<z.ZodString>;
703
+ describe: z.ZodOptional<z.ZodString>;
704
+ required: z.ZodDefault<z.ZodBoolean>;
705
+ isHidden: z.ZodDefault<z.ZodBoolean>;
706
+ errorMessage: z.ZodOptional<z.ZodString>;
707
+ validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
708
+ type: z.ZodEnum<{
709
+ custom: "custom";
710
+ pattern: "pattern";
711
+ required: "required";
712
+ min: "min";
713
+ max: "max";
714
+ minLength: "minLength";
715
+ maxLength: "maxLength";
716
+ email: "email";
717
+ url: "url";
718
+ }>;
719
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
720
+ message: z.ZodOptional<z.ZodString>;
721
+ describe: z.ZodOptional<z.ZodString>;
722
+ }, z.core.$strip>>>>;
723
+ visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
724
+ field: z.ZodString;
725
+ operator: z.ZodEnum<{
726
+ equals: "equals";
727
+ not_equals: "not_equals";
728
+ contains: "contains";
729
+ not_contains: "not_contains";
730
+ greater_than: "greater_than";
731
+ less_than: "less_than";
732
+ is_empty: "is_empty";
733
+ is_not_empty: "is_not_empty";
734
+ }>;
735
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
736
+ describe: z.ZodOptional<z.ZodString>;
737
+ }, z.core.$strip>>>>;
738
+ sectionId: z.ZodOptional<z.ZodString>;
739
+ status: z.ZodEnum<{
740
+ D: "D";
741
+ P: "P";
742
+ A: "A";
743
+ S: "S";
744
+ }>;
745
+ textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
746
+ left: "left";
747
+ center: "center";
748
+ justify: "justify";
749
+ }>>>;
750
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
751
+ type: z.ZodLiteral<"consent">;
752
+ }, z.core.$strip>;
671
753
  export declare const ratingMatrixDisplayStyleSchema: z.ZodEnum<{
672
754
  star: "star";
673
755
  emoji: "emoji";
@@ -720,6 +802,7 @@ export declare const ratingMatrixScaleSchema: z.ZodDiscriminatedUnion<[z.ZodObje
720
802
  }, z.core.$strip>], "kind">;
721
803
  export declare const ratingMatrixQuestionSchema: z.ZodObject<{
722
804
  id: z.ZodString;
805
+ slug: z.ZodOptional<z.ZodString>;
723
806
  title: z.ZodString;
724
807
  description: z.ZodOptional<z.ZodString>;
725
808
  describe: z.ZodOptional<z.ZodString>;
@@ -767,7 +850,9 @@ export declare const ratingMatrixQuestionSchema: z.ZodObject<{
767
850
  textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
768
851
  left: "left";
769
852
  center: "center";
853
+ justify: "justify";
770
854
  }>>>;
855
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
771
856
  type: z.ZodLiteral<"rating_matrix">;
772
857
  statements: z.ZodArray<z.ZodObject<{
773
858
  id: z.ZodString;
@@ -823,6 +908,7 @@ export declare const matrixColumnSchema: z.ZodObject<{
823
908
  }, z.core.$strip>;
824
909
  export declare const matrixSingleChoiceQuestionSchema: z.ZodObject<{
825
910
  id: z.ZodString;
911
+ slug: z.ZodOptional<z.ZodString>;
826
912
  title: z.ZodString;
827
913
  description: z.ZodOptional<z.ZodString>;
828
914
  describe: z.ZodOptional<z.ZodString>;
@@ -870,7 +956,9 @@ export declare const matrixSingleChoiceQuestionSchema: z.ZodObject<{
870
956
  textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
871
957
  left: "left";
872
958
  center: "center";
959
+ justify: "justify";
873
960
  }>>>;
961
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
874
962
  type: z.ZodLiteral<"matrix_single_choice">;
875
963
  rows: z.ZodArray<z.ZodObject<{
876
964
  id: z.ZodString;
@@ -889,6 +977,7 @@ export declare const matrixSingleChoiceQuestionSchema: z.ZodObject<{
889
977
  }, z.core.$strip>;
890
978
  export declare const matrixMultipleChoiceQuestionSchema: z.ZodObject<{
891
979
  id: z.ZodString;
980
+ slug: z.ZodOptional<z.ZodString>;
892
981
  title: z.ZodString;
893
982
  description: z.ZodOptional<z.ZodString>;
894
983
  describe: z.ZodOptional<z.ZodString>;
@@ -936,7 +1025,9 @@ export declare const matrixMultipleChoiceQuestionSchema: z.ZodObject<{
936
1025
  textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
937
1026
  left: "left";
938
1027
  center: "center";
1028
+ justify: "justify";
939
1029
  }>>>;
1030
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
940
1031
  type: z.ZodLiteral<"matrix_multiple_choice">;
941
1032
  rows: z.ZodArray<z.ZodObject<{
942
1033
  id: z.ZodString;
@@ -965,6 +1056,7 @@ export declare const questionOptionSchema: z.ZodObject<{
965
1056
  export declare const nestedOptionSchema: z.ZodType<any>;
966
1057
  export declare const multipleChoiceSingleQuestionSchema: z.ZodObject<{
967
1058
  id: z.ZodString;
1059
+ slug: z.ZodOptional<z.ZodString>;
968
1060
  title: z.ZodString;
969
1061
  description: z.ZodOptional<z.ZodString>;
970
1062
  describe: z.ZodOptional<z.ZodString>;
@@ -1012,7 +1104,9 @@ export declare const multipleChoiceSingleQuestionSchema: z.ZodObject<{
1012
1104
  textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1013
1105
  left: "left";
1014
1106
  center: "center";
1107
+ justify: "justify";
1015
1108
  }>>>;
1109
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
1016
1110
  type: z.ZodLiteral<"single_choice">;
1017
1111
  displayStyle: z.ZodOptional<z.ZodEnum<{
1018
1112
  radio: "radio";
@@ -1037,6 +1131,7 @@ export declare const multipleChoiceSingleQuestionSchema: z.ZodObject<{
1037
1131
  }, z.core.$strip>;
1038
1132
  export declare const multipleChoiceMultipleQuestionSchema: z.ZodObject<{
1039
1133
  id: z.ZodString;
1134
+ slug: z.ZodOptional<z.ZodString>;
1040
1135
  title: z.ZodString;
1041
1136
  description: z.ZodOptional<z.ZodString>;
1042
1137
  describe: z.ZodOptional<z.ZodString>;
@@ -1084,7 +1179,9 @@ export declare const multipleChoiceMultipleQuestionSchema: z.ZodObject<{
1084
1179
  textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1085
1180
  left: "left";
1086
1181
  center: "center";
1182
+ justify: "justify";
1087
1183
  }>>>;
1184
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
1088
1185
  type: z.ZodLiteral<"multiple_choice_multiple">;
1089
1186
  displayStyle: z.ZodOptional<z.ZodEnum<{
1090
1187
  list: "list";
@@ -1110,6 +1207,7 @@ export declare const multipleChoiceMultipleQuestionSchema: z.ZodObject<{
1110
1207
  }, z.core.$strip>;
1111
1208
  export declare const npsQuestionSchema: z.ZodObject<{
1112
1209
  id: z.ZodString;
1210
+ slug: z.ZodOptional<z.ZodString>;
1113
1211
  title: z.ZodString;
1114
1212
  description: z.ZodOptional<z.ZodString>;
1115
1213
  describe: z.ZodOptional<z.ZodString>;
@@ -1157,7 +1255,9 @@ export declare const npsQuestionSchema: z.ZodObject<{
1157
1255
  textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1158
1256
  left: "left";
1159
1257
  center: "center";
1258
+ justify: "justify";
1160
1259
  }>>>;
1260
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
1161
1261
  type: z.ZodLiteral<"nps">;
1162
1262
  min: z.ZodLiteral<0>;
1163
1263
  max: z.ZodLiteral<10>;
@@ -1168,6 +1268,7 @@ export declare const npsQuestionSchema: z.ZodObject<{
1168
1268
  }, z.core.$strip>;
1169
1269
  export declare const shortAnswerQuestionSchema: z.ZodObject<{
1170
1270
  id: z.ZodString;
1271
+ slug: z.ZodOptional<z.ZodString>;
1171
1272
  title: z.ZodString;
1172
1273
  description: z.ZodOptional<z.ZodString>;
1173
1274
  describe: z.ZodOptional<z.ZodString>;
@@ -1215,7 +1316,9 @@ export declare const shortAnswerQuestionSchema: z.ZodObject<{
1215
1316
  textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1216
1317
  left: "left";
1217
1318
  center: "center";
1319
+ justify: "justify";
1218
1320
  }>>>;
1321
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
1219
1322
  type: z.ZodLiteral<"short_answer">;
1220
1323
  maxCharacters: z.ZodOptional<z.ZodNumber>;
1221
1324
  minCharacters: z.ZodOptional<z.ZodNumber>;
@@ -1229,6 +1332,7 @@ export declare const shortAnswerQuestionSchema: z.ZodObject<{
1229
1332
  }, z.core.$strip>;
1230
1333
  export declare const longAnswerQuestionSchema: z.ZodObject<{
1231
1334
  id: z.ZodString;
1335
+ slug: z.ZodOptional<z.ZodString>;
1232
1336
  title: z.ZodString;
1233
1337
  description: z.ZodOptional<z.ZodString>;
1234
1338
  describe: z.ZodOptional<z.ZodString>;
@@ -1276,7 +1380,9 @@ export declare const longAnswerQuestionSchema: z.ZodObject<{
1276
1380
  textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1277
1381
  left: "left";
1278
1382
  center: "center";
1383
+ justify: "justify";
1279
1384
  }>>>;
1385
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
1280
1386
  type: z.ZodLiteral<"long_text">;
1281
1387
  maxCharacters: z.ZodOptional<z.ZodNumber>;
1282
1388
  minCharacters: z.ZodOptional<z.ZodNumber>;
@@ -1289,6 +1395,7 @@ export declare const longAnswerQuestionSchema: z.ZodObject<{
1289
1395
  }, z.core.$strip>;
1290
1396
  export declare const nestedDropdownQuestionSchema: z.ZodObject<{
1291
1397
  id: z.ZodString;
1398
+ slug: z.ZodOptional<z.ZodString>;
1292
1399
  title: z.ZodString;
1293
1400
  description: z.ZodOptional<z.ZodString>;
1294
1401
  describe: z.ZodOptional<z.ZodString>;
@@ -1336,7 +1443,9 @@ export declare const nestedDropdownQuestionSchema: z.ZodObject<{
1336
1443
  textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1337
1444
  left: "left";
1338
1445
  center: "center";
1446
+ justify: "justify";
1339
1447
  }>>>;
1448
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
1340
1449
  type: z.ZodLiteral<"nested_selection">;
1341
1450
  placeholder: z.ZodOptional<z.ZodString>;
1342
1451
  options: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
@@ -1371,6 +1480,7 @@ export type MessagePanelQuestion = z.infer<typeof messagePanelQuestionSchema>;
1371
1480
  export type ExitFormQuestion = z.infer<typeof exitFormQuestionSchema>;
1372
1481
  export type YesNoDisplayStyle = z.infer<typeof yesNoDisplayStyleSchema>;
1373
1482
  export type YesNoQuestion = z.infer<typeof yesNoQuestionSchema>;
1483
+ export type ConsentQuestion = z.infer<typeof consentQuestionSchema>;
1374
1484
  export type RatingMatrixStatement = z.infer<typeof ratingMatrixStatementSchema>;
1375
1485
  export type RatingMatrixScalePoint = z.infer<typeof ratingMatrixScalePointSchema>;
1376
1486
  export type RatingMatrixScale = z.infer<typeof ratingMatrixScaleSchema>;
@@ -1394,6 +1504,7 @@ export type NestedDropdownQuestion = z.infer<typeof nestedDropdownQuestionSchema
1394
1504
  export type Section = z.infer<typeof sectionSchema>;
1395
1505
  export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1396
1506
  id: z.ZodString;
1507
+ slug: z.ZodOptional<z.ZodString>;
1397
1508
  title: z.ZodString;
1398
1509
  description: z.ZodOptional<z.ZodString>;
1399
1510
  describe: z.ZodOptional<z.ZodString>;
@@ -1441,7 +1552,9 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
1441
1552
  textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1442
1553
  left: "left";
1443
1554
  center: "center";
1555
+ justify: "justify";
1444
1556
  }>>>;
1557
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
1445
1558
  type: z.ZodLiteral<"rating">;
1446
1559
  showLabels: z.ZodOptional<z.ZodBoolean>;
1447
1560
  minLabel: z.ZodOptional<z.ZodString>;
@@ -1463,6 +1576,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
1463
1576
  color: z.ZodOptional<z.ZodString>;
1464
1577
  }, z.core.$strip>, z.ZodObject<{
1465
1578
  id: z.ZodString;
1579
+ slug: z.ZodOptional<z.ZodString>;
1466
1580
  title: z.ZodString;
1467
1581
  description: z.ZodOptional<z.ZodString>;
1468
1582
  describe: z.ZodOptional<z.ZodString>;
@@ -1510,12 +1624,15 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
1510
1624
  textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1511
1625
  left: "left";
1512
1626
  center: "center";
1627
+ justify: "justify";
1513
1628
  }>>>;
1629
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
1514
1630
  type: z.ZodLiteral<"annotation">;
1515
1631
  annotationText: z.ZodOptional<z.ZodString>;
1516
1632
  noAnnotationText: z.ZodOptional<z.ZodString>;
1517
1633
  }, z.core.$strip>, z.ZodObject<{
1518
1634
  id: z.ZodString;
1635
+ slug: z.ZodOptional<z.ZodString>;
1519
1636
  describe: z.ZodOptional<z.ZodString>;
1520
1637
  required: z.ZodDefault<z.ZodBoolean>;
1521
1638
  isHidden: z.ZodDefault<z.ZodBoolean>;
@@ -1561,14 +1678,16 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
1561
1678
  textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1562
1679
  left: "left";
1563
1680
  center: "center";
1681
+ justify: "justify";
1564
1682
  }>>>;
1683
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
1565
1684
  type: z.ZodLiteral<"welcome">;
1566
1685
  title: z.ZodString;
1567
1686
  description: z.ZodOptional<z.ZodString>;
1568
- buttonLabel: z.ZodOptional<z.ZodString>;
1569
1687
  imageUrl: z.ZodOptional<z.ZodString>;
1570
1688
  }, z.core.$strip>, z.ZodObject<{
1571
1689
  id: z.ZodString;
1690
+ slug: z.ZodOptional<z.ZodString>;
1572
1691
  describe: z.ZodOptional<z.ZodString>;
1573
1692
  required: z.ZodDefault<z.ZodBoolean>;
1574
1693
  isHidden: z.ZodDefault<z.ZodBoolean>;
@@ -1614,14 +1733,16 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
1614
1733
  textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1615
1734
  left: "left";
1616
1735
  center: "center";
1736
+ justify: "justify";
1617
1737
  }>>>;
1738
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
1618
1739
  type: z.ZodLiteral<"thank_you">;
1619
1740
  title: z.ZodString;
1620
1741
  description: z.ZodOptional<z.ZodString>;
1621
- buttonLabel: z.ZodOptional<z.ZodString>;
1622
1742
  imageUrl: z.ZodOptional<z.ZodString>;
1623
1743
  }, z.core.$strip>, z.ZodObject<{
1624
1744
  id: z.ZodString;
1745
+ slug: z.ZodOptional<z.ZodString>;
1625
1746
  describe: z.ZodOptional<z.ZodString>;
1626
1747
  required: z.ZodDefault<z.ZodBoolean>;
1627
1748
  isHidden: z.ZodDefault<z.ZodBoolean>;
@@ -1667,14 +1788,16 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
1667
1788
  textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1668
1789
  left: "left";
1669
1790
  center: "center";
1791
+ justify: "justify";
1670
1792
  }>>>;
1793
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
1671
1794
  type: z.ZodLiteral<"message_panel">;
1672
1795
  title: z.ZodString;
1673
1796
  description: z.ZodOptional<z.ZodString>;
1674
- buttonLabel: z.ZodOptional<z.ZodString>;
1675
1797
  imageUrl: z.ZodOptional<z.ZodString>;
1676
1798
  }, z.core.$strip>, z.ZodObject<{
1677
1799
  id: z.ZodString;
1800
+ slug: z.ZodOptional<z.ZodString>;
1678
1801
  title: z.ZodString;
1679
1802
  description: z.ZodOptional<z.ZodString>;
1680
1803
  describe: z.ZodOptional<z.ZodString>;
@@ -1722,10 +1845,13 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
1722
1845
  textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1723
1846
  left: "left";
1724
1847
  center: "center";
1848
+ justify: "justify";
1725
1849
  }>>>;
1850
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
1726
1851
  type: z.ZodLiteral<"exit_form">;
1727
1852
  }, z.core.$strip>, z.ZodObject<{
1728
1853
  id: z.ZodString;
1854
+ slug: z.ZodOptional<z.ZodString>;
1729
1855
  title: z.ZodString;
1730
1856
  description: z.ZodOptional<z.ZodString>;
1731
1857
  describe: z.ZodOptional<z.ZodString>;
@@ -1773,7 +1899,9 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
1773
1899
  textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1774
1900
  left: "left";
1775
1901
  center: "center";
1902
+ justify: "justify";
1776
1903
  }>>>;
1904
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
1777
1905
  type: z.ZodLiteral<"yes_no">;
1778
1906
  yesLabel: z.ZodOptional<z.ZodString>;
1779
1907
  noLabel: z.ZodOptional<z.ZodString>;
@@ -1783,6 +1911,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
1783
1911
  }>>;
1784
1912
  }, z.core.$strip>, z.ZodObject<{
1785
1913
  id: z.ZodString;
1914
+ slug: z.ZodOptional<z.ZodString>;
1786
1915
  title: z.ZodString;
1787
1916
  description: z.ZodOptional<z.ZodString>;
1788
1917
  describe: z.ZodOptional<z.ZodString>;
@@ -1830,7 +1959,63 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
1830
1959
  textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1831
1960
  left: "left";
1832
1961
  center: "center";
1962
+ justify: "justify";
1833
1963
  }>>>;
1964
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
1965
+ type: z.ZodLiteral<"consent">;
1966
+ }, z.core.$strip>, z.ZodObject<{
1967
+ id: z.ZodString;
1968
+ slug: z.ZodOptional<z.ZodString>;
1969
+ title: z.ZodString;
1970
+ description: z.ZodOptional<z.ZodString>;
1971
+ describe: z.ZodOptional<z.ZodString>;
1972
+ required: z.ZodDefault<z.ZodBoolean>;
1973
+ isHidden: z.ZodDefault<z.ZodBoolean>;
1974
+ errorMessage: z.ZodOptional<z.ZodString>;
1975
+ validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1976
+ type: z.ZodEnum<{
1977
+ custom: "custom";
1978
+ pattern: "pattern";
1979
+ required: "required";
1980
+ min: "min";
1981
+ max: "max";
1982
+ minLength: "minLength";
1983
+ maxLength: "maxLength";
1984
+ email: "email";
1985
+ url: "url";
1986
+ }>;
1987
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
1988
+ message: z.ZodOptional<z.ZodString>;
1989
+ describe: z.ZodOptional<z.ZodString>;
1990
+ }, z.core.$strip>>>>;
1991
+ visibility: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1992
+ field: z.ZodString;
1993
+ operator: z.ZodEnum<{
1994
+ equals: "equals";
1995
+ not_equals: "not_equals";
1996
+ contains: "contains";
1997
+ not_contains: "not_contains";
1998
+ greater_than: "greater_than";
1999
+ less_than: "less_than";
2000
+ is_empty: "is_empty";
2001
+ is_not_empty: "is_not_empty";
2002
+ }>;
2003
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
2004
+ describe: z.ZodOptional<z.ZodString>;
2005
+ }, z.core.$strip>>>>;
2006
+ sectionId: z.ZodOptional<z.ZodString>;
2007
+ status: z.ZodEnum<{
2008
+ D: "D";
2009
+ P: "P";
2010
+ A: "A";
2011
+ S: "S";
2012
+ }>;
2013
+ textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
2014
+ left: "left";
2015
+ center: "center";
2016
+ justify: "justify";
2017
+ }>>>;
2018
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
1834
2019
  type: z.ZodLiteral<"rating_matrix">;
1835
2020
  statements: z.ZodArray<z.ZodObject<{
1836
2021
  id: z.ZodString;
@@ -1873,6 +2058,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
1873
2058
  randomizeStatements: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1874
2059
  }, z.core.$strip>, z.ZodObject<{
1875
2060
  id: z.ZodString;
2061
+ slug: z.ZodOptional<z.ZodString>;
1876
2062
  title: z.ZodString;
1877
2063
  description: z.ZodOptional<z.ZodString>;
1878
2064
  describe: z.ZodOptional<z.ZodString>;
@@ -1920,7 +2106,9 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
1920
2106
  textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1921
2107
  left: "left";
1922
2108
  center: "center";
2109
+ justify: "justify";
1923
2110
  }>>>;
2111
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
1924
2112
  type: z.ZodLiteral<"matrix_single_choice">;
1925
2113
  rows: z.ZodArray<z.ZodObject<{
1926
2114
  id: z.ZodString;
@@ -1938,6 +2126,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
1938
2126
  randomizeColumns: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1939
2127
  }, z.core.$strip>, z.ZodObject<{
1940
2128
  id: z.ZodString;
2129
+ slug: z.ZodOptional<z.ZodString>;
1941
2130
  title: z.ZodString;
1942
2131
  description: z.ZodOptional<z.ZodString>;
1943
2132
  describe: z.ZodOptional<z.ZodString>;
@@ -1985,7 +2174,9 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
1985
2174
  textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1986
2175
  left: "left";
1987
2176
  center: "center";
2177
+ justify: "justify";
1988
2178
  }>>>;
2179
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
1989
2180
  type: z.ZodLiteral<"matrix_multiple_choice">;
1990
2181
  rows: z.ZodArray<z.ZodObject<{
1991
2182
  id: z.ZodString;
@@ -2005,6 +2196,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
2005
2196
  randomizeColumns: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2006
2197
  }, z.core.$strip>, z.ZodObject<{
2007
2198
  id: z.ZodString;
2199
+ slug: z.ZodOptional<z.ZodString>;
2008
2200
  title: z.ZodString;
2009
2201
  description: z.ZodOptional<z.ZodString>;
2010
2202
  describe: z.ZodOptional<z.ZodString>;
@@ -2052,7 +2244,9 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
2052
2244
  textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
2053
2245
  left: "left";
2054
2246
  center: "center";
2247
+ justify: "justify";
2055
2248
  }>>>;
2249
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
2056
2250
  type: z.ZodLiteral<"single_choice">;
2057
2251
  displayStyle: z.ZodOptional<z.ZodEnum<{
2058
2252
  radio: "radio";
@@ -2076,6 +2270,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
2076
2270
  }, z.core.$strip>>;
2077
2271
  }, z.core.$strip>, z.ZodObject<{
2078
2272
  id: z.ZodString;
2273
+ slug: z.ZodOptional<z.ZodString>;
2079
2274
  title: z.ZodString;
2080
2275
  description: z.ZodOptional<z.ZodString>;
2081
2276
  describe: z.ZodOptional<z.ZodString>;
@@ -2123,7 +2318,9 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
2123
2318
  textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
2124
2319
  left: "left";
2125
2320
  center: "center";
2321
+ justify: "justify";
2126
2322
  }>>>;
2323
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
2127
2324
  type: z.ZodLiteral<"multiple_choice_multiple">;
2128
2325
  displayStyle: z.ZodOptional<z.ZodEnum<{
2129
2326
  list: "list";
@@ -2148,6 +2345,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
2148
2345
  }, z.core.$strip>>;
2149
2346
  }, z.core.$strip>, z.ZodObject<{
2150
2347
  id: z.ZodString;
2348
+ slug: z.ZodOptional<z.ZodString>;
2151
2349
  title: z.ZodString;
2152
2350
  description: z.ZodOptional<z.ZodString>;
2153
2351
  describe: z.ZodOptional<z.ZodString>;
@@ -2195,7 +2393,9 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
2195
2393
  textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
2196
2394
  left: "left";
2197
2395
  center: "center";
2396
+ justify: "justify";
2198
2397
  }>>>;
2398
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
2199
2399
  type: z.ZodLiteral<"nps">;
2200
2400
  min: z.ZodLiteral<0>;
2201
2401
  max: z.ZodLiteral<10>;
@@ -2205,6 +2405,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
2205
2405
  prepopulatedValue: z.ZodOptional<z.ZodNumber>;
2206
2406
  }, z.core.$strip>, z.ZodObject<{
2207
2407
  id: z.ZodString;
2408
+ slug: z.ZodOptional<z.ZodString>;
2208
2409
  title: z.ZodString;
2209
2410
  description: z.ZodOptional<z.ZodString>;
2210
2411
  describe: z.ZodOptional<z.ZodString>;
@@ -2252,7 +2453,9 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
2252
2453
  textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
2253
2454
  left: "left";
2254
2455
  center: "center";
2456
+ justify: "justify";
2255
2457
  }>>>;
2458
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
2256
2459
  type: z.ZodLiteral<"short_answer">;
2257
2460
  maxCharacters: z.ZodOptional<z.ZodNumber>;
2258
2461
  minCharacters: z.ZodOptional<z.ZodNumber>;
@@ -2265,6 +2468,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
2265
2468
  minCharactersToEnhance: z.ZodOptional<z.ZodNumber>;
2266
2469
  }, z.core.$strip>, z.ZodObject<{
2267
2470
  id: z.ZodString;
2471
+ slug: z.ZodOptional<z.ZodString>;
2268
2472
  title: z.ZodString;
2269
2473
  description: z.ZodOptional<z.ZodString>;
2270
2474
  describe: z.ZodOptional<z.ZodString>;
@@ -2312,7 +2516,9 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
2312
2516
  textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
2313
2517
  left: "left";
2314
2518
  center: "center";
2519
+ justify: "justify";
2315
2520
  }>>>;
2521
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
2316
2522
  type: z.ZodLiteral<"long_text">;
2317
2523
  maxCharacters: z.ZodOptional<z.ZodNumber>;
2318
2524
  minCharacters: z.ZodOptional<z.ZodNumber>;
@@ -2324,6 +2530,7 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
2324
2530
  minCharactersToEnhance: z.ZodOptional<z.ZodNumber>;
2325
2531
  }, z.core.$strip>, z.ZodObject<{
2326
2532
  id: z.ZodString;
2533
+ slug: z.ZodOptional<z.ZodString>;
2327
2534
  title: z.ZodString;
2328
2535
  description: z.ZodOptional<z.ZodString>;
2329
2536
  describe: z.ZodOptional<z.ZodString>;
@@ -2371,7 +2578,9 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
2371
2578
  textAlign: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
2372
2579
  left: "left";
2373
2580
  center: "center";
2581
+ justify: "justify";
2374
2582
  }>>>;
2583
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
2375
2584
  type: z.ZodLiteral<"nested_selection">;
2376
2585
  placeholder: z.ZodOptional<z.ZodString>;
2377
2586
  options: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
@@ -2390,4 +2599,4 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
2390
2599
  maxDepth: z.ZodOptional<z.ZodNumber>;
2391
2600
  cascadeLabels: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2392
2601
  }, z.core.$strip>], "type">;
2393
- export type CombinedQuestion = z.infer<typeof ratingQuestionSchema> | z.infer<typeof annotationQuestionSchema> | z.infer<typeof welcomeQuestionSchema> | z.infer<typeof thankYouQuestionSchema> | z.infer<typeof messagePanelQuestionSchema> | z.infer<typeof exitFormQuestionSchema> | z.infer<typeof yesNoQuestionSchema> | z.infer<typeof ratingMatrixQuestionSchema> | z.infer<typeof matrixSingleChoiceQuestionSchema> | z.infer<typeof matrixMultipleChoiceQuestionSchema> | z.infer<typeof multipleChoiceSingleQuestionSchema> | z.infer<typeof multipleChoiceMultipleQuestionSchema> | z.infer<typeof npsQuestionSchema> | z.infer<typeof shortAnswerQuestionSchema> | z.infer<typeof longAnswerQuestionSchema> | z.infer<typeof nestedDropdownQuestionSchema>;
2602
+ export type CombinedQuestion = z.infer<typeof ratingQuestionSchema> | z.infer<typeof annotationQuestionSchema> | z.infer<typeof welcomeQuestionSchema> | z.infer<typeof thankYouQuestionSchema> | z.infer<typeof messagePanelQuestionSchema> | z.infer<typeof exitFormQuestionSchema> | z.infer<typeof yesNoQuestionSchema> | z.infer<typeof consentQuestionSchema> | z.infer<typeof ratingMatrixQuestionSchema> | z.infer<typeof matrixSingleChoiceQuestionSchema> | z.infer<typeof matrixMultipleChoiceQuestionSchema> | z.infer<typeof multipleChoiceSingleQuestionSchema> | z.infer<typeof multipleChoiceMultipleQuestionSchema> | z.infer<typeof npsQuestionSchema> | z.infer<typeof shortAnswerQuestionSchema> | z.infer<typeof longAnswerQuestionSchema> | z.infer<typeof nestedDropdownQuestionSchema>;