@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
@@ -126,15 +126,24 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
126
126
  } & {
127
127
  type: z.ZodLiteral<"currency">;
128
128
  meta: z.ZodObject<{
129
+ schemaVersion: z.ZodLiteral<"1.0">;
130
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
131
+ } & {
129
132
  denomination: z.ZodOptional<z.ZodString>;
130
133
  }, "strip", z.ZodTypeAny, {
134
+ schemaVersion: "1.0";
135
+ labelTranslationKey?: string | undefined;
131
136
  denomination?: string | undefined;
132
137
  }, {
138
+ schemaVersion: "1.0";
139
+ labelTranslationKey?: string | undefined;
133
140
  denomination?: string | undefined;
134
141
  }>;
135
142
  }, "strip", z.ZodTypeAny, {
136
143
  type: "currency";
137
144
  meta: {
145
+ schemaVersion: "1.0";
146
+ labelTranslationKey?: string | undefined;
138
147
  denomination?: string | undefined;
139
148
  };
140
149
  attributes?: {
@@ -145,6 +154,8 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
145
154
  }, {
146
155
  type: "currency";
147
156
  meta: {
157
+ schemaVersion: "1.0";
158
+ labelTranslationKey?: string | undefined;
148
159
  denomination?: string | undefined;
149
160
  };
150
161
  attributes?: {
@@ -164,7 +175,7 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
164
175
  labelTranslationKey?: string | undefined;
165
176
  }>;
166
177
  } & {
167
- type: z.ZodLiteral<"datePicker">;
178
+ type: z.ZodLiteral<"date">;
168
179
  attributes: z.ZodOptional<z.ZodObject<{
169
180
  max: z.ZodOptional<z.ZodString>;
170
181
  min: z.ZodOptional<z.ZodString>;
@@ -179,7 +190,7 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
179
190
  step?: number | undefined;
180
191
  }>>;
181
192
  }, "strip", z.ZodTypeAny, {
182
- type: "datePicker";
193
+ type: "date";
183
194
  meta: {
184
195
  schemaVersion: "1.0";
185
196
  labelTranslationKey?: string | undefined;
@@ -190,7 +201,7 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
190
201
  step?: number | undefined;
191
202
  } | undefined;
192
203
  }, {
193
- type: "datePicker";
204
+ type: "date";
194
205
  meta: {
195
206
  schemaVersion: "1.0";
196
207
  labelTranslationKey?: string | undefined;
@@ -225,7 +236,7 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
225
236
  schemaVersion: "1.0";
226
237
  labelTranslationKey?: string | undefined;
227
238
  }>;
228
- type: z.ZodLiteral<"datePicker">;
239
+ type: z.ZodLiteral<"date">;
229
240
  } & {
230
241
  attributes: z.ZodObject<{
231
242
  label: z.ZodString;
@@ -235,7 +246,7 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
235
246
  label: string;
236
247
  }>;
237
248
  }, "strip", z.ZodTypeAny, {
238
- type: "datePicker";
249
+ type: "date";
239
250
  meta: {
240
251
  schemaVersion: "1.0";
241
252
  labelTranslationKey?: string | undefined;
@@ -244,7 +255,7 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
244
255
  label: string;
245
256
  };
246
257
  }, {
247
- type: "datePicker";
258
+ type: "date";
248
259
  meta: {
249
260
  schemaVersion: "1.0";
250
261
  labelTranslationKey?: string | undefined;
@@ -264,7 +275,7 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
264
275
  schemaVersion: "1.0";
265
276
  labelTranslationKey?: string | undefined;
266
277
  }>;
267
- type: z.ZodLiteral<"datePicker">;
278
+ type: z.ZodLiteral<"date">;
268
279
  } & {
269
280
  attributes: z.ZodObject<{
270
281
  label: z.ZodString;
@@ -274,7 +285,7 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
274
285
  label: string;
275
286
  }>;
276
287
  }, "strip", z.ZodTypeAny, {
277
- type: "datePicker";
288
+ type: "date";
278
289
  meta: {
279
290
  schemaVersion: "1.0";
280
291
  labelTranslationKey?: string | undefined;
@@ -283,7 +294,7 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
283
294
  label: string;
284
295
  };
285
296
  }, {
286
- type: "datePicker";
297
+ type: "date";
287
298
  meta: {
288
299
  schemaVersion: "1.0";
289
300
  labelTranslationKey?: string | undefined;
@@ -294,7 +305,7 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
294
305
  }>;
295
306
  }, "strip", z.ZodTypeAny, {
296
307
  start: {
297
- type: "datePicker";
308
+ type: "date";
298
309
  meta: {
299
310
  schemaVersion: "1.0";
300
311
  labelTranslationKey?: string | undefined;
@@ -304,7 +315,7 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
304
315
  };
305
316
  };
306
317
  end: {
307
- type: "datePicker";
318
+ type: "date";
308
319
  meta: {
309
320
  schemaVersion: "1.0";
310
321
  labelTranslationKey?: string | undefined;
@@ -315,7 +326,7 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
315
326
  };
316
327
  }, {
317
328
  start: {
318
- type: "datePicker";
329
+ type: "date";
319
330
  meta: {
320
331
  schemaVersion: "1.0";
321
332
  labelTranslationKey?: string | undefined;
@@ -325,7 +336,7 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
325
336
  };
326
337
  };
327
338
  end: {
328
- type: "datePicker";
339
+ type: "date";
329
340
  meta: {
330
341
  schemaVersion: "1.0";
331
342
  labelTranslationKey?: string | undefined;
@@ -343,7 +354,7 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
343
354
  };
344
355
  columns: {
345
356
  start: {
346
- type: "datePicker";
357
+ type: "date";
347
358
  meta: {
348
359
  schemaVersion: "1.0";
349
360
  labelTranslationKey?: string | undefined;
@@ -353,7 +364,7 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
353
364
  };
354
365
  };
355
366
  end: {
356
- type: "datePicker";
367
+ type: "date";
357
368
  meta: {
358
369
  schemaVersion: "1.0";
359
370
  labelTranslationKey?: string | undefined;
@@ -371,7 +382,7 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
371
382
  };
372
383
  columns: {
373
384
  start: {
374
- type: "datePicker";
385
+ type: "date";
375
386
  meta: {
376
387
  schemaVersion: "1.0";
377
388
  labelTranslationKey?: string | undefined;
@@ -381,7 +392,7 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
381
392
  };
382
393
  };
383
394
  end: {
384
- type: "datePicker";
395
+ type: "date";
385
396
  meta: {
386
397
  schemaVersion: "1.0";
387
398
  labelTranslationKey?: string | undefined;
@@ -485,15 +496,15 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
485
496
  type: string;
486
497
  name: string;
487
498
  labelTranslationKey?: string | undefined;
488
- minLength?: number | undefined;
489
499
  label?: string | undefined;
500
+ minLength?: number | undefined;
490
501
  defaultValue?: string | undefined;
491
502
  }, {
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
  }>, "many">>;
499
510
  }, "strip", z.ZodTypeAny, {
@@ -509,8 +520,8 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
509
520
  type: string;
510
521
  name: string;
511
522
  labelTranslationKey?: string | undefined;
512
- minLength?: number | undefined;
513
523
  label?: string | undefined;
524
+ minLength?: number | undefined;
514
525
  defaultValue?: string | undefined;
515
526
  }[] | undefined;
516
527
  }, {
@@ -526,27 +537,24 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
526
537
  type: string;
527
538
  name: string;
528
539
  labelTranslationKey?: string | undefined;
529
- minLength?: number | undefined;
530
540
  label?: string | undefined;
541
+ minLength?: number | undefined;
531
542
  defaultValue?: string | undefined;
532
543
  }[] | undefined;
533
544
  }>;
534
- attributes: z.ZodObject<{
545
+ attributes: z.ZodOptional<z.ZodObject<{
535
546
  multiple: z.ZodOptional<z.ZodBoolean>;
536
547
  }, "strip", z.ZodTypeAny, {
537
548
  multiple?: boolean | undefined;
538
549
  }, {
539
550
  multiple?: boolean | undefined;
540
- }>;
551
+ }>>;
541
552
  }, "strip", z.ZodTypeAny, {
542
553
  type: "filteredSearch";
543
554
  meta: {
544
555
  schemaVersion: "1.0";
545
556
  labelTranslationKey?: string | undefined;
546
557
  };
547
- attributes: {
548
- multiple?: boolean | undefined;
549
- };
550
558
  graphQL: {
551
559
  displayFields: {
552
560
  label: string;
@@ -560,20 +568,20 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
560
568
  type: string;
561
569
  name: string;
562
570
  labelTranslationKey?: string | undefined;
563
- minLength?: number | undefined;
564
571
  label?: string | undefined;
572
+ minLength?: number | undefined;
565
573
  defaultValue?: string | undefined;
566
574
  }[] | undefined;
567
575
  };
576
+ attributes?: {
577
+ multiple?: boolean | undefined;
578
+ } | undefined;
568
579
  }, {
569
580
  type: "filteredSearch";
570
581
  meta: {
571
582
  schemaVersion: "1.0";
572
583
  labelTranslationKey?: string | undefined;
573
584
  };
574
- attributes: {
575
- multiple?: boolean | undefined;
576
- };
577
585
  graphQL: {
578
586
  displayFields: {
579
587
  label: string;
@@ -587,11 +595,14 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
587
595
  type: string;
588
596
  name: string;
589
597
  labelTranslationKey?: string | undefined;
590
- minLength?: number | undefined;
591
598
  label?: string | undefined;
599
+ minLength?: number | undefined;
592
600
  defaultValue?: string | undefined;
593
601
  }[] | undefined;
594
602
  };
603
+ attributes?: {
604
+ multiple?: boolean | undefined;
605
+ } | undefined;
595
606
  }>, z.ZodObject<{
596
607
  meta: z.ZodObject<{
597
608
  schemaVersion: z.ZodLiteral<"1.0">;
@@ -816,15 +827,24 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
816
827
  rows?: number | undefined;
817
828
  }>>;
818
829
  meta: z.ZodObject<{
830
+ schemaVersion: z.ZodLiteral<"1.0">;
831
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
832
+ } & {
819
833
  asRichText: z.ZodOptional<z.ZodBoolean>;
820
834
  }, "strip", z.ZodTypeAny, {
835
+ schemaVersion: "1.0";
836
+ labelTranslationKey?: string | undefined;
821
837
  asRichText?: boolean | undefined;
822
838
  }, {
839
+ schemaVersion: "1.0";
840
+ labelTranslationKey?: string | undefined;
823
841
  asRichText?: boolean | undefined;
824
842
  }>;
825
843
  }, "strip", z.ZodTypeAny, {
826
844
  type: "textArea";
827
845
  meta: {
846
+ schemaVersion: "1.0";
847
+ labelTranslationKey?: string | undefined;
828
848
  asRichText?: boolean | undefined;
829
849
  };
830
850
  attributes?: {
@@ -836,6 +856,8 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
836
856
  }, {
837
857
  type: "textArea";
838
858
  meta: {
859
+ schemaVersion: "1.0";
860
+ labelTranslationKey?: string | undefined;
839
861
  asRichText?: boolean | undefined;
840
862
  };
841
863
  attributes?: {
@@ -933,15 +955,15 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
933
955
  type: string;
934
956
  name: string;
935
957
  labelTranslationKey?: string | undefined;
936
- minLength?: number | undefined;
937
958
  label?: string | undefined;
959
+ minLength?: number | undefined;
938
960
  defaultValue?: string | undefined;
939
961
  }, {
940
962
  type: string;
941
963
  name: string;
942
964
  labelTranslationKey?: string | undefined;
943
- minLength?: number | undefined;
944
965
  label?: string | undefined;
966
+ minLength?: number | undefined;
945
967
  defaultValue?: string | undefined;
946
968
  }>, "many">>;
947
969
  }, "strip", z.ZodTypeAny, {
@@ -957,8 +979,8 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
957
979
  type: string;
958
980
  name: string;
959
981
  labelTranslationKey?: string | undefined;
960
- minLength?: number | undefined;
961
982
  label?: string | undefined;
983
+ minLength?: number | undefined;
962
984
  defaultValue?: string | undefined;
963
985
  }[] | undefined;
964
986
  }, {
@@ -974,8 +996,8 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
974
996
  type: string;
975
997
  name: string;
976
998
  labelTranslationKey?: string | undefined;
977
- minLength?: number | undefined;
978
999
  label?: string | undefined;
1000
+ minLength?: number | undefined;
979
1001
  defaultValue?: string | undefined;
980
1002
  }[] | undefined;
981
1003
  }>;
@@ -998,8 +1020,8 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
998
1020
  type: string;
999
1021
  name: string;
1000
1022
  labelTranslationKey?: string | undefined;
1001
- minLength?: number | undefined;
1002
1023
  label?: string | undefined;
1024
+ minLength?: number | undefined;
1003
1025
  defaultValue?: string | undefined;
1004
1026
  }[] | undefined;
1005
1027
  };
@@ -1022,8 +1044,8 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
1022
1044
  type: string;
1023
1045
  name: string;
1024
1046
  labelTranslationKey?: string | undefined;
1025
- minLength?: number | undefined;
1026
1047
  label?: string | undefined;
1048
+ minLength?: number | undefined;
1027
1049
  defaultValue?: string | undefined;
1028
1050
  }[] | undefined;
1029
1051
  };
@@ -1076,20 +1098,9 @@ export declare const AnyTableColumnQuestionSchema: z.ZodDiscriminatedUnion<"type
1076
1098
  pattern?: string | undefined;
1077
1099
  } | undefined;
1078
1100
  }>]>;
1079
- export declare const TableQuestionSchema: z.ZodObject<{
1080
- meta: z.ZodObject<{
1081
- schemaVersion: z.ZodLiteral<"1.0">;
1082
- labelTranslationKey: z.ZodOptional<z.ZodString>;
1083
- }, "strip", z.ZodTypeAny, {
1084
- schemaVersion: "1.0";
1085
- labelTranslationKey?: string | undefined;
1086
- }, {
1087
- schemaVersion: "1.0";
1088
- labelTranslationKey?: string | undefined;
1089
- }>;
1090
- } & {
1091
- type: z.ZodLiteral<"table">;
1092
- columns: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1101
+ export declare const TableColumn: z.ZodObject<{
1102
+ heading: z.ZodOptional<z.ZodString>;
1103
+ content: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1093
1104
  meta: z.ZodObject<{
1094
1105
  schemaVersion: z.ZodLiteral<"1.0">;
1095
1106
  labelTranslationKey: z.ZodOptional<z.ZodString>;
@@ -1216,15 +1227,24 @@ export declare const TableQuestionSchema: z.ZodObject<{
1216
1227
  } & {
1217
1228
  type: z.ZodLiteral<"currency">;
1218
1229
  meta: z.ZodObject<{
1230
+ schemaVersion: z.ZodLiteral<"1.0">;
1231
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
1232
+ } & {
1219
1233
  denomination: z.ZodOptional<z.ZodString>;
1220
1234
  }, "strip", z.ZodTypeAny, {
1235
+ schemaVersion: "1.0";
1236
+ labelTranslationKey?: string | undefined;
1221
1237
  denomination?: string | undefined;
1222
1238
  }, {
1239
+ schemaVersion: "1.0";
1240
+ labelTranslationKey?: string | undefined;
1223
1241
  denomination?: string | undefined;
1224
1242
  }>;
1225
1243
  }, "strip", z.ZodTypeAny, {
1226
1244
  type: "currency";
1227
1245
  meta: {
1246
+ schemaVersion: "1.0";
1247
+ labelTranslationKey?: string | undefined;
1228
1248
  denomination?: string | undefined;
1229
1249
  };
1230
1250
  attributes?: {
@@ -1235,6 +1255,8 @@ export declare const TableQuestionSchema: z.ZodObject<{
1235
1255
  }, {
1236
1256
  type: "currency";
1237
1257
  meta: {
1258
+ schemaVersion: "1.0";
1259
+ labelTranslationKey?: string | undefined;
1238
1260
  denomination?: string | undefined;
1239
1261
  };
1240
1262
  attributes?: {
@@ -1254,7 +1276,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
1254
1276
  labelTranslationKey?: string | undefined;
1255
1277
  }>;
1256
1278
  } & {
1257
- type: z.ZodLiteral<"datePicker">;
1279
+ type: z.ZodLiteral<"date">;
1258
1280
  attributes: z.ZodOptional<z.ZodObject<{
1259
1281
  max: z.ZodOptional<z.ZodString>;
1260
1282
  min: z.ZodOptional<z.ZodString>;
@@ -1269,7 +1291,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
1269
1291
  step?: number | undefined;
1270
1292
  }>>;
1271
1293
  }, "strip", z.ZodTypeAny, {
1272
- type: "datePicker";
1294
+ type: "date";
1273
1295
  meta: {
1274
1296
  schemaVersion: "1.0";
1275
1297
  labelTranslationKey?: string | undefined;
@@ -1280,7 +1302,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
1280
1302
  step?: number | undefined;
1281
1303
  } | undefined;
1282
1304
  }, {
1283
- type: "datePicker";
1305
+ type: "date";
1284
1306
  meta: {
1285
1307
  schemaVersion: "1.0";
1286
1308
  labelTranslationKey?: string | undefined;
@@ -1315,7 +1337,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
1315
1337
  schemaVersion: "1.0";
1316
1338
  labelTranslationKey?: string | undefined;
1317
1339
  }>;
1318
- type: z.ZodLiteral<"datePicker">;
1340
+ type: z.ZodLiteral<"date">;
1319
1341
  } & {
1320
1342
  attributes: z.ZodObject<{
1321
1343
  label: z.ZodString;
@@ -1325,7 +1347,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
1325
1347
  label: string;
1326
1348
  }>;
1327
1349
  }, "strip", z.ZodTypeAny, {
1328
- type: "datePicker";
1350
+ type: "date";
1329
1351
  meta: {
1330
1352
  schemaVersion: "1.0";
1331
1353
  labelTranslationKey?: string | undefined;
@@ -1334,7 +1356,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
1334
1356
  label: string;
1335
1357
  };
1336
1358
  }, {
1337
- type: "datePicker";
1359
+ type: "date";
1338
1360
  meta: {
1339
1361
  schemaVersion: "1.0";
1340
1362
  labelTranslationKey?: string | undefined;
@@ -1354,7 +1376,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
1354
1376
  schemaVersion: "1.0";
1355
1377
  labelTranslationKey?: string | undefined;
1356
1378
  }>;
1357
- type: z.ZodLiteral<"datePicker">;
1379
+ type: z.ZodLiteral<"date">;
1358
1380
  } & {
1359
1381
  attributes: z.ZodObject<{
1360
1382
  label: z.ZodString;
@@ -1364,7 +1386,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
1364
1386
  label: string;
1365
1387
  }>;
1366
1388
  }, "strip", z.ZodTypeAny, {
1367
- type: "datePicker";
1389
+ type: "date";
1368
1390
  meta: {
1369
1391
  schemaVersion: "1.0";
1370
1392
  labelTranslationKey?: string | undefined;
@@ -1373,7 +1395,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
1373
1395
  label: string;
1374
1396
  };
1375
1397
  }, {
1376
- type: "datePicker";
1398
+ type: "date";
1377
1399
  meta: {
1378
1400
  schemaVersion: "1.0";
1379
1401
  labelTranslationKey?: string | undefined;
@@ -1384,7 +1406,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
1384
1406
  }>;
1385
1407
  }, "strip", z.ZodTypeAny, {
1386
1408
  start: {
1387
- type: "datePicker";
1409
+ type: "date";
1388
1410
  meta: {
1389
1411
  schemaVersion: "1.0";
1390
1412
  labelTranslationKey?: string | undefined;
@@ -1394,7 +1416,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
1394
1416
  };
1395
1417
  };
1396
1418
  end: {
1397
- type: "datePicker";
1419
+ type: "date";
1398
1420
  meta: {
1399
1421
  schemaVersion: "1.0";
1400
1422
  labelTranslationKey?: string | undefined;
@@ -1405,7 +1427,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
1405
1427
  };
1406
1428
  }, {
1407
1429
  start: {
1408
- type: "datePicker";
1430
+ type: "date";
1409
1431
  meta: {
1410
1432
  schemaVersion: "1.0";
1411
1433
  labelTranslationKey?: string | undefined;
@@ -1415,7 +1437,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
1415
1437
  };
1416
1438
  };
1417
1439
  end: {
1418
- type: "datePicker";
1440
+ type: "date";
1419
1441
  meta: {
1420
1442
  schemaVersion: "1.0";
1421
1443
  labelTranslationKey?: string | undefined;
@@ -1433,7 +1455,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
1433
1455
  };
1434
1456
  columns: {
1435
1457
  start: {
1436
- type: "datePicker";
1458
+ type: "date";
1437
1459
  meta: {
1438
1460
  schemaVersion: "1.0";
1439
1461
  labelTranslationKey?: string | undefined;
@@ -1443,7 +1465,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
1443
1465
  };
1444
1466
  };
1445
1467
  end: {
1446
- type: "datePicker";
1468
+ type: "date";
1447
1469
  meta: {
1448
1470
  schemaVersion: "1.0";
1449
1471
  labelTranslationKey?: string | undefined;
@@ -1461,7 +1483,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
1461
1483
  };
1462
1484
  columns: {
1463
1485
  start: {
1464
- type: "datePicker";
1486
+ type: "date";
1465
1487
  meta: {
1466
1488
  schemaVersion: "1.0";
1467
1489
  labelTranslationKey?: string | undefined;
@@ -1471,7 +1493,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
1471
1493
  };
1472
1494
  };
1473
1495
  end: {
1474
- type: "datePicker";
1496
+ type: "date";
1475
1497
  meta: {
1476
1498
  schemaVersion: "1.0";
1477
1499
  labelTranslationKey?: string | undefined;
@@ -1575,15 +1597,15 @@ export declare const TableQuestionSchema: z.ZodObject<{
1575
1597
  type: string;
1576
1598
  name: string;
1577
1599
  labelTranslationKey?: string | undefined;
1578
- minLength?: number | undefined;
1579
1600
  label?: string | undefined;
1601
+ minLength?: number | undefined;
1580
1602
  defaultValue?: string | undefined;
1581
1603
  }, {
1582
1604
  type: string;
1583
1605
  name: string;
1584
1606
  labelTranslationKey?: string | undefined;
1585
- minLength?: number | undefined;
1586
1607
  label?: string | undefined;
1608
+ minLength?: number | undefined;
1587
1609
  defaultValue?: string | undefined;
1588
1610
  }>, "many">>;
1589
1611
  }, "strip", z.ZodTypeAny, {
@@ -1599,8 +1621,8 @@ export declare const TableQuestionSchema: z.ZodObject<{
1599
1621
  type: string;
1600
1622
  name: string;
1601
1623
  labelTranslationKey?: string | undefined;
1602
- minLength?: number | undefined;
1603
1624
  label?: string | undefined;
1625
+ minLength?: number | undefined;
1604
1626
  defaultValue?: string | undefined;
1605
1627
  }[] | undefined;
1606
1628
  }, {
@@ -1616,27 +1638,24 @@ export declare const TableQuestionSchema: z.ZodObject<{
1616
1638
  type: string;
1617
1639
  name: string;
1618
1640
  labelTranslationKey?: string | undefined;
1619
- minLength?: number | undefined;
1620
1641
  label?: string | undefined;
1642
+ minLength?: number | undefined;
1621
1643
  defaultValue?: string | undefined;
1622
1644
  }[] | undefined;
1623
1645
  }>;
1624
- attributes: z.ZodObject<{
1646
+ attributes: z.ZodOptional<z.ZodObject<{
1625
1647
  multiple: z.ZodOptional<z.ZodBoolean>;
1626
1648
  }, "strip", z.ZodTypeAny, {
1627
1649
  multiple?: boolean | undefined;
1628
1650
  }, {
1629
1651
  multiple?: boolean | undefined;
1630
- }>;
1652
+ }>>;
1631
1653
  }, "strip", z.ZodTypeAny, {
1632
1654
  type: "filteredSearch";
1633
1655
  meta: {
1634
1656
  schemaVersion: "1.0";
1635
1657
  labelTranslationKey?: string | undefined;
1636
1658
  };
1637
- attributes: {
1638
- multiple?: boolean | undefined;
1639
- };
1640
1659
  graphQL: {
1641
1660
  displayFields: {
1642
1661
  label: string;
@@ -1650,20 +1669,20 @@ export declare const TableQuestionSchema: z.ZodObject<{
1650
1669
  type: string;
1651
1670
  name: string;
1652
1671
  labelTranslationKey?: string | undefined;
1653
- minLength?: number | undefined;
1654
1672
  label?: string | undefined;
1673
+ minLength?: number | undefined;
1655
1674
  defaultValue?: string | undefined;
1656
1675
  }[] | undefined;
1657
1676
  };
1677
+ attributes?: {
1678
+ multiple?: boolean | undefined;
1679
+ } | undefined;
1658
1680
  }, {
1659
1681
  type: "filteredSearch";
1660
1682
  meta: {
1661
1683
  schemaVersion: "1.0";
1662
1684
  labelTranslationKey?: string | undefined;
1663
1685
  };
1664
- attributes: {
1665
- multiple?: boolean | undefined;
1666
- };
1667
1686
  graphQL: {
1668
1687
  displayFields: {
1669
1688
  label: string;
@@ -1677,11 +1696,14 @@ export declare const TableQuestionSchema: z.ZodObject<{
1677
1696
  type: string;
1678
1697
  name: string;
1679
1698
  labelTranslationKey?: string | undefined;
1680
- minLength?: number | undefined;
1681
1699
  label?: string | undefined;
1700
+ minLength?: number | undefined;
1682
1701
  defaultValue?: string | undefined;
1683
1702
  }[] | undefined;
1684
1703
  };
1704
+ attributes?: {
1705
+ multiple?: boolean | undefined;
1706
+ } | undefined;
1685
1707
  }>, z.ZodObject<{
1686
1708
  meta: z.ZodObject<{
1687
1709
  schemaVersion: z.ZodLiteral<"1.0">;
@@ -1906,15 +1928,24 @@ export declare const TableQuestionSchema: z.ZodObject<{
1906
1928
  rows?: number | undefined;
1907
1929
  }>>;
1908
1930
  meta: z.ZodObject<{
1931
+ schemaVersion: z.ZodLiteral<"1.0">;
1932
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
1933
+ } & {
1909
1934
  asRichText: z.ZodOptional<z.ZodBoolean>;
1910
1935
  }, "strip", z.ZodTypeAny, {
1936
+ schemaVersion: "1.0";
1937
+ labelTranslationKey?: string | undefined;
1911
1938
  asRichText?: boolean | undefined;
1912
1939
  }, {
1940
+ schemaVersion: "1.0";
1941
+ labelTranslationKey?: string | undefined;
1913
1942
  asRichText?: boolean | undefined;
1914
1943
  }>;
1915
1944
  }, "strip", z.ZodTypeAny, {
1916
1945
  type: "textArea";
1917
1946
  meta: {
1947
+ schemaVersion: "1.0";
1948
+ labelTranslationKey?: string | undefined;
1918
1949
  asRichText?: boolean | undefined;
1919
1950
  };
1920
1951
  attributes?: {
@@ -1926,6 +1957,8 @@ export declare const TableQuestionSchema: z.ZodObject<{
1926
1957
  }, {
1927
1958
  type: "textArea";
1928
1959
  meta: {
1960
+ schemaVersion: "1.0";
1961
+ labelTranslationKey?: string | undefined;
1929
1962
  asRichText?: boolean | undefined;
1930
1963
  };
1931
1964
  attributes?: {
@@ -2023,15 +2056,15 @@ export declare const TableQuestionSchema: z.ZodObject<{
2023
2056
  type: string;
2024
2057
  name: string;
2025
2058
  labelTranslationKey?: string | undefined;
2026
- minLength?: number | undefined;
2027
2059
  label?: string | undefined;
2060
+ minLength?: number | undefined;
2028
2061
  defaultValue?: string | undefined;
2029
2062
  }, {
2030
2063
  type: string;
2031
2064
  name: string;
2032
2065
  labelTranslationKey?: string | undefined;
2033
- minLength?: number | undefined;
2034
2066
  label?: string | undefined;
2067
+ minLength?: number | undefined;
2035
2068
  defaultValue?: string | undefined;
2036
2069
  }>, "many">>;
2037
2070
  }, "strip", z.ZodTypeAny, {
@@ -2047,8 +2080,8 @@ export declare const TableQuestionSchema: z.ZodObject<{
2047
2080
  type: string;
2048
2081
  name: string;
2049
2082
  labelTranslationKey?: string | undefined;
2050
- minLength?: number | undefined;
2051
2083
  label?: string | undefined;
2084
+ minLength?: number | undefined;
2052
2085
  defaultValue?: string | undefined;
2053
2086
  }[] | undefined;
2054
2087
  }, {
@@ -2064,8 +2097,8 @@ export declare const TableQuestionSchema: z.ZodObject<{
2064
2097
  type: string;
2065
2098
  name: string;
2066
2099
  labelTranslationKey?: string | undefined;
2067
- minLength?: number | undefined;
2068
2100
  label?: string | undefined;
2101
+ minLength?: number | undefined;
2069
2102
  defaultValue?: string | undefined;
2070
2103
  }[] | undefined;
2071
2104
  }>;
@@ -2088,8 +2121,8 @@ export declare const TableQuestionSchema: z.ZodObject<{
2088
2121
  type: string;
2089
2122
  name: string;
2090
2123
  labelTranslationKey?: string | undefined;
2091
- minLength?: number | undefined;
2092
2124
  label?: string | undefined;
2125
+ minLength?: number | undefined;
2093
2126
  defaultValue?: string | undefined;
2094
2127
  }[] | undefined;
2095
2128
  };
@@ -2112,8 +2145,8 @@ export declare const TableQuestionSchema: z.ZodObject<{
2112
2145
  type: string;
2113
2146
  name: string;
2114
2147
  labelTranslationKey?: string | undefined;
2115
- minLength?: number | undefined;
2116
2148
  label?: string | undefined;
2149
+ minLength?: number | undefined;
2117
2150
  defaultValue?: string | undefined;
2118
2151
  }[] | undefined;
2119
2152
  };
@@ -2165,33 +2198,9 @@ export declare const TableQuestionSchema: z.ZodObject<{
2165
2198
  minLength?: number | undefined;
2166
2199
  pattern?: string | undefined;
2167
2200
  } | undefined;
2168
- }>]>, "many">;
2169
- attributes: z.ZodOptional<z.ZodObject<{
2170
- canAddRows: z.ZodOptional<z.ZodBoolean>;
2171
- canRemoveRows: z.ZodOptional<z.ZodBoolean>;
2172
- initialRows: z.ZodOptional<z.ZodNumber>;
2173
- maxRows: z.ZodOptional<z.ZodNumber>;
2174
- minRows: z.ZodOptional<z.ZodNumber>;
2175
- }, "strip", z.ZodTypeAny, {
2176
- canAddRows?: boolean | undefined;
2177
- canRemoveRows?: boolean | undefined;
2178
- initialRows?: number | undefined;
2179
- maxRows?: number | undefined;
2180
- minRows?: number | undefined;
2181
- }, {
2182
- canAddRows?: boolean | undefined;
2183
- canRemoveRows?: boolean | undefined;
2184
- initialRows?: number | undefined;
2185
- maxRows?: number | undefined;
2186
- minRows?: number | undefined;
2187
- }>>;
2201
+ }>]>;
2188
2202
  }, "strip", z.ZodTypeAny, {
2189
- type: "table";
2190
- meta: {
2191
- schemaVersion: "1.0";
2192
- labelTranslationKey?: string | undefined;
2193
- };
2194
- columns: ({
2203
+ content: {
2195
2204
  type: "boolean";
2196
2205
  meta: {
2197
2206
  schemaVersion: "1.0";
@@ -2214,6 +2223,8 @@ export declare const TableQuestionSchema: z.ZodObject<{
2214
2223
  } | {
2215
2224
  type: "currency";
2216
2225
  meta: {
2226
+ schemaVersion: "1.0";
2227
+ labelTranslationKey?: string | undefined;
2217
2228
  denomination?: string | undefined;
2218
2229
  };
2219
2230
  attributes?: {
@@ -2236,6 +2247,8 @@ export declare const TableQuestionSchema: z.ZodObject<{
2236
2247
  } | {
2237
2248
  type: "textArea";
2238
2249
  meta: {
2250
+ schemaVersion: "1.0";
2251
+ labelTranslationKey?: string | undefined;
2239
2252
  asRichText?: boolean | undefined;
2240
2253
  };
2241
2254
  attributes?: {
@@ -2267,7 +2280,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
2267
2280
  pattern?: string | undefined;
2268
2281
  } | undefined;
2269
2282
  } | {
2270
- type: "datePicker";
2283
+ type: "date";
2271
2284
  meta: {
2272
2285
  schemaVersion: "1.0";
2273
2286
  labelTranslationKey?: string | undefined;
@@ -2285,7 +2298,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
2285
2298
  };
2286
2299
  columns: {
2287
2300
  start: {
2288
- type: "datePicker";
2301
+ type: "date";
2289
2302
  meta: {
2290
2303
  schemaVersion: "1.0";
2291
2304
  labelTranslationKey?: string | undefined;
@@ -2295,7 +2308,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
2295
2308
  };
2296
2309
  };
2297
2310
  end: {
2298
- type: "datePicker";
2311
+ type: "date";
2299
2312
  meta: {
2300
2313
  schemaVersion: "1.0";
2301
2314
  labelTranslationKey?: string | undefined;
@@ -2356,9 +2369,6 @@ export declare const TableQuestionSchema: z.ZodObject<{
2356
2369
  schemaVersion: "1.0";
2357
2370
  labelTranslationKey?: string | undefined;
2358
2371
  };
2359
- attributes: {
2360
- multiple?: boolean | undefined;
2361
- };
2362
2372
  graphQL: {
2363
2373
  displayFields: {
2364
2374
  label: string;
@@ -2372,11 +2382,14 @@ export declare const TableQuestionSchema: z.ZodObject<{
2372
2382
  type: string;
2373
2383
  name: string;
2374
2384
  labelTranslationKey?: string | undefined;
2375
- minLength?: number | undefined;
2376
2385
  label?: string | undefined;
2386
+ minLength?: number | undefined;
2377
2387
  defaultValue?: string | undefined;
2378
2388
  }[] | undefined;
2379
2389
  };
2390
+ attributes?: {
2391
+ multiple?: boolean | undefined;
2392
+ } | undefined;
2380
2393
  } | {
2381
2394
  type: "typeaheadSearch";
2382
2395
  meta: {
@@ -2396,26 +2409,15 @@ export declare const TableQuestionSchema: z.ZodObject<{
2396
2409
  type: string;
2397
2410
  name: string;
2398
2411
  labelTranslationKey?: string | undefined;
2399
- minLength?: number | undefined;
2400
2412
  label?: string | undefined;
2413
+ minLength?: number | undefined;
2401
2414
  defaultValue?: string | undefined;
2402
2415
  }[] | undefined;
2403
2416
  };
2404
- })[];
2405
- attributes?: {
2406
- canAddRows?: boolean | undefined;
2407
- canRemoveRows?: boolean | undefined;
2408
- initialRows?: number | undefined;
2409
- maxRows?: number | undefined;
2410
- minRows?: number | undefined;
2411
- } | undefined;
2412
- }, {
2413
- type: "table";
2414
- meta: {
2415
- schemaVersion: "1.0";
2416
- labelTranslationKey?: string | undefined;
2417
2417
  };
2418
- columns: ({
2418
+ heading?: string | undefined;
2419
+ }, {
2420
+ content: {
2419
2421
  type: "boolean";
2420
2422
  meta: {
2421
2423
  schemaVersion: "1.0";
@@ -2438,6 +2440,8 @@ export declare const TableQuestionSchema: z.ZodObject<{
2438
2440
  } | {
2439
2441
  type: "currency";
2440
2442
  meta: {
2443
+ schemaVersion: "1.0";
2444
+ labelTranslationKey?: string | undefined;
2441
2445
  denomination?: string | undefined;
2442
2446
  };
2443
2447
  attributes?: {
@@ -2460,6 +2464,8 @@ export declare const TableQuestionSchema: z.ZodObject<{
2460
2464
  } | {
2461
2465
  type: "textArea";
2462
2466
  meta: {
2467
+ schemaVersion: "1.0";
2468
+ labelTranslationKey?: string | undefined;
2463
2469
  asRichText?: boolean | undefined;
2464
2470
  };
2465
2471
  attributes?: {
@@ -2491,7 +2497,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
2491
2497
  pattern?: string | undefined;
2492
2498
  } | undefined;
2493
2499
  } | {
2494
- type: "datePicker";
2500
+ type: "date";
2495
2501
  meta: {
2496
2502
  schemaVersion: "1.0";
2497
2503
  labelTranslationKey?: string | undefined;
@@ -2509,7 +2515,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
2509
2515
  };
2510
2516
  columns: {
2511
2517
  start: {
2512
- type: "datePicker";
2518
+ type: "date";
2513
2519
  meta: {
2514
2520
  schemaVersion: "1.0";
2515
2521
  labelTranslationKey?: string | undefined;
@@ -2519,7 +2525,7 @@ export declare const TableQuestionSchema: z.ZodObject<{
2519
2525
  };
2520
2526
  };
2521
2527
  end: {
2522
- type: "datePicker";
2528
+ type: "date";
2523
2529
  meta: {
2524
2530
  schemaVersion: "1.0";
2525
2531
  labelTranslationKey?: string | undefined;
@@ -2580,9 +2586,6 @@ export declare const TableQuestionSchema: z.ZodObject<{
2580
2586
  schemaVersion: "1.0";
2581
2587
  labelTranslationKey?: string | undefined;
2582
2588
  };
2583
- attributes: {
2584
- multiple?: boolean | undefined;
2585
- };
2586
2589
  graphQL: {
2587
2590
  displayFields: {
2588
2591
  label: string;
@@ -2596,11 +2599,14 @@ export declare const TableQuestionSchema: z.ZodObject<{
2596
2599
  type: string;
2597
2600
  name: string;
2598
2601
  labelTranslationKey?: string | undefined;
2599
- minLength?: number | undefined;
2600
2602
  label?: string | undefined;
2603
+ minLength?: number | undefined;
2601
2604
  defaultValue?: string | undefined;
2602
2605
  }[] | undefined;
2603
2606
  };
2607
+ attributes?: {
2608
+ multiple?: boolean | undefined;
2609
+ } | undefined;
2604
2610
  } | {
2605
2611
  type: "typeaheadSearch";
2606
2612
  meta: {
@@ -2620,12 +2626,2037 @@ export declare const TableQuestionSchema: z.ZodObject<{
2620
2626
  type: string;
2621
2627
  name: string;
2622
2628
  labelTranslationKey?: string | undefined;
2623
- minLength?: number | undefined;
2624
2629
  label?: string | undefined;
2630
+ minLength?: number | undefined;
2625
2631
  defaultValue?: string | undefined;
2626
2632
  }[] | undefined;
2627
2633
  };
2628
- })[];
2634
+ };
2635
+ heading?: string | undefined;
2636
+ }>;
2637
+ export declare const TableQuestionSchema: z.ZodObject<{
2638
+ meta: z.ZodObject<{
2639
+ schemaVersion: z.ZodLiteral<"1.0">;
2640
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
2641
+ }, "strip", z.ZodTypeAny, {
2642
+ schemaVersion: "1.0";
2643
+ labelTranslationKey?: string | undefined;
2644
+ }, {
2645
+ schemaVersion: "1.0";
2646
+ labelTranslationKey?: string | undefined;
2647
+ }>;
2648
+ } & {
2649
+ type: z.ZodLiteral<"table">;
2650
+ columns: z.ZodArray<z.ZodObject<{
2651
+ heading: z.ZodOptional<z.ZodString>;
2652
+ content: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2653
+ meta: z.ZodObject<{
2654
+ schemaVersion: z.ZodLiteral<"1.0">;
2655
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
2656
+ }, "strip", z.ZodTypeAny, {
2657
+ schemaVersion: "1.0";
2658
+ labelTranslationKey?: string | undefined;
2659
+ }, {
2660
+ schemaVersion: "1.0";
2661
+ labelTranslationKey?: string | undefined;
2662
+ }>;
2663
+ } & {
2664
+ type: z.ZodLiteral<"boolean">;
2665
+ attributes: z.ZodOptional<z.ZodObject<{
2666
+ checked: z.ZodOptional<z.ZodBoolean>;
2667
+ }, "strip", z.ZodTypeAny, {
2668
+ checked?: boolean | undefined;
2669
+ }, {
2670
+ checked?: boolean | undefined;
2671
+ }>>;
2672
+ }, "strip", z.ZodTypeAny, {
2673
+ type: "boolean";
2674
+ meta: {
2675
+ schemaVersion: "1.0";
2676
+ labelTranslationKey?: string | undefined;
2677
+ };
2678
+ attributes?: {
2679
+ checked?: boolean | undefined;
2680
+ } | undefined;
2681
+ }, {
2682
+ type: "boolean";
2683
+ meta: {
2684
+ schemaVersion: "1.0";
2685
+ labelTranslationKey?: string | undefined;
2686
+ };
2687
+ attributes?: {
2688
+ checked?: boolean | undefined;
2689
+ } | undefined;
2690
+ }>, z.ZodObject<{
2691
+ meta: z.ZodObject<{
2692
+ schemaVersion: z.ZodLiteral<"1.0">;
2693
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
2694
+ }, "strip", z.ZodTypeAny, {
2695
+ schemaVersion: "1.0";
2696
+ labelTranslationKey?: string | undefined;
2697
+ }, {
2698
+ schemaVersion: "1.0";
2699
+ labelTranslationKey?: string | undefined;
2700
+ }>;
2701
+ } & {
2702
+ type: z.ZodLiteral<"checkBoxes">;
2703
+ options: z.ZodArray<z.ZodObject<{
2704
+ type: z.ZodLiteral<"option">;
2705
+ attributes: z.ZodObject<{
2706
+ label: z.ZodString;
2707
+ value: z.ZodString;
2708
+ } & {
2709
+ checked: z.ZodOptional<z.ZodBoolean>;
2710
+ }, "strip", z.ZodTypeAny, {
2711
+ value: string;
2712
+ label: string;
2713
+ checked?: boolean | undefined;
2714
+ }, {
2715
+ value: string;
2716
+ label: string;
2717
+ checked?: boolean | undefined;
2718
+ }>;
2719
+ }, "strip", z.ZodTypeAny, {
2720
+ type: "option";
2721
+ attributes: {
2722
+ value: string;
2723
+ label: string;
2724
+ checked?: boolean | undefined;
2725
+ };
2726
+ }, {
2727
+ type: "option";
2728
+ attributes: {
2729
+ value: string;
2730
+ label: string;
2731
+ checked?: boolean | undefined;
2732
+ };
2733
+ }>, "many">;
2734
+ }, "strip", z.ZodTypeAny, {
2735
+ type: "checkBoxes";
2736
+ options: {
2737
+ type: "option";
2738
+ attributes: {
2739
+ value: string;
2740
+ label: string;
2741
+ checked?: boolean | undefined;
2742
+ };
2743
+ }[];
2744
+ meta: {
2745
+ schemaVersion: "1.0";
2746
+ labelTranslationKey?: string | undefined;
2747
+ };
2748
+ }, {
2749
+ type: "checkBoxes";
2750
+ options: {
2751
+ type: "option";
2752
+ attributes: {
2753
+ value: string;
2754
+ label: string;
2755
+ checked?: boolean | undefined;
2756
+ };
2757
+ }[];
2758
+ meta: {
2759
+ schemaVersion: "1.0";
2760
+ labelTranslationKey?: string | undefined;
2761
+ };
2762
+ }>, z.ZodObject<{
2763
+ attributes: z.ZodOptional<z.ZodObject<{
2764
+ max: z.ZodOptional<z.ZodNumber>;
2765
+ min: z.ZodOptional<z.ZodNumber>;
2766
+ step: z.ZodOptional<z.ZodNumber>;
2767
+ }, "strip", z.ZodTypeAny, {
2768
+ max?: number | undefined;
2769
+ min?: number | undefined;
2770
+ step?: number | undefined;
2771
+ }, {
2772
+ max?: number | undefined;
2773
+ min?: number | undefined;
2774
+ step?: number | undefined;
2775
+ }>>;
2776
+ } & {
2777
+ type: z.ZodLiteral<"currency">;
2778
+ meta: z.ZodObject<{
2779
+ schemaVersion: z.ZodLiteral<"1.0">;
2780
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
2781
+ } & {
2782
+ denomination: z.ZodOptional<z.ZodString>;
2783
+ }, "strip", z.ZodTypeAny, {
2784
+ schemaVersion: "1.0";
2785
+ labelTranslationKey?: string | undefined;
2786
+ denomination?: string | undefined;
2787
+ }, {
2788
+ schemaVersion: "1.0";
2789
+ labelTranslationKey?: string | undefined;
2790
+ denomination?: string | undefined;
2791
+ }>;
2792
+ }, "strip", z.ZodTypeAny, {
2793
+ type: "currency";
2794
+ meta: {
2795
+ schemaVersion: "1.0";
2796
+ labelTranslationKey?: string | undefined;
2797
+ denomination?: string | undefined;
2798
+ };
2799
+ attributes?: {
2800
+ max?: number | undefined;
2801
+ min?: number | undefined;
2802
+ step?: number | undefined;
2803
+ } | undefined;
2804
+ }, {
2805
+ type: "currency";
2806
+ meta: {
2807
+ schemaVersion: "1.0";
2808
+ labelTranslationKey?: string | undefined;
2809
+ denomination?: string | undefined;
2810
+ };
2811
+ attributes?: {
2812
+ max?: number | undefined;
2813
+ min?: number | undefined;
2814
+ step?: number | undefined;
2815
+ } | undefined;
2816
+ }>, z.ZodObject<{
2817
+ meta: z.ZodObject<{
2818
+ schemaVersion: z.ZodLiteral<"1.0">;
2819
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
2820
+ }, "strip", z.ZodTypeAny, {
2821
+ schemaVersion: "1.0";
2822
+ labelTranslationKey?: string | undefined;
2823
+ }, {
2824
+ schemaVersion: "1.0";
2825
+ labelTranslationKey?: string | undefined;
2826
+ }>;
2827
+ } & {
2828
+ type: z.ZodLiteral<"date">;
2829
+ attributes: z.ZodOptional<z.ZodObject<{
2830
+ max: z.ZodOptional<z.ZodString>;
2831
+ min: z.ZodOptional<z.ZodString>;
2832
+ step: z.ZodOptional<z.ZodNumber>;
2833
+ }, "strip", z.ZodTypeAny, {
2834
+ max?: string | undefined;
2835
+ min?: string | undefined;
2836
+ step?: number | undefined;
2837
+ }, {
2838
+ max?: string | undefined;
2839
+ min?: string | undefined;
2840
+ step?: number | undefined;
2841
+ }>>;
2842
+ }, "strip", z.ZodTypeAny, {
2843
+ type: "date";
2844
+ meta: {
2845
+ schemaVersion: "1.0";
2846
+ labelTranslationKey?: string | undefined;
2847
+ };
2848
+ attributes?: {
2849
+ max?: string | undefined;
2850
+ min?: string | undefined;
2851
+ step?: number | undefined;
2852
+ } | undefined;
2853
+ }, {
2854
+ type: "date";
2855
+ meta: {
2856
+ schemaVersion: "1.0";
2857
+ labelTranslationKey?: string | undefined;
2858
+ };
2859
+ attributes?: {
2860
+ max?: string | undefined;
2861
+ min?: string | undefined;
2862
+ step?: number | undefined;
2863
+ } | undefined;
2864
+ }>, z.ZodObject<{
2865
+ meta: z.ZodObject<{
2866
+ schemaVersion: z.ZodLiteral<"1.0">;
2867
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
2868
+ }, "strip", z.ZodTypeAny, {
2869
+ schemaVersion: "1.0";
2870
+ labelTranslationKey?: string | undefined;
2871
+ }, {
2872
+ schemaVersion: "1.0";
2873
+ labelTranslationKey?: string | undefined;
2874
+ }>;
2875
+ } & {
2876
+ type: z.ZodLiteral<"dateRange">;
2877
+ columns: z.ZodObject<{
2878
+ start: z.ZodObject<{
2879
+ meta: z.ZodObject<{
2880
+ schemaVersion: z.ZodLiteral<"1.0">;
2881
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
2882
+ }, "strip", z.ZodTypeAny, {
2883
+ schemaVersion: "1.0";
2884
+ labelTranslationKey?: string | undefined;
2885
+ }, {
2886
+ schemaVersion: "1.0";
2887
+ labelTranslationKey?: string | undefined;
2888
+ }>;
2889
+ type: z.ZodLiteral<"date">;
2890
+ } & {
2891
+ attributes: z.ZodObject<{
2892
+ label: z.ZodString;
2893
+ }, "strip", z.ZodTypeAny, {
2894
+ label: string;
2895
+ }, {
2896
+ label: string;
2897
+ }>;
2898
+ }, "strip", z.ZodTypeAny, {
2899
+ type: "date";
2900
+ meta: {
2901
+ schemaVersion: "1.0";
2902
+ labelTranslationKey?: string | undefined;
2903
+ };
2904
+ attributes: {
2905
+ label: string;
2906
+ };
2907
+ }, {
2908
+ type: "date";
2909
+ meta: {
2910
+ schemaVersion: "1.0";
2911
+ labelTranslationKey?: string | undefined;
2912
+ };
2913
+ attributes: {
2914
+ label: string;
2915
+ };
2916
+ }>;
2917
+ end: z.ZodObject<{
2918
+ meta: z.ZodObject<{
2919
+ schemaVersion: z.ZodLiteral<"1.0">;
2920
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
2921
+ }, "strip", z.ZodTypeAny, {
2922
+ schemaVersion: "1.0";
2923
+ labelTranslationKey?: string | undefined;
2924
+ }, {
2925
+ schemaVersion: "1.0";
2926
+ labelTranslationKey?: string | undefined;
2927
+ }>;
2928
+ type: z.ZodLiteral<"date">;
2929
+ } & {
2930
+ attributes: z.ZodObject<{
2931
+ label: z.ZodString;
2932
+ }, "strip", z.ZodTypeAny, {
2933
+ label: string;
2934
+ }, {
2935
+ label: string;
2936
+ }>;
2937
+ }, "strip", z.ZodTypeAny, {
2938
+ type: "date";
2939
+ meta: {
2940
+ schemaVersion: "1.0";
2941
+ labelTranslationKey?: string | undefined;
2942
+ };
2943
+ attributes: {
2944
+ label: string;
2945
+ };
2946
+ }, {
2947
+ type: "date";
2948
+ meta: {
2949
+ schemaVersion: "1.0";
2950
+ labelTranslationKey?: string | undefined;
2951
+ };
2952
+ attributes: {
2953
+ label: string;
2954
+ };
2955
+ }>;
2956
+ }, "strip", z.ZodTypeAny, {
2957
+ start: {
2958
+ type: "date";
2959
+ meta: {
2960
+ schemaVersion: "1.0";
2961
+ labelTranslationKey?: string | undefined;
2962
+ };
2963
+ attributes: {
2964
+ label: string;
2965
+ };
2966
+ };
2967
+ end: {
2968
+ type: "date";
2969
+ meta: {
2970
+ schemaVersion: "1.0";
2971
+ labelTranslationKey?: string | undefined;
2972
+ };
2973
+ attributes: {
2974
+ label: string;
2975
+ };
2976
+ };
2977
+ }, {
2978
+ start: {
2979
+ type: "date";
2980
+ meta: {
2981
+ schemaVersion: "1.0";
2982
+ labelTranslationKey?: string | undefined;
2983
+ };
2984
+ attributes: {
2985
+ label: string;
2986
+ };
2987
+ };
2988
+ end: {
2989
+ type: "date";
2990
+ meta: {
2991
+ schemaVersion: "1.0";
2992
+ labelTranslationKey?: string | undefined;
2993
+ };
2994
+ attributes: {
2995
+ label: string;
2996
+ };
2997
+ };
2998
+ }>;
2999
+ }, "strip", z.ZodTypeAny, {
3000
+ type: "dateRange";
3001
+ meta: {
3002
+ schemaVersion: "1.0";
3003
+ labelTranslationKey?: string | undefined;
3004
+ };
3005
+ columns: {
3006
+ start: {
3007
+ type: "date";
3008
+ meta: {
3009
+ schemaVersion: "1.0";
3010
+ labelTranslationKey?: string | undefined;
3011
+ };
3012
+ attributes: {
3013
+ label: string;
3014
+ };
3015
+ };
3016
+ end: {
3017
+ type: "date";
3018
+ meta: {
3019
+ schemaVersion: "1.0";
3020
+ labelTranslationKey?: string | undefined;
3021
+ };
3022
+ attributes: {
3023
+ label: string;
3024
+ };
3025
+ };
3026
+ };
3027
+ }, {
3028
+ type: "dateRange";
3029
+ meta: {
3030
+ schemaVersion: "1.0";
3031
+ labelTranslationKey?: string | undefined;
3032
+ };
3033
+ columns: {
3034
+ start: {
3035
+ type: "date";
3036
+ meta: {
3037
+ schemaVersion: "1.0";
3038
+ labelTranslationKey?: string | undefined;
3039
+ };
3040
+ attributes: {
3041
+ label: string;
3042
+ };
3043
+ };
3044
+ end: {
3045
+ type: "date";
3046
+ meta: {
3047
+ schemaVersion: "1.0";
3048
+ labelTranslationKey?: string | undefined;
3049
+ };
3050
+ attributes: {
3051
+ label: string;
3052
+ };
3053
+ };
3054
+ };
3055
+ }>, z.ZodObject<{
3056
+ meta: z.ZodObject<{
3057
+ schemaVersion: z.ZodLiteral<"1.0">;
3058
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
3059
+ }, "strip", z.ZodTypeAny, {
3060
+ schemaVersion: "1.0";
3061
+ labelTranslationKey?: string | undefined;
3062
+ }, {
3063
+ schemaVersion: "1.0";
3064
+ labelTranslationKey?: string | undefined;
3065
+ }>;
3066
+ } & {
3067
+ type: z.ZodLiteral<"email">;
3068
+ attributes: z.ZodOptional<z.ZodObject<{
3069
+ maxLength: z.ZodOptional<z.ZodNumber>;
3070
+ minLength: z.ZodOptional<z.ZodNumber>;
3071
+ multiple: z.ZodOptional<z.ZodBoolean>;
3072
+ pattern: z.ZodOptional<z.ZodString>;
3073
+ }, "strip", z.ZodTypeAny, {
3074
+ maxLength?: number | undefined;
3075
+ minLength?: number | undefined;
3076
+ multiple?: boolean | undefined;
3077
+ pattern?: string | undefined;
3078
+ }, {
3079
+ maxLength?: number | undefined;
3080
+ minLength?: number | undefined;
3081
+ multiple?: boolean | undefined;
3082
+ pattern?: string | undefined;
3083
+ }>>;
3084
+ }, "strip", z.ZodTypeAny, {
3085
+ type: "email";
3086
+ meta: {
3087
+ schemaVersion: "1.0";
3088
+ labelTranslationKey?: string | undefined;
3089
+ };
3090
+ attributes?: {
3091
+ maxLength?: number | undefined;
3092
+ minLength?: number | undefined;
3093
+ multiple?: boolean | undefined;
3094
+ pattern?: string | undefined;
3095
+ } | undefined;
3096
+ }, {
3097
+ type: "email";
3098
+ meta: {
3099
+ schemaVersion: "1.0";
3100
+ labelTranslationKey?: string | undefined;
3101
+ };
3102
+ attributes?: {
3103
+ maxLength?: number | undefined;
3104
+ minLength?: number | undefined;
3105
+ multiple?: boolean | undefined;
3106
+ pattern?: string | undefined;
3107
+ } | undefined;
3108
+ }>, z.ZodObject<{
3109
+ meta: z.ZodObject<{
3110
+ schemaVersion: z.ZodLiteral<"1.0">;
3111
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
3112
+ }, "strip", z.ZodTypeAny, {
3113
+ schemaVersion: "1.0";
3114
+ labelTranslationKey?: string | undefined;
3115
+ }, {
3116
+ schemaVersion: "1.0";
3117
+ labelTranslationKey?: string | undefined;
3118
+ }>;
3119
+ } & {
3120
+ type: z.ZodLiteral<"filteredSearch">;
3121
+ graphQL: z.ZodObject<{
3122
+ displayFields: z.ZodArray<z.ZodObject<{
3123
+ propertyName: z.ZodString;
3124
+ label: z.ZodString;
3125
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
3126
+ }, "strip", z.ZodTypeAny, {
3127
+ label: string;
3128
+ propertyName: string;
3129
+ labelTranslationKey?: string | undefined;
3130
+ }, {
3131
+ label: string;
3132
+ propertyName: string;
3133
+ labelTranslationKey?: string | undefined;
3134
+ }>, "many">;
3135
+ localQueryId: z.ZodOptional<z.ZodString>;
3136
+ query: z.ZodOptional<z.ZodString>;
3137
+ responseField: z.ZodString;
3138
+ variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
3139
+ minLength: z.ZodOptional<z.ZodNumber>;
3140
+ label: z.ZodOptional<z.ZodString>;
3141
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
3142
+ name: z.ZodString;
3143
+ type: z.ZodString;
3144
+ defaultValue: z.ZodOptional<z.ZodString>;
3145
+ }, "strip", z.ZodTypeAny, {
3146
+ type: string;
3147
+ name: string;
3148
+ labelTranslationKey?: string | undefined;
3149
+ label?: string | undefined;
3150
+ minLength?: number | undefined;
3151
+ defaultValue?: string | undefined;
3152
+ }, {
3153
+ type: string;
3154
+ name: string;
3155
+ labelTranslationKey?: string | undefined;
3156
+ label?: string | undefined;
3157
+ minLength?: number | undefined;
3158
+ defaultValue?: string | undefined;
3159
+ }>, "many">>;
3160
+ }, "strip", z.ZodTypeAny, {
3161
+ displayFields: {
3162
+ label: string;
3163
+ propertyName: string;
3164
+ labelTranslationKey?: string | undefined;
3165
+ }[];
3166
+ responseField: string;
3167
+ localQueryId?: string | undefined;
3168
+ query?: string | undefined;
3169
+ variables?: {
3170
+ type: string;
3171
+ name: string;
3172
+ labelTranslationKey?: string | undefined;
3173
+ label?: string | undefined;
3174
+ minLength?: number | undefined;
3175
+ defaultValue?: string | undefined;
3176
+ }[] | undefined;
3177
+ }, {
3178
+ displayFields: {
3179
+ label: string;
3180
+ propertyName: string;
3181
+ labelTranslationKey?: string | undefined;
3182
+ }[];
3183
+ responseField: string;
3184
+ localQueryId?: string | undefined;
3185
+ query?: string | undefined;
3186
+ variables?: {
3187
+ type: string;
3188
+ name: string;
3189
+ labelTranslationKey?: string | undefined;
3190
+ label?: string | undefined;
3191
+ minLength?: number | undefined;
3192
+ defaultValue?: string | undefined;
3193
+ }[] | undefined;
3194
+ }>;
3195
+ attributes: z.ZodOptional<z.ZodObject<{
3196
+ multiple: z.ZodOptional<z.ZodBoolean>;
3197
+ }, "strip", z.ZodTypeAny, {
3198
+ multiple?: boolean | undefined;
3199
+ }, {
3200
+ multiple?: boolean | undefined;
3201
+ }>>;
3202
+ }, "strip", z.ZodTypeAny, {
3203
+ type: "filteredSearch";
3204
+ meta: {
3205
+ schemaVersion: "1.0";
3206
+ labelTranslationKey?: string | undefined;
3207
+ };
3208
+ graphQL: {
3209
+ displayFields: {
3210
+ label: string;
3211
+ propertyName: string;
3212
+ labelTranslationKey?: string | undefined;
3213
+ }[];
3214
+ responseField: string;
3215
+ localQueryId?: string | undefined;
3216
+ query?: string | undefined;
3217
+ variables?: {
3218
+ type: string;
3219
+ name: string;
3220
+ labelTranslationKey?: string | undefined;
3221
+ label?: string | undefined;
3222
+ minLength?: number | undefined;
3223
+ defaultValue?: string | undefined;
3224
+ }[] | undefined;
3225
+ };
3226
+ attributes?: {
3227
+ multiple?: boolean | undefined;
3228
+ } | undefined;
3229
+ }, {
3230
+ type: "filteredSearch";
3231
+ meta: {
3232
+ schemaVersion: "1.0";
3233
+ labelTranslationKey?: string | undefined;
3234
+ };
3235
+ graphQL: {
3236
+ displayFields: {
3237
+ label: string;
3238
+ propertyName: string;
3239
+ labelTranslationKey?: string | undefined;
3240
+ }[];
3241
+ responseField: string;
3242
+ localQueryId?: string | undefined;
3243
+ query?: string | undefined;
3244
+ variables?: {
3245
+ type: string;
3246
+ name: string;
3247
+ labelTranslationKey?: string | undefined;
3248
+ label?: string | undefined;
3249
+ minLength?: number | undefined;
3250
+ defaultValue?: string | undefined;
3251
+ }[] | undefined;
3252
+ };
3253
+ attributes?: {
3254
+ multiple?: boolean | undefined;
3255
+ } | undefined;
3256
+ }>, z.ZodObject<{
3257
+ meta: z.ZodObject<{
3258
+ schemaVersion: z.ZodLiteral<"1.0">;
3259
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
3260
+ }, "strip", z.ZodTypeAny, {
3261
+ schemaVersion: "1.0";
3262
+ labelTranslationKey?: string | undefined;
3263
+ }, {
3264
+ schemaVersion: "1.0";
3265
+ labelTranslationKey?: string | undefined;
3266
+ }>;
3267
+ } & {
3268
+ type: z.ZodLiteral<"number">;
3269
+ attributes: z.ZodOptional<z.ZodObject<{
3270
+ max: z.ZodOptional<z.ZodNumber>;
3271
+ min: z.ZodOptional<z.ZodNumber>;
3272
+ step: z.ZodOptional<z.ZodNumber>;
3273
+ }, "strip", z.ZodTypeAny, {
3274
+ max?: number | undefined;
3275
+ min?: number | undefined;
3276
+ step?: number | undefined;
3277
+ }, {
3278
+ max?: number | undefined;
3279
+ min?: number | undefined;
3280
+ step?: number | undefined;
3281
+ }>>;
3282
+ }, "strip", z.ZodTypeAny, {
3283
+ type: "number";
3284
+ meta: {
3285
+ schemaVersion: "1.0";
3286
+ labelTranslationKey?: string | undefined;
3287
+ };
3288
+ attributes?: {
3289
+ max?: number | undefined;
3290
+ min?: number | undefined;
3291
+ step?: number | undefined;
3292
+ } | undefined;
3293
+ }, {
3294
+ type: "number";
3295
+ meta: {
3296
+ schemaVersion: "1.0";
3297
+ labelTranslationKey?: string | undefined;
3298
+ };
3299
+ attributes?: {
3300
+ max?: number | undefined;
3301
+ min?: number | undefined;
3302
+ step?: number | undefined;
3303
+ } | undefined;
3304
+ }>, z.ZodObject<{
3305
+ meta: z.ZodObject<{
3306
+ schemaVersion: z.ZodLiteral<"1.0">;
3307
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
3308
+ }, "strip", z.ZodTypeAny, {
3309
+ schemaVersion: "1.0";
3310
+ labelTranslationKey?: string | undefined;
3311
+ }, {
3312
+ schemaVersion: "1.0";
3313
+ labelTranslationKey?: string | undefined;
3314
+ }>;
3315
+ } & {
3316
+ type: z.ZodLiteral<"radioButtons">;
3317
+ options: z.ZodArray<z.ZodObject<{
3318
+ type: z.ZodLiteral<"option">;
3319
+ attributes: z.ZodObject<{
3320
+ label: z.ZodString;
3321
+ value: z.ZodString;
3322
+ } & {
3323
+ selected: z.ZodOptional<z.ZodBoolean>;
3324
+ }, "strip", z.ZodTypeAny, {
3325
+ value: string;
3326
+ label: string;
3327
+ selected?: boolean | undefined;
3328
+ }, {
3329
+ value: string;
3330
+ label: string;
3331
+ selected?: boolean | undefined;
3332
+ }>;
3333
+ }, "strip", z.ZodTypeAny, {
3334
+ type: "option";
3335
+ attributes: {
3336
+ value: string;
3337
+ label: string;
3338
+ selected?: boolean | undefined;
3339
+ };
3340
+ }, {
3341
+ type: "option";
3342
+ attributes: {
3343
+ value: string;
3344
+ label: string;
3345
+ selected?: boolean | undefined;
3346
+ };
3347
+ }>, "many">;
3348
+ }, "strip", z.ZodTypeAny, {
3349
+ type: "radioButtons";
3350
+ options: {
3351
+ type: "option";
3352
+ attributes: {
3353
+ value: string;
3354
+ label: string;
3355
+ selected?: boolean | undefined;
3356
+ };
3357
+ }[];
3358
+ meta: {
3359
+ schemaVersion: "1.0";
3360
+ labelTranslationKey?: string | undefined;
3361
+ };
3362
+ }, {
3363
+ type: "radioButtons";
3364
+ options: {
3365
+ type: "option";
3366
+ attributes: {
3367
+ value: string;
3368
+ label: string;
3369
+ selected?: boolean | undefined;
3370
+ };
3371
+ }[];
3372
+ meta: {
3373
+ schemaVersion: "1.0";
3374
+ labelTranslationKey?: string | undefined;
3375
+ };
3376
+ }>, z.ZodObject<{
3377
+ meta: z.ZodObject<{
3378
+ schemaVersion: z.ZodLiteral<"1.0">;
3379
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
3380
+ }, "strip", z.ZodTypeAny, {
3381
+ schemaVersion: "1.0";
3382
+ labelTranslationKey?: string | undefined;
3383
+ }, {
3384
+ schemaVersion: "1.0";
3385
+ labelTranslationKey?: string | undefined;
3386
+ }>;
3387
+ } & {
3388
+ type: z.ZodLiteral<"selectBox">;
3389
+ options: z.ZodArray<z.ZodObject<{
3390
+ type: z.ZodLiteral<"option">;
3391
+ attributes: z.ZodObject<{
3392
+ label: z.ZodString;
3393
+ value: z.ZodString;
3394
+ } & {
3395
+ selected: z.ZodOptional<z.ZodBoolean>;
3396
+ }, "strip", z.ZodTypeAny, {
3397
+ value: string;
3398
+ label: string;
3399
+ selected?: boolean | undefined;
3400
+ }, {
3401
+ value: string;
3402
+ label: string;
3403
+ selected?: boolean | undefined;
3404
+ }>;
3405
+ }, "strip", z.ZodTypeAny, {
3406
+ type: "option";
3407
+ attributes: {
3408
+ value: string;
3409
+ label: string;
3410
+ selected?: boolean | undefined;
3411
+ };
3412
+ }, {
3413
+ type: "option";
3414
+ attributes: {
3415
+ value: string;
3416
+ label: string;
3417
+ selected?: boolean | undefined;
3418
+ };
3419
+ }>, "many">;
3420
+ attributes: z.ZodOptional<z.ZodObject<{
3421
+ multiple: z.ZodOptional<z.ZodBoolean>;
3422
+ }, "strip", z.ZodTypeAny, {
3423
+ multiple?: boolean | undefined;
3424
+ }, {
3425
+ multiple?: boolean | undefined;
3426
+ }>>;
3427
+ }, "strip", z.ZodTypeAny, {
3428
+ type: "selectBox";
3429
+ options: {
3430
+ type: "option";
3431
+ attributes: {
3432
+ value: string;
3433
+ label: string;
3434
+ selected?: boolean | undefined;
3435
+ };
3436
+ }[];
3437
+ meta: {
3438
+ schemaVersion: "1.0";
3439
+ labelTranslationKey?: string | undefined;
3440
+ };
3441
+ attributes?: {
3442
+ multiple?: boolean | undefined;
3443
+ } | undefined;
3444
+ }, {
3445
+ type: "selectBox";
3446
+ options: {
3447
+ type: "option";
3448
+ attributes: {
3449
+ value: string;
3450
+ label: string;
3451
+ selected?: boolean | undefined;
3452
+ };
3453
+ }[];
3454
+ meta: {
3455
+ schemaVersion: "1.0";
3456
+ labelTranslationKey?: string | undefined;
3457
+ };
3458
+ attributes?: {
3459
+ multiple?: boolean | undefined;
3460
+ } | undefined;
3461
+ }>, z.ZodObject<{} & {
3462
+ type: z.ZodLiteral<"textArea">;
3463
+ attributes: z.ZodOptional<z.ZodObject<{
3464
+ cols: z.ZodOptional<z.ZodNumber>;
3465
+ maxLength: z.ZodOptional<z.ZodNumber>;
3466
+ minLength: z.ZodOptional<z.ZodNumber>;
3467
+ rows: z.ZodOptional<z.ZodNumber>;
3468
+ }, "strip", z.ZodTypeAny, {
3469
+ maxLength?: number | undefined;
3470
+ minLength?: number | undefined;
3471
+ cols?: number | undefined;
3472
+ rows?: number | undefined;
3473
+ }, {
3474
+ maxLength?: number | undefined;
3475
+ minLength?: number | undefined;
3476
+ cols?: number | undefined;
3477
+ rows?: number | undefined;
3478
+ }>>;
3479
+ meta: z.ZodObject<{
3480
+ schemaVersion: z.ZodLiteral<"1.0">;
3481
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
3482
+ } & {
3483
+ asRichText: z.ZodOptional<z.ZodBoolean>;
3484
+ }, "strip", z.ZodTypeAny, {
3485
+ schemaVersion: "1.0";
3486
+ labelTranslationKey?: string | undefined;
3487
+ asRichText?: boolean | undefined;
3488
+ }, {
3489
+ schemaVersion: "1.0";
3490
+ labelTranslationKey?: string | undefined;
3491
+ asRichText?: boolean | undefined;
3492
+ }>;
3493
+ }, "strip", z.ZodTypeAny, {
3494
+ type: "textArea";
3495
+ meta: {
3496
+ schemaVersion: "1.0";
3497
+ labelTranslationKey?: string | undefined;
3498
+ asRichText?: boolean | undefined;
3499
+ };
3500
+ attributes?: {
3501
+ maxLength?: number | undefined;
3502
+ minLength?: number | undefined;
3503
+ cols?: number | undefined;
3504
+ rows?: number | undefined;
3505
+ } | undefined;
3506
+ }, {
3507
+ type: "textArea";
3508
+ meta: {
3509
+ schemaVersion: "1.0";
3510
+ labelTranslationKey?: string | undefined;
3511
+ asRichText?: boolean | undefined;
3512
+ };
3513
+ attributes?: {
3514
+ maxLength?: number | undefined;
3515
+ minLength?: number | undefined;
3516
+ cols?: number | undefined;
3517
+ rows?: number | undefined;
3518
+ } | undefined;
3519
+ }>, z.ZodObject<{
3520
+ meta: z.ZodObject<{
3521
+ schemaVersion: z.ZodLiteral<"1.0">;
3522
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
3523
+ }, "strip", z.ZodTypeAny, {
3524
+ schemaVersion: "1.0";
3525
+ labelTranslationKey?: string | undefined;
3526
+ }, {
3527
+ schemaVersion: "1.0";
3528
+ labelTranslationKey?: string | undefined;
3529
+ }>;
3530
+ } & {
3531
+ type: z.ZodLiteral<"text">;
3532
+ attributes: z.ZodOptional<z.ZodObject<{
3533
+ maxLength: z.ZodOptional<z.ZodNumber>;
3534
+ minLength: z.ZodOptional<z.ZodNumber>;
3535
+ pattern: z.ZodOptional<z.ZodString>;
3536
+ }, "strip", z.ZodTypeAny, {
3537
+ maxLength?: number | undefined;
3538
+ minLength?: number | undefined;
3539
+ pattern?: string | undefined;
3540
+ }, {
3541
+ maxLength?: number | undefined;
3542
+ minLength?: number | undefined;
3543
+ pattern?: string | undefined;
3544
+ }>>;
3545
+ }, "strip", z.ZodTypeAny, {
3546
+ type: "text";
3547
+ meta: {
3548
+ schemaVersion: "1.0";
3549
+ labelTranslationKey?: string | undefined;
3550
+ };
3551
+ attributes?: {
3552
+ maxLength?: number | undefined;
3553
+ minLength?: number | undefined;
3554
+ pattern?: string | undefined;
3555
+ } | undefined;
3556
+ }, {
3557
+ type: "text";
3558
+ meta: {
3559
+ schemaVersion: "1.0";
3560
+ labelTranslationKey?: string | undefined;
3561
+ };
3562
+ attributes?: {
3563
+ maxLength?: number | undefined;
3564
+ minLength?: number | undefined;
3565
+ pattern?: string | undefined;
3566
+ } | undefined;
3567
+ }>, z.ZodObject<{
3568
+ meta: z.ZodObject<{
3569
+ schemaVersion: z.ZodLiteral<"1.0">;
3570
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
3571
+ }, "strip", z.ZodTypeAny, {
3572
+ schemaVersion: "1.0";
3573
+ labelTranslationKey?: string | undefined;
3574
+ }, {
3575
+ schemaVersion: "1.0";
3576
+ labelTranslationKey?: string | undefined;
3577
+ }>;
3578
+ } & {
3579
+ type: z.ZodLiteral<"typeaheadSearch">;
3580
+ graphQL: z.ZodObject<{
3581
+ displayFields: z.ZodArray<z.ZodObject<{
3582
+ propertyName: z.ZodString;
3583
+ label: z.ZodString;
3584
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
3585
+ }, "strip", z.ZodTypeAny, {
3586
+ label: string;
3587
+ propertyName: string;
3588
+ labelTranslationKey?: string | undefined;
3589
+ }, {
3590
+ label: string;
3591
+ propertyName: string;
3592
+ labelTranslationKey?: string | undefined;
3593
+ }>, "many">;
3594
+ localQueryId: z.ZodOptional<z.ZodString>;
3595
+ query: z.ZodOptional<z.ZodString>;
3596
+ responseField: z.ZodString;
3597
+ variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
3598
+ minLength: z.ZodOptional<z.ZodNumber>;
3599
+ label: z.ZodOptional<z.ZodString>;
3600
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
3601
+ name: z.ZodString;
3602
+ type: z.ZodString;
3603
+ defaultValue: z.ZodOptional<z.ZodString>;
3604
+ }, "strip", z.ZodTypeAny, {
3605
+ type: string;
3606
+ name: string;
3607
+ labelTranslationKey?: string | undefined;
3608
+ label?: string | undefined;
3609
+ minLength?: number | undefined;
3610
+ defaultValue?: string | undefined;
3611
+ }, {
3612
+ type: string;
3613
+ name: string;
3614
+ labelTranslationKey?: string | undefined;
3615
+ label?: string | undefined;
3616
+ minLength?: number | undefined;
3617
+ defaultValue?: string | undefined;
3618
+ }>, "many">>;
3619
+ }, "strip", z.ZodTypeAny, {
3620
+ displayFields: {
3621
+ label: string;
3622
+ propertyName: string;
3623
+ labelTranslationKey?: string | undefined;
3624
+ }[];
3625
+ responseField: string;
3626
+ localQueryId?: string | undefined;
3627
+ query?: string | undefined;
3628
+ variables?: {
3629
+ type: string;
3630
+ name: string;
3631
+ labelTranslationKey?: string | undefined;
3632
+ label?: string | undefined;
3633
+ minLength?: number | undefined;
3634
+ defaultValue?: string | undefined;
3635
+ }[] | undefined;
3636
+ }, {
3637
+ displayFields: {
3638
+ label: string;
3639
+ propertyName: string;
3640
+ labelTranslationKey?: string | undefined;
3641
+ }[];
3642
+ responseField: string;
3643
+ localQueryId?: string | undefined;
3644
+ query?: string | undefined;
3645
+ variables?: {
3646
+ type: string;
3647
+ name: string;
3648
+ labelTranslationKey?: string | undefined;
3649
+ label?: string | undefined;
3650
+ minLength?: number | undefined;
3651
+ defaultValue?: string | undefined;
3652
+ }[] | undefined;
3653
+ }>;
3654
+ }, "strip", z.ZodTypeAny, {
3655
+ type: "typeaheadSearch";
3656
+ meta: {
3657
+ schemaVersion: "1.0";
3658
+ labelTranslationKey?: string | undefined;
3659
+ };
3660
+ graphQL: {
3661
+ displayFields: {
3662
+ label: string;
3663
+ propertyName: string;
3664
+ labelTranslationKey?: string | undefined;
3665
+ }[];
3666
+ responseField: string;
3667
+ localQueryId?: string | undefined;
3668
+ query?: string | undefined;
3669
+ variables?: {
3670
+ type: string;
3671
+ name: string;
3672
+ labelTranslationKey?: string | undefined;
3673
+ label?: string | undefined;
3674
+ minLength?: number | undefined;
3675
+ defaultValue?: string | undefined;
3676
+ }[] | undefined;
3677
+ };
3678
+ }, {
3679
+ type: "typeaheadSearch";
3680
+ meta: {
3681
+ schemaVersion: "1.0";
3682
+ labelTranslationKey?: string | undefined;
3683
+ };
3684
+ graphQL: {
3685
+ displayFields: {
3686
+ label: string;
3687
+ propertyName: string;
3688
+ labelTranslationKey?: string | undefined;
3689
+ }[];
3690
+ responseField: string;
3691
+ localQueryId?: string | undefined;
3692
+ query?: string | undefined;
3693
+ variables?: {
3694
+ type: string;
3695
+ name: string;
3696
+ labelTranslationKey?: string | undefined;
3697
+ label?: string | undefined;
3698
+ minLength?: number | undefined;
3699
+ defaultValue?: string | undefined;
3700
+ }[] | undefined;
3701
+ };
3702
+ }>, z.ZodObject<{
3703
+ meta: z.ZodObject<{
3704
+ schemaVersion: z.ZodLiteral<"1.0">;
3705
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
3706
+ }, "strip", z.ZodTypeAny, {
3707
+ schemaVersion: "1.0";
3708
+ labelTranslationKey?: string | undefined;
3709
+ }, {
3710
+ schemaVersion: "1.0";
3711
+ labelTranslationKey?: string | undefined;
3712
+ }>;
3713
+ } & {
3714
+ type: z.ZodLiteral<"url">;
3715
+ attributes: z.ZodOptional<z.ZodObject<{
3716
+ maxLength: z.ZodOptional<z.ZodNumber>;
3717
+ minLength: z.ZodOptional<z.ZodNumber>;
3718
+ pattern: z.ZodOptional<z.ZodString>;
3719
+ }, "strip", z.ZodTypeAny, {
3720
+ maxLength?: number | undefined;
3721
+ minLength?: number | undefined;
3722
+ pattern?: string | undefined;
3723
+ }, {
3724
+ maxLength?: number | undefined;
3725
+ minLength?: number | undefined;
3726
+ pattern?: string | undefined;
3727
+ }>>;
3728
+ }, "strip", z.ZodTypeAny, {
3729
+ type: "url";
3730
+ meta: {
3731
+ schemaVersion: "1.0";
3732
+ labelTranslationKey?: string | undefined;
3733
+ };
3734
+ attributes?: {
3735
+ maxLength?: number | undefined;
3736
+ minLength?: number | undefined;
3737
+ pattern?: string | undefined;
3738
+ } | undefined;
3739
+ }, {
3740
+ type: "url";
3741
+ meta: {
3742
+ schemaVersion: "1.0";
3743
+ labelTranslationKey?: string | undefined;
3744
+ };
3745
+ attributes?: {
3746
+ maxLength?: number | undefined;
3747
+ minLength?: number | undefined;
3748
+ pattern?: string | undefined;
3749
+ } | undefined;
3750
+ }>]>;
3751
+ }, "strip", z.ZodTypeAny, {
3752
+ content: {
3753
+ type: "boolean";
3754
+ meta: {
3755
+ schemaVersion: "1.0";
3756
+ labelTranslationKey?: string | undefined;
3757
+ };
3758
+ attributes?: {
3759
+ checked?: boolean | undefined;
3760
+ } | undefined;
3761
+ } | {
3762
+ type: "number";
3763
+ meta: {
3764
+ schemaVersion: "1.0";
3765
+ labelTranslationKey?: string | undefined;
3766
+ };
3767
+ attributes?: {
3768
+ max?: number | undefined;
3769
+ min?: number | undefined;
3770
+ step?: number | undefined;
3771
+ } | undefined;
3772
+ } | {
3773
+ type: "currency";
3774
+ meta: {
3775
+ schemaVersion: "1.0";
3776
+ labelTranslationKey?: string | undefined;
3777
+ denomination?: string | undefined;
3778
+ };
3779
+ attributes?: {
3780
+ max?: number | undefined;
3781
+ min?: number | undefined;
3782
+ step?: number | undefined;
3783
+ } | undefined;
3784
+ } | {
3785
+ type: "email";
3786
+ meta: {
3787
+ schemaVersion: "1.0";
3788
+ labelTranslationKey?: string | undefined;
3789
+ };
3790
+ attributes?: {
3791
+ maxLength?: number | undefined;
3792
+ minLength?: number | undefined;
3793
+ multiple?: boolean | undefined;
3794
+ pattern?: string | undefined;
3795
+ } | undefined;
3796
+ } | {
3797
+ type: "textArea";
3798
+ meta: {
3799
+ schemaVersion: "1.0";
3800
+ labelTranslationKey?: string | undefined;
3801
+ asRichText?: boolean | undefined;
3802
+ };
3803
+ attributes?: {
3804
+ maxLength?: number | undefined;
3805
+ minLength?: number | undefined;
3806
+ cols?: number | undefined;
3807
+ rows?: number | undefined;
3808
+ } | undefined;
3809
+ } | {
3810
+ type: "text";
3811
+ meta: {
3812
+ schemaVersion: "1.0";
3813
+ labelTranslationKey?: string | undefined;
3814
+ };
3815
+ attributes?: {
3816
+ maxLength?: number | undefined;
3817
+ minLength?: number | undefined;
3818
+ pattern?: string | undefined;
3819
+ } | undefined;
3820
+ } | {
3821
+ type: "url";
3822
+ meta: {
3823
+ schemaVersion: "1.0";
3824
+ labelTranslationKey?: string | undefined;
3825
+ };
3826
+ attributes?: {
3827
+ maxLength?: number | undefined;
3828
+ minLength?: number | undefined;
3829
+ pattern?: string | undefined;
3830
+ } | undefined;
3831
+ } | {
3832
+ type: "date";
3833
+ meta: {
3834
+ schemaVersion: "1.0";
3835
+ labelTranslationKey?: string | undefined;
3836
+ };
3837
+ attributes?: {
3838
+ max?: string | undefined;
3839
+ min?: string | undefined;
3840
+ step?: number | undefined;
3841
+ } | undefined;
3842
+ } | {
3843
+ type: "dateRange";
3844
+ meta: {
3845
+ schemaVersion: "1.0";
3846
+ labelTranslationKey?: string | undefined;
3847
+ };
3848
+ columns: {
3849
+ start: {
3850
+ type: "date";
3851
+ meta: {
3852
+ schemaVersion: "1.0";
3853
+ labelTranslationKey?: string | undefined;
3854
+ };
3855
+ attributes: {
3856
+ label: string;
3857
+ };
3858
+ };
3859
+ end: {
3860
+ type: "date";
3861
+ meta: {
3862
+ schemaVersion: "1.0";
3863
+ labelTranslationKey?: string | undefined;
3864
+ };
3865
+ attributes: {
3866
+ label: string;
3867
+ };
3868
+ };
3869
+ };
3870
+ } | {
3871
+ type: "checkBoxes";
3872
+ options: {
3873
+ type: "option";
3874
+ attributes: {
3875
+ value: string;
3876
+ label: string;
3877
+ checked?: boolean | undefined;
3878
+ };
3879
+ }[];
3880
+ meta: {
3881
+ schemaVersion: "1.0";
3882
+ labelTranslationKey?: string | undefined;
3883
+ };
3884
+ } | {
3885
+ type: "radioButtons";
3886
+ options: {
3887
+ type: "option";
3888
+ attributes: {
3889
+ value: string;
3890
+ label: string;
3891
+ selected?: boolean | undefined;
3892
+ };
3893
+ }[];
3894
+ meta: {
3895
+ schemaVersion: "1.0";
3896
+ labelTranslationKey?: string | undefined;
3897
+ };
3898
+ } | {
3899
+ type: "selectBox";
3900
+ options: {
3901
+ type: "option";
3902
+ attributes: {
3903
+ value: string;
3904
+ label: string;
3905
+ selected?: boolean | undefined;
3906
+ };
3907
+ }[];
3908
+ meta: {
3909
+ schemaVersion: "1.0";
3910
+ labelTranslationKey?: string | undefined;
3911
+ };
3912
+ attributes?: {
3913
+ multiple?: boolean | undefined;
3914
+ } | undefined;
3915
+ } | {
3916
+ type: "filteredSearch";
3917
+ meta: {
3918
+ schemaVersion: "1.0";
3919
+ labelTranslationKey?: string | undefined;
3920
+ };
3921
+ graphQL: {
3922
+ displayFields: {
3923
+ label: string;
3924
+ propertyName: string;
3925
+ labelTranslationKey?: string | undefined;
3926
+ }[];
3927
+ responseField: string;
3928
+ localQueryId?: string | undefined;
3929
+ query?: string | undefined;
3930
+ variables?: {
3931
+ type: string;
3932
+ name: string;
3933
+ labelTranslationKey?: string | undefined;
3934
+ label?: string | undefined;
3935
+ minLength?: number | undefined;
3936
+ defaultValue?: string | undefined;
3937
+ }[] | undefined;
3938
+ };
3939
+ attributes?: {
3940
+ multiple?: boolean | undefined;
3941
+ } | undefined;
3942
+ } | {
3943
+ type: "typeaheadSearch";
3944
+ meta: {
3945
+ schemaVersion: "1.0";
3946
+ labelTranslationKey?: string | undefined;
3947
+ };
3948
+ graphQL: {
3949
+ displayFields: {
3950
+ label: string;
3951
+ propertyName: string;
3952
+ labelTranslationKey?: string | undefined;
3953
+ }[];
3954
+ responseField: string;
3955
+ localQueryId?: string | undefined;
3956
+ query?: string | undefined;
3957
+ variables?: {
3958
+ type: string;
3959
+ name: string;
3960
+ labelTranslationKey?: string | undefined;
3961
+ label?: string | undefined;
3962
+ minLength?: number | undefined;
3963
+ defaultValue?: string | undefined;
3964
+ }[] | undefined;
3965
+ };
3966
+ };
3967
+ heading?: string | undefined;
3968
+ }, {
3969
+ content: {
3970
+ type: "boolean";
3971
+ meta: {
3972
+ schemaVersion: "1.0";
3973
+ labelTranslationKey?: string | undefined;
3974
+ };
3975
+ attributes?: {
3976
+ checked?: boolean | undefined;
3977
+ } | undefined;
3978
+ } | {
3979
+ type: "number";
3980
+ meta: {
3981
+ schemaVersion: "1.0";
3982
+ labelTranslationKey?: string | undefined;
3983
+ };
3984
+ attributes?: {
3985
+ max?: number | undefined;
3986
+ min?: number | undefined;
3987
+ step?: number | undefined;
3988
+ } | undefined;
3989
+ } | {
3990
+ type: "currency";
3991
+ meta: {
3992
+ schemaVersion: "1.0";
3993
+ labelTranslationKey?: string | undefined;
3994
+ denomination?: string | undefined;
3995
+ };
3996
+ attributes?: {
3997
+ max?: number | undefined;
3998
+ min?: number | undefined;
3999
+ step?: number | undefined;
4000
+ } | undefined;
4001
+ } | {
4002
+ type: "email";
4003
+ meta: {
4004
+ schemaVersion: "1.0";
4005
+ labelTranslationKey?: string | undefined;
4006
+ };
4007
+ attributes?: {
4008
+ maxLength?: number | undefined;
4009
+ minLength?: number | undefined;
4010
+ multiple?: boolean | undefined;
4011
+ pattern?: string | undefined;
4012
+ } | undefined;
4013
+ } | {
4014
+ type: "textArea";
4015
+ meta: {
4016
+ schemaVersion: "1.0";
4017
+ labelTranslationKey?: string | undefined;
4018
+ asRichText?: boolean | undefined;
4019
+ };
4020
+ attributes?: {
4021
+ maxLength?: number | undefined;
4022
+ minLength?: number | undefined;
4023
+ cols?: number | undefined;
4024
+ rows?: number | undefined;
4025
+ } | undefined;
4026
+ } | {
4027
+ type: "text";
4028
+ meta: {
4029
+ schemaVersion: "1.0";
4030
+ labelTranslationKey?: string | undefined;
4031
+ };
4032
+ attributes?: {
4033
+ maxLength?: number | undefined;
4034
+ minLength?: number | undefined;
4035
+ pattern?: string | undefined;
4036
+ } | undefined;
4037
+ } | {
4038
+ type: "url";
4039
+ meta: {
4040
+ schemaVersion: "1.0";
4041
+ labelTranslationKey?: string | undefined;
4042
+ };
4043
+ attributes?: {
4044
+ maxLength?: number | undefined;
4045
+ minLength?: number | undefined;
4046
+ pattern?: string | undefined;
4047
+ } | undefined;
4048
+ } | {
4049
+ type: "date";
4050
+ meta: {
4051
+ schemaVersion: "1.0";
4052
+ labelTranslationKey?: string | undefined;
4053
+ };
4054
+ attributes?: {
4055
+ max?: string | undefined;
4056
+ min?: string | undefined;
4057
+ step?: number | undefined;
4058
+ } | undefined;
4059
+ } | {
4060
+ type: "dateRange";
4061
+ meta: {
4062
+ schemaVersion: "1.0";
4063
+ labelTranslationKey?: string | undefined;
4064
+ };
4065
+ columns: {
4066
+ start: {
4067
+ type: "date";
4068
+ meta: {
4069
+ schemaVersion: "1.0";
4070
+ labelTranslationKey?: string | undefined;
4071
+ };
4072
+ attributes: {
4073
+ label: string;
4074
+ };
4075
+ };
4076
+ end: {
4077
+ type: "date";
4078
+ meta: {
4079
+ schemaVersion: "1.0";
4080
+ labelTranslationKey?: string | undefined;
4081
+ };
4082
+ attributes: {
4083
+ label: string;
4084
+ };
4085
+ };
4086
+ };
4087
+ } | {
4088
+ type: "checkBoxes";
4089
+ options: {
4090
+ type: "option";
4091
+ attributes: {
4092
+ value: string;
4093
+ label: string;
4094
+ checked?: boolean | undefined;
4095
+ };
4096
+ }[];
4097
+ meta: {
4098
+ schemaVersion: "1.0";
4099
+ labelTranslationKey?: string | undefined;
4100
+ };
4101
+ } | {
4102
+ type: "radioButtons";
4103
+ options: {
4104
+ type: "option";
4105
+ attributes: {
4106
+ value: string;
4107
+ label: string;
4108
+ selected?: boolean | undefined;
4109
+ };
4110
+ }[];
4111
+ meta: {
4112
+ schemaVersion: "1.0";
4113
+ labelTranslationKey?: string | undefined;
4114
+ };
4115
+ } | {
4116
+ type: "selectBox";
4117
+ options: {
4118
+ type: "option";
4119
+ attributes: {
4120
+ value: string;
4121
+ label: string;
4122
+ selected?: boolean | undefined;
4123
+ };
4124
+ }[];
4125
+ meta: {
4126
+ schemaVersion: "1.0";
4127
+ labelTranslationKey?: string | undefined;
4128
+ };
4129
+ attributes?: {
4130
+ multiple?: boolean | undefined;
4131
+ } | undefined;
4132
+ } | {
4133
+ type: "filteredSearch";
4134
+ meta: {
4135
+ schemaVersion: "1.0";
4136
+ labelTranslationKey?: string | undefined;
4137
+ };
4138
+ graphQL: {
4139
+ displayFields: {
4140
+ label: string;
4141
+ propertyName: string;
4142
+ labelTranslationKey?: string | undefined;
4143
+ }[];
4144
+ responseField: string;
4145
+ localQueryId?: string | undefined;
4146
+ query?: string | undefined;
4147
+ variables?: {
4148
+ type: string;
4149
+ name: string;
4150
+ labelTranslationKey?: string | undefined;
4151
+ label?: string | undefined;
4152
+ minLength?: number | undefined;
4153
+ defaultValue?: string | undefined;
4154
+ }[] | undefined;
4155
+ };
4156
+ attributes?: {
4157
+ multiple?: boolean | undefined;
4158
+ } | undefined;
4159
+ } | {
4160
+ type: "typeaheadSearch";
4161
+ meta: {
4162
+ schemaVersion: "1.0";
4163
+ labelTranslationKey?: string | undefined;
4164
+ };
4165
+ graphQL: {
4166
+ displayFields: {
4167
+ label: string;
4168
+ propertyName: string;
4169
+ labelTranslationKey?: string | undefined;
4170
+ }[];
4171
+ responseField: string;
4172
+ localQueryId?: string | undefined;
4173
+ query?: string | undefined;
4174
+ variables?: {
4175
+ type: string;
4176
+ name: string;
4177
+ labelTranslationKey?: string | undefined;
4178
+ label?: string | undefined;
4179
+ minLength?: number | undefined;
4180
+ defaultValue?: string | undefined;
4181
+ }[] | undefined;
4182
+ };
4183
+ };
4184
+ heading?: string | undefined;
4185
+ }>, "many">;
4186
+ attributes: z.ZodOptional<z.ZodObject<{
4187
+ canAddRows: z.ZodOptional<z.ZodBoolean>;
4188
+ canRemoveRows: z.ZodOptional<z.ZodBoolean>;
4189
+ initialRows: z.ZodOptional<z.ZodNumber>;
4190
+ maxRows: z.ZodOptional<z.ZodNumber>;
4191
+ minRows: z.ZodOptional<z.ZodNumber>;
4192
+ }, "strip", z.ZodTypeAny, {
4193
+ canAddRows?: boolean | undefined;
4194
+ canRemoveRows?: boolean | undefined;
4195
+ initialRows?: number | undefined;
4196
+ maxRows?: number | undefined;
4197
+ minRows?: number | undefined;
4198
+ }, {
4199
+ canAddRows?: boolean | undefined;
4200
+ canRemoveRows?: boolean | undefined;
4201
+ initialRows?: number | undefined;
4202
+ maxRows?: number | undefined;
4203
+ minRows?: number | undefined;
4204
+ }>>;
4205
+ }, "strip", z.ZodTypeAny, {
4206
+ type: "table";
4207
+ meta: {
4208
+ schemaVersion: "1.0";
4209
+ labelTranslationKey?: string | undefined;
4210
+ };
4211
+ columns: {
4212
+ content: {
4213
+ type: "boolean";
4214
+ meta: {
4215
+ schemaVersion: "1.0";
4216
+ labelTranslationKey?: string | undefined;
4217
+ };
4218
+ attributes?: {
4219
+ checked?: boolean | undefined;
4220
+ } | undefined;
4221
+ } | {
4222
+ type: "number";
4223
+ meta: {
4224
+ schemaVersion: "1.0";
4225
+ labelTranslationKey?: string | undefined;
4226
+ };
4227
+ attributes?: {
4228
+ max?: number | undefined;
4229
+ min?: number | undefined;
4230
+ step?: number | undefined;
4231
+ } | undefined;
4232
+ } | {
4233
+ type: "currency";
4234
+ meta: {
4235
+ schemaVersion: "1.0";
4236
+ labelTranslationKey?: string | undefined;
4237
+ denomination?: string | undefined;
4238
+ };
4239
+ attributes?: {
4240
+ max?: number | undefined;
4241
+ min?: number | undefined;
4242
+ step?: number | undefined;
4243
+ } | undefined;
4244
+ } | {
4245
+ type: "email";
4246
+ meta: {
4247
+ schemaVersion: "1.0";
4248
+ labelTranslationKey?: string | undefined;
4249
+ };
4250
+ attributes?: {
4251
+ maxLength?: number | undefined;
4252
+ minLength?: number | undefined;
4253
+ multiple?: boolean | undefined;
4254
+ pattern?: string | undefined;
4255
+ } | undefined;
4256
+ } | {
4257
+ type: "textArea";
4258
+ meta: {
4259
+ schemaVersion: "1.0";
4260
+ labelTranslationKey?: string | undefined;
4261
+ asRichText?: boolean | undefined;
4262
+ };
4263
+ attributes?: {
4264
+ maxLength?: number | undefined;
4265
+ minLength?: number | undefined;
4266
+ cols?: number | undefined;
4267
+ rows?: number | undefined;
4268
+ } | undefined;
4269
+ } | {
4270
+ type: "text";
4271
+ meta: {
4272
+ schemaVersion: "1.0";
4273
+ labelTranslationKey?: string | undefined;
4274
+ };
4275
+ attributes?: {
4276
+ maxLength?: number | undefined;
4277
+ minLength?: number | undefined;
4278
+ pattern?: string | undefined;
4279
+ } | undefined;
4280
+ } | {
4281
+ type: "url";
4282
+ meta: {
4283
+ schemaVersion: "1.0";
4284
+ labelTranslationKey?: string | undefined;
4285
+ };
4286
+ attributes?: {
4287
+ maxLength?: number | undefined;
4288
+ minLength?: number | undefined;
4289
+ pattern?: string | undefined;
4290
+ } | undefined;
4291
+ } | {
4292
+ type: "date";
4293
+ meta: {
4294
+ schemaVersion: "1.0";
4295
+ labelTranslationKey?: string | undefined;
4296
+ };
4297
+ attributes?: {
4298
+ max?: string | undefined;
4299
+ min?: string | undefined;
4300
+ step?: number | undefined;
4301
+ } | undefined;
4302
+ } | {
4303
+ type: "dateRange";
4304
+ meta: {
4305
+ schemaVersion: "1.0";
4306
+ labelTranslationKey?: string | undefined;
4307
+ };
4308
+ columns: {
4309
+ start: {
4310
+ type: "date";
4311
+ meta: {
4312
+ schemaVersion: "1.0";
4313
+ labelTranslationKey?: string | undefined;
4314
+ };
4315
+ attributes: {
4316
+ label: string;
4317
+ };
4318
+ };
4319
+ end: {
4320
+ type: "date";
4321
+ meta: {
4322
+ schemaVersion: "1.0";
4323
+ labelTranslationKey?: string | undefined;
4324
+ };
4325
+ attributes: {
4326
+ label: string;
4327
+ };
4328
+ };
4329
+ };
4330
+ } | {
4331
+ type: "checkBoxes";
4332
+ options: {
4333
+ type: "option";
4334
+ attributes: {
4335
+ value: string;
4336
+ label: string;
4337
+ checked?: boolean | undefined;
4338
+ };
4339
+ }[];
4340
+ meta: {
4341
+ schemaVersion: "1.0";
4342
+ labelTranslationKey?: string | undefined;
4343
+ };
4344
+ } | {
4345
+ type: "radioButtons";
4346
+ options: {
4347
+ type: "option";
4348
+ attributes: {
4349
+ value: string;
4350
+ label: string;
4351
+ selected?: boolean | undefined;
4352
+ };
4353
+ }[];
4354
+ meta: {
4355
+ schemaVersion: "1.0";
4356
+ labelTranslationKey?: string | undefined;
4357
+ };
4358
+ } | {
4359
+ type: "selectBox";
4360
+ options: {
4361
+ type: "option";
4362
+ attributes: {
4363
+ value: string;
4364
+ label: string;
4365
+ selected?: boolean | undefined;
4366
+ };
4367
+ }[];
4368
+ meta: {
4369
+ schemaVersion: "1.0";
4370
+ labelTranslationKey?: string | undefined;
4371
+ };
4372
+ attributes?: {
4373
+ multiple?: boolean | undefined;
4374
+ } | undefined;
4375
+ } | {
4376
+ type: "filteredSearch";
4377
+ meta: {
4378
+ schemaVersion: "1.0";
4379
+ labelTranslationKey?: string | undefined;
4380
+ };
4381
+ graphQL: {
4382
+ displayFields: {
4383
+ label: string;
4384
+ propertyName: string;
4385
+ labelTranslationKey?: string | undefined;
4386
+ }[];
4387
+ responseField: string;
4388
+ localQueryId?: string | undefined;
4389
+ query?: string | undefined;
4390
+ variables?: {
4391
+ type: string;
4392
+ name: string;
4393
+ labelTranslationKey?: string | undefined;
4394
+ label?: string | undefined;
4395
+ minLength?: number | undefined;
4396
+ defaultValue?: string | undefined;
4397
+ }[] | undefined;
4398
+ };
4399
+ attributes?: {
4400
+ multiple?: boolean | undefined;
4401
+ } | undefined;
4402
+ } | {
4403
+ type: "typeaheadSearch";
4404
+ meta: {
4405
+ schemaVersion: "1.0";
4406
+ labelTranslationKey?: string | undefined;
4407
+ };
4408
+ graphQL: {
4409
+ displayFields: {
4410
+ label: string;
4411
+ propertyName: string;
4412
+ labelTranslationKey?: string | undefined;
4413
+ }[];
4414
+ responseField: string;
4415
+ localQueryId?: string | undefined;
4416
+ query?: string | undefined;
4417
+ variables?: {
4418
+ type: string;
4419
+ name: string;
4420
+ labelTranslationKey?: string | undefined;
4421
+ label?: string | undefined;
4422
+ minLength?: number | undefined;
4423
+ defaultValue?: string | undefined;
4424
+ }[] | undefined;
4425
+ };
4426
+ };
4427
+ heading?: string | undefined;
4428
+ }[];
4429
+ attributes?: {
4430
+ canAddRows?: boolean | undefined;
4431
+ canRemoveRows?: boolean | undefined;
4432
+ initialRows?: number | undefined;
4433
+ maxRows?: number | undefined;
4434
+ minRows?: number | undefined;
4435
+ } | undefined;
4436
+ }, {
4437
+ type: "table";
4438
+ meta: {
4439
+ schemaVersion: "1.0";
4440
+ labelTranslationKey?: string | undefined;
4441
+ };
4442
+ columns: {
4443
+ content: {
4444
+ type: "boolean";
4445
+ meta: {
4446
+ schemaVersion: "1.0";
4447
+ labelTranslationKey?: string | undefined;
4448
+ };
4449
+ attributes?: {
4450
+ checked?: boolean | undefined;
4451
+ } | undefined;
4452
+ } | {
4453
+ type: "number";
4454
+ meta: {
4455
+ schemaVersion: "1.0";
4456
+ labelTranslationKey?: string | undefined;
4457
+ };
4458
+ attributes?: {
4459
+ max?: number | undefined;
4460
+ min?: number | undefined;
4461
+ step?: number | undefined;
4462
+ } | undefined;
4463
+ } | {
4464
+ type: "currency";
4465
+ meta: {
4466
+ schemaVersion: "1.0";
4467
+ labelTranslationKey?: string | undefined;
4468
+ denomination?: string | undefined;
4469
+ };
4470
+ attributes?: {
4471
+ max?: number | undefined;
4472
+ min?: number | undefined;
4473
+ step?: number | undefined;
4474
+ } | undefined;
4475
+ } | {
4476
+ type: "email";
4477
+ meta: {
4478
+ schemaVersion: "1.0";
4479
+ labelTranslationKey?: string | undefined;
4480
+ };
4481
+ attributes?: {
4482
+ maxLength?: number | undefined;
4483
+ minLength?: number | undefined;
4484
+ multiple?: boolean | undefined;
4485
+ pattern?: string | undefined;
4486
+ } | undefined;
4487
+ } | {
4488
+ type: "textArea";
4489
+ meta: {
4490
+ schemaVersion: "1.0";
4491
+ labelTranslationKey?: string | undefined;
4492
+ asRichText?: boolean | undefined;
4493
+ };
4494
+ attributes?: {
4495
+ maxLength?: number | undefined;
4496
+ minLength?: number | undefined;
4497
+ cols?: number | undefined;
4498
+ rows?: number | undefined;
4499
+ } | undefined;
4500
+ } | {
4501
+ type: "text";
4502
+ meta: {
4503
+ schemaVersion: "1.0";
4504
+ labelTranslationKey?: string | undefined;
4505
+ };
4506
+ attributes?: {
4507
+ maxLength?: number | undefined;
4508
+ minLength?: number | undefined;
4509
+ pattern?: string | undefined;
4510
+ } | undefined;
4511
+ } | {
4512
+ type: "url";
4513
+ meta: {
4514
+ schemaVersion: "1.0";
4515
+ labelTranslationKey?: string | undefined;
4516
+ };
4517
+ attributes?: {
4518
+ maxLength?: number | undefined;
4519
+ minLength?: number | undefined;
4520
+ pattern?: string | undefined;
4521
+ } | undefined;
4522
+ } | {
4523
+ type: "date";
4524
+ meta: {
4525
+ schemaVersion: "1.0";
4526
+ labelTranslationKey?: string | undefined;
4527
+ };
4528
+ attributes?: {
4529
+ max?: string | undefined;
4530
+ min?: string | undefined;
4531
+ step?: number | undefined;
4532
+ } | undefined;
4533
+ } | {
4534
+ type: "dateRange";
4535
+ meta: {
4536
+ schemaVersion: "1.0";
4537
+ labelTranslationKey?: string | undefined;
4538
+ };
4539
+ columns: {
4540
+ start: {
4541
+ type: "date";
4542
+ meta: {
4543
+ schemaVersion: "1.0";
4544
+ labelTranslationKey?: string | undefined;
4545
+ };
4546
+ attributes: {
4547
+ label: string;
4548
+ };
4549
+ };
4550
+ end: {
4551
+ type: "date";
4552
+ meta: {
4553
+ schemaVersion: "1.0";
4554
+ labelTranslationKey?: string | undefined;
4555
+ };
4556
+ attributes: {
4557
+ label: string;
4558
+ };
4559
+ };
4560
+ };
4561
+ } | {
4562
+ type: "checkBoxes";
4563
+ options: {
4564
+ type: "option";
4565
+ attributes: {
4566
+ value: string;
4567
+ label: string;
4568
+ checked?: boolean | undefined;
4569
+ };
4570
+ }[];
4571
+ meta: {
4572
+ schemaVersion: "1.0";
4573
+ labelTranslationKey?: string | undefined;
4574
+ };
4575
+ } | {
4576
+ type: "radioButtons";
4577
+ options: {
4578
+ type: "option";
4579
+ attributes: {
4580
+ value: string;
4581
+ label: string;
4582
+ selected?: boolean | undefined;
4583
+ };
4584
+ }[];
4585
+ meta: {
4586
+ schemaVersion: "1.0";
4587
+ labelTranslationKey?: string | undefined;
4588
+ };
4589
+ } | {
4590
+ type: "selectBox";
4591
+ options: {
4592
+ type: "option";
4593
+ attributes: {
4594
+ value: string;
4595
+ label: string;
4596
+ selected?: boolean | undefined;
4597
+ };
4598
+ }[];
4599
+ meta: {
4600
+ schemaVersion: "1.0";
4601
+ labelTranslationKey?: string | undefined;
4602
+ };
4603
+ attributes?: {
4604
+ multiple?: boolean | undefined;
4605
+ } | undefined;
4606
+ } | {
4607
+ type: "filteredSearch";
4608
+ meta: {
4609
+ schemaVersion: "1.0";
4610
+ labelTranslationKey?: string | undefined;
4611
+ };
4612
+ graphQL: {
4613
+ displayFields: {
4614
+ label: string;
4615
+ propertyName: string;
4616
+ labelTranslationKey?: string | undefined;
4617
+ }[];
4618
+ responseField: string;
4619
+ localQueryId?: string | undefined;
4620
+ query?: string | undefined;
4621
+ variables?: {
4622
+ type: string;
4623
+ name: string;
4624
+ labelTranslationKey?: string | undefined;
4625
+ label?: string | undefined;
4626
+ minLength?: number | undefined;
4627
+ defaultValue?: string | undefined;
4628
+ }[] | undefined;
4629
+ };
4630
+ attributes?: {
4631
+ multiple?: boolean | undefined;
4632
+ } | undefined;
4633
+ } | {
4634
+ type: "typeaheadSearch";
4635
+ meta: {
4636
+ schemaVersion: "1.0";
4637
+ labelTranslationKey?: string | undefined;
4638
+ };
4639
+ graphQL: {
4640
+ displayFields: {
4641
+ label: string;
4642
+ propertyName: string;
4643
+ labelTranslationKey?: string | undefined;
4644
+ }[];
4645
+ responseField: string;
4646
+ localQueryId?: string | undefined;
4647
+ query?: string | undefined;
4648
+ variables?: {
4649
+ type: string;
4650
+ name: string;
4651
+ labelTranslationKey?: string | undefined;
4652
+ label?: string | undefined;
4653
+ minLength?: number | undefined;
4654
+ defaultValue?: string | undefined;
4655
+ }[] | undefined;
4656
+ };
4657
+ };
4658
+ heading?: string | undefined;
4659
+ }[];
2629
4660
  attributes?: {
2630
4661
  canAddRows?: boolean | undefined;
2631
4662
  canRemoveRows?: boolean | undefined;