@dmptool/types 1.0.6 → 1.0.7

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.
Files changed (43) hide show
  1. package/README.md +5 -4
  2. package/dist/answers/__tests__/answers.spec.js +59 -7
  3. package/dist/answers/answer.d.ts +3 -3
  4. package/dist/answers/dateAnswers.d.ts +5 -5
  5. package/dist/answers/dateAnswers.js +3 -3
  6. package/dist/answers/index.d.ts +892 -513
  7. package/dist/answers/index.js +3 -2
  8. package/dist/answers/primitiveAnswers.d.ts +39 -0
  9. package/dist/answers/primitiveAnswers.js +8 -1
  10. package/dist/answers/tableAnswers.d.ts +1639 -32
  11. package/dist/answers/tableAnswers.js +10 -3
  12. package/dist/questions/__tests__/dateQuestions.spec.js +20 -20
  13. package/dist/questions/__tests__/primitiveQuestions.spec.js +92 -0
  14. package/dist/questions/__tests__/tableQuestion.spec.d.ts +1 -0
  15. package/dist/questions/__tests__/tableQuestion.spec.js +73 -0
  16. package/dist/questions/dateQuestions.d.ts +19 -19
  17. package/dist/questions/dateQuestions.js +8 -8
  18. package/dist/questions/graphQLQuestions.d.ts +20 -20
  19. package/dist/questions/graphQLQuestions.js +1 -1
  20. package/dist/questions/index.d.ts +1856 -1413
  21. package/dist/questions/index.js +3 -2
  22. package/dist/questions/optionBasedQuestions.js +1 -1
  23. package/dist/questions/primitiveQuestions.d.ts +192 -0
  24. package/dist/questions/primitiveQuestions.js +17 -1
  25. package/dist/questions/question.d.ts +4 -4
  26. package/dist/questions/question.js +2 -1
  27. package/dist/questions/tableQuestions.d.ts +2124 -145
  28. package/dist/questions/tableQuestions.js +7 -3
  29. package/dist/schemas/anyAnswer.schema.json +144 -119
  30. package/dist/schemas/anyQuestion.schema.json +148 -137
  31. package/dist/schemas/anyTableColumnAnswer.schema.json +1 -1
  32. package/dist/schemas/anyTableColumnQuestion.schema.json +2 -3
  33. package/dist/schemas/dateAnswer.schema.json +37 -0
  34. package/dist/schemas/datePickerAnswer.schema.json +4 -4
  35. package/dist/schemas/datePickerQuestion.schema.json +6 -5
  36. package/dist/schemas/dateQuestion.schema.json +51 -0
  37. package/dist/schemas/dateRangeQuestion.schema.json +1 -1
  38. package/dist/schemas/filteredSearchQuestion.schema.json +1 -2
  39. package/dist/schemas/numberRangeAnswer.schema.json +50 -0
  40. package/dist/schemas/numberRangeQuestion.schema.json +106 -0
  41. package/dist/schemas/tableAnswer.schema.json +349 -324
  42. package/dist/schemas/tableQuestion.schema.json +491 -480
  43. package/package.json +1 -1
@@ -182,7 +182,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
182
182
  labelTranslationKey?: string | undefined;
183
183
  }>;
184
184
  } & {
185
- type: z.ZodLiteral<"datePicker">;
185
+ type: z.ZodLiteral<"date">;
186
186
  attributes: z.ZodOptional<z.ZodObject<{
187
187
  max: z.ZodOptional<z.ZodString>;
188
188
  min: z.ZodOptional<z.ZodString>;
@@ -197,7 +197,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
197
197
  step?: number | undefined;
198
198
  }>>;
199
199
  }, "strip", z.ZodTypeAny, {
200
- type: "datePicker";
200
+ type: "date";
201
201
  meta: {
202
202
  schemaVersion: "1.0";
203
203
  labelTranslationKey?: string | undefined;
@@ -208,7 +208,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
208
208
  step?: number | undefined;
209
209
  } | undefined;
210
210
  }, {
211
- type: "datePicker";
211
+ type: "date";
212
212
  meta: {
213
213
  schemaVersion: "1.0";
214
214
  labelTranslationKey?: string | undefined;
@@ -243,7 +243,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
243
243
  schemaVersion: "1.0";
244
244
  labelTranslationKey?: string | undefined;
245
245
  }>;
246
- type: z.ZodLiteral<"datePicker">;
246
+ type: z.ZodLiteral<"date">;
247
247
  } & {
248
248
  attributes: z.ZodObject<{
249
249
  label: z.ZodString;
@@ -253,7 +253,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
253
253
  label: string;
254
254
  }>;
255
255
  }, "strip", z.ZodTypeAny, {
256
- type: "datePicker";
256
+ type: "date";
257
257
  meta: {
258
258
  schemaVersion: "1.0";
259
259
  labelTranslationKey?: string | undefined;
@@ -262,7 +262,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
262
262
  label: string;
263
263
  };
264
264
  }, {
265
- type: "datePicker";
265
+ type: "date";
266
266
  meta: {
267
267
  schemaVersion: "1.0";
268
268
  labelTranslationKey?: string | undefined;
@@ -282,7 +282,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
282
282
  schemaVersion: "1.0";
283
283
  labelTranslationKey?: string | undefined;
284
284
  }>;
285
- type: z.ZodLiteral<"datePicker">;
285
+ type: z.ZodLiteral<"date">;
286
286
  } & {
287
287
  attributes: z.ZodObject<{
288
288
  label: z.ZodString;
@@ -292,7 +292,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
292
292
  label: string;
293
293
  }>;
294
294
  }, "strip", z.ZodTypeAny, {
295
- type: "datePicker";
295
+ type: "date";
296
296
  meta: {
297
297
  schemaVersion: "1.0";
298
298
  labelTranslationKey?: string | undefined;
@@ -301,7 +301,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
301
301
  label: string;
302
302
  };
303
303
  }, {
304
- type: "datePicker";
304
+ type: "date";
305
305
  meta: {
306
306
  schemaVersion: "1.0";
307
307
  labelTranslationKey?: string | undefined;
@@ -312,7 +312,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
312
312
  }>;
313
313
  }, "strip", z.ZodTypeAny, {
314
314
  start: {
315
- type: "datePicker";
315
+ type: "date";
316
316
  meta: {
317
317
  schemaVersion: "1.0";
318
318
  labelTranslationKey?: string | undefined;
@@ -322,7 +322,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
322
322
  };
323
323
  };
324
324
  end: {
325
- type: "datePicker";
325
+ type: "date";
326
326
  meta: {
327
327
  schemaVersion: "1.0";
328
328
  labelTranslationKey?: string | undefined;
@@ -333,7 +333,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
333
333
  };
334
334
  }, {
335
335
  start: {
336
- type: "datePicker";
336
+ type: "date";
337
337
  meta: {
338
338
  schemaVersion: "1.0";
339
339
  labelTranslationKey?: string | undefined;
@@ -343,7 +343,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
343
343
  };
344
344
  };
345
345
  end: {
346
- type: "datePicker";
346
+ type: "date";
347
347
  meta: {
348
348
  schemaVersion: "1.0";
349
349
  labelTranslationKey?: string | undefined;
@@ -361,7 +361,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
361
361
  };
362
362
  columns: {
363
363
  start: {
364
- type: "datePicker";
364
+ type: "date";
365
365
  meta: {
366
366
  schemaVersion: "1.0";
367
367
  labelTranslationKey?: string | undefined;
@@ -371,7 +371,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
371
371
  };
372
372
  };
373
373
  end: {
374
- type: "datePicker";
374
+ type: "date";
375
375
  meta: {
376
376
  schemaVersion: "1.0";
377
377
  labelTranslationKey?: string | undefined;
@@ -389,7 +389,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
389
389
  };
390
390
  columns: {
391
391
  start: {
392
- type: "datePicker";
392
+ type: "date";
393
393
  meta: {
394
394
  schemaVersion: "1.0";
395
395
  labelTranslationKey?: string | undefined;
@@ -399,7 +399,7 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
399
399
  };
400
400
  };
401
401
  end: {
402
- type: "datePicker";
402
+ type: "date";
403
403
  meta: {
404
404
  schemaVersion: "1.0";
405
405
  labelTranslationKey?: string | undefined;
@@ -503,15 +503,15 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
503
503
  type: string;
504
504
  name: string;
505
505
  labelTranslationKey?: string | undefined;
506
- minLength?: number | undefined;
507
506
  label?: string | undefined;
507
+ minLength?: number | undefined;
508
508
  defaultValue?: string | undefined;
509
509
  }, {
510
510
  type: string;
511
511
  name: string;
512
512
  labelTranslationKey?: string | undefined;
513
- minLength?: number | undefined;
514
513
  label?: string | undefined;
514
+ minLength?: number | undefined;
515
515
  defaultValue?: string | undefined;
516
516
  }>, "many">>;
517
517
  }, "strip", z.ZodTypeAny, {
@@ -527,8 +527,8 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
527
527
  type: string;
528
528
  name: string;
529
529
  labelTranslationKey?: string | undefined;
530
- minLength?: number | undefined;
531
530
  label?: string | undefined;
531
+ minLength?: number | undefined;
532
532
  defaultValue?: string | undefined;
533
533
  }[] | undefined;
534
534
  }, {
@@ -544,27 +544,24 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
544
544
  type: string;
545
545
  name: string;
546
546
  labelTranslationKey?: string | undefined;
547
- minLength?: number | undefined;
548
547
  label?: string | undefined;
548
+ minLength?: number | undefined;
549
549
  defaultValue?: string | undefined;
550
550
  }[] | undefined;
551
551
  }>;
552
- attributes: z.ZodObject<{
552
+ attributes: z.ZodOptional<z.ZodObject<{
553
553
  multiple: z.ZodOptional<z.ZodBoolean>;
554
554
  }, "strip", z.ZodTypeAny, {
555
555
  multiple?: boolean | undefined;
556
556
  }, {
557
557
  multiple?: boolean | undefined;
558
- }>;
558
+ }>>;
559
559
  }, "strip", z.ZodTypeAny, {
560
560
  type: "filteredSearch";
561
561
  meta: {
562
562
  schemaVersion: "1.0";
563
563
  labelTranslationKey?: string | undefined;
564
564
  };
565
- attributes: {
566
- multiple?: boolean | undefined;
567
- };
568
565
  graphQL: {
569
566
  displayFields: {
570
567
  label: string;
@@ -578,20 +575,20 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
578
575
  type: string;
579
576
  name: string;
580
577
  labelTranslationKey?: string | undefined;
581
- minLength?: number | undefined;
582
578
  label?: string | undefined;
579
+ minLength?: number | undefined;
583
580
  defaultValue?: string | undefined;
584
581
  }[] | undefined;
585
582
  };
583
+ attributes?: {
584
+ multiple?: boolean | undefined;
585
+ } | undefined;
586
586
  }, {
587
587
  type: "filteredSearch";
588
588
  meta: {
589
589
  schemaVersion: "1.0";
590
590
  labelTranslationKey?: string | undefined;
591
591
  };
592
- attributes: {
593
- multiple?: boolean | undefined;
594
- };
595
592
  graphQL: {
596
593
  displayFields: {
597
594
  label: string;
@@ -605,11 +602,14 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
605
602
  type: string;
606
603
  name: string;
607
604
  labelTranslationKey?: string | undefined;
608
- minLength?: number | undefined;
609
605
  label?: string | undefined;
606
+ minLength?: number | undefined;
610
607
  defaultValue?: string | undefined;
611
608
  }[] | undefined;
612
609
  };
610
+ attributes?: {
611
+ multiple?: boolean | undefined;
612
+ } | undefined;
613
613
  }>, z.ZodObject<{
614
614
  meta: z.ZodObject<{
615
615
  schemaVersion: z.ZodLiteral<"1.0">;
@@ -828,1105 +828,1542 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
828
828
  }>;
829
829
  } & {
830
830
  type: z.ZodLiteral<"table">;
831
- columns: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
832
- meta: z.ZodObject<{
833
- schemaVersion: z.ZodLiteral<"1.0">;
834
- labelTranslationKey: z.ZodOptional<z.ZodString>;
835
- }, "strip", z.ZodTypeAny, {
836
- schemaVersion: "1.0";
837
- labelTranslationKey?: string | undefined;
838
- }, {
839
- schemaVersion: "1.0";
840
- labelTranslationKey?: string | undefined;
841
- }>;
842
- } & {
843
- type: z.ZodLiteral<"boolean">;
844
- attributes: z.ZodOptional<z.ZodObject<{
845
- checked: z.ZodOptional<z.ZodBoolean>;
846
- }, "strip", z.ZodTypeAny, {
847
- checked?: boolean | undefined;
848
- }, {
849
- checked?: boolean | undefined;
850
- }>>;
851
- }, "strip", z.ZodTypeAny, {
852
- type: "boolean";
853
- meta: {
854
- schemaVersion: "1.0";
855
- labelTranslationKey?: string | undefined;
856
- };
857
- attributes?: {
858
- checked?: boolean | undefined;
859
- } | undefined;
860
- }, {
861
- type: "boolean";
862
- meta: {
863
- schemaVersion: "1.0";
864
- labelTranslationKey?: string | undefined;
865
- };
866
- attributes?: {
867
- checked?: boolean | undefined;
868
- } | undefined;
869
- }>, z.ZodObject<{
870
- meta: z.ZodObject<{
871
- schemaVersion: z.ZodLiteral<"1.0">;
872
- labelTranslationKey: z.ZodOptional<z.ZodString>;
873
- }, "strip", z.ZodTypeAny, {
874
- schemaVersion: "1.0";
875
- labelTranslationKey?: string | undefined;
876
- }, {
877
- schemaVersion: "1.0";
878
- labelTranslationKey?: string | undefined;
879
- }>;
880
- } & {
881
- type: z.ZodLiteral<"checkBoxes">;
882
- options: z.ZodArray<z.ZodObject<{
883
- type: z.ZodLiteral<"option">;
884
- attributes: z.ZodObject<{
885
- label: z.ZodString;
886
- value: z.ZodString;
887
- } & {
831
+ columns: z.ZodArray<z.ZodObject<{
832
+ heading: z.ZodOptional<z.ZodString>;
833
+ content: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
834
+ meta: z.ZodObject<{
835
+ schemaVersion: z.ZodLiteral<"1.0">;
836
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
837
+ }, "strip", z.ZodTypeAny, {
838
+ schemaVersion: "1.0";
839
+ labelTranslationKey?: string | undefined;
840
+ }, {
841
+ schemaVersion: "1.0";
842
+ labelTranslationKey?: string | undefined;
843
+ }>;
844
+ } & {
845
+ type: z.ZodLiteral<"boolean">;
846
+ attributes: z.ZodOptional<z.ZodObject<{
888
847
  checked: z.ZodOptional<z.ZodBoolean>;
889
848
  }, "strip", z.ZodTypeAny, {
890
- value: string;
891
- label: string;
892
849
  checked?: boolean | undefined;
893
850
  }, {
894
- value: string;
895
- label: string;
896
851
  checked?: boolean | undefined;
897
- }>;
852
+ }>>;
898
853
  }, "strip", z.ZodTypeAny, {
899
- type: "option";
900
- attributes: {
901
- value: string;
902
- label: string;
903
- checked?: boolean | undefined;
904
- };
905
- }, {
906
- type: "option";
907
- attributes: {
908
- value: string;
909
- label: string;
910
- checked?: boolean | undefined;
854
+ type: "boolean";
855
+ meta: {
856
+ schemaVersion: "1.0";
857
+ labelTranslationKey?: string | undefined;
911
858
  };
912
- }>, "many">;
913
- }, "strip", z.ZodTypeAny, {
914
- type: "checkBoxes";
915
- options: {
916
- type: "option";
917
- attributes: {
918
- value: string;
919
- label: string;
859
+ attributes?: {
920
860
  checked?: boolean | undefined;
861
+ } | undefined;
862
+ }, {
863
+ type: "boolean";
864
+ meta: {
865
+ schemaVersion: "1.0";
866
+ labelTranslationKey?: string | undefined;
921
867
  };
922
- }[];
923
- meta: {
924
- schemaVersion: "1.0";
925
- labelTranslationKey?: string | undefined;
926
- };
927
- }, {
928
- type: "checkBoxes";
929
- options: {
930
- type: "option";
931
- attributes: {
932
- value: string;
933
- label: string;
868
+ attributes?: {
934
869
  checked?: boolean | undefined;
935
- };
936
- }[];
937
- meta: {
938
- schemaVersion: "1.0";
939
- labelTranslationKey?: string | undefined;
940
- };
941
- }>, z.ZodObject<{
942
- attributes: z.ZodOptional<z.ZodObject<{
943
- max: z.ZodOptional<z.ZodNumber>;
944
- min: z.ZodOptional<z.ZodNumber>;
945
- step: z.ZodOptional<z.ZodNumber>;
946
- }, "strip", z.ZodTypeAny, {
947
- max?: number | undefined;
948
- min?: number | undefined;
949
- step?: number | undefined;
950
- }, {
951
- max?: number | undefined;
952
- min?: number | undefined;
953
- step?: number | undefined;
954
- }>>;
955
- } & {
956
- type: z.ZodLiteral<"currency">;
957
- meta: z.ZodObject<{
958
- schemaVersion: z.ZodLiteral<"1.0">;
959
- labelTranslationKey: z.ZodOptional<z.ZodString>;
870
+ } | undefined;
871
+ }>, z.ZodObject<{
872
+ meta: z.ZodObject<{
873
+ schemaVersion: z.ZodLiteral<"1.0">;
874
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
875
+ }, "strip", z.ZodTypeAny, {
876
+ schemaVersion: "1.0";
877
+ labelTranslationKey?: string | undefined;
878
+ }, {
879
+ schemaVersion: "1.0";
880
+ labelTranslationKey?: string | undefined;
881
+ }>;
960
882
  } & {
961
- denomination: z.ZodOptional<z.ZodString>;
962
- }, "strip", z.ZodTypeAny, {
963
- schemaVersion: "1.0";
964
- labelTranslationKey?: string | undefined;
965
- denomination?: string | undefined;
966
- }, {
967
- schemaVersion: "1.0";
968
- labelTranslationKey?: string | undefined;
969
- denomination?: string | undefined;
970
- }>;
971
- }, "strip", z.ZodTypeAny, {
972
- type: "currency";
973
- meta: {
974
- schemaVersion: "1.0";
975
- labelTranslationKey?: string | undefined;
976
- denomination?: string | undefined;
977
- };
978
- attributes?: {
979
- max?: number | undefined;
980
- min?: number | undefined;
981
- step?: number | undefined;
982
- } | undefined;
983
- }, {
984
- type: "currency";
985
- meta: {
986
- schemaVersion: "1.0";
987
- labelTranslationKey?: string | undefined;
988
- denomination?: string | undefined;
989
- };
990
- attributes?: {
991
- max?: number | undefined;
992
- min?: number | undefined;
993
- step?: number | undefined;
994
- } | undefined;
995
- }>, z.ZodObject<{
996
- meta: z.ZodObject<{
997
- schemaVersion: z.ZodLiteral<"1.0">;
998
- labelTranslationKey: z.ZodOptional<z.ZodString>;
999
- }, "strip", z.ZodTypeAny, {
1000
- schemaVersion: "1.0";
1001
- labelTranslationKey?: string | undefined;
1002
- }, {
1003
- schemaVersion: "1.0";
1004
- labelTranslationKey?: string | undefined;
1005
- }>;
1006
- } & {
1007
- type: z.ZodLiteral<"datePicker">;
1008
- attributes: z.ZodOptional<z.ZodObject<{
1009
- max: z.ZodOptional<z.ZodString>;
1010
- min: z.ZodOptional<z.ZodString>;
1011
- step: z.ZodOptional<z.ZodNumber>;
1012
- }, "strip", z.ZodTypeAny, {
1013
- max?: string | undefined;
1014
- min?: string | undefined;
1015
- step?: number | undefined;
1016
- }, {
1017
- max?: string | undefined;
1018
- min?: string | undefined;
1019
- step?: number | undefined;
1020
- }>>;
1021
- }, "strip", z.ZodTypeAny, {
1022
- type: "datePicker";
1023
- meta: {
1024
- schemaVersion: "1.0";
1025
- labelTranslationKey?: string | undefined;
1026
- };
1027
- attributes?: {
1028
- max?: string | undefined;
1029
- min?: string | undefined;
1030
- step?: number | undefined;
1031
- } | undefined;
1032
- }, {
1033
- type: "datePicker";
1034
- meta: {
1035
- schemaVersion: "1.0";
1036
- labelTranslationKey?: string | undefined;
1037
- };
1038
- attributes?: {
1039
- max?: string | undefined;
1040
- min?: string | undefined;
1041
- step?: number | undefined;
1042
- } | undefined;
1043
- }>, z.ZodObject<{
1044
- meta: z.ZodObject<{
1045
- schemaVersion: z.ZodLiteral<"1.0">;
1046
- labelTranslationKey: z.ZodOptional<z.ZodString>;
1047
- }, "strip", z.ZodTypeAny, {
1048
- schemaVersion: "1.0";
1049
- labelTranslationKey?: string | undefined;
1050
- }, {
1051
- schemaVersion: "1.0";
1052
- labelTranslationKey?: string | undefined;
1053
- }>;
1054
- } & {
1055
- type: z.ZodLiteral<"dateRange">;
1056
- columns: z.ZodObject<{
1057
- start: z.ZodObject<{
1058
- meta: z.ZodObject<{
1059
- schemaVersion: z.ZodLiteral<"1.0">;
1060
- labelTranslationKey: z.ZodOptional<z.ZodString>;
1061
- }, "strip", z.ZodTypeAny, {
1062
- schemaVersion: "1.0";
1063
- labelTranslationKey?: string | undefined;
1064
- }, {
1065
- schemaVersion: "1.0";
1066
- labelTranslationKey?: string | undefined;
1067
- }>;
1068
- type: z.ZodLiteral<"datePicker">;
1069
- } & {
883
+ type: z.ZodLiteral<"checkBoxes">;
884
+ options: z.ZodArray<z.ZodObject<{
885
+ type: z.ZodLiteral<"option">;
1070
886
  attributes: z.ZodObject<{
1071
887
  label: z.ZodString;
888
+ value: z.ZodString;
889
+ } & {
890
+ checked: z.ZodOptional<z.ZodBoolean>;
1072
891
  }, "strip", z.ZodTypeAny, {
892
+ value: string;
1073
893
  label: string;
894
+ checked?: boolean | undefined;
1074
895
  }, {
896
+ value: string;
1075
897
  label: string;
898
+ checked?: boolean | undefined;
1076
899
  }>;
1077
900
  }, "strip", z.ZodTypeAny, {
1078
- type: "datePicker";
1079
- meta: {
1080
- schemaVersion: "1.0";
1081
- labelTranslationKey?: string | undefined;
1082
- };
901
+ type: "option";
1083
902
  attributes: {
903
+ value: string;
1084
904
  label: string;
905
+ checked?: boolean | undefined;
1085
906
  };
1086
907
  }, {
1087
- type: "datePicker";
1088
- meta: {
1089
- schemaVersion: "1.0";
1090
- labelTranslationKey?: string | undefined;
908
+ type: "option";
909
+ attributes: {
910
+ value: string;
911
+ label: string;
912
+ checked?: boolean | undefined;
913
+ };
914
+ }>, "many">;
915
+ }, "strip", z.ZodTypeAny, {
916
+ type: "checkBoxes";
917
+ options: {
918
+ type: "option";
919
+ attributes: {
920
+ value: string;
921
+ label: string;
922
+ checked?: boolean | undefined;
1091
923
  };
924
+ }[];
925
+ meta: {
926
+ schemaVersion: "1.0";
927
+ labelTranslationKey?: string | undefined;
928
+ };
929
+ }, {
930
+ type: "checkBoxes";
931
+ options: {
932
+ type: "option";
1092
933
  attributes: {
934
+ value: string;
1093
935
  label: string;
936
+ checked?: boolean | undefined;
1094
937
  };
938
+ }[];
939
+ meta: {
940
+ schemaVersion: "1.0";
941
+ labelTranslationKey?: string | undefined;
942
+ };
943
+ }>, z.ZodObject<{
944
+ attributes: z.ZodOptional<z.ZodObject<{
945
+ max: z.ZodOptional<z.ZodNumber>;
946
+ min: z.ZodOptional<z.ZodNumber>;
947
+ step: z.ZodOptional<z.ZodNumber>;
948
+ }, "strip", z.ZodTypeAny, {
949
+ max?: number | undefined;
950
+ min?: number | undefined;
951
+ step?: number | undefined;
952
+ }, {
953
+ max?: number | undefined;
954
+ min?: number | undefined;
955
+ step?: number | undefined;
956
+ }>>;
957
+ } & {
958
+ type: z.ZodLiteral<"currency">;
959
+ meta: z.ZodObject<{
960
+ schemaVersion: z.ZodLiteral<"1.0">;
961
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
962
+ } & {
963
+ denomination: z.ZodOptional<z.ZodString>;
964
+ }, "strip", z.ZodTypeAny, {
965
+ schemaVersion: "1.0";
966
+ labelTranslationKey?: string | undefined;
967
+ denomination?: string | undefined;
968
+ }, {
969
+ schemaVersion: "1.0";
970
+ labelTranslationKey?: string | undefined;
971
+ denomination?: string | undefined;
1095
972
  }>;
1096
- end: z.ZodObject<{
1097
- meta: z.ZodObject<{
1098
- schemaVersion: z.ZodLiteral<"1.0">;
1099
- labelTranslationKey: z.ZodOptional<z.ZodString>;
973
+ }, "strip", z.ZodTypeAny, {
974
+ type: "currency";
975
+ meta: {
976
+ schemaVersion: "1.0";
977
+ labelTranslationKey?: string | undefined;
978
+ denomination?: string | undefined;
979
+ };
980
+ attributes?: {
981
+ max?: number | undefined;
982
+ min?: number | undefined;
983
+ step?: number | undefined;
984
+ } | undefined;
985
+ }, {
986
+ type: "currency";
987
+ meta: {
988
+ schemaVersion: "1.0";
989
+ labelTranslationKey?: string | undefined;
990
+ denomination?: string | undefined;
991
+ };
992
+ attributes?: {
993
+ max?: number | undefined;
994
+ min?: number | undefined;
995
+ step?: number | undefined;
996
+ } | undefined;
997
+ }>, z.ZodObject<{
998
+ meta: z.ZodObject<{
999
+ schemaVersion: z.ZodLiteral<"1.0">;
1000
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
1001
+ }, "strip", z.ZodTypeAny, {
1002
+ schemaVersion: "1.0";
1003
+ labelTranslationKey?: string | undefined;
1004
+ }, {
1005
+ schemaVersion: "1.0";
1006
+ labelTranslationKey?: string | undefined;
1007
+ }>;
1008
+ } & {
1009
+ type: z.ZodLiteral<"date">;
1010
+ attributes: z.ZodOptional<z.ZodObject<{
1011
+ max: z.ZodOptional<z.ZodString>;
1012
+ min: z.ZodOptional<z.ZodString>;
1013
+ step: z.ZodOptional<z.ZodNumber>;
1014
+ }, "strip", z.ZodTypeAny, {
1015
+ max?: string | undefined;
1016
+ min?: string | undefined;
1017
+ step?: number | undefined;
1018
+ }, {
1019
+ max?: string | undefined;
1020
+ min?: string | undefined;
1021
+ step?: number | undefined;
1022
+ }>>;
1023
+ }, "strip", z.ZodTypeAny, {
1024
+ type: "date";
1025
+ meta: {
1026
+ schemaVersion: "1.0";
1027
+ labelTranslationKey?: string | undefined;
1028
+ };
1029
+ attributes?: {
1030
+ max?: string | undefined;
1031
+ min?: string | undefined;
1032
+ step?: number | undefined;
1033
+ } | undefined;
1034
+ }, {
1035
+ type: "date";
1036
+ meta: {
1037
+ schemaVersion: "1.0";
1038
+ labelTranslationKey?: string | undefined;
1039
+ };
1040
+ attributes?: {
1041
+ max?: string | undefined;
1042
+ min?: string | undefined;
1043
+ step?: number | undefined;
1044
+ } | undefined;
1045
+ }>, z.ZodObject<{
1046
+ meta: z.ZodObject<{
1047
+ schemaVersion: z.ZodLiteral<"1.0">;
1048
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
1049
+ }, "strip", z.ZodTypeAny, {
1050
+ schemaVersion: "1.0";
1051
+ labelTranslationKey?: string | undefined;
1052
+ }, {
1053
+ schemaVersion: "1.0";
1054
+ labelTranslationKey?: string | undefined;
1055
+ }>;
1056
+ } & {
1057
+ type: z.ZodLiteral<"dateRange">;
1058
+ columns: z.ZodObject<{
1059
+ start: z.ZodObject<{
1060
+ meta: z.ZodObject<{
1061
+ schemaVersion: z.ZodLiteral<"1.0">;
1062
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
1063
+ }, "strip", z.ZodTypeAny, {
1064
+ schemaVersion: "1.0";
1065
+ labelTranslationKey?: string | undefined;
1066
+ }, {
1067
+ schemaVersion: "1.0";
1068
+ labelTranslationKey?: string | undefined;
1069
+ }>;
1070
+ type: z.ZodLiteral<"date">;
1071
+ } & {
1072
+ attributes: z.ZodObject<{
1073
+ label: z.ZodString;
1074
+ }, "strip", z.ZodTypeAny, {
1075
+ label: string;
1076
+ }, {
1077
+ label: string;
1078
+ }>;
1100
1079
  }, "strip", z.ZodTypeAny, {
1101
- schemaVersion: "1.0";
1102
- labelTranslationKey?: string | undefined;
1080
+ type: "date";
1081
+ meta: {
1082
+ schemaVersion: "1.0";
1083
+ labelTranslationKey?: string | undefined;
1084
+ };
1085
+ attributes: {
1086
+ label: string;
1087
+ };
1103
1088
  }, {
1104
- schemaVersion: "1.0";
1105
- labelTranslationKey?: string | undefined;
1089
+ type: "date";
1090
+ meta: {
1091
+ schemaVersion: "1.0";
1092
+ labelTranslationKey?: string | undefined;
1093
+ };
1094
+ attributes: {
1095
+ label: string;
1096
+ };
1106
1097
  }>;
1107
- type: z.ZodLiteral<"datePicker">;
1108
- } & {
1109
- attributes: z.ZodObject<{
1110
- label: z.ZodString;
1098
+ end: z.ZodObject<{
1099
+ meta: z.ZodObject<{
1100
+ schemaVersion: z.ZodLiteral<"1.0">;
1101
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
1102
+ }, "strip", z.ZodTypeAny, {
1103
+ schemaVersion: "1.0";
1104
+ labelTranslationKey?: string | undefined;
1105
+ }, {
1106
+ schemaVersion: "1.0";
1107
+ labelTranslationKey?: string | undefined;
1108
+ }>;
1109
+ type: z.ZodLiteral<"date">;
1110
+ } & {
1111
+ attributes: z.ZodObject<{
1112
+ label: z.ZodString;
1113
+ }, "strip", z.ZodTypeAny, {
1114
+ label: string;
1115
+ }, {
1116
+ label: string;
1117
+ }>;
1111
1118
  }, "strip", z.ZodTypeAny, {
1112
- label: string;
1119
+ type: "date";
1120
+ meta: {
1121
+ schemaVersion: "1.0";
1122
+ labelTranslationKey?: string | undefined;
1123
+ };
1124
+ attributes: {
1125
+ label: string;
1126
+ };
1113
1127
  }, {
1114
- label: string;
1128
+ type: "date";
1129
+ meta: {
1130
+ schemaVersion: "1.0";
1131
+ labelTranslationKey?: string | undefined;
1132
+ };
1133
+ attributes: {
1134
+ label: string;
1135
+ };
1115
1136
  }>;
1116
1137
  }, "strip", z.ZodTypeAny, {
1117
- type: "datePicker";
1118
- meta: {
1119
- schemaVersion: "1.0";
1120
- labelTranslationKey?: string | undefined;
1138
+ start: {
1139
+ type: "date";
1140
+ meta: {
1141
+ schemaVersion: "1.0";
1142
+ labelTranslationKey?: string | undefined;
1143
+ };
1144
+ attributes: {
1145
+ label: string;
1146
+ };
1121
1147
  };
1122
- attributes: {
1123
- label: string;
1148
+ end: {
1149
+ type: "date";
1150
+ meta: {
1151
+ schemaVersion: "1.0";
1152
+ labelTranslationKey?: string | undefined;
1153
+ };
1154
+ attributes: {
1155
+ label: string;
1156
+ };
1124
1157
  };
1125
1158
  }, {
1126
- type: "datePicker";
1127
- meta: {
1128
- schemaVersion: "1.0";
1129
- labelTranslationKey?: string | undefined;
1159
+ start: {
1160
+ type: "date";
1161
+ meta: {
1162
+ schemaVersion: "1.0";
1163
+ labelTranslationKey?: string | undefined;
1164
+ };
1165
+ attributes: {
1166
+ label: string;
1167
+ };
1130
1168
  };
1131
- attributes: {
1132
- label: string;
1169
+ end: {
1170
+ type: "date";
1171
+ meta: {
1172
+ schemaVersion: "1.0";
1173
+ labelTranslationKey?: string | undefined;
1174
+ };
1175
+ attributes: {
1176
+ label: string;
1177
+ };
1133
1178
  };
1134
1179
  }>;
1135
1180
  }, "strip", z.ZodTypeAny, {
1136
- start: {
1137
- type: "datePicker";
1138
- meta: {
1139
- schemaVersion: "1.0";
1140
- labelTranslationKey?: string | undefined;
1141
- };
1142
- attributes: {
1143
- label: string;
1144
- };
1181
+ type: "dateRange";
1182
+ meta: {
1183
+ schemaVersion: "1.0";
1184
+ labelTranslationKey?: string | undefined;
1145
1185
  };
1146
- end: {
1147
- type: "datePicker";
1148
- meta: {
1149
- schemaVersion: "1.0";
1150
- labelTranslationKey?: string | undefined;
1186
+ columns: {
1187
+ start: {
1188
+ type: "date";
1189
+ meta: {
1190
+ schemaVersion: "1.0";
1191
+ labelTranslationKey?: string | undefined;
1192
+ };
1193
+ attributes: {
1194
+ label: string;
1195
+ };
1151
1196
  };
1152
- attributes: {
1153
- label: string;
1197
+ end: {
1198
+ type: "date";
1199
+ meta: {
1200
+ schemaVersion: "1.0";
1201
+ labelTranslationKey?: string | undefined;
1202
+ };
1203
+ attributes: {
1204
+ label: string;
1205
+ };
1154
1206
  };
1155
1207
  };
1156
1208
  }, {
1157
- start: {
1158
- type: "datePicker";
1159
- meta: {
1160
- schemaVersion: "1.0";
1161
- labelTranslationKey?: string | undefined;
1209
+ type: "dateRange";
1210
+ meta: {
1211
+ schemaVersion: "1.0";
1212
+ labelTranslationKey?: string | undefined;
1213
+ };
1214
+ columns: {
1215
+ start: {
1216
+ type: "date";
1217
+ meta: {
1218
+ schemaVersion: "1.0";
1219
+ labelTranslationKey?: string | undefined;
1220
+ };
1221
+ attributes: {
1222
+ label: string;
1223
+ };
1162
1224
  };
1163
- attributes: {
1164
- label: string;
1225
+ end: {
1226
+ type: "date";
1227
+ meta: {
1228
+ schemaVersion: "1.0";
1229
+ labelTranslationKey?: string | undefined;
1230
+ };
1231
+ attributes: {
1232
+ label: string;
1233
+ };
1165
1234
  };
1166
1235
  };
1167
- end: {
1168
- type: "datePicker";
1169
- meta: {
1170
- schemaVersion: "1.0";
1236
+ }>, z.ZodObject<{
1237
+ meta: z.ZodObject<{
1238
+ schemaVersion: z.ZodLiteral<"1.0">;
1239
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
1240
+ }, "strip", z.ZodTypeAny, {
1241
+ schemaVersion: "1.0";
1242
+ labelTranslationKey?: string | undefined;
1243
+ }, {
1244
+ schemaVersion: "1.0";
1245
+ labelTranslationKey?: string | undefined;
1246
+ }>;
1247
+ } & {
1248
+ type: z.ZodLiteral<"email">;
1249
+ attributes: z.ZodOptional<z.ZodObject<{
1250
+ maxLength: z.ZodOptional<z.ZodNumber>;
1251
+ minLength: z.ZodOptional<z.ZodNumber>;
1252
+ multiple: z.ZodOptional<z.ZodBoolean>;
1253
+ pattern: z.ZodOptional<z.ZodString>;
1254
+ }, "strip", z.ZodTypeAny, {
1255
+ maxLength?: number | undefined;
1256
+ minLength?: number | undefined;
1257
+ multiple?: boolean | undefined;
1258
+ pattern?: string | undefined;
1259
+ }, {
1260
+ maxLength?: number | undefined;
1261
+ minLength?: number | undefined;
1262
+ multiple?: boolean | undefined;
1263
+ pattern?: string | undefined;
1264
+ }>>;
1265
+ }, "strip", z.ZodTypeAny, {
1266
+ type: "email";
1267
+ meta: {
1268
+ schemaVersion: "1.0";
1269
+ labelTranslationKey?: string | undefined;
1270
+ };
1271
+ attributes?: {
1272
+ maxLength?: number | undefined;
1273
+ minLength?: number | undefined;
1274
+ multiple?: boolean | undefined;
1275
+ pattern?: string | undefined;
1276
+ } | undefined;
1277
+ }, {
1278
+ type: "email";
1279
+ meta: {
1280
+ schemaVersion: "1.0";
1281
+ labelTranslationKey?: string | undefined;
1282
+ };
1283
+ attributes?: {
1284
+ maxLength?: number | undefined;
1285
+ minLength?: number | undefined;
1286
+ multiple?: boolean | undefined;
1287
+ pattern?: string | undefined;
1288
+ } | undefined;
1289
+ }>, z.ZodObject<{
1290
+ meta: z.ZodObject<{
1291
+ schemaVersion: z.ZodLiteral<"1.0">;
1292
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
1293
+ }, "strip", z.ZodTypeAny, {
1294
+ schemaVersion: "1.0";
1295
+ labelTranslationKey?: string | undefined;
1296
+ }, {
1297
+ schemaVersion: "1.0";
1298
+ labelTranslationKey?: string | undefined;
1299
+ }>;
1300
+ } & {
1301
+ type: z.ZodLiteral<"filteredSearch">;
1302
+ graphQL: z.ZodObject<{
1303
+ displayFields: z.ZodArray<z.ZodObject<{
1304
+ propertyName: z.ZodString;
1305
+ label: z.ZodString;
1306
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
1307
+ }, "strip", z.ZodTypeAny, {
1308
+ label: string;
1309
+ propertyName: string;
1171
1310
  labelTranslationKey?: string | undefined;
1172
- };
1173
- attributes: {
1311
+ }, {
1174
1312
  label: string;
1175
- };
1176
- };
1177
- }>;
1178
- }, "strip", z.ZodTypeAny, {
1179
- type: "dateRange";
1180
- meta: {
1181
- schemaVersion: "1.0";
1182
- labelTranslationKey?: string | undefined;
1183
- };
1184
- columns: {
1185
- start: {
1186
- type: "datePicker";
1187
- meta: {
1188
- schemaVersion: "1.0";
1313
+ propertyName: string;
1189
1314
  labelTranslationKey?: string | undefined;
1190
- };
1191
- attributes: {
1315
+ }>, "many">;
1316
+ localQueryId: z.ZodOptional<z.ZodString>;
1317
+ query: z.ZodOptional<z.ZodString>;
1318
+ responseField: z.ZodString;
1319
+ variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
1320
+ minLength: z.ZodOptional<z.ZodNumber>;
1321
+ label: z.ZodOptional<z.ZodString>;
1322
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
1323
+ name: z.ZodString;
1324
+ type: z.ZodString;
1325
+ defaultValue: z.ZodOptional<z.ZodString>;
1326
+ }, "strip", z.ZodTypeAny, {
1327
+ type: string;
1328
+ name: string;
1329
+ labelTranslationKey?: string | undefined;
1330
+ label?: string | undefined;
1331
+ minLength?: number | undefined;
1332
+ defaultValue?: string | undefined;
1333
+ }, {
1334
+ type: string;
1335
+ name: string;
1336
+ labelTranslationKey?: string | undefined;
1337
+ label?: string | undefined;
1338
+ minLength?: number | undefined;
1339
+ defaultValue?: string | undefined;
1340
+ }>, "many">>;
1341
+ }, "strip", z.ZodTypeAny, {
1342
+ displayFields: {
1192
1343
  label: string;
1193
- };
1344
+ propertyName: string;
1345
+ labelTranslationKey?: string | undefined;
1346
+ }[];
1347
+ responseField: string;
1348
+ localQueryId?: string | undefined;
1349
+ query?: string | undefined;
1350
+ variables?: {
1351
+ type: string;
1352
+ name: string;
1353
+ labelTranslationKey?: string | undefined;
1354
+ label?: string | undefined;
1355
+ minLength?: number | undefined;
1356
+ defaultValue?: string | undefined;
1357
+ }[] | undefined;
1358
+ }, {
1359
+ displayFields: {
1360
+ label: string;
1361
+ propertyName: string;
1362
+ labelTranslationKey?: string | undefined;
1363
+ }[];
1364
+ responseField: string;
1365
+ localQueryId?: string | undefined;
1366
+ query?: string | undefined;
1367
+ variables?: {
1368
+ type: string;
1369
+ name: string;
1370
+ labelTranslationKey?: string | undefined;
1371
+ label?: string | undefined;
1372
+ minLength?: number | undefined;
1373
+ defaultValue?: string | undefined;
1374
+ }[] | undefined;
1375
+ }>;
1376
+ attributes: z.ZodOptional<z.ZodObject<{
1377
+ multiple: z.ZodOptional<z.ZodBoolean>;
1378
+ }, "strip", z.ZodTypeAny, {
1379
+ multiple?: boolean | undefined;
1380
+ }, {
1381
+ multiple?: boolean | undefined;
1382
+ }>>;
1383
+ }, "strip", z.ZodTypeAny, {
1384
+ type: "filteredSearch";
1385
+ meta: {
1386
+ schemaVersion: "1.0";
1387
+ labelTranslationKey?: string | undefined;
1194
1388
  };
1195
- end: {
1196
- type: "datePicker";
1197
- meta: {
1198
- schemaVersion: "1.0";
1389
+ graphQL: {
1390
+ displayFields: {
1391
+ label: string;
1392
+ propertyName: string;
1199
1393
  labelTranslationKey?: string | undefined;
1200
- };
1394
+ }[];
1395
+ responseField: string;
1396
+ localQueryId?: string | undefined;
1397
+ query?: string | undefined;
1398
+ variables?: {
1399
+ type: string;
1400
+ name: string;
1401
+ labelTranslationKey?: string | undefined;
1402
+ label?: string | undefined;
1403
+ minLength?: number | undefined;
1404
+ defaultValue?: string | undefined;
1405
+ }[] | undefined;
1406
+ };
1407
+ attributes?: {
1408
+ multiple?: boolean | undefined;
1409
+ } | undefined;
1410
+ }, {
1411
+ type: "filteredSearch";
1412
+ meta: {
1413
+ schemaVersion: "1.0";
1414
+ labelTranslationKey?: string | undefined;
1415
+ };
1416
+ graphQL: {
1417
+ displayFields: {
1418
+ label: string;
1419
+ propertyName: string;
1420
+ labelTranslationKey?: string | undefined;
1421
+ }[];
1422
+ responseField: string;
1423
+ localQueryId?: string | undefined;
1424
+ query?: string | undefined;
1425
+ variables?: {
1426
+ type: string;
1427
+ name: string;
1428
+ labelTranslationKey?: string | undefined;
1429
+ label?: string | undefined;
1430
+ minLength?: number | undefined;
1431
+ defaultValue?: string | undefined;
1432
+ }[] | undefined;
1433
+ };
1434
+ attributes?: {
1435
+ multiple?: boolean | undefined;
1436
+ } | undefined;
1437
+ }>, z.ZodObject<{
1438
+ meta: z.ZodObject<{
1439
+ schemaVersion: z.ZodLiteral<"1.0">;
1440
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
1441
+ }, "strip", z.ZodTypeAny, {
1442
+ schemaVersion: "1.0";
1443
+ labelTranslationKey?: string | undefined;
1444
+ }, {
1445
+ schemaVersion: "1.0";
1446
+ labelTranslationKey?: string | undefined;
1447
+ }>;
1448
+ } & {
1449
+ type: z.ZodLiteral<"number">;
1450
+ attributes: z.ZodOptional<z.ZodObject<{
1451
+ max: z.ZodOptional<z.ZodNumber>;
1452
+ min: z.ZodOptional<z.ZodNumber>;
1453
+ step: z.ZodOptional<z.ZodNumber>;
1454
+ }, "strip", z.ZodTypeAny, {
1455
+ max?: number | undefined;
1456
+ min?: number | undefined;
1457
+ step?: number | undefined;
1458
+ }, {
1459
+ max?: number | undefined;
1460
+ min?: number | undefined;
1461
+ step?: number | undefined;
1462
+ }>>;
1463
+ }, "strip", z.ZodTypeAny, {
1464
+ type: "number";
1465
+ meta: {
1466
+ schemaVersion: "1.0";
1467
+ labelTranslationKey?: string | undefined;
1468
+ };
1469
+ attributes?: {
1470
+ max?: number | undefined;
1471
+ min?: number | undefined;
1472
+ step?: number | undefined;
1473
+ } | undefined;
1474
+ }, {
1475
+ type: "number";
1476
+ meta: {
1477
+ schemaVersion: "1.0";
1478
+ labelTranslationKey?: string | undefined;
1479
+ };
1480
+ attributes?: {
1481
+ max?: number | undefined;
1482
+ min?: number | undefined;
1483
+ step?: number | undefined;
1484
+ } | undefined;
1485
+ }>, z.ZodObject<{
1486
+ meta: z.ZodObject<{
1487
+ schemaVersion: z.ZodLiteral<"1.0">;
1488
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
1489
+ }, "strip", z.ZodTypeAny, {
1490
+ schemaVersion: "1.0";
1491
+ labelTranslationKey?: string | undefined;
1492
+ }, {
1493
+ schemaVersion: "1.0";
1494
+ labelTranslationKey?: string | undefined;
1495
+ }>;
1496
+ } & {
1497
+ type: z.ZodLiteral<"radioButtons">;
1498
+ options: z.ZodArray<z.ZodObject<{
1499
+ type: z.ZodLiteral<"option">;
1500
+ attributes: z.ZodObject<{
1501
+ label: z.ZodString;
1502
+ value: z.ZodString;
1503
+ } & {
1504
+ selected: z.ZodOptional<z.ZodBoolean>;
1505
+ }, "strip", z.ZodTypeAny, {
1506
+ value: string;
1507
+ label: string;
1508
+ selected?: boolean | undefined;
1509
+ }, {
1510
+ value: string;
1511
+ label: string;
1512
+ selected?: boolean | undefined;
1513
+ }>;
1514
+ }, "strip", z.ZodTypeAny, {
1515
+ type: "option";
1201
1516
  attributes: {
1517
+ value: string;
1202
1518
  label: string;
1519
+ selected?: boolean | undefined;
1203
1520
  };
1204
- };
1205
- };
1206
- }, {
1207
- type: "dateRange";
1208
- meta: {
1209
- schemaVersion: "1.0";
1210
- labelTranslationKey?: string | undefined;
1211
- };
1212
- columns: {
1213
- start: {
1214
- type: "datePicker";
1215
- meta: {
1216
- schemaVersion: "1.0";
1217
- labelTranslationKey?: string | undefined;
1521
+ }, {
1522
+ type: "option";
1523
+ attributes: {
1524
+ value: string;
1525
+ label: string;
1526
+ selected?: boolean | undefined;
1218
1527
  };
1528
+ }>, "many">;
1529
+ }, "strip", z.ZodTypeAny, {
1530
+ type: "radioButtons";
1531
+ options: {
1532
+ type: "option";
1219
1533
  attributes: {
1534
+ value: string;
1220
1535
  label: string;
1536
+ selected?: boolean | undefined;
1221
1537
  };
1538
+ }[];
1539
+ meta: {
1540
+ schemaVersion: "1.0";
1541
+ labelTranslationKey?: string | undefined;
1222
1542
  };
1223
- end: {
1224
- type: "datePicker";
1225
- meta: {
1226
- schemaVersion: "1.0";
1227
- labelTranslationKey?: string | undefined;
1228
- };
1543
+ }, {
1544
+ type: "radioButtons";
1545
+ options: {
1546
+ type: "option";
1229
1547
  attributes: {
1548
+ value: string;
1230
1549
  label: string;
1550
+ selected?: boolean | undefined;
1231
1551
  };
1552
+ }[];
1553
+ meta: {
1554
+ schemaVersion: "1.0";
1555
+ labelTranslationKey?: string | undefined;
1232
1556
  };
1233
- };
1234
- }>, z.ZodObject<{
1235
- meta: z.ZodObject<{
1236
- schemaVersion: z.ZodLiteral<"1.0">;
1237
- labelTranslationKey: z.ZodOptional<z.ZodString>;
1238
- }, "strip", z.ZodTypeAny, {
1239
- schemaVersion: "1.0";
1240
- labelTranslationKey?: string | undefined;
1241
- }, {
1242
- schemaVersion: "1.0";
1243
- labelTranslationKey?: string | undefined;
1244
- }>;
1245
- } & {
1246
- type: z.ZodLiteral<"email">;
1247
- attributes: z.ZodOptional<z.ZodObject<{
1248
- maxLength: z.ZodOptional<z.ZodNumber>;
1249
- minLength: z.ZodOptional<z.ZodNumber>;
1250
- multiple: z.ZodOptional<z.ZodBoolean>;
1251
- pattern: z.ZodOptional<z.ZodString>;
1252
- }, "strip", z.ZodTypeAny, {
1253
- maxLength?: number | undefined;
1254
- minLength?: number | undefined;
1255
- multiple?: boolean | undefined;
1256
- pattern?: string | undefined;
1257
- }, {
1258
- maxLength?: number | undefined;
1259
- minLength?: number | undefined;
1260
- multiple?: boolean | undefined;
1261
- pattern?: string | undefined;
1262
- }>>;
1263
- }, "strip", z.ZodTypeAny, {
1264
- type: "email";
1265
- meta: {
1266
- schemaVersion: "1.0";
1267
- labelTranslationKey?: string | undefined;
1268
- };
1269
- attributes?: {
1270
- maxLength?: number | undefined;
1271
- minLength?: number | undefined;
1272
- multiple?: boolean | undefined;
1273
- pattern?: string | undefined;
1274
- } | undefined;
1275
- }, {
1276
- type: "email";
1277
- meta: {
1278
- schemaVersion: "1.0";
1279
- labelTranslationKey?: string | undefined;
1280
- };
1281
- attributes?: {
1282
- maxLength?: number | undefined;
1283
- minLength?: number | undefined;
1284
- multiple?: boolean | undefined;
1285
- pattern?: string | undefined;
1286
- } | undefined;
1287
- }>, z.ZodObject<{
1288
- meta: z.ZodObject<{
1289
- schemaVersion: z.ZodLiteral<"1.0">;
1290
- labelTranslationKey: z.ZodOptional<z.ZodString>;
1291
- }, "strip", z.ZodTypeAny, {
1292
- schemaVersion: "1.0";
1293
- labelTranslationKey?: string | undefined;
1294
- }, {
1295
- schemaVersion: "1.0";
1296
- labelTranslationKey?: string | undefined;
1297
- }>;
1298
- } & {
1299
- type: z.ZodLiteral<"filteredSearch">;
1300
- graphQL: z.ZodObject<{
1301
- displayFields: z.ZodArray<z.ZodObject<{
1302
- propertyName: z.ZodString;
1303
- label: z.ZodString;
1557
+ }>, z.ZodObject<{
1558
+ meta: z.ZodObject<{
1559
+ schemaVersion: z.ZodLiteral<"1.0">;
1304
1560
  labelTranslationKey: z.ZodOptional<z.ZodString>;
1305
1561
  }, "strip", z.ZodTypeAny, {
1306
- label: string;
1307
- propertyName: string;
1562
+ schemaVersion: "1.0";
1308
1563
  labelTranslationKey?: string | undefined;
1309
1564
  }, {
1310
- label: string;
1311
- propertyName: string;
1565
+ schemaVersion: "1.0";
1312
1566
  labelTranslationKey?: string | undefined;
1567
+ }>;
1568
+ } & {
1569
+ type: z.ZodLiteral<"selectBox">;
1570
+ options: z.ZodArray<z.ZodObject<{
1571
+ type: z.ZodLiteral<"option">;
1572
+ attributes: z.ZodObject<{
1573
+ label: z.ZodString;
1574
+ value: z.ZodString;
1575
+ } & {
1576
+ selected: z.ZodOptional<z.ZodBoolean>;
1577
+ }, "strip", z.ZodTypeAny, {
1578
+ value: string;
1579
+ label: string;
1580
+ selected?: boolean | undefined;
1581
+ }, {
1582
+ value: string;
1583
+ label: string;
1584
+ selected?: boolean | undefined;
1585
+ }>;
1586
+ }, "strip", z.ZodTypeAny, {
1587
+ type: "option";
1588
+ attributes: {
1589
+ value: string;
1590
+ label: string;
1591
+ selected?: boolean | undefined;
1592
+ };
1593
+ }, {
1594
+ type: "option";
1595
+ attributes: {
1596
+ value: string;
1597
+ label: string;
1598
+ selected?: boolean | undefined;
1599
+ };
1313
1600
  }>, "many">;
1314
- localQueryId: z.ZodOptional<z.ZodString>;
1315
- query: z.ZodOptional<z.ZodString>;
1316
- responseField: z.ZodString;
1317
- variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
1318
- minLength: z.ZodOptional<z.ZodNumber>;
1319
- label: z.ZodOptional<z.ZodString>;
1320
- labelTranslationKey: z.ZodOptional<z.ZodString>;
1321
- name: z.ZodString;
1322
- type: z.ZodString;
1323
- defaultValue: z.ZodOptional<z.ZodString>;
1601
+ attributes: z.ZodOptional<z.ZodObject<{
1602
+ multiple: z.ZodOptional<z.ZodBoolean>;
1324
1603
  }, "strip", z.ZodTypeAny, {
1325
- type: string;
1326
- name: string;
1327
- labelTranslationKey?: string | undefined;
1328
- minLength?: number | undefined;
1329
- label?: string | undefined;
1330
- defaultValue?: string | undefined;
1604
+ multiple?: boolean | undefined;
1331
1605
  }, {
1332
- type: string;
1333
- name: string;
1334
- labelTranslationKey?: string | undefined;
1335
- minLength?: number | undefined;
1336
- label?: string | undefined;
1337
- defaultValue?: string | undefined;
1338
- }>, "many">>;
1606
+ multiple?: boolean | undefined;
1607
+ }>>;
1339
1608
  }, "strip", z.ZodTypeAny, {
1340
- displayFields: {
1341
- label: string;
1342
- propertyName: string;
1343
- labelTranslationKey?: string | undefined;
1344
- }[];
1345
- responseField: string;
1346
- localQueryId?: string | undefined;
1347
- query?: string | undefined;
1348
- variables?: {
1349
- type: string;
1350
- name: string;
1351
- labelTranslationKey?: string | undefined;
1352
- minLength?: number | undefined;
1353
- label?: string | undefined;
1354
- defaultValue?: string | undefined;
1355
- }[] | undefined;
1356
- }, {
1357
- displayFields: {
1358
- label: string;
1359
- propertyName: string;
1360
- labelTranslationKey?: string | undefined;
1609
+ type: "selectBox";
1610
+ options: {
1611
+ type: "option";
1612
+ attributes: {
1613
+ value: string;
1614
+ label: string;
1615
+ selected?: boolean | undefined;
1616
+ };
1361
1617
  }[];
1362
- responseField: string;
1363
- localQueryId?: string | undefined;
1364
- query?: string | undefined;
1365
- variables?: {
1366
- type: string;
1367
- name: string;
1618
+ meta: {
1619
+ schemaVersion: "1.0";
1368
1620
  labelTranslationKey?: string | undefined;
1369
- minLength?: number | undefined;
1370
- label?: string | undefined;
1371
- defaultValue?: string | undefined;
1372
- }[] | undefined;
1373
- }>;
1374
- attributes: z.ZodObject<{
1375
- multiple: z.ZodOptional<z.ZodBoolean>;
1376
- }, "strip", z.ZodTypeAny, {
1377
- multiple?: boolean | undefined;
1621
+ };
1622
+ attributes?: {
1623
+ multiple?: boolean | undefined;
1624
+ } | undefined;
1378
1625
  }, {
1379
- multiple?: boolean | undefined;
1380
- }>;
1381
- }, "strip", z.ZodTypeAny, {
1382
- type: "filteredSearch";
1383
- meta: {
1384
- schemaVersion: "1.0";
1385
- labelTranslationKey?: string | undefined;
1386
- };
1387
- attributes: {
1388
- multiple?: boolean | undefined;
1389
- };
1390
- graphQL: {
1391
- displayFields: {
1392
- label: string;
1393
- propertyName: string;
1394
- labelTranslationKey?: string | undefined;
1626
+ type: "selectBox";
1627
+ options: {
1628
+ type: "option";
1629
+ attributes: {
1630
+ value: string;
1631
+ label: string;
1632
+ selected?: boolean | undefined;
1633
+ };
1395
1634
  }[];
1396
- responseField: string;
1397
- localQueryId?: string | undefined;
1398
- query?: string | undefined;
1399
- variables?: {
1400
- type: string;
1401
- name: string;
1635
+ meta: {
1636
+ schemaVersion: "1.0";
1402
1637
  labelTranslationKey?: string | undefined;
1638
+ };
1639
+ attributes?: {
1640
+ multiple?: boolean | undefined;
1641
+ } | undefined;
1642
+ }>, z.ZodObject<{} & {
1643
+ type: z.ZodLiteral<"textArea">;
1644
+ attributes: z.ZodOptional<z.ZodObject<{
1645
+ cols: z.ZodOptional<z.ZodNumber>;
1646
+ maxLength: z.ZodOptional<z.ZodNumber>;
1647
+ minLength: z.ZodOptional<z.ZodNumber>;
1648
+ rows: z.ZodOptional<z.ZodNumber>;
1649
+ }, "strip", z.ZodTypeAny, {
1650
+ maxLength?: number | undefined;
1403
1651
  minLength?: number | undefined;
1404
- label?: string | undefined;
1405
- defaultValue?: string | undefined;
1406
- }[] | undefined;
1407
- };
1408
- }, {
1409
- type: "filteredSearch";
1410
- meta: {
1411
- schemaVersion: "1.0";
1412
- labelTranslationKey?: string | undefined;
1413
- };
1414
- attributes: {
1415
- multiple?: boolean | undefined;
1416
- };
1417
- graphQL: {
1418
- displayFields: {
1419
- label: string;
1420
- propertyName: string;
1421
- labelTranslationKey?: string | undefined;
1422
- }[];
1423
- responseField: string;
1424
- localQueryId?: string | undefined;
1425
- query?: string | undefined;
1426
- variables?: {
1427
- type: string;
1428
- name: string;
1429
- labelTranslationKey?: string | undefined;
1652
+ cols?: number | undefined;
1653
+ rows?: number | undefined;
1654
+ }, {
1655
+ maxLength?: number | undefined;
1430
1656
  minLength?: number | undefined;
1431
- label?: string | undefined;
1432
- defaultValue?: string | undefined;
1433
- }[] | undefined;
1434
- };
1435
- }>, z.ZodObject<{
1436
- meta: z.ZodObject<{
1437
- schemaVersion: z.ZodLiteral<"1.0">;
1438
- labelTranslationKey: z.ZodOptional<z.ZodString>;
1439
- }, "strip", z.ZodTypeAny, {
1440
- schemaVersion: "1.0";
1441
- labelTranslationKey?: string | undefined;
1442
- }, {
1443
- schemaVersion: "1.0";
1444
- labelTranslationKey?: string | undefined;
1445
- }>;
1446
- } & {
1447
- type: z.ZodLiteral<"number">;
1448
- attributes: z.ZodOptional<z.ZodObject<{
1449
- max: z.ZodOptional<z.ZodNumber>;
1450
- min: z.ZodOptional<z.ZodNumber>;
1451
- step: z.ZodOptional<z.ZodNumber>;
1452
- }, "strip", z.ZodTypeAny, {
1453
- max?: number | undefined;
1454
- min?: number | undefined;
1455
- step?: number | undefined;
1456
- }, {
1457
- max?: number | undefined;
1458
- min?: number | undefined;
1459
- step?: number | undefined;
1460
- }>>;
1461
- }, "strip", z.ZodTypeAny, {
1462
- type: "number";
1463
- meta: {
1464
- schemaVersion: "1.0";
1465
- labelTranslationKey?: string | undefined;
1466
- };
1467
- attributes?: {
1468
- max?: number | undefined;
1469
- min?: number | undefined;
1470
- step?: number | undefined;
1471
- } | undefined;
1472
- }, {
1473
- type: "number";
1474
- meta: {
1475
- schemaVersion: "1.0";
1476
- labelTranslationKey?: string | undefined;
1477
- };
1478
- attributes?: {
1479
- max?: number | undefined;
1480
- min?: number | undefined;
1481
- step?: number | undefined;
1482
- } | undefined;
1483
- }>, z.ZodObject<{
1484
- meta: z.ZodObject<{
1485
- schemaVersion: z.ZodLiteral<"1.0">;
1486
- labelTranslationKey: z.ZodOptional<z.ZodString>;
1487
- }, "strip", z.ZodTypeAny, {
1488
- schemaVersion: "1.0";
1489
- labelTranslationKey?: string | undefined;
1490
- }, {
1491
- schemaVersion: "1.0";
1492
- labelTranslationKey?: string | undefined;
1493
- }>;
1494
- } & {
1495
- type: z.ZodLiteral<"radioButtons">;
1496
- options: z.ZodArray<z.ZodObject<{
1497
- type: z.ZodLiteral<"option">;
1498
- attributes: z.ZodObject<{
1499
- label: z.ZodString;
1500
- value: z.ZodString;
1657
+ cols?: number | undefined;
1658
+ rows?: number | undefined;
1659
+ }>>;
1660
+ meta: z.ZodObject<{
1661
+ schemaVersion: z.ZodLiteral<"1.0">;
1662
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
1501
1663
  } & {
1502
- selected: z.ZodOptional<z.ZodBoolean>;
1664
+ asRichText: z.ZodOptional<z.ZodBoolean>;
1503
1665
  }, "strip", z.ZodTypeAny, {
1504
- value: string;
1505
- label: string;
1506
- selected?: boolean | undefined;
1666
+ schemaVersion: "1.0";
1667
+ labelTranslationKey?: string | undefined;
1668
+ asRichText?: boolean | undefined;
1507
1669
  }, {
1508
- value: string;
1509
- label: string;
1510
- selected?: boolean | undefined;
1670
+ schemaVersion: "1.0";
1671
+ labelTranslationKey?: string | undefined;
1672
+ asRichText?: boolean | undefined;
1511
1673
  }>;
1512
1674
  }, "strip", z.ZodTypeAny, {
1513
- type: "option";
1514
- attributes: {
1515
- value: string;
1516
- label: string;
1517
- selected?: boolean | undefined;
1675
+ type: "textArea";
1676
+ meta: {
1677
+ schemaVersion: "1.0";
1678
+ labelTranslationKey?: string | undefined;
1679
+ asRichText?: boolean | undefined;
1518
1680
  };
1681
+ attributes?: {
1682
+ maxLength?: number | undefined;
1683
+ minLength?: number | undefined;
1684
+ cols?: number | undefined;
1685
+ rows?: number | undefined;
1686
+ } | undefined;
1519
1687
  }, {
1520
- type: "option";
1521
- attributes: {
1522
- value: string;
1523
- label: string;
1524
- selected?: boolean | undefined;
1525
- };
1526
- }>, "many">;
1527
- }, "strip", z.ZodTypeAny, {
1528
- type: "radioButtons";
1529
- options: {
1530
- type: "option";
1531
- attributes: {
1532
- value: string;
1533
- label: string;
1534
- selected?: boolean | undefined;
1535
- };
1536
- }[];
1537
- meta: {
1538
- schemaVersion: "1.0";
1539
- labelTranslationKey?: string | undefined;
1540
- };
1541
- }, {
1542
- type: "radioButtons";
1543
- options: {
1544
- type: "option";
1545
- attributes: {
1546
- value: string;
1547
- label: string;
1548
- selected?: boolean | undefined;
1688
+ type: "textArea";
1689
+ meta: {
1690
+ schemaVersion: "1.0";
1691
+ labelTranslationKey?: string | undefined;
1692
+ asRichText?: boolean | undefined;
1549
1693
  };
1550
- }[];
1551
- meta: {
1552
- schemaVersion: "1.0";
1553
- labelTranslationKey?: string | undefined;
1554
- };
1555
- }>, z.ZodObject<{
1556
- meta: z.ZodObject<{
1557
- schemaVersion: z.ZodLiteral<"1.0">;
1558
- labelTranslationKey: z.ZodOptional<z.ZodString>;
1559
- }, "strip", z.ZodTypeAny, {
1560
- schemaVersion: "1.0";
1561
- labelTranslationKey?: string | undefined;
1562
- }, {
1563
- schemaVersion: "1.0";
1564
- labelTranslationKey?: string | undefined;
1565
- }>;
1566
- } & {
1567
- type: z.ZodLiteral<"selectBox">;
1568
- options: z.ZodArray<z.ZodObject<{
1569
- type: z.ZodLiteral<"option">;
1570
- attributes: z.ZodObject<{
1571
- label: z.ZodString;
1572
- value: z.ZodString;
1573
- } & {
1574
- selected: z.ZodOptional<z.ZodBoolean>;
1694
+ attributes?: {
1695
+ maxLength?: number | undefined;
1696
+ minLength?: number | undefined;
1697
+ cols?: number | undefined;
1698
+ rows?: number | undefined;
1699
+ } | undefined;
1700
+ }>, z.ZodObject<{
1701
+ meta: z.ZodObject<{
1702
+ schemaVersion: z.ZodLiteral<"1.0">;
1703
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
1575
1704
  }, "strip", z.ZodTypeAny, {
1576
- value: string;
1577
- label: string;
1578
- selected?: boolean | undefined;
1705
+ schemaVersion: "1.0";
1706
+ labelTranslationKey?: string | undefined;
1579
1707
  }, {
1580
- value: string;
1581
- label: string;
1582
- selected?: boolean | undefined;
1708
+ schemaVersion: "1.0";
1709
+ labelTranslationKey?: string | undefined;
1583
1710
  }>;
1711
+ } & {
1712
+ type: z.ZodLiteral<"text">;
1713
+ attributes: z.ZodOptional<z.ZodObject<{
1714
+ maxLength: z.ZodOptional<z.ZodNumber>;
1715
+ minLength: z.ZodOptional<z.ZodNumber>;
1716
+ pattern: z.ZodOptional<z.ZodString>;
1717
+ }, "strip", z.ZodTypeAny, {
1718
+ maxLength?: number | undefined;
1719
+ minLength?: number | undefined;
1720
+ pattern?: string | undefined;
1721
+ }, {
1722
+ maxLength?: number | undefined;
1723
+ minLength?: number | undefined;
1724
+ pattern?: string | undefined;
1725
+ }>>;
1584
1726
  }, "strip", z.ZodTypeAny, {
1585
- type: "option";
1586
- attributes: {
1587
- value: string;
1588
- label: string;
1589
- selected?: boolean | undefined;
1727
+ type: "text";
1728
+ meta: {
1729
+ schemaVersion: "1.0";
1730
+ labelTranslationKey?: string | undefined;
1590
1731
  };
1732
+ attributes?: {
1733
+ maxLength?: number | undefined;
1734
+ minLength?: number | undefined;
1735
+ pattern?: string | undefined;
1736
+ } | undefined;
1591
1737
  }, {
1592
- type: "option";
1593
- attributes: {
1594
- value: string;
1595
- label: string;
1596
- selected?: boolean | undefined;
1738
+ type: "text";
1739
+ meta: {
1740
+ schemaVersion: "1.0";
1741
+ labelTranslationKey?: string | undefined;
1597
1742
  };
1598
- }>, "many">;
1599
- attributes: z.ZodOptional<z.ZodObject<{
1600
- multiple: z.ZodOptional<z.ZodBoolean>;
1743
+ attributes?: {
1744
+ maxLength?: number | undefined;
1745
+ minLength?: number | undefined;
1746
+ pattern?: string | undefined;
1747
+ } | undefined;
1748
+ }>, z.ZodObject<{
1749
+ meta: z.ZodObject<{
1750
+ schemaVersion: z.ZodLiteral<"1.0">;
1751
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
1752
+ }, "strip", z.ZodTypeAny, {
1753
+ schemaVersion: "1.0";
1754
+ labelTranslationKey?: string | undefined;
1755
+ }, {
1756
+ schemaVersion: "1.0";
1757
+ labelTranslationKey?: string | undefined;
1758
+ }>;
1759
+ } & {
1760
+ type: z.ZodLiteral<"typeaheadSearch">;
1761
+ graphQL: z.ZodObject<{
1762
+ displayFields: z.ZodArray<z.ZodObject<{
1763
+ propertyName: z.ZodString;
1764
+ label: z.ZodString;
1765
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
1766
+ }, "strip", z.ZodTypeAny, {
1767
+ label: string;
1768
+ propertyName: string;
1769
+ labelTranslationKey?: string | undefined;
1770
+ }, {
1771
+ label: string;
1772
+ propertyName: string;
1773
+ labelTranslationKey?: string | undefined;
1774
+ }>, "many">;
1775
+ localQueryId: z.ZodOptional<z.ZodString>;
1776
+ query: z.ZodOptional<z.ZodString>;
1777
+ responseField: z.ZodString;
1778
+ variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
1779
+ minLength: z.ZodOptional<z.ZodNumber>;
1780
+ label: z.ZodOptional<z.ZodString>;
1781
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
1782
+ name: z.ZodString;
1783
+ type: z.ZodString;
1784
+ defaultValue: z.ZodOptional<z.ZodString>;
1785
+ }, "strip", z.ZodTypeAny, {
1786
+ type: string;
1787
+ name: string;
1788
+ labelTranslationKey?: string | undefined;
1789
+ label?: string | undefined;
1790
+ minLength?: number | undefined;
1791
+ defaultValue?: string | undefined;
1792
+ }, {
1793
+ type: string;
1794
+ name: string;
1795
+ labelTranslationKey?: string | undefined;
1796
+ label?: string | undefined;
1797
+ minLength?: number | undefined;
1798
+ defaultValue?: string | undefined;
1799
+ }>, "many">>;
1800
+ }, "strip", z.ZodTypeAny, {
1801
+ displayFields: {
1802
+ label: string;
1803
+ propertyName: string;
1804
+ labelTranslationKey?: string | undefined;
1805
+ }[];
1806
+ responseField: string;
1807
+ localQueryId?: string | undefined;
1808
+ query?: string | undefined;
1809
+ variables?: {
1810
+ type: string;
1811
+ name: string;
1812
+ labelTranslationKey?: string | undefined;
1813
+ label?: string | undefined;
1814
+ minLength?: number | undefined;
1815
+ defaultValue?: string | undefined;
1816
+ }[] | undefined;
1817
+ }, {
1818
+ displayFields: {
1819
+ label: string;
1820
+ propertyName: string;
1821
+ labelTranslationKey?: string | undefined;
1822
+ }[];
1823
+ responseField: string;
1824
+ localQueryId?: string | undefined;
1825
+ query?: string | undefined;
1826
+ variables?: {
1827
+ type: string;
1828
+ name: string;
1829
+ labelTranslationKey?: string | undefined;
1830
+ label?: string | undefined;
1831
+ minLength?: number | undefined;
1832
+ defaultValue?: string | undefined;
1833
+ }[] | undefined;
1834
+ }>;
1601
1835
  }, "strip", z.ZodTypeAny, {
1602
- multiple?: boolean | undefined;
1603
- }, {
1604
- multiple?: boolean | undefined;
1605
- }>>;
1606
- }, "strip", z.ZodTypeAny, {
1607
- type: "selectBox";
1608
- options: {
1609
- type: "option";
1610
- attributes: {
1611
- value: string;
1612
- label: string;
1613
- selected?: boolean | undefined;
1836
+ type: "typeaheadSearch";
1837
+ meta: {
1838
+ schemaVersion: "1.0";
1839
+ labelTranslationKey?: string | undefined;
1614
1840
  };
1615
- }[];
1616
- meta: {
1617
- schemaVersion: "1.0";
1618
- labelTranslationKey?: string | undefined;
1619
- };
1620
- attributes?: {
1621
- multiple?: boolean | undefined;
1622
- } | undefined;
1623
- }, {
1624
- type: "selectBox";
1625
- options: {
1626
- type: "option";
1627
- attributes: {
1628
- value: string;
1629
- label: string;
1630
- selected?: boolean | undefined;
1841
+ graphQL: {
1842
+ displayFields: {
1843
+ label: string;
1844
+ propertyName: string;
1845
+ labelTranslationKey?: string | undefined;
1846
+ }[];
1847
+ responseField: string;
1848
+ localQueryId?: string | undefined;
1849
+ query?: string | undefined;
1850
+ variables?: {
1851
+ type: string;
1852
+ name: string;
1853
+ labelTranslationKey?: string | undefined;
1854
+ label?: string | undefined;
1855
+ minLength?: number | undefined;
1856
+ defaultValue?: string | undefined;
1857
+ }[] | undefined;
1631
1858
  };
1632
- }[];
1633
- meta: {
1634
- schemaVersion: "1.0";
1635
- labelTranslationKey?: string | undefined;
1636
- };
1637
- attributes?: {
1638
- multiple?: boolean | undefined;
1639
- } | undefined;
1640
- }>, z.ZodObject<{} & {
1641
- type: z.ZodLiteral<"textArea">;
1642
- attributes: z.ZodOptional<z.ZodObject<{
1643
- cols: z.ZodOptional<z.ZodNumber>;
1644
- maxLength: z.ZodOptional<z.ZodNumber>;
1645
- minLength: z.ZodOptional<z.ZodNumber>;
1646
- rows: z.ZodOptional<z.ZodNumber>;
1647
- }, "strip", z.ZodTypeAny, {
1648
- maxLength?: number | undefined;
1649
- minLength?: number | undefined;
1650
- cols?: number | undefined;
1651
- rows?: number | undefined;
1652
- }, {
1653
- maxLength?: number | undefined;
1654
- minLength?: number | undefined;
1655
- cols?: number | undefined;
1656
- rows?: number | undefined;
1657
- }>>;
1658
- meta: z.ZodObject<{
1659
- schemaVersion: z.ZodLiteral<"1.0">;
1660
- labelTranslationKey: z.ZodOptional<z.ZodString>;
1661
- } & {
1662
- asRichText: z.ZodOptional<z.ZodBoolean>;
1663
- }, "strip", z.ZodTypeAny, {
1664
- schemaVersion: "1.0";
1665
- labelTranslationKey?: string | undefined;
1666
- asRichText?: boolean | undefined;
1667
- }, {
1668
- schemaVersion: "1.0";
1669
- labelTranslationKey?: string | undefined;
1670
- asRichText?: boolean | undefined;
1671
- }>;
1672
- }, "strip", z.ZodTypeAny, {
1673
- type: "textArea";
1674
- meta: {
1675
- schemaVersion: "1.0";
1676
- labelTranslationKey?: string | undefined;
1677
- asRichText?: boolean | undefined;
1678
- };
1679
- attributes?: {
1680
- maxLength?: number | undefined;
1681
- minLength?: number | undefined;
1682
- cols?: number | undefined;
1683
- rows?: number | undefined;
1684
- } | undefined;
1685
- }, {
1686
- type: "textArea";
1687
- meta: {
1688
- schemaVersion: "1.0";
1689
- labelTranslationKey?: string | undefined;
1690
- asRichText?: boolean | undefined;
1691
- };
1692
- attributes?: {
1693
- maxLength?: number | undefined;
1694
- minLength?: number | undefined;
1695
- cols?: number | undefined;
1696
- rows?: number | undefined;
1697
- } | undefined;
1698
- }>, z.ZodObject<{
1699
- meta: z.ZodObject<{
1700
- schemaVersion: z.ZodLiteral<"1.0">;
1701
- labelTranslationKey: z.ZodOptional<z.ZodString>;
1702
- }, "strip", z.ZodTypeAny, {
1703
- schemaVersion: "1.0";
1704
- labelTranslationKey?: string | undefined;
1705
- }, {
1706
- schemaVersion: "1.0";
1707
- labelTranslationKey?: string | undefined;
1708
- }>;
1709
- } & {
1710
- type: z.ZodLiteral<"text">;
1711
- attributes: z.ZodOptional<z.ZodObject<{
1712
- maxLength: z.ZodOptional<z.ZodNumber>;
1713
- minLength: z.ZodOptional<z.ZodNumber>;
1714
- pattern: z.ZodOptional<z.ZodString>;
1715
- }, "strip", z.ZodTypeAny, {
1716
- maxLength?: number | undefined;
1717
- minLength?: number | undefined;
1718
- pattern?: string | undefined;
1719
- }, {
1720
- maxLength?: number | undefined;
1721
- minLength?: number | undefined;
1722
- pattern?: string | undefined;
1723
- }>>;
1724
- }, "strip", z.ZodTypeAny, {
1725
- type: "text";
1726
- meta: {
1727
- schemaVersion: "1.0";
1728
- labelTranslationKey?: string | undefined;
1729
- };
1730
- attributes?: {
1731
- maxLength?: number | undefined;
1732
- minLength?: number | undefined;
1733
- pattern?: string | undefined;
1734
- } | undefined;
1735
- }, {
1736
- type: "text";
1737
- meta: {
1738
- schemaVersion: "1.0";
1739
- labelTranslationKey?: string | undefined;
1740
- };
1741
- attributes?: {
1742
- maxLength?: number | undefined;
1743
- minLength?: number | undefined;
1744
- pattern?: string | undefined;
1745
- } | undefined;
1746
- }>, z.ZodObject<{
1747
- meta: z.ZodObject<{
1748
- schemaVersion: z.ZodLiteral<"1.0">;
1749
- labelTranslationKey: z.ZodOptional<z.ZodString>;
1750
- }, "strip", z.ZodTypeAny, {
1751
- schemaVersion: "1.0";
1752
- labelTranslationKey?: string | undefined;
1753
1859
  }, {
1754
- schemaVersion: "1.0";
1755
- labelTranslationKey?: string | undefined;
1756
- }>;
1757
- } & {
1758
- type: z.ZodLiteral<"typeaheadSearch">;
1759
- graphQL: z.ZodObject<{
1760
- displayFields: z.ZodArray<z.ZodObject<{
1761
- propertyName: z.ZodString;
1762
- label: z.ZodString;
1860
+ type: "typeaheadSearch";
1861
+ meta: {
1862
+ schemaVersion: "1.0";
1863
+ labelTranslationKey?: string | undefined;
1864
+ };
1865
+ graphQL: {
1866
+ displayFields: {
1867
+ label: string;
1868
+ propertyName: string;
1869
+ labelTranslationKey?: string | undefined;
1870
+ }[];
1871
+ responseField: string;
1872
+ localQueryId?: string | undefined;
1873
+ query?: string | undefined;
1874
+ variables?: {
1875
+ type: string;
1876
+ name: string;
1877
+ labelTranslationKey?: string | undefined;
1878
+ label?: string | undefined;
1879
+ minLength?: number | undefined;
1880
+ defaultValue?: string | undefined;
1881
+ }[] | undefined;
1882
+ };
1883
+ }>, z.ZodObject<{
1884
+ meta: z.ZodObject<{
1885
+ schemaVersion: z.ZodLiteral<"1.0">;
1763
1886
  labelTranslationKey: z.ZodOptional<z.ZodString>;
1764
1887
  }, "strip", z.ZodTypeAny, {
1765
- label: string;
1766
- propertyName: string;
1888
+ schemaVersion: "1.0";
1767
1889
  labelTranslationKey?: string | undefined;
1768
1890
  }, {
1769
- label: string;
1770
- propertyName: string;
1891
+ schemaVersion: "1.0";
1771
1892
  labelTranslationKey?: string | undefined;
1772
- }>, "many">;
1773
- localQueryId: z.ZodOptional<z.ZodString>;
1774
- query: z.ZodOptional<z.ZodString>;
1775
- responseField: z.ZodString;
1776
- variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
1893
+ }>;
1894
+ } & {
1895
+ type: z.ZodLiteral<"url">;
1896
+ attributes: z.ZodOptional<z.ZodObject<{
1897
+ maxLength: z.ZodOptional<z.ZodNumber>;
1777
1898
  minLength: z.ZodOptional<z.ZodNumber>;
1778
- label: z.ZodOptional<z.ZodString>;
1779
- labelTranslationKey: z.ZodOptional<z.ZodString>;
1780
- name: z.ZodString;
1781
- type: z.ZodString;
1782
- defaultValue: z.ZodOptional<z.ZodString>;
1899
+ pattern: z.ZodOptional<z.ZodString>;
1783
1900
  }, "strip", z.ZodTypeAny, {
1784
- type: string;
1785
- name: string;
1786
- labelTranslationKey?: string | undefined;
1901
+ maxLength?: number | undefined;
1787
1902
  minLength?: number | undefined;
1788
- label?: string | undefined;
1789
- defaultValue?: string | undefined;
1903
+ pattern?: string | undefined;
1790
1904
  }, {
1791
- type: string;
1792
- name: string;
1793
- labelTranslationKey?: string | undefined;
1905
+ maxLength?: number | undefined;
1794
1906
  minLength?: number | undefined;
1795
- label?: string | undefined;
1796
- defaultValue?: string | undefined;
1797
- }>, "many">>;
1907
+ pattern?: string | undefined;
1908
+ }>>;
1798
1909
  }, "strip", z.ZodTypeAny, {
1799
- displayFields: {
1800
- label: string;
1801
- propertyName: string;
1802
- labelTranslationKey?: string | undefined;
1803
- }[];
1804
- responseField: string;
1805
- localQueryId?: string | undefined;
1806
- query?: string | undefined;
1807
- variables?: {
1808
- type: string;
1809
- name: string;
1910
+ type: "url";
1911
+ meta: {
1912
+ schemaVersion: "1.0";
1810
1913
  labelTranslationKey?: string | undefined;
1914
+ };
1915
+ attributes?: {
1916
+ maxLength?: number | undefined;
1811
1917
  minLength?: number | undefined;
1812
- label?: string | undefined;
1813
- defaultValue?: string | undefined;
1814
- }[] | undefined;
1918
+ pattern?: string | undefined;
1919
+ } | undefined;
1815
1920
  }, {
1816
- displayFields: {
1817
- label: string;
1818
- propertyName: string;
1819
- labelTranslationKey?: string | undefined;
1820
- }[];
1821
- responseField: string;
1822
- localQueryId?: string | undefined;
1823
- query?: string | undefined;
1824
- variables?: {
1825
- type: string;
1826
- name: string;
1921
+ type: "url";
1922
+ meta: {
1923
+ schemaVersion: "1.0";
1827
1924
  labelTranslationKey?: string | undefined;
1925
+ };
1926
+ attributes?: {
1927
+ maxLength?: number | undefined;
1828
1928
  minLength?: number | undefined;
1829
- label?: string | undefined;
1830
- defaultValue?: string | undefined;
1831
- }[] | undefined;
1832
- }>;
1929
+ pattern?: string | undefined;
1930
+ } | undefined;
1931
+ }>]>;
1833
1932
  }, "strip", z.ZodTypeAny, {
1834
- type: "typeaheadSearch";
1835
- meta: {
1836
- schemaVersion: "1.0";
1837
- labelTranslationKey?: string | undefined;
1838
- };
1839
- graphQL: {
1840
- displayFields: {
1841
- label: string;
1842
- propertyName: string;
1933
+ content: {
1934
+ type: "boolean";
1935
+ meta: {
1936
+ schemaVersion: "1.0";
1843
1937
  labelTranslationKey?: string | undefined;
1844
- }[];
1845
- responseField: string;
1846
- localQueryId?: string | undefined;
1847
- query?: string | undefined;
1848
- variables?: {
1849
- type: string;
1850
- name: string;
1938
+ };
1939
+ attributes?: {
1940
+ checked?: boolean | undefined;
1941
+ } | undefined;
1942
+ } | {
1943
+ type: "number";
1944
+ meta: {
1945
+ schemaVersion: "1.0";
1946
+ labelTranslationKey?: string | undefined;
1947
+ };
1948
+ attributes?: {
1949
+ max?: number | undefined;
1950
+ min?: number | undefined;
1951
+ step?: number | undefined;
1952
+ } | undefined;
1953
+ } | {
1954
+ type: "currency";
1955
+ meta: {
1956
+ schemaVersion: "1.0";
1957
+ labelTranslationKey?: string | undefined;
1958
+ denomination?: string | undefined;
1959
+ };
1960
+ attributes?: {
1961
+ max?: number | undefined;
1962
+ min?: number | undefined;
1963
+ step?: number | undefined;
1964
+ } | undefined;
1965
+ } | {
1966
+ type: "email";
1967
+ meta: {
1968
+ schemaVersion: "1.0";
1851
1969
  labelTranslationKey?: string | undefined;
1970
+ };
1971
+ attributes?: {
1972
+ maxLength?: number | undefined;
1852
1973
  minLength?: number | undefined;
1853
- label?: string | undefined;
1854
- defaultValue?: string | undefined;
1855
- }[] | undefined;
1856
- };
1857
- }, {
1858
- type: "typeaheadSearch";
1859
- meta: {
1860
- schemaVersion: "1.0";
1861
- labelTranslationKey?: string | undefined;
1862
- };
1863
- graphQL: {
1864
- displayFields: {
1865
- label: string;
1866
- propertyName: string;
1974
+ multiple?: boolean | undefined;
1975
+ pattern?: string | undefined;
1976
+ } | undefined;
1977
+ } | {
1978
+ type: "textArea";
1979
+ meta: {
1980
+ schemaVersion: "1.0";
1867
1981
  labelTranslationKey?: string | undefined;
1868
- }[];
1869
- responseField: string;
1870
- localQueryId?: string | undefined;
1871
- query?: string | undefined;
1872
- variables?: {
1873
- type: string;
1874
- name: string;
1982
+ asRichText?: boolean | undefined;
1983
+ };
1984
+ attributes?: {
1985
+ maxLength?: number | undefined;
1986
+ minLength?: number | undefined;
1987
+ cols?: number | undefined;
1988
+ rows?: number | undefined;
1989
+ } | undefined;
1990
+ } | {
1991
+ type: "text";
1992
+ meta: {
1993
+ schemaVersion: "1.0";
1875
1994
  labelTranslationKey?: string | undefined;
1995
+ };
1996
+ attributes?: {
1997
+ maxLength?: number | undefined;
1876
1998
  minLength?: number | undefined;
1877
- label?: string | undefined;
1878
- defaultValue?: string | undefined;
1879
- }[] | undefined;
1880
- };
1881
- }>, z.ZodObject<{
1882
- meta: z.ZodObject<{
1883
- schemaVersion: z.ZodLiteral<"1.0">;
1884
- labelTranslationKey: z.ZodOptional<z.ZodString>;
1885
- }, "strip", z.ZodTypeAny, {
1886
- schemaVersion: "1.0";
1887
- labelTranslationKey?: string | undefined;
1888
- }, {
1889
- schemaVersion: "1.0";
1890
- labelTranslationKey?: string | undefined;
1891
- }>;
1892
- } & {
1893
- type: z.ZodLiteral<"url">;
1894
- attributes: z.ZodOptional<z.ZodObject<{
1895
- maxLength: z.ZodOptional<z.ZodNumber>;
1896
- minLength: z.ZodOptional<z.ZodNumber>;
1897
- pattern: z.ZodOptional<z.ZodString>;
1898
- }, "strip", z.ZodTypeAny, {
1899
- maxLength?: number | undefined;
1900
- minLength?: number | undefined;
1901
- pattern?: string | undefined;
1902
- }, {
1903
- maxLength?: number | undefined;
1904
- minLength?: number | undefined;
1905
- pattern?: string | undefined;
1906
- }>>;
1907
- }, "strip", z.ZodTypeAny, {
1908
- type: "url";
1909
- meta: {
1910
- schemaVersion: "1.0";
1911
- labelTranslationKey?: string | undefined;
1999
+ pattern?: string | undefined;
2000
+ } | undefined;
2001
+ } | {
2002
+ type: "url";
2003
+ meta: {
2004
+ schemaVersion: "1.0";
2005
+ labelTranslationKey?: string | undefined;
2006
+ };
2007
+ attributes?: {
2008
+ maxLength?: number | undefined;
2009
+ minLength?: number | undefined;
2010
+ pattern?: string | undefined;
2011
+ } | undefined;
2012
+ } | {
2013
+ type: "date";
2014
+ meta: {
2015
+ schemaVersion: "1.0";
2016
+ labelTranslationKey?: string | undefined;
2017
+ };
2018
+ attributes?: {
2019
+ max?: string | undefined;
2020
+ min?: string | undefined;
2021
+ step?: number | undefined;
2022
+ } | undefined;
2023
+ } | {
2024
+ type: "dateRange";
2025
+ meta: {
2026
+ schemaVersion: "1.0";
2027
+ labelTranslationKey?: string | undefined;
2028
+ };
2029
+ columns: {
2030
+ start: {
2031
+ type: "date";
2032
+ meta: {
2033
+ schemaVersion: "1.0";
2034
+ labelTranslationKey?: string | undefined;
2035
+ };
2036
+ attributes: {
2037
+ label: string;
2038
+ };
2039
+ };
2040
+ end: {
2041
+ type: "date";
2042
+ meta: {
2043
+ schemaVersion: "1.0";
2044
+ labelTranslationKey?: string | undefined;
2045
+ };
2046
+ attributes: {
2047
+ label: string;
2048
+ };
2049
+ };
2050
+ };
2051
+ } | {
2052
+ type: "checkBoxes";
2053
+ options: {
2054
+ type: "option";
2055
+ attributes: {
2056
+ value: string;
2057
+ label: string;
2058
+ checked?: boolean | undefined;
2059
+ };
2060
+ }[];
2061
+ meta: {
2062
+ schemaVersion: "1.0";
2063
+ labelTranslationKey?: string | undefined;
2064
+ };
2065
+ } | {
2066
+ type: "radioButtons";
2067
+ options: {
2068
+ type: "option";
2069
+ attributes: {
2070
+ value: string;
2071
+ label: string;
2072
+ selected?: boolean | undefined;
2073
+ };
2074
+ }[];
2075
+ meta: {
2076
+ schemaVersion: "1.0";
2077
+ labelTranslationKey?: string | undefined;
2078
+ };
2079
+ } | {
2080
+ type: "selectBox";
2081
+ options: {
2082
+ type: "option";
2083
+ attributes: {
2084
+ value: string;
2085
+ label: string;
2086
+ selected?: boolean | undefined;
2087
+ };
2088
+ }[];
2089
+ meta: {
2090
+ schemaVersion: "1.0";
2091
+ labelTranslationKey?: string | undefined;
2092
+ };
2093
+ attributes?: {
2094
+ multiple?: boolean | undefined;
2095
+ } | undefined;
2096
+ } | {
2097
+ type: "filteredSearch";
2098
+ meta: {
2099
+ schemaVersion: "1.0";
2100
+ labelTranslationKey?: string | undefined;
2101
+ };
2102
+ graphQL: {
2103
+ displayFields: {
2104
+ label: string;
2105
+ propertyName: string;
2106
+ labelTranslationKey?: string | undefined;
2107
+ }[];
2108
+ responseField: string;
2109
+ localQueryId?: string | undefined;
2110
+ query?: string | undefined;
2111
+ variables?: {
2112
+ type: string;
2113
+ name: string;
2114
+ labelTranslationKey?: string | undefined;
2115
+ label?: string | undefined;
2116
+ minLength?: number | undefined;
2117
+ defaultValue?: string | undefined;
2118
+ }[] | undefined;
2119
+ };
2120
+ attributes?: {
2121
+ multiple?: boolean | undefined;
2122
+ } | undefined;
2123
+ } | {
2124
+ type: "typeaheadSearch";
2125
+ meta: {
2126
+ schemaVersion: "1.0";
2127
+ labelTranslationKey?: string | undefined;
2128
+ };
2129
+ graphQL: {
2130
+ displayFields: {
2131
+ label: string;
2132
+ propertyName: string;
2133
+ labelTranslationKey?: string | undefined;
2134
+ }[];
2135
+ responseField: string;
2136
+ localQueryId?: string | undefined;
2137
+ query?: string | undefined;
2138
+ variables?: {
2139
+ type: string;
2140
+ name: string;
2141
+ labelTranslationKey?: string | undefined;
2142
+ label?: string | undefined;
2143
+ minLength?: number | undefined;
2144
+ defaultValue?: string | undefined;
2145
+ }[] | undefined;
2146
+ };
1912
2147
  };
1913
- attributes?: {
1914
- maxLength?: number | undefined;
1915
- minLength?: number | undefined;
1916
- pattern?: string | undefined;
1917
- } | undefined;
2148
+ heading?: string | undefined;
1918
2149
  }, {
1919
- type: "url";
1920
- meta: {
1921
- schemaVersion: "1.0";
1922
- labelTranslationKey?: string | undefined;
2150
+ content: {
2151
+ type: "boolean";
2152
+ meta: {
2153
+ schemaVersion: "1.0";
2154
+ labelTranslationKey?: string | undefined;
2155
+ };
2156
+ attributes?: {
2157
+ checked?: boolean | undefined;
2158
+ } | undefined;
2159
+ } | {
2160
+ type: "number";
2161
+ meta: {
2162
+ schemaVersion: "1.0";
2163
+ labelTranslationKey?: string | undefined;
2164
+ };
2165
+ attributes?: {
2166
+ max?: number | undefined;
2167
+ min?: number | undefined;
2168
+ step?: number | undefined;
2169
+ } | undefined;
2170
+ } | {
2171
+ type: "currency";
2172
+ meta: {
2173
+ schemaVersion: "1.0";
2174
+ labelTranslationKey?: string | undefined;
2175
+ denomination?: string | undefined;
2176
+ };
2177
+ attributes?: {
2178
+ max?: number | undefined;
2179
+ min?: number | undefined;
2180
+ step?: number | undefined;
2181
+ } | undefined;
2182
+ } | {
2183
+ type: "email";
2184
+ meta: {
2185
+ schemaVersion: "1.0";
2186
+ labelTranslationKey?: string | undefined;
2187
+ };
2188
+ attributes?: {
2189
+ maxLength?: number | undefined;
2190
+ minLength?: number | undefined;
2191
+ multiple?: boolean | undefined;
2192
+ pattern?: string | undefined;
2193
+ } | undefined;
2194
+ } | {
2195
+ type: "textArea";
2196
+ meta: {
2197
+ schemaVersion: "1.0";
2198
+ labelTranslationKey?: string | undefined;
2199
+ asRichText?: boolean | undefined;
2200
+ };
2201
+ attributes?: {
2202
+ maxLength?: number | undefined;
2203
+ minLength?: number | undefined;
2204
+ cols?: number | undefined;
2205
+ rows?: number | undefined;
2206
+ } | undefined;
2207
+ } | {
2208
+ type: "text";
2209
+ meta: {
2210
+ schemaVersion: "1.0";
2211
+ labelTranslationKey?: string | undefined;
2212
+ };
2213
+ attributes?: {
2214
+ maxLength?: number | undefined;
2215
+ minLength?: number | undefined;
2216
+ pattern?: string | undefined;
2217
+ } | undefined;
2218
+ } | {
2219
+ type: "url";
2220
+ meta: {
2221
+ schemaVersion: "1.0";
2222
+ labelTranslationKey?: string | undefined;
2223
+ };
2224
+ attributes?: {
2225
+ maxLength?: number | undefined;
2226
+ minLength?: number | undefined;
2227
+ pattern?: string | undefined;
2228
+ } | undefined;
2229
+ } | {
2230
+ type: "date";
2231
+ meta: {
2232
+ schemaVersion: "1.0";
2233
+ labelTranslationKey?: string | undefined;
2234
+ };
2235
+ attributes?: {
2236
+ max?: string | undefined;
2237
+ min?: string | undefined;
2238
+ step?: number | undefined;
2239
+ } | undefined;
2240
+ } | {
2241
+ type: "dateRange";
2242
+ meta: {
2243
+ schemaVersion: "1.0";
2244
+ labelTranslationKey?: string | undefined;
2245
+ };
2246
+ columns: {
2247
+ start: {
2248
+ type: "date";
2249
+ meta: {
2250
+ schemaVersion: "1.0";
2251
+ labelTranslationKey?: string | undefined;
2252
+ };
2253
+ attributes: {
2254
+ label: string;
2255
+ };
2256
+ };
2257
+ end: {
2258
+ type: "date";
2259
+ meta: {
2260
+ schemaVersion: "1.0";
2261
+ labelTranslationKey?: string | undefined;
2262
+ };
2263
+ attributes: {
2264
+ label: string;
2265
+ };
2266
+ };
2267
+ };
2268
+ } | {
2269
+ type: "checkBoxes";
2270
+ options: {
2271
+ type: "option";
2272
+ attributes: {
2273
+ value: string;
2274
+ label: string;
2275
+ checked?: boolean | undefined;
2276
+ };
2277
+ }[];
2278
+ meta: {
2279
+ schemaVersion: "1.0";
2280
+ labelTranslationKey?: string | undefined;
2281
+ };
2282
+ } | {
2283
+ type: "radioButtons";
2284
+ options: {
2285
+ type: "option";
2286
+ attributes: {
2287
+ value: string;
2288
+ label: string;
2289
+ selected?: boolean | undefined;
2290
+ };
2291
+ }[];
2292
+ meta: {
2293
+ schemaVersion: "1.0";
2294
+ labelTranslationKey?: string | undefined;
2295
+ };
2296
+ } | {
2297
+ type: "selectBox";
2298
+ options: {
2299
+ type: "option";
2300
+ attributes: {
2301
+ value: string;
2302
+ label: string;
2303
+ selected?: boolean | undefined;
2304
+ };
2305
+ }[];
2306
+ meta: {
2307
+ schemaVersion: "1.0";
2308
+ labelTranslationKey?: string | undefined;
2309
+ };
2310
+ attributes?: {
2311
+ multiple?: boolean | undefined;
2312
+ } | undefined;
2313
+ } | {
2314
+ type: "filteredSearch";
2315
+ meta: {
2316
+ schemaVersion: "1.0";
2317
+ labelTranslationKey?: string | undefined;
2318
+ };
2319
+ graphQL: {
2320
+ displayFields: {
2321
+ label: string;
2322
+ propertyName: string;
2323
+ labelTranslationKey?: string | undefined;
2324
+ }[];
2325
+ responseField: string;
2326
+ localQueryId?: string | undefined;
2327
+ query?: string | undefined;
2328
+ variables?: {
2329
+ type: string;
2330
+ name: string;
2331
+ labelTranslationKey?: string | undefined;
2332
+ label?: string | undefined;
2333
+ minLength?: number | undefined;
2334
+ defaultValue?: string | undefined;
2335
+ }[] | undefined;
2336
+ };
2337
+ attributes?: {
2338
+ multiple?: boolean | undefined;
2339
+ } | undefined;
2340
+ } | {
2341
+ type: "typeaheadSearch";
2342
+ meta: {
2343
+ schemaVersion: "1.0";
2344
+ labelTranslationKey?: string | undefined;
2345
+ };
2346
+ graphQL: {
2347
+ displayFields: {
2348
+ label: string;
2349
+ propertyName: string;
2350
+ labelTranslationKey?: string | undefined;
2351
+ }[];
2352
+ responseField: string;
2353
+ localQueryId?: string | undefined;
2354
+ query?: string | undefined;
2355
+ variables?: {
2356
+ type: string;
2357
+ name: string;
2358
+ labelTranslationKey?: string | undefined;
2359
+ label?: string | undefined;
2360
+ minLength?: number | undefined;
2361
+ defaultValue?: string | undefined;
2362
+ }[] | undefined;
2363
+ };
1923
2364
  };
1924
- attributes?: {
1925
- maxLength?: number | undefined;
1926
- minLength?: number | undefined;
1927
- pattern?: string | undefined;
1928
- } | undefined;
1929
- }>]>, "many">;
2365
+ heading?: string | undefined;
2366
+ }>, "many">;
1930
2367
  attributes: z.ZodOptional<z.ZodObject<{
1931
2368
  canAddRows: z.ZodOptional<z.ZodBoolean>;
1932
2369
  canRemoveRows: z.ZodOptional<z.ZodBoolean>;
@@ -1948,225 +2385,228 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
1948
2385
  }>>;
1949
2386
  }, "strip", z.ZodTypeAny, {
1950
2387
  type: "table";
1951
- meta: {
1952
- schemaVersion: "1.0";
1953
- labelTranslationKey?: string | undefined;
1954
- };
1955
- columns: ({
1956
- type: "boolean";
1957
- meta: {
1958
- schemaVersion: "1.0";
1959
- labelTranslationKey?: string | undefined;
1960
- };
1961
- attributes?: {
1962
- checked?: boolean | undefined;
1963
- } | undefined;
1964
- } | {
1965
- type: "number";
1966
- meta: {
1967
- schemaVersion: "1.0";
1968
- labelTranslationKey?: string | undefined;
1969
- };
1970
- attributes?: {
1971
- max?: number | undefined;
1972
- min?: number | undefined;
1973
- step?: number | undefined;
1974
- } | undefined;
1975
- } | {
1976
- type: "currency";
1977
- meta: {
1978
- schemaVersion: "1.0";
1979
- labelTranslationKey?: string | undefined;
1980
- denomination?: string | undefined;
1981
- };
1982
- attributes?: {
1983
- max?: number | undefined;
1984
- min?: number | undefined;
1985
- step?: number | undefined;
1986
- } | undefined;
1987
- } | {
1988
- type: "email";
1989
- meta: {
1990
- schemaVersion: "1.0";
1991
- labelTranslationKey?: string | undefined;
1992
- };
1993
- attributes?: {
1994
- maxLength?: number | undefined;
1995
- minLength?: number | undefined;
1996
- multiple?: boolean | undefined;
1997
- pattern?: string | undefined;
1998
- } | undefined;
1999
- } | {
2000
- type: "textArea";
2001
- meta: {
2002
- schemaVersion: "1.0";
2003
- labelTranslationKey?: string | undefined;
2004
- asRichText?: boolean | undefined;
2005
- };
2006
- attributes?: {
2007
- maxLength?: number | undefined;
2008
- minLength?: number | undefined;
2009
- cols?: number | undefined;
2010
- rows?: number | undefined;
2011
- } | undefined;
2012
- } | {
2013
- type: "text";
2014
- meta: {
2015
- schemaVersion: "1.0";
2016
- labelTranslationKey?: string | undefined;
2017
- };
2018
- attributes?: {
2019
- maxLength?: number | undefined;
2020
- minLength?: number | undefined;
2021
- pattern?: string | undefined;
2022
- } | undefined;
2023
- } | {
2024
- type: "url";
2025
- meta: {
2026
- schemaVersion: "1.0";
2027
- labelTranslationKey?: string | undefined;
2028
- };
2029
- attributes?: {
2030
- maxLength?: number | undefined;
2031
- minLength?: number | undefined;
2032
- pattern?: string | undefined;
2033
- } | undefined;
2034
- } | {
2035
- type: "datePicker";
2036
- meta: {
2037
- schemaVersion: "1.0";
2038
- labelTranslationKey?: string | undefined;
2039
- };
2040
- attributes?: {
2041
- max?: string | undefined;
2042
- min?: string | undefined;
2043
- step?: number | undefined;
2044
- } | undefined;
2045
- } | {
2046
- type: "dateRange";
2047
- meta: {
2048
- schemaVersion: "1.0";
2049
- labelTranslationKey?: string | undefined;
2050
- };
2051
- columns: {
2052
- start: {
2053
- type: "datePicker";
2054
- meta: {
2055
- schemaVersion: "1.0";
2056
- labelTranslationKey?: string | undefined;
2388
+ meta: {
2389
+ schemaVersion: "1.0";
2390
+ labelTranslationKey?: string | undefined;
2391
+ };
2392
+ columns: {
2393
+ content: {
2394
+ type: "boolean";
2395
+ meta: {
2396
+ schemaVersion: "1.0";
2397
+ labelTranslationKey?: string | undefined;
2398
+ };
2399
+ attributes?: {
2400
+ checked?: boolean | undefined;
2401
+ } | undefined;
2402
+ } | {
2403
+ type: "number";
2404
+ meta: {
2405
+ schemaVersion: "1.0";
2406
+ labelTranslationKey?: string | undefined;
2407
+ };
2408
+ attributes?: {
2409
+ max?: number | undefined;
2410
+ min?: number | undefined;
2411
+ step?: number | undefined;
2412
+ } | undefined;
2413
+ } | {
2414
+ type: "currency";
2415
+ meta: {
2416
+ schemaVersion: "1.0";
2417
+ labelTranslationKey?: string | undefined;
2418
+ denomination?: string | undefined;
2419
+ };
2420
+ attributes?: {
2421
+ max?: number | undefined;
2422
+ min?: number | undefined;
2423
+ step?: number | undefined;
2424
+ } | undefined;
2425
+ } | {
2426
+ type: "email";
2427
+ meta: {
2428
+ schemaVersion: "1.0";
2429
+ labelTranslationKey?: string | undefined;
2430
+ };
2431
+ attributes?: {
2432
+ maxLength?: number | undefined;
2433
+ minLength?: number | undefined;
2434
+ multiple?: boolean | undefined;
2435
+ pattern?: string | undefined;
2436
+ } | undefined;
2437
+ } | {
2438
+ type: "textArea";
2439
+ meta: {
2440
+ schemaVersion: "1.0";
2441
+ labelTranslationKey?: string | undefined;
2442
+ asRichText?: boolean | undefined;
2443
+ };
2444
+ attributes?: {
2445
+ maxLength?: number | undefined;
2446
+ minLength?: number | undefined;
2447
+ cols?: number | undefined;
2448
+ rows?: number | undefined;
2449
+ } | undefined;
2450
+ } | {
2451
+ type: "text";
2452
+ meta: {
2453
+ schemaVersion: "1.0";
2454
+ labelTranslationKey?: string | undefined;
2455
+ };
2456
+ attributes?: {
2457
+ maxLength?: number | undefined;
2458
+ minLength?: number | undefined;
2459
+ pattern?: string | undefined;
2460
+ } | undefined;
2461
+ } | {
2462
+ type: "url";
2463
+ meta: {
2464
+ schemaVersion: "1.0";
2465
+ labelTranslationKey?: string | undefined;
2466
+ };
2467
+ attributes?: {
2468
+ maxLength?: number | undefined;
2469
+ minLength?: number | undefined;
2470
+ pattern?: string | undefined;
2471
+ } | undefined;
2472
+ } | {
2473
+ type: "date";
2474
+ meta: {
2475
+ schemaVersion: "1.0";
2476
+ labelTranslationKey?: string | undefined;
2477
+ };
2478
+ attributes?: {
2479
+ max?: string | undefined;
2480
+ min?: string | undefined;
2481
+ step?: number | undefined;
2482
+ } | undefined;
2483
+ } | {
2484
+ type: "dateRange";
2485
+ meta: {
2486
+ schemaVersion: "1.0";
2487
+ labelTranslationKey?: string | undefined;
2488
+ };
2489
+ columns: {
2490
+ start: {
2491
+ type: "date";
2492
+ meta: {
2493
+ schemaVersion: "1.0";
2494
+ labelTranslationKey?: string | undefined;
2495
+ };
2496
+ attributes: {
2497
+ label: string;
2498
+ };
2057
2499
  };
2500
+ end: {
2501
+ type: "date";
2502
+ meta: {
2503
+ schemaVersion: "1.0";
2504
+ labelTranslationKey?: string | undefined;
2505
+ };
2506
+ attributes: {
2507
+ label: string;
2508
+ };
2509
+ };
2510
+ };
2511
+ } | {
2512
+ type: "checkBoxes";
2513
+ options: {
2514
+ type: "option";
2058
2515
  attributes: {
2516
+ value: string;
2059
2517
  label: string;
2518
+ checked?: boolean | undefined;
2060
2519
  };
2520
+ }[];
2521
+ meta: {
2522
+ schemaVersion: "1.0";
2523
+ labelTranslationKey?: string | undefined;
2061
2524
  };
2062
- end: {
2063
- type: "datePicker";
2064
- meta: {
2065
- schemaVersion: "1.0";
2066
- labelTranslationKey?: string | undefined;
2067
- };
2525
+ } | {
2526
+ type: "radioButtons";
2527
+ options: {
2528
+ type: "option";
2068
2529
  attributes: {
2530
+ value: string;
2069
2531
  label: string;
2532
+ selected?: boolean | undefined;
2070
2533
  };
2071
- };
2072
- };
2073
- } | {
2074
- type: "checkBoxes";
2075
- options: {
2076
- type: "option";
2077
- attributes: {
2078
- value: string;
2079
- label: string;
2080
- checked?: boolean | undefined;
2081
- };
2082
- }[];
2083
- meta: {
2084
- schemaVersion: "1.0";
2085
- labelTranslationKey?: string | undefined;
2086
- };
2087
- } | {
2088
- type: "radioButtons";
2089
- options: {
2090
- type: "option";
2091
- attributes: {
2092
- value: string;
2093
- label: string;
2094
- selected?: boolean | undefined;
2095
- };
2096
- }[];
2097
- meta: {
2098
- schemaVersion: "1.0";
2099
- labelTranslationKey?: string | undefined;
2100
- };
2101
- } | {
2102
- type: "selectBox";
2103
- options: {
2104
- type: "option";
2105
- attributes: {
2106
- value: string;
2107
- label: string;
2108
- selected?: boolean | undefined;
2109
- };
2110
- }[];
2111
- meta: {
2112
- schemaVersion: "1.0";
2113
- labelTranslationKey?: string | undefined;
2114
- };
2115
- attributes?: {
2116
- multiple?: boolean | undefined;
2117
- } | undefined;
2118
- } | {
2119
- type: "filteredSearch";
2120
- meta: {
2121
- schemaVersion: "1.0";
2122
- labelTranslationKey?: string | undefined;
2123
- };
2124
- attributes: {
2125
- multiple?: boolean | undefined;
2126
- };
2127
- graphQL: {
2128
- displayFields: {
2129
- label: string;
2130
- propertyName: string;
2534
+ }[];
2535
+ meta: {
2536
+ schemaVersion: "1.0";
2131
2537
  labelTranslationKey?: string | undefined;
2538
+ };
2539
+ } | {
2540
+ type: "selectBox";
2541
+ options: {
2542
+ type: "option";
2543
+ attributes: {
2544
+ value: string;
2545
+ label: string;
2546
+ selected?: boolean | undefined;
2547
+ };
2132
2548
  }[];
2133
- responseField: string;
2134
- localQueryId?: string | undefined;
2135
- query?: string | undefined;
2136
- variables?: {
2137
- type: string;
2138
- name: string;
2549
+ meta: {
2550
+ schemaVersion: "1.0";
2139
2551
  labelTranslationKey?: string | undefined;
2140
- minLength?: number | undefined;
2141
- label?: string | undefined;
2142
- defaultValue?: string | undefined;
2143
- }[] | undefined;
2144
- };
2145
- } | {
2146
- type: "typeaheadSearch";
2147
- meta: {
2148
- schemaVersion: "1.0";
2149
- labelTranslationKey?: string | undefined;
2150
- };
2151
- graphQL: {
2152
- displayFields: {
2153
- label: string;
2154
- propertyName: string;
2552
+ };
2553
+ attributes?: {
2554
+ multiple?: boolean | undefined;
2555
+ } | undefined;
2556
+ } | {
2557
+ type: "filteredSearch";
2558
+ meta: {
2559
+ schemaVersion: "1.0";
2155
2560
  labelTranslationKey?: string | undefined;
2156
- }[];
2157
- responseField: string;
2158
- localQueryId?: string | undefined;
2159
- query?: string | undefined;
2160
- variables?: {
2161
- type: string;
2162
- name: string;
2561
+ };
2562
+ graphQL: {
2563
+ displayFields: {
2564
+ label: string;
2565
+ propertyName: string;
2566
+ labelTranslationKey?: string | undefined;
2567
+ }[];
2568
+ responseField: string;
2569
+ localQueryId?: string | undefined;
2570
+ query?: string | undefined;
2571
+ variables?: {
2572
+ type: string;
2573
+ name: string;
2574
+ labelTranslationKey?: string | undefined;
2575
+ label?: string | undefined;
2576
+ minLength?: number | undefined;
2577
+ defaultValue?: string | undefined;
2578
+ }[] | undefined;
2579
+ };
2580
+ attributes?: {
2581
+ multiple?: boolean | undefined;
2582
+ } | undefined;
2583
+ } | {
2584
+ type: "typeaheadSearch";
2585
+ meta: {
2586
+ schemaVersion: "1.0";
2163
2587
  labelTranslationKey?: string | undefined;
2164
- minLength?: number | undefined;
2165
- label?: string | undefined;
2166
- defaultValue?: string | undefined;
2167
- }[] | undefined;
2588
+ };
2589
+ graphQL: {
2590
+ displayFields: {
2591
+ label: string;
2592
+ propertyName: string;
2593
+ labelTranslationKey?: string | undefined;
2594
+ }[];
2595
+ responseField: string;
2596
+ localQueryId?: string | undefined;
2597
+ query?: string | undefined;
2598
+ variables?: {
2599
+ type: string;
2600
+ name: string;
2601
+ labelTranslationKey?: string | undefined;
2602
+ label?: string | undefined;
2603
+ minLength?: number | undefined;
2604
+ defaultValue?: string | undefined;
2605
+ }[] | undefined;
2606
+ };
2168
2607
  };
2169
- })[];
2608
+ heading?: string | undefined;
2609
+ }[];
2170
2610
  attributes?: {
2171
2611
  canAddRows?: boolean | undefined;
2172
2612
  canRemoveRows?: boolean | undefined;
@@ -2180,221 +2620,224 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2180
2620
  schemaVersion: "1.0";
2181
2621
  labelTranslationKey?: string | undefined;
2182
2622
  };
2183
- columns: ({
2184
- type: "boolean";
2185
- meta: {
2186
- schemaVersion: "1.0";
2187
- labelTranslationKey?: string | undefined;
2188
- };
2189
- attributes?: {
2190
- checked?: boolean | undefined;
2191
- } | undefined;
2192
- } | {
2193
- type: "number";
2194
- meta: {
2195
- schemaVersion: "1.0";
2196
- labelTranslationKey?: string | undefined;
2197
- };
2198
- attributes?: {
2199
- max?: number | undefined;
2200
- min?: number | undefined;
2201
- step?: number | undefined;
2202
- } | undefined;
2203
- } | {
2204
- type: "currency";
2205
- meta: {
2206
- schemaVersion: "1.0";
2207
- labelTranslationKey?: string | undefined;
2208
- denomination?: string | undefined;
2209
- };
2210
- attributes?: {
2211
- max?: number | undefined;
2212
- min?: number | undefined;
2213
- step?: number | undefined;
2214
- } | undefined;
2215
- } | {
2216
- type: "email";
2217
- meta: {
2218
- schemaVersion: "1.0";
2219
- labelTranslationKey?: string | undefined;
2220
- };
2221
- attributes?: {
2222
- maxLength?: number | undefined;
2223
- minLength?: number | undefined;
2224
- multiple?: boolean | undefined;
2225
- pattern?: string | undefined;
2226
- } | undefined;
2227
- } | {
2228
- type: "textArea";
2229
- meta: {
2230
- schemaVersion: "1.0";
2231
- labelTranslationKey?: string | undefined;
2232
- asRichText?: boolean | undefined;
2233
- };
2234
- attributes?: {
2235
- maxLength?: number | undefined;
2236
- minLength?: number | undefined;
2237
- cols?: number | undefined;
2238
- rows?: number | undefined;
2239
- } | undefined;
2240
- } | {
2241
- type: "text";
2242
- meta: {
2243
- schemaVersion: "1.0";
2244
- labelTranslationKey?: string | undefined;
2245
- };
2246
- attributes?: {
2247
- maxLength?: number | undefined;
2248
- minLength?: number | undefined;
2249
- pattern?: string | undefined;
2250
- } | undefined;
2251
- } | {
2252
- type: "url";
2253
- meta: {
2254
- schemaVersion: "1.0";
2255
- labelTranslationKey?: string | undefined;
2256
- };
2257
- attributes?: {
2258
- maxLength?: number | undefined;
2259
- minLength?: number | undefined;
2260
- pattern?: string | undefined;
2261
- } | undefined;
2262
- } | {
2263
- type: "datePicker";
2264
- meta: {
2265
- schemaVersion: "1.0";
2266
- labelTranslationKey?: string | undefined;
2267
- };
2268
- attributes?: {
2269
- max?: string | undefined;
2270
- min?: string | undefined;
2271
- step?: number | undefined;
2272
- } | undefined;
2273
- } | {
2274
- type: "dateRange";
2275
- meta: {
2276
- schemaVersion: "1.0";
2277
- labelTranslationKey?: string | undefined;
2278
- };
2279
- columns: {
2280
- start: {
2281
- type: "datePicker";
2282
- meta: {
2283
- schemaVersion: "1.0";
2284
- labelTranslationKey?: string | undefined;
2623
+ columns: {
2624
+ content: {
2625
+ type: "boolean";
2626
+ meta: {
2627
+ schemaVersion: "1.0";
2628
+ labelTranslationKey?: string | undefined;
2629
+ };
2630
+ attributes?: {
2631
+ checked?: boolean | undefined;
2632
+ } | undefined;
2633
+ } | {
2634
+ type: "number";
2635
+ meta: {
2636
+ schemaVersion: "1.0";
2637
+ labelTranslationKey?: string | undefined;
2638
+ };
2639
+ attributes?: {
2640
+ max?: number | undefined;
2641
+ min?: number | undefined;
2642
+ step?: number | undefined;
2643
+ } | undefined;
2644
+ } | {
2645
+ type: "currency";
2646
+ meta: {
2647
+ schemaVersion: "1.0";
2648
+ labelTranslationKey?: string | undefined;
2649
+ denomination?: string | undefined;
2650
+ };
2651
+ attributes?: {
2652
+ max?: number | undefined;
2653
+ min?: number | undefined;
2654
+ step?: number | undefined;
2655
+ } | undefined;
2656
+ } | {
2657
+ type: "email";
2658
+ meta: {
2659
+ schemaVersion: "1.0";
2660
+ labelTranslationKey?: string | undefined;
2661
+ };
2662
+ attributes?: {
2663
+ maxLength?: number | undefined;
2664
+ minLength?: number | undefined;
2665
+ multiple?: boolean | undefined;
2666
+ pattern?: string | undefined;
2667
+ } | undefined;
2668
+ } | {
2669
+ type: "textArea";
2670
+ meta: {
2671
+ schemaVersion: "1.0";
2672
+ labelTranslationKey?: string | undefined;
2673
+ asRichText?: boolean | undefined;
2674
+ };
2675
+ attributes?: {
2676
+ maxLength?: number | undefined;
2677
+ minLength?: number | undefined;
2678
+ cols?: number | undefined;
2679
+ rows?: number | undefined;
2680
+ } | undefined;
2681
+ } | {
2682
+ type: "text";
2683
+ meta: {
2684
+ schemaVersion: "1.0";
2685
+ labelTranslationKey?: string | undefined;
2686
+ };
2687
+ attributes?: {
2688
+ maxLength?: number | undefined;
2689
+ minLength?: number | undefined;
2690
+ pattern?: string | undefined;
2691
+ } | undefined;
2692
+ } | {
2693
+ type: "url";
2694
+ meta: {
2695
+ schemaVersion: "1.0";
2696
+ labelTranslationKey?: string | undefined;
2697
+ };
2698
+ attributes?: {
2699
+ maxLength?: number | undefined;
2700
+ minLength?: number | undefined;
2701
+ pattern?: string | undefined;
2702
+ } | undefined;
2703
+ } | {
2704
+ type: "date";
2705
+ meta: {
2706
+ schemaVersion: "1.0";
2707
+ labelTranslationKey?: string | undefined;
2708
+ };
2709
+ attributes?: {
2710
+ max?: string | undefined;
2711
+ min?: string | undefined;
2712
+ step?: number | undefined;
2713
+ } | undefined;
2714
+ } | {
2715
+ type: "dateRange";
2716
+ meta: {
2717
+ schemaVersion: "1.0";
2718
+ labelTranslationKey?: string | undefined;
2719
+ };
2720
+ columns: {
2721
+ start: {
2722
+ type: "date";
2723
+ meta: {
2724
+ schemaVersion: "1.0";
2725
+ labelTranslationKey?: string | undefined;
2726
+ };
2727
+ attributes: {
2728
+ label: string;
2729
+ };
2285
2730
  };
2731
+ end: {
2732
+ type: "date";
2733
+ meta: {
2734
+ schemaVersion: "1.0";
2735
+ labelTranslationKey?: string | undefined;
2736
+ };
2737
+ attributes: {
2738
+ label: string;
2739
+ };
2740
+ };
2741
+ };
2742
+ } | {
2743
+ type: "checkBoxes";
2744
+ options: {
2745
+ type: "option";
2286
2746
  attributes: {
2747
+ value: string;
2287
2748
  label: string;
2749
+ checked?: boolean | undefined;
2288
2750
  };
2751
+ }[];
2752
+ meta: {
2753
+ schemaVersion: "1.0";
2754
+ labelTranslationKey?: string | undefined;
2289
2755
  };
2290
- end: {
2291
- type: "datePicker";
2292
- meta: {
2293
- schemaVersion: "1.0";
2294
- labelTranslationKey?: string | undefined;
2295
- };
2756
+ } | {
2757
+ type: "radioButtons";
2758
+ options: {
2759
+ type: "option";
2296
2760
  attributes: {
2761
+ value: string;
2297
2762
  label: string;
2763
+ selected?: boolean | undefined;
2298
2764
  };
2299
- };
2300
- };
2301
- } | {
2302
- type: "checkBoxes";
2303
- options: {
2304
- type: "option";
2305
- attributes: {
2306
- value: string;
2307
- label: string;
2308
- checked?: boolean | undefined;
2309
- };
2310
- }[];
2311
- meta: {
2312
- schemaVersion: "1.0";
2313
- labelTranslationKey?: string | undefined;
2314
- };
2315
- } | {
2316
- type: "radioButtons";
2317
- options: {
2318
- type: "option";
2319
- attributes: {
2320
- value: string;
2321
- label: string;
2322
- selected?: boolean | undefined;
2323
- };
2324
- }[];
2325
- meta: {
2326
- schemaVersion: "1.0";
2327
- labelTranslationKey?: string | undefined;
2328
- };
2329
- } | {
2330
- type: "selectBox";
2331
- options: {
2332
- type: "option";
2333
- attributes: {
2334
- value: string;
2335
- label: string;
2336
- selected?: boolean | undefined;
2337
- };
2338
- }[];
2339
- meta: {
2340
- schemaVersion: "1.0";
2341
- labelTranslationKey?: string | undefined;
2342
- };
2343
- attributes?: {
2344
- multiple?: boolean | undefined;
2345
- } | undefined;
2346
- } | {
2347
- type: "filteredSearch";
2348
- meta: {
2349
- schemaVersion: "1.0";
2350
- labelTranslationKey?: string | undefined;
2351
- };
2352
- attributes: {
2353
- multiple?: boolean | undefined;
2354
- };
2355
- graphQL: {
2356
- displayFields: {
2357
- label: string;
2358
- propertyName: string;
2765
+ }[];
2766
+ meta: {
2767
+ schemaVersion: "1.0";
2359
2768
  labelTranslationKey?: string | undefined;
2769
+ };
2770
+ } | {
2771
+ type: "selectBox";
2772
+ options: {
2773
+ type: "option";
2774
+ attributes: {
2775
+ value: string;
2776
+ label: string;
2777
+ selected?: boolean | undefined;
2778
+ };
2360
2779
  }[];
2361
- responseField: string;
2362
- localQueryId?: string | undefined;
2363
- query?: string | undefined;
2364
- variables?: {
2365
- type: string;
2366
- name: string;
2780
+ meta: {
2781
+ schemaVersion: "1.0";
2367
2782
  labelTranslationKey?: string | undefined;
2368
- minLength?: number | undefined;
2369
- label?: string | undefined;
2370
- defaultValue?: string | undefined;
2371
- }[] | undefined;
2372
- };
2373
- } | {
2374
- type: "typeaheadSearch";
2375
- meta: {
2376
- schemaVersion: "1.0";
2377
- labelTranslationKey?: string | undefined;
2378
- };
2379
- graphQL: {
2380
- displayFields: {
2381
- label: string;
2382
- propertyName: string;
2783
+ };
2784
+ attributes?: {
2785
+ multiple?: boolean | undefined;
2786
+ } | undefined;
2787
+ } | {
2788
+ type: "filteredSearch";
2789
+ meta: {
2790
+ schemaVersion: "1.0";
2383
2791
  labelTranslationKey?: string | undefined;
2384
- }[];
2385
- responseField: string;
2386
- localQueryId?: string | undefined;
2387
- query?: string | undefined;
2388
- variables?: {
2389
- type: string;
2390
- name: string;
2792
+ };
2793
+ graphQL: {
2794
+ displayFields: {
2795
+ label: string;
2796
+ propertyName: string;
2797
+ labelTranslationKey?: string | undefined;
2798
+ }[];
2799
+ responseField: string;
2800
+ localQueryId?: string | undefined;
2801
+ query?: string | undefined;
2802
+ variables?: {
2803
+ type: string;
2804
+ name: string;
2805
+ labelTranslationKey?: string | undefined;
2806
+ label?: string | undefined;
2807
+ minLength?: number | undefined;
2808
+ defaultValue?: string | undefined;
2809
+ }[] | undefined;
2810
+ };
2811
+ attributes?: {
2812
+ multiple?: boolean | undefined;
2813
+ } | undefined;
2814
+ } | {
2815
+ type: "typeaheadSearch";
2816
+ meta: {
2817
+ schemaVersion: "1.0";
2391
2818
  labelTranslationKey?: string | undefined;
2392
- minLength?: number | undefined;
2393
- label?: string | undefined;
2394
- defaultValue?: string | undefined;
2395
- }[] | undefined;
2819
+ };
2820
+ graphQL: {
2821
+ displayFields: {
2822
+ label: string;
2823
+ propertyName: string;
2824
+ labelTranslationKey?: string | undefined;
2825
+ }[];
2826
+ responseField: string;
2827
+ localQueryId?: string | undefined;
2828
+ query?: string | undefined;
2829
+ variables?: {
2830
+ type: string;
2831
+ name: string;
2832
+ labelTranslationKey?: string | undefined;
2833
+ label?: string | undefined;
2834
+ minLength?: number | undefined;
2835
+ defaultValue?: string | undefined;
2836
+ }[] | undefined;
2837
+ };
2396
2838
  };
2397
- })[];
2839
+ heading?: string | undefined;
2840
+ }[];
2398
2841
  attributes?: {
2399
2842
  canAddRows?: boolean | undefined;
2400
2843
  canRemoveRows?: boolean | undefined;
@@ -2549,15 +2992,15 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2549
2992
  type: string;
2550
2993
  name: string;
2551
2994
  labelTranslationKey?: string | undefined;
2552
- minLength?: number | undefined;
2553
2995
  label?: string | undefined;
2996
+ minLength?: number | undefined;
2554
2997
  defaultValue?: string | undefined;
2555
2998
  }, {
2556
2999
  type: string;
2557
3000
  name: string;
2558
3001
  labelTranslationKey?: string | undefined;
2559
- minLength?: number | undefined;
2560
3002
  label?: string | undefined;
3003
+ minLength?: number | undefined;
2561
3004
  defaultValue?: string | undefined;
2562
3005
  }>, "many">>;
2563
3006
  }, "strip", z.ZodTypeAny, {
@@ -2573,8 +3016,8 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2573
3016
  type: string;
2574
3017
  name: string;
2575
3018
  labelTranslationKey?: string | undefined;
2576
- minLength?: number | undefined;
2577
3019
  label?: string | undefined;
3020
+ minLength?: number | undefined;
2578
3021
  defaultValue?: string | undefined;
2579
3022
  }[] | undefined;
2580
3023
  }, {
@@ -2590,8 +3033,8 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2590
3033
  type: string;
2591
3034
  name: string;
2592
3035
  labelTranslationKey?: string | undefined;
2593
- minLength?: number | undefined;
2594
3036
  label?: string | undefined;
3037
+ minLength?: number | undefined;
2595
3038
  defaultValue?: string | undefined;
2596
3039
  }[] | undefined;
2597
3040
  }>;
@@ -2614,8 +3057,8 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2614
3057
  type: string;
2615
3058
  name: string;
2616
3059
  labelTranslationKey?: string | undefined;
2617
- minLength?: number | undefined;
2618
3060
  label?: string | undefined;
3061
+ minLength?: number | undefined;
2619
3062
  defaultValue?: string | undefined;
2620
3063
  }[] | undefined;
2621
3064
  };
@@ -2638,8 +3081,8 @@ export declare const AnyQuestionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
2638
3081
  type: string;
2639
3082
  name: string;
2640
3083
  labelTranslationKey?: string | undefined;
2641
- minLength?: number | undefined;
2642
3084
  label?: string | undefined;
3085
+ minLength?: number | undefined;
2643
3086
  defaultValue?: string | undefined;
2644
3087
  }[] | undefined;
2645
3088
  };