@dmptool/types 1.0.4 → 1.0.6

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.
@@ -12,31 +12,31 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
12
12
  }>;
13
13
  } & {
14
14
  type: z.ZodLiteral<"boolean">;
15
- attributes: z.ZodObject<{
15
+ attributes: z.ZodOptional<z.ZodObject<{
16
16
  checked: z.ZodOptional<z.ZodBoolean>;
17
17
  }, "strip", z.ZodTypeAny, {
18
18
  checked?: boolean | undefined;
19
19
  }, {
20
20
  checked?: boolean | undefined;
21
- }>;
21
+ }>>;
22
22
  }, "strip", z.ZodTypeAny, {
23
23
  type: "boolean";
24
24
  meta: {
25
25
  schemaVersion: "1.0";
26
26
  labelTranslationKey?: string | undefined;
27
27
  };
28
- attributes: {
28
+ attributes?: {
29
29
  checked?: boolean | undefined;
30
- };
30
+ } | undefined;
31
31
  }, {
32
32
  type: "boolean";
33
33
  meta: {
34
34
  schemaVersion: "1.0";
35
35
  labelTranslationKey?: string | undefined;
36
36
  };
37
- attributes: {
37
+ attributes?: {
38
38
  checked?: boolean | undefined;
39
- };
39
+ } | undefined;
40
40
  }>, z.ZodObject<{
41
41
  meta: z.ZodObject<{
42
42
  schemaVersion: z.ZodLiteral<"1.0">;
@@ -110,7 +110,7 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
110
110
  labelTranslationKey?: string | undefined;
111
111
  };
112
112
  }>, z.ZodObject<{
113
- attributes: z.ZodObject<{
113
+ attributes: z.ZodOptional<z.ZodObject<{
114
114
  max: z.ZodOptional<z.ZodNumber>;
115
115
  min: z.ZodOptional<z.ZodNumber>;
116
116
  step: z.ZodOptional<z.ZodNumber>;
@@ -122,36 +122,47 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
122
122
  max?: number | undefined;
123
123
  min?: number | undefined;
124
124
  step?: number | undefined;
125
- }>;
125
+ }>>;
126
126
  } & {
127
127
  type: z.ZodLiteral<"currency">;
128
128
  meta: z.ZodObject<{
129
+ schemaVersion: z.ZodLiteral<"1.0">;
130
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
131
+ } & {
129
132
  denomination: z.ZodOptional<z.ZodString>;
130
133
  }, "strip", z.ZodTypeAny, {
134
+ schemaVersion: "1.0";
135
+ labelTranslationKey?: string | undefined;
131
136
  denomination?: string | undefined;
132
137
  }, {
138
+ schemaVersion: "1.0";
139
+ labelTranslationKey?: string | undefined;
133
140
  denomination?: string | undefined;
134
141
  }>;
135
142
  }, "strip", z.ZodTypeAny, {
136
143
  type: "currency";
137
144
  meta: {
145
+ schemaVersion: "1.0";
146
+ labelTranslationKey?: string | undefined;
138
147
  denomination?: string | undefined;
139
148
  };
140
- attributes: {
149
+ attributes?: {
141
150
  max?: number | undefined;
142
151
  min?: number | undefined;
143
152
  step?: number | undefined;
144
- };
153
+ } | undefined;
145
154
  }, {
146
155
  type: "currency";
147
156
  meta: {
157
+ schemaVersion: "1.0";
158
+ labelTranslationKey?: string | undefined;
148
159
  denomination?: string | undefined;
149
160
  };
150
- attributes: {
161
+ attributes?: {
151
162
  max?: number | undefined;
152
163
  min?: number | undefined;
153
164
  step?: number | undefined;
154
- };
165
+ } | undefined;
155
166
  }>, z.ZodObject<{
156
167
  meta: z.ZodObject<{
157
168
  schemaVersion: z.ZodLiteral<"1.0">;
@@ -165,7 +176,7 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
165
176
  }>;
166
177
  } & {
167
178
  type: z.ZodLiteral<"datePicker">;
168
- attributes: z.ZodObject<{
179
+ attributes: z.ZodOptional<z.ZodObject<{
169
180
  max: z.ZodOptional<z.ZodString>;
170
181
  min: z.ZodOptional<z.ZodString>;
171
182
  step: z.ZodOptional<z.ZodNumber>;
@@ -177,29 +188,29 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
177
188
  max?: string | undefined;
178
189
  min?: string | undefined;
179
190
  step?: number | undefined;
180
- }>;
191
+ }>>;
181
192
  }, "strip", z.ZodTypeAny, {
182
193
  type: "datePicker";
183
194
  meta: {
184
195
  schemaVersion: "1.0";
185
196
  labelTranslationKey?: string | undefined;
186
197
  };
187
- attributes: {
198
+ attributes?: {
188
199
  max?: string | undefined;
189
200
  min?: string | undefined;
190
201
  step?: number | undefined;
191
- };
202
+ } | undefined;
192
203
  }, {
193
204
  type: "datePicker";
194
205
  meta: {
195
206
  schemaVersion: "1.0";
196
207
  labelTranslationKey?: string | undefined;
197
208
  };
198
- attributes: {
209
+ attributes?: {
199
210
  max?: string | undefined;
200
211
  min?: string | undefined;
201
212
  step?: number | undefined;
202
- };
213
+ } | undefined;
203
214
  }>, z.ZodObject<{
204
215
  meta: z.ZodObject<{
205
216
  schemaVersion: z.ZodLiteral<"1.0">;
@@ -404,7 +415,7 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
404
415
  }>;
405
416
  } & {
406
417
  type: z.ZodLiteral<"email">;
407
- attributes: z.ZodObject<{
418
+ attributes: z.ZodOptional<z.ZodObject<{
408
419
  maxLength: z.ZodOptional<z.ZodNumber>;
409
420
  minLength: z.ZodOptional<z.ZodNumber>;
410
421
  multiple: z.ZodOptional<z.ZodBoolean>;
@@ -419,31 +430,31 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
419
430
  minLength?: number | undefined;
420
431
  multiple?: boolean | undefined;
421
432
  pattern?: string | undefined;
422
- }>;
433
+ }>>;
423
434
  }, "strip", z.ZodTypeAny, {
424
435
  type: "email";
425
436
  meta: {
426
437
  schemaVersion: "1.0";
427
438
  labelTranslationKey?: string | undefined;
428
439
  };
429
- attributes: {
440
+ attributes?: {
430
441
  maxLength?: number | undefined;
431
442
  minLength?: number | undefined;
432
443
  multiple?: boolean | undefined;
433
444
  pattern?: string | undefined;
434
- };
445
+ } | undefined;
435
446
  }, {
436
447
  type: "email";
437
448
  meta: {
438
449
  schemaVersion: "1.0";
439
450
  labelTranslationKey?: string | undefined;
440
451
  };
441
- attributes: {
452
+ attributes?: {
442
453
  maxLength?: number | undefined;
443
454
  minLength?: number | undefined;
444
455
  multiple?: boolean | undefined;
445
456
  pattern?: string | undefined;
446
- };
457
+ } | undefined;
447
458
  }>, z.ZodObject<{
448
459
  meta: z.ZodObject<{
449
460
  schemaVersion: z.ZodLiteral<"1.0">;
@@ -474,7 +485,7 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
474
485
  localQueryId: z.ZodOptional<z.ZodString>;
475
486
  query: z.ZodOptional<z.ZodString>;
476
487
  responseField: z.ZodString;
477
- variables: z.ZodArray<z.ZodObject<{
488
+ variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
478
489
  minLength: z.ZodOptional<z.ZodNumber>;
479
490
  label: z.ZodOptional<z.ZodString>;
480
491
  labelTranslationKey: z.ZodOptional<z.ZodString>;
@@ -495,7 +506,7 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
495
506
  minLength?: number | undefined;
496
507
  label?: string | undefined;
497
508
  defaultValue?: string | undefined;
498
- }>, "many">;
509
+ }>, "many">>;
499
510
  }, "strip", z.ZodTypeAny, {
500
511
  displayFields: {
501
512
  label: string;
@@ -503,16 +514,16 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
503
514
  labelTranslationKey?: string | undefined;
504
515
  }[];
505
516
  responseField: string;
506
- variables: {
517
+ localQueryId?: string | undefined;
518
+ query?: string | undefined;
519
+ variables?: {
507
520
  type: string;
508
521
  name: string;
509
522
  labelTranslationKey?: string | undefined;
510
523
  minLength?: number | undefined;
511
524
  label?: string | undefined;
512
525
  defaultValue?: string | undefined;
513
- }[];
514
- localQueryId?: string | undefined;
515
- query?: string | undefined;
526
+ }[] | undefined;
516
527
  }, {
517
528
  displayFields: {
518
529
  label: string;
@@ -520,16 +531,16 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
520
531
  labelTranslationKey?: string | undefined;
521
532
  }[];
522
533
  responseField: string;
523
- variables: {
534
+ localQueryId?: string | undefined;
535
+ query?: string | undefined;
536
+ variables?: {
524
537
  type: string;
525
538
  name: string;
526
539
  labelTranslationKey?: string | undefined;
527
540
  minLength?: number | undefined;
528
541
  label?: string | undefined;
529
542
  defaultValue?: string | undefined;
530
- }[];
531
- localQueryId?: string | undefined;
532
- query?: string | undefined;
543
+ }[] | undefined;
533
544
  }>;
534
545
  attributes: z.ZodObject<{
535
546
  multiple: z.ZodOptional<z.ZodBoolean>;
@@ -554,16 +565,16 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
554
565
  labelTranslationKey?: string | undefined;
555
566
  }[];
556
567
  responseField: string;
557
- variables: {
568
+ localQueryId?: string | undefined;
569
+ query?: string | undefined;
570
+ variables?: {
558
571
  type: string;
559
572
  name: string;
560
573
  labelTranslationKey?: string | undefined;
561
574
  minLength?: number | undefined;
562
575
  label?: string | undefined;
563
576
  defaultValue?: string | undefined;
564
- }[];
565
- localQueryId?: string | undefined;
566
- query?: string | undefined;
577
+ }[] | undefined;
567
578
  };
568
579
  }, {
569
580
  type: "filteredSearch";
@@ -581,16 +592,16 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
581
592
  labelTranslationKey?: string | undefined;
582
593
  }[];
583
594
  responseField: string;
584
- variables: {
595
+ localQueryId?: string | undefined;
596
+ query?: string | undefined;
597
+ variables?: {
585
598
  type: string;
586
599
  name: string;
587
600
  labelTranslationKey?: string | undefined;
588
601
  minLength?: number | undefined;
589
602
  label?: string | undefined;
590
603
  defaultValue?: string | undefined;
591
- }[];
592
- localQueryId?: string | undefined;
593
- query?: string | undefined;
604
+ }[] | undefined;
594
605
  };
595
606
  }>, z.ZodObject<{
596
607
  meta: z.ZodObject<{
@@ -605,7 +616,7 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
605
616
  }>;
606
617
  } & {
607
618
  type: z.ZodLiteral<"number">;
608
- attributes: z.ZodObject<{
619
+ attributes: z.ZodOptional<z.ZodObject<{
609
620
  max: z.ZodOptional<z.ZodNumber>;
610
621
  min: z.ZodOptional<z.ZodNumber>;
611
622
  step: z.ZodOptional<z.ZodNumber>;
@@ -617,29 +628,29 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
617
628
  max?: number | undefined;
618
629
  min?: number | undefined;
619
630
  step?: number | undefined;
620
- }>;
631
+ }>>;
621
632
  }, "strip", z.ZodTypeAny, {
622
633
  type: "number";
623
634
  meta: {
624
635
  schemaVersion: "1.0";
625
636
  labelTranslationKey?: string | undefined;
626
637
  };
627
- attributes: {
638
+ attributes?: {
628
639
  max?: number | undefined;
629
640
  min?: number | undefined;
630
641
  step?: number | undefined;
631
- };
642
+ } | undefined;
632
643
  }, {
633
644
  type: "number";
634
645
  meta: {
635
646
  schemaVersion: "1.0";
636
647
  labelTranslationKey?: string | undefined;
637
648
  };
638
- attributes: {
649
+ attributes?: {
639
650
  max?: number | undefined;
640
651
  min?: number | undefined;
641
652
  step?: number | undefined;
642
- };
653
+ } | undefined;
643
654
  }>, z.ZodObject<{
644
655
  meta: z.ZodObject<{
645
656
  schemaVersion: z.ZodLiteral<"1.0">;
@@ -756,13 +767,13 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
756
767
  selected?: boolean | undefined;
757
768
  };
758
769
  }>, "many">;
759
- attributes: z.ZodObject<{
770
+ attributes: z.ZodOptional<z.ZodObject<{
760
771
  multiple: z.ZodOptional<z.ZodBoolean>;
761
772
  }, "strip", z.ZodTypeAny, {
762
773
  multiple?: boolean | undefined;
763
774
  }, {
764
775
  multiple?: boolean | undefined;
765
- }>;
776
+ }>>;
766
777
  }, "strip", z.ZodTypeAny, {
767
778
  type: "selectBox";
768
779
  options: {
@@ -777,9 +788,9 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
777
788
  schemaVersion: "1.0";
778
789
  labelTranslationKey?: string | undefined;
779
790
  };
780
- attributes: {
791
+ attributes?: {
781
792
  multiple?: boolean | undefined;
782
- };
793
+ } | undefined;
783
794
  }, {
784
795
  type: "selectBox";
785
796
  options: {
@@ -794,12 +805,12 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
794
805
  schemaVersion: "1.0";
795
806
  labelTranslationKey?: string | undefined;
796
807
  };
797
- attributes: {
808
+ attributes?: {
798
809
  multiple?: boolean | undefined;
799
- };
810
+ } | undefined;
800
811
  }>, z.ZodObject<{} & {
801
812
  type: z.ZodLiteral<"textArea">;
802
- attributes: z.ZodObject<{
813
+ attributes: z.ZodOptional<z.ZodObject<{
803
814
  cols: z.ZodOptional<z.ZodNumber>;
804
815
  maxLength: z.ZodOptional<z.ZodNumber>;
805
816
  minLength: z.ZodOptional<z.ZodNumber>;
@@ -814,36 +825,47 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
814
825
  minLength?: number | undefined;
815
826
  cols?: number | undefined;
816
827
  rows?: number | undefined;
817
- }>;
828
+ }>>;
818
829
  meta: z.ZodObject<{
830
+ schemaVersion: z.ZodLiteral<"1.0">;
831
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
832
+ } & {
819
833
  asRichText: z.ZodOptional<z.ZodBoolean>;
820
834
  }, "strip", z.ZodTypeAny, {
835
+ schemaVersion: "1.0";
836
+ labelTranslationKey?: string | undefined;
821
837
  asRichText?: boolean | undefined;
822
838
  }, {
839
+ schemaVersion: "1.0";
840
+ labelTranslationKey?: string | undefined;
823
841
  asRichText?: boolean | undefined;
824
842
  }>;
825
843
  }, "strip", z.ZodTypeAny, {
826
844
  type: "textArea";
827
845
  meta: {
846
+ schemaVersion: "1.0";
847
+ labelTranslationKey?: string | undefined;
828
848
  asRichText?: boolean | undefined;
829
849
  };
830
- attributes: {
850
+ attributes?: {
831
851
  maxLength?: number | undefined;
832
852
  minLength?: number | undefined;
833
853
  cols?: number | undefined;
834
854
  rows?: number | undefined;
835
- };
855
+ } | undefined;
836
856
  }, {
837
857
  type: "textArea";
838
858
  meta: {
859
+ schemaVersion: "1.0";
860
+ labelTranslationKey?: string | undefined;
839
861
  asRichText?: boolean | undefined;
840
862
  };
841
- attributes: {
863
+ attributes?: {
842
864
  maxLength?: number | undefined;
843
865
  minLength?: number | undefined;
844
866
  cols?: number | undefined;
845
867
  rows?: number | undefined;
846
- };
868
+ } | undefined;
847
869
  }>, z.ZodObject<{
848
870
  meta: z.ZodObject<{
849
871
  schemaVersion: z.ZodLiteral<"1.0">;
@@ -857,7 +879,7 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
857
879
  }>;
858
880
  } & {
859
881
  type: z.ZodLiteral<"text">;
860
- attributes: z.ZodObject<{
882
+ attributes: z.ZodOptional<z.ZodObject<{
861
883
  maxLength: z.ZodOptional<z.ZodNumber>;
862
884
  minLength: z.ZodOptional<z.ZodNumber>;
863
885
  pattern: z.ZodOptional<z.ZodString>;
@@ -869,29 +891,29 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
869
891
  maxLength?: number | undefined;
870
892
  minLength?: number | undefined;
871
893
  pattern?: string | undefined;
872
- }>;
894
+ }>>;
873
895
  }, "strip", z.ZodTypeAny, {
874
896
  type: "text";
875
897
  meta: {
876
898
  schemaVersion: "1.0";
877
899
  labelTranslationKey?: string | undefined;
878
900
  };
879
- attributes: {
901
+ attributes?: {
880
902
  maxLength?: number | undefined;
881
903
  minLength?: number | undefined;
882
904
  pattern?: string | undefined;
883
- };
905
+ } | undefined;
884
906
  }, {
885
907
  type: "text";
886
908
  meta: {
887
909
  schemaVersion: "1.0";
888
910
  labelTranslationKey?: string | undefined;
889
911
  };
890
- attributes: {
912
+ attributes?: {
891
913
  maxLength?: number | undefined;
892
914
  minLength?: number | undefined;
893
915
  pattern?: string | undefined;
894
- };
916
+ } | undefined;
895
917
  }>, z.ZodObject<{
896
918
  meta: z.ZodObject<{
897
919
  schemaVersion: z.ZodLiteral<"1.0">;
@@ -922,7 +944,7 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
922
944
  localQueryId: z.ZodOptional<z.ZodString>;
923
945
  query: z.ZodOptional<z.ZodString>;
924
946
  responseField: z.ZodString;
925
- variables: z.ZodArray<z.ZodObject<{
947
+ variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
926
948
  minLength: z.ZodOptional<z.ZodNumber>;
927
949
  label: z.ZodOptional<z.ZodString>;
928
950
  labelTranslationKey: z.ZodOptional<z.ZodString>;
@@ -943,7 +965,7 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
943
965
  minLength?: number | undefined;
944
966
  label?: string | undefined;
945
967
  defaultValue?: string | undefined;
946
- }>, "many">;
968
+ }>, "many">>;
947
969
  }, "strip", z.ZodTypeAny, {
948
970
  displayFields: {
949
971
  label: string;
@@ -951,16 +973,16 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
951
973
  labelTranslationKey?: string | undefined;
952
974
  }[];
953
975
  responseField: string;
954
- variables: {
976
+ localQueryId?: string | undefined;
977
+ query?: string | undefined;
978
+ variables?: {
955
979
  type: string;
956
980
  name: string;
957
981
  labelTranslationKey?: string | undefined;
958
982
  minLength?: number | undefined;
959
983
  label?: string | undefined;
960
984
  defaultValue?: string | undefined;
961
- }[];
962
- localQueryId?: string | undefined;
963
- query?: string | undefined;
985
+ }[] | undefined;
964
986
  }, {
965
987
  displayFields: {
966
988
  label: string;
@@ -968,16 +990,16 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
968
990
  labelTranslationKey?: string | undefined;
969
991
  }[];
970
992
  responseField: string;
971
- variables: {
993
+ localQueryId?: string | undefined;
994
+ query?: string | undefined;
995
+ variables?: {
972
996
  type: string;
973
997
  name: string;
974
998
  labelTranslationKey?: string | undefined;
975
999
  minLength?: number | undefined;
976
1000
  label?: string | undefined;
977
1001
  defaultValue?: string | undefined;
978
- }[];
979
- localQueryId?: string | undefined;
980
- query?: string | undefined;
1002
+ }[] | undefined;
981
1003
  }>;
982
1004
  }, "strip", z.ZodTypeAny, {
983
1005
  type: "typeaheadSearch";
@@ -992,16 +1014,16 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
992
1014
  labelTranslationKey?: string | undefined;
993
1015
  }[];
994
1016
  responseField: string;
995
- variables: {
1017
+ localQueryId?: string | undefined;
1018
+ query?: string | undefined;
1019
+ variables?: {
996
1020
  type: string;
997
1021
  name: string;
998
1022
  labelTranslationKey?: string | undefined;
999
1023
  minLength?: number | undefined;
1000
1024
  label?: string | undefined;
1001
1025
  defaultValue?: string | undefined;
1002
- }[];
1003
- localQueryId?: string | undefined;
1004
- query?: string | undefined;
1026
+ }[] | undefined;
1005
1027
  };
1006
1028
  }, {
1007
1029
  type: "typeaheadSearch";
@@ -1016,16 +1038,16 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
1016
1038
  labelTranslationKey?: string | undefined;
1017
1039
  }[];
1018
1040
  responseField: string;
1019
- variables: {
1041
+ localQueryId?: string | undefined;
1042
+ query?: string | undefined;
1043
+ variables?: {
1020
1044
  type: string;
1021
1045
  name: string;
1022
1046
  labelTranslationKey?: string | undefined;
1023
1047
  minLength?: number | undefined;
1024
1048
  label?: string | undefined;
1025
1049
  defaultValue?: string | undefined;
1026
- }[];
1027
- localQueryId?: string | undefined;
1028
- query?: string | undefined;
1050
+ }[] | undefined;
1029
1051
  };
1030
1052
  }>, z.ZodObject<{
1031
1053
  meta: z.ZodObject<{
@@ -1040,7 +1062,7 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
1040
1062
  }>;
1041
1063
  } & {
1042
1064
  type: z.ZodLiteral<"url">;
1043
- attributes: z.ZodObject<{
1065
+ attributes: z.ZodOptional<z.ZodObject<{
1044
1066
  maxLength: z.ZodOptional<z.ZodNumber>;
1045
1067
  minLength: z.ZodOptional<z.ZodNumber>;
1046
1068
  pattern: z.ZodOptional<z.ZodString>;
@@ -1052,29 +1074,29 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
1052
1074
  maxLength?: number | undefined;
1053
1075
  minLength?: number | undefined;
1054
1076
  pattern?: string | undefined;
1055
- }>;
1077
+ }>>;
1056
1078
  }, "strip", z.ZodTypeAny, {
1057
1079
  type: "url";
1058
1080
  meta: {
1059
1081
  schemaVersion: "1.0";
1060
1082
  labelTranslationKey?: string | undefined;
1061
1083
  };
1062
- attributes: {
1084
+ attributes?: {
1063
1085
  maxLength?: number | undefined;
1064
1086
  minLength?: number | undefined;
1065
1087
  pattern?: string | undefined;
1066
- };
1088
+ } | undefined;
1067
1089
  }, {
1068
1090
  type: "url";
1069
1091
  meta: {
1070
1092
  schemaVersion: "1.0";
1071
1093
  labelTranslationKey?: string | undefined;
1072
1094
  };
1073
- attributes: {
1095
+ attributes?: {
1074
1096
  maxLength?: number | undefined;
1075
1097
  minLength?: number | undefined;
1076
1098
  pattern?: string | undefined;
1077
- };
1099
+ } | undefined;
1078
1100
  }>]>;
1079
1101
  export declare const TableQuestionSchema: z.ZodObject<{
1080
1102
  meta: z.ZodObject<{
@@ -1102,31 +1124,31 @@ export declare const TableQuestionSchema: z.ZodObject<{
1102
1124
  }>;
1103
1125
  } & {
1104
1126
  type: z.ZodLiteral<"boolean">;
1105
- attributes: z.ZodObject<{
1127
+ attributes: z.ZodOptional<z.ZodObject<{
1106
1128
  checked: z.ZodOptional<z.ZodBoolean>;
1107
1129
  }, "strip", z.ZodTypeAny, {
1108
1130
  checked?: boolean | undefined;
1109
1131
  }, {
1110
1132
  checked?: boolean | undefined;
1111
- }>;
1133
+ }>>;
1112
1134
  }, "strip", z.ZodTypeAny, {
1113
1135
  type: "boolean";
1114
1136
  meta: {
1115
1137
  schemaVersion: "1.0";
1116
1138
  labelTranslationKey?: string | undefined;
1117
1139
  };
1118
- attributes: {
1140
+ attributes?: {
1119
1141
  checked?: boolean | undefined;
1120
- };
1142
+ } | undefined;
1121
1143
  }, {
1122
1144
  type: "boolean";
1123
1145
  meta: {
1124
1146
  schemaVersion: "1.0";
1125
1147
  labelTranslationKey?: string | undefined;
1126
1148
  };
1127
- attributes: {
1149
+ attributes?: {
1128
1150
  checked?: boolean | undefined;
1129
- };
1151
+ } | undefined;
1130
1152
  }>, z.ZodObject<{
1131
1153
  meta: z.ZodObject<{
1132
1154
  schemaVersion: z.ZodLiteral<"1.0">;
@@ -1200,7 +1222,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
1200
1222
  labelTranslationKey?: string | undefined;
1201
1223
  };
1202
1224
  }>, z.ZodObject<{
1203
- attributes: z.ZodObject<{
1225
+ attributes: z.ZodOptional<z.ZodObject<{
1204
1226
  max: z.ZodOptional<z.ZodNumber>;
1205
1227
  min: z.ZodOptional<z.ZodNumber>;
1206
1228
  step: z.ZodOptional<z.ZodNumber>;
@@ -1212,36 +1234,47 @@ export declare const TableQuestionSchema: z.ZodObject<{
1212
1234
  max?: number | undefined;
1213
1235
  min?: number | undefined;
1214
1236
  step?: number | undefined;
1215
- }>;
1237
+ }>>;
1216
1238
  } & {
1217
1239
  type: z.ZodLiteral<"currency">;
1218
1240
  meta: z.ZodObject<{
1241
+ schemaVersion: z.ZodLiteral<"1.0">;
1242
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
1243
+ } & {
1219
1244
  denomination: z.ZodOptional<z.ZodString>;
1220
1245
  }, "strip", z.ZodTypeAny, {
1246
+ schemaVersion: "1.0";
1247
+ labelTranslationKey?: string | undefined;
1221
1248
  denomination?: string | undefined;
1222
1249
  }, {
1250
+ schemaVersion: "1.0";
1251
+ labelTranslationKey?: string | undefined;
1223
1252
  denomination?: string | undefined;
1224
1253
  }>;
1225
1254
  }, "strip", z.ZodTypeAny, {
1226
1255
  type: "currency";
1227
1256
  meta: {
1257
+ schemaVersion: "1.0";
1258
+ labelTranslationKey?: string | undefined;
1228
1259
  denomination?: string | undefined;
1229
1260
  };
1230
- attributes: {
1261
+ attributes?: {
1231
1262
  max?: number | undefined;
1232
1263
  min?: number | undefined;
1233
1264
  step?: number | undefined;
1234
- };
1265
+ } | undefined;
1235
1266
  }, {
1236
1267
  type: "currency";
1237
1268
  meta: {
1269
+ schemaVersion: "1.0";
1270
+ labelTranslationKey?: string | undefined;
1238
1271
  denomination?: string | undefined;
1239
1272
  };
1240
- attributes: {
1273
+ attributes?: {
1241
1274
  max?: number | undefined;
1242
1275
  min?: number | undefined;
1243
1276
  step?: number | undefined;
1244
- };
1277
+ } | undefined;
1245
1278
  }>, z.ZodObject<{
1246
1279
  meta: z.ZodObject<{
1247
1280
  schemaVersion: z.ZodLiteral<"1.0">;
@@ -1255,7 +1288,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
1255
1288
  }>;
1256
1289
  } & {
1257
1290
  type: z.ZodLiteral<"datePicker">;
1258
- attributes: z.ZodObject<{
1291
+ attributes: z.ZodOptional<z.ZodObject<{
1259
1292
  max: z.ZodOptional<z.ZodString>;
1260
1293
  min: z.ZodOptional<z.ZodString>;
1261
1294
  step: z.ZodOptional<z.ZodNumber>;
@@ -1267,29 +1300,29 @@ export declare const TableQuestionSchema: z.ZodObject<{
1267
1300
  max?: string | undefined;
1268
1301
  min?: string | undefined;
1269
1302
  step?: number | undefined;
1270
- }>;
1303
+ }>>;
1271
1304
  }, "strip", z.ZodTypeAny, {
1272
1305
  type: "datePicker";
1273
1306
  meta: {
1274
1307
  schemaVersion: "1.0";
1275
1308
  labelTranslationKey?: string | undefined;
1276
1309
  };
1277
- attributes: {
1310
+ attributes?: {
1278
1311
  max?: string | undefined;
1279
1312
  min?: string | undefined;
1280
1313
  step?: number | undefined;
1281
- };
1314
+ } | undefined;
1282
1315
  }, {
1283
1316
  type: "datePicker";
1284
1317
  meta: {
1285
1318
  schemaVersion: "1.0";
1286
1319
  labelTranslationKey?: string | undefined;
1287
1320
  };
1288
- attributes: {
1321
+ attributes?: {
1289
1322
  max?: string | undefined;
1290
1323
  min?: string | undefined;
1291
1324
  step?: number | undefined;
1292
- };
1325
+ } | undefined;
1293
1326
  }>, z.ZodObject<{
1294
1327
  meta: z.ZodObject<{
1295
1328
  schemaVersion: z.ZodLiteral<"1.0">;
@@ -1494,7 +1527,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
1494
1527
  }>;
1495
1528
  } & {
1496
1529
  type: z.ZodLiteral<"email">;
1497
- attributes: z.ZodObject<{
1530
+ attributes: z.ZodOptional<z.ZodObject<{
1498
1531
  maxLength: z.ZodOptional<z.ZodNumber>;
1499
1532
  minLength: z.ZodOptional<z.ZodNumber>;
1500
1533
  multiple: z.ZodOptional<z.ZodBoolean>;
@@ -1509,31 +1542,31 @@ export declare const TableQuestionSchema: z.ZodObject<{
1509
1542
  minLength?: number | undefined;
1510
1543
  multiple?: boolean | undefined;
1511
1544
  pattern?: string | undefined;
1512
- }>;
1545
+ }>>;
1513
1546
  }, "strip", z.ZodTypeAny, {
1514
1547
  type: "email";
1515
1548
  meta: {
1516
1549
  schemaVersion: "1.0";
1517
1550
  labelTranslationKey?: string | undefined;
1518
1551
  };
1519
- attributes: {
1552
+ attributes?: {
1520
1553
  maxLength?: number | undefined;
1521
1554
  minLength?: number | undefined;
1522
1555
  multiple?: boolean | undefined;
1523
1556
  pattern?: string | undefined;
1524
- };
1557
+ } | undefined;
1525
1558
  }, {
1526
1559
  type: "email";
1527
1560
  meta: {
1528
1561
  schemaVersion: "1.0";
1529
1562
  labelTranslationKey?: string | undefined;
1530
1563
  };
1531
- attributes: {
1564
+ attributes?: {
1532
1565
  maxLength?: number | undefined;
1533
1566
  minLength?: number | undefined;
1534
1567
  multiple?: boolean | undefined;
1535
1568
  pattern?: string | undefined;
1536
- };
1569
+ } | undefined;
1537
1570
  }>, z.ZodObject<{
1538
1571
  meta: z.ZodObject<{
1539
1572
  schemaVersion: z.ZodLiteral<"1.0">;
@@ -1564,7 +1597,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
1564
1597
  localQueryId: z.ZodOptional<z.ZodString>;
1565
1598
  query: z.ZodOptional<z.ZodString>;
1566
1599
  responseField: z.ZodString;
1567
- variables: z.ZodArray<z.ZodObject<{
1600
+ variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
1568
1601
  minLength: z.ZodOptional<z.ZodNumber>;
1569
1602
  label: z.ZodOptional<z.ZodString>;
1570
1603
  labelTranslationKey: z.ZodOptional<z.ZodString>;
@@ -1585,7 +1618,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
1585
1618
  minLength?: number | undefined;
1586
1619
  label?: string | undefined;
1587
1620
  defaultValue?: string | undefined;
1588
- }>, "many">;
1621
+ }>, "many">>;
1589
1622
  }, "strip", z.ZodTypeAny, {
1590
1623
  displayFields: {
1591
1624
  label: string;
@@ -1593,16 +1626,16 @@ export declare const TableQuestionSchema: z.ZodObject<{
1593
1626
  labelTranslationKey?: string | undefined;
1594
1627
  }[];
1595
1628
  responseField: string;
1596
- variables: {
1629
+ localQueryId?: string | undefined;
1630
+ query?: string | undefined;
1631
+ variables?: {
1597
1632
  type: string;
1598
1633
  name: string;
1599
1634
  labelTranslationKey?: string | undefined;
1600
1635
  minLength?: number | undefined;
1601
1636
  label?: string | undefined;
1602
1637
  defaultValue?: string | undefined;
1603
- }[];
1604
- localQueryId?: string | undefined;
1605
- query?: string | undefined;
1638
+ }[] | undefined;
1606
1639
  }, {
1607
1640
  displayFields: {
1608
1641
  label: string;
@@ -1610,16 +1643,16 @@ export declare const TableQuestionSchema: z.ZodObject<{
1610
1643
  labelTranslationKey?: string | undefined;
1611
1644
  }[];
1612
1645
  responseField: string;
1613
- variables: {
1646
+ localQueryId?: string | undefined;
1647
+ query?: string | undefined;
1648
+ variables?: {
1614
1649
  type: string;
1615
1650
  name: string;
1616
1651
  labelTranslationKey?: string | undefined;
1617
1652
  minLength?: number | undefined;
1618
1653
  label?: string | undefined;
1619
1654
  defaultValue?: string | undefined;
1620
- }[];
1621
- localQueryId?: string | undefined;
1622
- query?: string | undefined;
1655
+ }[] | undefined;
1623
1656
  }>;
1624
1657
  attributes: z.ZodObject<{
1625
1658
  multiple: z.ZodOptional<z.ZodBoolean>;
@@ -1644,16 +1677,16 @@ export declare const TableQuestionSchema: z.ZodObject<{
1644
1677
  labelTranslationKey?: string | undefined;
1645
1678
  }[];
1646
1679
  responseField: string;
1647
- variables: {
1680
+ localQueryId?: string | undefined;
1681
+ query?: string | undefined;
1682
+ variables?: {
1648
1683
  type: string;
1649
1684
  name: string;
1650
1685
  labelTranslationKey?: string | undefined;
1651
1686
  minLength?: number | undefined;
1652
1687
  label?: string | undefined;
1653
1688
  defaultValue?: string | undefined;
1654
- }[];
1655
- localQueryId?: string | undefined;
1656
- query?: string | undefined;
1689
+ }[] | undefined;
1657
1690
  };
1658
1691
  }, {
1659
1692
  type: "filteredSearch";
@@ -1671,16 +1704,16 @@ export declare const TableQuestionSchema: z.ZodObject<{
1671
1704
  labelTranslationKey?: string | undefined;
1672
1705
  }[];
1673
1706
  responseField: string;
1674
- variables: {
1707
+ localQueryId?: string | undefined;
1708
+ query?: string | undefined;
1709
+ variables?: {
1675
1710
  type: string;
1676
1711
  name: string;
1677
1712
  labelTranslationKey?: string | undefined;
1678
1713
  minLength?: number | undefined;
1679
1714
  label?: string | undefined;
1680
1715
  defaultValue?: string | undefined;
1681
- }[];
1682
- localQueryId?: string | undefined;
1683
- query?: string | undefined;
1716
+ }[] | undefined;
1684
1717
  };
1685
1718
  }>, z.ZodObject<{
1686
1719
  meta: z.ZodObject<{
@@ -1695,7 +1728,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
1695
1728
  }>;
1696
1729
  } & {
1697
1730
  type: z.ZodLiteral<"number">;
1698
- attributes: z.ZodObject<{
1731
+ attributes: z.ZodOptional<z.ZodObject<{
1699
1732
  max: z.ZodOptional<z.ZodNumber>;
1700
1733
  min: z.ZodOptional<z.ZodNumber>;
1701
1734
  step: z.ZodOptional<z.ZodNumber>;
@@ -1707,29 +1740,29 @@ export declare const TableQuestionSchema: z.ZodObject<{
1707
1740
  max?: number | undefined;
1708
1741
  min?: number | undefined;
1709
1742
  step?: number | undefined;
1710
- }>;
1743
+ }>>;
1711
1744
  }, "strip", z.ZodTypeAny, {
1712
1745
  type: "number";
1713
1746
  meta: {
1714
1747
  schemaVersion: "1.0";
1715
1748
  labelTranslationKey?: string | undefined;
1716
1749
  };
1717
- attributes: {
1750
+ attributes?: {
1718
1751
  max?: number | undefined;
1719
1752
  min?: number | undefined;
1720
1753
  step?: number | undefined;
1721
- };
1754
+ } | undefined;
1722
1755
  }, {
1723
1756
  type: "number";
1724
1757
  meta: {
1725
1758
  schemaVersion: "1.0";
1726
1759
  labelTranslationKey?: string | undefined;
1727
1760
  };
1728
- attributes: {
1761
+ attributes?: {
1729
1762
  max?: number | undefined;
1730
1763
  min?: number | undefined;
1731
1764
  step?: number | undefined;
1732
- };
1765
+ } | undefined;
1733
1766
  }>, z.ZodObject<{
1734
1767
  meta: z.ZodObject<{
1735
1768
  schemaVersion: z.ZodLiteral<"1.0">;
@@ -1846,13 +1879,13 @@ export declare const TableQuestionSchema: z.ZodObject<{
1846
1879
  selected?: boolean | undefined;
1847
1880
  };
1848
1881
  }>, "many">;
1849
- attributes: z.ZodObject<{
1882
+ attributes: z.ZodOptional<z.ZodObject<{
1850
1883
  multiple: z.ZodOptional<z.ZodBoolean>;
1851
1884
  }, "strip", z.ZodTypeAny, {
1852
1885
  multiple?: boolean | undefined;
1853
1886
  }, {
1854
1887
  multiple?: boolean | undefined;
1855
- }>;
1888
+ }>>;
1856
1889
  }, "strip", z.ZodTypeAny, {
1857
1890
  type: "selectBox";
1858
1891
  options: {
@@ -1867,9 +1900,9 @@ export declare const TableQuestionSchema: z.ZodObject<{
1867
1900
  schemaVersion: "1.0";
1868
1901
  labelTranslationKey?: string | undefined;
1869
1902
  };
1870
- attributes: {
1903
+ attributes?: {
1871
1904
  multiple?: boolean | undefined;
1872
- };
1905
+ } | undefined;
1873
1906
  }, {
1874
1907
  type: "selectBox";
1875
1908
  options: {
@@ -1884,12 +1917,12 @@ export declare const TableQuestionSchema: z.ZodObject<{
1884
1917
  schemaVersion: "1.0";
1885
1918
  labelTranslationKey?: string | undefined;
1886
1919
  };
1887
- attributes: {
1920
+ attributes?: {
1888
1921
  multiple?: boolean | undefined;
1889
- };
1922
+ } | undefined;
1890
1923
  }>, z.ZodObject<{} & {
1891
1924
  type: z.ZodLiteral<"textArea">;
1892
- attributes: z.ZodObject<{
1925
+ attributes: z.ZodOptional<z.ZodObject<{
1893
1926
  cols: z.ZodOptional<z.ZodNumber>;
1894
1927
  maxLength: z.ZodOptional<z.ZodNumber>;
1895
1928
  minLength: z.ZodOptional<z.ZodNumber>;
@@ -1904,36 +1937,47 @@ export declare const TableQuestionSchema: z.ZodObject<{
1904
1937
  minLength?: number | undefined;
1905
1938
  cols?: number | undefined;
1906
1939
  rows?: number | undefined;
1907
- }>;
1940
+ }>>;
1908
1941
  meta: z.ZodObject<{
1942
+ schemaVersion: z.ZodLiteral<"1.0">;
1943
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
1944
+ } & {
1909
1945
  asRichText: z.ZodOptional<z.ZodBoolean>;
1910
1946
  }, "strip", z.ZodTypeAny, {
1947
+ schemaVersion: "1.0";
1948
+ labelTranslationKey?: string | undefined;
1911
1949
  asRichText?: boolean | undefined;
1912
1950
  }, {
1951
+ schemaVersion: "1.0";
1952
+ labelTranslationKey?: string | undefined;
1913
1953
  asRichText?: boolean | undefined;
1914
1954
  }>;
1915
1955
  }, "strip", z.ZodTypeAny, {
1916
1956
  type: "textArea";
1917
1957
  meta: {
1958
+ schemaVersion: "1.0";
1959
+ labelTranslationKey?: string | undefined;
1918
1960
  asRichText?: boolean | undefined;
1919
1961
  };
1920
- attributes: {
1962
+ attributes?: {
1921
1963
  maxLength?: number | undefined;
1922
1964
  minLength?: number | undefined;
1923
1965
  cols?: number | undefined;
1924
1966
  rows?: number | undefined;
1925
- };
1967
+ } | undefined;
1926
1968
  }, {
1927
1969
  type: "textArea";
1928
1970
  meta: {
1971
+ schemaVersion: "1.0";
1972
+ labelTranslationKey?: string | undefined;
1929
1973
  asRichText?: boolean | undefined;
1930
1974
  };
1931
- attributes: {
1975
+ attributes?: {
1932
1976
  maxLength?: number | undefined;
1933
1977
  minLength?: number | undefined;
1934
1978
  cols?: number | undefined;
1935
1979
  rows?: number | undefined;
1936
- };
1980
+ } | undefined;
1937
1981
  }>, z.ZodObject<{
1938
1982
  meta: z.ZodObject<{
1939
1983
  schemaVersion: z.ZodLiteral<"1.0">;
@@ -1947,7 +1991,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
1947
1991
  }>;
1948
1992
  } & {
1949
1993
  type: z.ZodLiteral<"text">;
1950
- attributes: z.ZodObject<{
1994
+ attributes: z.ZodOptional<z.ZodObject<{
1951
1995
  maxLength: z.ZodOptional<z.ZodNumber>;
1952
1996
  minLength: z.ZodOptional<z.ZodNumber>;
1953
1997
  pattern: z.ZodOptional<z.ZodString>;
@@ -1959,29 +2003,29 @@ export declare const TableQuestionSchema: z.ZodObject<{
1959
2003
  maxLength?: number | undefined;
1960
2004
  minLength?: number | undefined;
1961
2005
  pattern?: string | undefined;
1962
- }>;
2006
+ }>>;
1963
2007
  }, "strip", z.ZodTypeAny, {
1964
2008
  type: "text";
1965
2009
  meta: {
1966
2010
  schemaVersion: "1.0";
1967
2011
  labelTranslationKey?: string | undefined;
1968
2012
  };
1969
- attributes: {
2013
+ attributes?: {
1970
2014
  maxLength?: number | undefined;
1971
2015
  minLength?: number | undefined;
1972
2016
  pattern?: string | undefined;
1973
- };
2017
+ } | undefined;
1974
2018
  }, {
1975
2019
  type: "text";
1976
2020
  meta: {
1977
2021
  schemaVersion: "1.0";
1978
2022
  labelTranslationKey?: string | undefined;
1979
2023
  };
1980
- attributes: {
2024
+ attributes?: {
1981
2025
  maxLength?: number | undefined;
1982
2026
  minLength?: number | undefined;
1983
2027
  pattern?: string | undefined;
1984
- };
2028
+ } | undefined;
1985
2029
  }>, z.ZodObject<{
1986
2030
  meta: z.ZodObject<{
1987
2031
  schemaVersion: z.ZodLiteral<"1.0">;
@@ -2012,7 +2056,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
2012
2056
  localQueryId: z.ZodOptional<z.ZodString>;
2013
2057
  query: z.ZodOptional<z.ZodString>;
2014
2058
  responseField: z.ZodString;
2015
- variables: z.ZodArray<z.ZodObject<{
2059
+ variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
2016
2060
  minLength: z.ZodOptional<z.ZodNumber>;
2017
2061
  label: z.ZodOptional<z.ZodString>;
2018
2062
  labelTranslationKey: z.ZodOptional<z.ZodString>;
@@ -2033,7 +2077,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
2033
2077
  minLength?: number | undefined;
2034
2078
  label?: string | undefined;
2035
2079
  defaultValue?: string | undefined;
2036
- }>, "many">;
2080
+ }>, "many">>;
2037
2081
  }, "strip", z.ZodTypeAny, {
2038
2082
  displayFields: {
2039
2083
  label: string;
@@ -2041,16 +2085,16 @@ export declare const TableQuestionSchema: z.ZodObject<{
2041
2085
  labelTranslationKey?: string | undefined;
2042
2086
  }[];
2043
2087
  responseField: string;
2044
- variables: {
2088
+ localQueryId?: string | undefined;
2089
+ query?: string | undefined;
2090
+ variables?: {
2045
2091
  type: string;
2046
2092
  name: string;
2047
2093
  labelTranslationKey?: string | undefined;
2048
2094
  minLength?: number | undefined;
2049
2095
  label?: string | undefined;
2050
2096
  defaultValue?: string | undefined;
2051
- }[];
2052
- localQueryId?: string | undefined;
2053
- query?: string | undefined;
2097
+ }[] | undefined;
2054
2098
  }, {
2055
2099
  displayFields: {
2056
2100
  label: string;
@@ -2058,16 +2102,16 @@ export declare const TableQuestionSchema: z.ZodObject<{
2058
2102
  labelTranslationKey?: string | undefined;
2059
2103
  }[];
2060
2104
  responseField: string;
2061
- variables: {
2105
+ localQueryId?: string | undefined;
2106
+ query?: string | undefined;
2107
+ variables?: {
2062
2108
  type: string;
2063
2109
  name: string;
2064
2110
  labelTranslationKey?: string | undefined;
2065
2111
  minLength?: number | undefined;
2066
2112
  label?: string | undefined;
2067
2113
  defaultValue?: string | undefined;
2068
- }[];
2069
- localQueryId?: string | undefined;
2070
- query?: string | undefined;
2114
+ }[] | undefined;
2071
2115
  }>;
2072
2116
  }, "strip", z.ZodTypeAny, {
2073
2117
  type: "typeaheadSearch";
@@ -2082,16 +2126,16 @@ export declare const TableQuestionSchema: z.ZodObject<{
2082
2126
  labelTranslationKey?: string | undefined;
2083
2127
  }[];
2084
2128
  responseField: string;
2085
- variables: {
2129
+ localQueryId?: string | undefined;
2130
+ query?: string | undefined;
2131
+ variables?: {
2086
2132
  type: string;
2087
2133
  name: string;
2088
2134
  labelTranslationKey?: string | undefined;
2089
2135
  minLength?: number | undefined;
2090
2136
  label?: string | undefined;
2091
2137
  defaultValue?: string | undefined;
2092
- }[];
2093
- localQueryId?: string | undefined;
2094
- query?: string | undefined;
2138
+ }[] | undefined;
2095
2139
  };
2096
2140
  }, {
2097
2141
  type: "typeaheadSearch";
@@ -2106,16 +2150,16 @@ export declare const TableQuestionSchema: z.ZodObject<{
2106
2150
  labelTranslationKey?: string | undefined;
2107
2151
  }[];
2108
2152
  responseField: string;
2109
- variables: {
2153
+ localQueryId?: string | undefined;
2154
+ query?: string | undefined;
2155
+ variables?: {
2110
2156
  type: string;
2111
2157
  name: string;
2112
2158
  labelTranslationKey?: string | undefined;
2113
2159
  minLength?: number | undefined;
2114
2160
  label?: string | undefined;
2115
2161
  defaultValue?: string | undefined;
2116
- }[];
2117
- localQueryId?: string | undefined;
2118
- query?: string | undefined;
2162
+ }[] | undefined;
2119
2163
  };
2120
2164
  }>, z.ZodObject<{
2121
2165
  meta: z.ZodObject<{
@@ -2130,7 +2174,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
2130
2174
  }>;
2131
2175
  } & {
2132
2176
  type: z.ZodLiteral<"url">;
2133
- attributes: z.ZodObject<{
2177
+ attributes: z.ZodOptional<z.ZodObject<{
2134
2178
  maxLength: z.ZodOptional<z.ZodNumber>;
2135
2179
  minLength: z.ZodOptional<z.ZodNumber>;
2136
2180
  pattern: z.ZodOptional<z.ZodString>;
@@ -2142,31 +2186,31 @@ export declare const TableQuestionSchema: z.ZodObject<{
2142
2186
  maxLength?: number | undefined;
2143
2187
  minLength?: number | undefined;
2144
2188
  pattern?: string | undefined;
2145
- }>;
2189
+ }>>;
2146
2190
  }, "strip", z.ZodTypeAny, {
2147
2191
  type: "url";
2148
2192
  meta: {
2149
2193
  schemaVersion: "1.0";
2150
2194
  labelTranslationKey?: string | undefined;
2151
2195
  };
2152
- attributes: {
2196
+ attributes?: {
2153
2197
  maxLength?: number | undefined;
2154
2198
  minLength?: number | undefined;
2155
2199
  pattern?: string | undefined;
2156
- };
2200
+ } | undefined;
2157
2201
  }, {
2158
2202
  type: "url";
2159
2203
  meta: {
2160
2204
  schemaVersion: "1.0";
2161
2205
  labelTranslationKey?: string | undefined;
2162
2206
  };
2163
- attributes: {
2207
+ attributes?: {
2164
2208
  maxLength?: number | undefined;
2165
2209
  minLength?: number | undefined;
2166
2210
  pattern?: string | undefined;
2167
- };
2211
+ } | undefined;
2168
2212
  }>]>, "many">;
2169
- attributes: z.ZodObject<{
2213
+ attributes: z.ZodOptional<z.ZodObject<{
2170
2214
  canAddRows: z.ZodOptional<z.ZodBoolean>;
2171
2215
  canRemoveRows: z.ZodOptional<z.ZodBoolean>;
2172
2216
  initialRows: z.ZodOptional<z.ZodNumber>;
@@ -2184,106 +2228,103 @@ export declare const TableQuestionSchema: z.ZodObject<{
2184
2228
  initialRows?: number | undefined;
2185
2229
  maxRows?: number | undefined;
2186
2230
  minRows?: number | undefined;
2187
- }>;
2231
+ }>>;
2188
2232
  }, "strip", z.ZodTypeAny, {
2189
2233
  type: "table";
2190
2234
  meta: {
2191
2235
  schemaVersion: "1.0";
2192
2236
  labelTranslationKey?: string | undefined;
2193
2237
  };
2194
- attributes: {
2195
- canAddRows?: boolean | undefined;
2196
- canRemoveRows?: boolean | undefined;
2197
- initialRows?: number | undefined;
2198
- maxRows?: number | undefined;
2199
- minRows?: number | undefined;
2200
- };
2201
2238
  columns: ({
2202
2239
  type: "boolean";
2203
2240
  meta: {
2204
2241
  schemaVersion: "1.0";
2205
2242
  labelTranslationKey?: string | undefined;
2206
2243
  };
2207
- attributes: {
2244
+ attributes?: {
2208
2245
  checked?: boolean | undefined;
2209
- };
2246
+ } | undefined;
2210
2247
  } | {
2211
2248
  type: "number";
2212
2249
  meta: {
2213
2250
  schemaVersion: "1.0";
2214
2251
  labelTranslationKey?: string | undefined;
2215
2252
  };
2216
- attributes: {
2253
+ attributes?: {
2217
2254
  max?: number | undefined;
2218
2255
  min?: number | undefined;
2219
2256
  step?: number | undefined;
2220
- };
2257
+ } | undefined;
2221
2258
  } | {
2222
2259
  type: "currency";
2223
2260
  meta: {
2261
+ schemaVersion: "1.0";
2262
+ labelTranslationKey?: string | undefined;
2224
2263
  denomination?: string | undefined;
2225
2264
  };
2226
- attributes: {
2265
+ attributes?: {
2227
2266
  max?: number | undefined;
2228
2267
  min?: number | undefined;
2229
2268
  step?: number | undefined;
2230
- };
2269
+ } | undefined;
2231
2270
  } | {
2232
2271
  type: "email";
2233
2272
  meta: {
2234
2273
  schemaVersion: "1.0";
2235
2274
  labelTranslationKey?: string | undefined;
2236
2275
  };
2237
- attributes: {
2276
+ attributes?: {
2238
2277
  maxLength?: number | undefined;
2239
2278
  minLength?: number | undefined;
2240
2279
  multiple?: boolean | undefined;
2241
2280
  pattern?: string | undefined;
2242
- };
2281
+ } | undefined;
2243
2282
  } | {
2244
2283
  type: "textArea";
2245
2284
  meta: {
2285
+ schemaVersion: "1.0";
2286
+ labelTranslationKey?: string | undefined;
2246
2287
  asRichText?: boolean | undefined;
2247
2288
  };
2248
- attributes: {
2289
+ attributes?: {
2249
2290
  maxLength?: number | undefined;
2250
2291
  minLength?: number | undefined;
2251
2292
  cols?: number | undefined;
2252
2293
  rows?: number | undefined;
2253
- };
2294
+ } | undefined;
2254
2295
  } | {
2255
2296
  type: "text";
2256
2297
  meta: {
2257
2298
  schemaVersion: "1.0";
2258
2299
  labelTranslationKey?: string | undefined;
2259
2300
  };
2260
- attributes: {
2301
+ attributes?: {
2261
2302
  maxLength?: number | undefined;
2262
2303
  minLength?: number | undefined;
2263
2304
  pattern?: string | undefined;
2264
- };
2305
+ } | undefined;
2265
2306
  } | {
2266
2307
  type: "url";
2267
2308
  meta: {
2268
2309
  schemaVersion: "1.0";
2269
2310
  labelTranslationKey?: string | undefined;
2270
2311
  };
2271
- attributes: {
2312
+ attributes?: {
2272
2313
  maxLength?: number | undefined;
2273
2314
  minLength?: number | undefined;
2274
2315
  pattern?: string | undefined;
2275
- };
2316
+ } | undefined;
2276
2317
  } | {
2277
2318
  type: "datePicker";
2278
2319
  meta: {
2279
2320
  schemaVersion: "1.0";
2280
2321
  labelTranslationKey?: string | undefined;
2281
2322
  };
2282
- attributes: {
2323
+ attributes?: {
2283
2324
  max?: string | undefined;
2284
2325
  min?: string | undefined;
2285
2326
  step?: number | undefined;
2286
- };
2327
+ } | undefined;
2287
2328
  } | {
2288
2329
  type: "dateRange";
2289
2330
  meta: {
@@ -2354,9 +2395,9 @@ export declare const TableQuestionSchema: z.ZodObject<{
2354
2395
  schemaVersion: "1.0";
2355
2396
  labelTranslationKey?: string | undefined;
2356
2397
  };
2357
- attributes: {
2398
+ attributes?: {
2358
2399
  multiple?: boolean | undefined;
2359
- };
2400
+ } | undefined;
2360
2401
  } | {
2361
2402
  type: "filteredSearch";
2362
2403
  meta: {
@@ -2373,16 +2414,16 @@ export declare const TableQuestionSchema: z.ZodObject<{
2373
2414
  labelTranslationKey?: string | undefined;
2374
2415
  }[];
2375
2416
  responseField: string;
2376
- variables: {
2417
+ localQueryId?: string | undefined;
2418
+ query?: string | undefined;
2419
+ variables?: {
2377
2420
  type: string;
2378
2421
  name: string;
2379
2422
  labelTranslationKey?: string | undefined;
2380
2423
  minLength?: number | undefined;
2381
2424
  label?: string | undefined;
2382
2425
  defaultValue?: string | undefined;
2383
- }[];
2384
- localQueryId?: string | undefined;
2385
- query?: string | undefined;
2426
+ }[] | undefined;
2386
2427
  };
2387
2428
  } | {
2388
2429
  type: "typeaheadSearch";
@@ -2397,30 +2438,30 @@ export declare const TableQuestionSchema: z.ZodObject<{
2397
2438
  labelTranslationKey?: string | undefined;
2398
2439
  }[];
2399
2440
  responseField: string;
2400
- variables: {
2441
+ localQueryId?: string | undefined;
2442
+ query?: string | undefined;
2443
+ variables?: {
2401
2444
  type: string;
2402
2445
  name: string;
2403
2446
  labelTranslationKey?: string | undefined;
2404
2447
  minLength?: number | undefined;
2405
2448
  label?: string | undefined;
2406
2449
  defaultValue?: string | undefined;
2407
- }[];
2408
- localQueryId?: string | undefined;
2409
- query?: string | undefined;
2450
+ }[] | undefined;
2410
2451
  };
2411
2452
  })[];
2412
- }, {
2413
- type: "table";
2414
- meta: {
2415
- schemaVersion: "1.0";
2416
- labelTranslationKey?: string | undefined;
2417
- };
2418
- attributes: {
2453
+ attributes?: {
2419
2454
  canAddRows?: boolean | undefined;
2420
2455
  canRemoveRows?: boolean | undefined;
2421
2456
  initialRows?: number | undefined;
2422
2457
  maxRows?: number | undefined;
2423
2458
  minRows?: number | undefined;
2459
+ } | undefined;
2460
+ }, {
2461
+ type: "table";
2462
+ meta: {
2463
+ schemaVersion: "1.0";
2464
+ labelTranslationKey?: string | undefined;
2424
2465
  };
2425
2466
  columns: ({
2426
2467
  type: "boolean";
@@ -2428,86 +2469,90 @@ export declare const TableQuestionSchema: z.ZodObject<{
2428
2469
  schemaVersion: "1.0";
2429
2470
  labelTranslationKey?: string | undefined;
2430
2471
  };
2431
- attributes: {
2472
+ attributes?: {
2432
2473
  checked?: boolean | undefined;
2433
- };
2474
+ } | undefined;
2434
2475
  } | {
2435
2476
  type: "number";
2436
2477
  meta: {
2437
2478
  schemaVersion: "1.0";
2438
2479
  labelTranslationKey?: string | undefined;
2439
2480
  };
2440
- attributes: {
2481
+ attributes?: {
2441
2482
  max?: number | undefined;
2442
2483
  min?: number | undefined;
2443
2484
  step?: number | undefined;
2444
- };
2485
+ } | undefined;
2445
2486
  } | {
2446
2487
  type: "currency";
2447
2488
  meta: {
2489
+ schemaVersion: "1.0";
2490
+ labelTranslationKey?: string | undefined;
2448
2491
  denomination?: string | undefined;
2449
2492
  };
2450
- attributes: {
2493
+ attributes?: {
2451
2494
  max?: number | undefined;
2452
2495
  min?: number | undefined;
2453
2496
  step?: number | undefined;
2454
- };
2497
+ } | undefined;
2455
2498
  } | {
2456
2499
  type: "email";
2457
2500
  meta: {
2458
2501
  schemaVersion: "1.0";
2459
2502
  labelTranslationKey?: string | undefined;
2460
2503
  };
2461
- attributes: {
2504
+ attributes?: {
2462
2505
  maxLength?: number | undefined;
2463
2506
  minLength?: number | undefined;
2464
2507
  multiple?: boolean | undefined;
2465
2508
  pattern?: string | undefined;
2466
- };
2509
+ } | undefined;
2467
2510
  } | {
2468
2511
  type: "textArea";
2469
2512
  meta: {
2513
+ schemaVersion: "1.0";
2514
+ labelTranslationKey?: string | undefined;
2470
2515
  asRichText?: boolean | undefined;
2471
2516
  };
2472
- attributes: {
2517
+ attributes?: {
2473
2518
  maxLength?: number | undefined;
2474
2519
  minLength?: number | undefined;
2475
2520
  cols?: number | undefined;
2476
2521
  rows?: number | undefined;
2477
- };
2522
+ } | undefined;
2478
2523
  } | {
2479
2524
  type: "text";
2480
2525
  meta: {
2481
2526
  schemaVersion: "1.0";
2482
2527
  labelTranslationKey?: string | undefined;
2483
2528
  };
2484
- attributes: {
2529
+ attributes?: {
2485
2530
  maxLength?: number | undefined;
2486
2531
  minLength?: number | undefined;
2487
2532
  pattern?: string | undefined;
2488
- };
2533
+ } | undefined;
2489
2534
  } | {
2490
2535
  type: "url";
2491
2536
  meta: {
2492
2537
  schemaVersion: "1.0";
2493
2538
  labelTranslationKey?: string | undefined;
2494
2539
  };
2495
- attributes: {
2540
+ attributes?: {
2496
2541
  maxLength?: number | undefined;
2497
2542
  minLength?: number | undefined;
2498
2543
  pattern?: string | undefined;
2499
- };
2544
+ } | undefined;
2500
2545
  } | {
2501
2546
  type: "datePicker";
2502
2547
  meta: {
2503
2548
  schemaVersion: "1.0";
2504
2549
  labelTranslationKey?: string | undefined;
2505
2550
  };
2506
- attributes: {
2551
+ attributes?: {
2507
2552
  max?: string | undefined;
2508
2553
  min?: string | undefined;
2509
2554
  step?: number | undefined;
2510
- };
2555
+ } | undefined;
2511
2556
  } | {
2512
2557
  type: "dateRange";
2513
2558
  meta: {
@@ -2578,9 +2623,9 @@ export declare const TableQuestionSchema: z.ZodObject<{
2578
2623
  schemaVersion: "1.0";
2579
2624
  labelTranslationKey?: string | undefined;
2580
2625
  };
2581
- attributes: {
2626
+ attributes?: {
2582
2627
  multiple?: boolean | undefined;
2583
- };
2628
+ } | undefined;
2584
2629
  } | {
2585
2630
  type: "filteredSearch";
2586
2631
  meta: {
@@ -2597,16 +2642,16 @@ export declare const TableQuestionSchema: z.ZodObject<{
2597
2642
  labelTranslationKey?: string | undefined;
2598
2643
  }[];
2599
2644
  responseField: string;
2600
- variables: {
2645
+ localQueryId?: string | undefined;
2646
+ query?: string | undefined;
2647
+ variables?: {
2601
2648
  type: string;
2602
2649
  name: string;
2603
2650
  labelTranslationKey?: string | undefined;
2604
2651
  minLength?: number | undefined;
2605
2652
  label?: string | undefined;
2606
2653
  defaultValue?: string | undefined;
2607
- }[];
2608
- localQueryId?: string | undefined;
2609
- query?: string | undefined;
2654
+ }[] | undefined;
2610
2655
  };
2611
2656
  } | {
2612
2657
  type: "typeaheadSearch";
@@ -2621,18 +2666,25 @@ export declare const TableQuestionSchema: z.ZodObject<{
2621
2666
  labelTranslationKey?: string | undefined;
2622
2667
  }[];
2623
2668
  responseField: string;
2624
- variables: {
2669
+ localQueryId?: string | undefined;
2670
+ query?: string | undefined;
2671
+ variables?: {
2625
2672
  type: string;
2626
2673
  name: string;
2627
2674
  labelTranslationKey?: string | undefined;
2628
2675
  minLength?: number | undefined;
2629
2676
  label?: string | undefined;
2630
2677
  defaultValue?: string | undefined;
2631
- }[];
2632
- localQueryId?: string | undefined;
2633
- query?: string | undefined;
2678
+ }[] | undefined;
2634
2679
  };
2635
2680
  })[];
2681
+ attributes?: {
2682
+ canAddRows?: boolean | undefined;
2683
+ canRemoveRows?: boolean | undefined;
2684
+ initialRows?: number | undefined;
2685
+ maxRows?: number | undefined;
2686
+ minRows?: number | undefined;
2687
+ } | undefined;
2636
2688
  }>;
2637
2689
  export type TableQuestionType = z.infer<typeof TableQuestionSchema>;
2638
2690
  export type AnyTableColumnQuestionType = z.infer<typeof AnyTableColumnQuestionSchema>;