@encatch/schema 1.0.1-beta.2 → 1.1.0-beta.4

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.
@@ -2,11 +2,11 @@ import { z } from "zod";
2
2
  export declare const questionTypeSchema: z.ZodEnum<{
3
3
  rating: "rating";
4
4
  single_choice: "single_choice";
5
- nps: "nps";
6
- nested_selection: "nested_selection";
7
5
  multiple_choice_multiple: "multiple_choice_multiple";
6
+ nps: "nps";
8
7
  short_answer: "short_answer";
9
8
  long_text: "long_text";
9
+ nested_selection: "nested_selection";
10
10
  annotation: "annotation";
11
11
  welcome: "welcome";
12
12
  thank_you: "thank_you";
@@ -36,15 +36,15 @@ export declare const QuestionTypes: {
36
36
  readonly EXIT_FORM: "exit_form";
37
37
  };
38
38
  export declare const validationRuleTypeSchema: z.ZodEnum<{
39
+ custom: "custom";
40
+ pattern: "pattern";
39
41
  required: "required";
40
42
  min: "min";
41
43
  max: "max";
42
44
  minLength: "minLength";
43
45
  maxLength: "maxLength";
44
- pattern: "pattern";
45
46
  email: "email";
46
47
  url: "url";
47
- custom: "custom";
48
48
  }>;
49
49
  export declare const ValidationRuleTypes: {
50
50
  readonly REQUIRED: "required";
@@ -59,15 +59,15 @@ export declare const ValidationRuleTypes: {
59
59
  };
60
60
  export declare const validationRuleSchema: z.ZodObject<{
61
61
  type: z.ZodEnum<{
62
+ custom: "custom";
63
+ pattern: "pattern";
62
64
  required: "required";
63
65
  min: "min";
64
66
  max: "max";
65
67
  minLength: "minLength";
66
68
  maxLength: "maxLength";
67
- pattern: "pattern";
68
69
  email: "email";
69
70
  url: "url";
70
- custom: "custom";
71
71
  }>;
72
72
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
73
73
  message: z.ZodOptional<z.ZodString>;
@@ -111,6 +111,16 @@ export declare const visibilityConditionSchema: z.ZodObject<{
111
111
  export declare const sectionSchema: z.ZodObject<{
112
112
  id: z.ZodString;
113
113
  title: z.ZodString;
114
+ description: z.ZodOptional<z.ZodString>;
115
+ showTitle: z.ZodDefault<z.ZodBoolean>;
116
+ showDescription: z.ZodDefault<z.ZodBoolean>;
117
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
118
+ translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
119
+ title: z.ZodString;
120
+ description: z.ZodOptional<z.ZodString>;
121
+ nextButtonLabel: z.ZodOptional<z.ZodString>;
122
+ }, z.core.$strip>>>;
123
+ inAppSingleQuestion: z.ZodDefault<z.ZodBoolean>;
114
124
  questionIds: z.ZodArray<z.ZodString>;
115
125
  }, z.core.$strip>;
116
126
  export declare const questionStatusSchema: z.ZodEnum<{
@@ -200,11 +210,11 @@ export declare const questionSchema: z.ZodObject<{
200
210
  type: z.ZodEnum<{
201
211
  rating: "rating";
202
212
  single_choice: "single_choice";
203
- nps: "nps";
204
- nested_selection: "nested_selection";
205
213
  multiple_choice_multiple: "multiple_choice_multiple";
214
+ nps: "nps";
206
215
  short_answer: "short_answer";
207
216
  long_text: "long_text";
217
+ nested_selection: "nested_selection";
208
218
  annotation: "annotation";
209
219
  welcome: "welcome";
210
220
  thank_you: "thank_you";
@@ -223,15 +233,15 @@ export declare const questionSchema: z.ZodObject<{
223
233
  errorMessage: z.ZodOptional<z.ZodString>;
224
234
  validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
225
235
  type: z.ZodEnum<{
236
+ custom: "custom";
237
+ pattern: "pattern";
226
238
  required: "required";
227
239
  min: "min";
228
240
  max: "max";
229
241
  minLength: "minLength";
230
242
  maxLength: "maxLength";
231
- pattern: "pattern";
232
243
  email: "email";
233
244
  url: "url";
234
- custom: "custom";
235
245
  }>;
236
246
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
237
247
  message: z.ZodOptional<z.ZodString>;
@@ -274,15 +284,15 @@ export declare const ratingQuestionSchema: z.ZodObject<{
274
284
  errorMessage: z.ZodOptional<z.ZodString>;
275
285
  validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
276
286
  type: z.ZodEnum<{
287
+ custom: "custom";
288
+ pattern: "pattern";
277
289
  required: "required";
278
290
  min: "min";
279
291
  max: "max";
280
292
  minLength: "minLength";
281
293
  maxLength: "maxLength";
282
- pattern: "pattern";
283
294
  email: "email";
284
295
  url: "url";
285
- custom: "custom";
286
296
  }>;
287
297
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
288
298
  message: z.ZodOptional<z.ZodString>;
@@ -344,15 +354,15 @@ export declare const annotationQuestionSchema: z.ZodObject<{
344
354
  errorMessage: z.ZodOptional<z.ZodString>;
345
355
  validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
346
356
  type: z.ZodEnum<{
357
+ custom: "custom";
358
+ pattern: "pattern";
347
359
  required: "required";
348
360
  min: "min";
349
361
  max: "max";
350
362
  minLength: "minLength";
351
363
  maxLength: "maxLength";
352
- pattern: "pattern";
353
364
  email: "email";
354
365
  url: "url";
355
- custom: "custom";
356
366
  }>;
357
367
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
358
368
  message: z.ZodOptional<z.ZodString>;
@@ -396,15 +406,15 @@ export declare const welcomeQuestionSchema: z.ZodObject<{
396
406
  errorMessage: z.ZodOptional<z.ZodString>;
397
407
  validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
398
408
  type: z.ZodEnum<{
409
+ custom: "custom";
410
+ pattern: "pattern";
399
411
  required: "required";
400
412
  min: "min";
401
413
  max: "max";
402
414
  minLength: "minLength";
403
415
  maxLength: "maxLength";
404
- pattern: "pattern";
405
416
  email: "email";
406
417
  url: "url";
407
- custom: "custom";
408
418
  }>;
409
419
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
410
420
  message: z.ZodOptional<z.ZodString>;
@@ -450,15 +460,15 @@ export declare const thankYouQuestionSchema: z.ZodObject<{
450
460
  errorMessage: z.ZodOptional<z.ZodString>;
451
461
  validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
452
462
  type: z.ZodEnum<{
463
+ custom: "custom";
464
+ pattern: "pattern";
453
465
  required: "required";
454
466
  min: "min";
455
467
  max: "max";
456
468
  minLength: "minLength";
457
469
  maxLength: "maxLength";
458
- pattern: "pattern";
459
470
  email: "email";
460
471
  url: "url";
461
- custom: "custom";
462
472
  }>;
463
473
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
464
474
  message: z.ZodOptional<z.ZodString>;
@@ -504,15 +514,15 @@ export declare const messagePanelQuestionSchema: z.ZodObject<{
504
514
  errorMessage: z.ZodOptional<z.ZodString>;
505
515
  validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
506
516
  type: z.ZodEnum<{
517
+ custom: "custom";
518
+ pattern: "pattern";
507
519
  required: "required";
508
520
  min: "min";
509
521
  max: "max";
510
522
  minLength: "minLength";
511
523
  maxLength: "maxLength";
512
- pattern: "pattern";
513
524
  email: "email";
514
525
  url: "url";
515
- custom: "custom";
516
526
  }>;
517
527
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
518
528
  message: z.ZodOptional<z.ZodString>;
@@ -560,15 +570,15 @@ export declare const exitFormQuestionSchema: z.ZodObject<{
560
570
  errorMessage: z.ZodOptional<z.ZodString>;
561
571
  validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
562
572
  type: z.ZodEnum<{
573
+ custom: "custom";
574
+ pattern: "pattern";
563
575
  required: "required";
564
576
  min: "min";
565
577
  max: "max";
566
578
  minLength: "minLength";
567
579
  maxLength: "maxLength";
568
- pattern: "pattern";
569
580
  email: "email";
570
581
  url: "url";
571
- custom: "custom";
572
582
  }>;
573
583
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
574
584
  message: z.ZodOptional<z.ZodString>;
@@ -612,15 +622,15 @@ export declare const yesNoQuestionSchema: z.ZodObject<{
612
622
  errorMessage: z.ZodOptional<z.ZodString>;
613
623
  validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
614
624
  type: z.ZodEnum<{
625
+ custom: "custom";
626
+ pattern: "pattern";
615
627
  required: "required";
616
628
  min: "min";
617
629
  max: "max";
618
630
  minLength: "minLength";
619
631
  maxLength: "maxLength";
620
- pattern: "pattern";
621
632
  email: "email";
622
633
  url: "url";
623
- custom: "custom";
624
634
  }>;
625
635
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
626
636
  message: z.ZodOptional<z.ZodString>;
@@ -720,15 +730,15 @@ export declare const ratingMatrixQuestionSchema: z.ZodObject<{
720
730
  errorMessage: z.ZodOptional<z.ZodString>;
721
731
  validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
722
732
  type: z.ZodEnum<{
733
+ custom: "custom";
734
+ pattern: "pattern";
723
735
  required: "required";
724
736
  min: "min";
725
737
  max: "max";
726
738
  minLength: "minLength";
727
739
  maxLength: "maxLength";
728
- pattern: "pattern";
729
740
  email: "email";
730
741
  url: "url";
731
- custom: "custom";
732
742
  }>;
733
743
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
734
744
  message: z.ZodOptional<z.ZodString>;
@@ -823,15 +833,15 @@ export declare const matrixSingleChoiceQuestionSchema: z.ZodObject<{
823
833
  errorMessage: z.ZodOptional<z.ZodString>;
824
834
  validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
825
835
  type: z.ZodEnum<{
836
+ custom: "custom";
837
+ pattern: "pattern";
826
838
  required: "required";
827
839
  min: "min";
828
840
  max: "max";
829
841
  minLength: "minLength";
830
842
  maxLength: "maxLength";
831
- pattern: "pattern";
832
843
  email: "email";
833
844
  url: "url";
834
- custom: "custom";
835
845
  }>;
836
846
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
837
847
  message: z.ZodOptional<z.ZodString>;
@@ -889,15 +899,15 @@ export declare const matrixMultipleChoiceQuestionSchema: z.ZodObject<{
889
899
  errorMessage: z.ZodOptional<z.ZodString>;
890
900
  validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
891
901
  type: z.ZodEnum<{
902
+ custom: "custom";
903
+ pattern: "pattern";
892
904
  required: "required";
893
905
  min: "min";
894
906
  max: "max";
895
907
  minLength: "minLength";
896
908
  maxLength: "maxLength";
897
- pattern: "pattern";
898
909
  email: "email";
899
910
  url: "url";
900
- custom: "custom";
901
911
  }>;
902
912
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
903
913
  message: z.ZodOptional<z.ZodString>;
@@ -965,15 +975,15 @@ export declare const multipleChoiceSingleQuestionSchema: z.ZodObject<{
965
975
  errorMessage: z.ZodOptional<z.ZodString>;
966
976
  validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
967
977
  type: z.ZodEnum<{
978
+ custom: "custom";
979
+ pattern: "pattern";
968
980
  required: "required";
969
981
  min: "min";
970
982
  max: "max";
971
983
  minLength: "minLength";
972
984
  maxLength: "maxLength";
973
- pattern: "pattern";
974
985
  email: "email";
975
986
  url: "url";
976
- custom: "custom";
977
987
  }>;
978
988
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
979
989
  message: z.ZodOptional<z.ZodString>;
@@ -1037,15 +1047,15 @@ export declare const multipleChoiceMultipleQuestionSchema: z.ZodObject<{
1037
1047
  errorMessage: z.ZodOptional<z.ZodString>;
1038
1048
  validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1039
1049
  type: z.ZodEnum<{
1050
+ custom: "custom";
1051
+ pattern: "pattern";
1040
1052
  required: "required";
1041
1053
  min: "min";
1042
1054
  max: "max";
1043
1055
  minLength: "minLength";
1044
1056
  maxLength: "maxLength";
1045
- pattern: "pattern";
1046
1057
  email: "email";
1047
1058
  url: "url";
1048
- custom: "custom";
1049
1059
  }>;
1050
1060
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
1051
1061
  message: z.ZodOptional<z.ZodString>;
@@ -1110,15 +1120,15 @@ export declare const npsQuestionSchema: z.ZodObject<{
1110
1120
  errorMessage: z.ZodOptional<z.ZodString>;
1111
1121
  validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1112
1122
  type: z.ZodEnum<{
1123
+ custom: "custom";
1124
+ pattern: "pattern";
1113
1125
  required: "required";
1114
1126
  min: "min";
1115
1127
  max: "max";
1116
1128
  minLength: "minLength";
1117
1129
  maxLength: "maxLength";
1118
- pattern: "pattern";
1119
1130
  email: "email";
1120
1131
  url: "url";
1121
- custom: "custom";
1122
1132
  }>;
1123
1133
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
1124
1134
  message: z.ZodOptional<z.ZodString>;
@@ -1168,15 +1178,15 @@ export declare const shortAnswerQuestionSchema: z.ZodObject<{
1168
1178
  errorMessage: z.ZodOptional<z.ZodString>;
1169
1179
  validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1170
1180
  type: z.ZodEnum<{
1181
+ custom: "custom";
1182
+ pattern: "pattern";
1171
1183
  required: "required";
1172
1184
  min: "min";
1173
1185
  max: "max";
1174
1186
  minLength: "minLength";
1175
1187
  maxLength: "maxLength";
1176
- pattern: "pattern";
1177
1188
  email: "email";
1178
1189
  url: "url";
1179
- custom: "custom";
1180
1190
  }>;
1181
1191
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
1182
1192
  message: z.ZodOptional<z.ZodString>;
@@ -1229,15 +1239,15 @@ export declare const longAnswerQuestionSchema: z.ZodObject<{
1229
1239
  errorMessage: z.ZodOptional<z.ZodString>;
1230
1240
  validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1231
1241
  type: z.ZodEnum<{
1242
+ custom: "custom";
1243
+ pattern: "pattern";
1232
1244
  required: "required";
1233
1245
  min: "min";
1234
1246
  max: "max";
1235
1247
  minLength: "minLength";
1236
1248
  maxLength: "maxLength";
1237
- pattern: "pattern";
1238
1249
  email: "email";
1239
1250
  url: "url";
1240
- custom: "custom";
1241
1251
  }>;
1242
1252
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
1243
1253
  message: z.ZodOptional<z.ZodString>;
@@ -1289,15 +1299,15 @@ export declare const nestedDropdownQuestionSchema: z.ZodObject<{
1289
1299
  errorMessage: z.ZodOptional<z.ZodString>;
1290
1300
  validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1291
1301
  type: z.ZodEnum<{
1302
+ custom: "custom";
1303
+ pattern: "pattern";
1292
1304
  required: "required";
1293
1305
  min: "min";
1294
1306
  max: "max";
1295
1307
  minLength: "minLength";
1296
1308
  maxLength: "maxLength";
1297
- pattern: "pattern";
1298
1309
  email: "email";
1299
1310
  url: "url";
1300
- custom: "custom";
1301
1311
  }>;
1302
1312
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
1303
1313
  message: z.ZodOptional<z.ZodString>;
@@ -1394,15 +1404,15 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
1394
1404
  errorMessage: z.ZodOptional<z.ZodString>;
1395
1405
  validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1396
1406
  type: z.ZodEnum<{
1407
+ custom: "custom";
1408
+ pattern: "pattern";
1397
1409
  required: "required";
1398
1410
  min: "min";
1399
1411
  max: "max";
1400
1412
  minLength: "minLength";
1401
1413
  maxLength: "maxLength";
1402
- pattern: "pattern";
1403
1414
  email: "email";
1404
1415
  url: "url";
1405
- custom: "custom";
1406
1416
  }>;
1407
1417
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
1408
1418
  message: z.ZodOptional<z.ZodString>;
@@ -1463,15 +1473,15 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
1463
1473
  errorMessage: z.ZodOptional<z.ZodString>;
1464
1474
  validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1465
1475
  type: z.ZodEnum<{
1476
+ custom: "custom";
1477
+ pattern: "pattern";
1466
1478
  required: "required";
1467
1479
  min: "min";
1468
1480
  max: "max";
1469
1481
  minLength: "minLength";
1470
1482
  maxLength: "maxLength";
1471
- pattern: "pattern";
1472
1483
  email: "email";
1473
1484
  url: "url";
1474
- custom: "custom";
1475
1485
  }>;
1476
1486
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
1477
1487
  message: z.ZodOptional<z.ZodString>;
@@ -1514,15 +1524,15 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
1514
1524
  errorMessage: z.ZodOptional<z.ZodString>;
1515
1525
  validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1516
1526
  type: z.ZodEnum<{
1527
+ custom: "custom";
1528
+ pattern: "pattern";
1517
1529
  required: "required";
1518
1530
  min: "min";
1519
1531
  max: "max";
1520
1532
  minLength: "minLength";
1521
1533
  maxLength: "maxLength";
1522
- pattern: "pattern";
1523
1534
  email: "email";
1524
1535
  url: "url";
1525
- custom: "custom";
1526
1536
  }>;
1527
1537
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
1528
1538
  message: z.ZodOptional<z.ZodString>;
@@ -1567,15 +1577,15 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
1567
1577
  errorMessage: z.ZodOptional<z.ZodString>;
1568
1578
  validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1569
1579
  type: z.ZodEnum<{
1580
+ custom: "custom";
1581
+ pattern: "pattern";
1570
1582
  required: "required";
1571
1583
  min: "min";
1572
1584
  max: "max";
1573
1585
  minLength: "minLength";
1574
1586
  maxLength: "maxLength";
1575
- pattern: "pattern";
1576
1587
  email: "email";
1577
1588
  url: "url";
1578
- custom: "custom";
1579
1589
  }>;
1580
1590
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
1581
1591
  message: z.ZodOptional<z.ZodString>;
@@ -1620,15 +1630,15 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
1620
1630
  errorMessage: z.ZodOptional<z.ZodString>;
1621
1631
  validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1622
1632
  type: z.ZodEnum<{
1633
+ custom: "custom";
1634
+ pattern: "pattern";
1623
1635
  required: "required";
1624
1636
  min: "min";
1625
1637
  max: "max";
1626
1638
  minLength: "minLength";
1627
1639
  maxLength: "maxLength";
1628
- pattern: "pattern";
1629
1640
  email: "email";
1630
1641
  url: "url";
1631
- custom: "custom";
1632
1642
  }>;
1633
1643
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
1634
1644
  message: z.ZodOptional<z.ZodString>;
@@ -1675,15 +1685,15 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
1675
1685
  errorMessage: z.ZodOptional<z.ZodString>;
1676
1686
  validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1677
1687
  type: z.ZodEnum<{
1688
+ custom: "custom";
1689
+ pattern: "pattern";
1678
1690
  required: "required";
1679
1691
  min: "min";
1680
1692
  max: "max";
1681
1693
  minLength: "minLength";
1682
1694
  maxLength: "maxLength";
1683
- pattern: "pattern";
1684
1695
  email: "email";
1685
1696
  url: "url";
1686
- custom: "custom";
1687
1697
  }>;
1688
1698
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
1689
1699
  message: z.ZodOptional<z.ZodString>;
@@ -1726,15 +1736,15 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
1726
1736
  errorMessage: z.ZodOptional<z.ZodString>;
1727
1737
  validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1728
1738
  type: z.ZodEnum<{
1739
+ custom: "custom";
1740
+ pattern: "pattern";
1729
1741
  required: "required";
1730
1742
  min: "min";
1731
1743
  max: "max";
1732
1744
  minLength: "minLength";
1733
1745
  maxLength: "maxLength";
1734
- pattern: "pattern";
1735
1746
  email: "email";
1736
1747
  url: "url";
1737
- custom: "custom";
1738
1748
  }>;
1739
1749
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
1740
1750
  message: z.ZodOptional<z.ZodString>;
@@ -1783,15 +1793,15 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
1783
1793
  errorMessage: z.ZodOptional<z.ZodString>;
1784
1794
  validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1785
1795
  type: z.ZodEnum<{
1796
+ custom: "custom";
1797
+ pattern: "pattern";
1786
1798
  required: "required";
1787
1799
  min: "min";
1788
1800
  max: "max";
1789
1801
  minLength: "minLength";
1790
1802
  maxLength: "maxLength";
1791
- pattern: "pattern";
1792
1803
  email: "email";
1793
1804
  url: "url";
1794
- custom: "custom";
1795
1805
  }>;
1796
1806
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
1797
1807
  message: z.ZodOptional<z.ZodString>;
@@ -1873,15 +1883,15 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
1873
1883
  errorMessage: z.ZodOptional<z.ZodString>;
1874
1884
  validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1875
1885
  type: z.ZodEnum<{
1886
+ custom: "custom";
1887
+ pattern: "pattern";
1876
1888
  required: "required";
1877
1889
  min: "min";
1878
1890
  max: "max";
1879
1891
  minLength: "minLength";
1880
1892
  maxLength: "maxLength";
1881
- pattern: "pattern";
1882
1893
  email: "email";
1883
1894
  url: "url";
1884
- custom: "custom";
1885
1895
  }>;
1886
1896
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
1887
1897
  message: z.ZodOptional<z.ZodString>;
@@ -1938,15 +1948,15 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
1938
1948
  errorMessage: z.ZodOptional<z.ZodString>;
1939
1949
  validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1940
1950
  type: z.ZodEnum<{
1951
+ custom: "custom";
1952
+ pattern: "pattern";
1941
1953
  required: "required";
1942
1954
  min: "min";
1943
1955
  max: "max";
1944
1956
  minLength: "minLength";
1945
1957
  maxLength: "maxLength";
1946
- pattern: "pattern";
1947
1958
  email: "email";
1948
1959
  url: "url";
1949
- custom: "custom";
1950
1960
  }>;
1951
1961
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
1952
1962
  message: z.ZodOptional<z.ZodString>;
@@ -2005,15 +2015,15 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
2005
2015
  errorMessage: z.ZodOptional<z.ZodString>;
2006
2016
  validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2007
2017
  type: z.ZodEnum<{
2018
+ custom: "custom";
2019
+ pattern: "pattern";
2008
2020
  required: "required";
2009
2021
  min: "min";
2010
2022
  max: "max";
2011
2023
  minLength: "minLength";
2012
2024
  maxLength: "maxLength";
2013
- pattern: "pattern";
2014
2025
  email: "email";
2015
2026
  url: "url";
2016
- custom: "custom";
2017
2027
  }>;
2018
2028
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
2019
2029
  message: z.ZodOptional<z.ZodString>;
@@ -2076,15 +2086,15 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
2076
2086
  errorMessage: z.ZodOptional<z.ZodString>;
2077
2087
  validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2078
2088
  type: z.ZodEnum<{
2089
+ custom: "custom";
2090
+ pattern: "pattern";
2079
2091
  required: "required";
2080
2092
  min: "min";
2081
2093
  max: "max";
2082
2094
  minLength: "minLength";
2083
2095
  maxLength: "maxLength";
2084
- pattern: "pattern";
2085
2096
  email: "email";
2086
2097
  url: "url";
2087
- custom: "custom";
2088
2098
  }>;
2089
2099
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
2090
2100
  message: z.ZodOptional<z.ZodString>;
@@ -2148,15 +2158,15 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
2148
2158
  errorMessage: z.ZodOptional<z.ZodString>;
2149
2159
  validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2150
2160
  type: z.ZodEnum<{
2161
+ custom: "custom";
2162
+ pattern: "pattern";
2151
2163
  required: "required";
2152
2164
  min: "min";
2153
2165
  max: "max";
2154
2166
  minLength: "minLength";
2155
2167
  maxLength: "maxLength";
2156
- pattern: "pattern";
2157
2168
  email: "email";
2158
2169
  url: "url";
2159
- custom: "custom";
2160
2170
  }>;
2161
2171
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
2162
2172
  message: z.ZodOptional<z.ZodString>;
@@ -2205,15 +2215,15 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
2205
2215
  errorMessage: z.ZodOptional<z.ZodString>;
2206
2216
  validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2207
2217
  type: z.ZodEnum<{
2218
+ custom: "custom";
2219
+ pattern: "pattern";
2208
2220
  required: "required";
2209
2221
  min: "min";
2210
2222
  max: "max";
2211
2223
  minLength: "minLength";
2212
2224
  maxLength: "maxLength";
2213
- pattern: "pattern";
2214
2225
  email: "email";
2215
2226
  url: "url";
2216
- custom: "custom";
2217
2227
  }>;
2218
2228
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
2219
2229
  message: z.ZodOptional<z.ZodString>;
@@ -2265,15 +2275,15 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
2265
2275
  errorMessage: z.ZodOptional<z.ZodString>;
2266
2276
  validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2267
2277
  type: z.ZodEnum<{
2278
+ custom: "custom";
2279
+ pattern: "pattern";
2268
2280
  required: "required";
2269
2281
  min: "min";
2270
2282
  max: "max";
2271
2283
  minLength: "minLength";
2272
2284
  maxLength: "maxLength";
2273
- pattern: "pattern";
2274
2285
  email: "email";
2275
2286
  url: "url";
2276
- custom: "custom";
2277
2287
  }>;
2278
2288
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
2279
2289
  message: z.ZodOptional<z.ZodString>;
@@ -2324,15 +2334,15 @@ export declare const combinedQuestionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
2324
2334
  errorMessage: z.ZodOptional<z.ZodString>;
2325
2335
  validations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2326
2336
  type: z.ZodEnum<{
2337
+ custom: "custom";
2338
+ pattern: "pattern";
2327
2339
  required: "required";
2328
2340
  min: "min";
2329
2341
  max: "max";
2330
2342
  minLength: "minLength";
2331
2343
  maxLength: "maxLength";
2332
- pattern: "pattern";
2333
2344
  email: "email";
2334
2345
  url: "url";
2335
- custom: "custom";
2336
2346
  }>;
2337
2347
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
2338
2348
  message: z.ZodOptional<z.ZodString>;