@dmptool/types 1.0.3 → 1.0.5

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 (33) hide show
  1. package/README.md +25 -3
  2. package/dist/answers/answer.d.ts +3 -3
  3. package/dist/answers/index.d.ts +2 -0
  4. package/dist/answers/index.js +19 -1
  5. package/dist/questions/dateQuestions.d.ts +6 -6
  6. package/dist/questions/dateQuestions.js +1 -1
  7. package/dist/questions/graphQLQuestions.d.ts +36 -36
  8. package/dist/questions/graphQLQuestions.js +1 -1
  9. package/dist/questions/index.d.ts +250 -248
  10. package/dist/questions/index.js +19 -1
  11. package/dist/questions/optionBasedQuestions.d.ts +6 -6
  12. package/dist/questions/optionBasedQuestions.js +1 -1
  13. package/dist/questions/primitiveQuestions.d.ts +42 -42
  14. package/dist/questions/primitiveQuestions.js +6 -6
  15. package/dist/questions/question.d.ts +4 -4
  16. package/dist/questions/question.js +0 -1
  17. package/dist/questions/tableQuestions.d.ts +248 -248
  18. package/dist/questions/tableQuestions.js +1 -1
  19. package/dist/schemas/anyQuestion.schema.json +11 -22
  20. package/dist/schemas/anyTableColumnQuestion.schema.json +10 -20
  21. package/dist/schemas/booleanQuestion.schema.json +1 -2
  22. package/dist/schemas/currencyQuestion.schema.json +1 -2
  23. package/dist/schemas/datePickerQuestion.schema.json +1 -2
  24. package/dist/schemas/emailQuestion.schema.json +1 -2
  25. package/dist/schemas/filteredSearchQuestion.schema.json +1 -2
  26. package/dist/schemas/numberQuestion.schema.json +1 -2
  27. package/dist/schemas/selectBoxQuestion.schema.json +1 -2
  28. package/dist/schemas/tableQuestion.schema.json +11 -22
  29. package/dist/schemas/textAreaQuestion.schema.json +1 -2
  30. package/dist/schemas/textQuestion.schema.json +1 -2
  31. package/dist/schemas/typeaheadSearchQuestion.schema.json +1 -2
  32. package/dist/schemas/urlQuestion.schema.json +1 -2
  33. package/package.json +1 -1
@@ -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,7 +122,7 @@ 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<{
@@ -137,21 +137,21 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
137
137
  meta: {
138
138
  denomination?: string | undefined;
139
139
  };
140
- attributes: {
140
+ attributes?: {
141
141
  max?: number | undefined;
142
142
  min?: number | undefined;
143
143
  step?: number | undefined;
144
- };
144
+ } | undefined;
145
145
  }, {
146
146
  type: "currency";
147
147
  meta: {
148
148
  denomination?: string | undefined;
149
149
  };
150
- attributes: {
150
+ attributes?: {
151
151
  max?: number | undefined;
152
152
  min?: number | undefined;
153
153
  step?: number | undefined;
154
- };
154
+ } | undefined;
155
155
  }>, z.ZodObject<{
156
156
  meta: z.ZodObject<{
157
157
  schemaVersion: z.ZodLiteral<"1.0">;
@@ -165,7 +165,7 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
165
165
  }>;
166
166
  } & {
167
167
  type: z.ZodLiteral<"datePicker">;
168
- attributes: z.ZodObject<{
168
+ attributes: z.ZodOptional<z.ZodObject<{
169
169
  max: z.ZodOptional<z.ZodString>;
170
170
  min: z.ZodOptional<z.ZodString>;
171
171
  step: z.ZodOptional<z.ZodNumber>;
@@ -177,29 +177,29 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
177
177
  max?: string | undefined;
178
178
  min?: string | undefined;
179
179
  step?: number | undefined;
180
- }>;
180
+ }>>;
181
181
  }, "strip", z.ZodTypeAny, {
182
182
  type: "datePicker";
183
183
  meta: {
184
184
  schemaVersion: "1.0";
185
185
  labelTranslationKey?: string | undefined;
186
186
  };
187
- attributes: {
187
+ attributes?: {
188
188
  max?: string | undefined;
189
189
  min?: string | undefined;
190
190
  step?: number | undefined;
191
- };
191
+ } | undefined;
192
192
  }, {
193
193
  type: "datePicker";
194
194
  meta: {
195
195
  schemaVersion: "1.0";
196
196
  labelTranslationKey?: string | undefined;
197
197
  };
198
- attributes: {
198
+ attributes?: {
199
199
  max?: string | undefined;
200
200
  min?: string | undefined;
201
201
  step?: number | undefined;
202
- };
202
+ } | undefined;
203
203
  }>, z.ZodObject<{
204
204
  meta: z.ZodObject<{
205
205
  schemaVersion: z.ZodLiteral<"1.0">;
@@ -404,7 +404,7 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
404
404
  }>;
405
405
  } & {
406
406
  type: z.ZodLiteral<"email">;
407
- attributes: z.ZodObject<{
407
+ attributes: z.ZodOptional<z.ZodObject<{
408
408
  maxLength: z.ZodOptional<z.ZodNumber>;
409
409
  minLength: z.ZodOptional<z.ZodNumber>;
410
410
  multiple: z.ZodOptional<z.ZodBoolean>;
@@ -419,31 +419,31 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
419
419
  minLength?: number | undefined;
420
420
  multiple?: boolean | undefined;
421
421
  pattern?: string | undefined;
422
- }>;
422
+ }>>;
423
423
  }, "strip", z.ZodTypeAny, {
424
424
  type: "email";
425
425
  meta: {
426
426
  schemaVersion: "1.0";
427
427
  labelTranslationKey?: string | undefined;
428
428
  };
429
- attributes: {
429
+ attributes?: {
430
430
  maxLength?: number | undefined;
431
431
  minLength?: number | undefined;
432
432
  multiple?: boolean | undefined;
433
433
  pattern?: string | undefined;
434
- };
434
+ } | undefined;
435
435
  }, {
436
436
  type: "email";
437
437
  meta: {
438
438
  schemaVersion: "1.0";
439
439
  labelTranslationKey?: string | undefined;
440
440
  };
441
- attributes: {
441
+ attributes?: {
442
442
  maxLength?: number | undefined;
443
443
  minLength?: number | undefined;
444
444
  multiple?: boolean | undefined;
445
445
  pattern?: string | undefined;
446
- };
446
+ } | undefined;
447
447
  }>, z.ZodObject<{
448
448
  meta: z.ZodObject<{
449
449
  schemaVersion: z.ZodLiteral<"1.0">;
@@ -474,7 +474,7 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
474
474
  localQueryId: z.ZodOptional<z.ZodString>;
475
475
  query: z.ZodOptional<z.ZodString>;
476
476
  responseField: z.ZodString;
477
- variables: z.ZodArray<z.ZodObject<{
477
+ variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
478
478
  minLength: z.ZodOptional<z.ZodNumber>;
479
479
  label: z.ZodOptional<z.ZodString>;
480
480
  labelTranslationKey: z.ZodOptional<z.ZodString>;
@@ -495,7 +495,7 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
495
495
  minLength?: number | undefined;
496
496
  label?: string | undefined;
497
497
  defaultValue?: string | undefined;
498
- }>, "many">;
498
+ }>, "many">>;
499
499
  }, "strip", z.ZodTypeAny, {
500
500
  displayFields: {
501
501
  label: string;
@@ -503,16 +503,16 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
503
503
  labelTranslationKey?: string | undefined;
504
504
  }[];
505
505
  responseField: string;
506
- variables: {
506
+ localQueryId?: string | undefined;
507
+ query?: string | undefined;
508
+ variables?: {
507
509
  type: string;
508
510
  name: string;
509
511
  labelTranslationKey?: string | undefined;
510
512
  minLength?: number | undefined;
511
513
  label?: string | undefined;
512
514
  defaultValue?: string | undefined;
513
- }[];
514
- localQueryId?: string | undefined;
515
- query?: string | undefined;
515
+ }[] | undefined;
516
516
  }, {
517
517
  displayFields: {
518
518
  label: string;
@@ -520,16 +520,16 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
520
520
  labelTranslationKey?: string | undefined;
521
521
  }[];
522
522
  responseField: string;
523
- variables: {
523
+ localQueryId?: string | undefined;
524
+ query?: string | undefined;
525
+ variables?: {
524
526
  type: string;
525
527
  name: string;
526
528
  labelTranslationKey?: string | undefined;
527
529
  minLength?: number | undefined;
528
530
  label?: string | undefined;
529
531
  defaultValue?: string | undefined;
530
- }[];
531
- localQueryId?: string | undefined;
532
- query?: string | undefined;
532
+ }[] | undefined;
533
533
  }>;
534
534
  attributes: z.ZodObject<{
535
535
  multiple: z.ZodOptional<z.ZodBoolean>;
@@ -554,16 +554,16 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
554
554
  labelTranslationKey?: string | undefined;
555
555
  }[];
556
556
  responseField: string;
557
- variables: {
557
+ localQueryId?: string | undefined;
558
+ query?: string | undefined;
559
+ variables?: {
558
560
  type: string;
559
561
  name: string;
560
562
  labelTranslationKey?: string | undefined;
561
563
  minLength?: number | undefined;
562
564
  label?: string | undefined;
563
565
  defaultValue?: string | undefined;
564
- }[];
565
- localQueryId?: string | undefined;
566
- query?: string | undefined;
566
+ }[] | undefined;
567
567
  };
568
568
  }, {
569
569
  type: "filteredSearch";
@@ -581,16 +581,16 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
581
581
  labelTranslationKey?: string | undefined;
582
582
  }[];
583
583
  responseField: string;
584
- variables: {
584
+ localQueryId?: string | undefined;
585
+ query?: string | undefined;
586
+ variables?: {
585
587
  type: string;
586
588
  name: string;
587
589
  labelTranslationKey?: string | undefined;
588
590
  minLength?: number | undefined;
589
591
  label?: string | undefined;
590
592
  defaultValue?: string | undefined;
591
- }[];
592
- localQueryId?: string | undefined;
593
- query?: string | undefined;
593
+ }[] | undefined;
594
594
  };
595
595
  }>, z.ZodObject<{
596
596
  meta: z.ZodObject<{
@@ -605,7 +605,7 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
605
605
  }>;
606
606
  } & {
607
607
  type: z.ZodLiteral<"number">;
608
- attributes: z.ZodObject<{
608
+ attributes: z.ZodOptional<z.ZodObject<{
609
609
  max: z.ZodOptional<z.ZodNumber>;
610
610
  min: z.ZodOptional<z.ZodNumber>;
611
611
  step: z.ZodOptional<z.ZodNumber>;
@@ -617,29 +617,29 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
617
617
  max?: number | undefined;
618
618
  min?: number | undefined;
619
619
  step?: number | undefined;
620
- }>;
620
+ }>>;
621
621
  }, "strip", z.ZodTypeAny, {
622
622
  type: "number";
623
623
  meta: {
624
624
  schemaVersion: "1.0";
625
625
  labelTranslationKey?: string | undefined;
626
626
  };
627
- attributes: {
627
+ attributes?: {
628
628
  max?: number | undefined;
629
629
  min?: number | undefined;
630
630
  step?: number | undefined;
631
- };
631
+ } | undefined;
632
632
  }, {
633
633
  type: "number";
634
634
  meta: {
635
635
  schemaVersion: "1.0";
636
636
  labelTranslationKey?: string | undefined;
637
637
  };
638
- attributes: {
638
+ attributes?: {
639
639
  max?: number | undefined;
640
640
  min?: number | undefined;
641
641
  step?: number | undefined;
642
- };
642
+ } | undefined;
643
643
  }>, z.ZodObject<{
644
644
  meta: z.ZodObject<{
645
645
  schemaVersion: z.ZodLiteral<"1.0">;
@@ -756,13 +756,13 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
756
756
  selected?: boolean | undefined;
757
757
  };
758
758
  }>, "many">;
759
- attributes: z.ZodObject<{
759
+ attributes: z.ZodOptional<z.ZodObject<{
760
760
  multiple: z.ZodOptional<z.ZodBoolean>;
761
761
  }, "strip", z.ZodTypeAny, {
762
762
  multiple?: boolean | undefined;
763
763
  }, {
764
764
  multiple?: boolean | undefined;
765
- }>;
765
+ }>>;
766
766
  }, "strip", z.ZodTypeAny, {
767
767
  type: "selectBox";
768
768
  options: {
@@ -777,9 +777,9 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
777
777
  schemaVersion: "1.0";
778
778
  labelTranslationKey?: string | undefined;
779
779
  };
780
- attributes: {
780
+ attributes?: {
781
781
  multiple?: boolean | undefined;
782
- };
782
+ } | undefined;
783
783
  }, {
784
784
  type: "selectBox";
785
785
  options: {
@@ -794,12 +794,12 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
794
794
  schemaVersion: "1.0";
795
795
  labelTranslationKey?: string | undefined;
796
796
  };
797
- attributes: {
797
+ attributes?: {
798
798
  multiple?: boolean | undefined;
799
- };
799
+ } | undefined;
800
800
  }>, z.ZodObject<{} & {
801
801
  type: z.ZodLiteral<"textArea">;
802
- attributes: z.ZodObject<{
802
+ attributes: z.ZodOptional<z.ZodObject<{
803
803
  cols: z.ZodOptional<z.ZodNumber>;
804
804
  maxLength: z.ZodOptional<z.ZodNumber>;
805
805
  minLength: z.ZodOptional<z.ZodNumber>;
@@ -814,7 +814,7 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
814
814
  minLength?: number | undefined;
815
815
  cols?: number | undefined;
816
816
  rows?: number | undefined;
817
- }>;
817
+ }>>;
818
818
  meta: z.ZodObject<{
819
819
  asRichText: z.ZodOptional<z.ZodBoolean>;
820
820
  }, "strip", z.ZodTypeAny, {
@@ -827,23 +827,23 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
827
827
  meta: {
828
828
  asRichText?: boolean | undefined;
829
829
  };
830
- attributes: {
830
+ attributes?: {
831
831
  maxLength?: number | undefined;
832
832
  minLength?: number | undefined;
833
833
  cols?: number | undefined;
834
834
  rows?: number | undefined;
835
- };
835
+ } | undefined;
836
836
  }, {
837
837
  type: "textArea";
838
838
  meta: {
839
839
  asRichText?: boolean | undefined;
840
840
  };
841
- attributes: {
841
+ attributes?: {
842
842
  maxLength?: number | undefined;
843
843
  minLength?: number | undefined;
844
844
  cols?: number | undefined;
845
845
  rows?: number | undefined;
846
- };
846
+ } | undefined;
847
847
  }>, z.ZodObject<{
848
848
  meta: z.ZodObject<{
849
849
  schemaVersion: z.ZodLiteral<"1.0">;
@@ -857,7 +857,7 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
857
857
  }>;
858
858
  } & {
859
859
  type: z.ZodLiteral<"text">;
860
- attributes: z.ZodObject<{
860
+ attributes: z.ZodOptional<z.ZodObject<{
861
861
  maxLength: z.ZodOptional<z.ZodNumber>;
862
862
  minLength: z.ZodOptional<z.ZodNumber>;
863
863
  pattern: z.ZodOptional<z.ZodString>;
@@ -869,29 +869,29 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
869
869
  maxLength?: number | undefined;
870
870
  minLength?: number | undefined;
871
871
  pattern?: string | undefined;
872
- }>;
872
+ }>>;
873
873
  }, "strip", z.ZodTypeAny, {
874
874
  type: "text";
875
875
  meta: {
876
876
  schemaVersion: "1.0";
877
877
  labelTranslationKey?: string | undefined;
878
878
  };
879
- attributes: {
879
+ attributes?: {
880
880
  maxLength?: number | undefined;
881
881
  minLength?: number | undefined;
882
882
  pattern?: string | undefined;
883
- };
883
+ } | undefined;
884
884
  }, {
885
885
  type: "text";
886
886
  meta: {
887
887
  schemaVersion: "1.0";
888
888
  labelTranslationKey?: string | undefined;
889
889
  };
890
- attributes: {
890
+ attributes?: {
891
891
  maxLength?: number | undefined;
892
892
  minLength?: number | undefined;
893
893
  pattern?: string | undefined;
894
- };
894
+ } | undefined;
895
895
  }>, z.ZodObject<{
896
896
  meta: z.ZodObject<{
897
897
  schemaVersion: z.ZodLiteral<"1.0">;
@@ -922,7 +922,7 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
922
922
  localQueryId: z.ZodOptional<z.ZodString>;
923
923
  query: z.ZodOptional<z.ZodString>;
924
924
  responseField: z.ZodString;
925
- variables: z.ZodArray<z.ZodObject<{
925
+ variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
926
926
  minLength: z.ZodOptional<z.ZodNumber>;
927
927
  label: z.ZodOptional<z.ZodString>;
928
928
  labelTranslationKey: z.ZodOptional<z.ZodString>;
@@ -943,7 +943,7 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
943
943
  minLength?: number | undefined;
944
944
  label?: string | undefined;
945
945
  defaultValue?: string | undefined;
946
- }>, "many">;
946
+ }>, "many">>;
947
947
  }, "strip", z.ZodTypeAny, {
948
948
  displayFields: {
949
949
  label: string;
@@ -951,16 +951,16 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
951
951
  labelTranslationKey?: string | undefined;
952
952
  }[];
953
953
  responseField: string;
954
- variables: {
954
+ localQueryId?: string | undefined;
955
+ query?: string | undefined;
956
+ variables?: {
955
957
  type: string;
956
958
  name: string;
957
959
  labelTranslationKey?: string | undefined;
958
960
  minLength?: number | undefined;
959
961
  label?: string | undefined;
960
962
  defaultValue?: string | undefined;
961
- }[];
962
- localQueryId?: string | undefined;
963
- query?: string | undefined;
963
+ }[] | undefined;
964
964
  }, {
965
965
  displayFields: {
966
966
  label: string;
@@ -968,16 +968,16 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
968
968
  labelTranslationKey?: string | undefined;
969
969
  }[];
970
970
  responseField: string;
971
- variables: {
971
+ localQueryId?: string | undefined;
972
+ query?: string | undefined;
973
+ variables?: {
972
974
  type: string;
973
975
  name: string;
974
976
  labelTranslationKey?: string | undefined;
975
977
  minLength?: number | undefined;
976
978
  label?: string | undefined;
977
979
  defaultValue?: string | undefined;
978
- }[];
979
- localQueryId?: string | undefined;
980
- query?: string | undefined;
980
+ }[] | undefined;
981
981
  }>;
982
982
  }, "strip", z.ZodTypeAny, {
983
983
  type: "typeaheadSearch";
@@ -992,16 +992,16 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
992
992
  labelTranslationKey?: string | undefined;
993
993
  }[];
994
994
  responseField: string;
995
- variables: {
995
+ localQueryId?: string | undefined;
996
+ query?: string | undefined;
997
+ variables?: {
996
998
  type: string;
997
999
  name: string;
998
1000
  labelTranslationKey?: string | undefined;
999
1001
  minLength?: number | undefined;
1000
1002
  label?: string | undefined;
1001
1003
  defaultValue?: string | undefined;
1002
- }[];
1003
- localQueryId?: string | undefined;
1004
- query?: string | undefined;
1004
+ }[] | undefined;
1005
1005
  };
1006
1006
  }, {
1007
1007
  type: "typeaheadSearch";
@@ -1016,16 +1016,16 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
1016
1016
  labelTranslationKey?: string | undefined;
1017
1017
  }[];
1018
1018
  responseField: string;
1019
- variables: {
1019
+ localQueryId?: string | undefined;
1020
+ query?: string | undefined;
1021
+ variables?: {
1020
1022
  type: string;
1021
1023
  name: string;
1022
1024
  labelTranslationKey?: string | undefined;
1023
1025
  minLength?: number | undefined;
1024
1026
  label?: string | undefined;
1025
1027
  defaultValue?: string | undefined;
1026
- }[];
1027
- localQueryId?: string | undefined;
1028
- query?: string | undefined;
1028
+ }[] | undefined;
1029
1029
  };
1030
1030
  }>, z.ZodObject<{
1031
1031
  meta: z.ZodObject<{
@@ -1040,7 +1040,7 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
1040
1040
  }>;
1041
1041
  } & {
1042
1042
  type: z.ZodLiteral<"url">;
1043
- attributes: z.ZodObject<{
1043
+ attributes: z.ZodOptional<z.ZodObject<{
1044
1044
  maxLength: z.ZodOptional<z.ZodNumber>;
1045
1045
  minLength: z.ZodOptional<z.ZodNumber>;
1046
1046
  pattern: z.ZodOptional<z.ZodString>;
@@ -1052,29 +1052,29 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
1052
1052
  maxLength?: number | undefined;
1053
1053
  minLength?: number | undefined;
1054
1054
  pattern?: string | undefined;
1055
- }>;
1055
+ }>>;
1056
1056
  }, "strip", z.ZodTypeAny, {
1057
1057
  type: "url";
1058
1058
  meta: {
1059
1059
  schemaVersion: "1.0";
1060
1060
  labelTranslationKey?: string | undefined;
1061
1061
  };
1062
- attributes: {
1062
+ attributes?: {
1063
1063
  maxLength?: number | undefined;
1064
1064
  minLength?: number | undefined;
1065
1065
  pattern?: string | undefined;
1066
- };
1066
+ } | undefined;
1067
1067
  }, {
1068
1068
  type: "url";
1069
1069
  meta: {
1070
1070
  schemaVersion: "1.0";
1071
1071
  labelTranslationKey?: string | undefined;
1072
1072
  };
1073
- attributes: {
1073
+ attributes?: {
1074
1074
  maxLength?: number | undefined;
1075
1075
  minLength?: number | undefined;
1076
1076
  pattern?: string | undefined;
1077
- };
1077
+ } | undefined;
1078
1078
  }>]>;
1079
1079
  export declare const TableQuestionSchema: z.ZodObject<{
1080
1080
  meta: z.ZodObject<{
@@ -1102,31 +1102,31 @@ export declare const TableQuestionSchema: z.ZodObject<{
1102
1102
  }>;
1103
1103
  } & {
1104
1104
  type: z.ZodLiteral<"boolean">;
1105
- attributes: z.ZodObject<{
1105
+ attributes: z.ZodOptional<z.ZodObject<{
1106
1106
  checked: z.ZodOptional<z.ZodBoolean>;
1107
1107
  }, "strip", z.ZodTypeAny, {
1108
1108
  checked?: boolean | undefined;
1109
1109
  }, {
1110
1110
  checked?: boolean | undefined;
1111
- }>;
1111
+ }>>;
1112
1112
  }, "strip", z.ZodTypeAny, {
1113
1113
  type: "boolean";
1114
1114
  meta: {
1115
1115
  schemaVersion: "1.0";
1116
1116
  labelTranslationKey?: string | undefined;
1117
1117
  };
1118
- attributes: {
1118
+ attributes?: {
1119
1119
  checked?: boolean | undefined;
1120
- };
1120
+ } | undefined;
1121
1121
  }, {
1122
1122
  type: "boolean";
1123
1123
  meta: {
1124
1124
  schemaVersion: "1.0";
1125
1125
  labelTranslationKey?: string | undefined;
1126
1126
  };
1127
- attributes: {
1127
+ attributes?: {
1128
1128
  checked?: boolean | undefined;
1129
- };
1129
+ } | undefined;
1130
1130
  }>, z.ZodObject<{
1131
1131
  meta: z.ZodObject<{
1132
1132
  schemaVersion: z.ZodLiteral<"1.0">;
@@ -1200,7 +1200,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
1200
1200
  labelTranslationKey?: string | undefined;
1201
1201
  };
1202
1202
  }>, z.ZodObject<{
1203
- attributes: z.ZodObject<{
1203
+ attributes: z.ZodOptional<z.ZodObject<{
1204
1204
  max: z.ZodOptional<z.ZodNumber>;
1205
1205
  min: z.ZodOptional<z.ZodNumber>;
1206
1206
  step: z.ZodOptional<z.ZodNumber>;
@@ -1212,7 +1212,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
1212
1212
  max?: number | undefined;
1213
1213
  min?: number | undefined;
1214
1214
  step?: number | undefined;
1215
- }>;
1215
+ }>>;
1216
1216
  } & {
1217
1217
  type: z.ZodLiteral<"currency">;
1218
1218
  meta: z.ZodObject<{
@@ -1227,21 +1227,21 @@ export declare const TableQuestionSchema: z.ZodObject<{
1227
1227
  meta: {
1228
1228
  denomination?: string | undefined;
1229
1229
  };
1230
- attributes: {
1230
+ attributes?: {
1231
1231
  max?: number | undefined;
1232
1232
  min?: number | undefined;
1233
1233
  step?: number | undefined;
1234
- };
1234
+ } | undefined;
1235
1235
  }, {
1236
1236
  type: "currency";
1237
1237
  meta: {
1238
1238
  denomination?: string | undefined;
1239
1239
  };
1240
- attributes: {
1240
+ attributes?: {
1241
1241
  max?: number | undefined;
1242
1242
  min?: number | undefined;
1243
1243
  step?: number | undefined;
1244
- };
1244
+ } | undefined;
1245
1245
  }>, z.ZodObject<{
1246
1246
  meta: z.ZodObject<{
1247
1247
  schemaVersion: z.ZodLiteral<"1.0">;
@@ -1255,7 +1255,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
1255
1255
  }>;
1256
1256
  } & {
1257
1257
  type: z.ZodLiteral<"datePicker">;
1258
- attributes: z.ZodObject<{
1258
+ attributes: z.ZodOptional<z.ZodObject<{
1259
1259
  max: z.ZodOptional<z.ZodString>;
1260
1260
  min: z.ZodOptional<z.ZodString>;
1261
1261
  step: z.ZodOptional<z.ZodNumber>;
@@ -1267,29 +1267,29 @@ export declare const TableQuestionSchema: z.ZodObject<{
1267
1267
  max?: string | undefined;
1268
1268
  min?: string | undefined;
1269
1269
  step?: number | undefined;
1270
- }>;
1270
+ }>>;
1271
1271
  }, "strip", z.ZodTypeAny, {
1272
1272
  type: "datePicker";
1273
1273
  meta: {
1274
1274
  schemaVersion: "1.0";
1275
1275
  labelTranslationKey?: string | undefined;
1276
1276
  };
1277
- attributes: {
1277
+ attributes?: {
1278
1278
  max?: string | undefined;
1279
1279
  min?: string | undefined;
1280
1280
  step?: number | undefined;
1281
- };
1281
+ } | undefined;
1282
1282
  }, {
1283
1283
  type: "datePicker";
1284
1284
  meta: {
1285
1285
  schemaVersion: "1.0";
1286
1286
  labelTranslationKey?: string | undefined;
1287
1287
  };
1288
- attributes: {
1288
+ attributes?: {
1289
1289
  max?: string | undefined;
1290
1290
  min?: string | undefined;
1291
1291
  step?: number | undefined;
1292
- };
1292
+ } | undefined;
1293
1293
  }>, z.ZodObject<{
1294
1294
  meta: z.ZodObject<{
1295
1295
  schemaVersion: z.ZodLiteral<"1.0">;
@@ -1494,7 +1494,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
1494
1494
  }>;
1495
1495
  } & {
1496
1496
  type: z.ZodLiteral<"email">;
1497
- attributes: z.ZodObject<{
1497
+ attributes: z.ZodOptional<z.ZodObject<{
1498
1498
  maxLength: z.ZodOptional<z.ZodNumber>;
1499
1499
  minLength: z.ZodOptional<z.ZodNumber>;
1500
1500
  multiple: z.ZodOptional<z.ZodBoolean>;
@@ -1509,31 +1509,31 @@ export declare const TableQuestionSchema: z.ZodObject<{
1509
1509
  minLength?: number | undefined;
1510
1510
  multiple?: boolean | undefined;
1511
1511
  pattern?: string | undefined;
1512
- }>;
1512
+ }>>;
1513
1513
  }, "strip", z.ZodTypeAny, {
1514
1514
  type: "email";
1515
1515
  meta: {
1516
1516
  schemaVersion: "1.0";
1517
1517
  labelTranslationKey?: string | undefined;
1518
1518
  };
1519
- attributes: {
1519
+ attributes?: {
1520
1520
  maxLength?: number | undefined;
1521
1521
  minLength?: number | undefined;
1522
1522
  multiple?: boolean | undefined;
1523
1523
  pattern?: string | undefined;
1524
- };
1524
+ } | undefined;
1525
1525
  }, {
1526
1526
  type: "email";
1527
1527
  meta: {
1528
1528
  schemaVersion: "1.0";
1529
1529
  labelTranslationKey?: string | undefined;
1530
1530
  };
1531
- attributes: {
1531
+ attributes?: {
1532
1532
  maxLength?: number | undefined;
1533
1533
  minLength?: number | undefined;
1534
1534
  multiple?: boolean | undefined;
1535
1535
  pattern?: string | undefined;
1536
- };
1536
+ } | undefined;
1537
1537
  }>, z.ZodObject<{
1538
1538
  meta: z.ZodObject<{
1539
1539
  schemaVersion: z.ZodLiteral<"1.0">;
@@ -1564,7 +1564,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
1564
1564
  localQueryId: z.ZodOptional<z.ZodString>;
1565
1565
  query: z.ZodOptional<z.ZodString>;
1566
1566
  responseField: z.ZodString;
1567
- variables: z.ZodArray<z.ZodObject<{
1567
+ variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
1568
1568
  minLength: z.ZodOptional<z.ZodNumber>;
1569
1569
  label: z.ZodOptional<z.ZodString>;
1570
1570
  labelTranslationKey: z.ZodOptional<z.ZodString>;
@@ -1585,7 +1585,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
1585
1585
  minLength?: number | undefined;
1586
1586
  label?: string | undefined;
1587
1587
  defaultValue?: string | undefined;
1588
- }>, "many">;
1588
+ }>, "many">>;
1589
1589
  }, "strip", z.ZodTypeAny, {
1590
1590
  displayFields: {
1591
1591
  label: string;
@@ -1593,16 +1593,16 @@ export declare const TableQuestionSchema: z.ZodObject<{
1593
1593
  labelTranslationKey?: string | undefined;
1594
1594
  }[];
1595
1595
  responseField: string;
1596
- variables: {
1596
+ localQueryId?: string | undefined;
1597
+ query?: string | undefined;
1598
+ variables?: {
1597
1599
  type: string;
1598
1600
  name: string;
1599
1601
  labelTranslationKey?: string | undefined;
1600
1602
  minLength?: number | undefined;
1601
1603
  label?: string | undefined;
1602
1604
  defaultValue?: string | undefined;
1603
- }[];
1604
- localQueryId?: string | undefined;
1605
- query?: string | undefined;
1605
+ }[] | undefined;
1606
1606
  }, {
1607
1607
  displayFields: {
1608
1608
  label: string;
@@ -1610,16 +1610,16 @@ export declare const TableQuestionSchema: z.ZodObject<{
1610
1610
  labelTranslationKey?: string | undefined;
1611
1611
  }[];
1612
1612
  responseField: string;
1613
- variables: {
1613
+ localQueryId?: string | undefined;
1614
+ query?: string | undefined;
1615
+ variables?: {
1614
1616
  type: string;
1615
1617
  name: string;
1616
1618
  labelTranslationKey?: string | undefined;
1617
1619
  minLength?: number | undefined;
1618
1620
  label?: string | undefined;
1619
1621
  defaultValue?: string | undefined;
1620
- }[];
1621
- localQueryId?: string | undefined;
1622
- query?: string | undefined;
1622
+ }[] | undefined;
1623
1623
  }>;
1624
1624
  attributes: z.ZodObject<{
1625
1625
  multiple: z.ZodOptional<z.ZodBoolean>;
@@ -1644,16 +1644,16 @@ export declare const TableQuestionSchema: z.ZodObject<{
1644
1644
  labelTranslationKey?: string | undefined;
1645
1645
  }[];
1646
1646
  responseField: string;
1647
- variables: {
1647
+ localQueryId?: string | undefined;
1648
+ query?: string | undefined;
1649
+ variables?: {
1648
1650
  type: string;
1649
1651
  name: string;
1650
1652
  labelTranslationKey?: string | undefined;
1651
1653
  minLength?: number | undefined;
1652
1654
  label?: string | undefined;
1653
1655
  defaultValue?: string | undefined;
1654
- }[];
1655
- localQueryId?: string | undefined;
1656
- query?: string | undefined;
1656
+ }[] | undefined;
1657
1657
  };
1658
1658
  }, {
1659
1659
  type: "filteredSearch";
@@ -1671,16 +1671,16 @@ export declare const TableQuestionSchema: z.ZodObject<{
1671
1671
  labelTranslationKey?: string | undefined;
1672
1672
  }[];
1673
1673
  responseField: string;
1674
- variables: {
1674
+ localQueryId?: string | undefined;
1675
+ query?: string | undefined;
1676
+ variables?: {
1675
1677
  type: string;
1676
1678
  name: string;
1677
1679
  labelTranslationKey?: string | undefined;
1678
1680
  minLength?: number | undefined;
1679
1681
  label?: string | undefined;
1680
1682
  defaultValue?: string | undefined;
1681
- }[];
1682
- localQueryId?: string | undefined;
1683
- query?: string | undefined;
1683
+ }[] | undefined;
1684
1684
  };
1685
1685
  }>, z.ZodObject<{
1686
1686
  meta: z.ZodObject<{
@@ -1695,7 +1695,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
1695
1695
  }>;
1696
1696
  } & {
1697
1697
  type: z.ZodLiteral<"number">;
1698
- attributes: z.ZodObject<{
1698
+ attributes: z.ZodOptional<z.ZodObject<{
1699
1699
  max: z.ZodOptional<z.ZodNumber>;
1700
1700
  min: z.ZodOptional<z.ZodNumber>;
1701
1701
  step: z.ZodOptional<z.ZodNumber>;
@@ -1707,29 +1707,29 @@ export declare const TableQuestionSchema: z.ZodObject<{
1707
1707
  max?: number | undefined;
1708
1708
  min?: number | undefined;
1709
1709
  step?: number | undefined;
1710
- }>;
1710
+ }>>;
1711
1711
  }, "strip", z.ZodTypeAny, {
1712
1712
  type: "number";
1713
1713
  meta: {
1714
1714
  schemaVersion: "1.0";
1715
1715
  labelTranslationKey?: string | undefined;
1716
1716
  };
1717
- attributes: {
1717
+ attributes?: {
1718
1718
  max?: number | undefined;
1719
1719
  min?: number | undefined;
1720
1720
  step?: number | undefined;
1721
- };
1721
+ } | undefined;
1722
1722
  }, {
1723
1723
  type: "number";
1724
1724
  meta: {
1725
1725
  schemaVersion: "1.0";
1726
1726
  labelTranslationKey?: string | undefined;
1727
1727
  };
1728
- attributes: {
1728
+ attributes?: {
1729
1729
  max?: number | undefined;
1730
1730
  min?: number | undefined;
1731
1731
  step?: number | undefined;
1732
- };
1732
+ } | undefined;
1733
1733
  }>, z.ZodObject<{
1734
1734
  meta: z.ZodObject<{
1735
1735
  schemaVersion: z.ZodLiteral<"1.0">;
@@ -1846,13 +1846,13 @@ export declare const TableQuestionSchema: z.ZodObject<{
1846
1846
  selected?: boolean | undefined;
1847
1847
  };
1848
1848
  }>, "many">;
1849
- attributes: z.ZodObject<{
1849
+ attributes: z.ZodOptional<z.ZodObject<{
1850
1850
  multiple: z.ZodOptional<z.ZodBoolean>;
1851
1851
  }, "strip", z.ZodTypeAny, {
1852
1852
  multiple?: boolean | undefined;
1853
1853
  }, {
1854
1854
  multiple?: boolean | undefined;
1855
- }>;
1855
+ }>>;
1856
1856
  }, "strip", z.ZodTypeAny, {
1857
1857
  type: "selectBox";
1858
1858
  options: {
@@ -1867,9 +1867,9 @@ export declare const TableQuestionSchema: z.ZodObject<{
1867
1867
  schemaVersion: "1.0";
1868
1868
  labelTranslationKey?: string | undefined;
1869
1869
  };
1870
- attributes: {
1870
+ attributes?: {
1871
1871
  multiple?: boolean | undefined;
1872
- };
1872
+ } | undefined;
1873
1873
  }, {
1874
1874
  type: "selectBox";
1875
1875
  options: {
@@ -1884,12 +1884,12 @@ export declare const TableQuestionSchema: z.ZodObject<{
1884
1884
  schemaVersion: "1.0";
1885
1885
  labelTranslationKey?: string | undefined;
1886
1886
  };
1887
- attributes: {
1887
+ attributes?: {
1888
1888
  multiple?: boolean | undefined;
1889
- };
1889
+ } | undefined;
1890
1890
  }>, z.ZodObject<{} & {
1891
1891
  type: z.ZodLiteral<"textArea">;
1892
- attributes: z.ZodObject<{
1892
+ attributes: z.ZodOptional<z.ZodObject<{
1893
1893
  cols: z.ZodOptional<z.ZodNumber>;
1894
1894
  maxLength: z.ZodOptional<z.ZodNumber>;
1895
1895
  minLength: z.ZodOptional<z.ZodNumber>;
@@ -1904,7 +1904,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
1904
1904
  minLength?: number | undefined;
1905
1905
  cols?: number | undefined;
1906
1906
  rows?: number | undefined;
1907
- }>;
1907
+ }>>;
1908
1908
  meta: z.ZodObject<{
1909
1909
  asRichText: z.ZodOptional<z.ZodBoolean>;
1910
1910
  }, "strip", z.ZodTypeAny, {
@@ -1917,23 +1917,23 @@ export declare const TableQuestionSchema: z.ZodObject<{
1917
1917
  meta: {
1918
1918
  asRichText?: boolean | undefined;
1919
1919
  };
1920
- attributes: {
1920
+ attributes?: {
1921
1921
  maxLength?: number | undefined;
1922
1922
  minLength?: number | undefined;
1923
1923
  cols?: number | undefined;
1924
1924
  rows?: number | undefined;
1925
- };
1925
+ } | undefined;
1926
1926
  }, {
1927
1927
  type: "textArea";
1928
1928
  meta: {
1929
1929
  asRichText?: boolean | undefined;
1930
1930
  };
1931
- attributes: {
1931
+ attributes?: {
1932
1932
  maxLength?: number | undefined;
1933
1933
  minLength?: number | undefined;
1934
1934
  cols?: number | undefined;
1935
1935
  rows?: number | undefined;
1936
- };
1936
+ } | undefined;
1937
1937
  }>, z.ZodObject<{
1938
1938
  meta: z.ZodObject<{
1939
1939
  schemaVersion: z.ZodLiteral<"1.0">;
@@ -1947,7 +1947,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
1947
1947
  }>;
1948
1948
  } & {
1949
1949
  type: z.ZodLiteral<"text">;
1950
- attributes: z.ZodObject<{
1950
+ attributes: z.ZodOptional<z.ZodObject<{
1951
1951
  maxLength: z.ZodOptional<z.ZodNumber>;
1952
1952
  minLength: z.ZodOptional<z.ZodNumber>;
1953
1953
  pattern: z.ZodOptional<z.ZodString>;
@@ -1959,29 +1959,29 @@ export declare const TableQuestionSchema: z.ZodObject<{
1959
1959
  maxLength?: number | undefined;
1960
1960
  minLength?: number | undefined;
1961
1961
  pattern?: string | undefined;
1962
- }>;
1962
+ }>>;
1963
1963
  }, "strip", z.ZodTypeAny, {
1964
1964
  type: "text";
1965
1965
  meta: {
1966
1966
  schemaVersion: "1.0";
1967
1967
  labelTranslationKey?: string | undefined;
1968
1968
  };
1969
- attributes: {
1969
+ attributes?: {
1970
1970
  maxLength?: number | undefined;
1971
1971
  minLength?: number | undefined;
1972
1972
  pattern?: string | undefined;
1973
- };
1973
+ } | undefined;
1974
1974
  }, {
1975
1975
  type: "text";
1976
1976
  meta: {
1977
1977
  schemaVersion: "1.0";
1978
1978
  labelTranslationKey?: string | undefined;
1979
1979
  };
1980
- attributes: {
1980
+ attributes?: {
1981
1981
  maxLength?: number | undefined;
1982
1982
  minLength?: number | undefined;
1983
1983
  pattern?: string | undefined;
1984
- };
1984
+ } | undefined;
1985
1985
  }>, z.ZodObject<{
1986
1986
  meta: z.ZodObject<{
1987
1987
  schemaVersion: z.ZodLiteral<"1.0">;
@@ -2012,7 +2012,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
2012
2012
  localQueryId: z.ZodOptional<z.ZodString>;
2013
2013
  query: z.ZodOptional<z.ZodString>;
2014
2014
  responseField: z.ZodString;
2015
- variables: z.ZodArray<z.ZodObject<{
2015
+ variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
2016
2016
  minLength: z.ZodOptional<z.ZodNumber>;
2017
2017
  label: z.ZodOptional<z.ZodString>;
2018
2018
  labelTranslationKey: z.ZodOptional<z.ZodString>;
@@ -2033,7 +2033,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
2033
2033
  minLength?: number | undefined;
2034
2034
  label?: string | undefined;
2035
2035
  defaultValue?: string | undefined;
2036
- }>, "many">;
2036
+ }>, "many">>;
2037
2037
  }, "strip", z.ZodTypeAny, {
2038
2038
  displayFields: {
2039
2039
  label: string;
@@ -2041,16 +2041,16 @@ export declare const TableQuestionSchema: z.ZodObject<{
2041
2041
  labelTranslationKey?: string | undefined;
2042
2042
  }[];
2043
2043
  responseField: string;
2044
- variables: {
2044
+ localQueryId?: string | undefined;
2045
+ query?: string | undefined;
2046
+ variables?: {
2045
2047
  type: string;
2046
2048
  name: string;
2047
2049
  labelTranslationKey?: string | undefined;
2048
2050
  minLength?: number | undefined;
2049
2051
  label?: string | undefined;
2050
2052
  defaultValue?: string | undefined;
2051
- }[];
2052
- localQueryId?: string | undefined;
2053
- query?: string | undefined;
2053
+ }[] | undefined;
2054
2054
  }, {
2055
2055
  displayFields: {
2056
2056
  label: string;
@@ -2058,16 +2058,16 @@ export declare const TableQuestionSchema: z.ZodObject<{
2058
2058
  labelTranslationKey?: string | undefined;
2059
2059
  }[];
2060
2060
  responseField: string;
2061
- variables: {
2061
+ localQueryId?: string | undefined;
2062
+ query?: string | undefined;
2063
+ variables?: {
2062
2064
  type: string;
2063
2065
  name: string;
2064
2066
  labelTranslationKey?: string | undefined;
2065
2067
  minLength?: number | undefined;
2066
2068
  label?: string | undefined;
2067
2069
  defaultValue?: string | undefined;
2068
- }[];
2069
- localQueryId?: string | undefined;
2070
- query?: string | undefined;
2070
+ }[] | undefined;
2071
2071
  }>;
2072
2072
  }, "strip", z.ZodTypeAny, {
2073
2073
  type: "typeaheadSearch";
@@ -2082,16 +2082,16 @@ export declare const TableQuestionSchema: z.ZodObject<{
2082
2082
  labelTranslationKey?: string | undefined;
2083
2083
  }[];
2084
2084
  responseField: string;
2085
- variables: {
2085
+ localQueryId?: string | undefined;
2086
+ query?: string | undefined;
2087
+ variables?: {
2086
2088
  type: string;
2087
2089
  name: string;
2088
2090
  labelTranslationKey?: string | undefined;
2089
2091
  minLength?: number | undefined;
2090
2092
  label?: string | undefined;
2091
2093
  defaultValue?: string | undefined;
2092
- }[];
2093
- localQueryId?: string | undefined;
2094
- query?: string | undefined;
2094
+ }[] | undefined;
2095
2095
  };
2096
2096
  }, {
2097
2097
  type: "typeaheadSearch";
@@ -2106,16 +2106,16 @@ export declare const TableQuestionSchema: z.ZodObject<{
2106
2106
  labelTranslationKey?: string | undefined;
2107
2107
  }[];
2108
2108
  responseField: string;
2109
- variables: {
2109
+ localQueryId?: string | undefined;
2110
+ query?: string | undefined;
2111
+ variables?: {
2110
2112
  type: string;
2111
2113
  name: string;
2112
2114
  labelTranslationKey?: string | undefined;
2113
2115
  minLength?: number | undefined;
2114
2116
  label?: string | undefined;
2115
2117
  defaultValue?: string | undefined;
2116
- }[];
2117
- localQueryId?: string | undefined;
2118
- query?: string | undefined;
2118
+ }[] | undefined;
2119
2119
  };
2120
2120
  }>, z.ZodObject<{
2121
2121
  meta: z.ZodObject<{
@@ -2130,7 +2130,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
2130
2130
  }>;
2131
2131
  } & {
2132
2132
  type: z.ZodLiteral<"url">;
2133
- attributes: z.ZodObject<{
2133
+ attributes: z.ZodOptional<z.ZodObject<{
2134
2134
  maxLength: z.ZodOptional<z.ZodNumber>;
2135
2135
  minLength: z.ZodOptional<z.ZodNumber>;
2136
2136
  pattern: z.ZodOptional<z.ZodString>;
@@ -2142,31 +2142,31 @@ export declare const TableQuestionSchema: z.ZodObject<{
2142
2142
  maxLength?: number | undefined;
2143
2143
  minLength?: number | undefined;
2144
2144
  pattern?: string | undefined;
2145
- }>;
2145
+ }>>;
2146
2146
  }, "strip", z.ZodTypeAny, {
2147
2147
  type: "url";
2148
2148
  meta: {
2149
2149
  schemaVersion: "1.0";
2150
2150
  labelTranslationKey?: string | undefined;
2151
2151
  };
2152
- attributes: {
2152
+ attributes?: {
2153
2153
  maxLength?: number | undefined;
2154
2154
  minLength?: number | undefined;
2155
2155
  pattern?: string | undefined;
2156
- };
2156
+ } | undefined;
2157
2157
  }, {
2158
2158
  type: "url";
2159
2159
  meta: {
2160
2160
  schemaVersion: "1.0";
2161
2161
  labelTranslationKey?: string | undefined;
2162
2162
  };
2163
- attributes: {
2163
+ attributes?: {
2164
2164
  maxLength?: number | undefined;
2165
2165
  minLength?: number | undefined;
2166
2166
  pattern?: string | undefined;
2167
- };
2167
+ } | undefined;
2168
2168
  }>]>, "many">;
2169
- attributes: z.ZodObject<{
2169
+ attributes: z.ZodOptional<z.ZodObject<{
2170
2170
  canAddRows: z.ZodOptional<z.ZodBoolean>;
2171
2171
  canRemoveRows: z.ZodOptional<z.ZodBoolean>;
2172
2172
  initialRows: z.ZodOptional<z.ZodNumber>;
@@ -2184,106 +2184,99 @@ export declare const TableQuestionSchema: z.ZodObject<{
2184
2184
  initialRows?: number | undefined;
2185
2185
  maxRows?: number | undefined;
2186
2186
  minRows?: number | undefined;
2187
- }>;
2187
+ }>>;
2188
2188
  }, "strip", z.ZodTypeAny, {
2189
2189
  type: "table";
2190
2190
  meta: {
2191
2191
  schemaVersion: "1.0";
2192
2192
  labelTranslationKey?: string | undefined;
2193
2193
  };
2194
- attributes: {
2195
- canAddRows?: boolean | undefined;
2196
- canRemoveRows?: boolean | undefined;
2197
- initialRows?: number | undefined;
2198
- maxRows?: number | undefined;
2199
- minRows?: number | undefined;
2200
- };
2201
2194
  columns: ({
2202
2195
  type: "boolean";
2203
2196
  meta: {
2204
2197
  schemaVersion: "1.0";
2205
2198
  labelTranslationKey?: string | undefined;
2206
2199
  };
2207
- attributes: {
2200
+ attributes?: {
2208
2201
  checked?: boolean | undefined;
2209
- };
2202
+ } | undefined;
2210
2203
  } | {
2211
2204
  type: "number";
2212
2205
  meta: {
2213
2206
  schemaVersion: "1.0";
2214
2207
  labelTranslationKey?: string | undefined;
2215
2208
  };
2216
- attributes: {
2209
+ attributes?: {
2217
2210
  max?: number | undefined;
2218
2211
  min?: number | undefined;
2219
2212
  step?: number | undefined;
2220
- };
2213
+ } | undefined;
2221
2214
  } | {
2222
2215
  type: "currency";
2223
2216
  meta: {
2224
2217
  denomination?: string | undefined;
2225
2218
  };
2226
- attributes: {
2219
+ attributes?: {
2227
2220
  max?: number | undefined;
2228
2221
  min?: number | undefined;
2229
2222
  step?: number | undefined;
2230
- };
2223
+ } | undefined;
2231
2224
  } | {
2232
2225
  type: "email";
2233
2226
  meta: {
2234
2227
  schemaVersion: "1.0";
2235
2228
  labelTranslationKey?: string | undefined;
2236
2229
  };
2237
- attributes: {
2230
+ attributes?: {
2238
2231
  maxLength?: number | undefined;
2239
2232
  minLength?: number | undefined;
2240
2233
  multiple?: boolean | undefined;
2241
2234
  pattern?: string | undefined;
2242
- };
2235
+ } | undefined;
2243
2236
  } | {
2244
2237
  type: "textArea";
2245
2238
  meta: {
2246
2239
  asRichText?: boolean | undefined;
2247
2240
  };
2248
- attributes: {
2241
+ attributes?: {
2249
2242
  maxLength?: number | undefined;
2250
2243
  minLength?: number | undefined;
2251
2244
  cols?: number | undefined;
2252
2245
  rows?: number | undefined;
2253
- };
2246
+ } | undefined;
2254
2247
  } | {
2255
2248
  type: "text";
2256
2249
  meta: {
2257
2250
  schemaVersion: "1.0";
2258
2251
  labelTranslationKey?: string | undefined;
2259
2252
  };
2260
- attributes: {
2253
+ attributes?: {
2261
2254
  maxLength?: number | undefined;
2262
2255
  minLength?: number | undefined;
2263
2256
  pattern?: string | undefined;
2264
- };
2257
+ } | undefined;
2265
2258
  } | {
2266
2259
  type: "url";
2267
2260
  meta: {
2268
2261
  schemaVersion: "1.0";
2269
2262
  labelTranslationKey?: string | undefined;
2270
2263
  };
2271
- attributes: {
2264
+ attributes?: {
2272
2265
  maxLength?: number | undefined;
2273
2266
  minLength?: number | undefined;
2274
2267
  pattern?: string | undefined;
2275
- };
2268
+ } | undefined;
2276
2269
  } | {
2277
2270
  type: "datePicker";
2278
2271
  meta: {
2279
2272
  schemaVersion: "1.0";
2280
2273
  labelTranslationKey?: string | undefined;
2281
2274
  };
2282
- attributes: {
2275
+ attributes?: {
2283
2276
  max?: string | undefined;
2284
2277
  min?: string | undefined;
2285
2278
  step?: number | undefined;
2286
- };
2279
+ } | undefined;
2287
2280
  } | {
2288
2281
  type: "dateRange";
2289
2282
  meta: {
@@ -2354,9 +2347,9 @@ export declare const TableQuestionSchema: z.ZodObject<{
2354
2347
  schemaVersion: "1.0";
2355
2348
  labelTranslationKey?: string | undefined;
2356
2349
  };
2357
- attributes: {
2350
+ attributes?: {
2358
2351
  multiple?: boolean | undefined;
2359
- };
2352
+ } | undefined;
2360
2353
  } | {
2361
2354
  type: "filteredSearch";
2362
2355
  meta: {
@@ -2373,16 +2366,16 @@ export declare const TableQuestionSchema: z.ZodObject<{
2373
2366
  labelTranslationKey?: string | undefined;
2374
2367
  }[];
2375
2368
  responseField: string;
2376
- variables: {
2369
+ localQueryId?: string | undefined;
2370
+ query?: string | undefined;
2371
+ variables?: {
2377
2372
  type: string;
2378
2373
  name: string;
2379
2374
  labelTranslationKey?: string | undefined;
2380
2375
  minLength?: number | undefined;
2381
2376
  label?: string | undefined;
2382
2377
  defaultValue?: string | undefined;
2383
- }[];
2384
- localQueryId?: string | undefined;
2385
- query?: string | undefined;
2378
+ }[] | undefined;
2386
2379
  };
2387
2380
  } | {
2388
2381
  type: "typeaheadSearch";
@@ -2397,30 +2390,30 @@ export declare const TableQuestionSchema: z.ZodObject<{
2397
2390
  labelTranslationKey?: string | undefined;
2398
2391
  }[];
2399
2392
  responseField: string;
2400
- variables: {
2393
+ localQueryId?: string | undefined;
2394
+ query?: string | undefined;
2395
+ variables?: {
2401
2396
  type: string;
2402
2397
  name: string;
2403
2398
  labelTranslationKey?: string | undefined;
2404
2399
  minLength?: number | undefined;
2405
2400
  label?: string | undefined;
2406
2401
  defaultValue?: string | undefined;
2407
- }[];
2408
- localQueryId?: string | undefined;
2409
- query?: string | undefined;
2402
+ }[] | undefined;
2410
2403
  };
2411
2404
  })[];
2412
- }, {
2413
- type: "table";
2414
- meta: {
2415
- schemaVersion: "1.0";
2416
- labelTranslationKey?: string | undefined;
2417
- };
2418
- attributes: {
2405
+ attributes?: {
2419
2406
  canAddRows?: boolean | undefined;
2420
2407
  canRemoveRows?: boolean | undefined;
2421
2408
  initialRows?: number | undefined;
2422
2409
  maxRows?: number | undefined;
2423
2410
  minRows?: number | undefined;
2411
+ } | undefined;
2412
+ }, {
2413
+ type: "table";
2414
+ meta: {
2415
+ schemaVersion: "1.0";
2416
+ labelTranslationKey?: string | undefined;
2424
2417
  };
2425
2418
  columns: ({
2426
2419
  type: "boolean";
@@ -2428,86 +2421,86 @@ export declare const TableQuestionSchema: z.ZodObject<{
2428
2421
  schemaVersion: "1.0";
2429
2422
  labelTranslationKey?: string | undefined;
2430
2423
  };
2431
- attributes: {
2424
+ attributes?: {
2432
2425
  checked?: boolean | undefined;
2433
- };
2426
+ } | undefined;
2434
2427
  } | {
2435
2428
  type: "number";
2436
2429
  meta: {
2437
2430
  schemaVersion: "1.0";
2438
2431
  labelTranslationKey?: string | undefined;
2439
2432
  };
2440
- attributes: {
2433
+ attributes?: {
2441
2434
  max?: number | undefined;
2442
2435
  min?: number | undefined;
2443
2436
  step?: number | undefined;
2444
- };
2437
+ } | undefined;
2445
2438
  } | {
2446
2439
  type: "currency";
2447
2440
  meta: {
2448
2441
  denomination?: string | undefined;
2449
2442
  };
2450
- attributes: {
2443
+ attributes?: {
2451
2444
  max?: number | undefined;
2452
2445
  min?: number | undefined;
2453
2446
  step?: number | undefined;
2454
- };
2447
+ } | undefined;
2455
2448
  } | {
2456
2449
  type: "email";
2457
2450
  meta: {
2458
2451
  schemaVersion: "1.0";
2459
2452
  labelTranslationKey?: string | undefined;
2460
2453
  };
2461
- attributes: {
2454
+ attributes?: {
2462
2455
  maxLength?: number | undefined;
2463
2456
  minLength?: number | undefined;
2464
2457
  multiple?: boolean | undefined;
2465
2458
  pattern?: string | undefined;
2466
- };
2459
+ } | undefined;
2467
2460
  } | {
2468
2461
  type: "textArea";
2469
2462
  meta: {
2470
2463
  asRichText?: boolean | undefined;
2471
2464
  };
2472
- attributes: {
2465
+ attributes?: {
2473
2466
  maxLength?: number | undefined;
2474
2467
  minLength?: number | undefined;
2475
2468
  cols?: number | undefined;
2476
2469
  rows?: number | undefined;
2477
- };
2470
+ } | undefined;
2478
2471
  } | {
2479
2472
  type: "text";
2480
2473
  meta: {
2481
2474
  schemaVersion: "1.0";
2482
2475
  labelTranslationKey?: string | undefined;
2483
2476
  };
2484
- attributes: {
2477
+ attributes?: {
2485
2478
  maxLength?: number | undefined;
2486
2479
  minLength?: number | undefined;
2487
2480
  pattern?: string | undefined;
2488
- };
2481
+ } | undefined;
2489
2482
  } | {
2490
2483
  type: "url";
2491
2484
  meta: {
2492
2485
  schemaVersion: "1.0";
2493
2486
  labelTranslationKey?: string | undefined;
2494
2487
  };
2495
- attributes: {
2488
+ attributes?: {
2496
2489
  maxLength?: number | undefined;
2497
2490
  minLength?: number | undefined;
2498
2491
  pattern?: string | undefined;
2499
- };
2492
+ } | undefined;
2500
2493
  } | {
2501
2494
  type: "datePicker";
2502
2495
  meta: {
2503
2496
  schemaVersion: "1.0";
2504
2497
  labelTranslationKey?: string | undefined;
2505
2498
  };
2506
- attributes: {
2499
+ attributes?: {
2507
2500
  max?: string | undefined;
2508
2501
  min?: string | undefined;
2509
2502
  step?: number | undefined;
2510
- };
2503
+ } | undefined;
2511
2504
  } | {
2512
2505
  type: "dateRange";
2513
2506
  meta: {
@@ -2578,9 +2571,9 @@ export declare const TableQuestionSchema: z.ZodObject<{
2578
2571
  schemaVersion: "1.0";
2579
2572
  labelTranslationKey?: string | undefined;
2580
2573
  };
2581
- attributes: {
2574
+ attributes?: {
2582
2575
  multiple?: boolean | undefined;
2583
- };
2576
+ } | undefined;
2584
2577
  } | {
2585
2578
  type: "filteredSearch";
2586
2579
  meta: {
@@ -2597,16 +2590,16 @@ export declare const TableQuestionSchema: z.ZodObject<{
2597
2590
  labelTranslationKey?: string | undefined;
2598
2591
  }[];
2599
2592
  responseField: string;
2600
- variables: {
2593
+ localQueryId?: string | undefined;
2594
+ query?: string | undefined;
2595
+ variables?: {
2601
2596
  type: string;
2602
2597
  name: string;
2603
2598
  labelTranslationKey?: string | undefined;
2604
2599
  minLength?: number | undefined;
2605
2600
  label?: string | undefined;
2606
2601
  defaultValue?: string | undefined;
2607
- }[];
2608
- localQueryId?: string | undefined;
2609
- query?: string | undefined;
2602
+ }[] | undefined;
2610
2603
  };
2611
2604
  } | {
2612
2605
  type: "typeaheadSearch";
@@ -2621,18 +2614,25 @@ export declare const TableQuestionSchema: z.ZodObject<{
2621
2614
  labelTranslationKey?: string | undefined;
2622
2615
  }[];
2623
2616
  responseField: string;
2624
- variables: {
2617
+ localQueryId?: string | undefined;
2618
+ query?: string | undefined;
2619
+ variables?: {
2625
2620
  type: string;
2626
2621
  name: string;
2627
2622
  labelTranslationKey?: string | undefined;
2628
2623
  minLength?: number | undefined;
2629
2624
  label?: string | undefined;
2630
2625
  defaultValue?: string | undefined;
2631
- }[];
2632
- localQueryId?: string | undefined;
2633
- query?: string | undefined;
2626
+ }[] | undefined;
2634
2627
  };
2635
2628
  })[];
2629
+ attributes?: {
2630
+ canAddRows?: boolean | undefined;
2631
+ canRemoveRows?: boolean | undefined;
2632
+ initialRows?: number | undefined;
2633
+ maxRows?: number | undefined;
2634
+ minRows?: number | undefined;
2635
+ } | undefined;
2636
2636
  }>;
2637
2637
  export type TableQuestionType = z.infer<typeof TableQuestionSchema>;
2638
2638
  export type AnyTableColumnQuestionType = z.infer<typeof AnyTableColumnQuestionSchema>;