@dmptool/types 1.0.5 → 1.0.7

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